10
__coverage__['build/console/console.js'] = {"path":"build/console/console.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},"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,0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0],"29":[0,0],"30":[0,0],"31":[0,0,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,0],"43":[0,0],"44":[0,0,0],"45":[0,0],"46":[0,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],"56":[0,0],"57":[0,0],"58":[0,0],"59":[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},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":38}}},"2":{"name":"Console","line":94,"loc":{"start":{"line":94,"column":0},"end":{"line":94,"column":19}}},"3":{"name":"(anonymous_3)","line":170,"loc":{"start":{"line":170,"column":10},"end":{"line":170,"column":22}}},"4":{"name":"(anonymous_4)","line":182,"loc":{"start":{"line":182,"column":19},"end":{"line":182,"column":31}}},"5":{"name":"(anonymous_5)","line":199,"loc":{"start":{"line":199,"column":12},"end":{"line":199,"column":24}}},"6":{"name":"(anonymous_6)","line":211,"loc":{"start":{"line":211,"column":15},"end":{"line":211,"column":27}}},"7":{"name":"(anonymous_7)","line":223,"loc":{"start":{"line":223,"column":13},"end":{"line":223,"column":25}}},"8":{"name":"(anonymous_8)","line":240,"loc":{"start":{"line":240,"column":17},"end":{"line":240,"column":34}}},"9":{"name":"(anonymous_9)","line":297,"loc":{"start":{"line":297,"column":18},"end":{"line":297,"column":30}}},"10":{"name":"(anonymous_10)","line":337,"loc":{"start":{"line":337,"column":17},"end":{"line":337,"column":29}}},"11":{"name":"(anonymous_11)","line":353,"loc":{"start":{"line":353,"column":15},"end":{"line":353,"column":27}}},"12":{"name":"(anonymous_12)","line":370,"loc":{"start":{"line":370,"column":13},"end":{"line":370,"column":25}}},"13":{"name":"(anonymous_13)","line":382,"loc":{"start":{"line":382,"column":13},"end":{"line":382,"column":25}}},"14":{"name":"(anonymous_14)","line":410,"loc":{"start":{"line":410,"column":16},"end":{"line":410,"column":28}}},"15":{"name":"(anonymous_15)","line":429,"loc":{"start":{"line":429,"column":16},"end":{"line":429,"column":28}}},"16":{"name":"(anonymous_16)","line":443,"loc":{"start":{"line":443,"column":16},"end":{"line":443,"column":28}}},"17":{"name":"(anonymous_17)","line":462,"loc":{"start":{"line":462,"column":20},"end":{"line":462,"column":33}}},"18":{"name":"(anonymous_18)","line":499,"loc":{"start":{"line":499,"column":24},"end":{"line":499,"column":37}}},"19":{"name":"(anonymous_19)","line":535,"loc":{"start":{"line":535,"column":21},"end":{"line":535,"column":33}}},"20":{"name":"(anonymous_20)","line":552,"loc":{"start":{"line":552,"column":23},"end":{"line":552,"column":36}}},"21":{"name":"(anonymous_21)","line":562,"loc":{"start":{"line":562,"column":12},"end":{"line":562,"column":31}}},"22":{"name":"(anonymous_22)","line":573,"loc":{"start":{"line":573,"column":21},"end":{"line":573,"column":33}}},"23":{"name":"(anonymous_23)","line":589,"loc":{"start":{"line":589,"column":25},"end":{"line":589,"column":38}}},"24":{"name":"(anonymous_24)","line":605,"loc":{"start":{"line":605,"column":22},"end":{"line":605,"column":34}}},"25":{"name":"(anonymous_25)","line":653,"loc":{"start":{"line":653,"column":18},"end":{"line":653,"column":31}}},"26":{"name":"(anonymous_26)","line":667,"loc":{"start":{"line":667,"column":23},"end":{"line":667,"column":35}}},"27":{"name":"(anonymous_27)","line":683,"loc":{"start":{"line":683,"column":21},"end":{"line":683,"column":38}}},"28":{"name":"(anonymous_28)","line":695,"loc":{"start":{"line":695,"column":20},"end":{"line":695,"column":33}}},"29":{"name":"(anonymous_29)","line":707,"loc":{"start":{"line":707,"column":20},"end":{"line":707,"column":33}}},"30":{"name":"(anonymous_30)","line":719,"loc":{"start":{"line":719,"column":23},"end":{"line":719,"column":36}}},"31":{"name":"(anonymous_31)","line":733,"loc":{"start":{"line":733,"column":24},"end":{"line":733,"column":37}}},"32":{"name":"(anonymous_32)","line":747,"loc":{"start":{"line":747,"column":19},"end":{"line":747,"column":32}}},"33":{"name":"(anonymous_33)","line":763,"loc":{"start":{"line":763,"column":27},"end":{"line":763,"column":39}}},"34":{"name":"(anonymous_34)","line":781,"loc":{"start":{"line":781,"column":27},"end":{"line":781,"column":40}}},"35":{"name":"(anonymous_35)","line":802,"loc":{"start":{"line":802,"column":19},"end":{"line":802,"column":32}}},"36":{"name":"(anonymous_36)","line":821,"loc":{"start":{"line":821,"column":16},"end":{"line":821,"column":27}}},"37":{"name":"(anonymous_37)","line":834,"loc":{"start":{"line":834,"column":26},"end":{"line":834,"column":39}}},"38":{"name":"(anonymous_38)","line":860,"loc":{"start":{"line":860,"column":25},"end":{"line":860,"column":38}}},"39":{"name":"(anonymous_39)","line":881,"loc":{"start":{"line":881,"column":22},"end":{"line":881,"column":36}}},"40":{"name":"(anonymous_40)","line":897,"loc":{"start":{"line":897,"column":31},"end":{"line":897,"column":43}}},"41":{"name":"(anonymous_41)","line":910,"loc":{"start":{"line":910,"column":28},"end":{"line":910,"column":41}}},"42":{"name":"(anonymous_42)","line":921,"loc":{"start":{"line":921,"column":25},"end":{"line":921,"column":38}}},"43":{"name":"(anonymous_43)","line":943,"loc":{"start":{"line":943,"column":26},"end":{"line":943,"column":39}}},"44":{"name":"(anonymous_44)","line":956,"loc":{"start":{"line":956,"column":28},"end":{"line":956,"column":41}}},"45":{"name":"(anonymous_45)","line":972,"loc":{"start":{"line":972,"column":18},"end":{"line":972,"column":31}}},"46":{"name":"(anonymous_46)","line":996,"loc":{"start":{"line":996,"column":18},"end":{"line":996,"column":30}}},"47":{"name":"(anonymous_47)","line":1010,"loc":{"start":{"line":1010,"column":18},"end":{"line":1010,"column":31}}},"48":{"name":"(anonymous_48)","line":1248,"loc":{"start":{"line":1248,"column":24},"end":{"line":1248,"column":37}}},"49":{"name":"(anonymous_49)","line":1269,"loc":{"start":{"line":1269,"column":21},"end":{"line":1269,"column":32}}},"50":{"name":"(anonymous_50)","line":1340,"loc":{"start":{"line":1340,"column":21},"end":{"line":1340,"column":34}}},"51":{"name":"(anonymous_51)","line":1486,"loc":{"start":{"line":1486,"column":21},"end":{"line":1486,"column":33}}},"52":{"name":"(anonymous_52)","line":1489,"loc":{"start":{"line":1489,"column":21},"end":{"line":1489,"column":34}}},"53":{"name":"(anonymous_53)","line":1505,"loc":{"start":{"line":1505,"column":24},"end":{"line":1505,"column":37}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1514,"column":103}},"2":{"start":{"line":21,"column":0},"end":{"line":91,"column":28}},"3":{"start":{"line":94,"column":0},"end":{"line":96,"column":1}},"4":{"start":{"line":95,"column":4},"end":{"line":95,"column":57}},"5":{"start":{"line":98,"column":0},"end":{"line":1511,"column":3}},"6":{"start":{"line":171,"column":8},"end":{"line":171,"column":33}},"7":{"start":{"line":173,"column":8},"end":{"line":173,"column":20}},"8":{"start":{"line":184,"column":8},"end":{"line":184,"column":27}},"9":{"start":{"line":186,"column":8},"end":{"line":186,"column":32}},"10":{"start":{"line":188,"column":8},"end":{"line":188,"column":25}},"11":{"start":{"line":190,"column":8},"end":{"line":190,"column":20}},"12":{"start":{"line":200,"column":8},"end":{"line":200,"column":25}},"13":{"start":{"line":202,"column":8},"end":{"line":202,"column":20}},"14":{"start":{"line":212,"column":8},"end":{"line":212,"column":34}},"15":{"start":{"line":214,"column":8},"end":{"line":214,"column":20}},"16":{"start":{"line":224,"column":8},"end":{"line":224,"column":35}},"17":{"start":{"line":226,"column":8},"end":{"line":226,"column":20}},"18":{"start":{"line":241,"column":8},"end":{"line":247,"column":14}},"19":{"start":{"line":249,"column":8},"end":{"line":251,"column":9}},"20":{"start":{"line":250,"column":12},"end":{"line":250,"column":63}},"21":{"start":{"line":253,"column":8},"end":{"line":253,"column":70}},"22":{"start":{"line":256,"column":8},"end":{"line":256,"column":31}},"23":{"start":{"line":258,"column":8},"end":{"line":281,"column":9}},"24":{"start":{"line":260,"column":12},"end":{"line":262,"column":13}},"25":{"start":{"line":261,"column":16},"end":{"line":261,"column":69}},"26":{"start":{"line":264,"column":12},"end":{"line":266,"column":13}},"27":{"start":{"line":265,"column":16},"end":{"line":265,"column":40}},"28":{"start":{"line":268,"column":12},"end":{"line":280,"column":13}},"29":{"start":{"line":269,"column":16},"end":{"line":271,"column":17}},"30":{"start":{"line":270,"column":20},"end":{"line":270,"column":38}},"31":{"start":{"line":273,"column":16},"end":{"line":273,"column":74}},"32":{"start":{"line":275,"column":16},"end":{"line":277,"column":17}},"33":{"start":{"line":276,"column":20},"end":{"line":276,"column":42}},"34":{"start":{"line":279,"column":16},"end":{"line":279,"column":39}},"35":{"start":{"line":284,"column":8},"end":{"line":284,"column":31}},"36":{"start":{"line":286,"column":8},"end":{"line":286,"column":20}},"37":{"start":{"line":298,"column":8},"end":{"line":298,"column":43}},"38":{"start":{"line":300,"column":8},"end":{"line":300,"column":25}},"39":{"start":{"line":302,"column":8},"end":{"line":303,"column":61}},"40":{"start":{"line":317,"column":8},"end":{"line":317,"column":61}},"41":{"start":{"line":326,"column":8},"end":{"line":326,"column":61}},"42":{"start":{"line":328,"column":8},"end":{"line":328,"column":52}},"43":{"start":{"line":338,"column":8},"end":{"line":338,"column":41}},"44":{"start":{"line":340,"column":8},"end":{"line":340,"column":32}},"45":{"start":{"line":342,"column":8},"end":{"line":342,"column":57}},"46":{"start":{"line":344,"column":8},"end":{"line":344,"column":23}},"47":{"start":{"line":354,"column":8},"end":{"line":354,"column":25}},"48":{"start":{"line":355,"column":8},"end":{"line":355,"column":25}},"49":{"start":{"line":356,"column":8},"end":{"line":356,"column":25}},"50":{"start":{"line":359,"column":8},"end":{"line":359,"column":38}},"51":{"start":{"line":360,"column":8},"end":{"line":362,"column":9}},"52":{"start":{"line":361,"column":12},"end":{"line":361,"column":71}},"53":{"start":{"line":371,"column":8},"end":{"line":371,"column":47}},"54":{"start":{"line":372,"column":8},"end":{"line":372,"column":53}},"55":{"start":{"line":373,"column":8},"end":{"line":373,"column":44}},"56":{"start":{"line":383,"column":8},"end":{"line":384,"column":49}},"57":{"start":{"line":386,"column":8},"end":{"line":387,"column":46}},"58":{"start":{"line":389,"column":8},"end":{"line":390,"column":46}},"59":{"start":{"line":393,"column":8},"end":{"line":394,"column":38}},"60":{"start":{"line":395,"column":8},"end":{"line":396,"column":37}},"61":{"start":{"line":397,"column":8},"end":{"line":398,"column":43}},"62":{"start":{"line":399,"column":8},"end":{"line":400,"column":40}},"63":{"start":{"line":411,"column":8},"end":{"line":415,"column":23}},"64":{"start":{"line":417,"column":8},"end":{"line":417,"column":70}},"65":{"start":{"line":419,"column":8},"end":{"line":419,"column":57}},"66":{"start":{"line":430,"column":8},"end":{"line":432,"column":53}},"67":{"start":{"line":434,"column":8},"end":{"line":434,"column":54}},"68":{"start":{"line":444,"column":8},"end":{"line":448,"column":15}},"69":{"start":{"line":450,"column":8},"end":{"line":450,"column":70}},"70":{"start":{"line":452,"column":8},"end":{"line":452,"column":54}},"71":{"start":{"line":463,"column":8},"end":{"line":463,"column":52}},"72":{"start":{"line":465,"column":8},"end":{"line":476,"column":9}},"73":{"start":{"line":466,"column":12},"end":{"line":466,"column":30}},"74":{"start":{"line":468,"column":12},"end":{"line":470,"column":13}},"75":{"start":{"line":469,"column":16},"end":{"line":469,"column":40}},"76":{"start":{"line":472,"column":12},"end":{"line":475,"column":13}},"77":{"start":{"line":474,"column":16},"end":{"line":474,"column":29}},"78":{"start":{"line":478,"column":8},"end":{"line":478,"column":20}},"79":{"start":{"line":501,"column":8},"end":{"line":514,"column":14}},"80":{"start":{"line":517,"column":8},"end":{"line":518,"column":62}},"81":{"start":{"line":519,"column":8},"end":{"line":520,"column":72}},"82":{"start":{"line":521,"column":8},"end":{"line":521,"column":57}},"83":{"start":{"line":522,"column":8},"end":{"line":522,"column":58}},"84":{"start":{"line":524,"column":8},"end":{"line":524,"column":36}},"85":{"start":{"line":526,"column":8},"end":{"line":526,"column":17}},"86":{"start":{"line":536,"column":8},"end":{"line":541,"column":9}},"87":{"start":{"line":537,"column":12},"end":{"line":540,"column":62}},"88":{"start":{"line":553,"column":8},"end":{"line":559,"column":19}},"89":{"start":{"line":561,"column":8},"end":{"line":564,"column":15}},"90":{"start":{"line":563,"column":16},"end":{"line":563,"column":50}},"91":{"start":{"line":574,"column":8},"end":{"line":576,"column":59}},"92":{"start":{"line":578,"column":8},"end":{"line":578,"column":47}},"93":{"start":{"line":590,"column":8},"end":{"line":590,"column":56}},"94":{"start":{"line":591,"column":8},"end":{"line":591,"column":55}},"95":{"start":{"line":592,"column":8},"end":{"line":592,"column":64}},"96":{"start":{"line":593,"column":8},"end":{"line":593,"column":57}},"97":{"start":{"line":595,"column":8},"end":{"line":595,"column":17}},"98":{"start":{"line":608,"column":8},"end":{"line":608,"column":31}},"99":{"start":{"line":610,"column":8},"end":{"line":613,"column":26}},"100":{"start":{"line":615,"column":8},"end":{"line":639,"column":9}},"101":{"start":{"line":616,"column":12},"end":{"line":616,"column":42}},"102":{"start":{"line":617,"column":12},"end":{"line":617,"column":39}},"103":{"start":{"line":619,"column":12},"end":{"line":637,"column":13}},"104":{"start":{"line":620,"column":16},"end":{"line":625,"column":17}},"105":{"start":{"line":621,"column":20},"end":{"line":621,"column":30}},"106":{"start":{"line":622,"column":20},"end":{"line":622,"column":39}},"107":{"start":{"line":624,"column":20},"end":{"line":624,"column":26}},"108":{"start":{"line":627,"column":16},"end":{"line":627,"column":54}},"109":{"start":{"line":629,"column":16},"end":{"line":634,"column":17}},"110":{"start":{"line":630,"column":20},"end":{"line":630,"column":40}},"111":{"start":{"line":631,"column":20},"end":{"line":633,"column":21}},"112":{"start":{"line":632,"column":24},"end":{"line":632,"column":35}},"113":{"start":{"line":636,"column":16},"end":{"line":636,"column":50}},"114":{"start":{"line":641,"column":8},"end":{"line":641,"column":31}},"115":{"start":{"line":654,"column":8},"end":{"line":658,"column":14}},"116":{"start":{"line":668,"column":8},"end":{"line":671,"column":9}},"117":{"start":{"line":669,"column":12},"end":{"line":669,"column":37}},"118":{"start":{"line":670,"column":12},"end":{"line":670,"column":35}},"119":{"start":{"line":684,"column":8},"end":{"line":684,"column":79}},"120":{"start":{"line":696,"column":8},"end":{"line":696,"column":47}},"121":{"start":{"line":708,"column":8},"end":{"line":708,"column":28}},"122":{"start":{"line":720,"column":8},"end":{"line":720,"column":50}},"123":{"start":{"line":734,"column":8},"end":{"line":734,"column":44}},"124":{"start":{"line":748,"column":8},"end":{"line":750,"column":9}},"125":{"start":{"line":749,"column":12},"end":{"line":749,"column":32}},"126":{"start":{"line":752,"column":8},"end":{"line":752,"column":54}},"127":{"start":{"line":764,"column":8},"end":{"line":764,"column":46}},"128":{"start":{"line":765,"column":8},"end":{"line":766,"column":54}},"129":{"start":{"line":782,"column":8},"end":{"line":782,"column":46}},"130":{"start":{"line":783,"column":8},"end":{"line":789,"column":9}},"131":{"start":{"line":784,"column":12},"end":{"line":784,"column":20}},"132":{"start":{"line":785,"column":12},"end":{"line":785,"column":51}},"133":{"start":{"line":786,"column":12},"end":{"line":786,"column":21}},"134":{"start":{"line":788,"column":12},"end":{"line":788,"column":45}},"135":{"start":{"line":803,"column":8},"end":{"line":803,"column":62}},"136":{"start":{"line":805,"column":8},"end":{"line":811,"column":9}},"137":{"start":{"line":806,"column":12},"end":{"line":808,"column":51}},"138":{"start":{"line":810,"column":12},"end":{"line":810,"column":47}},"139":{"start":{"line":835,"column":8},"end":{"line":838,"column":30}},"140":{"start":{"line":840,"column":8},"end":{"line":842,"column":9}},"141":{"start":{"line":841,"column":12},"end":{"line":841,"column":61}},"142":{"start":{"line":844,"column":8},"end":{"line":846,"column":9}},"143":{"start":{"line":845,"column":12},"end":{"line":845,"column":59}},"144":{"start":{"line":848,"column":8},"end":{"line":850,"column":9}},"145":{"start":{"line":849,"column":12},"end":{"line":849,"column":57}},"146":{"start":{"line":861,"column":8},"end":{"line":861,"column":30}},"147":{"start":{"line":863,"column":8},"end":{"line":865,"column":9}},"148":{"start":{"line":864,"column":12},"end":{"line":864,"column":41}},"149":{"start":{"line":867,"column":8},"end":{"line":871,"column":9}},"150":{"start":{"line":868,"column":12},"end":{"line":868,"column":34}},"151":{"start":{"line":869,"column":15},"end":{"line":871,"column":9}},"152":{"start":{"line":870,"column":12},"end":{"line":870,"column":36}},"153":{"start":{"line":882,"column":8},"end":{"line":882,"column":67}},"154":{"start":{"line":884,"column":8},"end":{"line":886,"column":9}},"155":{"start":{"line":885,"column":12},"end":{"line":885,"column":33}},"156":{"start":{"line":898,"column":8},"end":{"line":898,"column":31}},"157":{"start":{"line":911,"column":8},"end":{"line":911,"column":42}},"158":{"start":{"line":922,"column":8},"end":{"line":925,"column":70}},"159":{"start":{"line":927,"column":8},"end":{"line":927,"column":32}},"160":{"start":{"line":929,"column":8},"end":{"line":931,"column":9}},"161":{"start":{"line":930,"column":12},"end":{"line":930,"column":32}},"162":{"start":{"line":933,"column":8},"end":{"line":933,"column":80}},"163":{"start":{"line":944,"column":8},"end":{"line":944,"column":69}},"164":{"start":{"line":946,"column":8},"end":{"line":946,"column":45}},"165":{"start":{"line":957,"column":8},"end":{"line":959,"column":9}},"166":{"start":{"line":958,"column":12},"end":{"line":958,"column":48}},"167":{"start":{"line":974,"column":8},"end":{"line":986,"column":9}},"168":{"start":{"line":976,"column":12},"end":{"line":976,"column":39}},"169":{"start":{"line":979,"column":12},"end":{"line":979,"column":35}},"170":{"start":{"line":981,"column":12},"end":{"line":983,"column":15}},"171":{"start":{"line":985,"column":12},"end":{"line":985,"column":35}},"172":{"start":{"line":997,"column":8},"end":{"line":997,"column":28}},"173":{"start":{"line":998,"column":8},"end":{"line":998,"column":40}},"174":{"start":{"line":999,"column":8},"end":{"line":999,"column":33}},"175":{"start":{"line":1000,"column":8},"end":{"line":1000,"column":31}},"176":{"start":{"line":1011,"column":8},"end":{"line":1014,"column":9}},"177":{"start":{"line":1012,"column":12},"end":{"line":1012,"column":40}},"178":{"start":{"line":1013,"column":12},"end":{"line":1013,"column":34}},"179":{"start":{"line":1249,"column":16},"end":{"line":1249,"column":50}},"180":{"start":{"line":1269,"column":34},"end":{"line":1269,"column":63}},"181":{"start":{"line":1341,"column":16},"end":{"line":1341,"column":44}},"182":{"start":{"line":1487,"column":16},"end":{"line":1487,"column":52}},"183":{"start":{"line":1490,"column":16},"end":{"line":1490,"column":53}},"184":{"start":{"line":1506,"column":16},"end":{"line":1506,"column":46}}},"branchMap":{"1":{"line":246,"type":"cond-expr","locations":[{"start":{"line":246,"column":40},"end":{"line":246,"column":68}},{"start":{"line":246,"column":71},"end":{"line":246,"column":75}}]},"2":{"line":249,"type":"if","locations":[{"start":{"line":249,"column":8},"end":{"line":249,"column":8}},{"start":{"line":249,"column":8},"end":{"line":249,"column":8}}]},"3":{"line":253,"type":"binary-expr","locations":[{"start":{"line":253,"column":43},"end":{"line":253,"column":48}},{"start":{"line":253,"column":52},"end":{"line":253,"column":67}}]},"4":{"line":258,"type":"if","locations":[{"start":{"line":258,"column":8},"end":{"line":258,"column":8}},{"start":{"line":258,"column":8},"end":{"line":258,"column":8}}]},"5":{"line":258,"type":"binary-expr","locations":[{"start":{"line":258,"column":12},"end":{"line":258,"column":29}},{"start":{"line":258,"column":33},"end":{"line":258,"column":53}}]},"6":{"line":260,"type":"binary-expr","locations":[{"start":{"line":260,"column":24},"end":{"line":260,"column":33}},{"start":{"line":260,"column":37},"end":{"line":260,"column":52}}]},"7":{"line":264,"type":"if","locations":[{"start":{"line":264,"column":12},"end":{"line":264,"column":12}},{"start":{"line":264,"column":12},"end":{"line":264,"column":12}}]},"8":{"line":268,"type":"if","locations":[{"start":{"line":268,"column":12},"end":{"line":268,"column":12}},{"start":{"line":268,"column":12},"end":{"line":268,"column":12}}]},"9":{"line":269,"type":"if","locations":[{"start":{"line":269,"column":16},"end":{"line":269,"column":16}},{"start":{"line":269,"column":16},"end":{"line":269,"column":16}}]},"10":{"line":275,"type":"if","locations":[{"start":{"line":275,"column":16},"end":{"line":275,"column":16}},{"start":{"line":275,"column":16},"end":{"line":275,"column":16}}]},"11":{"line":360,"type":"if","locations":[{"start":{"line":360,"column":8},"end":{"line":360,"column":8}},{"start":{"line":360,"column":8},"end":{"line":360,"column":8}}]},"12":{"line":465,"type":"if","locations":[{"start":{"line":465,"column":8},"end":{"line":465,"column":8}},{"start":{"line":465,"column":8},"end":{"line":465,"column":8}}]},"13":{"line":466,"type":"binary-expr","locations":[{"start":{"line":466,"column":18},"end":{"line":466,"column":21}},{"start":{"line":466,"column":25},"end":{"line":466,"column":29}}]},"14":{"line":468,"type":"if","locations":[{"start":{"line":468,"column":12},"end":{"line":468,"column":12}},{"start":{"line":468,"column":12},"end":{"line":468,"column":12}}]},"15":{"line":472,"type":"if","locations":[{"start":{"line":472,"column":12},"end":{"line":472,"column":12}},{"start":{"line":472,"column":12},"end":{"line":472,"column":12}}]},"16":{"line":472,"type":"binary-expr","locations":[{"start":{"line":472,"column":17},"end":{"line":472,"column":29}},{"start":{"line":472,"column":33},"end":{"line":472,"column":46}},{"start":{"line":473,"column":17},"end":{"line":473,"column":29}},{"start":{"line":473,"column":33},"end":{"line":473,"column":45}}]},"17":{"line":508,"type":"binary-expr","locations":[{"start":{"line":508,"column":34},"end":{"line":508,"column":37}},{"start":{"line":508,"column":41},"end":{"line":508,"column":68}}]},"18":{"line":509,"type":"binary-expr","locations":[{"start":{"line":509,"column":34},"end":{"line":509,"column":37}},{"start":{"line":509,"column":41},"end":{"line":509,"column":66}}]},"19":{"line":517,"type":"cond-expr","locations":[{"start":{"line":518,"column":32},"end":{"line":518,"column":41}},{"start":{"line":518,"column":44},"end":{"line":518,"column":61}}]},"20":{"line":519,"type":"cond-expr","locations":[{"start":{"line":520,"column":28},"end":{"line":520,"column":55}},{"start":{"line":520,"column":59},"end":{"line":520,"column":70}}]},"21":{"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}}]},"22":{"line":536,"type":"binary-expr","locations":[{"start":{"line":536,"column":12},"end":{"line":536,"column":28}},{"start":{"line":536,"column":32},"end":{"line":536,"column":49}},{"start":{"line":536,"column":53},"end":{"line":536,"column":73}}]},"23":{"line":563,"type":"cond-expr","locations":[{"start":{"line":563,"column":36},"end":{"line":563,"column":44}},{"start":{"line":563,"column":47},"end":{"line":563,"column":49}}]},"24":{"line":574,"type":"cond-expr","locations":[{"start":{"line":575,"column":28},"end":{"line":575,"column":29}},{"start":{"line":576,"column":28},"end":{"line":576,"column":58}}]},"25":{"line":615,"type":"if","locations":[{"start":{"line":615,"column":8},"end":{"line":615,"column":8}},{"start":{"line":615,"column":8},"end":{"line":615,"column":8}}]},"26":{"line":619,"type":"if","locations":[{"start":{"line":619,"column":12},"end":{"line":619,"column":12}},{"start":{"line":619,"column":12},"end":{"line":619,"column":12}}]},"27":{"line":620,"type":"if","locations":[{"start":{"line":620,"column":16},"end":{"line":620,"column":16}},{"start":{"line":620,"column":16},"end":{"line":620,"column":16}}]},"28":{"line":631,"type":"if","locations":[{"start":{"line":631,"column":20},"end":{"line":631,"column":20}},{"start":{"line":631,"column":20},"end":{"line":631,"column":20}}]},"29":{"line":654,"type":"cond-expr","locations":[{"start":{"line":655,"column":12},"end":{"line":657,"column":36}},{"start":{"line":658,"column":12},"end":{"line":658,"column":13}}]},"30":{"line":668,"type":"if","locations":[{"start":{"line":668,"column":8},"end":{"line":668,"column":8}},{"start":{"line":668,"column":8},"end":{"line":668,"column":8}}]},"31":{"line":684,"type":"binary-expr","locations":[{"start":{"line":684,"column":15},"end":{"line":684,"column":33}},{"start":{"line":684,"column":37},"end":{"line":684,"column":54}},{"start":{"line":684,"column":58},"end":{"line":684,"column":78}}]},"32":{"line":734,"type":"binary-expr","locations":[{"start":{"line":734,"column":15},"end":{"line":734,"column":16}},{"start":{"line":734,"column":20},"end":{"line":734,"column":43}}]},"33":{"line":748,"type":"if","locations":[{"start":{"line":748,"column":8},"end":{"line":748,"column":8}},{"start":{"line":748,"column":8},"end":{"line":748,"column":8}}]},"34":{"line":752,"type":"cond-expr","locations":[{"start":{"line":752,"column":45},"end":{"line":752,"column":46}},{"start":{"line":752,"column":49},"end":{"line":752,"column":53}}]},"35":{"line":752,"type":"binary-expr","locations":[{"start":{"line":752,"column":16},"end":{"line":752,"column":26}},{"start":{"line":752,"column":30},"end":{"line":752,"column":41}}]},"36":{"line":765,"type":"cond-expr","locations":[{"start":{"line":766,"column":12},"end":{"line":766,"column":46}},{"start":{"line":766,"column":49},"end":{"line":766,"column":53}}]},"37":{"line":783,"type":"if","locations":[{"start":{"line":783,"column":8},"end":{"line":783,"column":8}},{"start":{"line":783,"column":8},"end":{"line":783,"column":8}}]},"38":{"line":805,"type":"if","locations":[{"start":{"line":805,"column":8},"end":{"line":805,"column":8}},{"start":{"line":805,"column":8},"end":{"line":805,"column":8}}]},"39":{"line":805,"type":"binary-expr","locations":[{"start":{"line":805,"column":12},"end":{"line":805,"column":22}},{"start":{"line":805,"column":26},"end":{"line":805,"column":36}}]},"40":{"line":835,"type":"cond-expr","locations":[{"start":{"line":835,"column":37},"end":{"line":835,"column":64}},{"start":{"line":835,"column":67},"end":{"line":835,"column":71}}]},"41":{"line":840,"type":"if","locations":[{"start":{"line":840,"column":8},"end":{"line":840,"column":8}},{"start":{"line":840,"column":8},"end":{"line":840,"column":8}}]},"42":{"line":840,"type":"binary-expr","locations":[{"start":{"line":840,"column":13},"end":{"line":840,"column":18}},{"start":{"line":840,"column":22},"end":{"line":840,"column":36}},{"start":{"line":840,"column":41},"end":{"line":840,"column":69}}]},"43":{"line":844,"type":"if","locations":[{"start":{"line":844,"column":8},"end":{"line":844,"column":8}},{"start":{"line":844,"column":8},"end":{"line":844,"column":8}}]},"44":{"line":844,"type":"binary-expr","locations":[{"start":{"line":844,"column":13},"end":{"line":844,"column":18}},{"start":{"line":844,"column":22},"end":{"line":844,"column":36}},{"start":{"line":844,"column":41},"end":{"line":844,"column":69}}]},"45":{"line":848,"type":"if","locations":[{"start":{"line":848,"column":8},"end":{"line":848,"column":8}},{"start":{"line":848,"column":8},"end":{"line":848,"column":8}}]},"46":{"line":848,"type":"binary-expr","locations":[{"start":{"line":848,"column":13},"end":{"line":848,"column":18}},{"start":{"line":848,"column":22},"end":{"line":848,"column":36}},{"start":{"line":848,"column":41},"end":{"line":848,"column":69}}]},"47":{"line":863,"type":"if","locations":[{"start":{"line":863,"column":8},"end":{"line":863,"column":8}},{"start":{"line":863,"column":8},"end":{"line":863,"column":8}}]},"48":{"line":867,"type":"if","locations":[{"start":{"line":867,"column":8},"end":{"line":867,"column":8}},{"start":{"line":867,"column":8},"end":{"line":867,"column":8}}]},"49":{"line":869,"type":"if","locations":[{"start":{"line":869,"column":15},"end":{"line":869,"column":15}},{"start":{"line":869,"column":15},"end":{"line":869,"column":15}}]},"50":{"line":884,"type":"if","locations":[{"start":{"line":884,"column":8},"end":{"line":884,"column":8}},{"start":{"line":884,"column":8},"end":{"line":884,"column":8}}]},"51":{"line":924,"type":"cond-expr","locations":[{"start":{"line":924,"column":25},"end":{"line":924,"column":35}},{"start":{"line":924,"column":38},"end":{"line":924,"column":51}}]},"52":{"line":925,"type":"cond-expr","locations":[{"start":{"line":925,"column":46},"end":{"line":925,"column":54}},{"start":{"line":925,"column":57},"end":{"line":925,"column":67}}]},"53":{"line":929,"type":"if","locations":[{"start":{"line":929,"column":8},"end":{"line":929,"column":8}},{"start":{"line":929,"column":8},"end":{"line":929,"column":8}}]},"54":{"line":933,"type":"cond-expr","locations":[{"start":{"line":933,"column":30},"end":{"line":933,"column":60}},{"start":{"line":933,"column":62},"end":{"line":933,"column":78}}]},"55":{"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}}]},"56":{"line":974,"type":"if","locations":[{"start":{"line":974,"column":8},"end":{"line":974,"column":8}},{"start":{"line":974,"column":8},"end":{"line":974,"column":8}}]},"57":{"line":974,"type":"binary-expr","locations":[{"start":{"line":974,"column":12},"end":{"line":974,"column":31}},{"start":{"line":974,"column":35},"end":{"line":974,"column":56}}]},"58":{"line":1011,"type":"if","locations":[{"start":{"line":1011,"column":8},"end":{"line":1011,"column":8}},{"start":{"line":1011,"column":8},"end":{"line":1011,"column":8}}]},"59":{"line":1339,"type":"binary-expr","locations":[{"start":{"line":1339,"column":20},"end":{"line":1339,"column":37}},{"start":{"line":1339,"column":41},"end":{"line":1339,"column":45}}]}},"code":["(function () { YUI.add('console', function (Y, NAME) {","","/**"," * Console creates a visualization for messages logged through calls to a YUI"," * instance's <code>Y.log( message, category, source )</code> method. The"," * debug versions of YUI modules will include logging statements to offer some"," * insight into the steps executed during that module's operation. Including"," * log statements in your code will cause those messages to also appear in the"," * Console. Use Console to aid in developing your page or application."," *"," * Entry categories "info", "warn", and "error""," * are also referred to as the log level, and entries are filtered against the"," * configured logLevel."," *"," * @module console"," * @class Console"," * @extends Widget"," * @param conf {Object} Configuration object (see Configuration attributes)"," * @constructor"," */","var getCN = Y.ClassNameManager.getClassName,"," CHECKED = 'checked',"," CLEAR = 'clear',"," CLICK = 'click',"," COLLAPSED = 'collapsed',"," CONSOLE = 'console',"," CONTENT_BOX = 'contentBox',"," DISABLED = 'disabled',"," ENTRY = 'entry',"," ERROR = 'error',"," HEIGHT = 'height',"," INFO = 'info',"," LAST_TIME = 'lastTime',"," PAUSE = 'pause',"," PAUSED = 'paused',"," RESET = 'reset',"," START_TIME = 'startTime',"," TITLE = 'title',"," WARN = 'warn',",""," DOT = '.',",""," C_BUTTON = getCN(CONSOLE,'button'),"," C_CHECKBOX = getCN(CONSOLE,'checkbox'),"," C_CLEAR = getCN(CONSOLE,CLEAR),"," C_COLLAPSE = getCN(CONSOLE,'collapse'),"," C_COLLAPSED = getCN(CONSOLE,COLLAPSED),"," C_CONSOLE_CONTROLS = getCN(CONSOLE,'controls'),"," C_CONSOLE_HD = getCN(CONSOLE,'hd'),"," C_CONSOLE_BD = getCN(CONSOLE,'bd'),"," C_CONSOLE_FT = getCN(CONSOLE,'ft'),"," C_CONSOLE_TITLE = getCN(CONSOLE,TITLE),"," C_ENTRY = getCN(CONSOLE,ENTRY),"," C_ENTRY_CAT = getCN(CONSOLE,ENTRY,'cat'),"," C_ENTRY_CONTENT = getCN(CONSOLE,ENTRY,'content'),"," C_ENTRY_META = getCN(CONSOLE,ENTRY,'meta'),"," C_ENTRY_SRC = getCN(CONSOLE,ENTRY,'src'),"," C_ENTRY_TIME = getCN(CONSOLE,ENTRY,'time'),"," C_PAUSE = getCN(CONSOLE,PAUSE),"," C_PAUSE_LABEL = getCN(CONSOLE,PAUSE,'label'),",""," RE_INLINE_SOURCE = /^(\\S+)\\s/,"," RE_AMP = /&(?!#?[a-z0-9]+;)/g,"," RE_GT = />/g,"," RE_LT = /</g,",""," ESC_AMP = '&',"," ESC_GT = '>',"," ESC_LT = '<',"," "," ENTRY_TEMPLATE_STR ="," '<div class=\"{entry_class} {cat_class} {src_class}\">'+"," '<p class=\"{entry_meta_class}\">'+"," '<span class=\"{entry_src_class}\">'+"," '{sourceAndDetail}'+"," '</span>'+"," '<span class=\"{entry_cat_class}\">'+"," '{category}</span>'+"," '<span class=\"{entry_time_class}\">'+"," ' {totalTime}ms (+{elapsedTime}) {localTime}'+"," '</span>'+"," '</p>'+"," '<pre class=\"{entry_content_class}\">{message}</pre>'+"," '</div>',",""," L = Y.Lang,"," create = Y.Node.create,"," isNumber = L.isNumber,"," isString = L.isString,"," merge = Y.merge,"," substitute = Y.Lang.sub;"," ","","function Console() {"," Console.superclass.constructor.apply(this,arguments);","}","","Y.Console = Y.extend(Console, Y.Widget,","","// Y.Console prototype","{"," /**"," * Category to prefix all event subscriptions to allow for ease of detach"," * during destroy."," *"," * @property _evtCat"," * @type string"," * @protected"," */"," _evtCat : null,",""," /**"," * Reference to the Node instance containing the header contents."," *"," * @property _head"," * @type Node"," * @default null"," * @protected"," */"," _head : null,",""," /**"," * Reference to the Node instance that will house the console messages."," *"," * @property _body"," * @type Node"," * @default null"," * @protected"," */"," _body : null,",""," /**"," * Reference to the Node instance containing the footer contents."," *"," * @property _foot"," * @type Node"," * @default null"," * @protected"," */"," _foot : null,",""," /**"," * Holds the object API returned from <code>Y.later</code> for the print"," * loop interval."," *"," * @property _printLoop"," * @type Object"," * @default null"," * @protected"," */"," _printLoop : null,",""," /**"," * Array of normalized message objects awaiting printing."," *"," * @property buffer"," * @type Array"," * @default null"," * @protected"," */"," buffer : null,",""," /**"," * Wrapper for <code>Y.log</code>."," *"," * @method log"," * @param arg* {MIXED} (all arguments passed through to <code>Y.log</code>)"," * @chainable"," */"," log : function () {"," Y.log.apply(Y,arguments);",""," return this;"," },",""," /**"," * Clear the console of messages and flush the buffer of pending messages."," *"," * @method clearConsole"," * @chainable"," */"," clearConsole : function () {"," // TODO: clear event listeners from console contents"," this._body.empty();",""," this._cancelPrintLoop();",""," this.buffer = [];",""," return this;"," },",""," /**"," * Clears the console and resets internal timers."," *"," * @method reset"," * @chainable"," */"," reset : function () {"," this.fire(RESET);"," "," return this;"," },",""," /**"," * Collapses the body and footer."," *"," * @method collapse"," * @chainable"," */"," collapse : function () {"," this.set(COLLAPSED, true);",""," return this;"," },",""," /**"," * Expands the body and footer if collapsed."," *"," * @method expand"," * @chainable"," */"," expand : function () {"," this.set(COLLAPSED, false);",""," return this;"," },",""," /**"," * Outputs buffered messages to the console UI. This is typically called"," * from a scheduled interval until the buffer is empty (referred to as the"," * print loop). The number of buffered messages output to the Console is"," * limited to the number provided as an argument. If no limit is passed,"," * all buffered messages are rendered."," * "," * @method printBuffer"," * @param limit {Number} (optional) max number of buffered entries to write"," * @chainable"," */"," printBuffer: function (limit) {"," var messages = this.buffer,"," debug = Y.config.debug,"," entries = [],"," consoleLimit= this.get('consoleLimit'),"," newestOnTop = this.get('newestOnTop'),"," anchor = newestOnTop ? this._body.get('firstChild') : null,"," i;",""," if (messages.length > consoleLimit) {"," messages.splice(0, messages.length - consoleLimit);"," }",""," limit = Math.min(messages.length, (limit || messages.length));"," "," // turn off logging system"," Y.config.debug = false;",""," if (!this.get(PAUSED) && this.get('rendered')) {",""," for (i = 0; i < limit && messages.length; ++i) {"," entries[i] = this._createEntryHTML(messages.shift());"," }",""," if (!messages.length) {"," this._cancelPrintLoop();"," }",""," if (entries.length) {"," if (newestOnTop) {"," entries.reverse();"," }",""," this._body.insertBefore(create(entries.join('')), anchor);",""," if (this.get('scrollIntoView')) {"," this.scrollToLatest();"," }",""," this._trimOldEntries();"," }"," }",""," // restore logging system"," Y.config.debug = debug;",""," return this;"," },",""," "," /**"," * Constructor code. Set up the buffer and entry template, publish"," * internal events, and subscribe to the configured logEvent."," * "," * @method initializer"," * @protected"," */"," initializer : function () {"," this._evtCat = Y.stamp(this) + '|';",""," this.buffer = [];",""," this.get('logSource').on(this._evtCat +"," this.get('logEvent'),Y.bind(\"_onLogEvent\",this));",""," /**"," * Transfers a received message to the print loop buffer. Default"," * behavior defined in _defEntryFn."," *"," * @event entry"," * @param event {Event.Facade} An Event Facade object with the following attribute specific properties added:"," * <dl>"," * <dt>message</dt>"," * <dd>The message data normalized into an object literal (see _normalizeMessage)</dd>"," * </dl>"," * @preventable _defEntryFn"," */"," this.publish(ENTRY, { defaultFn: this._defEntryFn });",""," /**"," * Triggers the reset behavior via the default logic in _defResetFn."," *"," * @event reset"," * @param event {Event.Facade} Event Facade object"," * @preventable _defResetFn"," */"," this.publish(RESET, { defaultFn: this._defResetFn });",""," this.after('rendered', this._schedulePrint);"," },",""," /**"," * Tears down the instance, flushing event subscriptions and purging the UI."," *"," * @method destructor"," * @protected"," */"," destructor : function () {"," var bb = this.get('boundingBox');",""," this._cancelPrintLoop();",""," this.get('logSource').detach(this._evtCat + '*');"," "," bb.purge(true);"," },",""," /**"," * Generate the Console UI."," *"," * @method renderUI"," * @protected"," */"," renderUI : function () {"," this._initHead();"," this._initBody();"," this._initFoot();",""," // Apply positioning to the bounding box if appropriate"," var style = this.get('style');"," if (style !== 'block') {"," this.get('boundingBox').addClass(this.getClassName(style));"," }"," },",""," /**"," * Sync the UI state to the current attribute state."," *"," * @method syncUI"," */"," syncUI : function () {"," this._uiUpdatePaused(this.get(PAUSED));"," this._uiUpdateCollapsed(this.get(COLLAPSED));"," this._uiSetHeight(this.get(HEIGHT));"," },",""," /**"," * Set up event listeners to wire up the UI to the internal state."," *"," * @method bindUI"," * @protected"," */"," bindUI : function () {"," this.get(CONTENT_BOX).one('button.'+C_COLLAPSE)."," on(CLICK,this._onCollapseClick,this);",""," this.get(CONTENT_BOX).one('input[type=checkbox].'+C_PAUSE)."," on(CLICK,this._onPauseClick,this);",""," this.get(CONTENT_BOX).one('button.'+C_CLEAR)."," on(CLICK,this._onClearClick,this);",""," // Attribute changes"," this.after(this._evtCat + 'stringsChange',"," this._afterStringsChange);"," this.after(this._evtCat + 'pausedChange',"," this._afterPausedChange);"," this.after(this._evtCat + 'consoleLimitChange',"," this._afterConsoleLimitChange);"," this.after(this._evtCat + 'collapsedChange',"," this._afterCollapsedChange);"," },",""," "," /**"," * Create the DOM structure for the header elements."," *"," * @method _initHead"," * @protected"," */"," _initHead : function () {"," var cb = this.get(CONTENT_BOX),"," info = merge(Console.CHROME_CLASSES, {"," str_collapse : this.get('strings.collapse'),"," str_title : this.get('strings.title')"," });",""," this._head = create(substitute(Console.HEADER_TEMPLATE,info));",""," cb.insertBefore(this._head,cb.get('firstChild'));"," },",""," /**"," * Create the DOM structure for the console body—where messages are"," * rendered."," *"," * @method _initBody"," * @protected"," */"," _initBody : function () {"," this._body = create(substitute("," Console.BODY_TEMPLATE,"," Console.CHROME_CLASSES));",""," this.get(CONTENT_BOX).appendChild(this._body);"," },",""," /**"," * Create the DOM structure for the footer elements."," *"," * @method _initFoot"," * @protected"," */"," _initFoot : function () {"," var info = merge(Console.CHROME_CLASSES, {"," id_guid : Y.guid(),"," str_pause : this.get('strings.pause'),"," str_clear : this.get('strings.clear')"," });",""," this._foot = create(substitute(Console.FOOTER_TEMPLATE,info));",""," this.get(CONTENT_BOX).appendChild(this._foot);"," },",""," /**"," * Determine if incoming log messages are within the configured logLevel"," * to be buffered for printing."," *"," * @method _isInLogLevel"," * @protected"," */"," _isInLogLevel : function (e) {"," var cat = e.cat, lvl = this.get('logLevel');",""," if (lvl !== INFO) {"," cat = cat || INFO;",""," if (isString(cat)) {"," cat = cat.toLowerCase();"," }",""," if ((cat === WARN && lvl === ERROR) ||"," (cat === INFO && lvl !== INFO)) {"," return false;"," }"," }",""," return true;"," },",""," /**"," * Create a log entry message from the inputs including the following keys:"," * <ul>"," * <li>time - this moment</li>"," * <li>message - leg message</li>"," * <li>category - logLevel or custom category for the message</li>"," * <li>source - when provided, the widget or util calling Y.log</li>"," * <li>sourceAndDetail - same as source but can include instance info</li>"," * <li>localTime - readable version of time</li>"," * <li>elapsedTime - ms since last entry</li>"," * <li>totalTime - ms since Console was instantiated or reset</li>"," * </ul>"," *"," * @method _normalizeMessage"," * @param e {Event} custom event containing the log message"," * @return Object the message object"," * @protected"," */"," _normalizeMessage : function (e) {",""," var msg = e.msg,"," cat = e.cat,"," src = e.src,",""," m = {"," time : new Date(),"," message : msg,"," category : cat || this.get('defaultCategory'),"," sourceAndDetail : src || this.get('defaultSource'),"," source : null,"," localTime : null,"," elapsedTime : null,"," totalTime : null"," };",""," // Extract m.source \"Foo\" from m.sourceAndDetail \"Foo bar baz\""," m.source = RE_INLINE_SOURCE.test(m.sourceAndDetail) ?"," RegExp.$1 : m.sourceAndDetail;"," m.localTime = m.time.toLocaleTimeString ? "," m.time.toLocaleTimeString() : (m.time + '');"," m.elapsedTime = m.time - this.get(LAST_TIME);"," m.totalTime = m.time - this.get(START_TIME);",""," this._set(LAST_TIME,m.time);",""," return m;"," },",""," /**"," * Sets an interval for buffered messages to be output to the console."," *"," * @method _schedulePrint"," * @protected"," */"," _schedulePrint : function () {"," if (!this._printLoop && !this.get(PAUSED) && this.get('rendered')) {"," this._printLoop = Y.later("," this.get('printTimeout'),"," this, this.printBuffer,"," this.get('printLimit'), true);"," }"," },",""," /**"," * Translates message meta into the markup for a console entry."," *"," * @method _createEntryHTML"," * @param m {Object} object literal containing normalized message metadata"," * @return String"," * @protected"," */"," _createEntryHTML : function (m) {"," m = merge("," this._htmlEscapeMessage(m),"," Console.ENTRY_CLASSES,"," {"," cat_class : this.getClassName(ENTRY,m.category),"," src_class : this.getClassName(ENTRY,m.source)"," });",""," return this.get('entryTemplate').replace(/\\{(\\w+)\\}/g,"," function (_,token) {"," return token in m ? m[token] : '';"," });"," },",""," /**"," * Scrolls to the most recent entry"," *"," * @method scrollToLatest"," * @chainable"," */"," scrollToLatest : function () {"," var scrollTop = this.get('newestOnTop') ?"," 0 :"," this._body.get('scrollHeight');",""," this._body.set('scrollTop', scrollTop);"," },",""," /**"," * Performs HTML escaping on strings in the message object."," *"," * @method _htmlEscapeMessage"," * @param m {Object} the normalized message object"," * @return Object the message object with proper escapement"," * @protected"," */"," _htmlEscapeMessage : function (m) {"," m.message = this._encodeHTML(m.message);"," m.source = this._encodeHTML(m.source);"," m.sourceAndDetail = this._encodeHTML(m.sourceAndDetail);"," m.category = this._encodeHTML(m.category);",""," return m;"," },",""," /**"," * Removes the oldest message entries from the UI to maintain the limit"," * specified in the consoleLimit configuration."," *"," * @method _trimOldEntries"," * @protected"," */"," _trimOldEntries : function () {"," // Turn off the logging system for the duration of this operation"," // to prevent an infinite loop"," Y.config.debug = false;",""," var bd = this._body,"," limit = this.get('consoleLimit'),"," debug = Y.config.debug,"," entries,e,i,l;",""," if (bd) {"," entries = bd.all(DOT+C_ENTRY);"," l = entries.size() - limit;",""," if (l > 0) {"," if (this.get('newestOnTop')) {"," i = limit;"," l = entries.size();"," } else {"," i = 0;"," }",""," this._body.setStyle('display','none');",""," for (;i < l; ++i) {"," e = entries.item(i);"," if (e) {"," e.remove();"," }"," }",""," this._body.setStyle('display','');"," }",""," }",""," Y.config.debug = debug;"," },",""," /**"," * Returns the input string with ampersands (&), <, and > encoded"," * as HTML entities."," *"," * @method _encodeHTML"," * @param s {String} the raw string"," * @return String the encoded string"," * @protected"," */"," _encodeHTML : function (s) {"," return isString(s) ?"," s.replace(RE_AMP,ESC_AMP)."," replace(RE_LT, ESC_LT)."," replace(RE_GT, ESC_GT) :"," s;"," },",""," /**"," * Clears the timeout for printing buffered messages."," *"," * @method _cancelPrintLoop"," * @protected"," */"," _cancelPrintLoop : function () {"," if (this._printLoop) {"," this._printLoop.cancel();"," this._printLoop = null;"," }"," },",""," /**"," * Validates input value for style attribute. Accepts only values 'inline',"," * 'block', and 'separate'."," *"," * @method _validateStyle"," * @param style {String} the proposed value"," * @return {Boolean} pass/fail"," * @protected"," */"," _validateStyle : function (style) {"," return style === 'inline' || style === 'block' || style === 'separate';"," },",""," /**"," * Event handler for clicking on the Pause checkbox to update the paused"," * attribute."," *"," * @method _onPauseClick"," * @param e {Event} DOM event facade for the click event"," * @protected"," */"," _onPauseClick : function (e) {"," this.set(PAUSED,e.target.get(CHECKED));"," },",""," /**"," * Event handler for clicking on the Clear button. Pass-through to"," * <code>this.clearConsole()</code>."," *"," * @method _onClearClick"," * @param e {Event} DOM event facade for the click event"," * @protected"," */"," _onClearClick : function (e) {"," this.clearConsole();"," },",""," /**"," * Event handler for clicking on the Collapse/Expand button. Sets the"," * "collapsed" attribute accordingly."," *"," * @method _onCollapseClick"," * @param e {Event} DOM event facade for the click event"," * @protected"," */"," _onCollapseClick : function (e) {"," this.set(COLLAPSED, !this.get(COLLAPSED));"," },","",""," /**"," * Validator for logSource attribute."," *"," * @method _validateLogSource"," * @param v {Object} the desired logSource"," * @return {Boolean} true if the input is an object with an <code>on</code>"," * method"," * @protected"," */"," _validateLogSource: function (v) {"," return v && Y.Lang.isFunction(v.on);"," },",""," /**"," * Setter method for logLevel attribute. Acceptable values are"," * "error", "warn", and "info" (case"," * insensitive). Other values are treated as "info"."," *"," * @method _setLogLevel"," * @param v {String} the desired log level"," * @return String One of Console.LOG_LEVEL_INFO, _WARN, or _ERROR"," * @protected"," */"," _setLogLevel : function (v) {"," if (isString(v)) {"," v = v.toLowerCase();"," }"," "," return (v === WARN || v === ERROR) ? v : INFO;"," },",""," /**"," * Getter method for useBrowserConsole attribute. Just a pass through to"," * the YUI instance configuration setting."," *"," * @method _getUseBrowserConsole"," * @return {Boolean} or null if logSource is not a YUI instance"," * @protected"," */"," _getUseBrowserConsole: function () {"," var logSource = this.get('logSource');"," return logSource instanceof YUI ?"," logSource.config.useBrowserConsole : null;"," },",""," /**"," * Setter method for useBrowserConsole attributes. Only functional if the"," * logSource attribute points to a YUI instance. Passes the value down to"," * the YUI instance. NOTE: multiple Console instances cannot maintain"," * independent useBrowserConsole values, since it is just a pass through to"," * the YUI instance configuration."," *"," * @method _setUseBrowserConsole"," * @param v {Boolean} false to disable browser console printing (default)"," * @return {Boolean} true|false if logSource is a YUI instance"," * @protected"," */"," _setUseBrowserConsole: function (v) {"," var logSource = this.get('logSource');"," if (logSource instanceof YUI) {"," v = !!v;"," logSource.config.useBrowserConsole = v;"," return v;"," } else {"," return Y.Attribute.INVALID_VALUE;"," }"," },",""," /**"," * Set the height of the Console container. Set the body height to the"," * difference between the configured height and the calculated heights of"," * the header and footer."," * Overrides Widget.prototype._uiSetHeight."," *"," * @method _uiSetHeight"," * @param v {String|Number} the new height"," * @protected"," */"," _uiSetHeight : function (v) {"," Console.superclass._uiSetHeight.apply(this,arguments);",""," if (this._head && this._foot) {"," var h = this.get('boundingBox').get('offsetHeight') -"," this._head.get('offsetHeight') -"," this._foot.get('offsetHeight');",""," this._body.setStyle(HEIGHT,h+'px');"," }"," },",""," /**"," * Over-ride default content box sizing to do nothing, since we're sizing"," * the body section to fill out height ourselves."," * "," * @method _uiSizeCB"," * @protected"," */"," _uiSizeCB : function() {"," // Do Nothing. Ideally want to move to Widget-StdMod, which accounts for"," // _uiSizeCB "," },",""," /**"," * Updates the UI if changes are made to any of the strings in the strings"," * attribute."," *"," * @method _afterStringsChange"," * @param e {Event} Custom event for the attribute change"," * @protected"," */"," _afterStringsChange : function (e) {"," var prop = e.subAttrName ? e.subAttrName.split(DOT)[1] : null,"," cb = this.get(CONTENT_BOX),"," before = e.prevVal,"," after = e.newVal;",""," if ((!prop || prop === TITLE) && before.title !== after.title) {"," cb.all(DOT+C_CONSOLE_TITLE).setHTML(after.title);"," }",""," if ((!prop || prop === PAUSE) && before.pause !== after.pause) {"," cb.all(DOT+C_PAUSE_LABEL).setHTML(after.pause);"," }",""," if ((!prop || prop === CLEAR) && before.clear !== after.clear) {"," cb.all(DOT+C_CLEAR).set('value',after.clear);"," }"," },",""," /**"," * Updates the UI and schedules or cancels the print loop."," *"," * @method _afterPausedChange"," * @param e {Event} Custom event for the attribute change"," * @protected"," */"," _afterPausedChange : function (e) {"," var paused = e.newVal;",""," if (e.src !== Y.Widget.SRC_UI) {"," this._uiUpdatePaused(paused);"," }",""," if (!paused) {"," this._schedulePrint();"," } else if (this._printLoop) {"," this._cancelPrintLoop();"," }"," },",""," /**"," * Checks or unchecks the paused checkbox"," *"," * @method _uiUpdatePaused"," * @param on {Boolean} the new checked state"," * @protected"," */"," _uiUpdatePaused : function (on) {"," var node = this._foot.all('input[type=checkbox].'+C_PAUSE);",""," if (node) {"," node.set(CHECKED,on);"," }"," },",""," /**"," * Calls this._trimOldEntries() in response to changes in the configured"," * consoleLimit attribute."," * "," * @method _afterConsoleLimitChange"," * @param e {Event} Custom event for the attribute change"," * @protected"," */"," _afterConsoleLimitChange : function () {"," this._trimOldEntries();"," },","",""," /**"," * Updates the className of the contentBox, which should trigger CSS to"," * hide or show the body and footer sections depending on the new value."," *"," * @method _afterCollapsedChange"," * @param e {Event} Custom event for the attribute change"," * @protected"," */"," _afterCollapsedChange : function (e) {"," this._uiUpdateCollapsed(e.newVal);"," },",""," /**"," * Updates the UI to reflect the new Collapsed state"," *"," * @method _uiUpdateCollapsed"," * @param v {Boolean} true for collapsed, false for expanded"," * @protected"," */"," _uiUpdateCollapsed : function (v) {"," var bb = this.get('boundingBox'),"," button = bb.all('button.'+C_COLLAPSE),"," method = v ? 'addClass' : 'removeClass',"," str = this.get('strings.'+(v ? 'expand' : 'collapse'));",""," bb[method](C_COLLAPSED);",""," if (button) {"," button.setHTML(str);"," }",""," this._uiSetHeight(v ? this._head.get('offsetHeight'): this.get(HEIGHT));"," },",""," /**"," * Makes adjustments to the UI if needed when the Console is hidden or shown"," *"," * @method _afterVisibleChange"," * @param e {Event} the visibleChange event"," * @protected"," */"," _afterVisibleChange : function (e) {"," Console.superclass._afterVisibleChange.apply(this,arguments);",""," this._uiUpdateFromHideShow(e.newVal);"," },",""," /**"," * Recalculates dimensions and updates appropriately when shown"," *"," * @method _uiUpdateFromHideShow"," * @param v {Boolean} true for visible, false for hidden"," * @protected"," */"," _uiUpdateFromHideShow : function (v) {"," if (v) {"," this._uiSetHeight(this.get(HEIGHT));"," }"," },",""," /**"," * Responds to log events by normalizing qualifying messages and passing"," * them along through the entry event for buffering etc."," * "," * @method _onLogEvent"," * @param msg {String} the log message"," * @param cat {String} OPTIONAL the category or logLevel of the message"," * @param src {String} OPTIONAL the source of the message (e.g. widget name)"," * @protected"," */"," _onLogEvent : function (e) {",""," if (!this.get(DISABLED) && this._isInLogLevel(e)) {",""," var debug = Y.config.debug;",""," /* TODO: needed? */"," Y.config.debug = false;",""," this.fire(ENTRY, {"," message : this._normalizeMessage(e)"," });",""," Y.config.debug = debug;"," }"," },",""," /**"," * Clears the console, resets the startTime attribute, enables and"," * unpauses the widget."," *"," * @method _defResetFn"," * @protected"," */"," _defResetFn : function () {"," this.clearConsole();"," this.set(START_TIME,new Date());"," this.set(DISABLED,false);"," this.set(PAUSED,false);"," },",""," /**"," * Buffers incoming message objects and schedules the printing."," *"," * @method _defEntryFn"," * @param e {Event} The Custom event carrying the message in its payload"," * @protected"," */"," _defEntryFn : function (e) {"," if (e.message) {"," this.buffer.push(e.message);"," this._schedulePrint();"," }"," }","","},","","// Y.Console static properties","{"," /**"," * The identity of the widget."," *"," * @property NAME"," * @type String"," * @static"," */"," NAME : CONSOLE,",""," /**"," * Static identifier for logLevel configuration setting to allow all"," * incoming messages to generate Console entries."," *"," * @property LOG_LEVEL_INFO"," * @type String"," * @static"," */"," LOG_LEVEL_INFO : INFO,",""," /**"," * Static identifier for logLevel configuration setting to allow only"," * incoming messages of logLevel "warn" or "error""," * to generate Console entries."," *"," * @property LOG_LEVEL_WARN"," * @type String"," * @static"," */"," LOG_LEVEL_WARN : WARN,",""," /**"," * Static identifier for logLevel configuration setting to allow only"," * incoming messages of logLevel "error" to generate"," * Console entries."," *"," * @property LOG_LEVEL_ERROR"," * @type String"," * @static"," */"," LOG_LEVEL_ERROR : ERROR,",""," /**"," * Map (object) of classNames used to populate the placeholders in the"," * Console.ENTRY_TEMPLATE markup when rendering a new Console entry."," *"," * <p>By default, the keys contained in the object are:</p>"," * <ul>"," * <li>entry_class</li>"," * <li>entry_meta_class</li>"," * <li>entry_cat_class</li>"," * <li>entry_src_class</li>"," * <li>entry_time_class</li>"," * <li>entry_content_class</li>"," * </ul>"," *"," * @property ENTRY_CLASSES"," * @type Object"," * @static"," */"," ENTRY_CLASSES : {"," entry_class : C_ENTRY,"," entry_meta_class : C_ENTRY_META,"," entry_cat_class : C_ENTRY_CAT,"," entry_src_class : C_ENTRY_SRC,"," entry_time_class : C_ENTRY_TIME,"," entry_content_class : C_ENTRY_CONTENT"," },",""," /**"," * Map (object) of classNames used to populate the placeholders in the"," * Console.HEADER_TEMPLATE, Console.BODY_TEMPLATE, and"," * Console.FOOTER_TEMPLATE markup when rendering the Console UI."," *"," * <p>By default, the keys contained in the object are:</p>"," * <ul>"," * <li>console_hd_class</li>"," * <li>console_bd_class</li>"," * <li>console_ft_class</li>"," * <li>console_controls_class</li>"," * <li>console_checkbox_class</li>"," * <li>console_pause_class</li>"," * <li>console_pause_label_class</li>"," * <li>console_button_class</li>"," * <li>console_clear_class</li>"," * <li>console_collapse_class</li>"," * <li>console_title_class</li>"," * </ul>"," *"," * @property CHROME_CLASSES"," * @type Object"," * @static"," */"," CHROME_CLASSES : {"," console_hd_class : C_CONSOLE_HD,"," console_bd_class : C_CONSOLE_BD,"," console_ft_class : C_CONSOLE_FT,"," console_controls_class : C_CONSOLE_CONTROLS,"," console_checkbox_class : C_CHECKBOX,"," console_pause_class : C_PAUSE,"," console_pause_label_class : C_PAUSE_LABEL,"," console_button_class : C_BUTTON,"," console_clear_class : C_CLEAR,"," console_collapse_class : C_COLLAPSE,"," console_title_class : C_CONSOLE_TITLE"," },",""," /**"," * Markup template used to generate the DOM structure for the header"," * section of the Console when it is rendered. The template includes"," * these {placeholder}s:"," *"," * <ul>"," * <li>console_button_class - contributed by Console.CHROME_CLASSES</li>"," * <li>console_collapse_class - contributed by Console.CHROME_CLASSES</li>"," * <li>console_hd_class - contributed by Console.CHROME_CLASSES</li>"," * <li>console_title_class - contributed by Console.CHROME_CLASSES</li>"," * <li>str_collapse - pulled from attribute strings.collapse</li>"," * <li>str_title - pulled from attribute strings.title</li>"," * </ul>"," *"," * @property HEADER_TEMPLATE"," * @type String"," * @static"," */"," HEADER_TEMPLATE :"," '<div class=\"{console_hd_class}\">'+"," '<h4 class=\"{console_title_class}\">{str_title}</h4>'+"," '<button type=\"button\" class=\"'+"," '{console_button_class} {console_collapse_class}\">{str_collapse}'+"," '</button>'+"," '</div>',",""," /**"," * Markup template used to generate the DOM structure for the Console body"," * (where the messages are inserted) when it is rendered. The template"," * includes only the {placeholder} "console_bd_class", which is"," * constributed by Console.CHROME_CLASSES."," *"," * @property BODY_TEMPLATE"," * @type String"," * @static"," */"," BODY_TEMPLATE : '<div class=\"{console_bd_class}\"></div>',",""," /**"," * Markup template used to generate the DOM structure for the footer"," * section of the Console when it is rendered. The template includes"," * many of the {placeholder}s from Console.CHROME_CLASSES as well as:"," *"," * <ul>"," * <li>id_guid - generated unique id, relates the label and checkbox</li>"," * <li>str_pause - pulled from attribute strings.pause</li>"," * <li>str_clear - pulled from attribute strings.clear</li>"," * </ul>"," *"," * @property FOOTER_TEMPLATE"," * @type String"," * @static"," */"," FOOTER_TEMPLATE :"," '<div class=\"{console_ft_class}\">'+"," '<div class=\"{console_controls_class}\">'+"," '<label class=\"{console_pause_label_class}\"><input type=\"checkbox\" class=\"{console_checkbox_class} {console_pause_class}\" value=\"1\" id=\"{id_guid}\"> {str_pause}</label>' +"," '<button type=\"button\" class=\"'+"," '{console_button_class} {console_clear_class}\">{str_clear}'+"," '</button>'+"," '</div>'+"," '</div>',",""," /**"," * Default markup template used to create the DOM structure for Console"," * entries. The markup contains {placeholder}s for content and classes"," * that are replaced via Y.Lang.sub. The default template contains"," * the {placeholder}s identified in Console.ENTRY_CLASSES as well as the"," * following placeholders that will be populated by the log entry data:"," *"," * <ul>"," * <li>cat_class</li>"," * <li>src_class</li>"," * <li>totalTime</li>"," * <li>elapsedTime</li>"," * <li>localTime</li>"," * <li>sourceAndDetail</li>"," * <li>message</li>"," * </ul>"," *"," * @property ENTRY_TEMPLATE"," * @type String"," * @static"," */"," ENTRY_TEMPLATE : ENTRY_TEMPLATE_STR,",""," /**"," * Static property used to define the default attribute configuration of"," * the Widget."," *"," * @property ATTRS"," * @Type Object"," * @static"," */"," ATTRS : {",""," /**"," * Name of the custom event that will communicate log messages."," *"," * @attribute logEvent"," * @type String"," * @default \"yui:log\""," */"," logEvent : {"," value : 'yui:log',"," writeOnce : true,"," validator : isString"," },",""," /**"," * Object that will emit the log events. By default the YUI instance."," * To have a single Console capture events from all YUI instances, set"," * this to the Y.Global object."," *"," * @attribute logSource"," * @type EventTarget"," * @default Y"," */"," logSource : {"," value : Y,"," writeOnce : true,"," validator : function (v) {"," return this._validateLogSource(v);"," }"," },",""," /**"," * Collection of strings used to label elements in the Console UI."," * Default collection contains the following name:value pairs:"," *"," * <ul>"," * <li>title : "Log Console"</li>"," * <li>pause : "Pause"</li>"," * <li>clear : "Clear"</li>"," * <li>collapse : "Collapse"</li>"," * <li>expand : "Expand"</li>"," * </ul>"," *"," * @attribute strings"," * @type Object"," */"," strings : {"," valueFn: function() { return Y.Intl.get(\"console\"); }"," },",""," /**"," * Boolean to pause the outputting of new messages to the console."," * When paused, messages will accumulate in the buffer."," *"," * @attribute paused"," * @type boolean"," * @default false"," */"," paused : {"," value : false,"," validator : L.isBoolean"," },",""," /**"," * If a category is not specified in the Y.log(..) statement, this"," * category will be used. Categories "info","," * "warn", and "error" are also called log level."," *"," * @attribute defaultCategory"," * @type String"," * @default \"info\""," */"," defaultCategory : {"," value : INFO,"," validator : isString"," },",""," /**"," * If a source is not specified in the Y.log(..) statement, this"," * source will be used."," *"," * @attribute defaultSource"," * @type String"," * @default \"global\""," */"," defaultSource : {"," value : 'global',"," validator : isString"," },",""," /**"," * Markup template used to create the DOM structure for Console entries."," *"," * @attribute entryTemplate"," * @type String"," * @default Console.ENTRY_TEMPLATE"," */"," entryTemplate : {"," value : ENTRY_TEMPLATE_STR,"," validator : isString"," },",""," /**"," * Minimum entry log level to render into the Console. The initial"," * logLevel value for all Console instances defaults from the"," * Y.config.logLevel YUI configuration, or Console.LOG_LEVEL_INFO if"," * that configuration is not set."," *"," * Possible values are "info", "warn","," * "error" (case insensitive), or their corresponding statics"," * Console.LOG_LEVEL_INFO and so on."," *"," * @attribute logLevel"," * @type String"," * @default Y.config.logLevel or Console.LOG_LEVEL_INFO"," */"," logLevel : {"," value : Y.config.logLevel || INFO,"," setter : function (v) {"," return this._setLogLevel(v);"," }"," },",""," /**"," * Millisecond timeout between iterations of the print loop, moving"," * entries from the buffer to the UI."," *"," * @attribute printTimeout"," * @type Number"," * @default 100"," */"," printTimeout : {"," value : 100,"," validator : isNumber"," },",""," /**"," * Maximum number of entries printed in each iteration of the print"," * loop. This is used to prevent excessive logging locking the page UI."," *"," * @attribute printLimit"," * @type Number"," * @default 50"," */"," printLimit : {"," value : 50,"," validator : isNumber"," },",""," /**"," * Maximum number of Console entries allowed in the Console body at one"," * time. This is used to keep acquired messages from exploding the"," * DOM tree and impacting page performance."," *"," * @attribute consoleLimit"," * @type Number"," * @default 300"," */"," consoleLimit : {"," value : 300,"," validator : isNumber"," },",""," /**"," * New entries should display at the top of the Console or the bottom?"," *"," * @attribute newestOnTop"," * @type Boolean"," * @default true"," */"," newestOnTop : {"," value : true"," },",""," /**"," * When new entries are added to the Console UI, should they be"," * scrolled into view?"," *"," * @attribute scrollIntoView"," * @type Boolean"," * @default true"," */"," scrollIntoView : {"," value : true"," },",""," /**"," * The baseline time for this Console instance, used to measure elapsed"," * time from the moment the console module is <code>use</code>d to the"," * moment each new entry is logged (not rendered)."," *"," * This value is reset by the instance method myConsole.reset()."," *"," * @attribute startTime"," * @type Date"," * @default The moment the console module is <code>use</code>d"," */"," startTime : {"," value : new Date()"," },",""," /**"," * The precise time the last entry was logged. Used to measure elapsed"," * time between log messages."," *"," * @attribute lastTime"," * @type Date"," * @default The moment the console module is <code>use</code>d"," */"," lastTime : {"," value : new Date(),"," readOnly: true"," },",""," /**"," * Controls the collapsed state of the Console"," *"," * @attribute collapsed"," * @type Boolean"," * @default false"," */"," collapsed : {"," value : false"," },",""," /**"," * String with units, or number, representing the height of the Console,"," * inclusive of header and footer. If a number is provided, the default"," * unit, defined by Widget's DEF_UNIT, property is used."," *"," * @attribute height"," * @default \"300px\""," * @type {String | Number}"," */"," height: {"," value: \"300px\""," },",""," /**"," * String with units, or number, representing the width of the Console."," * If a number is provided, the default unit, defined by Widget's"," * DEF_UNIT, property is used."," *"," * @attribute width"," * @default \"300px\""," * @type {String | Number}"," */"," width: {"," value: \"300px\""," },",""," /**"," * Pass through to the YUI instance useBrowserConsole configuration."," * By default this is set to false, which will disable logging to the"," * browser console when a Console instance is created. If the"," * logSource is not a YUI instance, this has no effect."," * "," * @attribute useBrowserConsole"," * @type {Boolean}"," * @default false"," */"," useBrowserConsole : {"," lazyAdd: false,"," value: false,"," getter : function () {"," return this._getUseBrowserConsole();"," },"," setter : function (v) {"," return this._setUseBrowserConsole(v);"," }"," },",""," /**"," * Allows the Console to flow in the document. Available values are"," * 'inline', 'block', and 'separate' (the default). "," *"," * @attribute style"," * @type {String}"," * @default 'separate'"," */"," style : {"," value : 'separate',"," writeOnce : true,"," validator : function (v) {"," return this._validateStyle(v);"," }"," }"," }","","});","","","}, '3.10.3', {\"requires\": [\"yui-log\", \"widget\"], \"skinnable\": true, \"lang\": [\"en\", \"es\", \"it\", \"ja\"]});","","}());"]};