src/cm/media/js/lib/yui/yui_3.10.3/build/charts-legend/charts-legend-coverage.js
author gibus
Tue, 16 Jul 2013 14:29:46 +0200
changeset 525 89ef5ed3c48b
permissions -rw-r--r--
Upgrades to yui 3.10.3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
525
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     1
/*
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     2
YUI 3.10.3 (build 2fb5187)
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     3
Copyright 2013 Yahoo! Inc. All rights reserved.
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     4
Licensed under the BSD License.
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     5
http://yuilibrary.com/license/
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     6
*/
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     7
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     8
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     9
if (!__coverage__['build/charts-legend/charts-legend.js']) {
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
    10
   __coverage__['build/charts-legend/charts-legend.js'] = {"path":"build/charts-legend/charts-legend.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"169":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"178":0,"179":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"196":0,"197":0,"198":0,"199":0,"200":0,"201":0,"202":0,"203":0,"204":0,"205":0,"206":0,"207":0,"208":0,"209":0,"210":0,"211":0,"212":0,"213":0,"214":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"221":0,"222":0,"223":0,"224":0,"225":0,"226":0,"227":0,"228":0,"229":0,"230":0,"231":0,"232":0,"233":0,"234":0,"235":0,"236":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"246":0,"247":0,"248":0,"249":0,"250":0,"251":0,"252":0,"253":0,"254":0,"255":0,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"264":0,"265":0,"266":0,"267":0,"268":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"277":0,"278":0,"279":0,"280":0,"281":0,"282":0,"283":0,"284":0,"285":0,"286":0,"287":0,"288":0,"289":0,"290":0,"291":0,"292":0,"293":0,"294":0,"295":0,"296":0,"297":0,"298":0,"299":0,"300":0,"301":0,"302":0,"303":0,"304":0,"305":0,"306":0,"307":0,"308":0,"309":0,"310":0,"311":0,"312":0,"313":0,"314":0,"315":0,"316":0,"317":0,"318":0,"319":0,"320":0,"321":0,"322":0,"323":0,"324":0,"325":0,"326":0,"327":0,"328":0,"329":0,"330":0,"331":0,"332":0,"333":0,"334":0,"335":0,"336":0,"337":0,"338":0,"339":0,"340":0,"341":0,"342":0,"343":0,"344":0,"345":0,"346":0,"347":0,"348":0,"349":0,"350":0,"351":0,"352":0,"353":0,"354":0,"355":0,"356":0,"357":0,"358":0,"359":0,"360":0,"361":0,"362":0,"363":0,"364":0,"365":0,"366":0,"367":0,"368":0,"369":0,"370":0,"371":0,"372":0,"373":0,"374":0,"375":0,"376":0,"377":0,"378":0,"379":0,"380":0,"381":0,"382":0,"383":0,"384":0,"385":0,"386":0,"387":0,"388":0,"389":0,"390":0,"391":0,"392":0,"393":0,"394":0,"395":0,"396":0,"397":0,"398":0,"399":0,"400":0,"401":0,"402":0,"403":0,"404":0,"405":0,"406":0,"407":0,"408":0,"409":0,"410":0,"411":0,"412":0,"413":0,"414":0,"415":0,"416":0,"417":0,"418":0,"419":0,"420":0,"421":0,"422":0,"423":0,"424":0,"425":0,"426":0,"427":0,"428":0,"429":0,"430":0,"431":0,"432":0,"433":0,"434":0,"435":0,"436":0,"437":0,"438":0,"439":0,"440":0,"441":0,"442":0,"443":0,"444":0,"445":0,"446":0,"447":0,"448":0,"449":0,"450":0,"451":0,"452":0,"453":0,"454":0,"455":0,"456":0,"457":0,"458":0,"459":0,"460":0,"461":0,"462":0,"463":0,"464":0,"465":0,"466":0,"467":0,"468":0,"469":0,"470":0,"471":0,"472":0,"473":0,"474":0,"475":0,"476":0,"477":0,"478":0,"479":0,"480":0,"481":0,"482":0,"483":0,"484":0,"485":0,"486":0,"487":0,"488":0,"489":0,"490":0,"491":0,"492":0,"493":0,"494":0,"495":0,"496":0,"497":0,"498":0,"499":0,"500":0,"501":0,"502":0,"503":0,"504":0,"505":0,"506":0,"507":0,"508":0,"509":0,"510":0,"511":0,"512":0,"513":0,"514":0,"515":0,"516":0,"517":0,"518":0,"519":0,"520":0,"521":0,"522":0,"523":0,"524":0,"525":0,"526":0,"527":0,"528":0,"529":0,"530":0,"531":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,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,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0],"29":[0,0],"30":[0,0],"31":[0,0],"32":[0,0],"33":[0,0],"34":[0,0],"35":[0,0],"36":[0,0,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],"56":[0,0,0,0],"57":[0,0],"58":[0,0],"59":[0,0],"60":[0,0],"61":[0,0],"62":[0,0,0,0],"63":[0,0,0,0],"64":[0,0,0,0],"65":[0,0],"66":[0,0],"67":[0,0],"68":[0,0],"69":[0,0,0,0],"70":[0,0],"71":[0,0],"72":[0,0,0],"73":[0,0],"74":[0,0],"75":[0,0],"76":[0,0],"77":[0,0,0,0],"78":[0,0],"79":[0,0],"80":[0,0],"81":[0,0],"82":[0,0],"83":[0,0],"84":[0,0],"85":[0,0],"86":[0,0],"87":[0,0],"88":[0,0],"89":[0,0],"90":[0,0],"91":[0,0],"92":[0,0],"93":[0,0],"94":[0,0],"95":[0,0],"96":[0,0],"97":[0,0],"98":[0,0],"99":[0,0],"100":[0,0],"101":[0,0],"102":[0,0],"103":[0,0],"104":[0,0],"105":[0,0,0],"106":[0,0],"107":[0,0],"108":[0,0],"109":[0,0,0],"110":[0,0],"111":[0,0],"112":[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},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":44}}},"2":{"name":"(anonymous_2)","line":25,"loc":{"start":{"line":25,"column":12},"end":{"line":26,"column":4}}},"3":{"name":"(anonymous_3)","line":74,"loc":{"start":{"line":74,"column":26},"end":{"line":75,"column":4}}},"4":{"name":"(anonymous_4)","line":145,"loc":{"start":{"line":145,"column":19},"end":{"line":146,"column":4}}},"5":{"name":"(anonymous_5)","line":190,"loc":{"start":{"line":190,"column":19},"end":{"line":191,"column":4}}},"6":{"name":"(anonymous_6)","line":232,"loc":{"start":{"line":232,"column":26},"end":{"line":233,"column":4}}},"7":{"name":"(anonymous_7)","line":306,"loc":{"start":{"line":306,"column":22},"end":{"line":307,"column":4}}},"8":{"name":"(anonymous_8)","line":351,"loc":{"start":{"line":351,"column":19},"end":{"line":352,"column":4}}},"9":{"name":"(anonymous_9)","line":377,"loc":{"start":{"line":377,"column":13},"end":{"line":378,"column":4}}},"10":{"name":"(anonymous_10)","line":671,"loc":{"start":{"line":671,"column":29},"end":{"line":672,"column":4}}},"11":{"name":"(anonymous_11)","line":724,"loc":{"start":{"line":724,"column":16},"end":{"line":725,"column":4}}},"12":{"name":"(anonymous_12)","line":747,"loc":{"start":{"line":747,"column":13},"end":{"line":748,"column":4}}},"13":{"name":"(anonymous_13)","line":888,"loc":{"start":{"line":888,"column":17},"end":{"line":889,"column":4}}},"14":{"name":"(anonymous_14)","line":897,"loc":{"start":{"line":897,"column":14},"end":{"line":898,"column":4}}},"15":{"name":"(anonymous_15)","line":916,"loc":{"start":{"line":916,"column":12},"end":{"line":917,"column":4}}},"16":{"name":"(anonymous_16)","line":930,"loc":{"start":{"line":930,"column":12},"end":{"line":931,"column":4}}},"17":{"name":"(anonymous_17)","line":947,"loc":{"start":{"line":947,"column":20},"end":{"line":948,"column":4}}},"18":{"name":"(anonymous_18)","line":962,"loc":{"start":{"line":962,"column":28},"end":{"line":963,"column":4}}},"19":{"name":"(anonymous_19)","line":983,"loc":{"start":{"line":983,"column":23},"end":{"line":984,"column":4}}},"20":{"name":"(anonymous_20)","line":1001,"loc":{"start":{"line":1001,"column":17},"end":{"line":1002,"column":4}}},"21":{"name":"(anonymous_21)","line":1148,"loc":{"start":{"line":1148,"column":23},"end":{"line":1149,"column":4}}},"22":{"name":"(anonymous_22)","line":1175,"loc":{"start":{"line":1175,"column":28},"end":{"line":1176,"column":4}}},"23":{"name":"(anonymous_23)","line":1246,"loc":{"start":{"line":1246,"column":20},"end":{"line":1247,"column":4}}},"24":{"name":"(anonymous_24)","line":1299,"loc":{"start":{"line":1299,"column":20},"end":{"line":1300,"column":4}}},"25":{"name":"(anonymous_25)","line":1312,"loc":{"start":{"line":1312,"column":23},"end":{"line":1313,"column":4}}},"26":{"name":"(anonymous_26)","line":1356,"loc":{"start":{"line":1356,"column":22},"end":{"line":1357,"column":4}}},"27":{"name":"(anonymous_27)","line":1371,"loc":{"start":{"line":1371,"column":25},"end":{"line":1372,"column":4}}},"28":{"name":"(anonymous_28)","line":1406,"loc":{"start":{"line":1406,"column":16},"end":{"line":1407,"column":4}}},"29":{"name":"(anonymous_29)","line":1445,"loc":{"start":{"line":1445,"column":20},"end":{"line":1446,"column":12}}},"30":{"name":"(anonymous_30)","line":1476,"loc":{"start":{"line":1476,"column":20},"end":{"line":1477,"column":12}}},"31":{"name":"(anonymous_31)","line":1503,"loc":{"start":{"line":1503,"column":20},"end":{"line":1504,"column":12}}},"32":{"name":"(anonymous_32)","line":1525,"loc":{"start":{"line":1525,"column":20},"end":{"line":1526,"column":12}}},"33":{"name":"(anonymous_33)","line":1547,"loc":{"start":{"line":1547,"column":20},"end":{"line":1548,"column":12}}},"34":{"name":"(anonymous_34)","line":1569,"loc":{"start":{"line":1569,"column":20},"end":{"line":1570,"column":12}}},"35":{"name":"(anonymous_35)","line":1588,"loc":{"start":{"line":1588,"column":20},"end":{"line":1589,"column":12}}},"36":{"name":"(anonymous_36)","line":1611,"loc":{"start":{"line":1611,"column":20},"end":{"line":1612,"column":12}}},"37":{"name":"(anonymous_37)","line":1635,"loc":{"start":{"line":1635,"column":20},"end":{"line":1636,"column":12}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1704,"column":44}},"2":{"start":{"line":9,"column":0},"end":{"line":736,"column":3}},"3":{"start":{"line":27,"column":8},"end":{"line":27,"column":40}},"4":{"start":{"line":28,"column":8},"end":{"line":31,"column":9}},"5":{"start":{"line":30,"column":12},"end":{"line":30,"column":33}},"6":{"start":{"line":32,"column":8},"end":{"line":46,"column":9}},"7":{"start":{"line":34,"column":12},"end":{"line":34,"column":25}},"8":{"start":{"line":35,"column":12},"end":{"line":35,"column":38}},"9":{"start":{"line":39,"column":12},"end":{"line":39,"column":29}},"10":{"start":{"line":40,"column":12},"end":{"line":44,"column":13}},"11":{"start":{"line":42,"column":16},"end":{"line":42,"column":52}},"12":{"start":{"line":43,"column":16},"end":{"line":43,"column":48}},"13":{"start":{"line":45,"column":12},"end":{"line":45,"column":44}},"14":{"start":{"line":47,"column":8},"end":{"line":47,"column":22}},"15":{"start":{"line":76,"column":8},"end":{"line":94,"column":19}},"16":{"start":{"line":95,"column":8},"end":{"line":95,"column":74}},"17":{"start":{"line":96,"column":8},"end":{"line":96,"column":47}},"18":{"start":{"line":97,"column":8},"end":{"line":97,"column":65}},"19":{"start":{"line":98,"column":8},"end":{"line":98,"column":30}},"20":{"start":{"line":99,"column":8},"end":{"line":122,"column":9}},"21":{"start":{"line":101,"column":12},"end":{"line":101,"column":37}},"22":{"start":{"line":102,"column":12},"end":{"line":102,"column":36}},"23":{"start":{"line":103,"column":12},"end":{"line":103,"column":29}},"24":{"start":{"line":104,"column":12},"end":{"line":104,"column":118}},"25":{"start":{"line":105,"column":12},"end":{"line":120,"column":13}},"26":{"start":{"line":107,"column":16},"end":{"line":107,"column":30}},"27":{"start":{"line":108,"column":16},"end":{"line":108,"column":33}},"28":{"start":{"line":109,"column":16},"end":{"line":109,"column":39}},"29":{"start":{"line":110,"column":16},"end":{"line":110,"column":41}},"30":{"start":{"line":111,"column":16},"end":{"line":111,"column":37}},"31":{"start":{"line":112,"column":16},"end":{"line":112,"column":27}},"32":{"start":{"line":113,"column":16},"end":{"line":113,"column":80}},"33":{"start":{"line":114,"column":16},"end":{"line":114,"column":73}},"34":{"start":{"line":115,"column":16},"end":{"line":115,"column":107}},"35":{"start":{"line":116,"column":16},"end":{"line":116,"column":108}},"36":{"start":{"line":117,"column":16},"end":{"line":117,"column":56}},"37":{"start":{"line":118,"column":16},"end":{"line":118,"column":53}},"38":{"start":{"line":119,"column":16},"end":{"line":119,"column":57}},"39":{"start":{"line":121,"column":12},"end":{"line":121,"column":37}},"40":{"start":{"line":123,"column":8},"end":{"line":128,"column":10}},"41":{"start":{"line":129,"column":8},"end":{"line":132,"column":9}},"42":{"start":{"line":131,"column":12},"end":{"line":131,"column":59}},"43":{"start":{"line":147,"column":8},"end":{"line":154,"column":45}},"44":{"start":{"line":155,"column":8},"end":{"line":174,"column":9}},"45":{"start":{"line":157,"column":12},"end":{"line":157,"column":28}},"46":{"start":{"line":158,"column":12},"end":{"line":158,"column":35}},"47":{"start":{"line":159,"column":12},"end":{"line":172,"column":13}},"48":{"start":{"line":161,"column":16},"end":{"line":161,"column":56}},"49":{"start":{"line":162,"column":16},"end":{"line":162,"column":49}},"50":{"start":{"line":166,"column":16},"end":{"line":166,"column":55}},"51":{"start":{"line":167,"column":16},"end":{"line":170,"column":17}},"52":{"start":{"line":169,"column":20},"end":{"line":169,"column":37}},"53":{"start":{"line":171,"column":16},"end":{"line":171,"column":47}},"54":{"start":{"line":173,"column":12},"end":{"line":173,"column":54}},"55":{"start":{"line":175,"column":8},"end":{"line":175,"column":51}},"56":{"start":{"line":176,"column":8},"end":{"line":176,"column":65}},"57":{"start":{"line":192,"column":8},"end":{"line":192,"column":23}},"58":{"start":{"line":193,"column":8},"end":{"line":204,"column":9}},"59":{"start":{"line":196,"column":16},"end":{"line":196,"column":42}},"60":{"start":{"line":197,"column":12},"end":{"line":197,"column":18}},"61":{"start":{"line":199,"column":16},"end":{"line":199,"column":52}},"62":{"start":{"line":200,"column":12},"end":{"line":200,"column":18}},"63":{"start":{"line":202,"column":16},"end":{"line":202,"column":60}},"64":{"start":{"line":203,"column":12},"end":{"line":203,"column":18}},"65":{"start":{"line":205,"column":8},"end":{"line":205,"column":26}},"66":{"start":{"line":234,"column":8},"end":{"line":253,"column":19}},"67":{"start":{"line":254,"column":8},"end":{"line":254,"column":73}},"68":{"start":{"line":255,"column":8},"end":{"line":255,"column":51}},"69":{"start":{"line":256,"column":8},"end":{"line":256,"column":65}},"70":{"start":{"line":257,"column":8},"end":{"line":257,"column":36}},"71":{"start":{"line":258,"column":8},"end":{"line":283,"column":9}},"72":{"start":{"line":260,"column":12},"end":{"line":260,"column":39}},"73":{"start":{"line":261,"column":12},"end":{"line":261,"column":45}},"74":{"start":{"line":262,"column":12},"end":{"line":262,"column":32}},"75":{"start":{"line":263,"column":12},"end":{"line":263,"column":122}},"76":{"start":{"line":264,"column":12},"end":{"line":264,"column":28}},"77":{"start":{"line":265,"column":12},"end":{"line":281,"column":13}},"78":{"start":{"line":267,"column":16},"end":{"line":267,"column":33}},"79":{"start":{"line":268,"column":16},"end":{"line":268,"column":33}},"80":{"start":{"line":269,"column":16},"end":{"line":269,"column":41}},"81":{"start":{"line":270,"column":16},"end":{"line":270,"column":39}},"82":{"start":{"line":271,"column":16},"end":{"line":271,"column":38}},"83":{"start":{"line":272,"column":16},"end":{"line":272,"column":35}},"84":{"start":{"line":273,"column":16},"end":{"line":273,"column":76}},"85":{"start":{"line":274,"column":16},"end":{"line":274,"column":79}},"86":{"start":{"line":275,"column":16},"end":{"line":275,"column":103}},"87":{"start":{"line":276,"column":16},"end":{"line":276,"column":114}},"88":{"start":{"line":277,"column":16},"end":{"line":277,"column":54}},"89":{"start":{"line":278,"column":16},"end":{"line":278,"column":56}},"90":{"start":{"line":279,"column":16},"end":{"line":279,"column":57}},"91":{"start":{"line":280,"column":16},"end":{"line":280,"column":64}},"92":{"start":{"line":282,"column":12},"end":{"line":282,"column":37}},"93":{"start":{"line":284,"column":8},"end":{"line":289,"column":10}},"94":{"start":{"line":290,"column":8},"end":{"line":293,"column":9}},"95":{"start":{"line":292,"column":12},"end":{"line":292,"column":57}},"96":{"start":{"line":308,"column":8},"end":{"line":315,"column":47}},"97":{"start":{"line":316,"column":8},"end":{"line":335,"column":9}},"98":{"start":{"line":318,"column":12},"end":{"line":318,"column":28}},"99":{"start":{"line":319,"column":12},"end":{"line":319,"column":37}},"100":{"start":{"line":320,"column":12},"end":{"line":333,"column":13}},"101":{"start":{"line":322,"column":16},"end":{"line":322,"column":56}},"102":{"start":{"line":323,"column":16},"end":{"line":323,"column":55}},"103":{"start":{"line":327,"column":16},"end":{"line":327,"column":55}},"104":{"start":{"line":328,"column":16},"end":{"line":331,"column":17}},"105":{"start":{"line":330,"column":20},"end":{"line":330,"column":40}},"106":{"start":{"line":332,"column":16},"end":{"line":332,"column":53}},"107":{"start":{"line":334,"column":12},"end":{"line":334,"column":59}},"108":{"start":{"line":336,"column":8},"end":{"line":336,"column":55}},"109":{"start":{"line":337,"column":8},"end":{"line":337,"column":65}},"110":{"start":{"line":353,"column":8},"end":{"line":353,"column":23}},"111":{"start":{"line":354,"column":8},"end":{"line":365,"column":9}},"112":{"start":{"line":357,"column":16},"end":{"line":357,"column":41}},"113":{"start":{"line":358,"column":12},"end":{"line":358,"column":18}},"114":{"start":{"line":360,"column":16},"end":{"line":360,"column":53}},"115":{"start":{"line":361,"column":12},"end":{"line":361,"column":18}},"116":{"start":{"line":363,"column":16},"end":{"line":363,"column":62}},"117":{"start":{"line":364,"column":12},"end":{"line":364,"column":18}},"118":{"start":{"line":366,"column":8},"end":{"line":366,"column":26}},"119":{"start":{"line":379,"column":8},"end":{"line":383,"column":9}},"120":{"start":{"line":381,"column":12},"end":{"line":381,"column":35}},"121":{"start":{"line":382,"column":12},"end":{"line":382,"column":19}},"122":{"start":{"line":384,"column":8},"end":{"line":384,"column":29}},"123":{"start":{"line":385,"column":8},"end":{"line":385,"column":32}},"124":{"start":{"line":386,"column":8},"end":{"line":417,"column":27}},"125":{"start":{"line":419,"column":8},"end":{"line":428,"column":9}},"126":{"start":{"line":421,"column":12},"end":{"line":421,"column":33}},"127":{"start":{"line":422,"column":12},"end":{"line":422,"column":42}},"128":{"start":{"line":423,"column":12},"end":{"line":427,"column":13}},"129":{"start":{"line":425,"column":16},"end":{"line":425,"column":55}},"130":{"start":{"line":426,"column":16},"end":{"line":426,"column":68}},"131":{"start":{"line":429,"column":8},"end":{"line":439,"column":9}},"132":{"start":{"line":431,"column":12},"end":{"line":431,"column":34}},"133":{"start":{"line":432,"column":12},"end":{"line":432,"column":43}},"134":{"start":{"line":433,"column":12},"end":{"line":433,"column":18}},"135":{"start":{"line":434,"column":12},"end":{"line":438,"column":13}},"136":{"start":{"line":436,"column":16},"end":{"line":436,"column":70}},"137":{"start":{"line":437,"column":16},"end":{"line":437,"column":61}},"138":{"start":{"line":440,"column":8},"end":{"line":449,"column":9}},"139":{"start":{"line":442,"column":12},"end":{"line":442,"column":32}},"140":{"start":{"line":443,"column":12},"end":{"line":443,"column":41}},"141":{"start":{"line":444,"column":12},"end":{"line":448,"column":13}},"142":{"start":{"line":446,"column":16},"end":{"line":446,"column":54}},"143":{"start":{"line":447,"column":16},"end":{"line":447,"column":68}},"144":{"start":{"line":450,"column":8},"end":{"line":459,"column":9}},"145":{"start":{"line":452,"column":12},"end":{"line":452,"column":35}},"146":{"start":{"line":453,"column":12},"end":{"line":453,"column":44}},"147":{"start":{"line":454,"column":12},"end":{"line":458,"column":13}},"148":{"start":{"line":456,"column":16},"end":{"line":456,"column":74}},"149":{"start":{"line":457,"column":16},"end":{"line":457,"column":64}},"150":{"start":{"line":461,"column":8},"end":{"line":461,"column":58}},"151":{"start":{"line":462,"column":8},"end":{"line":462,"column":61}},"152":{"start":{"line":463,"column":8},"end":{"line":463,"column":39}},"153":{"start":{"line":464,"column":8},"end":{"line":464,"column":38}},"154":{"start":{"line":465,"column":8},"end":{"line":465,"column":48}},"155":{"start":{"line":466,"column":8},"end":{"line":466,"column":45}},"156":{"start":{"line":467,"column":8},"end":{"line":533,"column":9}},"157":{"start":{"line":469,"column":12},"end":{"line":469,"column":88}},"158":{"start":{"line":470,"column":12},"end":{"line":470,"column":94}},"159":{"start":{"line":471,"column":12},"end":{"line":471,"column":90}},"160":{"start":{"line":472,"column":12},"end":{"line":472,"column":92}},"161":{"start":{"line":474,"column":12},"end":{"line":474,"column":47}},"162":{"start":{"line":475,"column":12},"end":{"line":487,"column":13}},"163":{"start":{"line":477,"column":16},"end":{"line":477,"column":44}},"164":{"start":{"line":478,"column":16},"end":{"line":486,"column":17}},"165":{"start":{"line":480,"column":20},"end":{"line":480,"column":26}},"166":{"start":{"line":481,"column":20},"end":{"line":481,"column":46}},"167":{"start":{"line":482,"column":20},"end":{"line":485,"column":21}},"168":{"start":{"line":484,"column":24},"end":{"line":484,"column":50}},"169":{"start":{"line":489,"column":12},"end":{"line":489,"column":53}},"170":{"start":{"line":490,"column":12},"end":{"line":502,"column":13}},"171":{"start":{"line":492,"column":16},"end":{"line":492,"column":54}},"172":{"start":{"line":493,"column":16},"end":{"line":501,"column":17}},"173":{"start":{"line":495,"column":20},"end":{"line":495,"column":26}},"174":{"start":{"line":496,"column":20},"end":{"line":496,"column":49}},"175":{"start":{"line":497,"column":20},"end":{"line":500,"column":21}},"176":{"start":{"line":499,"column":24},"end":{"line":499,"column":53}},"177":{"start":{"line":504,"column":12},"end":{"line":504,"column":48}},"178":{"start":{"line":505,"column":12},"end":{"line":517,"column":13}},"179":{"start":{"line":507,"column":16},"end":{"line":507,"column":46}},"180":{"start":{"line":508,"column":16},"end":{"line":516,"column":17}},"181":{"start":{"line":510,"column":20},"end":{"line":510,"column":26}},"182":{"start":{"line":511,"column":20},"end":{"line":511,"column":47}},"183":{"start":{"line":512,"column":20},"end":{"line":515,"column":21}},"184":{"start":{"line":514,"column":24},"end":{"line":514,"column":51}},"185":{"start":{"line":519,"column":12},"end":{"line":519,"column":50}},"186":{"start":{"line":520,"column":12},"end":{"line":532,"column":13}},"187":{"start":{"line":522,"column":16},"end":{"line":522,"column":52}},"188":{"start":{"line":523,"column":16},"end":{"line":531,"column":17}},"189":{"start":{"line":525,"column":20},"end":{"line":525,"column":26}},"190":{"start":{"line":526,"column":20},"end":{"line":526,"column":48}},"191":{"start":{"line":527,"column":20},"end":{"line":530,"column":21}},"192":{"start":{"line":529,"column":24},"end":{"line":529,"column":52}},"193":{"start":{"line":534,"column":8},"end":{"line":534,"column":54}},"194":{"start":{"line":535,"column":8},"end":{"line":535,"column":55}},"195":{"start":{"line":536,"column":8},"end":{"line":536,"column":32}},"196":{"start":{"line":537,"column":8},"end":{"line":537,"column":31}},"197":{"start":{"line":538,"column":8},"end":{"line":562,"column":9}},"198":{"start":{"line":540,"column":12},"end":{"line":561,"column":13}},"199":{"start":{"line":542,"column":16},"end":{"line":560,"column":17}},"200":{"start":{"line":545,"column":24},"end":{"line":545,"column":48}},"201":{"start":{"line":546,"column":24},"end":{"line":546,"column":58}},"202":{"start":{"line":547,"column":20},"end":{"line":547,"column":26}},"203":{"start":{"line":549,"column":24},"end":{"line":549,"column":48}},"204":{"start":{"line":550,"column":24},"end":{"line":550,"column":56}},"205":{"start":{"line":551,"column":20},"end":{"line":551,"column":26}},"206":{"start":{"line":553,"column":24},"end":{"line":553,"column":48}},"207":{"start":{"line":554,"column":24},"end":{"line":554,"column":56}},"208":{"start":{"line":555,"column":20},"end":{"line":555,"column":26}},"209":{"start":{"line":557,"column":24},"end":{"line":557,"column":48}},"210":{"start":{"line":558,"column":24},"end":{"line":558,"column":58}},"211":{"start":{"line":559,"column":20},"end":{"line":559,"column":26}},"212":{"start":{"line":563,"column":8},"end":{"line":581,"column":9}},"213":{"start":{"line":565,"column":12},"end":{"line":565,"column":41}},"214":{"start":{"line":566,"column":12},"end":{"line":566,"column":18}},"215":{"start":{"line":567,"column":12},"end":{"line":576,"column":13}},"216":{"start":{"line":569,"column":16},"end":{"line":569,"column":44}},"217":{"start":{"line":570,"column":16},"end":{"line":573,"column":17}},"218":{"start":{"line":572,"column":20},"end":{"line":572,"column":50}},"219":{"start":{"line":574,"column":16},"end":{"line":574,"column":70}},"220":{"start":{"line":575,"column":16},"end":{"line":575,"column":80}},"221":{"start":{"line":577,"column":12},"end":{"line":580,"column":13}},"222":{"start":{"line":579,"column":16},"end":{"line":579,"column":41}},"223":{"start":{"line":582,"column":8},"end":{"line":600,"column":9}},"224":{"start":{"line":584,"column":12},"end":{"line":584,"column":44}},"225":{"start":{"line":585,"column":12},"end":{"line":585,"column":18}},"226":{"start":{"line":586,"column":12},"end":{"line":595,"column":13}},"227":{"start":{"line":588,"column":16},"end":{"line":588,"column":47}},"228":{"start":{"line":589,"column":16},"end":{"line":592,"column":17}},"229":{"start":{"line":591,"column":20},"end":{"line":591,"column":50}},"230":{"start":{"line":593,"column":16},"end":{"line":593,"column":70}},"231":{"start":{"line":594,"column":16},"end":{"line":594,"column":83}},"232":{"start":{"line":596,"column":12},"end":{"line":599,"column":13}},"233":{"start":{"line":598,"column":16},"end":{"line":598,"column":41}},"234":{"start":{"line":601,"column":8},"end":{"line":619,"column":9}},"235":{"start":{"line":603,"column":12},"end":{"line":603,"column":42}},"236":{"start":{"line":604,"column":12},"end":{"line":604,"column":18}},"237":{"start":{"line":605,"column":12},"end":{"line":614,"column":13}},"238":{"start":{"line":607,"column":16},"end":{"line":607,"column":45}},"239":{"start":{"line":608,"column":16},"end":{"line":608,"column":69}},"240":{"start":{"line":609,"column":16},"end":{"line":609,"column":82}},"241":{"start":{"line":610,"column":16},"end":{"line":613,"column":17}},"242":{"start":{"line":612,"column":20},"end":{"line":612,"column":52}},"243":{"start":{"line":615,"column":12},"end":{"line":618,"column":13}},"244":{"start":{"line":617,"column":16},"end":{"line":617,"column":41}},"245":{"start":{"line":620,"column":8},"end":{"line":638,"column":9}},"246":{"start":{"line":622,"column":12},"end":{"line":622,"column":43}},"247":{"start":{"line":623,"column":12},"end":{"line":623,"column":18}},"248":{"start":{"line":624,"column":12},"end":{"line":633,"column":13}},"249":{"start":{"line":626,"column":16},"end":{"line":626,"column":46}},"250":{"start":{"line":627,"column":16},"end":{"line":627,"column":69}},"251":{"start":{"line":628,"column":16},"end":{"line":628,"column":83}},"252":{"start":{"line":629,"column":16},"end":{"line":632,"column":17}},"253":{"start":{"line":631,"column":20},"end":{"line":631,"column":52}},"254":{"start":{"line":634,"column":12},"end":{"line":637,"column":13}},"255":{"start":{"line":636,"column":16},"end":{"line":636,"column":41}},"256":{"start":{"line":639,"column":8},"end":{"line":639,"column":30}},"257":{"start":{"line":640,"column":8},"end":{"line":644,"column":9}},"258":{"start":{"line":642,"column":12},"end":{"line":642,"column":27}},"259":{"start":{"line":643,"column":12},"end":{"line":643,"column":19}},"260":{"start":{"line":645,"column":8},"end":{"line":652,"column":9}},"261":{"start":{"line":647,"column":12},"end":{"line":647,"column":67}},"262":{"start":{"line":648,"column":12},"end":{"line":648,"column":66}},"263":{"start":{"line":649,"column":12},"end":{"line":649,"column":43}},"264":{"start":{"line":650,"column":12},"end":{"line":650,"column":45}},"265":{"start":{"line":651,"column":12},"end":{"line":651,"column":73}},"266":{"start":{"line":654,"column":8},"end":{"line":660,"column":9}},"267":{"start":{"line":656,"column":12},"end":{"line":656,"column":56}},"268":{"start":{"line":657,"column":12},"end":{"line":657,"column":55}},"269":{"start":{"line":658,"column":12},"end":{"line":658,"column":61}},"270":{"start":{"line":659,"column":12},"end":{"line":659,"column":63}},"271":{"start":{"line":673,"column":8},"end":{"line":686,"column":16}},"272":{"start":{"line":687,"column":8},"end":{"line":713,"column":9}},"273":{"start":{"line":689,"column":12},"end":{"line":689,"column":43}},"274":{"start":{"line":690,"column":12},"end":{"line":690,"column":44}},"275":{"start":{"line":691,"column":12},"end":{"line":712,"column":13}},"276":{"start":{"line":693,"column":16},"end":{"line":693,"column":52}},"277":{"start":{"line":694,"column":16},"end":{"line":694,"column":70}},"278":{"start":{"line":695,"column":16},"end":{"line":695,"column":45}},"279":{"start":{"line":696,"column":16},"end":{"line":696,"column":43}},"280":{"start":{"line":697,"column":16},"end":{"line":711,"column":17}},"281":{"start":{"line":700,"column":24},"end":{"line":700,"column":42}},"282":{"start":{"line":701,"column":20},"end":{"line":701,"column":26}},"283":{"start":{"line":703,"column":24},"end":{"line":703,"column":49}},"284":{"start":{"line":704,"column":20},"end":{"line":704,"column":26}},"285":{"start":{"line":706,"column":24},"end":{"line":706,"column":49}},"286":{"start":{"line":707,"column":20},"end":{"line":707,"column":26}},"287":{"start":{"line":709,"column":24},"end":{"line":709,"column":42}},"288":{"start":{"line":710,"column":20},"end":{"line":710,"column":26}},"289":{"start":{"line":714,"column":8},"end":{"line":714,"column":19}},"290":{"start":{"line":726,"column":8},"end":{"line":726,"column":40}},"291":{"start":{"line":727,"column":8},"end":{"line":730,"column":9}},"292":{"start":{"line":729,"column":12},"end":{"line":729,"column":33}},"293":{"start":{"line":738,"column":0},"end":{"line":738,"column":40}},"294":{"start":{"line":740,"column":0},"end":{"line":871,"column":3}},"295":{"start":{"line":749,"column":8},"end":{"line":753,"column":9}},"296":{"start":{"line":751,"column":12},"end":{"line":751,"column":35}},"297":{"start":{"line":752,"column":12},"end":{"line":752,"column":19}},"298":{"start":{"line":754,"column":8},"end":{"line":754,"column":29}},"299":{"start":{"line":755,"column":8},"end":{"line":755,"column":32}},"300":{"start":{"line":756,"column":8},"end":{"line":771,"column":22}},"301":{"start":{"line":772,"column":8},"end":{"line":843,"column":9}},"302":{"start":{"line":774,"column":12},"end":{"line":842,"column":13}},"303":{"start":{"line":776,"column":16},"end":{"line":776,"column":50}},"304":{"start":{"line":777,"column":16},"end":{"line":777,"column":52}},"305":{"start":{"line":778,"column":16},"end":{"line":778,"column":48}},"306":{"start":{"line":779,"column":16},"end":{"line":779,"column":50}},"307":{"start":{"line":780,"column":16},"end":{"line":780,"column":50}},"308":{"start":{"line":781,"column":16},"end":{"line":781,"column":52}},"309":{"start":{"line":782,"column":16},"end":{"line":782,"column":47}},"310":{"start":{"line":784,"column":16},"end":{"line":834,"column":17}},"311":{"start":{"line":787,"column":20},"end":{"line":813,"column":21}},"312":{"start":{"line":790,"column":28},"end":{"line":790,"column":77}},"313":{"start":{"line":791,"column":28},"end":{"line":791,"column":45}},"314":{"start":{"line":792,"column":28},"end":{"line":792,"column":50}},"315":{"start":{"line":793,"column":28},"end":{"line":793,"column":61}},"316":{"start":{"line":794,"column":24},"end":{"line":794,"column":30}},"317":{"start":{"line":796,"column":28},"end":{"line":796,"column":78}},"318":{"start":{"line":797,"column":28},"end":{"line":797,"column":44}},"319":{"start":{"line":798,"column":28},"end":{"line":798,"column":51}},"320":{"start":{"line":799,"column":28},"end":{"line":799,"column":59}},"321":{"start":{"line":800,"column":24},"end":{"line":800,"column":30}},"322":{"start":{"line":802,"column":28},"end":{"line":802,"column":77}},"323":{"start":{"line":803,"column":28},"end":{"line":803,"column":45}},"324":{"start":{"line":804,"column":28},"end":{"line":804,"column":54}},"325":{"start":{"line":805,"column":28},"end":{"line":805,"column":61}},"326":{"start":{"line":806,"column":24},"end":{"line":806,"column":30}},"327":{"start":{"line":808,"column":28},"end":{"line":808,"column":78}},"328":{"start":{"line":809,"column":28},"end":{"line":809,"column":44}},"329":{"start":{"line":810,"column":28},"end":{"line":810,"column":54}},"330":{"start":{"line":811,"column":28},"end":{"line":811,"column":59}},"331":{"start":{"line":812,"column":24},"end":{"line":812,"column":30}},"332":{"start":{"line":814,"column":20},"end":{"line":814,"column":48}},"333":{"start":{"line":815,"column":20},"end":{"line":815,"column":49}},"334":{"start":{"line":819,"column":20},"end":{"line":833,"column":21}},"335":{"start":{"line":822,"column":28},"end":{"line":822,"column":50}},"336":{"start":{"line":823,"column":24},"end":{"line":823,"column":30}},"337":{"start":{"line":825,"column":28},"end":{"line":825,"column":51}},"338":{"start":{"line":826,"column":24},"end":{"line":826,"column":30}},"339":{"start":{"line":828,"column":28},"end":{"line":828,"column":55}},"340":{"start":{"line":829,"column":24},"end":{"line":829,"column":30}},"341":{"start":{"line":831,"column":28},"end":{"line":831,"column":56}},"342":{"start":{"line":832,"column":24},"end":{"line":832,"column":30}},"343":{"start":{"line":838,"column":16},"end":{"line":838,"column":33}},"344":{"start":{"line":839,"column":16},"end":{"line":839,"column":33}},"345":{"start":{"line":840,"column":16},"end":{"line":840,"column":36}},"346":{"start":{"line":841,"column":16},"end":{"line":841,"column":37}},"347":{"start":{"line":844,"column":8},"end":{"line":844,"column":30}},"348":{"start":{"line":845,"column":8},"end":{"line":849,"column":9}},"349":{"start":{"line":847,"column":12},"end":{"line":847,"column":27}},"350":{"start":{"line":848,"column":12},"end":{"line":848,"column":19}},"351":{"start":{"line":850,"column":8},"end":{"line":854,"column":9}},"352":{"start":{"line":852,"column":12},"end":{"line":852,"column":29}},"353":{"start":{"line":853,"column":12},"end":{"line":853,"column":29}},"354":{"start":{"line":855,"column":8},"end":{"line":859,"column":9}},"355":{"start":{"line":857,"column":12},"end":{"line":857,"column":36}},"356":{"start":{"line":858,"column":12},"end":{"line":858,"column":36}},"357":{"start":{"line":872,"column":0},"end":{"line":872,"column":28}},"358":{"start":{"line":881,"column":0},"end":{"line":1701,"column":3}},"359":{"start":{"line":890,"column":8},"end":{"line":890,"column":25}},"360":{"start":{"line":899,"column":8},"end":{"line":906,"column":15}},"361":{"start":{"line":907,"column":8},"end":{"line":907,"column":40}},"362":{"start":{"line":908,"column":8},"end":{"line":908,"column":44}},"363":{"start":{"line":909,"column":8},"end":{"line":909,"column":43}},"364":{"start":{"line":918,"column":8},"end":{"line":918,"column":93}},"365":{"start":{"line":919,"column":8},"end":{"line":919,"column":83}},"366":{"start":{"line":920,"column":8},"end":{"line":920,"column":56}},"367":{"start":{"line":921,"column":8},"end":{"line":921,"column":66}},"368":{"start":{"line":922,"column":8},"end":{"line":922,"column":58}},"369":{"start":{"line":923,"column":8},"end":{"line":923,"column":59}},"370":{"start":{"line":932,"column":8},"end":{"line":933,"column":35}},"371":{"start":{"line":934,"column":8},"end":{"line":937,"column":9}},"372":{"start":{"line":936,"column":12},"end":{"line":936,"column":31}},"373":{"start":{"line":949,"column":8},"end":{"line":952,"column":9}},"374":{"start":{"line":951,"column":12},"end":{"line":951,"column":31}},"375":{"start":{"line":964,"column":8},"end":{"line":965,"column":42}},"376":{"start":{"line":966,"column":8},"end":{"line":973,"column":9}},"377":{"start":{"line":968,"column":12},"end":{"line":968,"column":40}},"378":{"start":{"line":970,"column":13},"end":{"line":973,"column":9}},"379":{"start":{"line":972,"column":12},"end":{"line":972,"column":31}},"380":{"start":{"line":985,"column":8},"end":{"line":988,"column":48}},"381":{"start":{"line":989,"column":8},"end":{"line":992,"column":9}},"382":{"start":{"line":991,"column":12},"end":{"line":991,"column":31}},"383":{"start":{"line":1003,"column":8},"end":{"line":1007,"column":9}},"384":{"start":{"line":1005,"column":12},"end":{"line":1005,"column":35}},"385":{"start":{"line":1006,"column":12},"end":{"line":1006,"column":19}},"386":{"start":{"line":1008,"column":8},"end":{"line":1008,"column":29}},"387":{"start":{"line":1009,"column":8},"end":{"line":1009,"column":32}},"388":{"start":{"line":1010,"column":8},"end":{"line":1013,"column":9}},"389":{"start":{"line":1012,"column":12},"end":{"line":1012,"column":61}},"390":{"start":{"line":1014,"column":8},"end":{"line":1050,"column":23}},"391":{"start":{"line":1051,"column":8},"end":{"line":1054,"column":9}},"392":{"start":{"line":1053,"column":12},"end":{"line":1053,"column":39}},"393":{"start":{"line":1055,"column":8},"end":{"line":1055,"column":35}},"394":{"start":{"line":1056,"column":8},"end":{"line":1124,"column":9}},"395":{"start":{"line":1058,"column":12},"end":{"line":1058,"column":41}},"396":{"start":{"line":1059,"column":12},"end":{"line":1059,"column":93}},"397":{"start":{"line":1060,"column":12},"end":{"line":1060,"column":55}},"398":{"start":{"line":1061,"column":12},"end":{"line":1061,"column":50}},"399":{"start":{"line":1062,"column":12},"end":{"line":1062,"column":54}},"400":{"start":{"line":1063,"column":12},"end":{"line":1063,"column":54}},"401":{"start":{"line":1064,"column":12},"end":{"line":1064,"column":18}},"402":{"start":{"line":1065,"column":12},"end":{"line":1065,"column":37}},"403":{"start":{"line":1066,"column":12},"end":{"line":1066,"column":44}},"404":{"start":{"line":1067,"column":12},"end":{"line":1067,"column":44}},"405":{"start":{"line":1068,"column":12},"end":{"line":1087,"column":13}},"406":{"start":{"line":1070,"column":16},"end":{"line":1070,"column":51}},"407":{"start":{"line":1071,"column":16},"end":{"line":1073,"column":18}},"408":{"start":{"line":1074,"column":16},"end":{"line":1077,"column":18}},"409":{"start":{"line":1078,"column":16},"end":{"line":1078,"column":77}},"410":{"start":{"line":1079,"column":16},"end":{"line":1079,"column":144}},"411":{"start":{"line":1080,"column":16},"end":{"line":1080,"column":39}},"412":{"start":{"line":1081,"column":16},"end":{"line":1081,"column":41}},"413":{"start":{"line":1082,"column":16},"end":{"line":1082,"column":57}},"414":{"start":{"line":1083,"column":16},"end":{"line":1083,"column":60}},"415":{"start":{"line":1084,"column":16},"end":{"line":1084,"column":51}},"416":{"start":{"line":1085,"column":16},"end":{"line":1085,"column":53}},"417":{"start":{"line":1086,"column":16},"end":{"line":1086,"column":33}},"418":{"start":{"line":1091,"column":12},"end":{"line":1091,"column":18}},"419":{"start":{"line":1092,"column":12},"end":{"line":1092,"column":42}},"420":{"start":{"line":1093,"column":12},"end":{"line":1123,"column":13}},"421":{"start":{"line":1095,"column":16},"end":{"line":1095,"column":45}},"422":{"start":{"line":1096,"column":16},"end":{"line":1096,"column":74}},"423":{"start":{"line":1097,"column":16},"end":{"line":1104,"column":17}},"424":{"start":{"line":1099,"column":20},"end":{"line":1099,"column":47}},"425":{"start":{"line":1100,"column":20},"end":{"line":1103,"column":21}},"426":{"start":{"line":1102,"column":24},"end":{"line":1102,"column":41}},"427":{"start":{"line":1105,"column":16},"end":{"line":1105,"column":70}},"428":{"start":{"line":1106,"column":16},"end":{"line":1115,"column":18}},"429":{"start":{"line":1116,"column":16},"end":{"line":1116,"column":39}},"430":{"start":{"line":1117,"column":16},"end":{"line":1117,"column":41}},"431":{"start":{"line":1118,"column":16},"end":{"line":1118,"column":57}},"432":{"start":{"line":1119,"column":16},"end":{"line":1119,"column":60}},"433":{"start":{"line":1120,"column":16},"end":{"line":1120,"column":51}},"434":{"start":{"line":1121,"column":16},"end":{"line":1121,"column":53}},"435":{"start":{"line":1122,"column":16},"end":{"line":1122,"column":33}},"436":{"start":{"line":1125,"column":8},"end":{"line":1125,"column":30}},"437":{"start":{"line":1126,"column":8},"end":{"line":1138,"column":9}},"438":{"start":{"line":1128,"column":12},"end":{"line":1128,"column":31}},"439":{"start":{"line":1132,"column":12},"end":{"line":1135,"column":14}},"440":{"start":{"line":1136,"column":12},"end":{"line":1136,"column":43}},"441":{"start":{"line":1137,"column":12},"end":{"line":1137,"column":40}},"442":{"start":{"line":1150,"column":8},"end":{"line":1156,"column":56}},"443":{"start":{"line":1157,"column":8},"end":{"line":1164,"column":11}},"444":{"start":{"line":1177,"column":8},"end":{"line":1178,"column":18}},"445":{"start":{"line":1179,"column":8},"end":{"line":1222,"column":9}},"446":{"start":{"line":1181,"column":12},"end":{"line":1181,"column":47}},"447":{"start":{"line":1182,"column":12},"end":{"line":1182,"column":94}},"448":{"start":{"line":1183,"column":12},"end":{"line":1191,"column":14}},"449":{"start":{"line":1193,"column":13},"end":{"line":1222,"column":9}},"450":{"start":{"line":1195,"column":12},"end":{"line":1195,"column":47}},"451":{"start":{"line":1196,"column":12},"end":{"line":1196,"column":95}},"452":{"start":{"line":1197,"column":12},"end":{"line":1205,"column":14}},"453":{"start":{"line":1209,"column":12},"end":{"line":1209,"column":49}},"454":{"start":{"line":1210,"column":12},"end":{"line":1221,"column":14}},"455":{"start":{"line":1248,"column":8},"end":{"line":1255,"column":36}},"456":{"start":{"line":1256,"column":8},"end":{"line":1256,"column":53}},"457":{"start":{"line":1257,"column":8},"end":{"line":1257,"column":49}},"458":{"start":{"line":1258,"column":8},"end":{"line":1258,"column":41}},"459":{"start":{"line":1259,"column":8},"end":{"line":1259,"column":61}},"460":{"start":{"line":1260,"column":8},"end":{"line":1260,"column":45}},"461":{"start":{"line":1261,"column":8},"end":{"line":1261,"column":40}},"462":{"start":{"line":1262,"column":8},"end":{"line":1262,"column":50}},"463":{"start":{"line":1263,"column":8},"end":{"line":1263,"column":32}},"464":{"start":{"line":1264,"column":8},"end":{"line":1264,"column":31}},"465":{"start":{"line":1265,"column":8},"end":{"line":1265,"column":46}},"466":{"start":{"line":1266,"column":8},"end":{"line":1266,"column":57}},"467":{"start":{"line":1267,"column":8},"end":{"line":1267,"column":84}},"468":{"start":{"line":1268,"column":8},"end":{"line":1278,"column":11}},"469":{"start":{"line":1279,"column":8},"end":{"line":1279,"column":51}},"470":{"start":{"line":1280,"column":8},"end":{"line":1287,"column":10}},"471":{"start":{"line":1288,"column":8},"end":{"line":1288,"column":31}},"472":{"start":{"line":1289,"column":8},"end":{"line":1289,"column":20}},"473":{"start":{"line":1301,"column":8},"end":{"line":1301,"column":60}},"474":{"start":{"line":1302,"column":8},"end":{"line":1302,"column":64}},"475":{"start":{"line":1314,"column":8},"end":{"line":1344,"column":10}},"476":{"start":{"line":1345,"column":8},"end":{"line":1345,"column":22}},"477":{"start":{"line":1358,"column":8},"end":{"line":1361,"column":10}},"478":{"start":{"line":1362,"column":8},"end":{"line":1362,"column":20}},"479":{"start":{"line":1373,"column":8},"end":{"line":1373,"column":17}},"480":{"start":{"line":1374,"column":8},"end":{"line":1385,"column":9}},"481":{"start":{"line":1376,"column":12},"end":{"line":1384,"column":13}},"482":{"start":{"line":1378,"column":16},"end":{"line":1378,"column":43}},"483":{"start":{"line":1379,"column":16},"end":{"line":1379,"column":52}},"484":{"start":{"line":1380,"column":16},"end":{"line":1380,"column":34}},"485":{"start":{"line":1381,"column":16},"end":{"line":1381,"column":40}},"486":{"start":{"line":1382,"column":16},"end":{"line":1382,"column":33}},"487":{"start":{"line":1383,"column":16},"end":{"line":1383,"column":28}},"488":{"start":{"line":1386,"column":8},"end":{"line":1386,"column":25}},"489":{"start":{"line":1408,"column":8},"end":{"line":1409,"column":30}},"490":{"start":{"line":1410,"column":8},"end":{"line":1410,"column":35}},"491":{"start":{"line":1411,"column":8},"end":{"line":1422,"column":9}},"492":{"start":{"line":1413,"column":12},"end":{"line":1413,"column":58}},"493":{"start":{"line":1414,"column":12},"end":{"line":1421,"column":13}},"494":{"start":{"line":1416,"column":16},"end":{"line":1416,"column":44}},"495":{"start":{"line":1420,"column":16},"end":{"line":1420,"column":37}},"496":{"start":{"line":1447,"column":16},"end":{"line":1447,"column":77}},"497":{"start":{"line":1448,"column":16},"end":{"line":1448,"column":27}},"498":{"start":{"line":1478,"column":16},"end":{"line":1485,"column":17}},"499":{"start":{"line":1480,"column":20},"end":{"line":1480,"column":54}},"500":{"start":{"line":1482,"column":21},"end":{"line":1485,"column":17}},"501":{"start":{"line":1484,"column":20},"end":{"line":1484,"column":52}},"502":{"start":{"line":1486,"column":16},"end":{"line":1486,"column":27}},"503":{"start":{"line":1505,"column":16},"end":{"line":1506,"column":50}},"504":{"start":{"line":1507,"column":16},"end":{"line":1521,"column":17}},"505":{"start":{"line":1509,"column":20},"end":{"line":1520,"column":21}},"506":{"start":{"line":1511,"column":24},"end":{"line":1514,"column":25}},"507":{"start":{"line":1513,"column":28},"end":{"line":1513,"column":44}},"508":{"start":{"line":1515,"column":24},"end":{"line":1515,"column":43}},"509":{"start":{"line":1519,"column":24},"end":{"line":1519,"column":61}},"510":{"start":{"line":1522,"column":16},"end":{"line":1522,"column":26}},"511":{"start":{"line":1527,"column":16},"end":{"line":1527,"column":34}},"512":{"start":{"line":1528,"column":16},"end":{"line":1528,"column":27}},"513":{"start":{"line":1549,"column":16},"end":{"line":1550,"column":50}},"514":{"start":{"line":1551,"column":16},"end":{"line":1565,"column":17}},"515":{"start":{"line":1553,"column":20},"end":{"line":1564,"column":21}},"516":{"start":{"line":1555,"column":24},"end":{"line":1558,"column":25}},"517":{"start":{"line":1557,"column":28},"end":{"line":1557,"column":45}},"518":{"start":{"line":1559,"column":24},"end":{"line":1559,"column":44}},"519":{"start":{"line":1563,"column":24},"end":{"line":1563,"column":62}},"520":{"start":{"line":1566,"column":16},"end":{"line":1566,"column":26}},"521":{"start":{"line":1571,"column":16},"end":{"line":1571,"column":35}},"522":{"start":{"line":1572,"column":16},"end":{"line":1572,"column":27}},"523":{"start":{"line":1590,"column":16},"end":{"line":1590,"column":51}},"524":{"start":{"line":1591,"column":16},"end":{"line":1594,"column":17}},"525":{"start":{"line":1593,"column":20},"end":{"line":1593,"column":50}},"526":{"start":{"line":1595,"column":16},"end":{"line":1595,"column":27}},"527":{"start":{"line":1613,"column":16},"end":{"line":1613,"column":51}},"528":{"start":{"line":1614,"column":16},"end":{"line":1617,"column":17}},"529":{"start":{"line":1616,"column":20},"end":{"line":1616,"column":49}},"530":{"start":{"line":1618,"column":16},"end":{"line":1618,"column":27}},"531":{"start":{"line":1637,"column":16},"end":{"line":1637,"column":35}}},"branchMap":{"1":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":8},"end":{"line":28,"column":8}},{"start":{"line":28,"column":8},"end":{"line":28,"column":8}}]},"2":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":8},"end":{"line":32,"column":8}},{"start":{"line":32,"column":8},"end":{"line":32,"column":8}}]},"3":{"line":40,"type":"if","locations":[{"start":{"line":40,"column":12},"end":{"line":40,"column":12}},{"start":{"line":40,"column":12},"end":{"line":40,"column":12}}]},"4":{"line":113,"type":"cond-expr","locations":[{"start":{"line":113,"column":38},"end":{"line":113,"column":65}},{"start":{"line":113,"column":68},"end":{"line":113,"column":79}}]},"5":{"line":114,"type":"cond-expr","locations":[{"start":{"line":114,"column":36},"end":{"line":114,"column":60}},{"start":{"line":114,"column":63},"end":{"line":114,"column":72}}]},"6":{"line":115,"type":"cond-expr","locations":[{"start":{"line":115,"column":40},"end":{"line":115,"column":80}},{"start":{"line":115,"column":83},"end":{"line":115,"column":106}}]},"7":{"line":116,"type":"cond-expr","locations":[{"start":{"line":116,"column":42},"end":{"line":116,"column":82}},{"start":{"line":116,"column":85},"end":{"line":116,"column":107}}]},"8":{"line":129,"type":"if","locations":[{"start":{"line":129,"column":8},"end":{"line":129,"column":8}},{"start":{"line":129,"column":8},"end":{"line":129,"column":8}}]},"9":{"line":159,"type":"if","locations":[{"start":{"line":159,"column":12},"end":{"line":159,"column":12}},{"start":{"line":159,"column":12},"end":{"line":159,"column":12}}]},"10":{"line":167,"type":"if","locations":[{"start":{"line":167,"column":16},"end":{"line":167,"column":16}},{"start":{"line":167,"column":16},"end":{"line":167,"column":16}}]},"11":{"line":193,"type":"switch","locations":[{"start":{"line":195,"column":12},"end":{"line":197,"column":18}},{"start":{"line":198,"column":12},"end":{"line":200,"column":18}},{"start":{"line":201,"column":12},"end":{"line":203,"column":18}}]},"12":{"line":273,"type":"cond-expr","locations":[{"start":{"line":273,"column":38},"end":{"line":273,"column":63}},{"start":{"line":273,"column":66},"end":{"line":273,"column":75}}]},"13":{"line":274,"type":"cond-expr","locations":[{"start":{"line":274,"column":36},"end":{"line":274,"column":63}},{"start":{"line":274,"column":66},"end":{"line":274,"column":78}}]},"14":{"line":275,"type":"cond-expr","locations":[{"start":{"line":275,"column":40},"end":{"line":275,"column":78}},{"start":{"line":275,"column":81},"end":{"line":275,"column":102}}]},"15":{"line":276,"type":"cond-expr","locations":[{"start":{"line":276,"column":42},"end":{"line":276,"column":85}},{"start":{"line":276,"column":88},"end":{"line":276,"column":113}}]},"16":{"line":290,"type":"if","locations":[{"start":{"line":290,"column":8},"end":{"line":290,"column":8}},{"start":{"line":290,"column":8},"end":{"line":290,"column":8}}]},"17":{"line":320,"type":"if","locations":[{"start":{"line":320,"column":12},"end":{"line":320,"column":12}},{"start":{"line":320,"column":12},"end":{"line":320,"column":12}}]},"18":{"line":328,"type":"if","locations":[{"start":{"line":328,"column":16},"end":{"line":328,"column":16}},{"start":{"line":328,"column":16},"end":{"line":328,"column":16}}]},"19":{"line":354,"type":"switch","locations":[{"start":{"line":356,"column":12},"end":{"line":358,"column":18}},{"start":{"line":359,"column":12},"end":{"line":361,"column":18}},{"start":{"line":362,"column":12},"end":{"line":364,"column":18}}]},"20":{"line":379,"type":"if","locations":[{"start":{"line":379,"column":8},"end":{"line":379,"column":8}},{"start":{"line":379,"column":8},"end":{"line":379,"column":8}}]},"21":{"line":419,"type":"if","locations":[{"start":{"line":419,"column":8},"end":{"line":419,"column":8}},{"start":{"line":419,"column":8},"end":{"line":419,"column":8}}]},"22":{"line":429,"type":"if","locations":[{"start":{"line":429,"column":8},"end":{"line":429,"column":8}},{"start":{"line":429,"column":8},"end":{"line":429,"column":8}}]},"23":{"line":440,"type":"if","locations":[{"start":{"line":440,"column":8},"end":{"line":440,"column":8}},{"start":{"line":440,"column":8},"end":{"line":440,"column":8}}]},"24":{"line":450,"type":"if","locations":[{"start":{"line":450,"column":8},"end":{"line":450,"column":8}},{"start":{"line":450,"column":8},"end":{"line":450,"column":8}}]},"25":{"line":467,"type":"if","locations":[{"start":{"line":467,"column":8},"end":{"line":467,"column":8}},{"start":{"line":467,"column":8},"end":{"line":467,"column":8}}]},"26":{"line":475,"type":"if","locations":[{"start":{"line":475,"column":12},"end":{"line":475,"column":12}},{"start":{"line":475,"column":12},"end":{"line":475,"column":12}}]},"27":{"line":478,"type":"if","locations":[{"start":{"line":478,"column":16},"end":{"line":478,"column":16}},{"start":{"line":478,"column":16},"end":{"line":478,"column":16}}]},"28":{"line":490,"type":"if","locations":[{"start":{"line":490,"column":12},"end":{"line":490,"column":12}},{"start":{"line":490,"column":12},"end":{"line":490,"column":12}}]},"29":{"line":493,"type":"if","locations":[{"start":{"line":493,"column":16},"end":{"line":493,"column":16}},{"start":{"line":493,"column":16},"end":{"line":493,"column":16}}]},"30":{"line":505,"type":"if","locations":[{"start":{"line":505,"column":12},"end":{"line":505,"column":12}},{"start":{"line":505,"column":12},"end":{"line":505,"column":12}}]},"31":{"line":508,"type":"if","locations":[{"start":{"line":508,"column":16},"end":{"line":508,"column":16}},{"start":{"line":508,"column":16},"end":{"line":508,"column":16}}]},"32":{"line":520,"type":"if","locations":[{"start":{"line":520,"column":12},"end":{"line":520,"column":12}},{"start":{"line":520,"column":12},"end":{"line":520,"column":12}}]},"33":{"line":523,"type":"if","locations":[{"start":{"line":523,"column":16},"end":{"line":523,"column":16}},{"start":{"line":523,"column":16},"end":{"line":523,"column":16}}]},"34":{"line":538,"type":"if","locations":[{"start":{"line":538,"column":8},"end":{"line":538,"column":8}},{"start":{"line":538,"column":8},"end":{"line":538,"column":8}}]},"35":{"line":540,"type":"if","locations":[{"start":{"line":540,"column":12},"end":{"line":540,"column":12}},{"start":{"line":540,"column":12},"end":{"line":540,"column":12}}]},"36":{"line":542,"type":"switch","locations":[{"start":{"line":544,"column":20},"end":{"line":547,"column":26}},{"start":{"line":548,"column":20},"end":{"line":551,"column":26}},{"start":{"line":552,"column":20},"end":{"line":555,"column":26}},{"start":{"line":556,"column":20},"end":{"line":559,"column":26}}]},"37":{"line":563,"type":"if","locations":[{"start":{"line":563,"column":8},"end":{"line":563,"column":8}},{"start":{"line":563,"column":8},"end":{"line":563,"column":8}}]},"38":{"line":570,"type":"if","locations":[{"start":{"line":570,"column":16},"end":{"line":570,"column":16}},{"start":{"line":570,"column":16},"end":{"line":570,"column":16}}]},"39":{"line":577,"type":"if","locations":[{"start":{"line":577,"column":12},"end":{"line":577,"column":12}},{"start":{"line":577,"column":12},"end":{"line":577,"column":12}}]},"40":{"line":582,"type":"if","locations":[{"start":{"line":582,"column":8},"end":{"line":582,"column":8}},{"start":{"line":582,"column":8},"end":{"line":582,"column":8}}]},"41":{"line":589,"type":"if","locations":[{"start":{"line":589,"column":16},"end":{"line":589,"column":16}},{"start":{"line":589,"column":16},"end":{"line":589,"column":16}}]},"42":{"line":596,"type":"if","locations":[{"start":{"line":596,"column":12},"end":{"line":596,"column":12}},{"start":{"line":596,"column":12},"end":{"line":596,"column":12}}]},"43":{"line":601,"type":"if","locations":[{"start":{"line":601,"column":8},"end":{"line":601,"column":8}},{"start":{"line":601,"column":8},"end":{"line":601,"column":8}}]},"44":{"line":610,"type":"if","locations":[{"start":{"line":610,"column":16},"end":{"line":610,"column":16}},{"start":{"line":610,"column":16},"end":{"line":610,"column":16}}]},"45":{"line":615,"type":"if","locations":[{"start":{"line":615,"column":12},"end":{"line":615,"column":12}},{"start":{"line":615,"column":12},"end":{"line":615,"column":12}}]},"46":{"line":620,"type":"if","locations":[{"start":{"line":620,"column":8},"end":{"line":620,"column":8}},{"start":{"line":620,"column":8},"end":{"line":620,"column":8}}]},"47":{"line":629,"type":"if","locations":[{"start":{"line":629,"column":16},"end":{"line":629,"column":16}},{"start":{"line":629,"column":16},"end":{"line":629,"column":16}}]},"48":{"line":634,"type":"if","locations":[{"start":{"line":634,"column":12},"end":{"line":634,"column":12}},{"start":{"line":634,"column":12},"end":{"line":634,"column":12}}]},"49":{"line":640,"type":"if","locations":[{"start":{"line":640,"column":8},"end":{"line":640,"column":8}},{"start":{"line":640,"column":8},"end":{"line":640,"column":8}}]},"50":{"line":645,"type":"if","locations":[{"start":{"line":645,"column":8},"end":{"line":645,"column":8}},{"start":{"line":645,"column":8},"end":{"line":645,"column":8}}]},"51":{"line":654,"type":"if","locations":[{"start":{"line":654,"column":8},"end":{"line":654,"column":8}},{"start":{"line":654,"column":8},"end":{"line":654,"column":8}}]},"52":{"line":687,"type":"if","locations":[{"start":{"line":687,"column":8},"end":{"line":687,"column":8}},{"start":{"line":687,"column":8},"end":{"line":687,"column":8}}]},"53":{"line":687,"type":"binary-expr","locations":[{"start":{"line":687,"column":11},"end":{"line":687,"column":17}},{"start":{"line":687,"column":21},"end":{"line":687,"column":55}}]},"54":{"line":691,"type":"if","locations":[{"start":{"line":691,"column":12},"end":{"line":691,"column":12}},{"start":{"line":691,"column":12},"end":{"line":691,"column":12}}]},"55":{"line":694,"type":"cond-expr","locations":[{"start":{"line":694,"column":55},"end":{"line":694,"column":61}},{"start":{"line":694,"column":64},"end":{"line":694,"column":69}}]},"56":{"line":697,"type":"switch","locations":[{"start":{"line":699,"column":20},"end":{"line":701,"column":26}},{"start":{"line":702,"column":20},"end":{"line":704,"column":26}},{"start":{"line":705,"column":20},"end":{"line":707,"column":26}},{"start":{"line":708,"column":20},"end":{"line":710,"column":26}}]},"57":{"line":727,"type":"if","locations":[{"start":{"line":727,"column":8},"end":{"line":727,"column":8}},{"start":{"line":727,"column":8},"end":{"line":727,"column":8}}]},"58":{"line":749,"type":"if","locations":[{"start":{"line":749,"column":8},"end":{"line":749,"column":8}},{"start":{"line":749,"column":8},"end":{"line":749,"column":8}}]},"59":{"line":772,"type":"if","locations":[{"start":{"line":772,"column":8},"end":{"line":772,"column":8}},{"start":{"line":772,"column":8},"end":{"line":772,"column":8}}]},"60":{"line":774,"type":"if","locations":[{"start":{"line":774,"column":12},"end":{"line":774,"column":12}},{"start":{"line":774,"column":12},"end":{"line":774,"column":12}}]},"61":{"line":784,"type":"if","locations":[{"start":{"line":784,"column":16},"end":{"line":784,"column":16}},{"start":{"line":784,"column":16},"end":{"line":784,"column":16}}]},"62":{"line":784,"type":"binary-expr","locations":[{"start":{"line":784,"column":20},"end":{"line":784,"column":44}},{"start":{"line":784,"column":49},"end":{"line":784,"column":85}},{"start":{"line":785,"column":21},"end":{"line":785,"column":47}},{"start":{"line":785,"column":53},"end":{"line":785,"column":91}}]},"63":{"line":787,"type":"switch","locations":[{"start":{"line":789,"column":24},"end":{"line":794,"column":30}},{"start":{"line":795,"column":24},"end":{"line":800,"column":30}},{"start":{"line":801,"column":24},"end":{"line":806,"column":30}},{"start":{"line":807,"column":24},"end":{"line":812,"column":30}}]},"64":{"line":819,"type":"switch","locations":[{"start":{"line":821,"column":24},"end":{"line":823,"column":30}},{"start":{"line":824,"column":24},"end":{"line":826,"column":30}},{"start":{"line":827,"column":24},"end":{"line":829,"column":30}},{"start":{"line":830,"column":24},"end":{"line":832,"column":30}}]},"65":{"line":845,"type":"if","locations":[{"start":{"line":845,"column":8},"end":{"line":845,"column":8}},{"start":{"line":845,"column":8},"end":{"line":845,"column":8}}]},"66":{"line":850,"type":"if","locations":[{"start":{"line":850,"column":8},"end":{"line":850,"column":8}},{"start":{"line":850,"column":8},"end":{"line":850,"column":8}}]},"67":{"line":855,"type":"if","locations":[{"start":{"line":855,"column":8},"end":{"line":855,"column":8}},{"start":{"line":855,"column":8},"end":{"line":855,"column":8}}]},"68":{"line":934,"type":"if","locations":[{"start":{"line":934,"column":8},"end":{"line":934,"column":8}},{"start":{"line":934,"column":8},"end":{"line":934,"column":8}}]},"69":{"line":934,"type":"binary-expr","locations":[{"start":{"line":934,"column":11},"end":{"line":934,"column":22}},{"start":{"line":934,"column":26},"end":{"line":934,"column":37}},{"start":{"line":934,"column":41},"end":{"line":934,"column":46}},{"start":{"line":934,"column":50},"end":{"line":934,"column":55}}]},"70":{"line":949,"type":"if","locations":[{"start":{"line":949,"column":8},"end":{"line":949,"column":8}},{"start":{"line":949,"column":8},"end":{"line":949,"column":8}}]},"71":{"line":966,"type":"if","locations":[{"start":{"line":966,"column":8},"end":{"line":966,"column":8}},{"start":{"line":966,"column":8},"end":{"line":966,"column":8}}]},"72":{"line":966,"type":"binary-expr","locations":[{"start":{"line":966,"column":11},"end":{"line":966,"column":21}},{"start":{"line":966,"column":27},"end":{"line":966,"column":32}},{"start":{"line":966,"column":36},"end":{"line":966,"column":68}}]},"73":{"line":970,"type":"if","locations":[{"start":{"line":970,"column":13},"end":{"line":970,"column":13}},{"start":{"line":970,"column":13},"end":{"line":970,"column":13}}]},"74":{"line":987,"type":"binary-expr","locations":[{"start":{"line":987,"column":19},"end":{"line":987,"column":31}},{"start":{"line":987,"column":35},"end":{"line":987,"column":48}}]},"75":{"line":988,"type":"binary-expr","locations":[{"start":{"line":988,"column":18},"end":{"line":988,"column":32}},{"start":{"line":988,"column":36},"end":{"line":988,"column":47}}]},"76":{"line":989,"type":"if","locations":[{"start":{"line":989,"column":8},"end":{"line":989,"column":8}},{"start":{"line":989,"column":8},"end":{"line":989,"column":8}}]},"77":{"line":989,"type":"binary-expr","locations":[{"start":{"line":989,"column":12},"end":{"line":989,"column":15}},{"start":{"line":989,"column":19},"end":{"line":989,"column":37}},{"start":{"line":989,"column":43},"end":{"line":989,"column":47}},{"start":{"line":989,"column":51},"end":{"line":989,"column":70}}]},"78":{"line":1003,"type":"if","locations":[{"start":{"line":1003,"column":8},"end":{"line":1003,"column":8}},{"start":{"line":1003,"column":8},"end":{"line":1003,"column":8}}]},"79":{"line":1010,"type":"if","locations":[{"start":{"line":1010,"column":8},"end":{"line":1010,"column":8}},{"start":{"line":1010,"column":8},"end":{"line":1010,"column":8}}]},"80":{"line":1025,"type":"cond-expr","locations":[{"start":{"line":1025,"column":47},"end":{"line":1025,"column":60}},{"start":{"line":1025,"column":63},"end":{"line":1025,"column":76}}]},"81":{"line":1051,"type":"if","locations":[{"start":{"line":1051,"column":8},"end":{"line":1051,"column":8}},{"start":{"line":1051,"column":8},"end":{"line":1051,"column":8}}]},"82":{"line":1051,"type":"binary-expr","locations":[{"start":{"line":1051,"column":11},"end":{"line":1051,"column":17}},{"start":{"line":1051,"column":21},"end":{"line":1051,"column":33}}]},"83":{"line":1056,"type":"if","locations":[{"start":{"line":1056,"column":8},"end":{"line":1056,"column":8}},{"start":{"line":1056,"column":8},"end":{"line":1056,"column":8}}]},"84":{"line":1066,"type":"binary-expr","locations":[{"start":{"line":1066,"column":20},"end":{"line":1066,"column":31}},{"start":{"line":1066,"column":35},"end":{"line":1066,"column":43}}]},"85":{"line":1070,"type":"cond-expr","locations":[{"start":{"line":1070,"column":34},"end":{"line":1070,"column":42}},{"start":{"line":1070,"column":45},"end":{"line":1070,"column":50}}]},"86":{"line":1097,"type":"if","locations":[{"start":{"line":1097,"column":16},"end":{"line":1097,"column":16}},{"start":{"line":1097,"column":16},"end":{"line":1097,"column":16}}]},"87":{"line":1100,"type":"if","locations":[{"start":{"line":1100,"column":20},"end":{"line":1100,"column":20}},{"start":{"line":1100,"column":20},"end":{"line":1100,"column":20}}]},"88":{"line":1105,"type":"cond-expr","locations":[{"start":{"line":1105,"column":53},"end":{"line":1105,"column":61}},{"start":{"line":1105,"column":64},"end":{"line":1105,"column":69}}]},"89":{"line":1126,"type":"if","locations":[{"start":{"line":1126,"column":8},"end":{"line":1126,"column":8}},{"start":{"line":1126,"column":8},"end":{"line":1126,"column":8}}]},"90":{"line":1179,"type":"if","locations":[{"start":{"line":1179,"column":8},"end":{"line":1179,"column":8}},{"start":{"line":1179,"column":8},"end":{"line":1179,"column":8}}]},"91":{"line":1179,"type":"binary-expr","locations":[{"start":{"line":1179,"column":11},"end":{"line":1179,"column":41}},{"start":{"line":1179,"column":45},"end":{"line":1179,"column":82}}]},"92":{"line":1182,"type":"binary-expr","locations":[{"start":{"line":1182,"column":20},"end":{"line":1182,"column":32}},{"start":{"line":1182,"column":36},"end":{"line":1182,"column":93}}]},"93":{"line":1193,"type":"if","locations":[{"start":{"line":1193,"column":13},"end":{"line":1193,"column":13}},{"start":{"line":1193,"column":13},"end":{"line":1193,"column":13}}]},"94":{"line":1193,"type":"binary-expr","locations":[{"start":{"line":1193,"column":16},"end":{"line":1193,"column":46}},{"start":{"line":1193,"column":50},"end":{"line":1193,"column":87}}]},"95":{"line":1196,"type":"binary-expr","locations":[{"start":{"line":1196,"column":20},"end":{"line":1196,"column":32}},{"start":{"line":1196,"column":36},"end":{"line":1196,"column":94}}]},"96":{"line":1374,"type":"if","locations":[{"start":{"line":1374,"column":8},"end":{"line":1374,"column":8}},{"start":{"line":1374,"column":8},"end":{"line":1374,"column":8}}]},"97":{"line":1411,"type":"if","locations":[{"start":{"line":1411,"column":8},"end":{"line":1411,"column":8}},{"start":{"line":1411,"column":8},"end":{"line":1411,"column":8}}]},"98":{"line":1414,"type":"if","locations":[{"start":{"line":1414,"column":12},"end":{"line":1414,"column":12}},{"start":{"line":1414,"column":12},"end":{"line":1414,"column":12}}]},"99":{"line":1478,"type":"if","locations":[{"start":{"line":1478,"column":16},"end":{"line":1478,"column":16}},{"start":{"line":1478,"column":16},"end":{"line":1478,"column":16}}]},"100":{"line":1478,"type":"binary-expr","locations":[{"start":{"line":1478,"column":19},"end":{"line":1478,"column":30}},{"start":{"line":1478,"column":34},"end":{"line":1478,"column":48}}]},"101":{"line":1482,"type":"if","locations":[{"start":{"line":1482,"column":21},"end":{"line":1482,"column":21}},{"start":{"line":1482,"column":21},"end":{"line":1482,"column":21}}]},"102":{"line":1482,"type":"binary-expr","locations":[{"start":{"line":1482,"column":24},"end":{"line":1482,"column":36}},{"start":{"line":1482,"column":40},"end":{"line":1482,"column":53}}]},"103":{"line":1507,"type":"if","locations":[{"start":{"line":1507,"column":16},"end":{"line":1507,"column":16}},{"start":{"line":1507,"column":16},"end":{"line":1507,"column":16}}]},"104":{"line":1509,"type":"if","locations":[{"start":{"line":1509,"column":20},"end":{"line":1509,"column":20}},{"start":{"line":1509,"column":20},"end":{"line":1509,"column":20}}]},"105":{"line":1509,"type":"binary-expr","locations":[{"start":{"line":1509,"column":24},"end":{"line":1509,"column":29}},{"start":{"line":1509,"column":33},"end":{"line":1509,"column":65}},{"start":{"line":1509,"column":70},"end":{"line":1509,"column":81}}]},"106":{"line":1511,"type":"if","locations":[{"start":{"line":1511,"column":24},"end":{"line":1511,"column":24}},{"start":{"line":1511,"column":24},"end":{"line":1511,"column":24}}]},"107":{"line":1551,"type":"if","locations":[{"start":{"line":1551,"column":16},"end":{"line":1551,"column":16}},{"start":{"line":1551,"column":16},"end":{"line":1551,"column":16}}]},"108":{"line":1553,"type":"if","locations":[{"start":{"line":1553,"column":20},"end":{"line":1553,"column":20}},{"start":{"line":1553,"column":20},"end":{"line":1553,"column":20}}]},"109":{"line":1553,"type":"binary-expr","locations":[{"start":{"line":1553,"column":24},"end":{"line":1553,"column":29}},{"start":{"line":1553,"column":33},"end":{"line":1553,"column":65}},{"start":{"line":1553,"column":70},"end":{"line":1553,"column":82}}]},"110":{"line":1555,"type":"if","locations":[{"start":{"line":1555,"column":24},"end":{"line":1555,"column":24}},{"start":{"line":1555,"column":24},"end":{"line":1555,"column":24}}]},"111":{"line":1591,"type":"if","locations":[{"start":{"line":1591,"column":16},"end":{"line":1591,"column":16}},{"start":{"line":1591,"column":16},"end":{"line":1591,"column":16}}]},"112":{"line":1614,"type":"if","locations":[{"start":{"line":1614,"column":16},"end":{"line":1614,"column":16}},{"start":{"line":1614,"column":16},"end":{"line":1614,"column":16}}]}},"code":["(function () { YUI.add('charts-legend', function (Y, NAME) {","","/**"," * Adds legend functionality to charts."," *"," * @module charts"," * @submodule charts-legend"," */","var DOCUMENT = Y.config.doc,","TOP = \"top\",","RIGHT = \"right\",","BOTTOM = \"bottom\",","LEFT = \"left\",","EXTERNAL = \"external\",","HORIZONTAL = \"horizontal\",","VERTICAL = \"vertical\",","WIDTH = \"width\",","HEIGHT = \"height\",","POSITION = \"position\",","_X = \"x\",","_Y = \"y\",","PX = \"px\",","PieChartLegend,","LEGEND = {","    setter: function(val)","    {","        var legend = this.get(\"legend\");","        if(legend)","        {","            legend.destroy(true);","        }","        if(val instanceof Y.ChartLegend)","        {","            legend = val;","            legend.set(\"chart\", this);","        }","        else","        {","            val.chart = this;","            if(!val.hasOwnProperty(\"render\"))","            {","                val.render = this.get(\"contentBox\");","                val.includeInChartLayout = true;","            }","            legend = new Y.ChartLegend(val);","        }","        return legend;","    }","},","","/**"," * Contains methods for displaying items horizontally in a legend."," *"," * @module charts"," * @submodule charts-legend"," * @class HorizontalLegendLayout"," */","HorizontalLegendLayout = {","    /**","     * Displays items horizontally in a legend.","     *","     * @method _positionLegendItems","     * @param {Array} items Array of items to display in the legend.","     * @param {Number} maxWidth The width of the largest item in the legend.","     * @param {Number} maxHeight The height of the largest item in the legend.","     * @param {Number} totalWidth The total width of all items in a legend.","     * @param {Number} totalHeight The total height of all items in a legend.","     * @param {Number} padding The left, top, right and bottom padding properties for the legend.","     * @param {Number} horizontalGap The horizontal distance between items in a legend.","     * @param {Number} verticalGap The vertical distance between items in a legend.","     * @param {String} hAlign The horizontal alignment of the legend.","     * @protected","     */","    _positionLegendItems: function(items, maxWidth, maxHeight, totalWidth, totalHeight, padding, horizontalGap, verticalGap, hAlign)","    {","        var i = 0,","            rowIterator = 0,","            item,","            node,","            itemWidth,","            itemHeight,","            len,","            width = this.get(\"width\"),","            rows,","            rowsLen,","            row,","            totalWidthArray,","            legendWidth,","            topHeight = padding.top - verticalGap,","            limit = width - (padding.left + padding.right),","            left,","            top,","            right,","            bottom;","        HorizontalLegendLayout._setRowArrays(items, limit, horizontalGap);","        rows = HorizontalLegendLayout.rowArray;","        totalWidthArray = HorizontalLegendLayout.totalWidthArray;","        rowsLen = rows.length;","        for(; rowIterator < rowsLen; ++ rowIterator)","        {","            topHeight += verticalGap;","            row = rows[rowIterator];","            len = row.length;","            legendWidth =  HorizontalLegendLayout.getStartPoint(width, totalWidthArray[rowIterator], hAlign, padding);","            for(i = 0; i < len; ++i)","            {","                item = row[i];","                node = item.node;","                itemWidth = item.width;","                itemHeight = item.height;","                item.x = legendWidth;","                item.y = 0;","                left = !isNaN(left) ? Math.min(left, legendWidth) : legendWidth;","                top = !isNaN(top) ? Math.min(top, topHeight) : topHeight;","                right = !isNaN(right) ? Math.max(legendWidth + itemWidth, right) : legendWidth + itemWidth;","                bottom = !isNaN(bottom) ? Math.max(topHeight + itemHeight, bottom) : topHeight + itemHeight;","                node.setStyle(\"left\", legendWidth + PX);","                node.setStyle(\"top\", topHeight + PX);","                legendWidth += itemWidth + horizontalGap;","            }","            topHeight += item.height;","        }","        this._contentRect = {","            left: left,","            top: top,","            right: right,","            bottom: bottom","        };","        if(this.get(\"includeInChartLayout\"))","        {","            this.set(\"height\", topHeight + padding.bottom);","        }","    },","","    /**","     * Creates row and total width arrays used for displaying multiple rows of","     * legend items based on the items, available width and horizontalGap for the legend.","     *","     * @method _setRowArrays","     * @param {Array} items Array of legend items to display in a legend.","     * @param {Number} limit Total available width for displaying items in a legend.","     * @param {Number} horizontalGap Horizontal distance between items in a legend.","     * @protected","     */","    _setRowArrays: function(items, limit, horizontalGap)","    {","        var item = items[0],","            rowArray = [[item]],","            i = 1,","            rowIterator = 0,","            len = items.length,","            totalWidth = item.width,","            itemWidth,","            totalWidthArray = [[totalWidth]];","        for(; i < len; ++i)","        {","            item = items[i];","            itemWidth = item.width;","            if((totalWidth + horizontalGap + itemWidth) <= limit)","            {","                totalWidth += horizontalGap + itemWidth;","                rowArray[rowIterator].push(item);","            }","            else","            {","                totalWidth = horizontalGap + itemWidth;","                if(rowArray[rowIterator])","                {","                    rowIterator += 1;","                }","                rowArray[rowIterator] = [item];","            }","            totalWidthArray[rowIterator] = totalWidth;","        }","        HorizontalLegendLayout.rowArray = rowArray;","        HorizontalLegendLayout.totalWidthArray = totalWidthArray;","    },","","    /**","     * Returns the starting x-coordinate for a row of legend items.","     *","     * @method getStartPoint","     * @param {Number} w Width of the legend.","     * @param {Number} totalWidth Total width of all labels in the row.","     * @param {String} align Horizontal alignment of items for the legend.","     * @param {Object} padding Object contain left, top, right and bottom padding properties.","     * @return Number","     * @protected","     */","    getStartPoint: function(w, totalWidth, align, padding)","    {","        var startPoint;","        switch(align)","        {","            case LEFT :","                startPoint = padding.left;","            break;","            case \"center\" :","                startPoint = (w - totalWidth) * 0.5;","            break;","            case RIGHT :","                startPoint = w - totalWidth - padding.right;","            break;","        }","        return startPoint;","    }","},","","/**"," * Contains methods for displaying items vertically in a legend."," *"," * @module charts"," * @submodule charts-legend"," * @class VerticalLegendLayout"," */","VerticalLegendLayout = {","    /**","     * Displays items vertically in a legend.","     *","     * @method _positionLegendItems","     * @param {Array} items Array of items to display in the legend.","     * @param {Number} maxWidth The width of the largest item in the legend.","     * @param {Number} maxHeight The height of the largest item in the legend.","     * @param {Number} totalWidth The total width of all items in a legend.","     * @param {Number} totalHeight The total height of all items in a legend.","     * @param {Number} padding The left, top, right and bottom padding properties for the legend.","     * @param {Number} horizontalGap The horizontal distance between items in a legend.","     * @param {Number} verticalGap The vertical distance between items in a legend.","     * @param {String} vAlign The vertical alignment of the legend.","     * @protected","     */","    _positionLegendItems: function(items, maxWidth, maxHeight, totalWidth, totalHeight, padding, horizontalGap, verticalGap, vAlign)","    {","        var i = 0,","            columnIterator = 0,","            item,","            node,","            itemHeight,","            itemWidth,","            len,","            height = this.get(\"height\"),","            columns,","            columnsLen,","            column,","            totalHeightArray,","            legendHeight,","            leftWidth = padding.left - horizontalGap,","            legendWidth,","            limit = height - (padding.top + padding.bottom),","            left,","            top,","            right,","            bottom;","        VerticalLegendLayout._setColumnArrays(items, limit, verticalGap);","        columns = VerticalLegendLayout.columnArray;","        totalHeightArray = VerticalLegendLayout.totalHeightArray;","        columnsLen = columns.length;","        for(; columnIterator < columnsLen; ++ columnIterator)","        {","            leftWidth += horizontalGap;","            column = columns[columnIterator];","            len = column.length;","            legendHeight =  VerticalLegendLayout.getStartPoint(height, totalHeightArray[columnIterator], vAlign, padding);","            legendWidth = 0;","            for(i = 0; i < len; ++i)","            {","                item = column[i];","                node = item.node;","                itemHeight = item.height;","                itemWidth = item.width;","                item.y = legendHeight;","                item.x = leftWidth;","                left = !isNaN(left) ? Math.min(left, leftWidth) : leftWidth;","                top = !isNaN(top) ? Math.min(top, legendHeight) : legendHeight;","                right = !isNaN(right) ? Math.max(leftWidth + itemWidth, right) : leftWidth + itemWidth;","                bottom = !isNaN(bottom) ? Math.max(legendHeight + itemHeight, bottom) : legendHeight + itemHeight;","                node.setStyle(\"left\", leftWidth + PX);","                node.setStyle(\"top\", legendHeight + PX);","                legendHeight += itemHeight + verticalGap;","                legendWidth = Math.max(legendWidth, item.width);","            }","            leftWidth += legendWidth;","        }","        this._contentRect = {","            left: left,","            top: top,","            right: right,","            bottom: bottom","        };","        if(this.get(\"includeInChartLayout\"))","        {","            this.set(\"width\", leftWidth + padding.right);","        }","    },","","    /**","     * Creates column and total height arrays used for displaying multiple columns of","     * legend items based on the items, available height and verticalGap for the legend.","     *","     * @method _setColumnArrays","     * @param {Array} items Array of legend items to display in a legend.","     * @param {Number} limit Total available height for displaying items in a legend.","     * @param {Number} verticalGap Vertical distance between items in a legend.","     * @protected","     */","    _setColumnArrays: function(items, limit, verticalGap)","    {","        var item = items[0],","            columnArray = [[item]],","            i = 1,","            columnIterator = 0,","            len = items.length,","            totalHeight = item.height,","            itemHeight,","            totalHeightArray = [[totalHeight]];","        for(; i < len; ++i)","        {","            item = items[i];","            itemHeight = item.height;","            if((totalHeight + verticalGap + itemHeight) <= limit)","            {","                totalHeight += verticalGap + itemHeight;","                columnArray[columnIterator].push(item);","            }","            else","            {","                totalHeight = verticalGap + itemHeight;","                if(columnArray[columnIterator])","                {","                    columnIterator += 1;","                }","                columnArray[columnIterator] = [item];","            }","            totalHeightArray[columnIterator] = totalHeight;","        }","        VerticalLegendLayout.columnArray = columnArray;","        VerticalLegendLayout.totalHeightArray = totalHeightArray;","    },","","    /**","     * Returns the starting y-coordinate for a column of legend items.","     *","     * @method getStartPoint","     * @param {Number} h Height of the legend.","     * @param {Number} totalHeight Total height of all labels in the column.","     * @param {String} align Vertical alignment of items for the legend.","     * @param {Object} padding Object contain left, top, right and bottom padding properties.","     * @return Number","     * @protected","     */","    getStartPoint: function(h, totalHeight, align, padding)","    {","        var startPoint;","        switch(align)","        {","            case TOP :","                startPoint = padding.top;","            break;","            case \"middle\" :","                startPoint = (h - totalHeight) * 0.5;","            break;","            case BOTTOM :","                startPoint = h - totalHeight - padding.bottom;","            break;","        }","        return startPoint;","    }","},","","CartesianChartLegend = Y.Base.create(\"cartesianChartLegend\", Y.CartesianChart, [], {","    /**","     * Redraws and position all the components of the chart instance.","     *","     * @method _redraw","     * @private","     */","    _redraw: function()","    {","        if(this._drawing)","        {","            this._callLater = true;","            return;","        }","        this._drawing = true;","        this._callLater = false;","        var w = this.get(\"width\"),","            h = this.get(\"height\"),","            layoutBoxDimensions = this._getLayoutBoxDimensions(),","            leftPaneWidth = layoutBoxDimensions.left,","            rightPaneWidth = layoutBoxDimensions.right,","            topPaneHeight = layoutBoxDimensions.top,","            bottomPaneHeight = layoutBoxDimensions.bottom,","            leftAxesCollection = this.get(\"leftAxesCollection\"),","            rightAxesCollection = this.get(\"rightAxesCollection\"),","            topAxesCollection = this.get(\"topAxesCollection\"),","            bottomAxesCollection = this.get(\"bottomAxesCollection\"),","            i = 0,","            l,","            axis,","            graphOverflow = \"visible\",","            graph = this.get(\"graph\"),","            topOverflow,","            bottomOverflow,","            leftOverflow,","            rightOverflow,","            graphWidth,","            graphHeight,","            graphX,","            graphY,","            allowContentOverflow = this.get(\"allowContentOverflow\"),","            diff,","            rightAxesXCoords,","            leftAxesXCoords,","            topAxesYCoords,","            bottomAxesYCoords,","            legend = this.get(\"legend\"),","            graphRect = {};","","        if(leftAxesCollection)","        {","            leftAxesXCoords = [];","            l = leftAxesCollection.length;","            for(i = l - 1; i > -1; --i)","            {","                leftAxesXCoords.unshift(leftPaneWidth);","                leftPaneWidth += leftAxesCollection[i].get(\"width\");","            }","        }","        if(rightAxesCollection)","        {","            rightAxesXCoords = [];","            l = rightAxesCollection.length;","            i = 0;","            for(i = l - 1; i > -1; --i)","            {","                rightPaneWidth += rightAxesCollection[i].get(\"width\");","                rightAxesXCoords.unshift(w - rightPaneWidth);","            }","        }","        if(topAxesCollection)","        {","            topAxesYCoords = [];","            l = topAxesCollection.length;","            for(i = l - 1; i > -1; --i)","            {","                topAxesYCoords.unshift(topPaneHeight);","                topPaneHeight += topAxesCollection[i].get(\"height\");","            }","        }","        if(bottomAxesCollection)","        {","            bottomAxesYCoords = [];","            l = bottomAxesCollection.length;","            for(i = l - 1; i > -1; --i)","            {","                bottomPaneHeight += bottomAxesCollection[i].get(\"height\");","                bottomAxesYCoords.unshift(h - bottomPaneHeight);","            }","        }","","        graphWidth = w - (leftPaneWidth + rightPaneWidth);","        graphHeight = h - (bottomPaneHeight + topPaneHeight);","        graphRect.left = leftPaneWidth;","        graphRect.top = topPaneHeight;","        graphRect.bottom = h - bottomPaneHeight;","        graphRect.right = w - rightPaneWidth;","        if(!allowContentOverflow)","        {","            topOverflow = this._getTopOverflow(leftAxesCollection, rightAxesCollection);","            bottomOverflow = this._getBottomOverflow(leftAxesCollection, rightAxesCollection);","            leftOverflow = this._getLeftOverflow(bottomAxesCollection, topAxesCollection);","            rightOverflow = this._getRightOverflow(bottomAxesCollection, topAxesCollection);","","            diff = topOverflow - topPaneHeight;","            if(diff > 0)","            {","                graphRect.top = topOverflow;","                if(topAxesYCoords)","                {","                    i = 0;","                    l = topAxesYCoords.length;","                    for(; i < l; ++i)","                    {","                        topAxesYCoords[i] += diff;","                    }","                }","            }","","            diff = bottomOverflow - bottomPaneHeight;","            if(diff > 0)","            {","                graphRect.bottom = h - bottomOverflow;","                if(bottomAxesYCoords)","                {","                    i = 0;","                    l = bottomAxesYCoords.length;","                    for(; i < l; ++i)","                    {","                        bottomAxesYCoords[i] -= diff;","                    }","                }","            }","","            diff = leftOverflow - leftPaneWidth;","            if(diff > 0)","            {","                graphRect.left = leftOverflow;","                if(leftAxesXCoords)","                {","                    i = 0;","                    l = leftAxesXCoords.length;","                    for(; i < l; ++i)","                    {","                        leftAxesXCoords[i] += diff;","                    }","                }","            }","","            diff = rightOverflow - rightPaneWidth;","            if(diff > 0)","            {","                graphRect.right = w - rightOverflow;","                if(rightAxesXCoords)","                {","                    i = 0;","                    l = rightAxesXCoords.length;","                    for(; i < l; ++i)","                    {","                        rightAxesXCoords[i] -= diff;","                    }","                }","            }","        }","        graphWidth = graphRect.right - graphRect.left;","        graphHeight = graphRect.bottom - graphRect.top;","        graphX = graphRect.left;","        graphY = graphRect.top;","        if(legend)","        {","            if(legend.get(\"includeInChartLayout\"))","            {","                switch(legend.get(\"position\"))","                {","                    case \"left\" :","                        legend.set(\"y\", graphY);","                        legend.set(\"height\", graphHeight);","                    break;","                    case \"top\" :","                        legend.set(\"x\", graphX);","                        legend.set(\"width\", graphWidth);","                    break;","                    case \"bottom\" :","                        legend.set(\"x\", graphX);","                        legend.set(\"width\", graphWidth);","                    break;","                    case \"right\" :","                        legend.set(\"y\", graphY);","                        legend.set(\"height\", graphHeight);","                    break;","                }","            }","        }","        if(topAxesCollection)","        {","            l = topAxesCollection.length;","            i = 0;","            for(; i < l; i++)","            {","                axis = topAxesCollection[i];","                if(axis.get(\"width\") !== graphWidth)","                {","                    axis.set(\"width\", graphWidth);","                }","                axis.get(\"boundingBox\").setStyle(\"left\", graphX + PX);","                axis.get(\"boundingBox\").setStyle(\"top\", topAxesYCoords[i] + PX);","            }","            if(axis._hasDataOverflow())","            {","                graphOverflow = \"hidden\";","            }","        }","        if(bottomAxesCollection)","        {","            l = bottomAxesCollection.length;","            i = 0;","            for(; i < l; i++)","            {","                axis = bottomAxesCollection[i];","                if(axis.get(\"width\") !== graphWidth)","                {","                    axis.set(\"width\", graphWidth);","                }","                axis.get(\"boundingBox\").setStyle(\"left\", graphX + PX);","                axis.get(\"boundingBox\").setStyle(\"top\", bottomAxesYCoords[i] + PX);","            }","            if(axis._hasDataOverflow())","            {","                graphOverflow = \"hidden\";","            }","        }","        if(leftAxesCollection)","        {","            l = leftAxesCollection.length;","            i = 0;","            for(; i < l; ++i)","            {","                axis = leftAxesCollection[i];","                axis.get(\"boundingBox\").setStyle(\"top\", graphY + PX);","                axis.get(\"boundingBox\").setStyle(\"left\", leftAxesXCoords[i] + PX);","                if(axis.get(\"height\") !== graphHeight)","                {","                    axis.set(\"height\", graphHeight);","                }","            }","            if(axis._hasDataOverflow())","            {","                graphOverflow = \"hidden\";","            }","        }","        if(rightAxesCollection)","        {","            l = rightAxesCollection.length;","            i = 0;","            for(; i < l; ++i)","            {","                axis = rightAxesCollection[i];","                axis.get(\"boundingBox\").setStyle(\"top\", graphY + PX);","                axis.get(\"boundingBox\").setStyle(\"left\", rightAxesXCoords[i] + PX);","                if(axis.get(\"height\") !== graphHeight)","                {","                    axis.set(\"height\", graphHeight);","                }","            }","            if(axis._hasDataOverflow())","            {","                graphOverflow = \"hidden\";","            }","        }","        this._drawing = false;","        if(this._callLater)","        {","            this._redraw();","            return;","        }","        if(graph)","        {","            graph.get(\"boundingBox\").setStyle(\"left\", graphX + PX);","            graph.get(\"boundingBox\").setStyle(\"top\", graphY + PX);","            graph.set(\"width\", graphWidth);","            graph.set(\"height\", graphHeight);","            graph.get(\"boundingBox\").setStyle(\"overflow\", graphOverflow);","        }","","        if(this._overlay)","        {","            this._overlay.setStyle(\"left\", graphX + PX);","            this._overlay.setStyle(\"top\", graphY + PX);","            this._overlay.setStyle(\"width\", graphWidth + PX);","            this._overlay.setStyle(\"height\", graphHeight + PX);","        }","    },","","    /**","     * Positions the legend in a chart and returns the properties of the legend to be used in the","     * chart's layout algorithm.","     *","     * @method _getLayoutDimensions","     * @return {Object} The left, top, right and bottom values for the legend.","     * @protected","     */","    _getLayoutBoxDimensions: function()","    {","        var box = {","                top: 0,","                right: 0,","                bottom: 0,","                left: 0","            },","            legend = this.get(\"legend\"),","            position,","            direction,","            dimension,","            size,","            w = this.get(WIDTH),","            h = this.get(HEIGHT),","            gap;","        if(legend && legend.get(\"includeInChartLayout\"))","        {","            gap = legend.get(\"styles\").gap;","            position = legend.get(POSITION);","            if(position !== EXTERNAL)","            {","                direction = legend.get(\"direction\");","                dimension = direction === HORIZONTAL ? HEIGHT : WIDTH;","                size = legend.get(dimension);","                box[position] = size + gap;","                switch(position)","                {","                    case TOP :","                        legend.set(_Y, 0);","                    break;","                    case BOTTOM :","                        legend.set(_Y, h - size);","                    break;","                    case RIGHT :","                        legend.set(_X, w - size);","                    break;","                    case LEFT:","                        legend.set(_X, 0);","                    break;","                }","            }","        }","        return box;","    },","","    /**","     * Destructor implementation for the CartesianChart class. Calls destroy on all axes, series, legend (if available) and the Graph instance.","     * Removes the tooltip and overlay HTML elements.","     *","     * @method destructor","     * @protected","     */","    destructor: function()","    {","        var legend = this.get(\"legend\");","        if(legend)","        {","            legend.destroy(true);","        }","    }","}, {","    ATTRS: {","        legend: LEGEND","    }","});","","Y.CartesianChart = CartesianChartLegend;","","PieChartLegend = Y.Base.create(\"pieChartLegend\", Y.PieChart, [], {","    /**","     * Redraws the chart instance.","     *","     * @method _redraw","     * @private","     */","    _redraw: function()","    {","        if(this._drawing)","        {","            this._callLater = true;","            return;","        }","        this._drawing = true;","        this._callLater = false;","        var graph = this.get(\"graph\"),","            w = this.get(\"width\"),","            h = this.get(\"height\"),","            graphWidth,","            graphHeight,","            legend = this.get(\"legend\"),","            x = 0,","            y = 0,","            legendX = 0,","            legendY = 0,","            legendWidth,","            legendHeight,","            dimension,","            gap,","            position,","            direction;","        if(graph)","        {","            if(legend)","            {","                position = legend.get(\"position\");","                direction = legend.get(\"direction\");","                graphWidth = graph.get(\"width\");","                graphHeight = graph.get(\"height\");","                legendWidth = legend.get(\"width\");","                legendHeight = legend.get(\"height\");","                gap = legend.get(\"styles\").gap;","","                if((direction === \"vertical\" && (graphWidth + legendWidth + gap !== w)) ||","                    (direction === \"horizontal\" &&  (graphHeight + legendHeight + gap !== h)))","                {","                    switch(legend.get(\"position\"))","                    {","                        case LEFT :","                            dimension = Math.min(w - (legendWidth + gap), h);","                            legendHeight = h;","                            x = legendWidth + gap;","                            legend.set(HEIGHT, legendHeight);","                        break;","                        case TOP :","                            dimension = Math.min(h - (legendHeight + gap), w);","                            legendWidth = w;","                            y = legendHeight + gap;","                            legend.set(WIDTH, legendWidth);","                        break;","                        case RIGHT :","                            dimension = Math.min(w - (legendWidth + gap), h);","                            legendHeight = h;","                            legendX = dimension + gap;","                            legend.set(HEIGHT, legendHeight);","                        break;","                        case BOTTOM :","                            dimension = Math.min(h - (legendHeight + gap), w);","                            legendWidth = w;","                            legendY = dimension + gap;","                            legend.set(WIDTH, legendWidth);","                        break;","                    }","                    graph.set(WIDTH, dimension);","                    graph.set(HEIGHT, dimension);","                }","                else","                {","                    switch(legend.get(\"position\"))","                    {","                        case LEFT :","                            x = legendWidth + gap;","                        break;","                        case TOP :","                            y = legendHeight + gap;","                        break;","                        case RIGHT :","                            legendX = graphWidth + gap;","                        break;","                        case BOTTOM :","                            legendY = graphHeight + gap;","                        break;","                    }","                }","            }","            else","            {","                graph.set(_X, 0);","                graph.set(_Y, 0);","                graph.set(WIDTH, w);","                graph.set(HEIGHT, h);","            }","        }","        this._drawing = false;","        if(this._callLater)","        {","            this._redraw();","            return;","        }","        if(graph)","        {","            graph.set(_X, x);","            graph.set(_Y, y);","        }","        if(legend)","        {","            legend.set(_X, legendX);","            legend.set(_Y, legendY);","        }","    }","}, {","    ATTRS: {","        /**","         * The legend for the chart.","         *","         * @attribute","         * @type Legend","         */","        legend: LEGEND","    }","});","Y.PieChart = PieChartLegend;","/**"," * ChartLegend provides a legend for a chart."," *"," * @class ChartLegend"," * @module charts"," * @submodule charts-legend"," * @extends Widget"," */","Y.ChartLegend = Y.Base.create(\"chartlegend\", Y.Widget, [Y.Renderer], {","    /**","     * Initializes the chart.","     *","     * @method initializer","     * @private","     */","    initializer: function()","    {","        this._items = [];","    },","","    /**","     * @method renderUI","     * @private","     */","    renderUI: function()","    {","        var bb = this.get(\"boundingBox\"),","            cb = this.get(\"contentBox\"),","            styles = this.get(\"styles\").background,","            background = new Y.Rect({","                graphic: cb,","                fill: styles.fill,","                stroke: styles.border","            });","        bb.setStyle(\"display\", \"block\");","        bb.setStyle(\"position\", \"absolute\");","        this.set(\"background\", background);","    },","","    /**","     * @method bindUI","     * @private","     */","    bindUI: function()","    {","        this.get(\"chart\").after(\"seriesCollectionChange\", Y.bind(this._updateHandler, this));","        this.get(\"chart\").after(\"stylesChange\", Y.bind(this._updateHandler, this));","        this.after(\"stylesChange\", this._updateHandler);","        this.after(\"positionChange\", this._positionChangeHandler);","        this.after(\"widthChange\", this._handleSizeChange);","        this.after(\"heightChange\", this._handleSizeChange);","    },","","    /**","     * @method syncUI","     * @private","     */","    syncUI: function()","    {","        var w = this.get(\"width\"),","            h = this.get(\"height\");","        if(isFinite(w) && isFinite(h) && w > 0 && h > 0)","        {","            this._drawLegend();","        }","    },","","    /**","     * Handles changes to legend.","     *","     * @method _updateHandler","     * @param {Object} e Event object","     * @private","     */","    _updateHandler: function()","    {","        if(this.get(\"rendered\"))","        {","            this._drawLegend();","        }","    },","","    /**","     * Handles position changes.","     *","     * @method _positionChangeHandler","     * @param {Object} e Event object","     * @private","     */","    _positionChangeHandler: function()","    {","        var chart = this.get(\"chart\"),","            parentNode = this._parentNode;","        if(parentNode && ((chart && this.get(\"includeInChartLayout\"))))","        {","            this.fire(\"legendRendered\");","        }","        else if(this.get(\"rendered\"))","        {","            this._drawLegend();","        }","    },","","    /**","     * Updates the legend when the size changes.","     *","     * @method _handleSizeChange","     * @param {Object} e Event object.","     * @private","     */","    _handleSizeChange: function(e)","    {","        var attrName = e.attrName,","            pos = this.get(POSITION),","            vert = pos === LEFT || pos === RIGHT,","            hor = pos === BOTTOM || pos === TOP;","        if((hor && attrName === WIDTH) || (vert && attrName === HEIGHT))","        {","            this._drawLegend();","        }","    },","","    /**","     * Draws the legend","     *","     * @method _drawLegend","     * @private","     */","    _drawLegend: function()","    {","        if(this._drawing)","        {","            this._callLater = true;","            return;","        }","        this._drawing = true;","        this._callLater = false;","        if(this.get(\"includeInChartLayout\"))","        {","            this.get(\"chart\")._itemRenderQueue.unshift(this);","        }","        var chart = this.get(\"chart\"),","            node = this.get(\"contentBox\"),","            seriesCollection = chart.get(\"seriesCollection\"),","            series,","            styles = this.get(\"styles\"),","            padding = styles.padding,","            itemStyles = styles.item,","            seriesStyles,","            hSpacing = itemStyles.hSpacing,","            vSpacing = itemStyles.vSpacing,","            direction = this.get(\"direction\"),","            align = direction === \"vertical\" ? styles.vAlign : styles.hAlign,","            marker = styles.marker,","            labelStyles = itemStyles.label,","            displayName,","            layout = this._layout[direction],","            i,","            len,","            isArray,","            legendShape,","            shape,","            shapeClass,","            item,","            fill,","            border,","            fillColors,","            borderColors,","            borderWeight,","            items = [],","            markerWidth = marker.width,","            markerHeight = marker.height,","            totalWidth = 0 - hSpacing,","            totalHeight = 0 - vSpacing,","            maxWidth = 0,","            maxHeight = 0,","            itemWidth,","            itemHeight;","        if(marker && marker.shape)","        {","            legendShape = marker.shape;","        }","        this._destroyLegendItems();","        if(chart instanceof Y.PieChart)","        {","            series = seriesCollection[0];","            displayName = series.get(\"categoryAxis\").getDataByKey(series.get(\"categoryKey\"));","            seriesStyles = series.get(\"styles\").marker;","            fillColors = seriesStyles.fill.colors;","            borderColors = seriesStyles.border.colors;","            borderWeight = seriesStyles.border.weight;","            i = 0;","            len = displayName.length;","            shape = legendShape || Y.Circle;","            isArray = Y.Lang.isArray(shape);","            for(; i < len; ++i)","            {","                shape = isArray ? shape[i] : shape;","                fill = {","                    color: fillColors[i]","                };","                border = {","                    colors: borderColors[i],","                    weight: borderWeight","                };","                displayName = chart.getSeriesItems(series, i).category.value;","                item = this._getLegendItem(node, this._getShapeClass(shape), fill, border, labelStyles, markerWidth, markerHeight, displayName);","                itemWidth = item.width;","                itemHeight = item.height;","                maxWidth = Math.max(maxWidth, itemWidth);","                maxHeight = Math.max(maxHeight, itemHeight);","                totalWidth += itemWidth + hSpacing;","                totalHeight += itemHeight + vSpacing;","                items.push(item);","            }","        }","        else","        {","            i = 0;","            len = seriesCollection.length;","            for(; i < len; ++i)","            {","                series = seriesCollection[i];","                seriesStyles = this._getStylesBySeriesType(series, shape);","                if(!legendShape)","                {","                    shape = seriesStyles.shape;","                    if(!shape)","                    {","                        shape = Y.Circle;","                    }","                }","                shapeClass = Y.Lang.isArray(shape) ? shape[i] : shape;","                item = this._getLegendItem(","                    node,","                    this._getShapeClass(shape),","                    seriesStyles.fill,","                    seriesStyles.border,","                    labelStyles,","                    markerWidth,","                    markerHeight,","                    series.get(\"valueDisplayName\")","                );","                itemWidth = item.width;","                itemHeight = item.height;","                maxWidth = Math.max(maxWidth, itemWidth);","                maxHeight = Math.max(maxHeight, itemHeight);","                totalWidth += itemWidth + hSpacing;","                totalHeight += itemHeight + vSpacing;","                items.push(item);","            }","        }","        this._drawing = false;","        if(this._callLater)","        {","            this._drawLegend();","        }","        else","        {","            layout._positionLegendItems.apply(","                this,","                [items, maxWidth, maxHeight, totalWidth, totalHeight, padding, hSpacing, vSpacing, align]","            );","            this._updateBackground(styles);","            this.fire(\"legendRendered\");","        }","    },","","    /**","     * Updates the background for the legend.","     *","     * @method _updateBackground","     * @param {Object} styles Reference to the legend's styles attribute","     * @private","     */","    _updateBackground: function(styles)","    {","        var backgroundStyles = styles.background,","            contentRect = this._contentRect,","            padding = styles.padding,","            x = contentRect.left - padding.left,","            y = contentRect.top - padding.top,","            w = contentRect.right - x + padding.right,","            h = contentRect.bottom - y + padding.bottom;","        this.get(\"background\").set({","            fill: backgroundStyles.fill,","            stroke: backgroundStyles.border,","            width: w,","            height: h,","            x: x,","            y: y","        });","    },","","    /**","     * Retrieves the marker styles based on the type of series. For series that contain a marker, the marker styles are returned.","     *","     * @method _getStylesBySeriesType","     * @param {CartesianSeries | PieSeries} The series in which the style properties will be received.","     * @return Object An object containing fill, border and shape information.","     * @private","     */","    _getStylesBySeriesType: function(series)","    {","        var styles = series.get(\"styles\"),","            color;","        if(series instanceof Y.LineSeries || series instanceof Y.StackedLineSeries)","        {","            styles = series.get(\"styles\").line;","            color = styles.color || series._getDefaultColor(series.get(\"graphOrder\"), \"line\");","            return {","                border: {","                    weight: 1,","                    color: color","                },","                fill: {","                    color: color","                }","            };","        }","        else if(series instanceof Y.AreaSeries || series instanceof Y.StackedAreaSeries)","        {","            styles = series.get(\"styles\").area;","            color = styles.color || series._getDefaultColor(series.get(\"graphOrder\"), \"slice\");","            return {","                border: {","                    weight: 1,","                    color: color","                },","                fill: {","                    color: color","                }","            };","        }","        else","        {","            styles = series.get(\"styles\").marker;","            return {","                fill: styles.fill,","","                border: {","                    weight: styles.border.weight,","","                    color: styles.border.color,","","                    shape: styles.shape","                },","                shape: styles.shape","            };","        }","    },","","    /**","     * Returns a legend item consisting of the following properties:","     *  <dl>","     *    <dt>node</dt><dd>The `Node` containing the legend item elements.</dd>","     *      <dt>shape</dt><dd>The `Shape` element for the legend item.</dd>","     *      <dt>textNode</dt><dd>The `Node` containing the text></dd>","     *      <dt>text</dt><dd></dd>","     *  </dl>","     *","     * @method _getLegendItem","     * @param {Node} shapeProps Reference to the `node` attribute.","     * @param {String | Class} shapeClass The type of shape","     * @param {Object} fill Properties for the shape's fill","     * @param {Object} border Properties for the shape's border","     * @param {String} text String to be rendered as the legend's text","     * @param {Number} width Total width of the legend item","     * @param {Number} height Total height of the legend item","     * @param {HTML | String} text Text for the legendItem","     * @return Object","     * @private","     */","    _getLegendItem: function(node, shapeClass, fill, border, labelStyles, w, h, text)","    {","        var containerNode = Y.one(DOCUMENT.createElement(\"div\")),","            textField = Y.one(DOCUMENT.createElement(\"span\")),","            shape,","            dimension,","            padding,","            left,","            item,","            ShapeClass = shapeClass;","        containerNode.setStyle(POSITION, \"absolute\");","        textField.setStyle(POSITION, \"absolute\");","        textField.setStyles(labelStyles);","        textField.appendChild(DOCUMENT.createTextNode(text));","        containerNode.appendChild(textField);","        node.appendChild(containerNode);","        dimension = textField.get(\"offsetHeight\");","        padding = dimension - h;","        left = w + padding + 2;","        textField.setStyle(\"left\", left + PX);","        containerNode.setStyle(\"height\", dimension + PX);","        containerNode.setStyle(\"width\", (left + textField.get(\"offsetWidth\")) + PX);","        shape = new ShapeClass({","            fill: fill,","            stroke: border,","            width: w,","            height: h,","            x: padding * 0.5,","            y: padding * 0.5,","            w: w,","            h: h,","            graphic: containerNode","        });","        textField.setStyle(\"left\", dimension + PX);","        item = {","            node: containerNode,","            width: containerNode.get(\"offsetWidth\"),","            height: containerNode.get(\"offsetHeight\"),","            shape: shape,","            textNode: textField,","            text: text","        };","        this._items.push(item);","        return item;","    },","","    /**","     * Evaluates and returns correct class for drawing a shape.","     *","     * @method _getShapeClass","     * @return Shape","     * @private","     */","    _getShapeClass: function()","    {","        var graphic = this.get(\"background\").get(\"graphic\");","        return graphic._getShapeClass.apply(graphic, arguments);","    },","","    /**","     * Returns the default hash for the `styles` attribute.","     *","     * @method _getDefaultStyles","     * @return Object","     * @protected","     */","    _getDefaultStyles: function()","    {","        var styles = {","            padding: {","                top: 8,","                right: 8,","                bottom: 8,","                left: 9","            },","            gap: 10,","            hAlign: \"center\",","            vAlign: \"top\",","            marker: this._getPlotDefaults(),","            item: {","                hSpacing: 10,","                vSpacing: 5,","                label: {","                    color:\"#808080\",","                    fontSize:\"85%\",","                    whiteSpace: \"nowrap\"","                }","            },","            background: {","                shape: \"rect\",","                fill:{","                    color:\"#faf9f2\"","                },","                border: {","                    color:\"#dad8c9\",","                    weight: 1","                }","            }","        };","        return styles;","    },","","    /**","     * Gets the default values for series that use the utility. This method is used by","     * the class' `styles` attribute's getter to get build default values.","     *","     * @method _getPlotDefaults","     * @return Object","     * @protected","     */","    _getPlotDefaults: function()","    {","        var defs = {","            width: 10,","            height: 10","        };","        return defs;","    },","","    /**","     * Destroys legend items.","     *","     * @method _destroyLegendItems","     * @private","     */","    _destroyLegendItems: function()","    {","        var item;","        if(this._items)","        {","            while(this._items.length > 0)","            {","                item = this._items.shift();","                item.shape.get(\"graphic\").destroy();","                item.node.empty();","                item.node.destroy(true);","                item.node = null;","                item = null;","            }","        }","        this._items = [];","    },","","    /**","     * Maps layout classes.","     *","     * @property _layout","     * @private","     */","    _layout: {","        vertical: VerticalLegendLayout,","        horizontal: HorizontalLegendLayout","    },","","    /**","     * Destructor implementation ChartLegend class. Removes all items and the Graphic instance from the widget.","     *","     * @method destructor","     * @protected","     */","    destructor: function()","    {","        var background = this.get(\"background\"),","            backgroundGraphic;","        this._destroyLegendItems();","        if(background)","        {","            backgroundGraphic = background.get(\"graphic\");","            if(backgroundGraphic)","            {","                backgroundGraphic.destroy();","            }","            else","            {","                background.destroy();","            }","        }","","    }","}, {","    ATTRS: {","        /**","         * Indicates whether the chart's contentBox is the parentNode for the legend.","         *","         * @attribute includeInChartLayout","         * @type Boolean","         * @private","         */","        includeInChartLayout: {","            value: false","        },","","        /**","         * Reference to the `Chart` instance.","         *","         * @attribute chart","         * @type Chart","         */","        chart: {","            setter: function(val)","            {","                this.after(\"legendRendered\", Y.bind(val._itemRendered, val));","                return val;","            }","        },","","        /**","         * Indicates the direction in relation of the legend's layout. The `direction` of the legend is determined by its","         * `position` value.","         *","         * @attribute direction","         * @type String","         */","        direction: {","            value: \"vertical\"","        },","","        /**","         * Indicates the position and direction of the legend. Possible values are `left`, `top`, `right` and `bottom`.","         * Values of `left` and `right` values have a `direction` of `vertical`. Values of `top` and `bottom` values have","         * a `direction` of `horizontal`.","         *","         * @attribute position","         * @type String","         */","        position: {","            lazyAdd: false,","","            value: \"right\",","","            setter: function(val)","            {","                if(val === TOP || val === BOTTOM)","                {","                    this.set(\"direction\", HORIZONTAL);","                }","                else if(val === LEFT || val === RIGHT)","                {","                    this.set(\"direction\", VERTICAL);","                }","                return val;","            }","        },","","        /**","         * The width of the legend. Depending on the implementation of the ChartLegend, this value is `readOnly`.","         * By default, the legend is included in the layout of the `Chart` that it references. Under this circumstance,","         * `width` is always `readOnly`. When the legend is rendered in its own dom element, the `readOnly` status is","         * determined by the direction of the legend. If the `position` is `left` or `right` or the `direction` is","         * `vertical`, width is `readOnly`. If the position is `top` or `bottom` or the `direction` is `horizontal`,","         * width can be explicitly set. If width is not explicitly set, the width will be determined by the width of the","         * legend's parent element.","         *","         * @attribute width","         * @type Number","         */","        width: {","            getter: function()","            {","                var chart = this.get(\"chart\"),","                    parentNode = this._parentNode;","                if(parentNode)","                {","                    if((chart && this.get(\"includeInChartLayout\")) || this._width)","                    {","                        if(!this._width)","                        {","                            this._width = 0;","                        }","                        return this._width;","                    }","                    else","                    {","                        return parentNode.get(\"offsetWidth\");","                    }","                }","                return \"\";","            },","","            setter: function(val)","            {","                this._width = val;","                return val;","            }","        },","","        /**","         * The height of the legend. Depending on the implementation of the ChartLegend, this value is `readOnly`.","         * By default, the legend is included in the layout of the `Chart` that it references. Under this circumstance,","         * `height` is always `readOnly`. When the legend is rendered in its own dom element, the `readOnly` status is","         * determined by the direction of the legend. If the `position` is `top` or `bottom` or the `direction` is","         * `horizontal`, height is `readOnly`. If the position is `left` or `right` or the `direction` is `vertical`,","         * height can be explicitly set. If height is not explicitly set, the height will be determined by the width of the","         * legend's parent element.","         *","         * @attribute height","         * @type Number","         */","        height: {","            valueFn: \"_heightGetter\",","","            getter: function()","            {","                var chart = this.get(\"chart\"),","                    parentNode = this._parentNode;","                if(parentNode)","                {","                    if((chart && this.get(\"includeInChartLayout\")) || this._height)","                    {","                        if(!this._height)","                        {","                            this._height = 0;","                        }","                        return this._height;","                    }","                    else","                    {","                        return parentNode.get(\"offsetHeight\");","                    }","                }","                return \"\";","            },","","            setter: function(val)","            {","                this._height = val;","                return val;","            }","        },","","        /**","         * Indicates the x position of legend.","         *","         * @attribute x","         * @type Number","         * @readOnly","         */","        x: {","            lazyAdd: false,","","            value: 0,","","            setter: function(val)","            {","                var node = this.get(\"boundingBox\");","                if(node)","                {","                    node.setStyle(LEFT, val + PX);","                }","                return val;","            }","        },","","        /**","         * Indicates the y position of legend.","         *","         * @attribute y","         * @type Number","         * @readOnly","         */","        y: {","            lazyAdd: false,","","            value: 0,","","            setter: function(val)","            {","                var node = this.get(\"boundingBox\");","                if(node)","                {","                    node.setStyle(TOP, val + PX);","                }","                return val;","            }","        },","","        /**","         * Array of items contained in the legend. Each item is an object containing the following properties:","         *","         * <dl>","         *      <dt>node</dt><dd>Node containing text for the legend item.</dd>","         *      <dt>marker</dt><dd>Shape for the legend item.</dd>","         * </dl>","         *","         * @attribute items","         * @type Array","         * @readOnly","         */","        items: {","            getter: function()","            {","                return this._items;","            }","        },","","        /**","         * Background for the legend.","         *","         * @attribute background","         * @type Rect","         */","        background: {}","","        /**","         * Properties used to display and style the ChartLegend.  This attribute is inherited from `Renderer`.","         * Below are the default values:","         *","         *  <dl>","         *      <dt>gap</dt><dd>Distance, in pixels, between the `ChartLegend` instance and the chart's content. When `ChartLegend`","         *      is rendered within a `Chart` instance this value is applied.</dd>","         *      <dt>hAlign</dt><dd>Defines the horizontal alignment of the `items` in a `ChartLegend` rendered in a horizontal direction.","         *      This value is applied when the instance's `position` is set to top or bottom. This attribute can be set to left, center","         *      or right. The default value is center.</dd>","         *      <dt>vAlign</dt><dd>Defines the vertical alignment of the `items` in a `ChartLegend` rendered in vertical direction. This","         *      value is applied when the instance's `position` is set to left or right. The attribute can be set to top, middle or","         *      bottom. The default value is middle.</dd>","         *      <dt>item</dt><dd>Set of style properties applied to the `items` of the `ChartLegend`.","         *          <dl>","         *              <dt>hSpacing</dt><dd>Horizontal distance, in pixels, between legend `items`.</dd>","         *              <dt>vSpacing</dt><dd>Vertical distance, in pixels, between legend `items`.</dd>","         *              <dt>label</dt><dd>Properties for the text of an `item`.","         *                  <dl>","         *                      <dt>color</dt><dd>Color of the text. The default values is \"#808080\".</dd>","         *                      <dt>fontSize</dt><dd>Font size for the text. The default value is \"85%\".</dd>","         *                  </dl>","         *              </dd>","         *              <dt>marker</dt><dd>Properties for the `item` markers.","         *                  <dl>","         *                      <dt>width</dt><dd>Specifies the width of the markers.</dd>","         *                      <dt>height</dt><dd>Specifies the height of the markers.</dd>","         *                  </dl>","         *              </dd>","         *          </dl>","         *      </dd>","         *      <dt>background</dt><dd>Properties for the `ChartLegend` background.","         *          <dl>","         *              <dt>fill</dt><dd>Properties for the background fill.","         *                  <dl>","         *                      <dt>color</dt><dd>Color for the fill. The default value is \"#faf9f2\".</dd>","         *                  </dl>","         *              </dd>","         *              <dt>border</dt><dd>Properties for the background border.","         *                  <dl>","         *                      <dt>color</dt><dd>Color for the border. The default value is \"#dad8c9\".</dd>","         *                      <dt>weight</dt><dd>Weight of the border. The default values is 1.</dd>","         *                  </dl>","         *              </dd>","         *          </dl>","         *      </dd>","         * </dl>","         *","         * @attribute styles","         * @type Object","         */","    }","});","","","}, '3.10.3', {\"requires\": [\"charts-base\"]});","","}());"]};
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
    11
}
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
    12
var __cov_tWw2Ofro70cay0RlahMhfw = __coverage__['build/charts-legend/charts-legend.js'];
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
    13
__cov_tWw2Ofro70cay0RlahMhfw.s['1']++;YUI.add('charts-legend',function(Y,NAME){__cov_tWw2Ofro70cay0RlahMhfw.f['1']++;__cov_tWw2Ofro70cay0RlahMhfw.s['2']++;var DOCUMENT=Y.config.doc,TOP='top',RIGHT='right',BOTTOM='bottom',LEFT='left',EXTERNAL='external',HORIZONTAL='horizontal',VERTICAL='vertical',WIDTH='width',HEIGHT='height',POSITION='position',_X='x',_Y='y',PX='px',PieChartLegend,LEGEND={setter:function(val){__cov_tWw2Ofro70cay0RlahMhfw.f['2']++;__cov_tWw2Ofro70cay0RlahMhfw.s['3']++;var legend=this.get('legend');__cov_tWw2Ofro70cay0RlahMhfw.s['4']++;if(legend){__cov_tWw2Ofro70cay0RlahMhfw.b['1'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['5']++;legend.destroy(true);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['1'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['6']++;if(val instanceof Y.ChartLegend){__cov_tWw2Ofro70cay0RlahMhfw.b['2'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['7']++;legend=val;__cov_tWw2Ofro70cay0RlahMhfw.s['8']++;legend.set('chart',this);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['2'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['9']++;val.chart=this;__cov_tWw2Ofro70cay0RlahMhfw.s['10']++;if(!val.hasOwnProperty('render')){__cov_tWw2Ofro70cay0RlahMhfw.b['3'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['11']++;val.render=this.get('contentBox');__cov_tWw2Ofro70cay0RlahMhfw.s['12']++;val.includeInChartLayout=true;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['3'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['13']++;legend=new Y.ChartLegend(val);}__cov_tWw2Ofro70cay0RlahMhfw.s['14']++;return legend;}},HorizontalLegendLayout={_positionLegendItems:function(items,maxWidth,maxHeight,totalWidth,totalHeight,padding,horizontalGap,verticalGap,hAlign){__cov_tWw2Ofro70cay0RlahMhfw.f['3']++;__cov_tWw2Ofro70cay0RlahMhfw.s['15']++;var i=0,rowIterator=0,item,node,itemWidth,itemHeight,len,width=this.get('width'),rows,rowsLen,row,totalWidthArray,legendWidth,topHeight=padding.top-verticalGap,limit=width-(padding.left+padding.right),left,top,right,bottom;__cov_tWw2Ofro70cay0RlahMhfw.s['16']++;HorizontalLegendLayout._setRowArrays(items,limit,horizontalGap);__cov_tWw2Ofro70cay0RlahMhfw.s['17']++;rows=HorizontalLegendLayout.rowArray;__cov_tWw2Ofro70cay0RlahMhfw.s['18']++;totalWidthArray=HorizontalLegendLayout.totalWidthArray;__cov_tWw2Ofro70cay0RlahMhfw.s['19']++;rowsLen=rows.length;__cov_tWw2Ofro70cay0RlahMhfw.s['20']++;for(;rowIterator<rowsLen;++rowIterator){__cov_tWw2Ofro70cay0RlahMhfw.s['21']++;topHeight+=verticalGap;__cov_tWw2Ofro70cay0RlahMhfw.s['22']++;row=rows[rowIterator];__cov_tWw2Ofro70cay0RlahMhfw.s['23']++;len=row.length;__cov_tWw2Ofro70cay0RlahMhfw.s['24']++;legendWidth=HorizontalLegendLayout.getStartPoint(width,totalWidthArray[rowIterator],hAlign,padding);__cov_tWw2Ofro70cay0RlahMhfw.s['25']++;for(i=0;i<len;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['26']++;item=row[i];__cov_tWw2Ofro70cay0RlahMhfw.s['27']++;node=item.node;__cov_tWw2Ofro70cay0RlahMhfw.s['28']++;itemWidth=item.width;__cov_tWw2Ofro70cay0RlahMhfw.s['29']++;itemHeight=item.height;__cov_tWw2Ofro70cay0RlahMhfw.s['30']++;item.x=legendWidth;__cov_tWw2Ofro70cay0RlahMhfw.s['31']++;item.y=0;__cov_tWw2Ofro70cay0RlahMhfw.s['32']++;left=!isNaN(left)?(__cov_tWw2Ofro70cay0RlahMhfw.b['4'][0]++,Math.min(left,legendWidth)):(__cov_tWw2Ofro70cay0RlahMhfw.b['4'][1]++,legendWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['33']++;top=!isNaN(top)?(__cov_tWw2Ofro70cay0RlahMhfw.b['5'][0]++,Math.min(top,topHeight)):(__cov_tWw2Ofro70cay0RlahMhfw.b['5'][1]++,topHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['34']++;right=!isNaN(right)?(__cov_tWw2Ofro70cay0RlahMhfw.b['6'][0]++,Math.max(legendWidth+itemWidth,right)):(__cov_tWw2Ofro70cay0RlahMhfw.b['6'][1]++,legendWidth+itemWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['35']++;bottom=!isNaN(bottom)?(__cov_tWw2Ofro70cay0RlahMhfw.b['7'][0]++,Math.max(topHeight+itemHeight,bottom)):(__cov_tWw2Ofro70cay0RlahMhfw.b['7'][1]++,topHeight+itemHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['36']++;node.setStyle('left',legendWidth+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['37']++;node.setStyle('top',topHeight+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['38']++;legendWidth+=itemWidth+horizontalGap;}__cov_tWw2Ofro70cay0RlahMhfw.s['39']++;topHeight+=item.height;}__cov_tWw2Ofro70cay0RlahMhfw.s['40']++;this._contentRect={left:left,top:top,right:right,bottom:bottom};__cov_tWw2Ofro70cay0RlahMhfw.s['41']++;if(this.get('includeInChartLayout')){__cov_tWw2Ofro70cay0RlahMhfw.b['8'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['42']++;this.set('height',topHeight+padding.bottom);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['8'][1]++;}},_setRowArrays:function(items,limit,horizontalGap){__cov_tWw2Ofro70cay0RlahMhfw.f['4']++;__cov_tWw2Ofro70cay0RlahMhfw.s['43']++;var item=items[0],rowArray=[[item]],i=1,rowIterator=0,len=items.length,totalWidth=item.width,itemWidth,totalWidthArray=[[totalWidth]];__cov_tWw2Ofro70cay0RlahMhfw.s['44']++;for(;i<len;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['45']++;item=items[i];__cov_tWw2Ofro70cay0RlahMhfw.s['46']++;itemWidth=item.width;__cov_tWw2Ofro70cay0RlahMhfw.s['47']++;if(totalWidth+horizontalGap+itemWidth<=limit){__cov_tWw2Ofro70cay0RlahMhfw.b['9'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['48']++;totalWidth+=horizontalGap+itemWidth;__cov_tWw2Ofro70cay0RlahMhfw.s['49']++;rowArray[rowIterator].push(item);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['9'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['50']++;totalWidth=horizontalGap+itemWidth;__cov_tWw2Ofro70cay0RlahMhfw.s['51']++;if(rowArray[rowIterator]){__cov_tWw2Ofro70cay0RlahMhfw.b['10'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['52']++;rowIterator+=1;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['10'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['53']++;rowArray[rowIterator]=[item];}__cov_tWw2Ofro70cay0RlahMhfw.s['54']++;totalWidthArray[rowIterator]=totalWidth;}__cov_tWw2Ofro70cay0RlahMhfw.s['55']++;HorizontalLegendLayout.rowArray=rowArray;__cov_tWw2Ofro70cay0RlahMhfw.s['56']++;HorizontalLegendLayout.totalWidthArray=totalWidthArray;},getStartPoint:function(w,totalWidth,align,padding){__cov_tWw2Ofro70cay0RlahMhfw.f['5']++;__cov_tWw2Ofro70cay0RlahMhfw.s['57']++;var startPoint;__cov_tWw2Ofro70cay0RlahMhfw.s['58']++;switch(align){case LEFT:__cov_tWw2Ofro70cay0RlahMhfw.b['11'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['59']++;startPoint=padding.left;__cov_tWw2Ofro70cay0RlahMhfw.s['60']++;break;case'center':__cov_tWw2Ofro70cay0RlahMhfw.b['11'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['61']++;startPoint=(w-totalWidth)*0.5;__cov_tWw2Ofro70cay0RlahMhfw.s['62']++;break;case RIGHT:__cov_tWw2Ofro70cay0RlahMhfw.b['11'][2]++;__cov_tWw2Ofro70cay0RlahMhfw.s['63']++;startPoint=w-totalWidth-padding.right;__cov_tWw2Ofro70cay0RlahMhfw.s['64']++;break;}__cov_tWw2Ofro70cay0RlahMhfw.s['65']++;return startPoint;}},VerticalLegendLayout={_positionLegendItems:function(items,maxWidth,maxHeight,totalWidth,totalHeight,padding,horizontalGap,verticalGap,vAlign){__cov_tWw2Ofro70cay0RlahMhfw.f['6']++;__cov_tWw2Ofro70cay0RlahMhfw.s['66']++;var i=0,columnIterator=0,item,node,itemHeight,itemWidth,len,height=this.get('height'),columns,columnsLen,column,totalHeightArray,legendHeight,leftWidth=padding.left-horizontalGap,legendWidth,limit=height-(padding.top+padding.bottom),left,top,right,bottom;__cov_tWw2Ofro70cay0RlahMhfw.s['67']++;VerticalLegendLayout._setColumnArrays(items,limit,verticalGap);__cov_tWw2Ofro70cay0RlahMhfw.s['68']++;columns=VerticalLegendLayout.columnArray;__cov_tWw2Ofro70cay0RlahMhfw.s['69']++;totalHeightArray=VerticalLegendLayout.totalHeightArray;__cov_tWw2Ofro70cay0RlahMhfw.s['70']++;columnsLen=columns.length;__cov_tWw2Ofro70cay0RlahMhfw.s['71']++;for(;columnIterator<columnsLen;++columnIterator){__cov_tWw2Ofro70cay0RlahMhfw.s['72']++;leftWidth+=horizontalGap;__cov_tWw2Ofro70cay0RlahMhfw.s['73']++;column=columns[columnIterator];__cov_tWw2Ofro70cay0RlahMhfw.s['74']++;len=column.length;__cov_tWw2Ofro70cay0RlahMhfw.s['75']++;legendHeight=VerticalLegendLayout.getStartPoint(height,totalHeightArray[columnIterator],vAlign,padding);__cov_tWw2Ofro70cay0RlahMhfw.s['76']++;legendWidth=0;__cov_tWw2Ofro70cay0RlahMhfw.s['77']++;for(i=0;i<len;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['78']++;item=column[i];__cov_tWw2Ofro70cay0RlahMhfw.s['79']++;node=item.node;__cov_tWw2Ofro70cay0RlahMhfw.s['80']++;itemHeight=item.height;__cov_tWw2Ofro70cay0RlahMhfw.s['81']++;itemWidth=item.width;__cov_tWw2Ofro70cay0RlahMhfw.s['82']++;item.y=legendHeight;__cov_tWw2Ofro70cay0RlahMhfw.s['83']++;item.x=leftWidth;__cov_tWw2Ofro70cay0RlahMhfw.s['84']++;left=!isNaN(left)?(__cov_tWw2Ofro70cay0RlahMhfw.b['12'][0]++,Math.min(left,leftWidth)):(__cov_tWw2Ofro70cay0RlahMhfw.b['12'][1]++,leftWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['85']++;top=!isNaN(top)?(__cov_tWw2Ofro70cay0RlahMhfw.b['13'][0]++,Math.min(top,legendHeight)):(__cov_tWw2Ofro70cay0RlahMhfw.b['13'][1]++,legendHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['86']++;right=!isNaN(right)?(__cov_tWw2Ofro70cay0RlahMhfw.b['14'][0]++,Math.max(leftWidth+itemWidth,right)):(__cov_tWw2Ofro70cay0RlahMhfw.b['14'][1]++,leftWidth+itemWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['87']++;bottom=!isNaN(bottom)?(__cov_tWw2Ofro70cay0RlahMhfw.b['15'][0]++,Math.max(legendHeight+itemHeight,bottom)):(__cov_tWw2Ofro70cay0RlahMhfw.b['15'][1]++,legendHeight+itemHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['88']++;node.setStyle('left',leftWidth+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['89']++;node.setStyle('top',legendHeight+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['90']++;legendHeight+=itemHeight+verticalGap;__cov_tWw2Ofro70cay0RlahMhfw.s['91']++;legendWidth=Math.max(legendWidth,item.width);}__cov_tWw2Ofro70cay0RlahMhfw.s['92']++;leftWidth+=legendWidth;}__cov_tWw2Ofro70cay0RlahMhfw.s['93']++;this._contentRect={left:left,top:top,right:right,bottom:bottom};__cov_tWw2Ofro70cay0RlahMhfw.s['94']++;if(this.get('includeInChartLayout')){__cov_tWw2Ofro70cay0RlahMhfw.b['16'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['95']++;this.set('width',leftWidth+padding.right);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['16'][1]++;}},_setColumnArrays:function(items,limit,verticalGap){__cov_tWw2Ofro70cay0RlahMhfw.f['7']++;__cov_tWw2Ofro70cay0RlahMhfw.s['96']++;var item=items[0],columnArray=[[item]],i=1,columnIterator=0,len=items.length,totalHeight=item.height,itemHeight,totalHeightArray=[[totalHeight]];__cov_tWw2Ofro70cay0RlahMhfw.s['97']++;for(;i<len;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['98']++;item=items[i];__cov_tWw2Ofro70cay0RlahMhfw.s['99']++;itemHeight=item.height;__cov_tWw2Ofro70cay0RlahMhfw.s['100']++;if(totalHeight+verticalGap+itemHeight<=limit){__cov_tWw2Ofro70cay0RlahMhfw.b['17'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['101']++;totalHeight+=verticalGap+itemHeight;__cov_tWw2Ofro70cay0RlahMhfw.s['102']++;columnArray[columnIterator].push(item);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['17'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['103']++;totalHeight=verticalGap+itemHeight;__cov_tWw2Ofro70cay0RlahMhfw.s['104']++;if(columnArray[columnIterator]){__cov_tWw2Ofro70cay0RlahMhfw.b['18'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['105']++;columnIterator+=1;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['18'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['106']++;columnArray[columnIterator]=[item];}__cov_tWw2Ofro70cay0RlahMhfw.s['107']++;totalHeightArray[columnIterator]=totalHeight;}__cov_tWw2Ofro70cay0RlahMhfw.s['108']++;VerticalLegendLayout.columnArray=columnArray;__cov_tWw2Ofro70cay0RlahMhfw.s['109']++;VerticalLegendLayout.totalHeightArray=totalHeightArray;},getStartPoint:function(h,totalHeight,align,padding){__cov_tWw2Ofro70cay0RlahMhfw.f['8']++;__cov_tWw2Ofro70cay0RlahMhfw.s['110']++;var startPoint;__cov_tWw2Ofro70cay0RlahMhfw.s['111']++;switch(align){case TOP:__cov_tWw2Ofro70cay0RlahMhfw.b['19'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['112']++;startPoint=padding.top;__cov_tWw2Ofro70cay0RlahMhfw.s['113']++;break;case'middle':__cov_tWw2Ofro70cay0RlahMhfw.b['19'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['114']++;startPoint=(h-totalHeight)*0.5;__cov_tWw2Ofro70cay0RlahMhfw.s['115']++;break;case BOTTOM:__cov_tWw2Ofro70cay0RlahMhfw.b['19'][2]++;__cov_tWw2Ofro70cay0RlahMhfw.s['116']++;startPoint=h-totalHeight-padding.bottom;__cov_tWw2Ofro70cay0RlahMhfw.s['117']++;break;}__cov_tWw2Ofro70cay0RlahMhfw.s['118']++;return startPoint;}},CartesianChartLegend=Y.Base.create('cartesianChartLegend',Y.CartesianChart,[],{_redraw:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['9']++;__cov_tWw2Ofro70cay0RlahMhfw.s['119']++;if(this._drawing){__cov_tWw2Ofro70cay0RlahMhfw.b['20'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['120']++;this._callLater=true;__cov_tWw2Ofro70cay0RlahMhfw.s['121']++;return;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['20'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['122']++;this._drawing=true;__cov_tWw2Ofro70cay0RlahMhfw.s['123']++;this._callLater=false;__cov_tWw2Ofro70cay0RlahMhfw.s['124']++;var w=this.get('width'),h=this.get('height'),layoutBoxDimensions=this._getLayoutBoxDimensions(),leftPaneWidth=layoutBoxDimensions.left,rightPaneWidth=layoutBoxDimensions.right,topPaneHeight=layoutBoxDimensions.top,bottomPaneHeight=layoutBoxDimensions.bottom,leftAxesCollection=this.get('leftAxesCollection'),rightAxesCollection=this.get('rightAxesCollection'),topAxesCollection=this.get('topAxesCollection'),bottomAxesCollection=this.get('bottomAxesCollection'),i=0,l,axis,graphOverflow='visible',graph=this.get('graph'),topOverflow,bottomOverflow,leftOverflow,rightOverflow,graphWidth,graphHeight,graphX,graphY,allowContentOverflow=this.get('allowContentOverflow'),diff,rightAxesXCoords,leftAxesXCoords,topAxesYCoords,bottomAxesYCoords,legend=this.get('legend'),graphRect={};__cov_tWw2Ofro70cay0RlahMhfw.s['125']++;if(leftAxesCollection){__cov_tWw2Ofro70cay0RlahMhfw.b['21'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['126']++;leftAxesXCoords=[];__cov_tWw2Ofro70cay0RlahMhfw.s['127']++;l=leftAxesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['128']++;for(i=l-1;i>-1;--i){__cov_tWw2Ofro70cay0RlahMhfw.s['129']++;leftAxesXCoords.unshift(leftPaneWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['130']++;leftPaneWidth+=leftAxesCollection[i].get('width');}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['21'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['131']++;if(rightAxesCollection){__cov_tWw2Ofro70cay0RlahMhfw.b['22'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['132']++;rightAxesXCoords=[];__cov_tWw2Ofro70cay0RlahMhfw.s['133']++;l=rightAxesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['134']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['135']++;for(i=l-1;i>-1;--i){__cov_tWw2Ofro70cay0RlahMhfw.s['136']++;rightPaneWidth+=rightAxesCollection[i].get('width');__cov_tWw2Ofro70cay0RlahMhfw.s['137']++;rightAxesXCoords.unshift(w-rightPaneWidth);}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['22'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['138']++;if(topAxesCollection){__cov_tWw2Ofro70cay0RlahMhfw.b['23'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['139']++;topAxesYCoords=[];__cov_tWw2Ofro70cay0RlahMhfw.s['140']++;l=topAxesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['141']++;for(i=l-1;i>-1;--i){__cov_tWw2Ofro70cay0RlahMhfw.s['142']++;topAxesYCoords.unshift(topPaneHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['143']++;topPaneHeight+=topAxesCollection[i].get('height');}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['23'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['144']++;if(bottomAxesCollection){__cov_tWw2Ofro70cay0RlahMhfw.b['24'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['145']++;bottomAxesYCoords=[];__cov_tWw2Ofro70cay0RlahMhfw.s['146']++;l=bottomAxesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['147']++;for(i=l-1;i>-1;--i){__cov_tWw2Ofro70cay0RlahMhfw.s['148']++;bottomPaneHeight+=bottomAxesCollection[i].get('height');__cov_tWw2Ofro70cay0RlahMhfw.s['149']++;bottomAxesYCoords.unshift(h-bottomPaneHeight);}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['24'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['150']++;graphWidth=w-(leftPaneWidth+rightPaneWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['151']++;graphHeight=h-(bottomPaneHeight+topPaneHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['152']++;graphRect.left=leftPaneWidth;__cov_tWw2Ofro70cay0RlahMhfw.s['153']++;graphRect.top=topPaneHeight;__cov_tWw2Ofro70cay0RlahMhfw.s['154']++;graphRect.bottom=h-bottomPaneHeight;__cov_tWw2Ofro70cay0RlahMhfw.s['155']++;graphRect.right=w-rightPaneWidth;__cov_tWw2Ofro70cay0RlahMhfw.s['156']++;if(!allowContentOverflow){__cov_tWw2Ofro70cay0RlahMhfw.b['25'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['157']++;topOverflow=this._getTopOverflow(leftAxesCollection,rightAxesCollection);__cov_tWw2Ofro70cay0RlahMhfw.s['158']++;bottomOverflow=this._getBottomOverflow(leftAxesCollection,rightAxesCollection);__cov_tWw2Ofro70cay0RlahMhfw.s['159']++;leftOverflow=this._getLeftOverflow(bottomAxesCollection,topAxesCollection);__cov_tWw2Ofro70cay0RlahMhfw.s['160']++;rightOverflow=this._getRightOverflow(bottomAxesCollection,topAxesCollection);__cov_tWw2Ofro70cay0RlahMhfw.s['161']++;diff=topOverflow-topPaneHeight;__cov_tWw2Ofro70cay0RlahMhfw.s['162']++;if(diff>0){__cov_tWw2Ofro70cay0RlahMhfw.b['26'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['163']++;graphRect.top=topOverflow;__cov_tWw2Ofro70cay0RlahMhfw.s['164']++;if(topAxesYCoords){__cov_tWw2Ofro70cay0RlahMhfw.b['27'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['165']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['166']++;l=topAxesYCoords.length;__cov_tWw2Ofro70cay0RlahMhfw.s['167']++;for(;i<l;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['168']++;topAxesYCoords[i]+=diff;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['27'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['26'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['169']++;diff=bottomOverflow-bottomPaneHeight;__cov_tWw2Ofro70cay0RlahMhfw.s['170']++;if(diff>0){__cov_tWw2Ofro70cay0RlahMhfw.b['28'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['171']++;graphRect.bottom=h-bottomOverflow;__cov_tWw2Ofro70cay0RlahMhfw.s['172']++;if(bottomAxesYCoords){__cov_tWw2Ofro70cay0RlahMhfw.b['29'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['173']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['174']++;l=bottomAxesYCoords.length;__cov_tWw2Ofro70cay0RlahMhfw.s['175']++;for(;i<l;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['176']++;bottomAxesYCoords[i]-=diff;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['29'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['28'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['177']++;diff=leftOverflow-leftPaneWidth;__cov_tWw2Ofro70cay0RlahMhfw.s['178']++;if(diff>0){__cov_tWw2Ofro70cay0RlahMhfw.b['30'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['179']++;graphRect.left=leftOverflow;__cov_tWw2Ofro70cay0RlahMhfw.s['180']++;if(leftAxesXCoords){__cov_tWw2Ofro70cay0RlahMhfw.b['31'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['181']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['182']++;l=leftAxesXCoords.length;__cov_tWw2Ofro70cay0RlahMhfw.s['183']++;for(;i<l;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['184']++;leftAxesXCoords[i]+=diff;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['31'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['30'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['185']++;diff=rightOverflow-rightPaneWidth;__cov_tWw2Ofro70cay0RlahMhfw.s['186']++;if(diff>0){__cov_tWw2Ofro70cay0RlahMhfw.b['32'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['187']++;graphRect.right=w-rightOverflow;__cov_tWw2Ofro70cay0RlahMhfw.s['188']++;if(rightAxesXCoords){__cov_tWw2Ofro70cay0RlahMhfw.b['33'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['189']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['190']++;l=rightAxesXCoords.length;__cov_tWw2Ofro70cay0RlahMhfw.s['191']++;for(;i<l;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['192']++;rightAxesXCoords[i]-=diff;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['33'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['32'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['25'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['193']++;graphWidth=graphRect.right-graphRect.left;__cov_tWw2Ofro70cay0RlahMhfw.s['194']++;graphHeight=graphRect.bottom-graphRect.top;__cov_tWw2Ofro70cay0RlahMhfw.s['195']++;graphX=graphRect.left;__cov_tWw2Ofro70cay0RlahMhfw.s['196']++;graphY=graphRect.top;__cov_tWw2Ofro70cay0RlahMhfw.s['197']++;if(legend){__cov_tWw2Ofro70cay0RlahMhfw.b['34'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['198']++;if(legend.get('includeInChartLayout')){__cov_tWw2Ofro70cay0RlahMhfw.b['35'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['199']++;switch(legend.get('position')){case'left':__cov_tWw2Ofro70cay0RlahMhfw.b['36'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['200']++;legend.set('y',graphY);__cov_tWw2Ofro70cay0RlahMhfw.s['201']++;legend.set('height',graphHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['202']++;break;case'top':__cov_tWw2Ofro70cay0RlahMhfw.b['36'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['203']++;legend.set('x',graphX);__cov_tWw2Ofro70cay0RlahMhfw.s['204']++;legend.set('width',graphWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['205']++;break;case'bottom':__cov_tWw2Ofro70cay0RlahMhfw.b['36'][2]++;__cov_tWw2Ofro70cay0RlahMhfw.s['206']++;legend.set('x',graphX);__cov_tWw2Ofro70cay0RlahMhfw.s['207']++;legend.set('width',graphWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['208']++;break;case'right':__cov_tWw2Ofro70cay0RlahMhfw.b['36'][3]++;__cov_tWw2Ofro70cay0RlahMhfw.s['209']++;legend.set('y',graphY);__cov_tWw2Ofro70cay0RlahMhfw.s['210']++;legend.set('height',graphHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['211']++;break;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['35'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['34'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['212']++;if(topAxesCollection){__cov_tWw2Ofro70cay0RlahMhfw.b['37'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['213']++;l=topAxesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['214']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['215']++;for(;i<l;i++){__cov_tWw2Ofro70cay0RlahMhfw.s['216']++;axis=topAxesCollection[i];__cov_tWw2Ofro70cay0RlahMhfw.s['217']++;if(axis.get('width')!==graphWidth){__cov_tWw2Ofro70cay0RlahMhfw.b['38'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['218']++;axis.set('width',graphWidth);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['38'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['219']++;axis.get('boundingBox').setStyle('left',graphX+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['220']++;axis.get('boundingBox').setStyle('top',topAxesYCoords[i]+PX);}__cov_tWw2Ofro70cay0RlahMhfw.s['221']++;if(axis._hasDataOverflow()){__cov_tWw2Ofro70cay0RlahMhfw.b['39'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['222']++;graphOverflow='hidden';}else{__cov_tWw2Ofro70cay0RlahMhfw.b['39'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['37'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['223']++;if(bottomAxesCollection){__cov_tWw2Ofro70cay0RlahMhfw.b['40'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['224']++;l=bottomAxesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['225']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['226']++;for(;i<l;i++){__cov_tWw2Ofro70cay0RlahMhfw.s['227']++;axis=bottomAxesCollection[i];__cov_tWw2Ofro70cay0RlahMhfw.s['228']++;if(axis.get('width')!==graphWidth){__cov_tWw2Ofro70cay0RlahMhfw.b['41'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['229']++;axis.set('width',graphWidth);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['41'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['230']++;axis.get('boundingBox').setStyle('left',graphX+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['231']++;axis.get('boundingBox').setStyle('top',bottomAxesYCoords[i]+PX);}__cov_tWw2Ofro70cay0RlahMhfw.s['232']++;if(axis._hasDataOverflow()){__cov_tWw2Ofro70cay0RlahMhfw.b['42'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['233']++;graphOverflow='hidden';}else{__cov_tWw2Ofro70cay0RlahMhfw.b['42'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['40'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['234']++;if(leftAxesCollection){__cov_tWw2Ofro70cay0RlahMhfw.b['43'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['235']++;l=leftAxesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['236']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['237']++;for(;i<l;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['238']++;axis=leftAxesCollection[i];__cov_tWw2Ofro70cay0RlahMhfw.s['239']++;axis.get('boundingBox').setStyle('top',graphY+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['240']++;axis.get('boundingBox').setStyle('left',leftAxesXCoords[i]+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['241']++;if(axis.get('height')!==graphHeight){__cov_tWw2Ofro70cay0RlahMhfw.b['44'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['242']++;axis.set('height',graphHeight);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['44'][1]++;}}__cov_tWw2Ofro70cay0RlahMhfw.s['243']++;if(axis._hasDataOverflow()){__cov_tWw2Ofro70cay0RlahMhfw.b['45'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['244']++;graphOverflow='hidden';}else{__cov_tWw2Ofro70cay0RlahMhfw.b['45'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['43'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['245']++;if(rightAxesCollection){__cov_tWw2Ofro70cay0RlahMhfw.b['46'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['246']++;l=rightAxesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['247']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['248']++;for(;i<l;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['249']++;axis=rightAxesCollection[i];__cov_tWw2Ofro70cay0RlahMhfw.s['250']++;axis.get('boundingBox').setStyle('top',graphY+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['251']++;axis.get('boundingBox').setStyle('left',rightAxesXCoords[i]+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['252']++;if(axis.get('height')!==graphHeight){__cov_tWw2Ofro70cay0RlahMhfw.b['47'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['253']++;axis.set('height',graphHeight);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['47'][1]++;}}__cov_tWw2Ofro70cay0RlahMhfw.s['254']++;if(axis._hasDataOverflow()){__cov_tWw2Ofro70cay0RlahMhfw.b['48'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['255']++;graphOverflow='hidden';}else{__cov_tWw2Ofro70cay0RlahMhfw.b['48'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['46'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['256']++;this._drawing=false;__cov_tWw2Ofro70cay0RlahMhfw.s['257']++;if(this._callLater){__cov_tWw2Ofro70cay0RlahMhfw.b['49'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['258']++;this._redraw();__cov_tWw2Ofro70cay0RlahMhfw.s['259']++;return;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['49'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['260']++;if(graph){__cov_tWw2Ofro70cay0RlahMhfw.b['50'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['261']++;graph.get('boundingBox').setStyle('left',graphX+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['262']++;graph.get('boundingBox').setStyle('top',graphY+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['263']++;graph.set('width',graphWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['264']++;graph.set('height',graphHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['265']++;graph.get('boundingBox').setStyle('overflow',graphOverflow);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['50'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['266']++;if(this._overlay){__cov_tWw2Ofro70cay0RlahMhfw.b['51'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['267']++;this._overlay.setStyle('left',graphX+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['268']++;this._overlay.setStyle('top',graphY+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['269']++;this._overlay.setStyle('width',graphWidth+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['270']++;this._overlay.setStyle('height',graphHeight+PX);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['51'][1]++;}},_getLayoutBoxDimensions:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['10']++;__cov_tWw2Ofro70cay0RlahMhfw.s['271']++;var box={top:0,right:0,bottom:0,left:0},legend=this.get('legend'),position,direction,dimension,size,w=this.get(WIDTH),h=this.get(HEIGHT),gap;__cov_tWw2Ofro70cay0RlahMhfw.s['272']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['53'][0]++,legend)&&(__cov_tWw2Ofro70cay0RlahMhfw.b['53'][1]++,legend.get('includeInChartLayout'))){__cov_tWw2Ofro70cay0RlahMhfw.b['52'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['273']++;gap=legend.get('styles').gap;__cov_tWw2Ofro70cay0RlahMhfw.s['274']++;position=legend.get(POSITION);__cov_tWw2Ofro70cay0RlahMhfw.s['275']++;if(position!==EXTERNAL){__cov_tWw2Ofro70cay0RlahMhfw.b['54'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['276']++;direction=legend.get('direction');__cov_tWw2Ofro70cay0RlahMhfw.s['277']++;dimension=direction===HORIZONTAL?(__cov_tWw2Ofro70cay0RlahMhfw.b['55'][0]++,HEIGHT):(__cov_tWw2Ofro70cay0RlahMhfw.b['55'][1]++,WIDTH);__cov_tWw2Ofro70cay0RlahMhfw.s['278']++;size=legend.get(dimension);__cov_tWw2Ofro70cay0RlahMhfw.s['279']++;box[position]=size+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['280']++;switch(position){case TOP:__cov_tWw2Ofro70cay0RlahMhfw.b['56'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['281']++;legend.set(_Y,0);__cov_tWw2Ofro70cay0RlahMhfw.s['282']++;break;case BOTTOM:__cov_tWw2Ofro70cay0RlahMhfw.b['56'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['283']++;legend.set(_Y,h-size);__cov_tWw2Ofro70cay0RlahMhfw.s['284']++;break;case RIGHT:__cov_tWw2Ofro70cay0RlahMhfw.b['56'][2]++;__cov_tWw2Ofro70cay0RlahMhfw.s['285']++;legend.set(_X,w-size);__cov_tWw2Ofro70cay0RlahMhfw.s['286']++;break;case LEFT:__cov_tWw2Ofro70cay0RlahMhfw.b['56'][3]++;__cov_tWw2Ofro70cay0RlahMhfw.s['287']++;legend.set(_X,0);__cov_tWw2Ofro70cay0RlahMhfw.s['288']++;break;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['54'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['52'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['289']++;return box;},destructor:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['11']++;__cov_tWw2Ofro70cay0RlahMhfw.s['290']++;var legend=this.get('legend');__cov_tWw2Ofro70cay0RlahMhfw.s['291']++;if(legend){__cov_tWw2Ofro70cay0RlahMhfw.b['57'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['292']++;legend.destroy(true);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['57'][1]++;}}},{ATTRS:{legend:LEGEND}});__cov_tWw2Ofro70cay0RlahMhfw.s['293']++;Y.CartesianChart=CartesianChartLegend;__cov_tWw2Ofro70cay0RlahMhfw.s['294']++;PieChartLegend=Y.Base.create('pieChartLegend',Y.PieChart,[],{_redraw:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['12']++;__cov_tWw2Ofro70cay0RlahMhfw.s['295']++;if(this._drawing){__cov_tWw2Ofro70cay0RlahMhfw.b['58'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['296']++;this._callLater=true;__cov_tWw2Ofro70cay0RlahMhfw.s['297']++;return;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['58'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['298']++;this._drawing=true;__cov_tWw2Ofro70cay0RlahMhfw.s['299']++;this._callLater=false;__cov_tWw2Ofro70cay0RlahMhfw.s['300']++;var graph=this.get('graph'),w=this.get('width'),h=this.get('height'),graphWidth,graphHeight,legend=this.get('legend'),x=0,y=0,legendX=0,legendY=0,legendWidth,legendHeight,dimension,gap,position,direction;__cov_tWw2Ofro70cay0RlahMhfw.s['301']++;if(graph){__cov_tWw2Ofro70cay0RlahMhfw.b['59'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['302']++;if(legend){__cov_tWw2Ofro70cay0RlahMhfw.b['60'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['303']++;position=legend.get('position');__cov_tWw2Ofro70cay0RlahMhfw.s['304']++;direction=legend.get('direction');__cov_tWw2Ofro70cay0RlahMhfw.s['305']++;graphWidth=graph.get('width');__cov_tWw2Ofro70cay0RlahMhfw.s['306']++;graphHeight=graph.get('height');__cov_tWw2Ofro70cay0RlahMhfw.s['307']++;legendWidth=legend.get('width');__cov_tWw2Ofro70cay0RlahMhfw.s['308']++;legendHeight=legend.get('height');__cov_tWw2Ofro70cay0RlahMhfw.s['309']++;gap=legend.get('styles').gap;__cov_tWw2Ofro70cay0RlahMhfw.s['310']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['62'][0]++,direction==='vertical')&&(__cov_tWw2Ofro70cay0RlahMhfw.b['62'][1]++,graphWidth+legendWidth+gap!==w)||(__cov_tWw2Ofro70cay0RlahMhfw.b['62'][2]++,direction==='horizontal')&&(__cov_tWw2Ofro70cay0RlahMhfw.b['62'][3]++,graphHeight+legendHeight+gap!==h)){__cov_tWw2Ofro70cay0RlahMhfw.b['61'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['311']++;switch(legend.get('position')){case LEFT:__cov_tWw2Ofro70cay0RlahMhfw.b['63'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['312']++;dimension=Math.min(w-(legendWidth+gap),h);__cov_tWw2Ofro70cay0RlahMhfw.s['313']++;legendHeight=h;__cov_tWw2Ofro70cay0RlahMhfw.s['314']++;x=legendWidth+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['315']++;legend.set(HEIGHT,legendHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['316']++;break;case TOP:__cov_tWw2Ofro70cay0RlahMhfw.b['63'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['317']++;dimension=Math.min(h-(legendHeight+gap),w);__cov_tWw2Ofro70cay0RlahMhfw.s['318']++;legendWidth=w;__cov_tWw2Ofro70cay0RlahMhfw.s['319']++;y=legendHeight+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['320']++;legend.set(WIDTH,legendWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['321']++;break;case RIGHT:__cov_tWw2Ofro70cay0RlahMhfw.b['63'][2]++;__cov_tWw2Ofro70cay0RlahMhfw.s['322']++;dimension=Math.min(w-(legendWidth+gap),h);__cov_tWw2Ofro70cay0RlahMhfw.s['323']++;legendHeight=h;__cov_tWw2Ofro70cay0RlahMhfw.s['324']++;legendX=dimension+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['325']++;legend.set(HEIGHT,legendHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['326']++;break;case BOTTOM:__cov_tWw2Ofro70cay0RlahMhfw.b['63'][3]++;__cov_tWw2Ofro70cay0RlahMhfw.s['327']++;dimension=Math.min(h-(legendHeight+gap),w);__cov_tWw2Ofro70cay0RlahMhfw.s['328']++;legendWidth=w;__cov_tWw2Ofro70cay0RlahMhfw.s['329']++;legendY=dimension+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['330']++;legend.set(WIDTH,legendWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['331']++;break;}__cov_tWw2Ofro70cay0RlahMhfw.s['332']++;graph.set(WIDTH,dimension);__cov_tWw2Ofro70cay0RlahMhfw.s['333']++;graph.set(HEIGHT,dimension);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['61'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['334']++;switch(legend.get('position')){case LEFT:__cov_tWw2Ofro70cay0RlahMhfw.b['64'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['335']++;x=legendWidth+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['336']++;break;case TOP:__cov_tWw2Ofro70cay0RlahMhfw.b['64'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['337']++;y=legendHeight+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['338']++;break;case RIGHT:__cov_tWw2Ofro70cay0RlahMhfw.b['64'][2]++;__cov_tWw2Ofro70cay0RlahMhfw.s['339']++;legendX=graphWidth+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['340']++;break;case BOTTOM:__cov_tWw2Ofro70cay0RlahMhfw.b['64'][3]++;__cov_tWw2Ofro70cay0RlahMhfw.s['341']++;legendY=graphHeight+gap;__cov_tWw2Ofro70cay0RlahMhfw.s['342']++;break;}}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['60'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['343']++;graph.set(_X,0);__cov_tWw2Ofro70cay0RlahMhfw.s['344']++;graph.set(_Y,0);__cov_tWw2Ofro70cay0RlahMhfw.s['345']++;graph.set(WIDTH,w);__cov_tWw2Ofro70cay0RlahMhfw.s['346']++;graph.set(HEIGHT,h);}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['59'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['347']++;this._drawing=false;__cov_tWw2Ofro70cay0RlahMhfw.s['348']++;if(this._callLater){__cov_tWw2Ofro70cay0RlahMhfw.b['65'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['349']++;this._redraw();__cov_tWw2Ofro70cay0RlahMhfw.s['350']++;return;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['65'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['351']++;if(graph){__cov_tWw2Ofro70cay0RlahMhfw.b['66'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['352']++;graph.set(_X,x);__cov_tWw2Ofro70cay0RlahMhfw.s['353']++;graph.set(_Y,y);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['66'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['354']++;if(legend){__cov_tWw2Ofro70cay0RlahMhfw.b['67'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['355']++;legend.set(_X,legendX);__cov_tWw2Ofro70cay0RlahMhfw.s['356']++;legend.set(_Y,legendY);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['67'][1]++;}}},{ATTRS:{legend:LEGEND}});__cov_tWw2Ofro70cay0RlahMhfw.s['357']++;Y.PieChart=PieChartLegend;__cov_tWw2Ofro70cay0RlahMhfw.s['358']++;Y.ChartLegend=Y.Base.create('chartlegend',Y.Widget,[Y.Renderer],{initializer:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['13']++;__cov_tWw2Ofro70cay0RlahMhfw.s['359']++;this._items=[];},renderUI:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['14']++;__cov_tWw2Ofro70cay0RlahMhfw.s['360']++;var bb=this.get('boundingBox'),cb=this.get('contentBox'),styles=this.get('styles').background,background=new Y.Rect({graphic:cb,fill:styles.fill,stroke:styles.border});__cov_tWw2Ofro70cay0RlahMhfw.s['361']++;bb.setStyle('display','block');__cov_tWw2Ofro70cay0RlahMhfw.s['362']++;bb.setStyle('position','absolute');__cov_tWw2Ofro70cay0RlahMhfw.s['363']++;this.set('background',background);},bindUI:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['15']++;__cov_tWw2Ofro70cay0RlahMhfw.s['364']++;this.get('chart').after('seriesCollectionChange',Y.bind(this._updateHandler,this));__cov_tWw2Ofro70cay0RlahMhfw.s['365']++;this.get('chart').after('stylesChange',Y.bind(this._updateHandler,this));__cov_tWw2Ofro70cay0RlahMhfw.s['366']++;this.after('stylesChange',this._updateHandler);__cov_tWw2Ofro70cay0RlahMhfw.s['367']++;this.after('positionChange',this._positionChangeHandler);__cov_tWw2Ofro70cay0RlahMhfw.s['368']++;this.after('widthChange',this._handleSizeChange);__cov_tWw2Ofro70cay0RlahMhfw.s['369']++;this.after('heightChange',this._handleSizeChange);},syncUI:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['16']++;__cov_tWw2Ofro70cay0RlahMhfw.s['370']++;var w=this.get('width'),h=this.get('height');__cov_tWw2Ofro70cay0RlahMhfw.s['371']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['69'][0]++,isFinite(w))&&(__cov_tWw2Ofro70cay0RlahMhfw.b['69'][1]++,isFinite(h))&&(__cov_tWw2Ofro70cay0RlahMhfw.b['69'][2]++,w>0)&&(__cov_tWw2Ofro70cay0RlahMhfw.b['69'][3]++,h>0)){__cov_tWw2Ofro70cay0RlahMhfw.b['68'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['372']++;this._drawLegend();}else{__cov_tWw2Ofro70cay0RlahMhfw.b['68'][1]++;}},_updateHandler:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['17']++;__cov_tWw2Ofro70cay0RlahMhfw.s['373']++;if(this.get('rendered')){__cov_tWw2Ofro70cay0RlahMhfw.b['70'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['374']++;this._drawLegend();}else{__cov_tWw2Ofro70cay0RlahMhfw.b['70'][1]++;}},_positionChangeHandler:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['18']++;__cov_tWw2Ofro70cay0RlahMhfw.s['375']++;var chart=this.get('chart'),parentNode=this._parentNode;__cov_tWw2Ofro70cay0RlahMhfw.s['376']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['72'][0]++,parentNode)&&((__cov_tWw2Ofro70cay0RlahMhfw.b['72'][1]++,chart)&&(__cov_tWw2Ofro70cay0RlahMhfw.b['72'][2]++,this.get('includeInChartLayout')))){__cov_tWw2Ofro70cay0RlahMhfw.b['71'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['377']++;this.fire('legendRendered');}else{__cov_tWw2Ofro70cay0RlahMhfw.b['71'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['378']++;if(this.get('rendered')){__cov_tWw2Ofro70cay0RlahMhfw.b['73'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['379']++;this._drawLegend();}else{__cov_tWw2Ofro70cay0RlahMhfw.b['73'][1]++;}}},_handleSizeChange:function(e){__cov_tWw2Ofro70cay0RlahMhfw.f['19']++;__cov_tWw2Ofro70cay0RlahMhfw.s['380']++;var attrName=e.attrName,pos=this.get(POSITION),vert=(__cov_tWw2Ofro70cay0RlahMhfw.b['74'][0]++,pos===LEFT)||(__cov_tWw2Ofro70cay0RlahMhfw.b['74'][1]++,pos===RIGHT),hor=(__cov_tWw2Ofro70cay0RlahMhfw.b['75'][0]++,pos===BOTTOM)||(__cov_tWw2Ofro70cay0RlahMhfw.b['75'][1]++,pos===TOP);__cov_tWw2Ofro70cay0RlahMhfw.s['381']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['77'][0]++,hor)&&(__cov_tWw2Ofro70cay0RlahMhfw.b['77'][1]++,attrName===WIDTH)||(__cov_tWw2Ofro70cay0RlahMhfw.b['77'][2]++,vert)&&(__cov_tWw2Ofro70cay0RlahMhfw.b['77'][3]++,attrName===HEIGHT)){__cov_tWw2Ofro70cay0RlahMhfw.b['76'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['382']++;this._drawLegend();}else{__cov_tWw2Ofro70cay0RlahMhfw.b['76'][1]++;}},_drawLegend:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['20']++;__cov_tWw2Ofro70cay0RlahMhfw.s['383']++;if(this._drawing){__cov_tWw2Ofro70cay0RlahMhfw.b['78'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['384']++;this._callLater=true;__cov_tWw2Ofro70cay0RlahMhfw.s['385']++;return;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['78'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['386']++;this._drawing=true;__cov_tWw2Ofro70cay0RlahMhfw.s['387']++;this._callLater=false;__cov_tWw2Ofro70cay0RlahMhfw.s['388']++;if(this.get('includeInChartLayout')){__cov_tWw2Ofro70cay0RlahMhfw.b['79'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['389']++;this.get('chart')._itemRenderQueue.unshift(this);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['79'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['390']++;var chart=this.get('chart'),node=this.get('contentBox'),seriesCollection=chart.get('seriesCollection'),series,styles=this.get('styles'),padding=styles.padding,itemStyles=styles.item,seriesStyles,hSpacing=itemStyles.hSpacing,vSpacing=itemStyles.vSpacing,direction=this.get('direction'),align=direction==='vertical'?(__cov_tWw2Ofro70cay0RlahMhfw.b['80'][0]++,styles.vAlign):(__cov_tWw2Ofro70cay0RlahMhfw.b['80'][1]++,styles.hAlign),marker=styles.marker,labelStyles=itemStyles.label,displayName,layout=this._layout[direction],i,len,isArray,legendShape,shape,shapeClass,item,fill,border,fillColors,borderColors,borderWeight,items=[],markerWidth=marker.width,markerHeight=marker.height,totalWidth=0-hSpacing,totalHeight=0-vSpacing,maxWidth=0,maxHeight=0,itemWidth,itemHeight;__cov_tWw2Ofro70cay0RlahMhfw.s['391']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['82'][0]++,marker)&&(__cov_tWw2Ofro70cay0RlahMhfw.b['82'][1]++,marker.shape)){__cov_tWw2Ofro70cay0RlahMhfw.b['81'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['392']++;legendShape=marker.shape;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['81'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['393']++;this._destroyLegendItems();__cov_tWw2Ofro70cay0RlahMhfw.s['394']++;if(chart instanceof Y.PieChart){__cov_tWw2Ofro70cay0RlahMhfw.b['83'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['395']++;series=seriesCollection[0];__cov_tWw2Ofro70cay0RlahMhfw.s['396']++;displayName=series.get('categoryAxis').getDataByKey(series.get('categoryKey'));__cov_tWw2Ofro70cay0RlahMhfw.s['397']++;seriesStyles=series.get('styles').marker;__cov_tWw2Ofro70cay0RlahMhfw.s['398']++;fillColors=seriesStyles.fill.colors;__cov_tWw2Ofro70cay0RlahMhfw.s['399']++;borderColors=seriesStyles.border.colors;__cov_tWw2Ofro70cay0RlahMhfw.s['400']++;borderWeight=seriesStyles.border.weight;__cov_tWw2Ofro70cay0RlahMhfw.s['401']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['402']++;len=displayName.length;__cov_tWw2Ofro70cay0RlahMhfw.s['403']++;shape=(__cov_tWw2Ofro70cay0RlahMhfw.b['84'][0]++,legendShape)||(__cov_tWw2Ofro70cay0RlahMhfw.b['84'][1]++,Y.Circle);__cov_tWw2Ofro70cay0RlahMhfw.s['404']++;isArray=Y.Lang.isArray(shape);__cov_tWw2Ofro70cay0RlahMhfw.s['405']++;for(;i<len;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['406']++;shape=isArray?(__cov_tWw2Ofro70cay0RlahMhfw.b['85'][0]++,shape[i]):(__cov_tWw2Ofro70cay0RlahMhfw.b['85'][1]++,shape);__cov_tWw2Ofro70cay0RlahMhfw.s['407']++;fill={color:fillColors[i]};__cov_tWw2Ofro70cay0RlahMhfw.s['408']++;border={colors:borderColors[i],weight:borderWeight};__cov_tWw2Ofro70cay0RlahMhfw.s['409']++;displayName=chart.getSeriesItems(series,i).category.value;__cov_tWw2Ofro70cay0RlahMhfw.s['410']++;item=this._getLegendItem(node,this._getShapeClass(shape),fill,border,labelStyles,markerWidth,markerHeight,displayName);__cov_tWw2Ofro70cay0RlahMhfw.s['411']++;itemWidth=item.width;__cov_tWw2Ofro70cay0RlahMhfw.s['412']++;itemHeight=item.height;__cov_tWw2Ofro70cay0RlahMhfw.s['413']++;maxWidth=Math.max(maxWidth,itemWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['414']++;maxHeight=Math.max(maxHeight,itemHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['415']++;totalWidth+=itemWidth+hSpacing;__cov_tWw2Ofro70cay0RlahMhfw.s['416']++;totalHeight+=itemHeight+vSpacing;__cov_tWw2Ofro70cay0RlahMhfw.s['417']++;items.push(item);}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['83'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['418']++;i=0;__cov_tWw2Ofro70cay0RlahMhfw.s['419']++;len=seriesCollection.length;__cov_tWw2Ofro70cay0RlahMhfw.s['420']++;for(;i<len;++i){__cov_tWw2Ofro70cay0RlahMhfw.s['421']++;series=seriesCollection[i];__cov_tWw2Ofro70cay0RlahMhfw.s['422']++;seriesStyles=this._getStylesBySeriesType(series,shape);__cov_tWw2Ofro70cay0RlahMhfw.s['423']++;if(!legendShape){__cov_tWw2Ofro70cay0RlahMhfw.b['86'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['424']++;shape=seriesStyles.shape;__cov_tWw2Ofro70cay0RlahMhfw.s['425']++;if(!shape){__cov_tWw2Ofro70cay0RlahMhfw.b['87'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['426']++;shape=Y.Circle;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['87'][1]++;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['86'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['427']++;shapeClass=Y.Lang.isArray(shape)?(__cov_tWw2Ofro70cay0RlahMhfw.b['88'][0]++,shape[i]):(__cov_tWw2Ofro70cay0RlahMhfw.b['88'][1]++,shape);__cov_tWw2Ofro70cay0RlahMhfw.s['428']++;item=this._getLegendItem(node,this._getShapeClass(shape),seriesStyles.fill,seriesStyles.border,labelStyles,markerWidth,markerHeight,series.get('valueDisplayName'));__cov_tWw2Ofro70cay0RlahMhfw.s['429']++;itemWidth=item.width;__cov_tWw2Ofro70cay0RlahMhfw.s['430']++;itemHeight=item.height;__cov_tWw2Ofro70cay0RlahMhfw.s['431']++;maxWidth=Math.max(maxWidth,itemWidth);__cov_tWw2Ofro70cay0RlahMhfw.s['432']++;maxHeight=Math.max(maxHeight,itemHeight);__cov_tWw2Ofro70cay0RlahMhfw.s['433']++;totalWidth+=itemWidth+hSpacing;__cov_tWw2Ofro70cay0RlahMhfw.s['434']++;totalHeight+=itemHeight+vSpacing;__cov_tWw2Ofro70cay0RlahMhfw.s['435']++;items.push(item);}}__cov_tWw2Ofro70cay0RlahMhfw.s['436']++;this._drawing=false;__cov_tWw2Ofro70cay0RlahMhfw.s['437']++;if(this._callLater){__cov_tWw2Ofro70cay0RlahMhfw.b['89'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['438']++;this._drawLegend();}else{__cov_tWw2Ofro70cay0RlahMhfw.b['89'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['439']++;layout._positionLegendItems.apply(this,[items,maxWidth,maxHeight,totalWidth,totalHeight,padding,hSpacing,vSpacing,align]);__cov_tWw2Ofro70cay0RlahMhfw.s['440']++;this._updateBackground(styles);__cov_tWw2Ofro70cay0RlahMhfw.s['441']++;this.fire('legendRendered');}},_updateBackground:function(styles){__cov_tWw2Ofro70cay0RlahMhfw.f['21']++;__cov_tWw2Ofro70cay0RlahMhfw.s['442']++;var backgroundStyles=styles.background,contentRect=this._contentRect,padding=styles.padding,x=contentRect.left-padding.left,y=contentRect.top-padding.top,w=contentRect.right-x+padding.right,h=contentRect.bottom-y+padding.bottom;__cov_tWw2Ofro70cay0RlahMhfw.s['443']++;this.get('background').set({fill:backgroundStyles.fill,stroke:backgroundStyles.border,width:w,height:h,x:x,y:y});},_getStylesBySeriesType:function(series){__cov_tWw2Ofro70cay0RlahMhfw.f['22']++;__cov_tWw2Ofro70cay0RlahMhfw.s['444']++;var styles=series.get('styles'),color;__cov_tWw2Ofro70cay0RlahMhfw.s['445']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['91'][0]++,series instanceof Y.LineSeries)||(__cov_tWw2Ofro70cay0RlahMhfw.b['91'][1]++,series instanceof Y.StackedLineSeries)){__cov_tWw2Ofro70cay0RlahMhfw.b['90'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['446']++;styles=series.get('styles').line;__cov_tWw2Ofro70cay0RlahMhfw.s['447']++;color=(__cov_tWw2Ofro70cay0RlahMhfw.b['92'][0]++,styles.color)||(__cov_tWw2Ofro70cay0RlahMhfw.b['92'][1]++,series._getDefaultColor(series.get('graphOrder'),'line'));__cov_tWw2Ofro70cay0RlahMhfw.s['448']++;return{border:{weight:1,color:color},fill:{color:color}};}else{__cov_tWw2Ofro70cay0RlahMhfw.b['90'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['449']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['94'][0]++,series instanceof Y.AreaSeries)||(__cov_tWw2Ofro70cay0RlahMhfw.b['94'][1]++,series instanceof Y.StackedAreaSeries)){__cov_tWw2Ofro70cay0RlahMhfw.b['93'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['450']++;styles=series.get('styles').area;__cov_tWw2Ofro70cay0RlahMhfw.s['451']++;color=(__cov_tWw2Ofro70cay0RlahMhfw.b['95'][0]++,styles.color)||(__cov_tWw2Ofro70cay0RlahMhfw.b['95'][1]++,series._getDefaultColor(series.get('graphOrder'),'slice'));__cov_tWw2Ofro70cay0RlahMhfw.s['452']++;return{border:{weight:1,color:color},fill:{color:color}};}else{__cov_tWw2Ofro70cay0RlahMhfw.b['93'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['453']++;styles=series.get('styles').marker;__cov_tWw2Ofro70cay0RlahMhfw.s['454']++;return{fill:styles.fill,border:{weight:styles.border.weight,color:styles.border.color,shape:styles.shape},shape:styles.shape};}}},_getLegendItem:function(node,shapeClass,fill,border,labelStyles,w,h,text){__cov_tWw2Ofro70cay0RlahMhfw.f['23']++;__cov_tWw2Ofro70cay0RlahMhfw.s['455']++;var containerNode=Y.one(DOCUMENT.createElement('div')),textField=Y.one(DOCUMENT.createElement('span')),shape,dimension,padding,left,item,ShapeClass=shapeClass;__cov_tWw2Ofro70cay0RlahMhfw.s['456']++;containerNode.setStyle(POSITION,'absolute');__cov_tWw2Ofro70cay0RlahMhfw.s['457']++;textField.setStyle(POSITION,'absolute');__cov_tWw2Ofro70cay0RlahMhfw.s['458']++;textField.setStyles(labelStyles);__cov_tWw2Ofro70cay0RlahMhfw.s['459']++;textField.appendChild(DOCUMENT.createTextNode(text));__cov_tWw2Ofro70cay0RlahMhfw.s['460']++;containerNode.appendChild(textField);__cov_tWw2Ofro70cay0RlahMhfw.s['461']++;node.appendChild(containerNode);__cov_tWw2Ofro70cay0RlahMhfw.s['462']++;dimension=textField.get('offsetHeight');__cov_tWw2Ofro70cay0RlahMhfw.s['463']++;padding=dimension-h;__cov_tWw2Ofro70cay0RlahMhfw.s['464']++;left=w+padding+2;__cov_tWw2Ofro70cay0RlahMhfw.s['465']++;textField.setStyle('left',left+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['466']++;containerNode.setStyle('height',dimension+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['467']++;containerNode.setStyle('width',left+textField.get('offsetWidth')+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['468']++;shape=new ShapeClass({fill:fill,stroke:border,width:w,height:h,x:padding*0.5,y:padding*0.5,w:w,h:h,graphic:containerNode});__cov_tWw2Ofro70cay0RlahMhfw.s['469']++;textField.setStyle('left',dimension+PX);__cov_tWw2Ofro70cay0RlahMhfw.s['470']++;item={node:containerNode,width:containerNode.get('offsetWidth'),height:containerNode.get('offsetHeight'),shape:shape,textNode:textField,text:text};__cov_tWw2Ofro70cay0RlahMhfw.s['471']++;this._items.push(item);__cov_tWw2Ofro70cay0RlahMhfw.s['472']++;return item;},_getShapeClass:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['24']++;__cov_tWw2Ofro70cay0RlahMhfw.s['473']++;var graphic=this.get('background').get('graphic');__cov_tWw2Ofro70cay0RlahMhfw.s['474']++;return graphic._getShapeClass.apply(graphic,arguments);},_getDefaultStyles:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['25']++;__cov_tWw2Ofro70cay0RlahMhfw.s['475']++;var styles={padding:{top:8,right:8,bottom:8,left:9},gap:10,hAlign:'center',vAlign:'top',marker:this._getPlotDefaults(),item:{hSpacing:10,vSpacing:5,label:{color:'#808080',fontSize:'85%',whiteSpace:'nowrap'}},background:{shape:'rect',fill:{color:'#faf9f2'},border:{color:'#dad8c9',weight:1}}};__cov_tWw2Ofro70cay0RlahMhfw.s['476']++;return styles;},_getPlotDefaults:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['26']++;__cov_tWw2Ofro70cay0RlahMhfw.s['477']++;var defs={width:10,height:10};__cov_tWw2Ofro70cay0RlahMhfw.s['478']++;return defs;},_destroyLegendItems:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['27']++;__cov_tWw2Ofro70cay0RlahMhfw.s['479']++;var item;__cov_tWw2Ofro70cay0RlahMhfw.s['480']++;if(this._items){__cov_tWw2Ofro70cay0RlahMhfw.b['96'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['481']++;while(this._items.length>0){__cov_tWw2Ofro70cay0RlahMhfw.s['482']++;item=this._items.shift();__cov_tWw2Ofro70cay0RlahMhfw.s['483']++;item.shape.get('graphic').destroy();__cov_tWw2Ofro70cay0RlahMhfw.s['484']++;item.node.empty();__cov_tWw2Ofro70cay0RlahMhfw.s['485']++;item.node.destroy(true);__cov_tWw2Ofro70cay0RlahMhfw.s['486']++;item.node=null;__cov_tWw2Ofro70cay0RlahMhfw.s['487']++;item=null;}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['96'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['488']++;this._items=[];},_layout:{vertical:VerticalLegendLayout,horizontal:HorizontalLegendLayout},destructor:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['28']++;__cov_tWw2Ofro70cay0RlahMhfw.s['489']++;var background=this.get('background'),backgroundGraphic;__cov_tWw2Ofro70cay0RlahMhfw.s['490']++;this._destroyLegendItems();__cov_tWw2Ofro70cay0RlahMhfw.s['491']++;if(background){__cov_tWw2Ofro70cay0RlahMhfw.b['97'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['492']++;backgroundGraphic=background.get('graphic');__cov_tWw2Ofro70cay0RlahMhfw.s['493']++;if(backgroundGraphic){__cov_tWw2Ofro70cay0RlahMhfw.b['98'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['494']++;backgroundGraphic.destroy();}else{__cov_tWw2Ofro70cay0RlahMhfw.b['98'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['495']++;background.destroy();}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['97'][1]++;}}},{ATTRS:{includeInChartLayout:{value:false},chart:{setter:function(val){__cov_tWw2Ofro70cay0RlahMhfw.f['29']++;__cov_tWw2Ofro70cay0RlahMhfw.s['496']++;this.after('legendRendered',Y.bind(val._itemRendered,val));__cov_tWw2Ofro70cay0RlahMhfw.s['497']++;return val;}},direction:{value:'vertical'},position:{lazyAdd:false,value:'right',setter:function(val){__cov_tWw2Ofro70cay0RlahMhfw.f['30']++;__cov_tWw2Ofro70cay0RlahMhfw.s['498']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['100'][0]++,val===TOP)||(__cov_tWw2Ofro70cay0RlahMhfw.b['100'][1]++,val===BOTTOM)){__cov_tWw2Ofro70cay0RlahMhfw.b['99'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['499']++;this.set('direction',HORIZONTAL);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['99'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['500']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['102'][0]++,val===LEFT)||(__cov_tWw2Ofro70cay0RlahMhfw.b['102'][1]++,val===RIGHT)){__cov_tWw2Ofro70cay0RlahMhfw.b['101'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['501']++;this.set('direction',VERTICAL);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['101'][1]++;}}__cov_tWw2Ofro70cay0RlahMhfw.s['502']++;return val;}},width:{getter:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['31']++;__cov_tWw2Ofro70cay0RlahMhfw.s['503']++;var chart=this.get('chart'),parentNode=this._parentNode;__cov_tWw2Ofro70cay0RlahMhfw.s['504']++;if(parentNode){__cov_tWw2Ofro70cay0RlahMhfw.b['103'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['505']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['105'][0]++,chart)&&(__cov_tWw2Ofro70cay0RlahMhfw.b['105'][1]++,this.get('includeInChartLayout'))||(__cov_tWw2Ofro70cay0RlahMhfw.b['105'][2]++,this._width)){__cov_tWw2Ofro70cay0RlahMhfw.b['104'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['506']++;if(!this._width){__cov_tWw2Ofro70cay0RlahMhfw.b['106'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['507']++;this._width=0;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['106'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['508']++;return this._width;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['104'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['509']++;return parentNode.get('offsetWidth');}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['103'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['510']++;return'';},setter:function(val){__cov_tWw2Ofro70cay0RlahMhfw.f['32']++;__cov_tWw2Ofro70cay0RlahMhfw.s['511']++;this._width=val;__cov_tWw2Ofro70cay0RlahMhfw.s['512']++;return val;}},height:{valueFn:'_heightGetter',getter:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['33']++;__cov_tWw2Ofro70cay0RlahMhfw.s['513']++;var chart=this.get('chart'),parentNode=this._parentNode;__cov_tWw2Ofro70cay0RlahMhfw.s['514']++;if(parentNode){__cov_tWw2Ofro70cay0RlahMhfw.b['107'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['515']++;if((__cov_tWw2Ofro70cay0RlahMhfw.b['109'][0]++,chart)&&(__cov_tWw2Ofro70cay0RlahMhfw.b['109'][1]++,this.get('includeInChartLayout'))||(__cov_tWw2Ofro70cay0RlahMhfw.b['109'][2]++,this._height)){__cov_tWw2Ofro70cay0RlahMhfw.b['108'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['516']++;if(!this._height){__cov_tWw2Ofro70cay0RlahMhfw.b['110'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['517']++;this._height=0;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['110'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['518']++;return this._height;}else{__cov_tWw2Ofro70cay0RlahMhfw.b['108'][1]++;__cov_tWw2Ofro70cay0RlahMhfw.s['519']++;return parentNode.get('offsetHeight');}}else{__cov_tWw2Ofro70cay0RlahMhfw.b['107'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['520']++;return'';},setter:function(val){__cov_tWw2Ofro70cay0RlahMhfw.f['34']++;__cov_tWw2Ofro70cay0RlahMhfw.s['521']++;this._height=val;__cov_tWw2Ofro70cay0RlahMhfw.s['522']++;return val;}},x:{lazyAdd:false,value:0,setter:function(val){__cov_tWw2Ofro70cay0RlahMhfw.f['35']++;__cov_tWw2Ofro70cay0RlahMhfw.s['523']++;var node=this.get('boundingBox');__cov_tWw2Ofro70cay0RlahMhfw.s['524']++;if(node){__cov_tWw2Ofro70cay0RlahMhfw.b['111'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['525']++;node.setStyle(LEFT,val+PX);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['111'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['526']++;return val;}},y:{lazyAdd:false,value:0,setter:function(val){__cov_tWw2Ofro70cay0RlahMhfw.f['36']++;__cov_tWw2Ofro70cay0RlahMhfw.s['527']++;var node=this.get('boundingBox');__cov_tWw2Ofro70cay0RlahMhfw.s['528']++;if(node){__cov_tWw2Ofro70cay0RlahMhfw.b['112'][0]++;__cov_tWw2Ofro70cay0RlahMhfw.s['529']++;node.setStyle(TOP,val+PX);}else{__cov_tWw2Ofro70cay0RlahMhfw.b['112'][1]++;}__cov_tWw2Ofro70cay0RlahMhfw.s['530']++;return val;}},items:{getter:function(){__cov_tWw2Ofro70cay0RlahMhfw.f['37']++;__cov_tWw2Ofro70cay0RlahMhfw.s['531']++;return this._items;}},background:{}}});},'3.10.3',{'requires':['charts-base']});