text: /*
  YUI 3.18.1 (build f7e7bcb)
  Copyright 2014 Yahoo! Inc. All rights reserved.
  Licensed under the BSD License.
  http://yuilibrary.com/license/
  */
  
  if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
  if (!__coverage__['build/widget-base/widget-base.js']) {
     __coverage__['build/widget-base/widget-base.js'] = {"path":"build/widget-base/widget-base.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},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0,0,0],"21":[0,0],"22":[0,0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,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],"48":[0,0],"49":[0,0],"50":[0,0],"51":[0,0],"52":[0,0],"53":[0,0],"54":[0,0],"55":[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,"52":0,"53":0,"54":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":42}}},"2":{"name":"(anonymous_2)","line":24,"loc":{"start":{"line":24,"column":29},"end":{"line":24,"column":43}}},"3":{"name":"(anonymous_3)","line":56,"loc":{"start":{"line":56,"column":15},"end":{"line":56,"column":26}}},"4":{"name":"Widget","line":87,"loc":{"start":{"line":87,"column":0},"end":{"line":87,"column":24}}},"5":{"name":"(anonymous_5)","line":323,"loc":{"start":{"line":323,"column":22},"end":{"line":323,"column":33}}},"6":{"name":"(anonymous_6)","line":342,"loc":{"start":{"line":342,"column":19},"end":{"line":342,"column":34}}},"7":{"name":"(anonymous_7)","line":377,"loc":{"start":{"line":377,"column":18},"end":{"line":377,"column":30}}},"8":{"name":"(anonymous_8)","line":389,"loc":{"start":{"line":389,"column":17},"end":{"line":389,"column":34}}},"9":{"name":"(anonymous_9)","line":419,"loc":{"start":{"line":419,"column":19},"end":{"line":419,"column":32}}},"10":{"name":"(anonymous_10)","line":431,"loc":{"start":{"line":431,"column":16},"end":{"line":431,"column":27}}},"11":{"name":"(anonymous_11)","line":466,"loc":{"start":{"line":466,"column":13},"end":{"line":466,"column":39}}},"12":{"name":"(anonymous_12)","line":478,"loc":{"start":{"line":478,"column":18},"end":{"line":478,"column":29}}},"13":{"name":"(anonymous_13)","line":534,"loc":{"start":{"line":534,"column":12},"end":{"line":534,"column":33}}},"14":{"name":"(anonymous_14)","line":573,"loc":{"start":{"line":573,"column":19},"end":{"line":573,"column":31}}},"15":{"name":"(anonymous_15)","line":591,"loc":{"start":{"line":591,"column":14},"end":{"line":591,"column":25}}},"16":{"name":"(anonymous_16)","line":644,"loc":{"start":{"line":644,"column":10},"end":{"line":644,"column":21}}},"17":{"name":"(anonymous_17)","line":653,"loc":{"start":{"line":653,"column":10},"end":{"line":653,"column":21}}},"18":{"name":"(anonymous_18)","line":663,"loc":{"start":{"line":663,"column":11},"end":{"line":663,"column":23}}},"19":{"name":"(anonymous_19)","line":673,"loc":{"start":{"line":673,"column":10},"end":{"line":673,"column":22}}},"20":{"name":"(anonymous_20)","line":682,"loc":{"start":{"line":682,"column":12},"end":{"line":682,"column":23}}},"21":{"name":"(anonymous_21)","line":691,"loc":{"start":{"line":691,"column":13},"end":{"line":691,"column":24}}},"22":{"name":"(anonymous_22)","line":700,"loc":{"start":{"line":700,"column":16},"end":{"line":700,"column":33}}},"23":{"name":"(anonymous_23)","line":716,"loc":{"start":{"line":716,"column":16},"end":{"line":716,"column":37}}},"24":{"name":"(anonymous_24)","line":758,"loc":{"start":{"line":758,"column":12},"end":{"line":758,"column":27}}},"25":{"name":"(anonymous_25)","line":770,"loc":{"start":{"line":770,"column":12},"end":{"line":770,"column":27}}},"26":{"name":"(anonymous_26)","line":786,"loc":{"start":{"line":786,"column":17},"end":{"line":786,"column":28}}},"27":{"name":"(anonymous_27)","line":802,"loc":{"start":{"line":802,"column":17},"end":{"line":802,"column":32}}},"28":{"name":"(anonymous_28)","line":819,"loc":{"start":{"line":819,"column":14},"end":{"line":819,"column":55}}},"29":{"name":"(anonymous_29)","line":846,"loc":{"start":{"line":846,"column":15},"end":{"line":846,"column":26}}},"30":{"name":"(anonymous_30)","line":857,"loc":{"start":{"line":857,"column":27},"end":{"line":857,"column":38}}},"31":{"name":"(anonymous_31)","line":882,"loc":{"start":{"line":882,"column":30},"end":{"line":882,"column":42}}},"32":{"name":"(anonymous_32)","line":902,"loc":{"start":{"line":902,"column":13},"end":{"line":902,"column":24}}},"33":{"name":"(anonymous_33)","line":911,"loc":{"start":{"line":911,"column":16},"end":{"line":911,"column":38}}},"34":{"name":"(anonymous_34)","line":921,"loc":{"start":{"line":921,"column":15},"end":{"line":921,"column":26}}},"35":{"name":"(anonymous_35)","line":950,"loc":{"start":{"line":950,"column":17},"end":{"line":950,"column":39}}},"36":{"name":"(anonymous_36)","line":983,"loc":{"start":{"line":983,"column":13},"end":{"line":983,"column":24}}},"37":{"name":"(anonymous_37)","line":994,"loc":{"start":{"line":994,"column":18},"end":{"line":994,"column":32}}},"38":{"name":"(anonymous_38)","line":1006,"loc":{"start":{"line":1006,"column":17},"end":{"line":1006,"column":31}}},"39":{"name":"(anonymous_39)","line":1016,"loc":{"start":{"line":1016,"column":15},"end":{"line":1016,"column":40}}},"40":{"name":"(anonymous_40)","line":1027,"loc":{"start":{"line":1027,"column":19},"end":{"line":1027,"column":33}}},"41":{"name":"(anonymous_41)","line":1038,"loc":{"start":{"line":1038,"column":20},"end":{"line":1038,"column":34}}},"42":{"name":"(anonymous_42)","line":1051,"loc":{"start":{"line":1051,"column":19},"end":{"line":1051,"column":38}}},"43":{"name":"(anonymous_43)","line":1071,"loc":{"start":{"line":1071,"column":20},"end":{"line":1071,"column":36}}},"44":{"name":"(anonymous_44)","line":1088,"loc":{"start":{"line":1088,"column":21},"end":{"line":1088,"column":36}}},"45":{"name":"(anonymous_45)","line":1101,"loc":{"start":{"line":1101,"column":17},"end":{"line":1101,"column":32}}},"46":{"name":"(anonymous_46)","line":1126,"loc":{"start":{"line":1126,"column":14},"end":{"line":1126,"column":25}}},"47":{"name":"(anonymous_47)","line":1170,"loc":{"start":{"line":1170,"column":12},"end":{"line":1170,"column":23}}},"48":{"name":"(anonymous_48)","line":1179,"loc":{"start":{"line":1179,"column":21},"end":{"line":1179,"column":41}}},"49":{"name":"(anonymous_49)","line":1190,"loc":{"start":{"line":1190,"column":18},"end":{"line":1190,"column":34}}},"50":{"name":"(anonymous_50)","line":1206,"loc":{"start":{"line":1206,"column":18},"end":{"line":1206,"column":34}}},"51":{"name":"(anonymous_51)","line":1219,"loc":{"start":{"line":1219,"column":17},"end":{"line":1219,"column":29}}},"52":{"name":"(anonymous_52)","line":1234,"loc":{"start":{"line":1234,"column":17},"end":{"line":1234,"column":35}}},"53":{"name":"(anonymous_53)","line":1246,"loc":{"start":{"line":1246,"column":16},"end":{"line":1246,"column":30}}},"54":{"name":"(anonymous_54)","line":1258,"loc":{"start":{"line":1258,"column":17},"end":{"line":1258,"column":28}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1289,"column":3}},"2":{"start":{"line":16,"column":0},"end":{"line":68,"column":20}},"3":{"start":{"line":25,"column":8},"end":{"line":25,"column":68}},"4":{"start":{"line":87,"column":0},"end":{"line":112,"column":1}},"5":{"start":{"line":90,"column":4},"end":{"line":93,"column":41}},"6":{"start":{"line":95,"column":4},"end":{"line":95,"column":22}},"7":{"start":{"line":96,"column":4},"end":{"line":96,"column":96}},"8":{"start":{"line":99,"column":4},"end":{"line":99,"column":26}},"9":{"start":{"line":101,"column":4},"end":{"line":101,"column":55}},"10":{"start":{"line":103,"column":4},"end":{"line":103,"column":32}},"11":{"start":{"line":105,"column":4},"end":{"line":111,"column":5}},"12":{"start":{"line":107,"column":8},"end":{"line":109,"column":9}},"13":{"start":{"line":108,"column":12},"end":{"line":108,"column":32}},"14":{"start":{"line":110,"column":8},"end":{"line":110,"column":34}},"15":{"start":{"line":125,"column":0},"end":{"line":125,"column":23}},"16":{"start":{"line":136,"column":0},"end":{"line":136,"column":26}},"17":{"start":{"line":146,"column":0},"end":{"line":146,"column":21}},"18":{"start":{"line":157,"column":0},"end":{"line":160,"column":2}},"19":{"start":{"line":171,"column":0},"end":{"line":174,"column":2}},"20":{"start":{"line":184,"column":0},"end":{"line":188,"column":2}},"21":{"start":{"line":197,"column":0},"end":{"line":201,"column":2}},"22":{"start":{"line":214,"column":0},"end":{"line":217,"column":2}},"23":{"start":{"line":227,"column":0},"end":{"line":230,"column":2}},"24":{"start":{"line":239,"column":0},"end":{"line":241,"column":2}},"25":{"start":{"line":249,"column":0},"end":{"line":251,"column":2}},"26":{"start":{"line":260,"column":0},"end":{"line":262,"column":2}},"27":{"start":{"line":271,"column":0},"end":{"line":273,"column":2}},"28":{"start":{"line":281,"column":0},"end":{"line":285,"column":2}},"29":{"start":{"line":294,"column":0},"end":{"line":297,"column":2}},"30":{"start":{"line":308,"column":0},"end":{"line":308,"column":61}},"31":{"start":{"line":323,"column":0},"end":{"line":326,"column":2}},"32":{"start":{"line":325,"column":4},"end":{"line":325,"column":103}},"33":{"start":{"line":328,"column":0},"end":{"line":328,"column":42}},"34":{"start":{"line":342,"column":0},"end":{"line":355,"column":2}},"35":{"start":{"line":343,"column":4},"end":{"line":344,"column":45}},"36":{"start":{"line":346,"column":4},"end":{"line":346,"column":26}},"37":{"start":{"line":347,"column":4},"end":{"line":352,"column":5}},"38":{"start":{"line":348,"column":8},"end":{"line":348,"column":55}},"39":{"start":{"line":349,"column":8},"end":{"line":351,"column":9}},"40":{"start":{"line":350,"column":12},"end":{"line":350,"column":53}},"41":{"start":{"line":354,"column":4},"end":{"line":354,"column":26}},"42":{"start":{"line":357,"column":0},"end":{"line":1273,"column":3}},"43":{"start":{"line":378,"column":8},"end":{"line":378,"column":105}},"44":{"start":{"line":391,"column":8},"end":{"line":391,"column":40}},"45":{"start":{"line":393,"column":8},"end":{"line":395,"column":9}},"46":{"start":{"line":394,"column":12},"end":{"line":394,"column":43}},"47":{"start":{"line":420,"column":8},"end":{"line":420,"column":30}},"48":{"start":{"line":433,"column":8},"end":{"line":434,"column":19}},"49":{"start":{"line":436,"column":8},"end":{"line":444,"column":9}},"50":{"start":{"line":437,"column":12},"end":{"line":437,"column":47}},"51":{"start":{"line":439,"column":12},"end":{"line":441,"column":13}},"52":{"start":{"line":440,"column":16},"end":{"line":440,"column":42}},"53":{"start":{"line":443,"column":12},"end":{"line":443,"column":31}},"54":{"start":{"line":467,"column":8},"end":{"line":467,"column":48}},"55":{"start":{"line":468,"column":8},"end":{"line":468,"column":53}},"56":{"start":{"line":480,"column":8},"end":{"line":483,"column":17}},"57":{"start":{"line":485,"column":8},"end":{"line":485,"column":64}},"58":{"start":{"line":487,"column":8},"end":{"line":489,"column":9}},"59":{"start":{"line":488,"column":12},"end":{"line":488,"column":36}},"60":{"start":{"line":491,"column":8},"end":{"line":491,"column":36}},"61":{"start":{"line":493,"column":8},"end":{"line":498,"column":9}},"62":{"start":{"line":494,"column":12},"end":{"line":496,"column":13}},"63":{"start":{"line":495,"column":16},"end":{"line":495,"column":35}},"64":{"start":{"line":497,"column":12},"end":{"line":497,"column":36}},"65":{"start":{"line":500,"column":8},"end":{"line":505,"column":9}},"66":{"start":{"line":501,"column":12},"end":{"line":503,"column":13}},"67":{"start":{"line":502,"column":16},"end":{"line":502,"column":36}},"68":{"start":{"line":504,"column":12},"end":{"line":504,"column":37}},"69":{"start":{"line":536,"column":8},"end":{"line":561,"column":9}},"70":{"start":{"line":553,"column":12},"end":{"line":558,"column":15}},"71":{"start":{"line":560,"column":12},"end":{"line":560,"column":88}},"72":{"start":{"line":562,"column":8},"end":{"line":562,"column":20}},"73":{"start":{"line":574,"column":8},"end":{"line":574,"column":40}},"74":{"start":{"line":576,"column":8},"end":{"line":576,"column":24}},"75":{"start":{"line":577,"column":8},"end":{"line":577,"column":34}},"76":{"start":{"line":579,"column":8},"end":{"line":579,"column":40}},"77":{"start":{"line":593,"column":8},"end":{"line":593,"column":26}},"78":{"start":{"line":595,"column":8},"end":{"line":595,"column":27}},"79":{"start":{"line":596,"column":8},"end":{"line":596,"column":26}},"80":{"start":{"line":598,"column":8},"end":{"line":598,"column":25}},"81":{"start":{"line":599,"column":8},"end":{"line":599,"column":24}},"82":{"start":{"line":601,"column":8},"end":{"line":601,"column":25}},"83":{"start":{"line":602,"column":8},"end":{"line":602,"column":24}},"84":{"start":{"line":645,"column":8},"end":{"line":645,"column":40}},"85":{"start":{"line":654,"column":8},"end":{"line":654,"column":39}},"86":{"start":{"line":664,"column":8},"end":{"line":664,"column":40}},"87":{"start":{"line":674,"column":8},"end":{"line":674,"column":41}},"88":{"start":{"line":683,"column":8},"end":{"line":683,"column":41}},"89":{"start":{"line":692,"column":8},"end":{"line":692,"column":40}},"90":{"start":{"line":701,"column":8},"end":{"line":701,"column":92}},"91":{"start":{"line":720,"column":8},"end":{"line":726,"column":128}},"92":{"start":{"line":729,"column":8},"end":{"line":731,"column":9}},"93":{"start":{"line":730,"column":12},"end":{"line":730,"column":40}},"94":{"start":{"line":733,"column":8},"end":{"line":739,"column":9}},"95":{"start":{"line":735,"column":12},"end":{"line":737,"column":13}},"96":{"start":{"line":736,"column":16},"end":{"line":736,"column":48}},"97":{"start":{"line":738,"column":12},"end":{"line":738,"column":48}},"98":{"start":{"line":741,"column":8},"end":{"line":741,"column":78}},"99":{"start":{"line":743,"column":8},"end":{"line":747,"column":9}},"100":{"start":{"line":744,"column":12},"end":{"line":744,"column":48}},"101":{"start":{"line":745,"column":15},"end":{"line":747,"column":9}},"102":{"start":{"line":746,"column":12},"end":{"line":746,"column":50}},"103":{"start":{"line":759,"column":8},"end":{"line":759,"column":78}},"104":{"start":{"line":771,"column":8},"end":{"line":771,"column":130}},"105":{"start":{"line":787,"column":8},"end":{"line":788,"column":54}},"106":{"start":{"line":790,"column":8},"end":{"line":790,"column":48}},"107":{"start":{"line":803,"column":8},"end":{"line":803,"column":42}},"108":{"start":{"line":821,"column":8},"end":{"line":821,"column":30}},"109":{"start":{"line":823,"column":8},"end":{"line":831,"column":9}},"110":{"start":{"line":824,"column":12},"end":{"line":824,"column":41}},"111":{"start":{"line":826,"column":12},"end":{"line":830,"column":13}},"112":{"start":{"line":827,"column":16},"end":{"line":827,"column":44}},"113":{"start":{"line":829,"column":16},"end":{"line":829,"column":44}},"114":{"start":{"line":833,"column":8},"end":{"line":835,"column":9}},"115":{"start":{"line":834,"column":12},"end":{"line":834,"column":41}},"116":{"start":{"line":837,"column":8},"end":{"line":837,"column":20}},"117":{"start":{"line":847,"column":8},"end":{"line":847,"column":36}},"118":{"start":{"line":848,"column":8},"end":{"line":848,"column":42}},"119":{"start":{"line":858,"column":8},"end":{"line":861,"column":14}},"120":{"start":{"line":863,"column":8},"end":{"line":863,"column":52}},"121":{"start":{"line":866,"column":8},"end":{"line":869,"column":9}},"122":{"start":{"line":867,"column":12},"end":{"line":867,"column":28}},"123":{"start":{"line":868,"column":12},"end":{"line":868,"column":88}},"124":{"start":{"line":872,"column":8},"end":{"line":872,"column":67}},"125":{"start":{"line":884,"column":8},"end":{"line":887,"column":55}},"126":{"start":{"line":889,"column":8},"end":{"line":890,"column":43}},"127":{"start":{"line":892,"column":8},"end":{"line":893,"column":42}},"128":{"start":{"line":903,"column":8},"end":{"line":903,"column":46}},"129":{"start":{"line":904,"column":8},"end":{"line":904,"column":24}},"130":{"start":{"line":912,"column":8},"end":{"line":912,"column":37}},"131":{"start":{"line":922,"column":8},"end":{"line":923,"column":44}},"132":{"start":{"line":926,"column":8},"end":{"line":931,"column":9}},"133":{"start":{"line":927,"column":12},"end":{"line":927,"column":92}},"134":{"start":{"line":928,"column":12},"end":{"line":930,"column":14}},"135":{"start":{"line":933,"column":8},"end":{"line":933,"column":58}},"136":{"start":{"line":934,"column":8},"end":{"line":934,"column":38}},"137":{"start":{"line":941,"column":8},"end":{"line":943,"column":9}},"138":{"start":{"line":942,"column":12},"end":{"line":942,"column":88}},"139":{"start":{"line":952,"column":8},"end":{"line":955,"column":46}},"140":{"start":{"line":957,"column":8},"end":{"line":970,"column":9}},"141":{"start":{"line":959,"column":12},"end":{"line":959,"column":51}},"142":{"start":{"line":961,"column":12},"end":{"line":964,"column":13}},"143":{"start":{"line":962,"column":16},"end":{"line":962,"column":44}},"144":{"start":{"line":963,"column":16},"end":{"line":963,"column":39}},"145":{"start":{"line":966,"column":12},"end":{"line":969,"column":13}},"146":{"start":{"line":967,"column":16},"end":{"line":967,"column":37}},"147":{"start":{"line":968,"column":16},"end":{"line":968,"column":41}},"148":{"start":{"line":972,"column":8},"end":{"line":974,"column":9}},"149":{"start":{"line":973,"column":12},"end":{"line":973,"column":33}},"150":{"start":{"line":984,"column":8},"end":{"line":984,"column":46}},"151":{"start":{"line":995,"column":8},"end":{"line":995,"column":36}},"152":{"start":{"line":996,"column":8},"end":{"line":996,"column":60}},"153":{"start":{"line":1007,"column":8},"end":{"line":1007,"column":35}},"154":{"start":{"line":1017,"column":8},"end":{"line":1017,"column":96}},"155":{"start":{"line":1028,"column":8},"end":{"line":1028,"column":76}},"156":{"start":{"line":1039,"column":8},"end":{"line":1039,"column":77}},"157":{"start":{"line":1052,"column":9},"end":{"line":1052,"column":50}},"158":{"start":{"line":1053,"column":9},"end":{"line":1053,"column":66}},"159":{"start":{"line":1055,"column":9},"end":{"line":1061,"column":10}},"160":{"start":{"line":1056,"column":12},"end":{"line":1060,"column":13}},"161":{"start":{"line":1057,"column":16},"end":{"line":1057,"column":36}},"162":{"start":{"line":1059,"column":16},"end":{"line":1059,"column":35}},"163":{"start":{"line":1072,"column":8},"end":{"line":1072,"column":49}},"164":{"start":{"line":1074,"column":8},"end":{"line":1078,"column":9}},"165":{"start":{"line":1075,"column":12},"end":{"line":1075,"column":46}},"166":{"start":{"line":1077,"column":12},"end":{"line":1077,"column":51}},"167":{"start":{"line":1089,"column":8},"end":{"line":1091,"column":9}},"168":{"start":{"line":1090,"column":12},"end":{"line":1090,"column":34}},"169":{"start":{"line":1102,"column":8},"end":{"line":1103,"column":42}},"170":{"start":{"line":1105,"column":8},"end":{"line":1110,"column":9}},"171":{"start":{"line":1106,"column":12},"end":{"line":1106,"column":43}},"172":{"start":{"line":1107,"column":12},"end":{"line":1107,"column":56}},"173":{"start":{"line":1109,"column":12},"end":{"line":1109,"column":34}},"174":{"start":{"line":1112,"column":8},"end":{"line":1117,"column":9}},"175":{"start":{"line":1113,"column":12},"end":{"line":1113,"column":36}},"176":{"start":{"line":1114,"column":12},"end":{"line":1114,"column":49}},"177":{"start":{"line":1116,"column":12},"end":{"line":1116,"column":36}},"178":{"start":{"line":1128,"column":8},"end":{"line":1128,"column":52}},"179":{"start":{"line":1171,"column":8},"end":{"line":1171,"column":24}},"180":{"start":{"line":1180,"column":8},"end":{"line":1180,"column":60}},"181":{"start":{"line":1191,"column":8},"end":{"line":1192,"column":29}},"182":{"start":{"line":1194,"column":8},"end":{"line":1196,"column":9}},"183":{"start":{"line":1195,"column":12},"end":{"line":1195,"column":59}},"184":{"start":{"line":1207,"column":8},"end":{"line":1207,"column":38}},"185":{"start":{"line":1208,"column":8},"end":{"line":1211,"column":9}},"186":{"start":{"line":1209,"column":12},"end":{"line":1209,"column":28}},"187":{"start":{"line":1210,"column":12},"end":{"line":1210,"column":63}},"188":{"start":{"line":1220,"column":8},"end":{"line":1222,"column":9}},"189":{"start":{"line":1221,"column":12},"end":{"line":1221,"column":70}},"190":{"start":{"line":1235,"column":8},"end":{"line":1235,"column":51}},"191":{"start":{"line":1247,"column":8},"end":{"line":1247,"column":38}},"192":{"start":{"line":1259,"column":8},"end":{"line":1259,"column":33}},"193":{"start":{"line":1275,"column":0},"end":{"line":1275,"column":18}}},"branchMap":{"1":{"line":96,"type":"binary-expr","locations":[{"start":{"line":96,"column":24},"end":{"line":96,"column":46}},{"start":{"line":96,"column":50},"end":{"line":96,"column":95}}]},"2":{"line":99,"type":"binary-expr","locations":[{"start":{"line":99,"column":13},"end":{"line":99,"column":19}},{"start":{"line":99,"column":23},"end":{"line":99,"column":25}}]},"3":{"line":105,"type":"if","locations":[{"start":{"line":105,"column":4},"end":{"line":105,"column":4}},{"start":{"line":105,"column":4},"end":{"line":105,"column":4}}]},"4":{"line":107,"type":"if","locations":[{"start":{"line":107,"column":8},"end":{"line":107,"column":8}},{"start":{"line":107,"column":8},"end":{"line":107,"column":8}}]},"5":{"line":347,"type":"if","locations":[{"start":{"line":347,"column":4},"end":{"line":347,"column":4}},{"start":{"line":347,"column":4},"end":{"line":347,"column":4}}]},"6":{"line":349,"type":"if","locations":[{"start":{"line":349,"column":8},"end":{"line":349,"column":8}},{"start":{"line":349,"column":8},"end":{"line":349,"column":8}}]},"7":{"line":354,"type":"binary-expr","locations":[{"start":{"line":354,"column":11},"end":{"line":354,"column":17}},{"start":{"line":354,"column":21},"end":{"line":354,"column":25}}]},"8":{"line":393,"type":"if","locations":[{"start":{"line":393,"column":8},"end":{"line":393,"column":8}},{"start":{"line":393,"column":8},"end":{"line":393,"column":8}}]},"9":{"line":436,"type":"if","locations":[{"start":{"line":436,"column":8},"end":{"line":436,"column":8}},{"start":{"line":436,"column":8},"end":{"line":436,"column":8}}]},"10":{"line":439,"type":"if","locations":[{"start":{"line":439,"column":12},"end":{"line":439,"column":12}},{"start":{"line":439,"column":12},"end":{"line":439,"column":12}}]},"11":{"line":485,"type":"binary-expr","locations":[{"start":{"line":485,"column":15},"end":{"line":485,"column":26}},{"start":{"line":485,"column":30},"end":{"line":485,"column":63}}]},"12":{"line":487,"type":"if","locations":[{"start":{"line":487,"column":8},"end":{"line":487,"column":8}},{"start":{"line":487,"column":8},"end":{"line":487,"column":8}}]},"13":{"line":493,"type":"if","locations":[{"start":{"line":493,"column":8},"end":{"line":493,"column":8}},{"start":{"line":493,"column":8},"end":{"line":493,"column":8}}]},"14":{"line":494,"type":"if","locations":[{"start":{"line":494,"column":12},"end":{"line":494,"column":12}},{"start":{"line":494,"column":12},"end":{"line":494,"column":12}}]},"15":{"line":500,"type":"if","locations":[{"start":{"line":500,"column":8},"end":{"line":500,"column":8}},{"start":{"line":500,"column":8},"end":{"line":500,"column":8}}]},"16":{"line":501,"type":"if","locations":[{"start":{"line":501,"column":12},"end":{"line":501,"column":12}},{"start":{"line":501,"column":12},"end":{"line":501,"column":12}}]},"17":{"line":536,"type":"if","locations":[{"start":{"line":536,"column":8},"end":{"line":536,"column":8}},{"start":{"line":536,"column":8},"end":{"line":536,"column":8}}]},"18":{"line":536,"type":"binary-expr","locations":[{"start":{"line":536,"column":12},"end":{"line":536,"column":32}},{"start":{"line":536,"column":36},"end":{"line":536,"column":55}}]},"19":{"line":560,"type":"cond-expr","locations":[{"start":{"line":560,"column":58},"end":{"line":560,"column":78}},{"start":{"line":560,"column":81},"end":{"line":560,"column":85}}]},"20":{"line":726,"type":"binary-expr","locations":[{"start":{"line":726,"column":19},"end":{"line":726,"column":26}},{"start":{"line":726,"column":30},"end":{"line":726,"column":57}},{"start":{"line":726,"column":62},"end":{"line":726,"column":93}},{"start":{"line":726,"column":97},"end":{"line":726,"column":127}}]},"21":{"line":729,"type":"if","locations":[{"start":{"line":729,"column":8},"end":{"line":729,"column":8}},{"start":{"line":729,"column":8},"end":{"line":729,"column":8}}]},"22":{"line":729,"type":"binary-expr","locations":[{"start":{"line":729,"column":12},"end":{"line":729,"column":19}},{"start":{"line":729,"column":23},"end":{"line":729,"column":53}},{"start":{"line":729,"column":57},"end":{"line":729,"column":79}}]},"23":{"line":733,"type":"if","locations":[{"start":{"line":733,"column":8},"end":{"line":733,"column":8}},{"start":{"line":733,"column":8},"end":{"line":733,"column":8}}]},"24":{"line":733,"type":"binary-expr","locations":[{"start":{"line":733,"column":12},"end":{"line":733,"column":63}},{"start":{"line":733,"column":67},"end":{"line":733,"column":101}}]},"25":{"line":735,"type":"if","locations":[{"start":{"line":735,"column":12},"end":{"line":735,"column":12}},{"start":{"line":735,"column":12},"end":{"line":735,"column":12}}]},"26":{"line":741,"type":"binary-expr","locations":[{"start":{"line":741,"column":21},"end":{"line":741,"column":31}},{"start":{"line":741,"column":36},"end":{"line":741,"column":49}},{"start":{"line":741,"column":53},"end":{"line":741,"column":76}}]},"27":{"line":743,"type":"if","locations":[{"start":{"line":743,"column":8},"end":{"line":743,"column":8}},{"start":{"line":743,"column":8},"end":{"line":743,"column":8}}]},"28":{"line":745,"type":"if","locations":[{"start":{"line":745,"column":15},"end":{"line":745,"column":15}},{"start":{"line":745,"column":15},"end":{"line":745,"column":15}}]},"29":{"line":771,"type":"cond-expr","locations":[{"start":{"line":771,"column":50},"end":{"line":771,"column":72}},{"start":{"line":771,"column":75},"end":{"line":771,"column":129}}]},"30":{"line":790,"type":"cond-expr","locations":[{"start":{"line":790,"column":35},"end":{"line":790,"column":39}},{"start":{"line":790,"column":42},"end":{"line":790,"column":46}}]},"31":{"line":790,"type":"binary-expr","locations":[{"start":{"line":790,"column":17},"end":{"line":790,"column":21}},{"start":{"line":790,"column":25},"end":{"line":790,"column":31}}]},"32":{"line":803,"type":"binary-expr","locations":[{"start":{"line":803,"column":15},"end":{"line":803,"column":33}},{"start":{"line":803,"column":37},"end":{"line":803,"column":41}}]},"33":{"line":823,"type":"if","locations":[{"start":{"line":823,"column":8},"end":{"line":823,"column":8}},{"start":{"line":823,"column":8},"end":{"line":823,"column":8}}]},"34":{"line":826,"type":"if","locations":[{"start":{"line":826,"column":12},"end":{"line":826,"column":12}},{"start":{"line":826,"column":12},"end":{"line":826,"column":12}}]},"35":{"line":833,"type":"if","locations":[{"start":{"line":833,"column":8},"end":{"line":833,"column":8}},{"start":{"line":833,"column":8},"end":{"line":833,"column":8}}]},"36":{"line":834,"type":"binary-expr","locations":[{"start":{"line":834,"column":25},"end":{"line":834,"column":27}},{"start":{"line":834,"column":31},"end":{"line":834,"column":39}}]},"37":{"line":868,"type":"binary-expr","locations":[{"start":{"line":868,"column":33},"end":{"line":868,"column":46}},{"start":{"line":868,"column":50},"end":{"line":868,"column":86}}]},"38":{"line":926,"type":"if","locations":[{"start":{"line":926,"column":8},"end":{"line":926,"column":8}},{"start":{"line":926,"column":8},"end":{"line":926,"column":8}}]},"39":{"line":941,"type":"if","locations":[{"start":{"line":941,"column":8},"end":{"line":941,"column":8}},{"start":{"line":941,"column":8},"end":{"line":941,"column":8}}]},"40":{"line":957,"type":"if","locations":[{"start":{"line":957,"column":8},"end":{"line":957,"column":8}},{"start":{"line":957,"column":8},"end":{"line":957,"column":8}}]},"41":{"line":961,"type":"if","locations":[{"start":{"line":961,"column":12},"end":{"line":961,"column":12}},{"start":{"line":961,"column":12},"end":{"line":961,"column":12}}]},"42":{"line":966,"type":"if","locations":[{"start":{"line":966,"column":12},"end":{"line":966,"column":12}},{"start":{"line":966,"column":12},"end":{"line":966,"column":12}}]},"43":{"line":972,"type":"if","locations":[{"start":{"line":972,"column":8},"end":{"line":972,"column":8}},{"start":{"line":972,"column":8},"end":{"line":972,"column":8}}]},"44":{"line":972,"type":"binary-expr","locations":[{"start":{"line":972,"column":12},"end":{"line":972,"column":18}},{"start":{"line":972,"column":22},"end":{"line":972,"column":33}}]},"45":{"line":996,"type":"binary-expr","locations":[{"start":{"line":996,"column":24},"end":{"line":996,"column":41}},{"start":{"line":996,"column":45},"end":{"line":996,"column":57}}]},"46":{"line":1017,"type":"cond-expr","locations":[{"start":{"line":1017,"column":69},"end":{"line":1017,"column":88}},{"start":{"line":1017,"column":91},"end":{"line":1017,"column":94}}]},"47":{"line":1055,"type":"if","locations":[{"start":{"line":1055,"column":9},"end":{"line":1055,"column":9}},{"start":{"line":1055,"column":9},"end":{"line":1055,"column":9}}]},"48":{"line":1056,"type":"if","locations":[{"start":{"line":1056,"column":12},"end":{"line":1056,"column":12}},{"start":{"line":1056,"column":12},"end":{"line":1056,"column":12}}]},"49":{"line":1074,"type":"if","locations":[{"start":{"line":1074,"column":8},"end":{"line":1074,"column":8}},{"start":{"line":1074,"column":8},"end":{"line":1074,"column":8}}]},"50":{"line":1089,"type":"if","locations":[{"start":{"line":1089,"column":8},"end":{"line":1089,"column":8}},{"start":{"line":1089,"column":8},"end":{"line":1089,"column":8}}]},"51":{"line":1105,"type":"if","locations":[{"start":{"line":1105,"column":8},"end":{"line":1105,"column":8}},{"start":{"line":1105,"column":8},"end":{"line":1105,"column":8}}]},"52":{"line":1105,"type":"binary-expr","locations":[{"start":{"line":1105,"column":12},"end":{"line":1105,"column":24}},{"start":{"line":1105,"column":29},"end":{"line":1105,"column":52}}]},"53":{"line":1112,"type":"if","locations":[{"start":{"line":1112,"column":8},"end":{"line":1112,"column":8}},{"start":{"line":1112,"column":8},"end":{"line":1112,"column":8}}]},"54":{"line":1180,"type":"binary-expr","locations":[{"start":{"line":1180,"column":16},"end":{"line":1180,"column":36}},{"start":{"line":1180,"column":40},"end":{"line":1180,"column":58}}]},"55":{"line":1220,"type":"if","locations":[{"start":{"line":1220,"column":8},"end":{"line":1220,"column":8}},{"start":{"line":1220,"column":8},"end":{"line":1220,"column":8}}]}},"code":["(function () { YUI.add('widget-base', function (Y, NAME) {","","/**"," * Provides the base Widget class, with HTML Parser support"," *"," * @module widget"," * @main widget"," */","","/**"," * Provides the base Widget class"," *"," * @module widget"," * @submodule widget-base"," */","var L = Y.Lang,","    Node = Y.Node,","","    ClassNameManager = Y.ClassNameManager,","","    _getClassName = ClassNameManager.getClassName,","    _getWidgetClassName,","","    _toInitialCap = Y.cached(function(str) {","        return str.substring(0, 1).toUpperCase() + str.substring(1);","    }),","","    // K-Weight, IE GC optimizations","    CONTENT = \"content\",","    VISIBLE = \"visible\",","    HIDDEN = \"hidden\",","    DISABLED = \"disabled\",","    FOCUSED = \"focused\",","    WIDTH = \"width\",","    HEIGHT = \"height\",","    BOUNDING_BOX = \"boundingBox\",","    CONTENT_BOX = \"contentBox\",","    PARENT_NODE = \"parentNode\",","    OWNER_DOCUMENT = \"ownerDocument\",","    AUTO = \"auto\",","    SRC_NODE = \"srcNode\",","    BODY = \"body\",","    TAB_INDEX = \"tabIndex\",","    ID = \"id\",","    RENDER = \"render\",","    RENDERED = \"rendered\",","    DESTROYED = \"destroyed\",","    STRINGS = \"strings\",","    DIV = \"<div></div>\",","    CHANGE = \"Change\",","    LOADING = \"loading\",","","    _UISET = \"_uiSet\",","","    EMPTY_STR = \"\",","    EMPTY_FN = function() {},","","    TRUE = true,","    FALSE = false,","","    UI,","    ATTRS = {},","    UI_ATTRS = [VISIBLE, DISABLED, HEIGHT, WIDTH, FOCUSED, TAB_INDEX],","","    WEBKIT = Y.UA.webkit,","","    // Widget nodeid-to-instance map.","    _instances = {};","","/**"," * A base class for widgets, providing:"," * <ul>"," *    <li>The render lifecycle method, in addition to the init and destroy"," *        lifecycle methods provide by Base</li>"," *    <li>Abstract methods to support consistent MVC structure across"," *        widgets: renderer, renderUI, bindUI, syncUI</li>"," *    <li>Support for common widget attributes, such as boundingBox, contentBox, visible,"," *        disabled, focused, strings</li>"," * </ul>"," *"," * @param config {Object} Object literal specifying widget configuration properties."," *"," * @class Widget"," * @constructor"," * @extends Base"," */","function Widget(config) {","","    // kweight","    var widget = this,","        parentNode,","        render,","        constructor = widget.constructor;","","    widget._strs = {};","    widget._cssPrefix = constructor.CSS_PREFIX || _getClassName(constructor.NAME.toLowerCase());","","    // We need a config for HTML_PARSER to work.","    config = config || {};","","    Widget.superclass.constructor.call(widget, config);","","    render = widget.get(RENDER);","","    if (render) {","        // Render could be a node or boolean","        if (render !== TRUE) {","            parentNode = render;","        }","        widget.render(parentNode);","    }","}","","/**"," * Static property provides a string to identify the class."," * <p>"," * Currently used to apply class identifiers to the bounding box"," * and to classify events fired by the widget."," * </p>"," *"," * @property NAME"," * @type String"," * @static"," */","Widget.NAME = \"widget\";","","/**"," * Constant used to identify state changes originating from"," * the DOM (as opposed to the JavaScript model)."," *"," * @property UI_SRC"," * @type String"," * @static"," * @final"," */","UI = Widget.UI_SRC = \"ui\";","","/**"," * Static property used to define the default attribute"," * configuration for the Widget."," *"," * @property ATTRS"," * @type Object"," * @static"," */","Widget.ATTRS = ATTRS;","","// Trying to optimize kweight by setting up attrs this way saves about 0.4K min'd","","/**"," * @attribute id"," * @writeOnce"," * @default Generated using guid()"," * @type String"," */","","ATTRS[ID] = {","    valueFn: \"_guid\",","    writeOnce: TRUE","};","","/**"," * Flag indicating whether or not this Widget"," * has been through the render lifecycle phase."," *"," * @attribute rendered"," * @readOnly"," * @default false"," * @type boolean"," */","ATTRS[RENDERED] = {","    value:FALSE,","    readOnly: TRUE","};","","/**"," * @attribute boundingBox"," * @description The outermost DOM node for the Widget, used for sizing and positioning"," * of a Widget as well as a containing element for any decorator elements used"," * for skinning."," * @type String | Node"," * @writeOnce"," */","ATTRS[BOUNDING_BOX] = {","    valueFn:\"_defaultBB\",","    setter: \"_setBB\",","    writeOnce: TRUE","};","","/**"," * @attribute contentBox"," * @description A DOM node that is a direct descendant of a Widget's bounding box that"," * houses its content."," * @type String | Node"," * @writeOnce"," */","ATTRS[CONTENT_BOX] = {","    valueFn:\"_defaultCB\",","    setter: \"_setCB\",","    writeOnce: TRUE","};","","/**"," * @attribute tabIndex"," * @description Number (between -32767 to 32767) indicating the widget's"," * position in the default tab flow.  The value is used to set the"," * \"tabIndex\" attribute on the widget's bounding box.  Negative values allow"," * the widget to receive DOM focus programmatically (by calling the focus"," * method), while being removed from the default tab flow.  A value of"," * null removes the \"tabIndex\" attribute from the widget's bounding box."," * @type Number"," * @default null"," */","ATTRS[TAB_INDEX] = {","    value: null,","    validator: \"_validTabIndex\"","};","","/**"," * @attribute focused"," * @description Boolean indicating if the Widget, or one of its descendants,"," * has focus."," * @readOnly"," * @default false"," * @type boolean"," */","ATTRS[FOCUSED] = {","    value: FALSE,","    readOnly:TRUE","};","","/**"," * @attribute disabled"," * @description Boolean indicating if the Widget should be disabled. The disabled implementation"," * is left to the specific classes extending widget."," * @default false"," * @type boolean"," */","ATTRS[DISABLED] = {","    value: FALSE","};","","/**"," * @attribute visible"," * @description Boolean indicating whether or not the Widget is visible."," * @default TRUE"," * @type boolean"," */","ATTRS[VISIBLE] = {","    value: TRUE","};","","/**"," * @attribute height"," * @description String with units, or number, representing the height of the Widget. If a number is provided,"," * the default unit, defined by the Widgets DEF_UNIT, property is used."," * @default EMPTY_STR"," * @type {String | Number}"," */","ATTRS[HEIGHT] = {","    value: EMPTY_STR","};","","/**"," * @attribute width"," * @description String with units, or number, representing the width of the Widget. If a number is provided,"," * the default unit, defined by the Widgets DEF_UNIT, property is used."," * @default EMPTY_STR"," * @type {String | Number}"," */","ATTRS[WIDTH] = {","    value: EMPTY_STR","};","","/**"," * @attribute strings"," * @description Collection of strings used to label elements of the Widget's UI."," * @default null"," * @type Object"," */","ATTRS[STRINGS] = {","    value: {},","    setter: \"_strSetter\",","    getter: \"_strGetter\"","};","","/**"," * Whether or not to render the widget automatically after init, and optionally, to which parent node."," *"," * @attribute render"," * @type boolean | Node"," * @writeOnce"," */","ATTRS[RENDER] = {","    value:FALSE,","    writeOnce:TRUE","};","","/**"," * The css prefix which the static Widget.getClassName method should use when constructing class names"," *"," * @property CSS_PREFIX"," * @type String"," * @default Widget.NAME.toLowerCase()"," * @private"," * @static"," */","Widget.CSS_PREFIX = _getClassName(Widget.NAME.toLowerCase());","","/**"," * Generate a standard prefixed classname for the Widget, prefixed by the default prefix defined"," * by the <code>Y.config.classNamePrefix</code> attribute used by <code>ClassNameManager</code> and"," * <code>Widget.NAME.toLowerCase()</code> (e.g. \"yui-widget-xxxxx-yyyyy\", based on default values for"," * the prefix and widget class name)."," * <p>"," * The instance based version of this method can be used to generate standard prefixed classnames,"," * based on the instances NAME, as opposed to Widget.NAME. This method should be used when you"," * need to use a constant class name across different types instances."," * </p>"," * @method getClassName"," * @param {String*} args* 0..n strings which should be concatenated, using the default separator defined by ClassNameManager, to create the class name"," */","Widget.getClassName = function() {","    // arguments needs to be array'fied to concat","    return _getClassName.apply(ClassNameManager, [Widget.CSS_PREFIX].concat(Y.Array(arguments), true));","};","","_getWidgetClassName = Widget.getClassName;","","/**"," * Returns the widget instance whose bounding box contains, or is, the given node."," * <p>"," * In the case of nested widgets, the nearest bounding box ancestor is used to"," * return the widget instance."," * </p>"," * @method getByNode"," * @static"," * @param node {Node | String} The node for which to return a Widget instance. If a selector"," * string is passed in, which selects more than one node, the first node found is used."," * @return {Widget} Widget instance, or null if not found."," */","Widget.getByNode = function(node) {","    var widget,","        widgetMarker = _getWidgetClassName();","","    node = Node.one(node);","    if (node) {","        node = node.ancestor(\".\" + widgetMarker, true);","        if (node) {","            widget = _instances[Y.stamp(node, true)];","        }","    }","","    return widget || null;","};","","Y.extend(Widget, Y.Base, {","","    /**","     * Returns a class name prefixed with the the value of the","     * <code>YUI.config.classNamePrefix</code> attribute + the instances <code>NAME</code> property.","     * Uses <code>YUI.config.classNameDelimiter</code> attribute to delimit the provided strings.","     * e.g.","     * <code>","     * <pre>","     *    // returns \"yui-slider-foo-bar\", for a slider instance","     *    var scn = slider.getClassName('foo','bar');","     *","     *    // returns \"yui-overlay-foo-bar\", for an overlay instance","     *    var ocn = overlay.getClassName('foo','bar');","     * </pre>","     * </code>","     *","     * @method getClassName","     * @param {String} [classnames*] One or more classname bits to be joined and prefixed","     */","    getClassName: function () {","        return _getClassName.apply(ClassNameManager, [this._cssPrefix].concat(Y.Array(arguments), true));","    },","","    /**","     * Initializer lifecycle implementation for the Widget class. Registers the","     * widget instance, and runs through the Widget's HTML_PARSER definition.","     *","     * @method initializer","     * @protected","     * @param  config {Object} Configuration object literal for the widget","     */","    initializer: function(config) {","","        var bb = this.get(BOUNDING_BOX);","","        if (bb instanceof Node) {","            this._mapInstance(Y.stamp(bb));","        }","","        /**","         * Notification event, which widget implementations can fire, when","         * they change the content of the widget. This event has no default","         * behavior and cannot be prevented, so the \"on\" or \"after\"","         * moments are effectively equivalent (with on listeners being invoked before","         * after listeners).","         *","         * @event widget:contentUpdate","         * @preventable false","         * @param {EventFacade} e The Event Facade","         */","    },","","    /**","     * Utility method used to add an entry to the boundingBox id to instance map.","     *","     * This method can be used to populate the instance with lazily created boundingBox Node references.","     *","     * @method _mapInstance","     * @param {String} The boundingBox id","     * @protected","     */","    _mapInstance : function(id) {","        _instances[id] = this;","    },","","    /**","     * Destructor lifecycle implementation for the Widget class. Purges events attached","     * to the bounding box and content box, removes them from the DOM and removes","     * the Widget from the list of registered widgets.","     *","     * @method destructor","     * @protected","     */","    destructor: function() {","","        var boundingBox = this.get(BOUNDING_BOX),","            bbGuid;","","        if (boundingBox instanceof Node) {","            bbGuid = Y.stamp(boundingBox,true);","","            if (bbGuid in _instances) {","                delete _instances[bbGuid];","            }","","            this._destroyBox();","        }","    },","","    /**","     * <p>","     * Destroy lifecycle method. Fires the destroy","     * event, prior to invoking destructors for the","     * class hierarchy.","     *","     * Overrides Base's implementation, to support arguments to destroy","     * </p>","     * <p>","     * Subscribers to the destroy","     * event can invoke preventDefault on the event object, to prevent destruction","     * from proceeding.","     * </p>","     * @method destroy","     * @param destroyAllNodes {Boolean} If true, all nodes contained within the Widget are","     * removed and destroyed. Defaults to false due to potentially high run-time cost.","     * @return {Widget} A reference to this object","     * @chainable","     */","    destroy: function(destroyAllNodes) {","        this._destroyAllNodes = destroyAllNodes;","        return Widget.superclass.destroy.apply(this);","    },","","    /**","     * Removes and destroys the widgets rendered boundingBox, contentBox,","     * and detaches bound UI events.","     *","     * @method _destroyBox","     * @protected","     */","    _destroyBox : function() {","","        var boundingBox = this.get(BOUNDING_BOX),","            contentBox = this.get(CONTENT_BOX),","            deep = this._destroyAllNodes,","            same;","","        same = boundingBox && boundingBox.compareTo(contentBox);","","        if (this.UI_EVENTS) {","            this._destroyUIEvents();","        }","","        this._unbindUI(boundingBox);","","        if (contentBox) {","            if (deep) {","                contentBox.empty();","            }","            contentBox.remove(TRUE);","        }","","        if (!same) {","            if (deep) {","                boundingBox.empty();","            }","            boundingBox.remove(TRUE);","        }","    },","","    /**","     * Establishes the initial DOM for the widget. Invoking this","     * method will lead to the creating of all DOM elements for","     * the widget (or the manipulation of existing DOM elements","     * for the progressive enhancement use case).","     * <p>","     * This method should only be invoked once for an initialized","     * widget.","     * </p>","     * <p>","     * It delegates to the widget specific renderer method to do","     * the actual work.","     * </p>","     *","     * @method render","     * @chainable","     * @final","     * @param  parentNode {Object | String} Optional. The Node under which the","     * Widget is to be rendered. This can be a Node instance or a CSS selector string.","     * <p>","     * If the selector string returns more than one Node, the first node will be used","     * as the parentNode. NOTE: This argument is required if both the boundingBox and contentBox","     * are not currently in the document. If it's not provided, the Widget will be rendered","     * to the body of the current document in this case.","     * </p>","     */","    render: function(parentNode) {","","        if (!this.get(DESTROYED) && !this.get(RENDERED)) {","             /**","              * Lifecycle event for the render phase, fired prior to rendering the UI","              * for the widget (prior to invoking the widget's renderer method).","              * <p>","              * Subscribers to the \"on\" moment of this event, will be notified","              * before the widget is rendered.","              * </p>","              * <p>","              * Subscribers to the \"after\" moment of this event, will be notified","              * after rendering is complete.","              * </p>","              *","              * @event render","              * @preventable _defRenderFn","              * @param {EventFacade} e The Event Facade","              */","            this.publish(RENDER, {","                queuable:FALSE,","                fireOnce:TRUE,","                defaultTargetOnly:TRUE,","                defaultFn: this._defRenderFn","            });","","            this.fire(RENDER, {parentNode: (parentNode) ? Node.one(parentNode) : null});","        }","        return this;","    },","","    /**","     * Default render handler","     *","     * @method _defRenderFn","     * @protected","     * @param {EventFacade} e The Event object","     * @param {Node} parentNode The parent node to render to, if passed in to the <code>render</code> method","     */","    _defRenderFn : function(e) {","        this._parentNode = e.parentNode;","","        this.renderer();","        this._set(RENDERED, TRUE);","","        this._removeLoadingClassNames();","    },","","    /**","     * Creates DOM (or manipulates DOM for progressive enhancement)","     * This method is invoked by render() and is not chained","     * automatically for the class hierarchy (unlike initializer, destructor)","     * so it should be chained manually for subclasses if required.","     *","     * @method renderer","     * @protected","     */","    renderer: function() {","        // kweight","        var widget = this;","","        widget._renderUI();","        widget.renderUI();","","        widget._bindUI();","        widget.bindUI();","","        widget._syncUI();","        widget.syncUI();","    },","","    /**","     * Configures/Sets up listeners to bind Widget State to UI/DOM","     *","     * This method is not called by framework and is not chained","     * automatically for the class hierarchy.","     *","     * @method bindUI","     * @protected","     */","    bindUI: EMPTY_FN,","","    /**","     * Adds nodes to the DOM","     *","     * This method is not called by framework and is not chained","     * automatically for the class hierarchy.","     *","     * @method renderUI","     * @protected","     */","    renderUI: EMPTY_FN,","","    /**","     * Refreshes the rendered UI, based on Widget State","     *","     * This method is not called by framework and is not chained","     * automatically for the class hierarchy.","     *","     * @method syncUI","     * @protected","     *","     */","    syncUI: EMPTY_FN,","","    /**","     * @method hide","     * @description Hides the Widget by setting the \"visible\" attribute to \"false\".","     * @chainable","     */","    hide: function() {","        return this.set(VISIBLE, FALSE);","    },","","    /**","     * @method show","     * @description Shows the Widget by setting the \"visible\" attribute to \"true\".","     * @chainable","     */","    show: function() {","        return this.set(VISIBLE, TRUE);","    },","","    /**","     * @method focus","     * @description Causes the Widget to receive the focus by setting the \"focused\"","     * attribute to \"true\".","     * @chainable","     */","    focus: function () {","        return this._set(FOCUSED, TRUE);","    },","","    /**","     * @method blur","     * @description Causes the Widget to lose focus by setting the \"focused\" attribute","     * to \"false\"","     * @chainable","     */","    blur: function () {","        return this._set(FOCUSED, FALSE);","    },","","    /**","     * @method enable","     * @description Set the Widget's \"disabled\" attribute to \"false\".","     * @chainable","     */","    enable: function() {","        return this.set(DISABLED, FALSE);","    },","","    /**","     * @method disable","     * @description Set the Widget's \"disabled\" attribute to \"true\".","     * @chainable","     */","    disable: function() {","        return this.set(DISABLED, TRUE);","    },","","    /**","     * @method _uiSizeCB","     * @protected","     * @param {boolean} expand","     */","    _uiSizeCB : function(expand) {","        this.get(CONTENT_BOX).toggleClass(_getWidgetClassName(CONTENT, \"expanded\"), expand);","    },","","    /**","     * Helper method to collect the boundingBox and contentBox and append to the provided parentNode, if not","     * already a child. The owner document of the boundingBox, or the owner document of the contentBox will be used","     * as the document into which the Widget is rendered if a parentNode is node is not provided. If both the boundingBox and","     * the contentBox are not currently in the document, and no parentNode is provided, the widget will be rendered","     * to the current document's body.","     *","     * @method _renderBox","     * @private","     * @param {Node} parentNode The parentNode to render the widget to. If not provided, and both the boundingBox and","     * the contentBox are not currently in the document, the widget will be rendered to the current document's body.","     */","    _renderBox: function(parentNode) {","","        // TODO: Performance Optimization [ More effective algo to reduce Node refs, compares, replaces? ]","","        var widget = this, // kweight","            contentBox = widget.get(CONTENT_BOX),","            boundingBox = widget.get(BOUNDING_BOX),","            srcNode = widget.get(SRC_NODE),","            defParentNode = widget.DEF_PARENT_NODE,","","            doc = (srcNode && srcNode.get(OWNER_DOCUMENT)) || boundingBox.get(OWNER_DOCUMENT) || contentBox.get(OWNER_DOCUMENT);","","        // If srcNode (assume it's always in doc), have contentBox take its place (widget render responsible for re-use of srcNode contents)","        if (srcNode && !srcNode.compareTo(contentBox) && !contentBox.inDoc(doc)) {","            srcNode.replace(contentBox);","        }","","        if (!boundingBox.compareTo(contentBox.get(PARENT_NODE)) && !boundingBox.compareTo(contentBox)) {","            // If contentBox box is already in the document, have boundingBox box take it's place","            if (contentBox.inDoc(doc)) {","                contentBox.replace(boundingBox);","            }","            boundingBox.appendChild(contentBox);","        }","","        parentNode = parentNode || (defParentNode && Node.one(defParentNode));","","        if (parentNode) {","            parentNode.appendChild(boundingBox);","        } else if (!boundingBox.inDoc(doc)) {","            Node.one(BODY).insert(boundingBox, 0);","        }","    },","","    /**","     * Setter for the boundingBox attribute","     *","     * @method _setBB","     * @private","     * @param {Node|String} node","     * @return Node","     */","    _setBB: function(node) {","        return this._setBox(this.get(ID), node, this.BOUNDING_TEMPLATE, true);","    },","","    /**","     * Setter for the contentBox attribute","     *","     * @method _setCB","     * @private","     * @param {Node|String} node","     * @return Node","     */","    _setCB: function(node) {","        return (this.CONTENT_TEMPLATE === null) ? this.get(BOUNDING_BOX) : this._setBox(null, node, this.CONTENT_TEMPLATE, false);","    },","","    /**","     * Returns the default value for the boundingBox attribute.","     *","     * For the Widget class, this will most commonly be null (resulting in a new","     * boundingBox node instance being created), unless a srcNode was provided","     * and CONTENT_TEMPLATE is null, in which case it will be srcNode.","     * This behavior was introduced in 3.18.1 to accomodate single-box widgets","     * whose BB & CB both point to srcNode (e.g. Y.Button).","     *","     * @method _defaultBB","     * @protected","     */","    _defaultBB : function() {","        var node = this.get(SRC_NODE),","            nullCT = (this.CONTENT_TEMPLATE === null);","","        return ((node && nullCT) ? node : null);","    },","","    /**","     * Returns the default value for the contentBox attribute.","     *","     * For the Widget class, this will be the srcNode if provided, otherwise null (resulting in","     * a new contentBox node instance being created)","     *","     * @method _defaultCB","     * @protected","     */","    _defaultCB : function(node) {","        return this.get(SRC_NODE) || null;","    },","","    /**","     * Helper method to set the bounding/content box, or create it from","     * the provided template if not found.","     *","     * @method _setBox","     * @private","     *","     * @param {String} id The node's id attribute","     * @param {Node|String} node The node reference","     * @param {String} template HTML string template for the node","     * @param {boolean} isBounding true if this is the boundingBox, false if it's the contentBox","     * @return {Node} The node","     */","    _setBox : function(id, node, template, isBounding) {","","        node = Node.one(node);","","        if (!node) {","            node = Node.create(template);","","            if (isBounding) {","                this._bbFromTemplate = true;","            } else {","                this._cbFromTemplate = true;","            }","        }","","        if (!node.get(ID)) {","            node.set(ID, id || Y.guid());","        }","","        return node;","    },","","    /**","     * Initializes the UI state for the Widget's bounding/content boxes.","     *","     * @method _renderUI","     * @protected","     */","    _renderUI: function() {","        this._renderBoxClassNames();","        this._renderBox(this._parentNode);","    },","","    /**","     * Applies standard class names to the boundingBox and contentBox","     *","     * @method _renderBoxClassNames","     * @protected","     */","    _renderBoxClassNames : function() {","        var classes = this._getClasses(),","            cl,","            boundingBox = this.get(BOUNDING_BOX),","            i;","","        boundingBox.addClass(_getWidgetClassName());","","        // Start from Widget Sub Class","        for (i = classes.length-3; i >= 0; i--) {","            cl = classes[i];","            boundingBox.addClass(cl.CSS_PREFIX || _getClassName(cl.NAME.toLowerCase()));","        }","","        // Use instance based name for content box","        this.get(CONTENT_BOX).addClass(this.getClassName(CONTENT));","    },","","    /**","     * Removes class names representative of the widget's loading state from","     * the boundingBox.","     *","     * @method _removeLoadingClassNames","     * @protected","     */","    _removeLoadingClassNames: function () {","","        var boundingBox = this.get(BOUNDING_BOX),","            contentBox = this.get(CONTENT_BOX),","            instClass = this.getClassName(LOADING),","            widgetClass = _getWidgetClassName(LOADING);","","        boundingBox.removeClass(widgetClass)","                   .removeClass(instClass);","","        contentBox.removeClass(widgetClass)","                  .removeClass(instClass);","    },","","    /**","     * Sets up DOM and CustomEvent listeners for the widget.","     *","     * @method _bindUI","     * @protected","     */","    _bindUI: function() {","        this._bindAttrUI(this._UI_ATTRS.BIND);","        this._bindDOM();","    },","","    /**","     * @method _unbindUI","     * @protected","     */","    _unbindUI : function(boundingBox) {","        this._unbindDOM(boundingBox);","    },","","    /**","     * Sets up DOM listeners, on elements rendered by the widget.","     *","     * @method _bindDOM","     * @protected","     */","    _bindDOM : function() {","        var oDocument = this.get(BOUNDING_BOX).get(OWNER_DOCUMENT),","            focusHandle = Widget._hDocFocus;","","        // Shared listener across all Widgets.","        if (!focusHandle) {","            focusHandle = Widget._hDocFocus = oDocument.on(\"focus\", this._onDocFocus, this);","            focusHandle.listeners = {","                count: 0","            };","        }","","        focusHandle.listeners[Y.stamp(this, true)] = true;","        focusHandle.listeners.count++;","","        //\tFix for Webkit:","        //\tDocument doesn't receive focus in Webkit when the user mouses","        //\tdown on it, so the \"focused\" attribute won't get set to the","        //\tcorrect value. Keeping this instance based for now, potential better performance.","        //  Otherwise we'll end up looking up widgets from the DOM on every mousedown.","        if (WEBKIT){","            this._hDocMouseDown = oDocument.on(\"mousedown\", this._onDocMouseDown, this);","        }","    },","","    /**","     * @method _unbindDOM","     * @protected","     */","    _unbindDOM : function(boundingBox) {","","        var focusHandle = Widget._hDocFocus,","            yuid = Y.stamp(this, true),","            focusListeners,","            mouseHandle = this._hDocMouseDown;","","        if (focusHandle) {","","            focusListeners = focusHandle.listeners;","","            if (focusListeners[yuid]) {","                delete focusListeners[yuid];","                focusListeners.count--;","            }","","            if (focusListeners.count === 0) {","                focusHandle.detach();","                Widget._hDocFocus = null;","            }","        }","","        if (WEBKIT && mouseHandle) {","            mouseHandle.detach();","        }","    },","","    /**","     * Updates the widget UI to reflect the attribute state.","     *","     * @method _syncUI","     * @protected","     */","    _syncUI: function() {","        this._syncAttrUI(this._UI_ATTRS.SYNC);","    },","","    /**","     * Sets the height on the widget's bounding box element","     *","     * @method _uiSetHeight","     * @protected","     * @param {String | Number} val","     */","    _uiSetHeight: function(val) {","        this._uiSetDim(HEIGHT, val);","        this._uiSizeCB((val !== EMPTY_STR && val !== AUTO));","    },","","    /**","     * Sets the width on the widget's bounding box element","     *","     * @method _uiSetWidth","     * @protected","     * @param {String | Number} val","     */","    _uiSetWidth: function(val) {","        this._uiSetDim(WIDTH, val);","    },","","    /**","     * @method _uiSetDim","     * @private","     * @param {String} dim The dimension - \"width\" or \"height\"","     * @param {Number | String} val The value to set","     */","    _uiSetDim: function(dimension, val) {","        this.get(BOUNDING_BOX).setStyle(dimension, L.isNumber(val) ? val + this.DEF_UNIT : val);","    },","","    /**","     * Sets the visible state for the UI","     *","     * @method _uiSetVisible","     * @protected","     * @param {boolean} val","     */","    _uiSetVisible: function(val) {","        this.get(BOUNDING_BOX).toggleClass(this.getClassName(HIDDEN), !val);","    },","","    /**","     * Sets the disabled state for the UI","     *","     * @method _uiSetDisabled","     * @protected","     * @param {boolean} val","     */","    _uiSetDisabled: function(val) {","        this.get(BOUNDING_BOX).toggleClass(this.getClassName(DISABLED), val);","    },","","    /**","     * Sets the focused state for the UI","     *","     * @method _uiSetFocused","     * @protected","     * @param {boolean} val","     * @param {string} src String representing the source that triggered an update to","     * the UI.","     */","    _uiSetFocused: function(val, src) {","         var boundingBox = this.get(BOUNDING_BOX);","         boundingBox.toggleClass(this.getClassName(FOCUSED), val);","","         if (src !== UI) {","            if (val) {","                boundingBox.focus();","            } else {","                boundingBox.blur();","            }","         }","    },","","    /**","     * Set the tabIndex on the widget's rendered UI","     *","     * @method _uiSetTabIndex","     * @protected","     * @param Number","     */","    _uiSetTabIndex: function(index) {","        var boundingBox = this.get(BOUNDING_BOX);","","        if (L.isNumber(index)) {","            boundingBox.set(TAB_INDEX, index);","        } else {","            boundingBox.removeAttribute(TAB_INDEX);","        }","    },","","    /**","     * @method _onDocMouseDown","     * @description \"mousedown\" event handler for the owner document of the","     * widget's bounding box.","     * @protected","     * @param {EventFacade} evt The event facade for the DOM focus event","     */","    _onDocMouseDown: function (evt) {","        if (this._domFocus) {","            this._onDocFocus(evt);","        }","    },","","    /**","     * DOM focus event handler, used to sync the state of the Widget with the DOM","     *","     * @method _onDocFocus","     * @protected","     * @param {EventFacade} evt The event facade for the DOM focus event","     */","    _onDocFocus: function (evt) {","        var widget = Widget.getByNode(evt.target),","            activeWidget = Widget._active;","","        if (activeWidget && (activeWidget !== widget)) {","            activeWidget._domFocus = false;","            activeWidget._set(FOCUSED, false, {src:UI});","","            Widget._active = null;","        }","","        if (widget) {","            widget._domFocus = true;","            widget._set(FOCUSED, true, {src:UI});","","            Widget._active = widget;","        }","    },","","    /**","     * Generic toString implementation for all widgets.","     *","     * @method toString","     * @return {String} The default string value for the widget [ displays the NAME of the instance, and the unique id ]","     */","    toString: function() {","        // Using deprecated name prop for kweight squeeze.","        return this.name + \"[\" + this.get(ID) + \"]\";","    },","","    /**","     * Default unit to use for dimension values","     *","     * @property DEF_UNIT","     * @type String","     */","    DEF_UNIT : \"px\",","","    /**","     * Default node to render the bounding box to. If not set,","     * will default to the current document body.","     *","     * @property DEF_PARENT_NODE","     * @type String | Node","     */","    DEF_PARENT_NODE : null,","","    /**","     * Property defining the markup template for content box. If your Widget doesn't","     * need the dual boundingBox/contentBox structure, set CONTENT_TEMPLATE to null,","     * and contentBox and boundingBox will both point to the same Node.","     *","     * @property CONTENT_TEMPLATE","     * @type String","     */","    CONTENT_TEMPLATE : DIV,","","    /**","     * Property defining the markup template for bounding box.","     *","     * @property BOUNDING_TEMPLATE","     * @type String","     */","    BOUNDING_TEMPLATE : DIV,","","    /**","     * @method _guid","     * @protected","     */","    _guid : function() {","        return Y.guid();","    },","","    /**","     * @method _validTabIndex","     * @protected","     * @param {Number} tabIndex","     */","    _validTabIndex : function (tabIndex) {","        return (L.isNumber(tabIndex) || L.isNull(tabIndex));","    },","","    /**","     * Binds after listeners for the list of attributes provided","     *","     * @method _bindAttrUI","     * @private","     * @param {Array} attrs","     */","    _bindAttrUI : function(attrs) {","        var i,","            l = attrs.length;","","        for (i = 0; i < l; i++) {","            this.after(attrs[i] + CHANGE, this._setAttrUI);","        }","    },","","    /**","     * Invokes the _uiSet&#61;ATTR NAME&#62; method for the list of attributes provided","     *","     * @method _syncAttrUI","     * @private","     * @param {Array} attrs","     */","    _syncAttrUI : function(attrs) {","        var i, l = attrs.length, attr;","        for (i = 0; i < l; i++) {","            attr = attrs[i];","            this[_UISET + _toInitialCap(attr)](this.get(attr));","        }","    },","","    /**","     * @method _setAttrUI","     * @private","     * @param {EventFacade} e","     */","    _setAttrUI : function(e) {","        if (e.target === this) {","            this[_UISET + _toInitialCap(e.attrName)](e.newVal, e.src);","        }","    },","","    /**","     * The default setter for the strings attribute. Merges partial sets","     * into the full string set, to allow users to partial sets of strings","     *","     * @method _strSetter","     * @protected","     * @param {Object} strings","     * @return {String} The full set of strings to set","     */","    _strSetter : function(strings) {","        return Y.merge(this.get(STRINGS), strings);","    },","","    /**","     * Helper method to get a specific string value","     *","     * @deprecated Used by deprecated WidgetLocale implementations.","     * @method getString","     * @param {String} key","     * @return {String} The string","     */","    getString : function(key) {","        return this.get(STRINGS)[key];","    },","","    /**","     * Helper method to get the complete set of strings for the widget","     *","     * @deprecated  Used by deprecated WidgetLocale implementations.","     * @method getStrings","     * @param {String} key","     * @return {String} The strings","     */","    getStrings : function() {","        return this.get(STRINGS);","    },","","    /**","     * The lists of UI attributes to bind and sync for widget's _bindUI and _syncUI implementations","     *","     * @property _UI_ATTRS","     * @type Object","     * @private","     */","    _UI_ATTRS : {","        BIND: UI_ATTRS,","        SYNC: UI_ATTRS","    }","});","","Y.Widget = Widget;","","","}, '3.18.1', {","    \"requires\": [","        \"attribute\",","        \"base-base\",","        \"base-pluginhost\",","        \"classnamemanager\",","        \"event-focus\",","        \"node-base\",","        \"node-style\"","    ],","    \"skinnable\": true","});","","}());"]};
  }
  var __cov_MzPaF1e83TZvr_uWaY6g9A = __coverage__['build/widget-base/widget-base.js'];
  __cov_MzPaF1e83TZvr_uWaY6g9A.s['1']++;YUI.add('widget-base',function(Y,NAME){__cov_MzPaF1e83TZvr_uWaY6g9A.f['1']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['2']++;var L=Y.Lang,Node=Y.Node,ClassNameManager=Y.ClassNameManager,_getClassName=ClassNameManager.getClassName,_getWidgetClassName,_toInitialCap=Y.cached(function(str){__cov_MzPaF1e83TZvr_uWaY6g9A.f['2']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['3']++;return str.substring(0,1).toUpperCase()+str.substring(1);}),CONTENT='content',VISIBLE='visible',HIDDEN='hidden',DISABLED='disabled',FOCUSED='focused',WIDTH='width',HEIGHT='height',BOUNDING_BOX='boundingBox',CONTENT_BOX='contentBox',PARENT_NODE='parentNode',OWNER_DOCUMENT='ownerDocument',AUTO='auto',SRC_NODE='srcNode',BODY='body',TAB_INDEX='tabIndex',ID='id',RENDER='render',RENDERED='rendered',DESTROYED='destroyed',STRINGS='strings',DIV='<div></div>',CHANGE='Change',LOADING='loading',_UISET='_uiSet',EMPTY_STR='',EMPTY_FN=function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['3']++;},TRUE=true,FALSE=false,UI,ATTRS={},UI_ATTRS=[VISIBLE,DISABLED,HEIGHT,WIDTH,FOCUSED,TAB_INDEX],WEBKIT=Y.UA.webkit,_instances={};__cov_MzPaF1e83TZvr_uWaY6g9A.s['4']++;function Widget(config){__cov_MzPaF1e83TZvr_uWaY6g9A.f['4']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['5']++;var widget=this,parentNode,render,constructor=widget.constructor;__cov_MzPaF1e83TZvr_uWaY6g9A.s['6']++;widget._strs={};__cov_MzPaF1e83TZvr_uWaY6g9A.s['7']++;widget._cssPrefix=(__cov_MzPaF1e83TZvr_uWaY6g9A.b['1'][0]++,constructor.CSS_PREFIX)||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['1'][1]++,_getClassName(constructor.NAME.toLowerCase()));__cov_MzPaF1e83TZvr_uWaY6g9A.s['8']++;config=(__cov_MzPaF1e83TZvr_uWaY6g9A.b['2'][0]++,config)||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['2'][1]++,{});__cov_MzPaF1e83TZvr_uWaY6g9A.s['9']++;Widget.superclass.constructor.call(widget,config);__cov_MzPaF1e83TZvr_uWaY6g9A.s['10']++;render=widget.get(RENDER);__cov_MzPaF1e83TZvr_uWaY6g9A.s['11']++;if(render){__cov_MzPaF1e83TZvr_uWaY6g9A.b['3'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['12']++;if(render!==TRUE){__cov_MzPaF1e83TZvr_uWaY6g9A.b['4'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['13']++;parentNode=render;}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['4'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['14']++;widget.render(parentNode);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['3'][1]++;}}__cov_MzPaF1e83TZvr_uWaY6g9A.s['15']++;Widget.NAME='widget';__cov_MzPaF1e83TZvr_uWaY6g9A.s['16']++;UI=Widget.UI_SRC='ui';__cov_MzPaF1e83TZvr_uWaY6g9A.s['17']++;Widget.ATTRS=ATTRS;__cov_MzPaF1e83TZvr_uWaY6g9A.s['18']++;ATTRS[ID]={valueFn:'_guid',writeOnce:TRUE};__cov_MzPaF1e83TZvr_uWaY6g9A.s['19']++;ATTRS[RENDERED]={value:FALSE,readOnly:TRUE};__cov_MzPaF1e83TZvr_uWaY6g9A.s['20']++;ATTRS[BOUNDING_BOX]={valueFn:'_defaultBB',setter:'_setBB',writeOnce:TRUE};__cov_MzPaF1e83TZvr_uWaY6g9A.s['21']++;ATTRS[CONTENT_BOX]={valueFn:'_defaultCB',setter:'_setCB',writeOnce:TRUE};__cov_MzPaF1e83TZvr_uWaY6g9A.s['22']++;ATTRS[TAB_INDEX]={value:null,validator:'_validTabIndex'};__cov_MzPaF1e83TZvr_uWaY6g9A.s['23']++;ATTRS[FOCUSED]={value:FALSE,readOnly:TRUE};__cov_MzPaF1e83TZvr_uWaY6g9A.s['24']++;ATTRS[DISABLED]={value:FALSE};__cov_MzPaF1e83TZvr_uWaY6g9A.s['25']++;ATTRS[VISIBLE]={value:TRUE};__cov_MzPaF1e83TZvr_uWaY6g9A.s['26']++;ATTRS[HEIGHT]={value:EMPTY_STR};__cov_MzPaF1e83TZvr_uWaY6g9A.s['27']++;ATTRS[WIDTH]={value:EMPTY_STR};__cov_MzPaF1e83TZvr_uWaY6g9A.s['28']++;ATTRS[STRINGS]={value:{},setter:'_strSetter',getter:'_strGetter'};__cov_MzPaF1e83TZvr_uWaY6g9A.s['29']++;ATTRS[RENDER]={value:FALSE,writeOnce:TRUE};__cov_MzPaF1e83TZvr_uWaY6g9A.s['30']++;Widget.CSS_PREFIX=_getClassName(Widget.NAME.toLowerCase());__cov_MzPaF1e83TZvr_uWaY6g9A.s['31']++;Widget.getClassName=function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['5']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['32']++;return _getClassName.apply(ClassNameManager,[Widget.CSS_PREFIX].concat(Y.Array(arguments),true));};__cov_MzPaF1e83TZvr_uWaY6g9A.s['33']++;_getWidgetClassName=Widget.getClassName;__cov_MzPaF1e83TZvr_uWaY6g9A.s['34']++;Widget.getByNode=function(node){__cov_MzPaF1e83TZvr_uWaY6g9A.f['6']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['35']++;var widget,widgetMarker=_getWidgetClassName();__cov_MzPaF1e83TZvr_uWaY6g9A.s['36']++;node=Node.one(node);__cov_MzPaF1e83TZvr_uWaY6g9A.s['37']++;if(node){__cov_MzPaF1e83TZvr_uWaY6g9A.b['5'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['38']++;node=node.ancestor('.'+widgetMarker,true);__cov_MzPaF1e83TZvr_uWaY6g9A.s['39']++;if(node){__cov_MzPaF1e83TZvr_uWaY6g9A.b['6'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['40']++;widget=_instances[Y.stamp(node,true)];}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['6'][1]++;}}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['5'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['41']++;return(__cov_MzPaF1e83TZvr_uWaY6g9A.b['7'][0]++,widget)||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['7'][1]++,null);};__cov_MzPaF1e83TZvr_uWaY6g9A.s['42']++;Y.extend(Widget,Y.Base,{getClassName:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['7']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['43']++;return _getClassName.apply(ClassNameManager,[this._cssPrefix].concat(Y.Array(arguments),true));},initializer:function(config){__cov_MzPaF1e83TZvr_uWaY6g9A.f['8']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['44']++;var bb=this.get(BOUNDING_BOX);__cov_MzPaF1e83TZvr_uWaY6g9A.s['45']++;if(bb instanceof Node){__cov_MzPaF1e83TZvr_uWaY6g9A.b['8'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['46']++;this._mapInstance(Y.stamp(bb));}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['8'][1]++;}},_mapInstance:function(id){__cov_MzPaF1e83TZvr_uWaY6g9A.f['9']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['47']++;_instances[id]=this;},destructor:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['10']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['48']++;var boundingBox=this.get(BOUNDING_BOX),bbGuid;__cov_MzPaF1e83TZvr_uWaY6g9A.s['49']++;if(boundingBox instanceof Node){__cov_MzPaF1e83TZvr_uWaY6g9A.b['9'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['50']++;bbGuid=Y.stamp(boundingBox,true);__cov_MzPaF1e83TZvr_uWaY6g9A.s['51']++;if(bbGuid in _instances){__cov_MzPaF1e83TZvr_uWaY6g9A.b['10'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['52']++;delete _instances[bbGuid];}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['10'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['53']++;this._destroyBox();}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['9'][1]++;}},destroy:function(destroyAllNodes){__cov_MzPaF1e83TZvr_uWaY6g9A.f['11']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['54']++;this._destroyAllNodes=destroyAllNodes;__cov_MzPaF1e83TZvr_uWaY6g9A.s['55']++;return Widget.superclass.destroy.apply(this);},_destroyBox:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['12']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['56']++;var boundingBox=this.get(BOUNDING_BOX),contentBox=this.get(CONTENT_BOX),deep=this._destroyAllNodes,same;__cov_MzPaF1e83TZvr_uWaY6g9A.s['57']++;same=(__cov_MzPaF1e83TZvr_uWaY6g9A.b['11'][0]++,boundingBox)&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['11'][1]++,boundingBox.compareTo(contentBox));__cov_MzPaF1e83TZvr_uWaY6g9A.s['58']++;if(this.UI_EVENTS){__cov_MzPaF1e83TZvr_uWaY6g9A.b['12'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['59']++;this._destroyUIEvents();}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['12'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['60']++;this._unbindUI(boundingBox);__cov_MzPaF1e83TZvr_uWaY6g9A.s['61']++;if(contentBox){__cov_MzPaF1e83TZvr_uWaY6g9A.b['13'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['62']++;if(deep){__cov_MzPaF1e83TZvr_uWaY6g9A.b['14'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['63']++;contentBox.empty();}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['14'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['64']++;contentBox.remove(TRUE);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['13'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['65']++;if(!same){__cov_MzPaF1e83TZvr_uWaY6g9A.b['15'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['66']++;if(deep){__cov_MzPaF1e83TZvr_uWaY6g9A.b['16'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['67']++;boundingBox.empty();}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['16'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['68']++;boundingBox.remove(TRUE);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['15'][1]++;}},render:function(parentNode){__cov_MzPaF1e83TZvr_uWaY6g9A.f['13']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['69']++;if((__cov_MzPaF1e83TZvr_uWaY6g9A.b['18'][0]++,!this.get(DESTROYED))&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['18'][1]++,!this.get(RENDERED))){__cov_MzPaF1e83TZvr_uWaY6g9A.b['17'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['70']++;this.publish(RENDER,{queuable:FALSE,fireOnce:TRUE,defaultTargetOnly:TRUE,defaultFn:this._defRenderFn});__cov_MzPaF1e83TZvr_uWaY6g9A.s['71']++;this.fire(RENDER,{parentNode:parentNode?(__cov_MzPaF1e83TZvr_uWaY6g9A.b['19'][0]++,Node.one(parentNode)):(__cov_MzPaF1e83TZvr_uWaY6g9A.b['19'][1]++,null)});}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['17'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['72']++;return this;},_defRenderFn:function(e){__cov_MzPaF1e83TZvr_uWaY6g9A.f['14']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['73']++;this._parentNode=e.parentNode;__cov_MzPaF1e83TZvr_uWaY6g9A.s['74']++;this.renderer();__cov_MzPaF1e83TZvr_uWaY6g9A.s['75']++;this._set(RENDERED,TRUE);__cov_MzPaF1e83TZvr_uWaY6g9A.s['76']++;this._removeLoadingClassNames();},renderer:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['15']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['77']++;var widget=this;__cov_MzPaF1e83TZvr_uWaY6g9A.s['78']++;widget._renderUI();__cov_MzPaF1e83TZvr_uWaY6g9A.s['79']++;widget.renderUI();__cov_MzPaF1e83TZvr_uWaY6g9A.s['80']++;widget._bindUI();__cov_MzPaF1e83TZvr_uWaY6g9A.s['81']++;widget.bindUI();__cov_MzPaF1e83TZvr_uWaY6g9A.s['82']++;widget._syncUI();__cov_MzPaF1e83TZvr_uWaY6g9A.s['83']++;widget.syncUI();},bindUI:EMPTY_FN,renderUI:EMPTY_FN,syncUI:EMPTY_FN,hide:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['16']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['84']++;return this.set(VISIBLE,FALSE);},show:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['17']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['85']++;return this.set(VISIBLE,TRUE);},focus:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['18']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['86']++;return this._set(FOCUSED,TRUE);},blur:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['19']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['87']++;return this._set(FOCUSED,FALSE);},enable:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['20']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['88']++;return this.set(DISABLED,FALSE);},disable:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['21']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['89']++;return this.set(DISABLED,TRUE);},_uiSizeCB:function(expand){__cov_MzPaF1e83TZvr_uWaY6g9A.f['22']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['90']++;this.get(CONTENT_BOX).toggleClass(_getWidgetClassName(CONTENT,'expanded'),expand);},_renderBox:function(parentNode){__cov_MzPaF1e83TZvr_uWaY6g9A.f['23']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['91']++;var widget=this,contentBox=widget.get(CONTENT_BOX),boundingBox=widget.get(BOUNDING_BOX),srcNode=widget.get(SRC_NODE),defParentNode=widget.DEF_PARENT_NODE,doc=(__cov_MzPaF1e83TZvr_uWaY6g9A.b['20'][0]++,srcNode)&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['20'][1]++,srcNode.get(OWNER_DOCUMENT))||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['20'][2]++,boundingBox.get(OWNER_DOCUMENT))||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['20'][3]++,contentBox.get(OWNER_DOCUMENT));__cov_MzPaF1e83TZvr_uWaY6g9A.s['92']++;if((__cov_MzPaF1e83TZvr_uWaY6g9A.b['22'][0]++,srcNode)&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['22'][1]++,!srcNode.compareTo(contentBox))&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['22'][2]++,!contentBox.inDoc(doc))){__cov_MzPaF1e83TZvr_uWaY6g9A.b['21'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['93']++;srcNode.replace(contentBox);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['21'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['94']++;if((__cov_MzPaF1e83TZvr_uWaY6g9A.b['24'][0]++,!boundingBox.compareTo(contentBox.get(PARENT_NODE)))&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['24'][1]++,!boundingBox.compareTo(contentBox))){__cov_MzPaF1e83TZvr_uWaY6g9A.b['23'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['95']++;if(contentBox.inDoc(doc)){__cov_MzPaF1e83TZvr_uWaY6g9A.b['25'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['96']++;contentBox.replace(boundingBox);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['25'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['97']++;boundingBox.appendChild(contentBox);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['23'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['98']++;parentNode=(__cov_MzPaF1e83TZvr_uWaY6g9A.b['26'][0]++,parentNode)||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['26'][1]++,defParentNode)&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['26'][2]++,Node.one(defParentNode));__cov_MzPaF1e83TZvr_uWaY6g9A.s['99']++;if(parentNode){__cov_MzPaF1e83TZvr_uWaY6g9A.b['27'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['100']++;parentNode.appendChild(boundingBox);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['27'][1]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['101']++;if(!boundingBox.inDoc(doc)){__cov_MzPaF1e83TZvr_uWaY6g9A.b['28'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['102']++;Node.one(BODY).insert(boundingBox,0);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['28'][1]++;}}},_setBB:function(node){__cov_MzPaF1e83TZvr_uWaY6g9A.f['24']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['103']++;return this._setBox(this.get(ID),node,this.BOUNDING_TEMPLATE,true);},_setCB:function(node){__cov_MzPaF1e83TZvr_uWaY6g9A.f['25']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['104']++;return this.CONTENT_TEMPLATE===null?(__cov_MzPaF1e83TZvr_uWaY6g9A.b['29'][0]++,this.get(BOUNDING_BOX)):(__cov_MzPaF1e83TZvr_uWaY6g9A.b['29'][1]++,this._setBox(null,node,this.CONTENT_TEMPLATE,false));},_defaultBB:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['26']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['105']++;var node=this.get(SRC_NODE),nullCT=this.CONTENT_TEMPLATE===null;__cov_MzPaF1e83TZvr_uWaY6g9A.s['106']++;return(__cov_MzPaF1e83TZvr_uWaY6g9A.b['31'][0]++,node)&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['31'][1]++,nullCT)?(__cov_MzPaF1e83TZvr_uWaY6g9A.b['30'][0]++,node):(__cov_MzPaF1e83TZvr_uWaY6g9A.b['30'][1]++,null);},_defaultCB:function(node){__cov_MzPaF1e83TZvr_uWaY6g9A.f['27']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['107']++;return(__cov_MzPaF1e83TZvr_uWaY6g9A.b['32'][0]++,this.get(SRC_NODE))||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['32'][1]++,null);},_setBox:function(id,node,template,isBounding){__cov_MzPaF1e83TZvr_uWaY6g9A.f['28']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['108']++;node=Node.one(node);__cov_MzPaF1e83TZvr_uWaY6g9A.s['109']++;if(!node){__cov_MzPaF1e83TZvr_uWaY6g9A.b['33'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['110']++;node=Node.create(template);__cov_MzPaF1e83TZvr_uWaY6g9A.s['111']++;if(isBounding){__cov_MzPaF1e83TZvr_uWaY6g9A.b['34'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['112']++;this._bbFromTemplate=true;}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['34'][1]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['113']++;this._cbFromTemplate=true;}}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['33'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['114']++;if(!node.get(ID)){__cov_MzPaF1e83TZvr_uWaY6g9A.b['35'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['115']++;node.set(ID,(__cov_MzPaF1e83TZvr_uWaY6g9A.b['36'][0]++,id)||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['36'][1]++,Y.guid()));}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['35'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['116']++;return node;},_renderUI:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['29']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['117']++;this._renderBoxClassNames();__cov_MzPaF1e83TZvr_uWaY6g9A.s['118']++;this._renderBox(this._parentNode);},_renderBoxClassNames:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['30']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['119']++;var classes=this._getClasses(),cl,boundingBox=this.get(BOUNDING_BOX),i;__cov_MzPaF1e83TZvr_uWaY6g9A.s['120']++;boundingBox.addClass(_getWidgetClassName());__cov_MzPaF1e83TZvr_uWaY6g9A.s['121']++;for(i=classes.length-3;i>=0;i--){__cov_MzPaF1e83TZvr_uWaY6g9A.s['122']++;cl=classes[i];__cov_MzPaF1e83TZvr_uWaY6g9A.s['123']++;boundingBox.addClass((__cov_MzPaF1e83TZvr_uWaY6g9A.b['37'][0]++,cl.CSS_PREFIX)||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['37'][1]++,_getClassName(cl.NAME.toLowerCase())));}__cov_MzPaF1e83TZvr_uWaY6g9A.s['124']++;this.get(CONTENT_BOX).addClass(this.getClassName(CONTENT));},_removeLoadingClassNames:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['31']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['125']++;var boundingBox=this.get(BOUNDING_BOX),contentBox=this.get(CONTENT_BOX),instClass=this.getClassName(LOADING),widgetClass=_getWidgetClassName(LOADING);__cov_MzPaF1e83TZvr_uWaY6g9A.s['126']++;boundingBox.removeClass(widgetClass).removeClass(instClass);__cov_MzPaF1e83TZvr_uWaY6g9A.s['127']++;contentBox.removeClass(widgetClass).removeClass(instClass);},_bindUI:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['32']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['128']++;this._bindAttrUI(this._UI_ATTRS.BIND);__cov_MzPaF1e83TZvr_uWaY6g9A.s['129']++;this._bindDOM();},_unbindUI:function(boundingBox){__cov_MzPaF1e83TZvr_uWaY6g9A.f['33']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['130']++;this._unbindDOM(boundingBox);},_bindDOM:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['34']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['131']++;var oDocument=this.get(BOUNDING_BOX).get(OWNER_DOCUMENT),focusHandle=Widget._hDocFocus;__cov_MzPaF1e83TZvr_uWaY6g9A.s['132']++;if(!focusHandle){__cov_MzPaF1e83TZvr_uWaY6g9A.b['38'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['133']++;focusHandle=Widget._hDocFocus=oDocument.on('focus',this._onDocFocus,this);__cov_MzPaF1e83TZvr_uWaY6g9A.s['134']++;focusHandle.listeners={count:0};}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['38'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['135']++;focusHandle.listeners[Y.stamp(this,true)]=true;__cov_MzPaF1e83TZvr_uWaY6g9A.s['136']++;focusHandle.listeners.count++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['137']++;if(WEBKIT){__cov_MzPaF1e83TZvr_uWaY6g9A.b['39'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['138']++;this._hDocMouseDown=oDocument.on('mousedown',this._onDocMouseDown,this);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['39'][1]++;}},_unbindDOM:function(boundingBox){__cov_MzPaF1e83TZvr_uWaY6g9A.f['35']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['139']++;var focusHandle=Widget._hDocFocus,yuid=Y.stamp(this,true),focusListeners,mouseHandle=this._hDocMouseDown;__cov_MzPaF1e83TZvr_uWaY6g9A.s['140']++;if(focusHandle){__cov_MzPaF1e83TZvr_uWaY6g9A.b['40'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['141']++;focusListeners=focusHandle.listeners;__cov_MzPaF1e83TZvr_uWaY6g9A.s['142']++;if(focusListeners[yuid]){__cov_MzPaF1e83TZvr_uWaY6g9A.b['41'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['143']++;delete focusListeners[yuid];__cov_MzPaF1e83TZvr_uWaY6g9A.s['144']++;focusListeners.count--;}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['41'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['145']++;if(focusListeners.count===0){__cov_MzPaF1e83TZvr_uWaY6g9A.b['42'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['146']++;focusHandle.detach();__cov_MzPaF1e83TZvr_uWaY6g9A.s['147']++;Widget._hDocFocus=null;}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['42'][1]++;}}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['40'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['148']++;if((__cov_MzPaF1e83TZvr_uWaY6g9A.b['44'][0]++,WEBKIT)&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['44'][1]++,mouseHandle)){__cov_MzPaF1e83TZvr_uWaY6g9A.b['43'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['149']++;mouseHandle.detach();}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['43'][1]++;}},_syncUI:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['36']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['150']++;this._syncAttrUI(this._UI_ATTRS.SYNC);},_uiSetHeight:function(val){__cov_MzPaF1e83TZvr_uWaY6g9A.f['37']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['151']++;this._uiSetDim(HEIGHT,val);__cov_MzPaF1e83TZvr_uWaY6g9A.s['152']++;this._uiSizeCB((__cov_MzPaF1e83TZvr_uWaY6g9A.b['45'][0]++,val!==EMPTY_STR)&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['45'][1]++,val!==AUTO));},_uiSetWidth:function(val){__cov_MzPaF1e83TZvr_uWaY6g9A.f['38']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['153']++;this._uiSetDim(WIDTH,val);},_uiSetDim:function(dimension,val){__cov_MzPaF1e83TZvr_uWaY6g9A.f['39']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['154']++;this.get(BOUNDING_BOX).setStyle(dimension,L.isNumber(val)?(__cov_MzPaF1e83TZvr_uWaY6g9A.b['46'][0]++,val+this.DEF_UNIT):(__cov_MzPaF1e83TZvr_uWaY6g9A.b['46'][1]++,val));},_uiSetVisible:function(val){__cov_MzPaF1e83TZvr_uWaY6g9A.f['40']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['155']++;this.get(BOUNDING_BOX).toggleClass(this.getClassName(HIDDEN),!val);},_uiSetDisabled:function(val){__cov_MzPaF1e83TZvr_uWaY6g9A.f['41']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['156']++;this.get(BOUNDING_BOX).toggleClass(this.getClassName(DISABLED),val);},_uiSetFocused:function(val,src){__cov_MzPaF1e83TZvr_uWaY6g9A.f['42']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['157']++;var boundingBox=this.get(BOUNDING_BOX);__cov_MzPaF1e83TZvr_uWaY6g9A.s['158']++;boundingBox.toggleClass(this.getClassName(FOCUSED),val);__cov_MzPaF1e83TZvr_uWaY6g9A.s['159']++;if(src!==UI){__cov_MzPaF1e83TZvr_uWaY6g9A.b['47'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['160']++;if(val){__cov_MzPaF1e83TZvr_uWaY6g9A.b['48'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['161']++;boundingBox.focus();}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['48'][1]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['162']++;boundingBox.blur();}}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['47'][1]++;}},_uiSetTabIndex:function(index){__cov_MzPaF1e83TZvr_uWaY6g9A.f['43']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['163']++;var boundingBox=this.get(BOUNDING_BOX);__cov_MzPaF1e83TZvr_uWaY6g9A.s['164']++;if(L.isNumber(index)){__cov_MzPaF1e83TZvr_uWaY6g9A.b['49'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['165']++;boundingBox.set(TAB_INDEX,index);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['49'][1]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['166']++;boundingBox.removeAttribute(TAB_INDEX);}},_onDocMouseDown:function(evt){__cov_MzPaF1e83TZvr_uWaY6g9A.f['44']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['167']++;if(this._domFocus){__cov_MzPaF1e83TZvr_uWaY6g9A.b['50'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['168']++;this._onDocFocus(evt);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['50'][1]++;}},_onDocFocus:function(evt){__cov_MzPaF1e83TZvr_uWaY6g9A.f['45']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['169']++;var widget=Widget.getByNode(evt.target),activeWidget=Widget._active;__cov_MzPaF1e83TZvr_uWaY6g9A.s['170']++;if((__cov_MzPaF1e83TZvr_uWaY6g9A.b['52'][0]++,activeWidget)&&(__cov_MzPaF1e83TZvr_uWaY6g9A.b['52'][1]++,activeWidget!==widget)){__cov_MzPaF1e83TZvr_uWaY6g9A.b['51'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['171']++;activeWidget._domFocus=false;__cov_MzPaF1e83TZvr_uWaY6g9A.s['172']++;activeWidget._set(FOCUSED,false,{src:UI});__cov_MzPaF1e83TZvr_uWaY6g9A.s['173']++;Widget._active=null;}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['51'][1]++;}__cov_MzPaF1e83TZvr_uWaY6g9A.s['174']++;if(widget){__cov_MzPaF1e83TZvr_uWaY6g9A.b['53'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['175']++;widget._domFocus=true;__cov_MzPaF1e83TZvr_uWaY6g9A.s['176']++;widget._set(FOCUSED,true,{src:UI});__cov_MzPaF1e83TZvr_uWaY6g9A.s['177']++;Widget._active=widget;}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['53'][1]++;}},toString:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['46']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['178']++;return this.name+'['+this.get(ID)+']';},DEF_UNIT:'px',DEF_PARENT_NODE:null,CONTENT_TEMPLATE:DIV,BOUNDING_TEMPLATE:DIV,_guid:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['47']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['179']++;return Y.guid();},_validTabIndex:function(tabIndex){__cov_MzPaF1e83TZvr_uWaY6g9A.f['48']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['180']++;return(__cov_MzPaF1e83TZvr_uWaY6g9A.b['54'][0]++,L.isNumber(tabIndex))||(__cov_MzPaF1e83TZvr_uWaY6g9A.b['54'][1]++,L.isNull(tabIndex));},_bindAttrUI:function(attrs){__cov_MzPaF1e83TZvr_uWaY6g9A.f['49']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['181']++;var i,l=attrs.length;__cov_MzPaF1e83TZvr_uWaY6g9A.s['182']++;for(i=0;i<l;i++){__cov_MzPaF1e83TZvr_uWaY6g9A.s['183']++;this.after(attrs[i]+CHANGE,this._setAttrUI);}},_syncAttrUI:function(attrs){__cov_MzPaF1e83TZvr_uWaY6g9A.f['50']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['184']++;var i,l=attrs.length,attr;__cov_MzPaF1e83TZvr_uWaY6g9A.s['185']++;for(i=0;i<l;i++){__cov_MzPaF1e83TZvr_uWaY6g9A.s['186']++;attr=attrs[i];__cov_MzPaF1e83TZvr_uWaY6g9A.s['187']++;this[_UISET+_toInitialCap(attr)](this.get(attr));}},_setAttrUI:function(e){__cov_MzPaF1e83TZvr_uWaY6g9A.f['51']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['188']++;if(e.target===this){__cov_MzPaF1e83TZvr_uWaY6g9A.b['55'][0]++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['189']++;this[_UISET+_toInitialCap(e.attrName)](e.newVal,e.src);}else{__cov_MzPaF1e83TZvr_uWaY6g9A.b['55'][1]++;}},_strSetter:function(strings){__cov_MzPaF1e83TZvr_uWaY6g9A.f['52']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['190']++;return Y.merge(this.get(STRINGS),strings);},getString:function(key){__cov_MzPaF1e83TZvr_uWaY6g9A.f['53']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['191']++;return this.get(STRINGS)[key];},getStrings:function(){__cov_MzPaF1e83TZvr_uWaY6g9A.f['54']++;__cov_MzPaF1e83TZvr_uWaY6g9A.s['192']++;return this.get(STRINGS);},_UI_ATTRS:{BIND:UI_ATTRS,SYNC:UI_ATTRS}});__cov_MzPaF1e83TZvr_uWaY6g9A.s['193']++;Y.Widget=Widget;},'3.18.1',{'requires':['attribute','base-base','base-pluginhost','classnamemanager','event-focus','node-base','node-style'],'skinnable':true});
  