text: /*
  YUI 3.17.2 (build 9c3c78e)
  Copyright 2014 Yahoo! Inc. All rights reserved.
  Licensed under the BSD License.
  http://yuilibrary.com/license/
  */
  
  if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
  if (!__coverage__['build/dd-drag/dd-drag.js']) {
     __coverage__['build/dd-drag/dd-drag.js'] = {"path":"build/dd-drag/dd-drag.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,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"169":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"178":0,"179":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"196":0,"197":0,"198":0,"199":0,"200":0,"201":0,"202":0,"203":0,"204":0,"205":0,"206":0,"207":0,"208":0,"209":0,"210":0,"211":0,"212":0,"213":0,"214":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"221":0,"222":0,"223":0,"224":0,"225":0,"226":0,"227":0,"228":0,"229":0,"230":0,"231":0,"232":0,"233":0,"234":0,"235":0,"236":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"246":0,"247":0,"248":0,"249":0,"250":0,"251":0,"252":0,"253":0,"254":0,"255":0,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"264":0,"265":0,"266":0,"267":0,"268":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":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,0,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],"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],"36":[0,0],"37":[0,0],"38":[0,0],"39":[0,0],"40":[0,0],"41":[0,0],"42":[0,0],"43":[0,0],"44":[0,0],"45":[0,0],"46":[0,0],"47":[0,0,0],"48":[0,0],"49":[0,0],"50":[0,0,0],"51":[0,0],"52":[0,0],"53":[0,0],"54":[0,0],"55":[0,0],"56":[0,0],"57":[0,0],"58":[0,0],"59":[0,0],"60":[0,0],"61":[0,0],"62":[0,0],"63":[0,0],"64":[0,0],"65":[0,0],"66":[0,0],"67":[0,0],"68":[0,0],"69":[0,0],"70":[0,0],"71":[0,0],"72":[0,0],"73":[0,0],"74":[0,0],"75":[0,0],"76":[0,0],"77":[0,0],"78":[0,0],"79":[0,0],"80":[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,"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},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":38}}},"2":{"name":"(anonymous_2)","line":194,"loc":{"start":{"line":194,"column":11},"end":{"line":194,"column":23}}},"3":{"name":"(anonymous_3)","line":220,"loc":{"start":{"line":220,"column":20},"end":{"line":220,"column":35}}},"4":{"name":"(anonymous_4)","line":237,"loc":{"start":{"line":237,"column":20},"end":{"line":237,"column":35}}},"5":{"name":"(anonymous_5)","line":287,"loc":{"start":{"line":287,"column":20},"end":{"line":287,"column":35}}},"6":{"name":"(anonymous_6)","line":355,"loc":{"start":{"line":355,"column":20},"end":{"line":355,"column":37}}},"7":{"name":"(anonymous_7)","line":367,"loc":{"start":{"line":367,"column":20},"end":{"line":367,"column":35}}},"8":{"name":"(anonymous_8)","line":378,"loc":{"start":{"line":378,"column":20},"end":{"line":378,"column":31}}},"9":{"name":"(anonymous_9)","line":386,"loc":{"start":{"line":386,"column":20},"end":{"line":386,"column":32}}},"10":{"name":"(anonymous_10)","line":398,"loc":{"start":{"line":398,"column":20},"end":{"line":398,"column":32}}},"11":{"name":"(anonymous_11)","line":401,"loc":{"start":{"line":401,"column":36},"end":{"line":401,"column":48}}},"12":{"name":"(anonymous_12)","line":421,"loc":{"start":{"line":421,"column":20},"end":{"line":421,"column":32}}},"13":{"name":"(anonymous_13)","line":446,"loc":{"start":{"line":446,"column":18},"end":{"line":446,"column":30}}},"14":{"name":"(anonymous_14)","line":464,"loc":{"start":{"line":464,"column":20},"end":{"line":464,"column":32}}},"15":{"name":"(anonymous_15)","line":475,"loc":{"start":{"line":475,"column":25},"end":{"line":475,"column":37}}},"16":{"name":"(anonymous_16)","line":492,"loc":{"start":{"line":492,"column":23},"end":{"line":492,"column":40}}},"17":{"name":"(anonymous_17)","line":522,"loc":{"start":{"line":522,"column":23},"end":{"line":522,"column":34}}},"18":{"name":"(anonymous_18)","line":571,"loc":{"start":{"line":571,"column":29},"end":{"line":571,"column":41}}},"19":{"name":"(anonymous_19)","line":699,"loc":{"start":{"line":699,"column":24},"end":{"line":699,"column":35}}},"20":{"name":"(anonymous_20)","line":713,"loc":{"start":{"line":713,"column":23},"end":{"line":713,"column":35}}},"21":{"name":"(anonymous_21)","line":723,"loc":{"start":{"line":723,"column":22},"end":{"line":723,"column":33}}},"22":{"name":"(anonymous_22)","line":737,"loc":{"start":{"line":737,"column":25},"end":{"line":737,"column":36}}},"23":{"name":"(anonymous_23)","line":748,"loc":{"start":{"line":748,"column":23},"end":{"line":748,"column":34}}},"24":{"name":"(anonymous_24)","line":759,"loc":{"start":{"line":759,"column":31},"end":{"line":759,"column":44}}},"25":{"name":"(anonymous_25)","line":771,"loc":{"start":{"line":771,"column":25},"end":{"line":771,"column":37}}},"26":{"name":"(anonymous_26)","line":807,"loc":{"start":{"line":807,"column":20},"end":{"line":807,"column":33}}},"27":{"name":"(anonymous_27)","line":815,"loc":{"start":{"line":815,"column":45},"end":{"line":815,"column":60}}},"28":{"name":"(anonymous_28)","line":822,"loc":{"start":{"line":822,"column":39},"end":{"line":822,"column":52}}},"29":{"name":"(anonymous_29)","line":844,"loc":{"start":{"line":844,"column":50},"end":{"line":844,"column":65}}},"30":{"name":"(anonymous_30)","line":858,"loc":{"start":{"line":858,"column":29},"end":{"line":858,"column":41}}},"31":{"name":"(anonymous_31)","line":876,"loc":{"start":{"line":876,"column":27},"end":{"line":876,"column":40}}},"32":{"name":"(anonymous_32)","line":892,"loc":{"start":{"line":892,"column":23},"end":{"line":892,"column":34}}},"33":{"name":"(anonymous_33)","line":905,"loc":{"start":{"line":905,"column":22},"end":{"line":905,"column":36}}},"34":{"name":"(anonymous_34)","line":922,"loc":{"start":{"line":922,"column":19},"end":{"line":922,"column":33}}},"35":{"name":"(anonymous_35)","line":940,"loc":{"start":{"line":940,"column":23},"end":{"line":940,"column":37}}},"36":{"name":"(anonymous_36)","line":954,"loc":{"start":{"line":954,"column":20},"end":{"line":954,"column":34}}},"37":{"name":"(anonymous_37)","line":966,"loc":{"start":{"line":966,"column":21},"end":{"line":966,"column":32}}},"38":{"name":"(anonymous_38)","line":997,"loc":{"start":{"line":997,"column":15},"end":{"line":997,"column":26}}},"39":{"name":"(anonymous_39)","line":1010,"loc":{"start":{"line":1010,"column":17},"end":{"line":1010,"column":28}}},"40":{"name":"(anonymous_40)","line":1029,"loc":{"start":{"line":1029,"column":15},"end":{"line":1029,"column":26}}},"41":{"name":"(anonymous_41)","line":1070,"loc":{"start":{"line":1070,"column":13},"end":{"line":1070,"column":24}}},"42":{"name":"(anonymous_42)","line":1096,"loc":{"start":{"line":1096,"column":19},"end":{"line":1096,"column":30}}},"43":{"name":"(anonymous_43)","line":1105,"loc":{"start":{"line":1105,"column":20},"end":{"line":1105,"column":31}}},"44":{"name":"(anonymous_44)","line":1118,"loc":{"start":{"line":1118,"column":16},"end":{"line":1118,"column":29}}},"45":{"name":"(anonymous_45)","line":1127,"loc":{"start":{"line":1127,"column":21},"end":{"line":1127,"column":33}}},"46":{"name":"(anonymous_46)","line":1136,"loc":{"start":{"line":1136,"column":20},"end":{"line":1136,"column":42}}},"47":{"name":"(anonymous_47)","line":1147,"loc":{"start":{"line":1147,"column":19},"end":{"line":1147,"column":36}}},"48":{"name":"(anonymous_48)","line":1190,"loc":{"start":{"line":1190,"column":20},"end":{"line":1190,"column":32}}},"49":{"name":"(anonymous_49)","line":1212,"loc":{"start":{"line":1212,"column":15},"end":{"line":1212,"column":28}}},"50":{"name":"(anonymous_50)","line":1242,"loc":{"start":{"line":1242,"column":18},"end":{"line":1242,"column":29}}},"51":{"name":"(anonymous_51)","line":1253,"loc":{"start":{"line":1253,"column":20},"end":{"line":1253,"column":31}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1267,"column":44}},"2":{"start":{"line":17,"column":4},"end":{"line":202,"column":6}},"3":{"start":{"line":195,"column":8},"end":{"line":195,"column":35}},"4":{"start":{"line":196,"column":8},"end":{"line":196,"column":59}},"5":{"start":{"line":198,"column":8},"end":{"line":198,"column":39}},"6":{"start":{"line":199,"column":8},"end":{"line":201,"column":9}},"7":{"start":{"line":200,"column":12},"end":{"line":200,"column":74}},"8":{"start":{"line":204,"column":4},"end":{"line":204,"column":23}},"9":{"start":{"line":211,"column":4},"end":{"line":211,"column":35}},"10":{"start":{"line":213,"column":4},"end":{"line":434,"column":6}},"11":{"start":{"line":221,"column":16},"end":{"line":223,"column":17}},"12":{"start":{"line":222,"column":20},"end":{"line":222,"column":32}},"13":{"start":{"line":224,"column":16},"end":{"line":224,"column":36}},"14":{"start":{"line":225,"column":16},"end":{"line":227,"column":17}},"15":{"start":{"line":226,"column":20},"end":{"line":226,"column":68}},"16":{"start":{"line":228,"column":16},"end":{"line":228,"column":25}},"17":{"start":{"line":238,"column":16},"end":{"line":240,"column":17}},"18":{"start":{"line":239,"column":20},"end":{"line":239,"column":32}},"19":{"start":{"line":241,"column":16},"end":{"line":241,"column":36}},"20":{"start":{"line":242,"column":16},"end":{"line":244,"column":17}},"21":{"start":{"line":243,"column":20},"end":{"line":243,"column":72}},"22":{"start":{"line":245,"column":16},"end":{"line":245,"column":25}},"23":{"start":{"line":288,"column":16},"end":{"line":292,"column":17}},"24":{"start":{"line":289,"column":20},"end":{"line":289,"column":72}},"25":{"start":{"line":291,"column":20},"end":{"line":291,"column":75}},"26":{"start":{"line":293,"column":16},"end":{"line":293,"column":28}},"27":{"start":{"line":356,"column":16},"end":{"line":356,"column":43}},"28":{"start":{"line":357,"column":16},"end":{"line":357,"column":30}},"29":{"start":{"line":368,"column":16},"end":{"line":368,"column":46}},"30":{"start":{"line":379,"column":16},"end":{"line":382,"column":17}},"31":{"start":{"line":380,"column":20},"end":{"line":380,"column":38}},"32":{"start":{"line":381,"column":20},"end":{"line":381,"column":30}},"33":{"start":{"line":384,"column":16},"end":{"line":384,"column":51}},"34":{"start":{"line":387,"column":16},"end":{"line":387,"column":47}},"35":{"start":{"line":388,"column":16},"end":{"line":388,"column":25}},"36":{"start":{"line":399,"column":16},"end":{"line":410,"column":17}},"37":{"start":{"line":400,"column":20},"end":{"line":400,"column":39}},"38":{"start":{"line":401,"column":20},"end":{"line":407,"column":29}},"39":{"start":{"line":402,"column":24},"end":{"line":402,"column":36}},"40":{"start":{"line":403,"column":24},"end":{"line":405,"column":25}},"41":{"start":{"line":404,"column":28},"end":{"line":404,"column":42}},"42":{"start":{"line":406,"column":24},"end":{"line":406,"column":47}},"43":{"start":{"line":409,"column":20},"end":{"line":409,"column":41}},"44":{"start":{"line":411,"column":16},"end":{"line":411,"column":25}},"45":{"start":{"line":422,"column":16},"end":{"line":422,"column":34}},"46":{"start":{"line":423,"column":16},"end":{"line":423,"column":25}},"47":{"start":{"line":436,"column":4},"end":{"line":1260,"column":7}},"48":{"start":{"line":447,"column":12},"end":{"line":449,"column":13}},"49":{"start":{"line":448,"column":16},"end":{"line":448,"column":28}},"50":{"start":{"line":450,"column":12},"end":{"line":450,"column":25}},"51":{"start":{"line":465,"column":12},"end":{"line":465,"column":35}},"52":{"start":{"line":466,"column":12},"end":{"line":466,"column":35}},"53":{"start":{"line":467,"column":12},"end":{"line":467,"column":24}},"54":{"start":{"line":476,"column":12},"end":{"line":476,"column":35}},"55":{"start":{"line":477,"column":12},"end":{"line":477,"column":35}},"56":{"start":{"line":478,"column":12},"end":{"line":478,"column":24}},"57":{"start":{"line":493,"column":12},"end":{"line":508,"column":13}},"58":{"start":{"line":494,"column":16},"end":{"line":507,"column":17}},"59":{"start":{"line":495,"column":20},"end":{"line":498,"column":21}},"60":{"start":{"line":496,"column":24},"end":{"line":496,"column":54}},"61":{"start":{"line":497,"column":24},"end":{"line":497,"column":43}},"62":{"start":{"line":500,"column":20},"end":{"line":502,"column":21}},"63":{"start":{"line":501,"column":24},"end":{"line":501,"column":36}},"64":{"start":{"line":503,"column":20},"end":{"line":503,"column":85}},"65":{"start":{"line":504,"column":20},"end":{"line":504,"column":49}},"66":{"start":{"line":505,"column":20},"end":{"line":505,"column":72}},"67":{"start":{"line":506,"column":20},"end":{"line":506,"column":56}},"68":{"start":{"line":524,"column":12},"end":{"line":530,"column":15}},"69":{"start":{"line":532,"column":12},"end":{"line":538,"column":15}},"70":{"start":{"line":540,"column":12},"end":{"line":546,"column":15}},"71":{"start":{"line":548,"column":12},"end":{"line":555,"column":15}},"72":{"start":{"line":557,"column":12},"end":{"line":569,"column":14}},"73":{"start":{"line":571,"column":12},"end":{"line":580,"column":21}},"74":{"start":{"line":572,"column":16},"end":{"line":579,"column":19}},"75":{"start":{"line":700,"column":12},"end":{"line":700,"column":38}},"76":{"start":{"line":701,"column":12},"end":{"line":701,"column":33}},"77":{"start":{"line":702,"column":12},"end":{"line":704,"column":13}},"78":{"start":{"line":703,"column":16},"end":{"line":703,"column":27}},"79":{"start":{"line":714,"column":12},"end":{"line":716,"column":13}},"80":{"start":{"line":715,"column":16},"end":{"line":715,"column":35}},"81":{"start":{"line":724,"column":12},"end":{"line":724,"column":25}},"82":{"start":{"line":738,"column":12},"end":{"line":741,"column":13}},"83":{"start":{"line":739,"column":16},"end":{"line":739,"column":69}},"84":{"start":{"line":740,"column":16},"end":{"line":740,"column":68}},"85":{"start":{"line":749,"column":12},"end":{"line":751,"column":13}},"86":{"start":{"line":750,"column":16},"end":{"line":750,"column":69}},"87":{"start":{"line":760,"column":12},"end":{"line":762,"column":13}},"88":{"start":{"line":761,"column":16},"end":{"line":761,"column":36}},"89":{"start":{"line":763,"column":12},"end":{"line":763,"column":49}},"90":{"start":{"line":772,"column":12},"end":{"line":772,"column":26}},"91":{"start":{"line":774,"column":12},"end":{"line":774,"column":40}},"92":{"start":{"line":775,"column":12},"end":{"line":775,"column":29}},"93":{"start":{"line":777,"column":12},"end":{"line":779,"column":13}},"94":{"start":{"line":778,"column":16},"end":{"line":778,"column":29}},"95":{"start":{"line":780,"column":12},"end":{"line":796,"column":13}},"96":{"start":{"line":781,"column":16},"end":{"line":781,"column":41}},"97":{"start":{"line":782,"column":16},"end":{"line":789,"column":17}},"98":{"start":{"line":784,"column":20},"end":{"line":788,"column":21}},"99":{"start":{"line":785,"column":24},"end":{"line":785,"column":34}},"100":{"start":{"line":787,"column":24},"end":{"line":787,"column":44}},"101":{"start":{"line":791,"column":16},"end":{"line":791,"column":61}},"102":{"start":{"line":793,"column":16},"end":{"line":793,"column":38}},"103":{"start":{"line":795,"column":16},"end":{"line":795,"column":100}},"104":{"start":{"line":797,"column":12},"end":{"line":797,"column":55}},"105":{"start":{"line":808,"column":12},"end":{"line":813,"column":24}},"106":{"start":{"line":814,"column":12},"end":{"line":841,"column":13}},"107":{"start":{"line":815,"column":16},"end":{"line":835,"column":19}},"108":{"start":{"line":816,"column":20},"end":{"line":834,"column":21}},"109":{"start":{"line":817,"column":24},"end":{"line":827,"column":25}},"110":{"start":{"line":818,"column":28},"end":{"line":818,"column":38}},"111":{"start":{"line":819,"column":28},"end":{"line":821,"column":29}},"112":{"start":{"line":820,"column":32},"end":{"line":820,"column":64}},"113":{"start":{"line":822,"column":28},"end":{"line":826,"column":31}},"114":{"start":{"line":823,"column":32},"end":{"line":825,"column":33}},"115":{"start":{"line":824,"column":36},"end":{"line":824,"column":45}},"116":{"start":{"line":828,"column":27},"end":{"line":834,"column":21}},"117":{"start":{"line":830,"column":24},"end":{"line":833,"column":25}},"118":{"start":{"line":831,"column":28},"end":{"line":831,"column":38}},"119":{"start":{"line":832,"column":28},"end":{"line":832,"column":37}},"120":{"start":{"line":837,"column":16},"end":{"line":837,"column":35}},"121":{"start":{"line":838,"column":16},"end":{"line":840,"column":17}},"122":{"start":{"line":839,"column":20},"end":{"line":839,"column":29}},"123":{"start":{"line":842,"column":12},"end":{"line":853,"column":13}},"124":{"start":{"line":843,"column":16},"end":{"line":852,"column":17}},"125":{"start":{"line":844,"column":20},"end":{"line":851,"column":23}},"126":{"start":{"line":845,"column":24},"end":{"line":850,"column":25}},"127":{"start":{"line":847,"column":28},"end":{"line":849,"column":29}},"128":{"start":{"line":848,"column":32},"end":{"line":848,"column":42}},"129":{"start":{"line":854,"column":12},"end":{"line":867,"column":13}},"130":{"start":{"line":855,"column":16},"end":{"line":866,"column":17}},"131":{"start":{"line":856,"column":20},"end":{"line":856,"column":54}},"132":{"start":{"line":857,"column":20},"end":{"line":857,"column":32}},"133":{"start":{"line":858,"column":20},"end":{"line":863,"column":29}},"134":{"start":{"line":859,"column":24},"end":{"line":862,"column":25}},"135":{"start":{"line":860,"column":28},"end":{"line":860,"column":39}},"136":{"start":{"line":861,"column":28},"end":{"line":861,"column":56}},"137":{"start":{"line":865,"column":20},"end":{"line":865,"column":61}},"138":{"start":{"line":868,"column":12},"end":{"line":868,"column":21}},"139":{"start":{"line":877,"column":12},"end":{"line":877,"column":30}},"140":{"start":{"line":879,"column":12},"end":{"line":879,"column":77}},"141":{"start":{"line":881,"column":12},"end":{"line":885,"column":13}},"142":{"start":{"line":882,"column":16},"end":{"line":882,"column":104}},"143":{"start":{"line":884,"column":16},"end":{"line":884,"column":38}},"144":{"start":{"line":893,"column":12},"end":{"line":897,"column":13}},"145":{"start":{"line":894,"column":16},"end":{"line":894,"column":63}},"146":{"start":{"line":895,"column":16},"end":{"line":895,"column":29}},"147":{"start":{"line":896,"column":16},"end":{"line":896,"column":78}},"148":{"start":{"line":906,"column":12},"end":{"line":906,"column":26}},"149":{"start":{"line":907,"column":12},"end":{"line":909,"column":13}},"150":{"start":{"line":908,"column":16},"end":{"line":908,"column":32}},"151":{"start":{"line":910,"column":12},"end":{"line":913,"column":13}},"152":{"start":{"line":911,"column":16},"end":{"line":911,"column":42}},"153":{"start":{"line":912,"column":16},"end":{"line":912,"column":61}},"154":{"start":{"line":914,"column":12},"end":{"line":914,"column":24}},"155":{"start":{"line":923,"column":12},"end":{"line":925,"column":13}},"156":{"start":{"line":924,"column":16},"end":{"line":924,"column":35}},"157":{"start":{"line":926,"column":12},"end":{"line":926,"column":26}},"158":{"start":{"line":927,"column":12},"end":{"line":929,"column":13}},"159":{"start":{"line":928,"column":16},"end":{"line":928,"column":32}},"160":{"start":{"line":930,"column":12},"end":{"line":930,"column":37}},"161":{"start":{"line":931,"column":12},"end":{"line":931,"column":54}},"162":{"start":{"line":932,"column":12},"end":{"line":932,"column":24}},"163":{"start":{"line":941,"column":12},"end":{"line":945,"column":13}},"164":{"start":{"line":942,"column":16},"end":{"line":942,"column":43}},"165":{"start":{"line":943,"column":16},"end":{"line":943,"column":43}},"166":{"start":{"line":944,"column":16},"end":{"line":944,"column":62}},"167":{"start":{"line":946,"column":12},"end":{"line":946,"column":24}},"168":{"start":{"line":955,"column":12},"end":{"line":958,"column":13}},"169":{"start":{"line":956,"column":16},"end":{"line":956,"column":43}},"170":{"start":{"line":957,"column":16},"end":{"line":957,"column":59}},"171":{"start":{"line":959,"column":12},"end":{"line":959,"column":24}},"172":{"start":{"line":968,"column":12},"end":{"line":968,"column":37}},"173":{"start":{"line":970,"column":12},"end":{"line":973,"column":13}},"174":{"start":{"line":971,"column":16},"end":{"line":971,"column":49}},"175":{"start":{"line":972,"column":16},"end":{"line":972,"column":45}},"176":{"start":{"line":975,"column":12},"end":{"line":975,"column":28}},"177":{"start":{"line":977,"column":12},"end":{"line":977,"column":66}},"178":{"start":{"line":979,"column":12},"end":{"line":979,"column":33}},"179":{"start":{"line":981,"column":12},"end":{"line":983,"column":13}},"180":{"start":{"line":982,"column":16},"end":{"line":982,"column":52}},"181":{"start":{"line":987,"column":12},"end":{"line":987,"column":67}},"182":{"start":{"line":990,"column":12},"end":{"line":990,"column":51}},"183":{"start":{"line":998,"column":12},"end":{"line":998,"column":40}},"184":{"start":{"line":999,"column":12},"end":{"line":999,"column":38}},"185":{"start":{"line":1000,"column":12},"end":{"line":1000,"column":57}},"186":{"start":{"line":1001,"column":12},"end":{"line":1001,"column":80}},"187":{"start":{"line":1002,"column":12},"end":{"line":1002,"column":66}},"188":{"start":{"line":1003,"column":12},"end":{"line":1003,"column":67}},"189":{"start":{"line":1011,"column":12},"end":{"line":1011,"column":38}},"190":{"start":{"line":1012,"column":12},"end":{"line":1012,"column":60}},"191":{"start":{"line":1013,"column":12},"end":{"line":1013,"column":38}},"192":{"start":{"line":1014,"column":12},"end":{"line":1014,"column":40}},"193":{"start":{"line":1015,"column":12},"end":{"line":1015,"column":45}},"194":{"start":{"line":1016,"column":12},"end":{"line":1016,"column":30}},"195":{"start":{"line":1017,"column":12},"end":{"line":1017,"column":33}},"196":{"start":{"line":1018,"column":12},"end":{"line":1018,"column":30}},"197":{"start":{"line":1019,"column":12},"end":{"line":1019,"column":29}},"198":{"start":{"line":1020,"column":12},"end":{"line":1020,"column":29}},"199":{"start":{"line":1021,"column":12},"end":{"line":1021,"column":28}},"200":{"start":{"line":1022,"column":12},"end":{"line":1022,"column":29}},"201":{"start":{"line":1030,"column":12},"end":{"line":1062,"column":13}},"202":{"start":{"line":1031,"column":16},"end":{"line":1031,"column":54}},"203":{"start":{"line":1032,"column":16},"end":{"line":1032,"column":57}},"204":{"start":{"line":1034,"column":16},"end":{"line":1034,"column":29}},"205":{"start":{"line":1035,"column":16},"end":{"line":1035,"column":60}},"206":{"start":{"line":1036,"column":16},"end":{"line":1040,"column":19}},"207":{"start":{"line":1041,"column":16},"end":{"line":1041,"column":43}},"208":{"start":{"line":1042,"column":16},"end":{"line":1042,"column":33}},"209":{"start":{"line":1044,"column":16},"end":{"line":1044,"column":44}},"210":{"start":{"line":1045,"column":16},"end":{"line":1045,"column":45}},"211":{"start":{"line":1047,"column":16},"end":{"line":1049,"column":17}},"212":{"start":{"line":1048,"column":20},"end":{"line":1048,"column":81}},"213":{"start":{"line":1052,"column":16},"end":{"line":1060,"column":18}},"214":{"start":{"line":1061,"column":16},"end":{"line":1061,"column":41}},"215":{"start":{"line":1063,"column":12},"end":{"line":1063,"column":24}},"216":{"start":{"line":1071,"column":12},"end":{"line":1071,"column":51}},"217":{"start":{"line":1072,"column":12},"end":{"line":1074,"column":13}},"218":{"start":{"line":1073,"column":16},"end":{"line":1073,"column":44}},"219":{"start":{"line":1075,"column":12},"end":{"line":1075,"column":60}},"220":{"start":{"line":1077,"column":12},"end":{"line":1084,"column":13}},"221":{"start":{"line":1078,"column":16},"end":{"line":1083,"column":19}},"222":{"start":{"line":1085,"column":12},"end":{"line":1085,"column":69}},"223":{"start":{"line":1086,"column":12},"end":{"line":1086,"column":38}},"224":{"start":{"line":1087,"column":12},"end":{"line":1087,"column":34}},"225":{"start":{"line":1089,"column":12},"end":{"line":1089,"column":24}},"226":{"start":{"line":1097,"column":12},"end":{"line":1097,"column":33}},"227":{"start":{"line":1098,"column":12},"end":{"line":1098,"column":31}},"228":{"start":{"line":1106,"column":12},"end":{"line":1106,"column":33}},"229":{"start":{"line":1108,"column":12},"end":{"line":1108,"column":51}},"230":{"start":{"line":1109,"column":12},"end":{"line":1109,"column":31}},"231":{"start":{"line":1110,"column":12},"end":{"line":1110,"column":31}},"232":{"start":{"line":1119,"column":12},"end":{"line":1119,"column":63}},"233":{"start":{"line":1128,"column":12},"end":{"line":1128,"column":80}},"234":{"start":{"line":1137,"column":12},"end":{"line":1137,"column":29}},"235":{"start":{"line":1138,"column":12},"end":{"line":1140,"column":13}},"236":{"start":{"line":1139,"column":16},"end":{"line":1139,"column":33}},"237":{"start":{"line":1151,"column":12},"end":{"line":1151,"column":82}},"238":{"start":{"line":1153,"column":12},"end":{"line":1153,"column":49}},"239":{"start":{"line":1154,"column":12},"end":{"line":1154,"column":49}},"240":{"start":{"line":1156,"column":12},"end":{"line":1156,"column":50}},"241":{"start":{"line":1157,"column":12},"end":{"line":1157,"column":50}},"242":{"start":{"line":1160,"column":12},"end":{"line":1168,"column":14}},"243":{"start":{"line":1170,"column":12},"end":{"line":1180,"column":15}},"244":{"start":{"line":1182,"column":12},"end":{"line":1182,"column":29}},"245":{"start":{"line":1191,"column":12},"end":{"line":1204,"column":13}},"246":{"start":{"line":1192,"column":16},"end":{"line":1201,"column":17}},"247":{"start":{"line":1193,"column":20},"end":{"line":1193,"column":61}},"248":{"start":{"line":1195,"column":20},"end":{"line":1200,"column":21}},"249":{"start":{"line":1196,"column":24},"end":{"line":1196,"column":70}},"250":{"start":{"line":1198,"column":24},"end":{"line":1198,"column":69}},"251":{"start":{"line":1199,"column":24},"end":{"line":1199,"column":71}},"252":{"start":{"line":1202,"column":16},"end":{"line":1202,"column":62}},"253":{"start":{"line":1203,"column":16},"end":{"line":1203,"column":49}},"254":{"start":{"line":1213,"column":12},"end":{"line":1215,"column":13}},"255":{"start":{"line":1214,"column":16},"end":{"line":1214,"column":29}},"256":{"start":{"line":1217,"column":12},"end":{"line":1217,"column":48}},"257":{"start":{"line":1218,"column":12},"end":{"line":1235,"column":13}},"258":{"start":{"line":1219,"column":16},"end":{"line":1220,"column":61}},"259":{"start":{"line":1221,"column":16},"end":{"line":1229,"column":17}},"260":{"start":{"line":1222,"column":20},"end":{"line":1222,"column":47}},"261":{"start":{"line":1223,"column":20},"end":{"line":1223,"column":33}},"262":{"start":{"line":1225,"column":20},"end":{"line":1227,"column":21}},"263":{"start":{"line":1226,"column":24},"end":{"line":1226,"column":44}},"264":{"start":{"line":1228,"column":20},"end":{"line":1228,"column":58}},"265":{"start":{"line":1231,"column":16},"end":{"line":1233,"column":17}},"266":{"start":{"line":1232,"column":20},"end":{"line":1232,"column":48}},"267":{"start":{"line":1234,"column":16},"end":{"line":1234,"column":54}},"268":{"start":{"line":1243,"column":12},"end":{"line":1245,"column":13}},"269":{"start":{"line":1244,"column":16},"end":{"line":1244,"column":27}},"270":{"start":{"line":1246,"column":12},"end":{"line":1246,"column":24}},"271":{"start":{"line":1254,"column":12},"end":{"line":1254,"column":27}},"272":{"start":{"line":1255,"column":12},"end":{"line":1257,"column":13}},"273":{"start":{"line":1256,"column":16},"end":{"line":1256,"column":38}},"274":{"start":{"line":1258,"column":12},"end":{"line":1258,"column":33}},"275":{"start":{"line":1261,"column":4},"end":{"line":1261,"column":22}},"276":{"start":{"line":1262,"column":4},"end":{"line":1262,"column":21}}},"branchMap":{"1":{"line":199,"type":"if","locations":[{"start":{"line":199,"column":8},"end":{"line":199,"column":8}},{"start":{"line":199,"column":8},"end":{"line":199,"column":8}}]},"2":{"line":221,"type":"if","locations":[{"start":{"line":221,"column":16},"end":{"line":221,"column":16}},{"start":{"line":221,"column":16},"end":{"line":221,"column":16}}]},"3":{"line":225,"type":"if","locations":[{"start":{"line":225,"column":16},"end":{"line":225,"column":16}},{"start":{"line":225,"column":16},"end":{"line":225,"column":16}}]},"4":{"line":238,"type":"if","locations":[{"start":{"line":238,"column":16},"end":{"line":238,"column":16}},{"start":{"line":238,"column":16},"end":{"line":238,"column":16}}]},"5":{"line":242,"type":"if","locations":[{"start":{"line":242,"column":16},"end":{"line":242,"column":16}},{"start":{"line":242,"column":16},"end":{"line":242,"column":16}}]},"6":{"line":288,"type":"if","locations":[{"start":{"line":288,"column":16},"end":{"line":288,"column":16}},{"start":{"line":288,"column":16},"end":{"line":288,"column":16}}]},"7":{"line":379,"type":"if","locations":[{"start":{"line":379,"column":16},"end":{"line":379,"column":16}},{"start":{"line":379,"column":16},"end":{"line":379,"column":16}}]},"8":{"line":399,"type":"if","locations":[{"start":{"line":399,"column":16},"end":{"line":399,"column":16}},{"start":{"line":399,"column":16},"end":{"line":399,"column":16}}]},"9":{"line":403,"type":"if","locations":[{"start":{"line":403,"column":24},"end":{"line":403,"column":24}},{"start":{"line":403,"column":24},"end":{"line":403,"column":24}}]},"10":{"line":403,"type":"binary-expr","locations":[{"start":{"line":403,"column":28},"end":{"line":403,"column":47}},{"start":{"line":403,"column":51},"end":{"line":403,"column":74}}]},"11":{"line":447,"type":"if","locations":[{"start":{"line":447,"column":12},"end":{"line":447,"column":12}},{"start":{"line":447,"column":12},"end":{"line":447,"column":12}}]},"12":{"line":447,"type":"binary-expr","locations":[{"start":{"line":447,"column":16},"end":{"line":447,"column":17}},{"start":{"line":447,"column":21},"end":{"line":447,"column":28}},{"start":{"line":447,"column":32},"end":{"line":447,"column":39}},{"start":{"line":447,"column":43},"end":{"line":447,"column":49}},{"start":{"line":447,"column":53},"end":{"line":447,"column":63}}]},"13":{"line":493,"type":"if","locations":[{"start":{"line":493,"column":12},"end":{"line":493,"column":12}},{"start":{"line":493,"column":12},"end":{"line":493,"column":12}}]},"14":{"line":494,"type":"if","locations":[{"start":{"line":494,"column":16},"end":{"line":494,"column":16}},{"start":{"line":494,"column":16},"end":{"line":494,"column":16}}]},"15":{"line":495,"type":"if","locations":[{"start":{"line":495,"column":20},"end":{"line":495,"column":20}},{"start":{"line":495,"column":20},"end":{"line":495,"column":20}}]},"16":{"line":500,"type":"if","locations":[{"start":{"line":500,"column":20},"end":{"line":500,"column":20}},{"start":{"line":500,"column":20},"end":{"line":500,"column":20}}]},"17":{"line":503,"type":"binary-expr","locations":[{"start":{"line":503,"column":43},"end":{"line":503,"column":63}},{"start":{"line":503,"column":67},"end":{"line":503,"column":84}}]},"18":{"line":505,"type":"binary-expr","locations":[{"start":{"line":505,"column":36},"end":{"line":505,"column":49}},{"start":{"line":505,"column":53},"end":{"line":505,"column":71}}]},"19":{"line":702,"type":"if","locations":[{"start":{"line":702,"column":12},"end":{"line":702,"column":12}},{"start":{"line":702,"column":12},"end":{"line":702,"column":12}}]},"20":{"line":714,"type":"if","locations":[{"start":{"line":714,"column":12},"end":{"line":714,"column":12}},{"start":{"line":714,"column":12},"end":{"line":714,"column":12}}]},"21":{"line":738,"type":"if","locations":[{"start":{"line":738,"column":12},"end":{"line":738,"column":12}},{"start":{"line":738,"column":12},"end":{"line":738,"column":12}}]},"22":{"line":749,"type":"if","locations":[{"start":{"line":749,"column":12},"end":{"line":749,"column":12}},{"start":{"line":749,"column":12},"end":{"line":749,"column":12}}]},"23":{"line":760,"type":"if","locations":[{"start":{"line":760,"column":12},"end":{"line":760,"column":12}},{"start":{"line":760,"column":12},"end":{"line":760,"column":12}}]},"24":{"line":777,"type":"if","locations":[{"start":{"line":777,"column":12},"end":{"line":777,"column":12}},{"start":{"line":777,"column":12},"end":{"line":777,"column":12}}]},"25":{"line":777,"type":"binary-expr","locations":[{"start":{"line":777,"column":16},"end":{"line":777,"column":45}},{"start":{"line":777,"column":49},"end":{"line":777,"column":62}}]},"26":{"line":780,"type":"if","locations":[{"start":{"line":780,"column":12},"end":{"line":780,"column":12}},{"start":{"line":780,"column":12},"end":{"line":780,"column":12}}]},"27":{"line":782,"type":"if","locations":[{"start":{"line":782,"column":16},"end":{"line":782,"column":16}},{"start":{"line":782,"column":16},"end":{"line":782,"column":16}}]},"28":{"line":784,"type":"if","locations":[{"start":{"line":784,"column":20},"end":{"line":784,"column":20}},{"start":{"line":784,"column":20},"end":{"line":784,"column":20}}]},"29":{"line":814,"type":"if","locations":[{"start":{"line":814,"column":12},"end":{"line":814,"column":12}},{"start":{"line":814,"column":12},"end":{"line":814,"column":12}}]},"30":{"line":816,"type":"if","locations":[{"start":{"line":816,"column":20},"end":{"line":816,"column":20}},{"start":{"line":816,"column":20},"end":{"line":816,"column":20}}]},"31":{"line":816,"type":"binary-expr","locations":[{"start":{"line":816,"column":24},"end":{"line":816,"column":43}},{"start":{"line":816,"column":47},"end":{"line":816,"column":70}}]},"32":{"line":817,"type":"if","locations":[{"start":{"line":817,"column":24},"end":{"line":817,"column":24}},{"start":{"line":817,"column":24},"end":{"line":817,"column":24}}]},"33":{"line":819,"type":"if","locations":[{"start":{"line":819,"column":28},"end":{"line":819,"column":28}},{"start":{"line":819,"column":28},"end":{"line":819,"column":28}}]},"34":{"line":823,"type":"if","locations":[{"start":{"line":823,"column":32},"end":{"line":823,"column":32}},{"start":{"line":823,"column":32},"end":{"line":823,"column":32}}]},"35":{"line":828,"type":"if","locations":[{"start":{"line":828,"column":27},"end":{"line":828,"column":27}},{"start":{"line":828,"column":27},"end":{"line":828,"column":27}}]},"36":{"line":830,"type":"if","locations":[{"start":{"line":830,"column":24},"end":{"line":830,"column":24}},{"start":{"line":830,"column":24},"end":{"line":830,"column":24}}]},"37":{"line":830,"type":"binary-expr","locations":[{"start":{"line":830,"column":28},"end":{"line":830,"column":57}},{"start":{"line":830,"column":61},"end":{"line":830,"column":67}}]},"38":{"line":838,"type":"if","locations":[{"start":{"line":838,"column":16},"end":{"line":838,"column":16}},{"start":{"line":838,"column":16},"end":{"line":838,"column":16}}]},"39":{"line":838,"type":"binary-expr","locations":[{"start":{"line":838,"column":20},"end":{"line":838,"column":35}},{"start":{"line":838,"column":39},"end":{"line":838,"column":55}}]},"40":{"line":842,"type":"if","locations":[{"start":{"line":842,"column":12},"end":{"line":842,"column":12}},{"start":{"line":842,"column":12},"end":{"line":842,"column":12}}]},"41":{"line":843,"type":"if","locations":[{"start":{"line":843,"column":16},"end":{"line":843,"column":16}},{"start":{"line":843,"column":16},"end":{"line":843,"column":16}}]},"42":{"line":845,"type":"if","locations":[{"start":{"line":845,"column":24},"end":{"line":845,"column":24}},{"start":{"line":845,"column":24},"end":{"line":845,"column":24}}]},"43":{"line":847,"type":"if","locations":[{"start":{"line":847,"column":28},"end":{"line":847,"column":28}},{"start":{"line":847,"column":28},"end":{"line":847,"column":28}}]},"44":{"line":854,"type":"if","locations":[{"start":{"line":854,"column":12},"end":{"line":854,"column":12}},{"start":{"line":854,"column":12},"end":{"line":854,"column":12}}]},"45":{"line":855,"type":"if","locations":[{"start":{"line":855,"column":16},"end":{"line":855,"column":16}},{"start":{"line":855,"column":16},"end":{"line":855,"column":16}}]},"46":{"line":859,"type":"if","locations":[{"start":{"line":859,"column":24},"end":{"line":859,"column":24}},{"start":{"line":859,"column":24},"end":{"line":859,"column":24}}]},"47":{"line":859,"type":"binary-expr","locations":[{"start":{"line":859,"column":29},"end":{"line":859,"column":44}},{"start":{"line":859,"column":48},"end":{"line":859,"column":64}},{"start":{"line":859,"column":69},"end":{"line":859,"column":73}}]},"48":{"line":881,"type":"if","locations":[{"start":{"line":881,"column":12},"end":{"line":881,"column":12}},{"start":{"line":881,"column":12},"end":{"line":881,"column":12}}]},"49":{"line":893,"type":"if","locations":[{"start":{"line":893,"column":12},"end":{"line":893,"column":12}},{"start":{"line":893,"column":12},"end":{"line":893,"column":12}}]},"50":{"line":893,"type":"binary-expr","locations":[{"start":{"line":893,"column":16},"end":{"line":893,"column":33}},{"start":{"line":893,"column":37},"end":{"line":893,"column":57}},{"start":{"line":893,"column":61},"end":{"line":893,"column":72}}]},"51":{"line":907,"type":"if","locations":[{"start":{"line":907,"column":12},"end":{"line":907,"column":12}},{"start":{"line":907,"column":12},"end":{"line":907,"column":12}}]},"52":{"line":907,"type":"binary-expr","locations":[{"start":{"line":907,"column":16},"end":{"line":907,"column":37}},{"start":{"line":907,"column":41},"end":{"line":907,"column":66}}]},"53":{"line":910,"type":"if","locations":[{"start":{"line":910,"column":12},"end":{"line":910,"column":12}},{"start":{"line":910,"column":12},"end":{"line":910,"column":12}}]},"54":{"line":923,"type":"if","locations":[{"start":{"line":923,"column":12},"end":{"line":923,"column":12}},{"start":{"line":923,"column":12},"end":{"line":923,"column":12}}]},"55":{"line":927,"type":"if","locations":[{"start":{"line":927,"column":12},"end":{"line":927,"column":12}},{"start":{"line":927,"column":12},"end":{"line":927,"column":12}}]},"56":{"line":927,"type":"binary-expr","locations":[{"start":{"line":927,"column":16},"end":{"line":927,"column":37}},{"start":{"line":927,"column":41},"end":{"line":927,"column":66}}]},"57":{"line":941,"type":"if","locations":[{"start":{"line":941,"column":12},"end":{"line":941,"column":12}},{"start":{"line":941,"column":12},"end":{"line":941,"column":12}}]},"58":{"line":955,"type":"if","locations":[{"start":{"line":955,"column":12},"end":{"line":955,"column":12}},{"start":{"line":955,"column":12},"end":{"line":955,"column":12}}]},"59":{"line":970,"type":"if","locations":[{"start":{"line":970,"column":12},"end":{"line":970,"column":12}},{"start":{"line":970,"column":12},"end":{"line":970,"column":12}}]},"60":{"line":981,"type":"if","locations":[{"start":{"line":981,"column":12},"end":{"line":981,"column":12}},{"start":{"line":981,"column":12},"end":{"line":981,"column":12}}]},"61":{"line":1030,"type":"if","locations":[{"start":{"line":1030,"column":12},"end":{"line":1030,"column":12}},{"start":{"line":1030,"column":12},"end":{"line":1030,"column":12}}]},"62":{"line":1030,"type":"binary-expr","locations":[{"start":{"line":1030,"column":16},"end":{"line":1030,"column":33}},{"start":{"line":1030,"column":37},"end":{"line":1030,"column":56}}]},"63":{"line":1047,"type":"if","locations":[{"start":{"line":1047,"column":16},"end":{"line":1047,"column":16}},{"start":{"line":1047,"column":16},"end":{"line":1047,"column":16}}]},"64":{"line":1072,"type":"if","locations":[{"start":{"line":1072,"column":12},"end":{"line":1072,"column":12}},{"start":{"line":1072,"column":12},"end":{"line":1072,"column":12}}]},"65":{"line":1077,"type":"if","locations":[{"start":{"line":1077,"column":12},"end":{"line":1077,"column":12}},{"start":{"line":1077,"column":12},"end":{"line":1077,"column":12}}]},"66":{"line":1077,"type":"binary-expr","locations":[{"start":{"line":1077,"column":16},"end":{"line":1077,"column":33}},{"start":{"line":1077,"column":37},"end":{"line":1077,"column":55}}]},"67":{"line":1138,"type":"if","locations":[{"start":{"line":1138,"column":12},"end":{"line":1138,"column":12}},{"start":{"line":1138,"column":12},"end":{"line":1138,"column":12}}]},"68":{"line":1191,"type":"if","locations":[{"start":{"line":1191,"column":12},"end":{"line":1191,"column":12}},{"start":{"line":1191,"column":12},"end":{"line":1191,"column":12}}]},"69":{"line":1192,"type":"if","locations":[{"start":{"line":1192,"column":16},"end":{"line":1192,"column":16}},{"start":{"line":1192,"column":16},"end":{"line":1192,"column":16}}]},"70":{"line":1192,"type":"binary-expr","locations":[{"start":{"line":1192,"column":20},"end":{"line":1192,"column":28}},{"start":{"line":1192,"column":32},"end":{"line":1192,"column":45}}]},"71":{"line":1195,"type":"if","locations":[{"start":{"line":1195,"column":20},"end":{"line":1195,"column":20}},{"start":{"line":1195,"column":20},"end":{"line":1195,"column":20}}]},"72":{"line":1213,"type":"if","locations":[{"start":{"line":1213,"column":12},"end":{"line":1213,"column":12}},{"start":{"line":1213,"column":12},"end":{"line":1213,"column":12}}]},"73":{"line":1218,"type":"if","locations":[{"start":{"line":1218,"column":12},"end":{"line":1218,"column":12}},{"start":{"line":1218,"column":12},"end":{"line":1218,"column":12}}]},"74":{"line":1221,"type":"if","locations":[{"start":{"line":1221,"column":16},"end":{"line":1221,"column":16}},{"start":{"line":1221,"column":16},"end":{"line":1221,"column":16}}]},"75":{"line":1221,"type":"binary-expr","locations":[{"start":{"line":1221,"column":20},"end":{"line":1221,"column":56}},{"start":{"line":1221,"column":60},"end":{"line":1221,"column":96}}]},"76":{"line":1225,"type":"if","locations":[{"start":{"line":1225,"column":20},"end":{"line":1225,"column":20}},{"start":{"line":1225,"column":20},"end":{"line":1225,"column":20}}]},"77":{"line":1225,"type":"binary-expr","locations":[{"start":{"line":1225,"column":24},"end":{"line":1225,"column":26}},{"start":{"line":1225,"column":30},"end":{"line":1225,"column":47}}]},"78":{"line":1231,"type":"if","locations":[{"start":{"line":1231,"column":16},"end":{"line":1231,"column":16}},{"start":{"line":1231,"column":16},"end":{"line":1231,"column":16}}]},"79":{"line":1243,"type":"if","locations":[{"start":{"line":1243,"column":12},"end":{"line":1243,"column":12}},{"start":{"line":1243,"column":12},"end":{"line":1243,"column":12}}]},"80":{"line":1255,"type":"if","locations":[{"start":{"line":1255,"column":12},"end":{"line":1255,"column":12}},{"start":{"line":1255,"column":12},"end":{"line":1255,"column":12}}]}},"code":["(function () { YUI.add('dd-drag', function (Y, NAME) {","","","    /**","     * Provides the ability to drag a Node.","     * @module dd","     * @submodule dd-drag","     */","    /**","     * Provides the ability to drag a Node.","     * @class Drag","     * @extends Base","     * @constructor","     * @namespace DD","     */","","    var DDM = Y.DD.DDM,","        NODE = 'node',","        DRAGGING = 'dragging',","        DRAG_NODE = 'dragNode',","        OFFSET_HEIGHT = 'offsetHeight',","        OFFSET_WIDTH = 'offsetWidth',","        /**","        * Handles the mouseup DOM event, does nothing internally just fires.","        * @event drag:mouseup","        * @bubbles DDM","        * @type {CustomEvent}","        */","        /**","        * Handles the mousedown DOM event, checks to see if you have a valid handle then starts the drag timers.","        * @event drag:mouseDown","        * @preventable _defMouseDownFn","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl><dt>ev</dt><dd>The original mousedown event.</dd></dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_MOUSE_DOWN = 'drag:mouseDown',","        /**","        * Fires after the mousedown event has been cleared.","        * @event drag:afterMouseDown","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl><dt>ev</dt><dd>The original mousedown event.</dd></dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_AFTER_MOUSE_DOWN = 'drag:afterMouseDown',","        /**","        * Fires after a handle is removed.","        * @event drag:removeHandle","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl><dt>handle</dt><dd>The handle that was removed.</dd></dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_REMOVE_HANDLE = 'drag:removeHandle',","        /**","        * Fires after a handle is added.","        * @event drag:addHandle","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl><dt>handle</dt><dd>The handle that was added.</dd></dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_ADD_HANDLE = 'drag:addHandle',","        /**","        * Fires after an invalid selector is removed.","        * @event drag:removeInvalid","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl><dt>handle</dt><dd>The handle that was removed.</dd></dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_REMOVE_INVALID = 'drag:removeInvalid',","        /**","        * Fires after an invalid selector is added.","        * @event drag:addInvalid","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl><dt>handle</dt><dd>The handle that was added.</dd></dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_ADD_INVALID = 'drag:addInvalid',","        /**","        * Fires at the start of a drag operation.","        * @event drag:start","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>pageX</dt><dd>The original node position X.</dd>","        * <dt>pageY</dt><dd>The original node position Y.</dd>","        * <dt>startTime</dt><dd>The startTime of the event. getTime on the current Date object.</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_START = 'drag:start',","        /**","        * Fires at the end of a drag operation.","        * @event drag:end","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>pageX</dt><dd>The current node position X.</dd>","        * <dt>pageY</dt><dd>The current node position Y.</dd>","        * <dt>startTime</dt><dd>The startTime of the event, from the start event.</dd>","        * <dt>endTime</dt><dd>The endTime of the event. getTime on the current Date object.</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_END = 'drag:end',","        /**","        * Fires every mousemove during a drag operation.","        * @event drag:drag","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>pageX</dt><dd>The current node position X.</dd>","        * <dt>pageY</dt><dd>The current node position Y.</dd>","        * <dt>scroll</dt><dd>Should a scroll action occur.</dd>","        * <dt>info</dt><dd>Object hash containing calculated XY arrays: start, xy, delta, offset</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_DRAG = 'drag:drag',","        /**","        * Fires when this node is aligned.","        * @event drag:align","        * @preventable _defAlignFn","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>pageX</dt><dd>The current node position X.</dd>","        * <dt>pageY</dt><dd>The current node position Y.</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        EV_ALIGN = 'drag:align',","        /**","        * Fires when this node is over a Drop Target. (Fired from dd-drop)","        * @event drag:over","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>drop</dt><dd>The drop object at the time of the event.</dd>","        * <dt>drag</dt><dd>The drag object at the time of the event.</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        /**","        * Fires when this node enters a Drop Target. (Fired from dd-drop)","        * @event drag:enter","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>drop</dt><dd>The drop object at the time of the event.</dd>","        * <dt>drag</dt><dd>The drag object at the time of the event.</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        /**","        * Fires when this node exits a Drop Target. (Fired from dd-drop)","        * @event drag:exit","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>drop</dt><dd>The drop object at the time of the event.</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        /**","        * Fires when this node is dropped on a valid Drop Target. (Fired from dd-ddm-drop)","        * @event drag:drophit","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>drop</dt><dd>The best guess on what was dropped on.</dd>","        * <dt>drag</dt><dd>The drag object at the time of the event.</dd>","        * <dt>others</dt><dd>An array of all the other drop targets that was dropped on.</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","        /**","        * Fires when this node is dropped on an invalid Drop Target. (Fired from dd-ddm-drop)","        * @event drag:dropmiss","        * @param {EventFacade} event An Event Facade object with the following specific property added:","        * <dl>","        * <dt>pageX</dt><dd>The current node position X.</dd>","        * <dt>pageY</dt><dd>The current node position Y.</dd>","        * </dl>","        * @bubbles DDM","        * @type {CustomEvent}","        */","","    Drag = function(o) {","        this._lazyAddAttrs = false;","        Drag.superclass.constructor.apply(this, arguments);","","        var valid = DDM._regDrag(this);","        if (!valid) {","            Y.error('Failed to register node, already in use: ' + o.node);","        }","    };","","    Drag.NAME = 'drag';","","    /**","    * This property defaults to \"mousedown\", but when drag-gestures is loaded, it is changed to \"gesturemovestart\"","    * @static","    * @property START_EVENT","    */","    Drag.START_EVENT = 'mousedown';","","    Drag.ATTRS = {","        /**","        * Y.Node instance to use as the element to initiate a drag operation","        * @attribute node","        * @type Node","        */","        node: {","            setter: function(node) {","                if (this._canDrag(node)) {","                    return node;","                }","                var n = Y.one(node);","                if (!n) {","                    Y.error('DD.Drag: Invalid Node Given: ' + node);","                }","                return n;","            }","        },","        /**","        * Y.Node instance to use as the draggable element, defaults to node","        * @attribute dragNode","        * @type Node","        */","        dragNode: {","            setter: function(node) {","                if (this._canDrag(node)) {","                    return node;","                }","                var n = Y.one(node);","                if (!n) {","                    Y.error('DD.Drag: Invalid dragNode Given: ' + node);","                }","                return n;","            }","        },","        /**","        * Offset the drag element by the difference in cursor position: default true","        * @attribute offsetNode","        * @type Boolean","        */","        offsetNode: {","            value: true","        },","        /**","        * Center the dragNode to the mouse position on drag:start: default false","        * @attribute startCentered","        * @type Boolean","        */","        startCentered: {","            value: false","        },","        /**","        * The number of pixels to move to start a drag operation, default is 3.","        * @attribute clickPixelThresh","        * @type Number","        */","        clickPixelThresh: {","            value: DDM.get('clickPixelThresh')","        },","        /**","        * The number of milliseconds a mousedown has to pass to start a drag operation, default is 1000.","        * @attribute clickTimeThresh","        * @type Number","        */","        clickTimeThresh: {","            value: DDM.get('clickTimeThresh')","        },","        /**","        * Set to lock this drag element so that it can't be dragged: default false.","        * @attribute lock","        * @type Boolean","        */","        lock: {","            value: false,","            setter: function(lock) {","                if (lock) {","                    this.get(NODE).addClass(DDM.CSS_PREFIX + '-locked');","                } else {","                    this.get(NODE).removeClass(DDM.CSS_PREFIX + '-locked');","                }","                return lock;","            }","        },","        /**","        * A payload holder to store arbitrary data about this drag object, can be used to store any value.","        * @attribute data","        * @type Mixed","        */","        data: {","            value: false","        },","        /**","        * If this is false, the drag element will not move with the cursor: default true. Can be used to \"resize\" the element.","        * @attribute move","        * @type Boolean","        */","        move: {","            value: true","        },","        /**","        * Use the protective shim on all drag operations: default true. Only works with dd-ddm, not dd-ddm-base.","        * @attribute useShim","        * @type Boolean","        */","        useShim: {","            value: true","        },","        /**","        * Config option is set by Drag to inform you of which handle fired the drag event (in the case that there are several handles): default false.","        * @attribute activeHandle","        * @type Node","        */","        activeHandle: {","            value: false","        },","        /**","        * By default a drag operation will only begin if the mousedown occurred with the primary mouse button.","        * Setting this to false will allow for all mousedown events to trigger a drag.","        * @attribute primaryButtonOnly","        * @type Boolean","        */","        primaryButtonOnly: {","            value: true","        },","        /**","        * This attribute is not meant to be used by the implementor, it is meant to be used as an Event tracker so you can listen for it to change.","        * @attribute dragging","        * @type Boolean","        */","        dragging: {","            value: false","        },","        parent: {","            value: false","        },","        /**","        * This attribute only works if the dd-drop module has been loaded. It will make this node a drop target as well as draggable.","        * @attribute target","        * @type Boolean","        */","        target: {","            value: false,","            setter: function(config) {","                this._handleTarget(config);","                return config;","            }","        },","        /**","        * This attribute only works if the dd-drop module is active. It will set the dragMode (point, intersect, strict) of this Drag instance.","        * @attribute dragMode","        * @type String","        */","        dragMode: {","            value: null,","            setter: function(mode) {","                return DDM._setDragMode(mode);","            }","        },","        /**","        * Array of groups to add this drag into.","        * @attribute groups","        * @type Array","        */","        groups: {","            value: ['default'],","            getter: function() {","                if (!this._groups) {","                    this._groups = {};","                    return [];","                }","","                return Y.Object.keys(this._groups);","            },","            setter: function(g) {","                this._groups = Y.Array.hash(g);","                return g;","            }","        },","        /**","        * Array of valid handles to add. Adding something here will set all handles, even if previously added with addHandle","        * @attribute handles","        * @type Array","        */","        handles: {","            value: null,","            setter: function(g) {","                if (g) {","                    this._handles = {};","                    Y.Array.each(g, function(v) {","                        var key = v;","                        if (v instanceof Y.Node || v instanceof Y.NodeList) {","                            key = v._yuid;","                        }","                        this._handles[key] = v;","                    }, this);","                } else {","                    this._handles = null;","                }","                return g;","            }","        },","        /**","        * Controls the default bubble parent for this Drag instance. Default: Y.DD.DDM. Set to false to disable bubbling. Use bubbleTargets in config","        * @deprecated","        * @attribute bubbles","        * @type Object","        */","        bubbles: {","            setter: function(t) {","                this.addTarget(t);","                return t;","            }","        },","        /**","        * Should the mousedown event be halted. Default: true","        * @attribute haltDown","        * @type Boolean","        */","        haltDown: {","            value: true","        }","    };","","    Y.extend(Drag, Y.Base, {","        /**","        * Checks the object for the methods needed to drag the object around.","        * Normally this would be a node instance, but in the case of Graphics, it","        * may be an SVG node or something similar.","        * @method _canDrag","        * @private","        * @param {Object} n The object to check","        * @return {Boolean} True or false if the Object contains the methods needed to Drag","        */","        _canDrag: function(n) {","            if (n && n.setXY && n.getXY && n.test && n.contains) {","                return true;","            }","            return false;","        },","        /**","        * The default bubbleTarget for this object. Default: Y.DD.DDM","        * @private","        * @property _bubbleTargets","        */","        _bubbleTargets: Y.DD.DDM,","        /**","        * Add this Drag instance to a group, this should be used for on-the-fly group additions.","        * @method addToGroup","        * @param {String} g The group to add this Drag Instance to.","        * @chainable","        */","        addToGroup: function(g) {","            this._groups[g] = true;","            DDM._activateTargets();","            return this;","        },","        /**","        * Remove this Drag instance from a group, this should be used for on-the-fly group removals.","        * @method removeFromGroup","        * @param {String} g The group to remove this Drag Instance from.","        * @chainable","        */","        removeFromGroup: function(g) {","            delete this._groups[g];","            DDM._activateTargets();","            return this;","        },","        /**","        * This will be a reference to the Drop instance associated with this drag if the target: true config attribute is set..","        * @property target","        * @type {Object}","        */","        target: null,","        /**","        * Attribute handler for the target config attribute.","        * @private","        * @method _handleTarget","        * @param {Boolean/Object} config The Config","        */","        _handleTarget: function(config) {","            if (Y.DD.Drop) {","                if (config === false) {","                    if (this.target) {","                        DDM._unregTarget(this.target);","                        this.target = null;","                    }","                } else {","                    if (!Y.Lang.isObject(config)) {","                        config = {};","                    }","                    config.bubbleTargets = config.bubbleTargets || this.getTargets();","                    config.node = this.get(NODE);","                    config.groups = config.groups || this.get('groups');","                    this.target = new Y.DD.Drop(config);","                }","            }","        },","        /**","        * Storage Array for the groups this drag belongs to.","        * @private","        * @property _groups","        * @type {Array}","        */","        _groups: null,","        /**","        * This method creates all the events for this Event Target and publishes them so we get Event Bubbling.","        * @private","        * @method _createEvents","        */","        _createEvents: function() {","","            this.publish(EV_MOUSE_DOWN, {","                defaultFn: this._defMouseDownFn,","                queuable: false,","                emitFacade: true,","                bubbles: true,","                prefix: 'drag'","            });","","            this.publish(EV_ALIGN, {","                defaultFn: this._defAlignFn,","                queuable: false,","                emitFacade: true,","                bubbles: true,","                prefix: 'drag'","            });","","            this.publish(EV_DRAG, {","                defaultFn: this._defDragFn,","                queuable: false,","                emitFacade: true,","                bubbles: true,","                prefix: 'drag'","            });","","            this.publish(EV_END, {","                defaultFn: this._defEndFn,","                preventedFn: this._prevEndFn,","                queuable: false,","                emitFacade: true,","                bubbles: true,","                prefix: 'drag'","            });","","            var ev = [","                EV_AFTER_MOUSE_DOWN,","                EV_REMOVE_HANDLE,","                EV_ADD_HANDLE,","                EV_REMOVE_INVALID,","                EV_ADD_INVALID,","                EV_START,","                'drag:drophit',","                'drag:dropmiss',","                'drag:over',","                'drag:enter',","                'drag:exit'","            ];","","            Y.Array.each(ev, function(v) {","                this.publish(v, {","                    type: v,","                    emitFacade: true,","                    bubbles: true,","                    preventable: false,","                    queuable: false,","                    prefix: 'drag'","                });","            }, this);","        },","        /**","        * A private reference to the mousedown DOM event","        * @private","        * @property _ev_md","        * @type {EventFacade}","        */","        _ev_md: null,","        /**","        * The getTime of the mousedown event. Not used, just here in case someone wants/needs to use it.","        * @private","        * @property _startTime","        * @type Date","        */","        _startTime: null,","        /**","        * The getTime of the mouseup event. Not used, just here in case someone wants/needs to use it.","        * @private","        * @property _endTime","        * @type Date","        */","        _endTime: null,","        /**","        * A private hash of the valid drag handles","        * @private","        * @property _handles","        * @type {Object}","        */","        _handles: null,","        /**","        * A private hash of the invalid selector strings","        * @private","        * @property _invalids","        * @type {Object}","        */","        _invalids: null,","        /**","        * A private hash of the default invalid selector strings: {'textarea': true, 'input': true, 'a': true, 'button': true, 'select': true}","        * @private","        * @property _invalidsDefault","        * @type {Object}","        */","        _invalidsDefault: {'textarea': true, 'input': true, 'a': true, 'button': true, 'select': true },","        /**","        * Private flag to see if the drag threshhold was met","        * @private","        * @property _dragThreshMet","        * @type {Boolean}","        */","        _dragThreshMet: null,","        /**","        * Flag to determine if the drag operation came from a timeout","        * @private","        * @property _fromTimeout","        * @type {Boolean}","        */","        _fromTimeout: null,","        /**","        * Holder for the setTimeout call","        * @private","        * @property _clickTimeout","        * @type {Boolean}","        */","        _clickTimeout: null,","        /**","        * The offset of the mouse position to the element's position","        * @property deltaXY","        * @type {Array}","        */","        deltaXY: null,","        /**","        * The initial mouse position","        * @property startXY","        * @type {Array}","        */","        startXY: null,","        /**","        * The initial element position","        * @property nodeXY","        * @type {Array}","        */","        nodeXY: null,","        /**","        * The position of the element as it's moving (for offset calculations)","        * @property lastXY","        * @type {Array}","        */","        lastXY: null,","        /**","        * The xy that the node will be set to. Changing this will alter the position as it's dragged.","        * @property actXY","        * @type {Array}","        */","        actXY: null,","        /**","        * The real xy position of the node.","        * @property realXY","        * @type {Array}","        */","        realXY: null,","        /**","        * The XY coords of the mousemove","        * @property mouseXY","        * @type {Array}","        */","        mouseXY: null,","        /**","        * A region object associated with this drag, used for checking regions while dragging.","        * @property region","        * @type Object","        */","        region: null,","        /**","        * Handler for the mouseup DOM event","        * @private","        * @method _handleMouseUp","        * @param {EventFacade} ev The Event","        */","        _handleMouseUp: function() {","            this.fire('drag:mouseup');","            this._fixIEMouseUp();","            if (DDM.activeDrag) {","                DDM._end();","            }","        },","        /**","        * The function we use as the ondragstart handler when we start a drag","        * in Internet Explorer. This keeps IE from blowing up on images as drag handles.","        * @private","        * @method _fixDragStart","        * @param {Event} e The Event","        */","        _fixDragStart: function(e) {","            if (this.validClick(e)) {","                e.preventDefault();","            }","        },","        /**","        * The function we use as the onselectstart handler when we start a drag in Internet Explorer","        * @private","        * @method _ieSelectFix","        */","        _ieSelectFix: function() {","            return false;","        },","        /**","        * We will hold a copy of the current \"onselectstart\" method on this property, and reset it after we are done using it.","        * @private","        * @property _ieSelectBack","        */","        _ieSelectBack: null,","        /**","        * This method copies the onselectstart listner on the document to the _ieSelectFix property","        * @private","        * @method _fixIEMouseDown","        */","        _fixIEMouseDown: function() {","            if (Y.UA.ie) {","                this._ieSelectBack = Y.config.doc.body.onselectstart;","                Y.config.doc.body.onselectstart = this._ieSelectFix;","            }","        },","        /**","        * This method copies the _ieSelectFix property back to the onselectstart listner on the document.","        * @private","        * @method _fixIEMouseUp","        */","        _fixIEMouseUp: function() {","            if (Y.UA.ie) {","                Y.config.doc.body.onselectstart = this._ieSelectBack;","            }","        },","        /**","        * Handler for the mousedown DOM event","        * @private","        * @method _handleMouseDownEvent","        * @param {EventFacade} ev  The Event","        */","        _handleMouseDownEvent: function(ev) {","            if (this.validClick(ev)) {","                ev.preventDefault();","            }","            this.fire(EV_MOUSE_DOWN, { ev: ev });","        },","        /**","        * Handler for the mousedown DOM event","        * @private","        * @method _defMouseDownFn","        * @param {EventFacade} e  The Event","        */","        _defMouseDownFn: function(e) {","            var ev = e.ev;","","            this._dragThreshMet = false;","            this._ev_md = ev;","","            if (this.get('primaryButtonOnly') && ev.button > 1) {","                return false;","            }","            if (this.validClick(ev)) {","                this._fixIEMouseDown(ev);","                if (Drag.START_EVENT.indexOf('gesture') !== 0) {","                    //Only do these if it's not a gesture","                    if (this.get('haltDown')) {","                        ev.halt();","                    } else {","                        ev.preventDefault();","                    }","                }","","                this._setStartPosition([ev.pageX, ev.pageY]);","","                DDM.activeDrag = this;","","                this._clickTimeout = Y.later(this.get('clickTimeThresh'), this, this._timeoutCheck);","            }","            this.fire(EV_AFTER_MOUSE_DOWN, { ev: ev });","        },","        /**","        * Method first checks to see if we have handles, if so it validates the click","        * against the handle. Then if it finds a valid handle, it checks it against","        * the invalid handles list. Returns true if a good handle was used, false otherwise.","        * @method validClick","        * @param {EventFacade} ev  The Event","        * @return {Boolean}","        */","        validClick: function(ev) {","            var r = false, n = false,","            tar = ev.target,","            hTest = null,","            els = null,","            nlist = null,","            set = false;","            if (this._handles) {","                Y.Object.each(this._handles, function(i, n) {","                    if (i instanceof Y.Node || i instanceof Y.NodeList) {","                        if (!r) {","                            nlist = i;","                            if (nlist instanceof Y.Node) {","                                nlist = new Y.NodeList(i._node);","                            }","                            nlist.each(function(nl) {","                                if (nl.contains(tar)) {","                                    r = true;","                                }","                            });","                        }","                    } else if (Y.Lang.isString(n)) {","                        //Am I this or am I inside this","                        if (tar.test(n + ', ' + n + ' *') && !hTest) {","                            hTest = n;","                            r = true;","                        }","                    }","                });","            } else {","                n = this.get(NODE);","                if (n.contains(tar) || n.compareTo(tar)) {","                    r = true;","                }","            }","            if (r) {","                if (this._invalids) {","                    Y.Object.each(this._invalids, function(i, n) {","                        if (Y.Lang.isString(n)) {","                            //Am I this or am I inside this","                            if (tar.test(n + ', ' + n + ' *')) {","                                r = false;","                            }","                        }","                    });","                }","            }","            if (r) {","                if (hTest) {","                    els = ev.currentTarget.all(hTest);","                    set = false;","                    els.each(function(n) {","                        if ((n.contains(tar) || n.compareTo(tar)) && !set) {","                            set = true;","                            this.set('activeHandle', n);","                        }","                    }, this);","                } else {","                    this.set('activeHandle', this.get(NODE));","                }","            }","            return r;","        },","        /**","        * Sets the current position of the Element and calculates the offset","        * @private","        * @method _setStartPosition","        * @param {Array} xy The XY coords to set the position to.","        */","        _setStartPosition: function(xy) {","            this.startXY = xy;","","            this.nodeXY = this.lastXY = this.realXY = this.get(NODE).getXY();","","            if (this.get('offsetNode')) {","                this.deltaXY = [(this.startXY[0] - this.nodeXY[0]), (this.startXY[1] - this.nodeXY[1])];","            } else {","                this.deltaXY = [0, 0];","            }","        },","        /**","        * The method passed to setTimeout to determine if the clickTimeThreshold was met.","        * @private","        * @method _timeoutCheck","        */","        _timeoutCheck: function() {","            if (!this.get('lock') && !this._dragThreshMet && this._ev_md) {","                this._fromTimeout = this._dragThreshMet = true;","                this.start();","                this._alignNode([this._ev_md.pageX, this._ev_md.pageY], true);","            }","        },","        /**","        * Remove a Selector added by addHandle","        * @method removeHandle","        * @param {String} str The selector for the handle to be removed.","        * @chainable","        */","        removeHandle: function(str) {","            var key = str;","            if (str instanceof Y.Node || str instanceof Y.NodeList) {","                key = str._yuid;","            }","            if (this._handles[key]) {","                delete this._handles[key];","                this.fire(EV_REMOVE_HANDLE, { handle: str });","            }","            return this;","        },","        /**","        * Add a handle to a drag element. Drag only initiates when a mousedown happens on this element.","        * @method addHandle","        * @param {String} str The selector to test for a valid handle. Must be a child of the element.","        * @chainable","        */","        addHandle: function(str) {","            if (!this._handles) {","                this._handles = {};","            }","            var key = str;","            if (str instanceof Y.Node || str instanceof Y.NodeList) {","                key = str._yuid;","            }","            this._handles[key] = str;","            this.fire(EV_ADD_HANDLE, { handle: str });","            return this;","        },","        /**","        * Remove an invalid handle added by addInvalid","        * @method removeInvalid","        * @param {String} str The invalid handle to remove from the internal list.","        * @chainable","        */","        removeInvalid: function(str) {","            if (this._invalids[str]) {","                this._invalids[str] = null;","                delete this._invalids[str];","                this.fire(EV_REMOVE_INVALID, { handle: str });","            }","            return this;","        },","        /**","        * Add a selector string to test the handle against. If the test passes the drag operation will not continue.","        * @method addInvalid","        * @param {String} str The selector to test against to determine if this is an invalid drag handle.","        * @chainable","        */","        addInvalid: function(str) {","            if (Y.Lang.isString(str)) {","                this._invalids[str] = true;","                this.fire(EV_ADD_INVALID, { handle: str });","            }","            return this;","        },","        /**","        * Internal init handler","        * @private","        * @method initializer","        */","        initializer: function() {","","            this.get(NODE).dd = this;","","            if (!this.get(NODE).get('id')) {","                var id = Y.stamp(this.get(NODE));","                this.get(NODE).set('id', id);","            }","","            this.actXY = [];","","            this._invalids = Y.clone(this._invalidsDefault, true);","","            this._createEvents();","","            if (!this.get(DRAG_NODE)) {","                this.set(DRAG_NODE, this.get(NODE));","            }","","            //Fix for #2528096","            //Don't prep the DD instance until all plugins are loaded.","            this.on('initializedChange', Y.bind(this._prep, this));","","            //Shouldn't have to do this..","            this.set('groups', this.get('groups'));","        },","        /**","        * Attach event listners and add classname","        * @private","        * @method _prep","        */","        _prep: function() {","            this._dragThreshMet = false;","            var node = this.get(NODE);","            node.addClass(DDM.CSS_PREFIX + '-draggable');","            node.on(Drag.START_EVENT, Y.bind(this._handleMouseDownEvent, this));","            node.on('mouseup', Y.bind(this._handleMouseUp, this));","            node.on('dragstart', Y.bind(this._fixDragStart, this));","        },","        /**","        * Detach event listeners and remove classname","        * @private","        * @method _unprep","        */","        _unprep: function() {","            var node = this.get(NODE);","            node.removeClass(DDM.CSS_PREFIX + '-draggable');","            node.detachAll('mouseup');","            node.detachAll('dragstart');","            node.detachAll(Drag.START_EVENT);","            this.mouseXY = [];","            this.deltaXY = [0,0];","            this.startXY = [];","            this.nodeXY = [];","            this.lastXY = [];","            this.actXY = [];","            this.realXY = [];","        },","        /**","        * Starts the drag operation","        * @method start","        * @chainable","        */","        start: function() {","            if (!this.get('lock') && !this.get(DRAGGING)) {","                var node = this.get(NODE), ow, oh, xy;","                this._startTime = (new Date()).getTime();","","                DDM._start();","                node.addClass(DDM.CSS_PREFIX + '-dragging');","                this.fire(EV_START, {","                    pageX: this.nodeXY[0],","                    pageY: this.nodeXY[1],","                    startTime: this._startTime","                });","                node = this.get(DRAG_NODE);","                xy = this.nodeXY;","","                ow = node.get(OFFSET_WIDTH);","                oh = node.get(OFFSET_HEIGHT);","","                if (this.get('startCentered')) {","                    this._setStartPosition([xy[0] + (ow / 2), xy[1] + (oh / 2)]);","                }","","","                this.region = {","                    '0': xy[0],","                    '1': xy[1],","                    area: 0,","                    top: xy[1],","                    right: xy[0] + ow,","                    bottom: xy[1] + oh,","                    left: xy[0]","                };","                this.set(DRAGGING, true);","            }","            return this;","        },","        /**","        * Ends the drag operation","        * @method end","        * @chainable","        */","        end: function() {","            this._endTime = (new Date()).getTime();","            if (this._clickTimeout) {","                this._clickTimeout.cancel();","            }","            this._dragThreshMet = this._fromTimeout = false;","","            if (!this.get('lock') && this.get(DRAGGING)) {","                this.fire(EV_END, {","                    pageX: this.lastXY[0],","                    pageY: this.lastXY[1],","                    startTime: this._startTime,","                    endTime: this._endTime","                });","            }","            this.get(NODE).removeClass(DDM.CSS_PREFIX + '-dragging');","            this.set(DRAGGING, false);","            this.deltaXY = [0, 0];","","            return this;","        },","        /**","        * Handler for fixing the selection in IE","        * @private","        * @method _defEndFn","        */","        _defEndFn: function() {","            this._fixIEMouseUp();","            this._ev_md = null;","        },","        /**","        * Handler for preventing the drag:end event. It will reset the node back to it's start position","        * @private","        * @method _prevEndFn","        */","        _prevEndFn: function() {","            this._fixIEMouseUp();","            //Bug #1852577","            this.get(DRAG_NODE).setXY(this.nodeXY);","            this._ev_md = null;","            this.region = null;","        },","        /**","        * Calculates the offsets and set's the XY that the element will move to.","        * @private","        * @method _align","        * @param {Array} xy The xy coords to align with.","        */","        _align: function(xy) {","            this.fire(EV_ALIGN, {pageX: xy[0], pageY: xy[1] });","        },","        /**","        * Calculates the offsets and set's the XY that the element will move to.","        * @private","        * @method _defAlignFn","        * @param {EventFacade} e The drag:align event.","        */","        _defAlignFn: function(e) {","            this.actXY = [e.pageX - this.deltaXY[0], e.pageY - this.deltaXY[1]];","        },","        /**","        * This method performs the alignment before the element move.","        * @private","        * @method _alignNode","        * @param {Array} eXY The XY to move the element to, usually comes from the mousemove DOM event.","        */","        _alignNode: function(eXY, scroll) {","            this._align(eXY);","            if (!scroll) {","                this._moveNode();","            }","        },","        /**","        * This method performs the actual element move.","        * @private","        * @method _moveNode","        */","        _moveNode: function(scroll) {","            //if (!this.get(DRAGGING)) {","            //    return;","            //}","            var diffXY = [], diffXY2 = [], startXY = this.nodeXY, xy = this.actXY;","","            diffXY[0] = (xy[0] - this.lastXY[0]);","            diffXY[1] = (xy[1] - this.lastXY[1]);","","            diffXY2[0] = (xy[0] - this.nodeXY[0]);","            diffXY2[1] = (xy[1] - this.nodeXY[1]);","","","            this.region = {","                '0': xy[0],","                '1': xy[1],","                area: 0,","                top: xy[1],","                right: xy[0] + this.get(DRAG_NODE).get(OFFSET_WIDTH),","                bottom: xy[1] + this.get(DRAG_NODE).get(OFFSET_HEIGHT),","                left: xy[0]","            };","","            this.fire(EV_DRAG, {","                pageX: xy[0],","                pageY: xy[1],","                scroll: scroll,","                info: {","                    start: startXY,","                    xy: xy,","                    delta: diffXY,","                    offset: diffXY2","                }","            });","","            this.lastXY = xy;","        },","        /**","        * Default function for drag:drag. Fired from _moveNode.","        * @private","        * @method _defDragFn","        * @param {EventFacade} ev The drag:drag event","        */","        _defDragFn: function(e) {","            if (this.get('move')) {","                if (e.scroll && e.scroll.node) {","                    var domNode = e.scroll.node.getDOMNode();","                    //If it's the window","                    if (domNode === Y.config.win) {","                        domNode.scrollTo(e.scroll.left, e.scroll.top);","                    } else {","                        e.scroll.node.set('scrollTop', e.scroll.top);","                        e.scroll.node.set('scrollLeft', e.scroll.left);","                    }","                }","                this.get(DRAG_NODE).setXY([e.pageX, e.pageY]);","                this.realXY = [e.pageX, e.pageY];","            }","        },","        /**","        * Fired from DragDropMgr (DDM) on mousemove.","        * @private","        * @method _move","        * @param {EventFacade} ev The mousemove DOM event","        */","        _move: function(ev) {","            if (this.get('lock')) {","                return false;","            }","","            this.mouseXY = [ev.pageX, ev.pageY];","            if (!this._dragThreshMet) {","                var diffX = Math.abs(this.startXY[0] - ev.pageX),","                diffY = Math.abs(this.startXY[1] - ev.pageY);","                if (diffX > this.get('clickPixelThresh') || diffY > this.get('clickPixelThresh')) {","                    this._dragThreshMet = true;","                    this.start();","                    //This only happens on gestures to stop the page from scrolling","                    if (ev && ev.preventDefault) {","                        ev.preventDefault();","                    }","                    this._alignNode([ev.pageX, ev.pageY]);","                }","            } else {","                if (this._clickTimeout) {","                    this._clickTimeout.cancel();","                }","                this._alignNode([ev.pageX, ev.pageY]);","            }","        },","        /**","        * Method will forcefully stop a drag operation. For example calling this from inside an ESC keypress handler will stop this drag.","        * @method stopDrag","        * @chainable","        */","        stopDrag: function() {","            if (this.get(DRAGGING)) {","                DDM._end();","            }","            return this;","        },","        /**","        * Lifecycle destructor, unreg the drag from the DDM and remove listeners","        * @private","        * @method destructor","        */","        destructor: function() {","            this._unprep();","            if (this.target) {","                this.target.destroy();","            }","            DDM._unregDrag(this);","        }","    });","    Y.namespace('DD');","    Y.DD.Drag = Drag;","","","","","}, '3.17.2', {\"requires\": [\"dd-ddm-base\"]});","","}());"]};
  }
  var __cov_Fr1SliDBP6G2yCnI4QmeSA = __coverage__['build/dd-drag/dd-drag.js'];
  __cov_Fr1SliDBP6G2yCnI4QmeSA.s['1']++;YUI.add('dd-drag',function(Y,NAME){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['1']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['2']++;var DDM=Y.DD.DDM,NODE='node',DRAGGING='dragging',DRAG_NODE='dragNode',OFFSET_HEIGHT='offsetHeight',OFFSET_WIDTH='offsetWidth',EV_MOUSE_DOWN='drag:mouseDown',EV_AFTER_MOUSE_DOWN='drag:afterMouseDown',EV_REMOVE_HANDLE='drag:removeHandle',EV_ADD_HANDLE='drag:addHandle',EV_REMOVE_INVALID='drag:removeInvalid',EV_ADD_INVALID='drag:addInvalid',EV_START='drag:start',EV_END='drag:end',EV_DRAG='drag:drag',EV_ALIGN='drag:align',Drag=function(o){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['2']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['3']++;this._lazyAddAttrs=false;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['4']++;Drag.superclass.constructor.apply(this,arguments);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['5']++;var valid=DDM._regDrag(this);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['6']++;if(!valid){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['1'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['7']++;Y.error('Failed to register node, already in use: '+o.node);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['1'][1]++;}};__cov_Fr1SliDBP6G2yCnI4QmeSA.s['8']++;Drag.NAME='drag';__cov_Fr1SliDBP6G2yCnI4QmeSA.s['9']++;Drag.START_EVENT='mousedown';__cov_Fr1SliDBP6G2yCnI4QmeSA.s['10']++;Drag.ATTRS={node:{setter:function(node){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['3']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['11']++;if(this._canDrag(node)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['2'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['12']++;return node;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['2'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['13']++;var n=Y.one(node);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['14']++;if(!n){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['3'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['15']++;Y.error('DD.Drag: Invalid Node Given: '+node);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['3'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['16']++;return n;}},dragNode:{setter:function(node){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['4']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['17']++;if(this._canDrag(node)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['4'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['18']++;return node;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['4'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['19']++;var n=Y.one(node);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['20']++;if(!n){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['5'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['21']++;Y.error('DD.Drag: Invalid dragNode Given: '+node);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['5'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['22']++;return n;}},offsetNode:{value:true},startCentered:{value:false},clickPixelThresh:{value:DDM.get('clickPixelThresh')},clickTimeThresh:{value:DDM.get('clickTimeThresh')},lock:{value:false,setter:function(lock){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['5']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['23']++;if(lock){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['6'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['24']++;this.get(NODE).addClass(DDM.CSS_PREFIX+'-locked');}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['6'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['25']++;this.get(NODE).removeClass(DDM.CSS_PREFIX+'-locked');}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['26']++;return lock;}},data:{value:false},move:{value:true},useShim:{value:true},activeHandle:{value:false},primaryButtonOnly:{value:true},dragging:{value:false},parent:{value:false},target:{value:false,setter:function(config){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['6']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['27']++;this._handleTarget(config);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['28']++;return config;}},dragMode:{value:null,setter:function(mode){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['7']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['29']++;return DDM._setDragMode(mode);}},groups:{value:['default'],getter:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['8']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['30']++;if(!this._groups){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['7'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['31']++;this._groups={};__cov_Fr1SliDBP6G2yCnI4QmeSA.s['32']++;return[];}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['7'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['33']++;return Y.Object.keys(this._groups);},setter:function(g){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['9']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['34']++;this._groups=Y.Array.hash(g);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['35']++;return g;}},handles:{value:null,setter:function(g){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['10']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['36']++;if(g){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['8'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['37']++;this._handles={};__cov_Fr1SliDBP6G2yCnI4QmeSA.s['38']++;Y.Array.each(g,function(v){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['11']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['39']++;var key=v;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['40']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['10'][0]++,v instanceof Y.Node)||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['10'][1]++,v instanceof Y.NodeList)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['9'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['41']++;key=v._yuid;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['9'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['42']++;this._handles[key]=v;},this);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['8'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['43']++;this._handles=null;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['44']++;return g;}},bubbles:{setter:function(t){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['12']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['45']++;this.addTarget(t);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['46']++;return t;}},haltDown:{value:true}};__cov_Fr1SliDBP6G2yCnI4QmeSA.s['47']++;Y.extend(Drag,Y.Base,{_canDrag:function(n){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['13']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['48']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['12'][0]++,n)&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['12'][1]++,n.setXY)&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['12'][2]++,n.getXY)&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['12'][3]++,n.test)&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['12'][4]++,n.contains)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['11'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['49']++;return true;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['11'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['50']++;return false;},_bubbleTargets:Y.DD.DDM,addToGroup:function(g){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['14']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['51']++;this._groups[g]=true;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['52']++;DDM._activateTargets();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['53']++;return this;},removeFromGroup:function(g){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['15']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['54']++;delete this._groups[g];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['55']++;DDM._activateTargets();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['56']++;return this;},target:null,_handleTarget:function(config){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['16']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['57']++;if(Y.DD.Drop){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['13'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['58']++;if(config===false){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['14'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['59']++;if(this.target){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['15'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['60']++;DDM._unregTarget(this.target);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['61']++;this.target=null;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['15'][1]++;}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['14'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['62']++;if(!Y.Lang.isObject(config)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['16'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['63']++;config={};}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['16'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['64']++;config.bubbleTargets=(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['17'][0]++,config.bubbleTargets)||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['17'][1]++,this.getTargets());__cov_Fr1SliDBP6G2yCnI4QmeSA.s['65']++;config.node=this.get(NODE);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['66']++;config.groups=(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['18'][0]++,config.groups)||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['18'][1]++,this.get('groups'));__cov_Fr1SliDBP6G2yCnI4QmeSA.s['67']++;this.target=new Y.DD.Drop(config);}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['13'][1]++;}},_groups:null,_createEvents:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['17']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['68']++;this.publish(EV_MOUSE_DOWN,{defaultFn:this._defMouseDownFn,queuable:false,emitFacade:true,bubbles:true,prefix:'drag'});__cov_Fr1SliDBP6G2yCnI4QmeSA.s['69']++;this.publish(EV_ALIGN,{defaultFn:this._defAlignFn,queuable:false,emitFacade:true,bubbles:true,prefix:'drag'});__cov_Fr1SliDBP6G2yCnI4QmeSA.s['70']++;this.publish(EV_DRAG,{defaultFn:this._defDragFn,queuable:false,emitFacade:true,bubbles:true,prefix:'drag'});__cov_Fr1SliDBP6G2yCnI4QmeSA.s['71']++;this.publish(EV_END,{defaultFn:this._defEndFn,preventedFn:this._prevEndFn,queuable:false,emitFacade:true,bubbles:true,prefix:'drag'});__cov_Fr1SliDBP6G2yCnI4QmeSA.s['72']++;var ev=[EV_AFTER_MOUSE_DOWN,EV_REMOVE_HANDLE,EV_ADD_HANDLE,EV_REMOVE_INVALID,EV_ADD_INVALID,EV_START,'drag:drophit','drag:dropmiss','drag:over','drag:enter','drag:exit'];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['73']++;Y.Array.each(ev,function(v){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['18']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['74']++;this.publish(v,{type:v,emitFacade:true,bubbles:true,preventable:false,queuable:false,prefix:'drag'});},this);},_ev_md:null,_startTime:null,_endTime:null,_handles:null,_invalids:null,_invalidsDefault:{'textarea':true,'input':true,'a':true,'button':true,'select':true},_dragThreshMet:null,_fromTimeout:null,_clickTimeout:null,deltaXY:null,startXY:null,nodeXY:null,lastXY:null,actXY:null,realXY:null,mouseXY:null,region:null,_handleMouseUp:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['19']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['75']++;this.fire('drag:mouseup');__cov_Fr1SliDBP6G2yCnI4QmeSA.s['76']++;this._fixIEMouseUp();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['77']++;if(DDM.activeDrag){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['19'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['78']++;DDM._end();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['19'][1]++;}},_fixDragStart:function(e){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['20']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['79']++;if(this.validClick(e)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['20'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['80']++;e.preventDefault();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['20'][1]++;}},_ieSelectFix:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['21']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['81']++;return false;},_ieSelectBack:null,_fixIEMouseDown:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['22']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['82']++;if(Y.UA.ie){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['21'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['83']++;this._ieSelectBack=Y.config.doc.body.onselectstart;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['84']++;Y.config.doc.body.onselectstart=this._ieSelectFix;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['21'][1]++;}},_fixIEMouseUp:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['23']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['85']++;if(Y.UA.ie){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['22'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['86']++;Y.config.doc.body.onselectstart=this._ieSelectBack;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['22'][1]++;}},_handleMouseDownEvent:function(ev){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['24']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['87']++;if(this.validClick(ev)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['23'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['88']++;ev.preventDefault();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['23'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['89']++;this.fire(EV_MOUSE_DOWN,{ev:ev});},_defMouseDownFn:function(e){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['25']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['90']++;var ev=e.ev;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['91']++;this._dragThreshMet=false;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['92']++;this._ev_md=ev;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['93']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['25'][0]++,this.get('primaryButtonOnly'))&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['25'][1]++,ev.button>1)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['24'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['94']++;return false;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['24'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['95']++;if(this.validClick(ev)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['26'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['96']++;this._fixIEMouseDown(ev);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['97']++;if(Drag.START_EVENT.indexOf('gesture')!==0){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['27'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['98']++;if(this.get('haltDown')){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['28'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['99']++;ev.halt();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['28'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['100']++;ev.preventDefault();}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['27'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['101']++;this._setStartPosition([ev.pageX,ev.pageY]);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['102']++;DDM.activeDrag=this;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['103']++;this._clickTimeout=Y.later(this.get('clickTimeThresh'),this,this._timeoutCheck);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['26'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['104']++;this.fire(EV_AFTER_MOUSE_DOWN,{ev:ev});},validClick:function(ev){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['26']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['105']++;var r=false,n=false,tar=ev.target,hTest=null,els=null,nlist=null,set=false;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['106']++;if(this._handles){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['29'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['107']++;Y.Object.each(this._handles,function(i,n){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['27']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['108']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['31'][0]++,i instanceof Y.Node)||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['31'][1]++,i instanceof Y.NodeList)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['30'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['109']++;if(!r){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['32'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['110']++;nlist=i;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['111']++;if(nlist instanceof Y.Node){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['33'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['112']++;nlist=new Y.NodeList(i._node);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['33'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['113']++;nlist.each(function(nl){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['28']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['114']++;if(nl.contains(tar)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['34'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['115']++;r=true;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['34'][1]++;}});}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['32'][1]++;}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['30'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['116']++;if(Y.Lang.isString(n)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['35'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['117']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['37'][0]++,tar.test(n+', '+n+' *'))&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['37'][1]++,!hTest)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['36'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['118']++;hTest=n;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['119']++;r=true;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['36'][1]++;}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['35'][1]++;}}});}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['29'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['120']++;n=this.get(NODE);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['121']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['39'][0]++,n.contains(tar))||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['39'][1]++,n.compareTo(tar))){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['38'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['122']++;r=true;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['38'][1]++;}}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['123']++;if(r){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['40'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['124']++;if(this._invalids){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['41'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['125']++;Y.Object.each(this._invalids,function(i,n){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['29']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['126']++;if(Y.Lang.isString(n)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['42'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['127']++;if(tar.test(n+', '+n+' *')){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['43'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['128']++;r=false;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['43'][1]++;}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['42'][1]++;}});}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['41'][1]++;}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['40'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['129']++;if(r){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['44'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['130']++;if(hTest){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['45'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['131']++;els=ev.currentTarget.all(hTest);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['132']++;set=false;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['133']++;els.each(function(n){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['30']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['134']++;if(((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['47'][0]++,n.contains(tar))||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['47'][1]++,n.compareTo(tar)))&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['47'][2]++,!set)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['46'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['135']++;set=true;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['136']++;this.set('activeHandle',n);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['46'][1]++;}},this);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['45'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['137']++;this.set('activeHandle',this.get(NODE));}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['44'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['138']++;return r;},_setStartPosition:function(xy){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['31']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['139']++;this.startXY=xy;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['140']++;this.nodeXY=this.lastXY=this.realXY=this.get(NODE).getXY();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['141']++;if(this.get('offsetNode')){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['48'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['142']++;this.deltaXY=[this.startXY[0]-this.nodeXY[0],this.startXY[1]-this.nodeXY[1]];}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['48'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['143']++;this.deltaXY=[0,0];}},_timeoutCheck:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['32']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['144']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['50'][0]++,!this.get('lock'))&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['50'][1]++,!this._dragThreshMet)&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['50'][2]++,this._ev_md)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['49'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['145']++;this._fromTimeout=this._dragThreshMet=true;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['146']++;this.start();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['147']++;this._alignNode([this._ev_md.pageX,this._ev_md.pageY],true);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['49'][1]++;}},removeHandle:function(str){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['33']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['148']++;var key=str;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['149']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['52'][0]++,str instanceof Y.Node)||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['52'][1]++,str instanceof Y.NodeList)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['51'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['150']++;key=str._yuid;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['51'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['151']++;if(this._handles[key]){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['53'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['152']++;delete this._handles[key];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['153']++;this.fire(EV_REMOVE_HANDLE,{handle:str});}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['53'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['154']++;return this;},addHandle:function(str){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['34']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['155']++;if(!this._handles){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['54'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['156']++;this._handles={};}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['54'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['157']++;var key=str;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['158']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['56'][0]++,str instanceof Y.Node)||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['56'][1]++,str instanceof Y.NodeList)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['55'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['159']++;key=str._yuid;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['55'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['160']++;this._handles[key]=str;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['161']++;this.fire(EV_ADD_HANDLE,{handle:str});__cov_Fr1SliDBP6G2yCnI4QmeSA.s['162']++;return this;},removeInvalid:function(str){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['35']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['163']++;if(this._invalids[str]){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['57'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['164']++;this._invalids[str]=null;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['165']++;delete this._invalids[str];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['166']++;this.fire(EV_REMOVE_INVALID,{handle:str});}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['57'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['167']++;return this;},addInvalid:function(str){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['36']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['168']++;if(Y.Lang.isString(str)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['58'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['169']++;this._invalids[str]=true;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['170']++;this.fire(EV_ADD_INVALID,{handle:str});}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['58'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['171']++;return this;},initializer:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['37']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['172']++;this.get(NODE).dd=this;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['173']++;if(!this.get(NODE).get('id')){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['59'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['174']++;var id=Y.stamp(this.get(NODE));__cov_Fr1SliDBP6G2yCnI4QmeSA.s['175']++;this.get(NODE).set('id',id);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['59'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['176']++;this.actXY=[];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['177']++;this._invalids=Y.clone(this._invalidsDefault,true);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['178']++;this._createEvents();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['179']++;if(!this.get(DRAG_NODE)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['60'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['180']++;this.set(DRAG_NODE,this.get(NODE));}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['60'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['181']++;this.on('initializedChange',Y.bind(this._prep,this));__cov_Fr1SliDBP6G2yCnI4QmeSA.s['182']++;this.set('groups',this.get('groups'));},_prep:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['38']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['183']++;this._dragThreshMet=false;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['184']++;var node=this.get(NODE);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['185']++;node.addClass(DDM.CSS_PREFIX+'-draggable');__cov_Fr1SliDBP6G2yCnI4QmeSA.s['186']++;node.on(Drag.START_EVENT,Y.bind(this._handleMouseDownEvent,this));__cov_Fr1SliDBP6G2yCnI4QmeSA.s['187']++;node.on('mouseup',Y.bind(this._handleMouseUp,this));__cov_Fr1SliDBP6G2yCnI4QmeSA.s['188']++;node.on('dragstart',Y.bind(this._fixDragStart,this));},_unprep:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['39']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['189']++;var node=this.get(NODE);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['190']++;node.removeClass(DDM.CSS_PREFIX+'-draggable');__cov_Fr1SliDBP6G2yCnI4QmeSA.s['191']++;node.detachAll('mouseup');__cov_Fr1SliDBP6G2yCnI4QmeSA.s['192']++;node.detachAll('dragstart');__cov_Fr1SliDBP6G2yCnI4QmeSA.s['193']++;node.detachAll(Drag.START_EVENT);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['194']++;this.mouseXY=[];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['195']++;this.deltaXY=[0,0];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['196']++;this.startXY=[];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['197']++;this.nodeXY=[];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['198']++;this.lastXY=[];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['199']++;this.actXY=[];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['200']++;this.realXY=[];},start:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['40']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['201']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['62'][0]++,!this.get('lock'))&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['62'][1]++,!this.get(DRAGGING))){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['61'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['202']++;var node=this.get(NODE),ow,oh,xy;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['203']++;this._startTime=new Date().getTime();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['204']++;DDM._start();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['205']++;node.addClass(DDM.CSS_PREFIX+'-dragging');__cov_Fr1SliDBP6G2yCnI4QmeSA.s['206']++;this.fire(EV_START,{pageX:this.nodeXY[0],pageY:this.nodeXY[1],startTime:this._startTime});__cov_Fr1SliDBP6G2yCnI4QmeSA.s['207']++;node=this.get(DRAG_NODE);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['208']++;xy=this.nodeXY;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['209']++;ow=node.get(OFFSET_WIDTH);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['210']++;oh=node.get(OFFSET_HEIGHT);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['211']++;if(this.get('startCentered')){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['63'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['212']++;this._setStartPosition([xy[0]+ow/2,xy[1]+oh/2]);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['63'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['213']++;this.region={'0':xy[0],'1':xy[1],area:0,top:xy[1],right:xy[0]+ow,bottom:xy[1]+oh,left:xy[0]};__cov_Fr1SliDBP6G2yCnI4QmeSA.s['214']++;this.set(DRAGGING,true);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['61'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['215']++;return this;},end:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['41']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['216']++;this._endTime=new Date().getTime();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['217']++;if(this._clickTimeout){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['64'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['218']++;this._clickTimeout.cancel();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['64'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['219']++;this._dragThreshMet=this._fromTimeout=false;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['220']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['66'][0]++,!this.get('lock'))&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['66'][1]++,this.get(DRAGGING))){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['65'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['221']++;this.fire(EV_END,{pageX:this.lastXY[0],pageY:this.lastXY[1],startTime:this._startTime,endTime:this._endTime});}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['65'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['222']++;this.get(NODE).removeClass(DDM.CSS_PREFIX+'-dragging');__cov_Fr1SliDBP6G2yCnI4QmeSA.s['223']++;this.set(DRAGGING,false);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['224']++;this.deltaXY=[0,0];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['225']++;return this;},_defEndFn:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['42']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['226']++;this._fixIEMouseUp();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['227']++;this._ev_md=null;},_prevEndFn:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['43']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['228']++;this._fixIEMouseUp();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['229']++;this.get(DRAG_NODE).setXY(this.nodeXY);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['230']++;this._ev_md=null;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['231']++;this.region=null;},_align:function(xy){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['44']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['232']++;this.fire(EV_ALIGN,{pageX:xy[0],pageY:xy[1]});},_defAlignFn:function(e){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['45']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['233']++;this.actXY=[e.pageX-this.deltaXY[0],e.pageY-this.deltaXY[1]];},_alignNode:function(eXY,scroll){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['46']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['234']++;this._align(eXY);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['235']++;if(!scroll){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['67'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['236']++;this._moveNode();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['67'][1]++;}},_moveNode:function(scroll){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['47']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['237']++;var diffXY=[],diffXY2=[],startXY=this.nodeXY,xy=this.actXY;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['238']++;diffXY[0]=xy[0]-this.lastXY[0];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['239']++;diffXY[1]=xy[1]-this.lastXY[1];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['240']++;diffXY2[0]=xy[0]-this.nodeXY[0];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['241']++;diffXY2[1]=xy[1]-this.nodeXY[1];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['242']++;this.region={'0':xy[0],'1':xy[1],area:0,top:xy[1],right:xy[0]+this.get(DRAG_NODE).get(OFFSET_WIDTH),bottom:xy[1]+this.get(DRAG_NODE).get(OFFSET_HEIGHT),left:xy[0]};__cov_Fr1SliDBP6G2yCnI4QmeSA.s['243']++;this.fire(EV_DRAG,{pageX:xy[0],pageY:xy[1],scroll:scroll,info:{start:startXY,xy:xy,delta:diffXY,offset:diffXY2}});__cov_Fr1SliDBP6G2yCnI4QmeSA.s['244']++;this.lastXY=xy;},_defDragFn:function(e){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['48']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['245']++;if(this.get('move')){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['68'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['246']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['70'][0]++,e.scroll)&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['70'][1]++,e.scroll.node)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['69'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['247']++;var domNode=e.scroll.node.getDOMNode();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['248']++;if(domNode===Y.config.win){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['71'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['249']++;domNode.scrollTo(e.scroll.left,e.scroll.top);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['71'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['250']++;e.scroll.node.set('scrollTop',e.scroll.top);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['251']++;e.scroll.node.set('scrollLeft',e.scroll.left);}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['69'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['252']++;this.get(DRAG_NODE).setXY([e.pageX,e.pageY]);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['253']++;this.realXY=[e.pageX,e.pageY];}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['68'][1]++;}},_move:function(ev){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['49']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['254']++;if(this.get('lock')){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['72'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['255']++;return false;}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['72'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['256']++;this.mouseXY=[ev.pageX,ev.pageY];__cov_Fr1SliDBP6G2yCnI4QmeSA.s['257']++;if(!this._dragThreshMet){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['73'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['258']++;var diffX=Math.abs(this.startXY[0]-ev.pageX),diffY=Math.abs(this.startXY[1]-ev.pageY);__cov_Fr1SliDBP6G2yCnI4QmeSA.s['259']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['75'][0]++,diffX>this.get('clickPixelThresh'))||(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['75'][1]++,diffY>this.get('clickPixelThresh'))){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['74'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['260']++;this._dragThreshMet=true;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['261']++;this.start();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['262']++;if((__cov_Fr1SliDBP6G2yCnI4QmeSA.b['77'][0]++,ev)&&(__cov_Fr1SliDBP6G2yCnI4QmeSA.b['77'][1]++,ev.preventDefault)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['76'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['263']++;ev.preventDefault();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['76'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['264']++;this._alignNode([ev.pageX,ev.pageY]);}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['74'][1]++;}}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['73'][1]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['265']++;if(this._clickTimeout){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['78'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['266']++;this._clickTimeout.cancel();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['78'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['267']++;this._alignNode([ev.pageX,ev.pageY]);}},stopDrag:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['50']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['268']++;if(this.get(DRAGGING)){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['79'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['269']++;DDM._end();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['79'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['270']++;return this;},destructor:function(){__cov_Fr1SliDBP6G2yCnI4QmeSA.f['51']++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['271']++;this._unprep();__cov_Fr1SliDBP6G2yCnI4QmeSA.s['272']++;if(this.target){__cov_Fr1SliDBP6G2yCnI4QmeSA.b['80'][0]++;__cov_Fr1SliDBP6G2yCnI4QmeSA.s['273']++;this.target.destroy();}else{__cov_Fr1SliDBP6G2yCnI4QmeSA.b['80'][1]++;}__cov_Fr1SliDBP6G2yCnI4QmeSA.s['274']++;DDM._unregDrag(this);}});__cov_Fr1SliDBP6G2yCnI4QmeSA.s['275']++;Y.namespace('DD');__cov_Fr1SliDBP6G2yCnI4QmeSA.s['276']++;Y.DD.Drag=Drag;},'3.17.2',{'requires':['dd-ddm-base']});
  