text: /*
  YUI 3.17.0 (build ce55cc9)
  Copyright 2014 Yahoo! Inc. All rights reserved.
  Licensed under the BSD License.
  http://yuilibrary.com/license/
  */
  
  if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
  if (!__coverage__['build/frame/frame.js']) {
     __coverage__['build/frame/frame.js'] = {"path":"build/frame/frame.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},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0,0],"28":[0,0],"29":[0,0],"30":[0,0],"31":[0,0],"32":[0,0],"33":[0,0],"34":[0,0],"35":[0,0],"36":[0,0],"37":[0,0],"38":[0,0],"39":[0,0],"40":[0,0],"41":[0,0],"42":[0,0],"43":[0,0],"44":[0,0],"45":[0,0],"46":[0,0],"47":[0,0],"48":[0,0],"49":[0,0],"50":[0,0],"51":[0,0],"52":[0,0],"53":[0,0],"54":[0,0],"55":[0,0],"56":[0,0],"57":[0,0],"58":[0,0],"59":[0,0],"60":[0,0],"61":[0,0],"62":[0,0],"63":[0,0],"64":[0,0],"65":[0,0],"66":[0,0],"67":[0,0],"68":[0,0],"69":[0,0],"70":[0,0],"71":[0,0],"72":[0,0],"73":[0,0],"74":[0,0],"75":[0,0],"76":[0,0],"77":[0,0],"78":[0,0],"79":[0,0],"80":[0,0],"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]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":36}}},"2":{"name":"(anonymous_2)","line":21,"loc":{"start":{"line":21,"column":12},"end":{"line":21,"column":23}}},"3":{"name":"(anonymous_3)","line":61,"loc":{"start":{"line":61,"column":17},"end":{"line":61,"column":30}}},"4":{"name":"(anonymous_4)","line":105,"loc":{"start":{"line":105,"column":41},"end":{"line":105,"column":52}}},"5":{"name":"(anonymous_5)","line":123,"loc":{"start":{"line":123,"column":24},"end":{"line":123,"column":36}}},"6":{"name":"(anonymous_6)","line":144,"loc":{"start":{"line":144,"column":21},"end":{"line":144,"column":33}}},"7":{"name":"(anonymous_7)","line":169,"loc":{"start":{"line":169,"column":21},"end":{"line":169,"column":32}}},"8":{"name":"(anonymous_8)","line":181,"loc":{"start":{"line":181,"column":20},"end":{"line":181,"column":31}}},"9":{"name":"(anonymous_9)","line":194,"loc":{"start":{"line":194,"column":19},"end":{"line":194,"column":31}}},"10":{"name":"(anonymous_10)","line":223,"loc":{"start":{"line":223,"column":29},"end":{"line":223,"column":40}}},"11":{"name":"(anonymous_11)","line":238,"loc":{"start":{"line":238,"column":21},"end":{"line":238,"column":32}}},"12":{"name":"(anonymous_12)","line":241,"loc":{"start":{"line":241,"column":37},"end":{"line":241,"column":52}}},"13":{"name":"(anonymous_13)","line":284,"loc":{"start":{"line":284,"column":23},"end":{"line":284,"column":34}}},"14":{"name":"(anonymous_14)","line":292,"loc":{"start":{"line":292,"column":25},"end":{"line":292,"column":37}}},"15":{"name":"(anonymous_15)","line":321,"loc":{"start":{"line":321,"column":25},"end":{"line":321,"column":37}}},"16":{"name":"(anonymous_16)","line":333,"loc":{"start":{"line":333,"column":33},"end":{"line":333,"column":44}}},"17":{"name":"(anonymous_17)","line":362,"loc":{"start":{"line":362,"column":26},"end":{"line":362,"column":38}}},"18":{"name":"(anonymous_18)","line":408,"loc":{"start":{"line":408,"column":26},"end":{"line":408,"column":41}}},"19":{"name":"(anonymous_19)","line":425,"loc":{"start":{"line":425,"column":18},"end":{"line":425,"column":33}}},"20":{"name":"(anonymous_20)","line":439,"loc":{"start":{"line":439,"column":18},"end":{"line":439,"column":33}}},"21":{"name":"(anonymous_21)","line":454,"loc":{"start":{"line":454,"column":23},"end":{"line":454,"column":38}}},"22":{"name":"(anonymous_22)","line":460,"loc":{"start":{"line":460,"column":29},"end":{"line":460,"column":41}}},"23":{"name":"(anonymous_23)","line":475,"loc":{"start":{"line":475,"column":23},"end":{"line":475,"column":37}}},"24":{"name":"(anonymous_24)","line":487,"loc":{"start":{"line":487,"column":22},"end":{"line":487,"column":36}}},"25":{"name":"(anonymous_25)","line":511,"loc":{"start":{"line":511,"column":25},"end":{"line":511,"column":40}}},"26":{"name":"(anonymous_26)","line":533,"loc":{"start":{"line":533,"column":13},"end":{"line":533,"column":24}}},"27":{"name":"(anonymous_27)","line":542,"loc":{"start":{"line":542,"column":26},"end":{"line":542,"column":37}}},"28":{"name":"(anonymous_28)","line":559,"loc":{"start":{"line":559,"column":18},"end":{"line":559,"column":48}}},"29":{"name":"(anonymous_29)","line":575,"loc":{"start":{"line":575,"column":21},"end":{"line":575,"column":32}}},"30":{"name":"(anonymous_30)","line":585,"loc":{"start":{"line":585,"column":16},"end":{"line":585,"column":31}}},"31":{"name":"(anonymous_31)","line":594,"loc":{"start":{"line":594,"column":32},"end":{"line":594,"column":46}}},"32":{"name":"(anonymous_32)","line":597,"loc":{"start":{"line":597,"column":32},"end":{"line":597,"column":44}}},"33":{"name":"(anonymous_33)","line":606,"loc":{"start":{"line":606,"column":32},"end":{"line":606,"column":43}}},"34":{"name":"(anonymous_34)","line":617,"loc":{"start":{"line":617,"column":48},"end":{"line":617,"column":59}}},"35":{"name":"(anonymous_35)","line":636,"loc":{"start":{"line":636,"column":22},"end":{"line":636,"column":33}}},"36":{"name":"(anonymous_36)","line":684,"loc":{"start":{"line":684,"column":28},"end":{"line":684,"column":44}}},"37":{"name":"(anonymous_37)","line":694,"loc":{"start":{"line":694,"column":15},"end":{"line":694,"column":28}}},"38":{"name":"(anonymous_38)","line":714,"loc":{"start":{"line":714,"column":39},"end":{"line":714,"column":50}}},"39":{"name":"(anonymous_39)","line":738,"loc":{"start":{"line":738,"column":14},"end":{"line":738,"column":25}}},"40":{"name":"(anonymous_40)","line":759,"loc":{"start":{"line":759,"column":14},"end":{"line":759,"column":25}}},"41":{"name":"(anonymous_41)","line":844,"loc":{"start":{"line":844,"column":20},"end":{"line":844,"column":31}}},"42":{"name":"(anonymous_42)","line":978,"loc":{"start":{"line":978,"column":24},"end":{"line":978,"column":36}}},"43":{"name":"(anonymous_43)","line":990,"loc":{"start":{"line":990,"column":24},"end":{"line":990,"column":35}}},"44":{"name":"(anonymous_44)","line":1002,"loc":{"start":{"line":1002,"column":24},"end":{"line":1002,"column":37}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1047,"column":88}},"2":{"start":{"line":15,"column":4},"end":{"line":23,"column":6}},"3":{"start":{"line":22,"column":8},"end":{"line":22,"column":60}},"4":{"start":{"line":26,"column":4},"end":{"line":1037,"column":7}},"5":{"start":{"line":62,"column":12},"end":{"line":65,"column":121}},"6":{"start":{"line":67,"column":12},"end":{"line":67,"column":71}},"7":{"start":{"line":68,"column":12},"end":{"line":68,"column":54}},"8":{"start":{"line":70,"column":12},"end":{"line":70,"column":58}},"9":{"start":{"line":71,"column":12},"end":{"line":71,"column":53}},"10":{"start":{"line":72,"column":12},"end":{"line":72,"column":55}},"11":{"start":{"line":73,"column":12},"end":{"line":73,"column":46}},"12":{"start":{"line":75,"column":12},"end":{"line":94,"column":13}},"13":{"start":{"line":76,"column":16},"end":{"line":86,"column":19}},"14":{"start":{"line":87,"column":16},"end":{"line":92,"column":17}},"15":{"start":{"line":90,"column":20},"end":{"line":90,"column":60}},"16":{"start":{"line":96,"column":12},"end":{"line":96,"column":40}},"17":{"start":{"line":98,"column":12},"end":{"line":102,"column":13}},"18":{"start":{"line":99,"column":16},"end":{"line":99,"column":31}},"19":{"start":{"line":100,"column":16},"end":{"line":100,"column":36}},"20":{"start":{"line":101,"column":16},"end":{"line":101,"column":32}},"21":{"start":{"line":104,"column":12},"end":{"line":113,"column":13}},"22":{"start":{"line":105,"column":16},"end":{"line":110,"column":31}},"23":{"start":{"line":106,"column":20},"end":{"line":109,"column":21}},"24":{"start":{"line":107,"column":24},"end":{"line":107,"column":32}},"25":{"start":{"line":108,"column":24},"end":{"line":108,"column":39}},"26":{"start":{"line":112,"column":16},"end":{"line":112,"column":24}},"27":{"start":{"line":124,"column":12},"end":{"line":124,"column":38}},"28":{"start":{"line":125,"column":12},"end":{"line":125,"column":78}},"29":{"start":{"line":126,"column":12},"end":{"line":126,"column":87}},"30":{"start":{"line":127,"column":12},"end":{"line":129,"column":13}},"31":{"start":{"line":128,"column":16},"end":{"line":128,"column":42}},"32":{"start":{"line":130,"column":12},"end":{"line":132,"column":13}},"33":{"start":{"line":131,"column":16},"end":{"line":131,"column":42}},"34":{"start":{"line":133,"column":12},"end":{"line":133,"column":26}},"35":{"start":{"line":145,"column":12},"end":{"line":145,"column":25}},"36":{"start":{"line":147,"column":12},"end":{"line":150,"column":13}},"37":{"start":{"line":149,"column":16},"end":{"line":149,"column":23}},"38":{"start":{"line":152,"column":12},"end":{"line":152,"column":36}},"39":{"start":{"line":154,"column":12},"end":{"line":161,"column":13}},"40":{"start":{"line":155,"column":16},"end":{"line":160,"column":17}},"41":{"start":{"line":156,"column":20},"end":{"line":156,"column":53}},"42":{"start":{"line":157,"column":20},"end":{"line":157,"column":46}},"43":{"start":{"line":158,"column":20},"end":{"line":158,"column":72}},"44":{"start":{"line":159,"column":20},"end":{"line":159,"column":71}},"45":{"start":{"line":163,"column":12},"end":{"line":163,"column":37}},"46":{"start":{"line":164,"column":12},"end":{"line":164,"column":51}},"47":{"start":{"line":165,"column":12},"end":{"line":165,"column":29}},"48":{"start":{"line":167,"column":12},"end":{"line":167,"column":42}},"49":{"start":{"line":170,"column":12},"end":{"line":170,"column":38}},"50":{"start":{"line":172,"column":12},"end":{"line":174,"column":13}},"51":{"start":{"line":173,"column":16},"end":{"line":173,"column":34}},"52":{"start":{"line":176,"column":12},"end":{"line":179,"column":15}},"53":{"start":{"line":182,"column":12},"end":{"line":182,"column":42}},"54":{"start":{"line":184,"column":12},"end":{"line":184,"column":40}},"55":{"start":{"line":185,"column":12},"end":{"line":185,"column":24}},"56":{"start":{"line":186,"column":12},"end":{"line":186,"column":34}},"57":{"start":{"line":195,"column":12},"end":{"line":196,"column":49}},"58":{"start":{"line":198,"column":12},"end":{"line":200,"column":13}},"59":{"start":{"line":199,"column":16},"end":{"line":199,"column":47}},"60":{"start":{"line":201,"column":12},"end":{"line":203,"column":13}},"61":{"start":{"line":202,"column":16},"end":{"line":202,"column":62}},"62":{"start":{"line":205,"column":12},"end":{"line":213,"column":13}},"63":{"start":{"line":206,"column":16},"end":{"line":206,"column":57}},"64":{"start":{"line":207,"column":16},"end":{"line":212,"column":17}},"65":{"start":{"line":209,"column":20},"end":{"line":211,"column":21}},"66":{"start":{"line":210,"column":24},"end":{"line":210,"column":36}},"67":{"start":{"line":216,"column":12},"end":{"line":216,"column":37}},"68":{"start":{"line":217,"column":12},"end":{"line":217,"column":51}},"69":{"start":{"line":218,"column":12},"end":{"line":218,"column":29}},"70":{"start":{"line":220,"column":12},"end":{"line":229,"column":13}},"71":{"start":{"line":221,"column":16},"end":{"line":226,"column":18}},"72":{"start":{"line":224,"column":24},"end":{"line":224,"column":36}},"73":{"start":{"line":228,"column":16},"end":{"line":228,"column":39}},"74":{"start":{"line":231,"column":12},"end":{"line":231,"column":38}},"75":{"start":{"line":239,"column":12},"end":{"line":239,"column":42}},"76":{"start":{"line":241,"column":12},"end":{"line":258,"column":21}},"77":{"start":{"line":242,"column":16},"end":{"line":243,"column":108}},"78":{"start":{"line":245,"column":16},"end":{"line":247,"column":17}},"79":{"start":{"line":246,"column":20},"end":{"line":246,"column":48}},"80":{"start":{"line":248,"column":16},"end":{"line":257,"column":17}},"81":{"start":{"line":249,"column":20},"end":{"line":256,"column":21}},"82":{"start":{"line":250,"column":24},"end":{"line":255,"column":25}},"83":{"start":{"line":252,"column":28},"end":{"line":252,"column":61}},"84":{"start":{"line":254,"column":28},"end":{"line":254,"column":60}},"85":{"start":{"line":260,"column":12},"end":{"line":260,"column":43}},"86":{"start":{"line":262,"column":12},"end":{"line":262,"column":77}},"87":{"start":{"line":265,"column":12},"end":{"line":265,"column":78}},"88":{"start":{"line":266,"column":12},"end":{"line":266,"column":77}},"89":{"start":{"line":268,"column":12},"end":{"line":268,"column":34}},"90":{"start":{"line":269,"column":12},"end":{"line":269,"column":46}},"91":{"start":{"line":270,"column":12},"end":{"line":272,"column":15}},"92":{"start":{"line":273,"column":12},"end":{"line":273,"column":58}},"93":{"start":{"line":285,"column":12},"end":{"line":287,"column":41}},"94":{"start":{"line":289,"column":12},"end":{"line":313,"column":13}},"95":{"start":{"line":291,"column":16},"end":{"line":291,"column":55}},"96":{"start":{"line":292,"column":16},"end":{"line":312,"column":19}},"97":{"start":{"line":293,"column":20},"end":{"line":294,"column":64}},"98":{"start":{"line":296,"column":20},"end":{"line":310,"column":21}},"99":{"start":{"line":297,"column":24},"end":{"line":309,"column":25}},"100":{"start":{"line":298,"column":28},"end":{"line":298,"column":65}},"101":{"start":{"line":300,"column":28},"end":{"line":308,"column":29}},"102":{"start":{"line":301,"column":32},"end":{"line":303,"column":33}},"103":{"start":{"line":302,"column":36},"end":{"line":302,"column":73}},"104":{"start":{"line":305,"column":32},"end":{"line":307,"column":33}},"105":{"start":{"line":306,"column":36},"end":{"line":306,"column":73}},"106":{"start":{"line":322,"column":12},"end":{"line":352,"column":13}},"107":{"start":{"line":323,"column":16},"end":{"line":323,"column":35}},"108":{"start":{"line":324,"column":16},"end":{"line":325,"column":52}},"109":{"start":{"line":327,"column":16},"end":{"line":327,"column":42}},"110":{"start":{"line":329,"column":16},"end":{"line":331,"column":17}},"111":{"start":{"line":330,"column":20},"end":{"line":330,"column":66}},"112":{"start":{"line":333,"column":16},"end":{"line":348,"column":26}},"113":{"start":{"line":334,"column":20},"end":{"line":336,"column":21}},"114":{"start":{"line":335,"column":24},"end":{"line":335,"column":90}},"115":{"start":{"line":338,"column":20},"end":{"line":346,"column":21}},"116":{"start":{"line":339,"column":24},"end":{"line":345,"column":25}},"117":{"start":{"line":340,"column":28},"end":{"line":340,"column":74}},"118":{"start":{"line":341,"column":28},"end":{"line":341,"column":52}},"119":{"start":{"line":342,"column":28},"end":{"line":342,"column":99}},"120":{"start":{"line":344,"column":28},"end":{"line":344,"column":62}},"121":{"start":{"line":347,"column":20},"end":{"line":347,"column":39}},"122":{"start":{"line":349,"column":16},"end":{"line":349,"column":43}},"123":{"start":{"line":351,"column":16},"end":{"line":351,"column":82}},"124":{"start":{"line":363,"column":12},"end":{"line":365,"column":13}},"125":{"start":{"line":364,"column":16},"end":{"line":364,"column":42}},"126":{"start":{"line":366,"column":12},"end":{"line":366,"column":36}},"127":{"start":{"line":367,"column":12},"end":{"line":367,"column":41}},"128":{"start":{"line":368,"column":12},"end":{"line":370,"column":13}},"129":{"start":{"line":369,"column":16},"end":{"line":369,"column":27}},"130":{"start":{"line":371,"column":12},"end":{"line":381,"column":13}},"131":{"start":{"line":372,"column":16},"end":{"line":377,"column":17}},"132":{"start":{"line":375,"column":24},"end":{"line":375,"column":35}},"133":{"start":{"line":376,"column":24},"end":{"line":376,"column":30}},"134":{"start":{"line":378,"column":16},"end":{"line":380,"column":17}},"135":{"start":{"line":379,"column":20},"end":{"line":379,"column":31}},"136":{"start":{"line":382,"column":12},"end":{"line":399,"column":13}},"137":{"start":{"line":383,"column":16},"end":{"line":398,"column":17}},"138":{"start":{"line":384,"column":20},"end":{"line":384,"column":46}},"139":{"start":{"line":385,"column":20},"end":{"line":385,"column":57}},"140":{"start":{"line":386,"column":20},"end":{"line":386,"column":59}},"141":{"start":{"line":387,"column":20},"end":{"line":392,"column":21}},"142":{"start":{"line":388,"column":24},"end":{"line":388,"column":44}},"143":{"start":{"line":389,"column":24},"end":{"line":389,"column":62}},"144":{"start":{"line":391,"column":24},"end":{"line":391,"column":67}},"145":{"start":{"line":394,"column":20},"end":{"line":397,"column":21}},"146":{"start":{"line":395,"column":24},"end":{"line":395,"column":66}},"147":{"start":{"line":409,"column":12},"end":{"line":415,"column":13}},"148":{"start":{"line":410,"column":16},"end":{"line":410,"column":50}},"149":{"start":{"line":411,"column":16},"end":{"line":413,"column":17}},"150":{"start":{"line":412,"column":20},"end":{"line":412,"column":64}},"151":{"start":{"line":414,"column":16},"end":{"line":414,"column":70}},"152":{"start":{"line":416,"column":12},"end":{"line":416,"column":24}},"153":{"start":{"line":426,"column":12},"end":{"line":429,"column":13}},"154":{"start":{"line":427,"column":16},"end":{"line":427,"column":46}},"155":{"start":{"line":428,"column":16},"end":{"line":428,"column":57}},"156":{"start":{"line":430,"column":12},"end":{"line":430,"column":24}},"157":{"start":{"line":440,"column":12},"end":{"line":445,"column":13}},"158":{"start":{"line":441,"column":16},"end":{"line":441,"column":46}},"159":{"start":{"line":442,"column":16},"end":{"line":442,"column":56}},"160":{"start":{"line":444,"column":16},"end":{"line":444,"column":82}},"161":{"start":{"line":447,"column":12},"end":{"line":447,"column":24}},"162":{"start":{"line":455,"column":12},"end":{"line":457,"column":13}},"163":{"start":{"line":456,"column":16},"end":{"line":456,"column":30}},"164":{"start":{"line":458,"column":12},"end":{"line":458,"column":25}},"165":{"start":{"line":459,"column":12},"end":{"line":467,"column":13}},"166":{"start":{"line":460,"column":16},"end":{"line":464,"column":19}},"167":{"start":{"line":461,"column":20},"end":{"line":463,"column":21}},"168":{"start":{"line":462,"column":24},"end":{"line":462,"column":90}},"169":{"start":{"line":466,"column":16},"end":{"line":466,"column":27}},"170":{"start":{"line":468,"column":12},"end":{"line":468,"column":23}},"171":{"start":{"line":476,"column":12},"end":{"line":479,"column":13}},"172":{"start":{"line":477,"column":16},"end":{"line":477,"column":46}},"173":{"start":{"line":478,"column":16},"end":{"line":478,"column":34}},"174":{"start":{"line":480,"column":12},"end":{"line":480,"column":23}},"175":{"start":{"line":488,"column":12},"end":{"line":500,"column":13}},"176":{"start":{"line":489,"column":16},"end":{"line":490,"column":50}},"177":{"start":{"line":492,"column":16},"end":{"line":494,"column":17}},"178":{"start":{"line":493,"column":20},"end":{"line":493,"column":34}},"179":{"start":{"line":496,"column":16},"end":{"line":496,"column":85}},"180":{"start":{"line":499,"column":16},"end":{"line":499,"column":85}},"181":{"start":{"line":502,"column":12},"end":{"line":502,"column":23}},"182":{"start":{"line":512,"column":12},"end":{"line":512,"column":34}},"183":{"start":{"line":513,"column":12},"end":{"line":513,"column":35}},"184":{"start":{"line":515,"column":12},"end":{"line":515,"column":48}},"185":{"start":{"line":517,"column":12},"end":{"line":525,"column":13}},"186":{"start":{"line":518,"column":16},"end":{"line":524,"column":17}},"187":{"start":{"line":519,"column":20},"end":{"line":523,"column":36}},"188":{"start":{"line":521,"column":24},"end":{"line":521,"column":70}},"189":{"start":{"line":522,"column":24},"end":{"line":522,"column":74}},"190":{"start":{"line":534,"column":12},"end":{"line":536,"column":27}},"191":{"start":{"line":538,"column":12},"end":{"line":540,"column":13}},"192":{"start":{"line":539,"column":16},"end":{"line":539,"column":32}},"193":{"start":{"line":541,"column":12},"end":{"line":546,"column":13}},"194":{"start":{"line":542,"column":16},"end":{"line":545,"column":19}},"195":{"start":{"line":543,"column":20},"end":{"line":543,"column":46}},"196":{"start":{"line":548,"column":12},"end":{"line":548,"column":48}},"197":{"start":{"line":560,"column":12},"end":{"line":560,"column":42}},"198":{"start":{"line":561,"column":12},"end":{"line":563,"column":13}},"199":{"start":{"line":562,"column":16},"end":{"line":562,"column":29}},"200":{"start":{"line":564,"column":12},"end":{"line":567,"column":13}},"201":{"start":{"line":565,"column":16},"end":{"line":565,"column":27}},"202":{"start":{"line":566,"column":16},"end":{"line":566,"column":30}},"203":{"start":{"line":568,"column":12},"end":{"line":568,"column":54}},"204":{"start":{"line":576,"column":12},"end":{"line":576,"column":34}},"205":{"start":{"line":586,"column":12},"end":{"line":588,"column":13}},"206":{"start":{"line":587,"column":16},"end":{"line":587,"column":28}},"207":{"start":{"line":589,"column":12},"end":{"line":589,"column":34}},"208":{"start":{"line":590,"column":12},"end":{"line":592,"column":13}},"209":{"start":{"line":591,"column":16},"end":{"line":591,"column":44}},"210":{"start":{"line":594,"column":12},"end":{"line":627,"column":22}},"211":{"start":{"line":596,"column":16},"end":{"line":621,"column":29}},"212":{"start":{"line":598,"column":24},"end":{"line":598,"column":48}},"213":{"start":{"line":607,"column":24},"end":{"line":607,"column":61}},"214":{"start":{"line":608,"column":24},"end":{"line":608,"column":43}},"215":{"start":{"line":609,"column":24},"end":{"line":609,"column":51}},"216":{"start":{"line":611,"column":24},"end":{"line":620,"column":25}},"217":{"start":{"line":612,"column":28},"end":{"line":612,"column":54}},"218":{"start":{"line":613,"column":28},"end":{"line":615,"column":29}},"219":{"start":{"line":614,"column":32},"end":{"line":614,"column":53}},"220":{"start":{"line":617,"column":28},"end":{"line":619,"column":36}},"221":{"start":{"line":618,"column":32},"end":{"line":618,"column":37}},"222":{"start":{"line":623,"column":16},"end":{"line":623,"column":30}},"223":{"start":{"line":625,"column":16},"end":{"line":625,"column":37}},"224":{"start":{"line":629,"column":12},"end":{"line":629,"column":24}},"225":{"start":{"line":637,"column":12},"end":{"line":639,"column":29}},"226":{"start":{"line":641,"column":12},"end":{"line":676,"column":13}},"227":{"start":{"line":642,"column":16},"end":{"line":642,"column":35}},"228":{"start":{"line":644,"column":16},"end":{"line":646,"column":17}},"229":{"start":{"line":645,"column":20},"end":{"line":645,"column":44}},"230":{"start":{"line":647,"column":16},"end":{"line":647,"column":40}},"231":{"start":{"line":649,"column":16},"end":{"line":675,"column":17}},"232":{"start":{"line":650,"column":20},"end":{"line":674,"column":21}},"233":{"start":{"line":651,"column":24},"end":{"line":651,"column":55}},"234":{"start":{"line":652,"column":27},"end":{"line":674,"column":21}},"235":{"start":{"line":653,"column":24},"end":{"line":653,"column":59}},"236":{"start":{"line":654,"column":24},"end":{"line":656,"column":25}},"237":{"start":{"line":655,"column":28},"end":{"line":655,"column":52}},"238":{"start":{"line":657,"column":24},"end":{"line":659,"column":25}},"239":{"start":{"line":658,"column":28},"end":{"line":658,"column":60}},"240":{"start":{"line":660,"column":24},"end":{"line":662,"column":25}},"241":{"start":{"line":661,"column":28},"end":{"line":661,"column":42}},"242":{"start":{"line":663,"column":24},"end":{"line":665,"column":25}},"243":{"start":{"line":664,"column":28},"end":{"line":664,"column":59}},"244":{"start":{"line":667,"column":24},"end":{"line":667,"column":54}},"245":{"start":{"line":668,"column":24},"end":{"line":673,"column":25}},"246":{"start":{"line":669,"column":28},"end":{"line":669,"column":54}},"247":{"start":{"line":670,"column":28},"end":{"line":672,"column":29}},"248":{"start":{"line":671,"column":32},"end":{"line":671,"column":65}},"249":{"start":{"line":685,"column":12},"end":{"line":685,"column":63}},"250":{"start":{"line":695,"column":12},"end":{"line":729,"column":13}},"251":{"start":{"line":696,"column":16},"end":{"line":704,"column":17}},"252":{"start":{"line":697,"column":20},"end":{"line":697,"column":41}},"253":{"start":{"line":698,"column":20},"end":{"line":702,"column":21}},"254":{"start":{"line":699,"column":24},"end":{"line":701,"column":25}},"255":{"start":{"line":700,"column":28},"end":{"line":700,"column":66}},"256":{"start":{"line":705,"column":16},"end":{"line":707,"column":17}},"257":{"start":{"line":706,"column":20},"end":{"line":706,"column":40}},"258":{"start":{"line":708,"column":16},"end":{"line":710,"column":17}},"259":{"start":{"line":709,"column":20},"end":{"line":709,"column":25}},"260":{"start":{"line":712,"column":16},"end":{"line":728,"column":17}},"261":{"start":{"line":713,"column":20},"end":{"line":713,"column":41}},"262":{"start":{"line":714,"column":20},"end":{"line":726,"column":23}},"263":{"start":{"line":715,"column":24},"end":{"line":719,"column":25}},"264":{"start":{"line":716,"column":28},"end":{"line":718,"column":29}},"265":{"start":{"line":717,"column":32},"end":{"line":717,"column":70}},"266":{"start":{"line":720,"column":24},"end":{"line":722,"column":25}},"267":{"start":{"line":721,"column":28},"end":{"line":721,"column":48}},"268":{"start":{"line":723,"column":24},"end":{"line":725,"column":25}},"269":{"start":{"line":724,"column":28},"end":{"line":724,"column":33}},"270":{"start":{"line":730,"column":12},"end":{"line":730,"column":24}},"271":{"start":{"line":739,"column":12},"end":{"line":742,"column":15}},"272":{"start":{"line":743,"column":12},"end":{"line":750,"column":13}},"273":{"start":{"line":744,"column":16},"end":{"line":748,"column":31}},"274":{"start":{"line":745,"column":20},"end":{"line":747,"column":21}},"275":{"start":{"line":746,"column":24},"end":{"line":746,"column":72}},"276":{"start":{"line":749,"column":16},"end":{"line":749,"column":29}},"277":{"start":{"line":751,"column":12},"end":{"line":751,"column":24}},"278":{"start":{"line":760,"column":12},"end":{"line":763,"column":15}},"279":{"start":{"line":764,"column":12},"end":{"line":764,"column":24}},"280":{"start":{"line":845,"column":12},"end":{"line":846,"column":37}},"281":{"start":{"line":848,"column":12},"end":{"line":863,"column":13}},"282":{"start":{"line":849,"column":16},"end":{"line":849,"column":137}},"283":{"start":{"line":851,"column":16},"end":{"line":862,"column":17}},"284":{"start":{"line":852,"column":20},"end":{"line":852,"column":45}},"285":{"start":{"line":853,"column":20},"end":{"line":861,"column":21}},"286":{"start":{"line":854,"column":24},"end":{"line":860,"column":25}},"287":{"start":{"line":855,"column":28},"end":{"line":859,"column":29}},"288":{"start":{"line":856,"column":32},"end":{"line":858,"column":33}},"289":{"start":{"line":857,"column":36},"end":{"line":857,"column":68}},"290":{"start":{"line":864,"column":12},"end":{"line":864,"column":23}},"291":{"start":{"line":979,"column":20},"end":{"line":979,"column":36}},"292":{"start":{"line":991,"column":20},"end":{"line":991,"column":40}},"293":{"start":{"line":1003,"column":20},"end":{"line":1005,"column":21}},"294":{"start":{"line":1004,"column":24},"end":{"line":1004,"column":50}},"295":{"start":{"line":1006,"column":20},"end":{"line":1006,"column":30}},"296":{"start":{"line":1039,"column":4},"end":{"line":1039,"column":26}},"297":{"start":{"line":1041,"column":4},"end":{"line":1041,"column":27}},"298":{"start":{"line":1043,"column":4},"end":{"line":1043,"column":20}}},"branchMap":{"1":{"line":65,"type":"cond-expr","locations":[{"start":{"line":65,"column":54},"end":{"line":65,"column":114}},{"start":{"line":65,"column":117},"end":{"line":65,"column":119}}]},"2":{"line":75,"type":"if","locations":[{"start":{"line":75,"column":12},"end":{"line":75,"column":12}},{"start":{"line":75,"column":12},"end":{"line":75,"column":12}}]},"3":{"line":87,"type":"if","locations":[{"start":{"line":87,"column":16},"end":{"line":87,"column":16}},{"start":{"line":87,"column":16},"end":{"line":87,"column":16}}]},"4":{"line":98,"type":"if","locations":[{"start":{"line":98,"column":12},"end":{"line":98,"column":12}},{"start":{"line":98,"column":12},"end":{"line":98,"column":12}}]},"5":{"line":104,"type":"if","locations":[{"start":{"line":104,"column":12},"end":{"line":104,"column":12}},{"start":{"line":104,"column":12},"end":{"line":104,"column":12}}]},"6":{"line":106,"type":"if","locations":[{"start":{"line":106,"column":20},"end":{"line":106,"column":20}},{"start":{"line":106,"column":20},"end":{"line":106,"column":20}}]},"7":{"line":106,"type":"binary-expr","locations":[{"start":{"line":106,"column":24},"end":{"line":106,"column":31}},{"start":{"line":106,"column":35},"end":{"line":106,"column":58}}]},"8":{"line":124,"type":"cond-expr","locations":[{"start":{"line":124,"column":31},"end":{"line":124,"column":32}},{"start":{"line":124,"column":35},"end":{"line":124,"column":37}}]},"9":{"line":127,"type":"if","locations":[{"start":{"line":127,"column":12},"end":{"line":127,"column":12}},{"start":{"line":127,"column":12},"end":{"line":127,"column":12}}]},"10":{"line":130,"type":"if","locations":[{"start":{"line":130,"column":12},"end":{"line":130,"column":12}},{"start":{"line":130,"column":12},"end":{"line":130,"column":12}}]},"11":{"line":147,"type":"if","locations":[{"start":{"line":147,"column":12},"end":{"line":147,"column":12}},{"start":{"line":147,"column":12},"end":{"line":147,"column":12}}]},"12":{"line":154,"type":"if","locations":[{"start":{"line":154,"column":12},"end":{"line":154,"column":12}},{"start":{"line":154,"column":12},"end":{"line":154,"column":12}}]},"13":{"line":154,"type":"binary-expr","locations":[{"start":{"line":154,"column":16},"end":{"line":154,"column":27}},{"start":{"line":154,"column":31},"end":{"line":154,"column":42}}]},"14":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":16},"end":{"line":155,"column":16}},{"start":{"line":155,"column":16},"end":{"line":155,"column":16}}]},"15":{"line":172,"type":"if","locations":[{"start":{"line":172,"column":12},"end":{"line":172,"column":12}},{"start":{"line":172,"column":12},"end":{"line":172,"column":12}}]},"16":{"line":198,"type":"if","locations":[{"start":{"line":198,"column":12},"end":{"line":198,"column":12}},{"start":{"line":198,"column":12},"end":{"line":198,"column":12}}]},"17":{"line":201,"type":"if","locations":[{"start":{"line":201,"column":12},"end":{"line":201,"column":12}},{"start":{"line":201,"column":12},"end":{"line":201,"column":12}}]},"18":{"line":205,"type":"if","locations":[{"start":{"line":205,"column":12},"end":{"line":205,"column":12}},{"start":{"line":205,"column":12},"end":{"line":205,"column":12}}]},"19":{"line":207,"type":"if","locations":[{"start":{"line":207,"column":16},"end":{"line":207,"column":16}},{"start":{"line":207,"column":16},"end":{"line":207,"column":16}}]},"20":{"line":209,"type":"if","locations":[{"start":{"line":209,"column":20},"end":{"line":209,"column":20}},{"start":{"line":209,"column":20},"end":{"line":209,"column":20}}]},"21":{"line":220,"type":"if","locations":[{"start":{"line":220,"column":12},"end":{"line":220,"column":12}},{"start":{"line":220,"column":12},"end":{"line":220,"column":12}}]},"22":{"line":243,"type":"cond-expr","locations":[{"start":{"line":243,"column":66},"end":{"line":243,"column":101}},{"start":{"line":243,"column":104},"end":{"line":243,"column":106}}]},"23":{"line":243,"type":"binary-expr","locations":[{"start":{"line":243,"column":28},"end":{"line":243,"column":35}},{"start":{"line":243,"column":39},"end":{"line":243,"column":62}}]},"24":{"line":245,"type":"if","locations":[{"start":{"line":245,"column":16},"end":{"line":245,"column":16}},{"start":{"line":245,"column":16},"end":{"line":245,"column":16}}]},"25":{"line":248,"type":"if","locations":[{"start":{"line":248,"column":16},"end":{"line":248,"column":16}},{"start":{"line":248,"column":16},"end":{"line":248,"column":16}}]},"26":{"line":249,"type":"if","locations":[{"start":{"line":249,"column":20},"end":{"line":249,"column":20}},{"start":{"line":249,"column":20},"end":{"line":249,"column":20}}]},"27":{"line":249,"type":"binary-expr","locations":[{"start":{"line":249,"column":24},"end":{"line":249,"column":37}},{"start":{"line":249,"column":41},"end":{"line":249,"column":53}},{"start":{"line":249,"column":57},"end":{"line":249,"column":70}}]},"28":{"line":250,"type":"if","locations":[{"start":{"line":250,"column":24},"end":{"line":250,"column":24}},{"start":{"line":250,"column":24},"end":{"line":250,"column":24}}]},"29":{"line":289,"type":"if","locations":[{"start":{"line":289,"column":12},"end":{"line":289,"column":12}},{"start":{"line":289,"column":12},"end":{"line":289,"column":12}}]},"30":{"line":289,"type":"binary-expr","locations":[{"start":{"line":289,"column":16},"end":{"line":289,"column":29}},{"start":{"line":289,"column":33},"end":{"line":289,"column":43}}]},"31":{"line":296,"type":"if","locations":[{"start":{"line":296,"column":20},"end":{"line":296,"column":20}},{"start":{"line":296,"column":20},"end":{"line":296,"column":20}}]},"32":{"line":297,"type":"if","locations":[{"start":{"line":297,"column":24},"end":{"line":297,"column":24}},{"start":{"line":297,"column":24},"end":{"line":297,"column":24}}]},"33":{"line":300,"type":"if","locations":[{"start":{"line":300,"column":28},"end":{"line":300,"column":28}},{"start":{"line":300,"column":28},"end":{"line":300,"column":28}}]},"34":{"line":301,"type":"if","locations":[{"start":{"line":301,"column":32},"end":{"line":301,"column":32}},{"start":{"line":301,"column":32},"end":{"line":301,"column":32}}]},"35":{"line":305,"type":"if","locations":[{"start":{"line":305,"column":32},"end":{"line":305,"column":32}},{"start":{"line":305,"column":32},"end":{"line":305,"column":32}}]},"36":{"line":322,"type":"if","locations":[{"start":{"line":322,"column":12},"end":{"line":322,"column":12}},{"start":{"line":322,"column":12},"end":{"line":322,"column":12}}]},"37":{"line":329,"type":"if","locations":[{"start":{"line":329,"column":16},"end":{"line":329,"column":16}},{"start":{"line":329,"column":16},"end":{"line":329,"column":16}}]},"38":{"line":334,"type":"if","locations":[{"start":{"line":334,"column":20},"end":{"line":334,"column":20}},{"start":{"line":334,"column":20},"end":{"line":334,"column":20}}]},"39":{"line":338,"type":"if","locations":[{"start":{"line":338,"column":20},"end":{"line":338,"column":20}},{"start":{"line":338,"column":20},"end":{"line":338,"column":20}}]},"40":{"line":339,"type":"if","locations":[{"start":{"line":339,"column":24},"end":{"line":339,"column":24}},{"start":{"line":339,"column":24},"end":{"line":339,"column":24}}]},"41":{"line":363,"type":"if","locations":[{"start":{"line":363,"column":12},"end":{"line":363,"column":12}},{"start":{"line":363,"column":12},"end":{"line":363,"column":12}}]},"42":{"line":368,"type":"if","locations":[{"start":{"line":368,"column":12},"end":{"line":368,"column":12}},{"start":{"line":368,"column":12},"end":{"line":368,"column":12}}]},"43":{"line":371,"type":"if","locations":[{"start":{"line":371,"column":12},"end":{"line":371,"column":12}},{"start":{"line":371,"column":12},"end":{"line":371,"column":12}}]},"44":{"line":372,"type":"switch","locations":[{"start":{"line":373,"column":20},"end":{"line":373,"column":27}},{"start":{"line":374,"column":20},"end":{"line":376,"column":30}}]},"45":{"line":378,"type":"if","locations":[{"start":{"line":378,"column":16},"end":{"line":378,"column":16}},{"start":{"line":378,"column":16},"end":{"line":378,"column":16}}]},"46":{"line":378,"type":"binary-expr","locations":[{"start":{"line":378,"column":20},"end":{"line":378,"column":29}},{"start":{"line":378,"column":33},"end":{"line":378,"column":43}}]},"47":{"line":382,"type":"if","locations":[{"start":{"line":382,"column":12},"end":{"line":382,"column":12}},{"start":{"line":382,"column":12},"end":{"line":382,"column":12}}]},"48":{"line":387,"type":"if","locations":[{"start":{"line":387,"column":20},"end":{"line":387,"column":20}},{"start":{"line":387,"column":20},"end":{"line":387,"column":20}}]},"49":{"line":394,"type":"if","locations":[{"start":{"line":394,"column":20},"end":{"line":394,"column":20}},{"start":{"line":394,"column":20},"end":{"line":394,"column":20}}]},"50":{"line":409,"type":"if","locations":[{"start":{"line":409,"column":12},"end":{"line":409,"column":12}},{"start":{"line":409,"column":12},"end":{"line":409,"column":12}}]},"51":{"line":409,"type":"binary-expr","locations":[{"start":{"line":409,"column":16},"end":{"line":409,"column":21}},{"start":{"line":409,"column":25},"end":{"line":409,"column":36}}]},"52":{"line":411,"type":"if","locations":[{"start":{"line":411,"column":16},"end":{"line":411,"column":16}},{"start":{"line":411,"column":16},"end":{"line":411,"column":16}}]},"53":{"line":426,"type":"if","locations":[{"start":{"line":426,"column":12},"end":{"line":426,"column":12}},{"start":{"line":426,"column":12},"end":{"line":426,"column":12}}]},"54":{"line":440,"type":"if","locations":[{"start":{"line":440,"column":12},"end":{"line":440,"column":12}},{"start":{"line":440,"column":12},"end":{"line":440,"column":12}}]},"55":{"line":455,"type":"if","locations":[{"start":{"line":455,"column":12},"end":{"line":455,"column":12}},{"start":{"line":455,"column":12},"end":{"line":455,"column":12}}]},"56":{"line":459,"type":"if","locations":[{"start":{"line":459,"column":12},"end":{"line":459,"column":12}},{"start":{"line":459,"column":12},"end":{"line":459,"column":12}}]},"57":{"line":461,"type":"if","locations":[{"start":{"line":461,"column":20},"end":{"line":461,"column":20}},{"start":{"line":461,"column":20},"end":{"line":461,"column":20}}]},"58":{"line":476,"type":"if","locations":[{"start":{"line":476,"column":12},"end":{"line":476,"column":12}},{"start":{"line":476,"column":12},"end":{"line":476,"column":12}}]},"59":{"line":488,"type":"if","locations":[{"start":{"line":488,"column":12},"end":{"line":488,"column":12}},{"start":{"line":488,"column":12},"end":{"line":488,"column":12}}]},"60":{"line":492,"type":"if","locations":[{"start":{"line":492,"column":16},"end":{"line":492,"column":16}},{"start":{"line":492,"column":16},"end":{"line":492,"column":16}}]},"61":{"line":517,"type":"if","locations":[{"start":{"line":517,"column":12},"end":{"line":517,"column":12}},{"start":{"line":517,"column":12},"end":{"line":517,"column":12}}]},"62":{"line":518,"type":"if","locations":[{"start":{"line":518,"column":16},"end":{"line":518,"column":16}},{"start":{"line":518,"column":16},"end":{"line":518,"column":16}}]},"63":{"line":538,"type":"if","locations":[{"start":{"line":538,"column":12},"end":{"line":538,"column":12}},{"start":{"line":538,"column":12},"end":{"line":538,"column":12}}]},"64":{"line":541,"type":"if","locations":[{"start":{"line":541,"column":12},"end":{"line":541,"column":12}},{"start":{"line":541,"column":12},"end":{"line":541,"column":12}}]},"65":{"line":561,"type":"if","locations":[{"start":{"line":561,"column":12},"end":{"line":561,"column":12}},{"start":{"line":561,"column":12},"end":{"line":561,"column":12}}]},"66":{"line":564,"type":"if","locations":[{"start":{"line":564,"column":12},"end":{"line":564,"column":12}},{"start":{"line":564,"column":12},"end":{"line":564,"column":12}}]},"67":{"line":586,"type":"if","locations":[{"start":{"line":586,"column":12},"end":{"line":586,"column":12}},{"start":{"line":586,"column":12},"end":{"line":586,"column":12}}]},"68":{"line":590,"type":"if","locations":[{"start":{"line":590,"column":12},"end":{"line":590,"column":12}},{"start":{"line":590,"column":12},"end":{"line":590,"column":12}}]},"69":{"line":613,"type":"if","locations":[{"start":{"line":613,"column":28},"end":{"line":613,"column":28}},{"start":{"line":613,"column":28},"end":{"line":613,"column":28}}]},"70":{"line":641,"type":"if","locations":[{"start":{"line":641,"column":12},"end":{"line":641,"column":12}},{"start":{"line":641,"column":12},"end":{"line":641,"column":12}}]},"71":{"line":644,"type":"if","locations":[{"start":{"line":644,"column":16},"end":{"line":644,"column":16}},{"start":{"line":644,"column":16},"end":{"line":644,"column":16}}]},"72":{"line":644,"type":"binary-expr","locations":[{"start":{"line":644,"column":20},"end":{"line":644,"column":31}},{"start":{"line":644,"column":35},"end":{"line":644,"column":60}}]},"73":{"line":649,"type":"if","locations":[{"start":{"line":649,"column":16},"end":{"line":649,"column":16}},{"start":{"line":649,"column":16},"end":{"line":649,"column":16}}]},"74":{"line":650,"type":"if","locations":[{"start":{"line":650,"column":20},"end":{"line":650,"column":20}},{"start":{"line":650,"column":20},"end":{"line":650,"column":20}}]},"75":{"line":652,"type":"if","locations":[{"start":{"line":652,"column":27},"end":{"line":652,"column":27}},{"start":{"line":652,"column":27},"end":{"line":652,"column":27}}]},"76":{"line":654,"type":"if","locations":[{"start":{"line":654,"column":24},"end":{"line":654,"column":24}},{"start":{"line":654,"column":24},"end":{"line":654,"column":24}}]},"77":{"line":657,"type":"if","locations":[{"start":{"line":657,"column":24},"end":{"line":657,"column":24}},{"start":{"line":657,"column":24},"end":{"line":657,"column":24}}]},"78":{"line":660,"type":"if","locations":[{"start":{"line":660,"column":24},"end":{"line":660,"column":24}},{"start":{"line":660,"column":24},"end":{"line":660,"column":24}}]},"79":{"line":663,"type":"if","locations":[{"start":{"line":663,"column":24},"end":{"line":663,"column":24}},{"start":{"line":663,"column":24},"end":{"line":663,"column":24}}]},"80":{"line":668,"type":"if","locations":[{"start":{"line":668,"column":24},"end":{"line":668,"column":24}},{"start":{"line":668,"column":24},"end":{"line":668,"column":24}}]},"81":{"line":670,"type":"if","locations":[{"start":{"line":670,"column":28},"end":{"line":670,"column":28}},{"start":{"line":670,"column":28},"end":{"line":670,"column":28}}]},"82":{"line":685,"type":"binary-expr","locations":[{"start":{"line":685,"column":19},"end":{"line":685,"column":39}},{"start":{"line":685,"column":43},"end":{"line":685,"column":62}}]},"83":{"line":695,"type":"if","locations":[{"start":{"line":695,"column":12},"end":{"line":695,"column":12}},{"start":{"line":695,"column":12},"end":{"line":695,"column":12}}]},"84":{"line":695,"type":"binary-expr","locations":[{"start":{"line":695,"column":16},"end":{"line":695,"column":23}},{"start":{"line":695,"column":27},"end":{"line":695,"column":38}}]},"85":{"line":698,"type":"if","locations":[{"start":{"line":698,"column":20},"end":{"line":698,"column":20}},{"start":{"line":698,"column":20},"end":{"line":698,"column":20}}]},"86":{"line":699,"type":"if","locations":[{"start":{"line":699,"column":24},"end":{"line":699,"column":24}},{"start":{"line":699,"column":24},"end":{"line":699,"column":24}}]},"87":{"line":705,"type":"if","locations":[{"start":{"line":705,"column":16},"end":{"line":705,"column":16}},{"start":{"line":705,"column":16},"end":{"line":705,"column":16}}]},"88":{"line":708,"type":"if","locations":[{"start":{"line":708,"column":16},"end":{"line":708,"column":16}},{"start":{"line":708,"column":16},"end":{"line":708,"column":16}}]},"89":{"line":715,"type":"if","locations":[{"start":{"line":715,"column":24},"end":{"line":715,"column":24}},{"start":{"line":715,"column":24},"end":{"line":715,"column":24}}]},"90":{"line":716,"type":"if","locations":[{"start":{"line":716,"column":28},"end":{"line":716,"column":28}},{"start":{"line":716,"column":28},"end":{"line":716,"column":28}}]},"91":{"line":720,"type":"if","locations":[{"start":{"line":720,"column":24},"end":{"line":720,"column":24}},{"start":{"line":720,"column":24},"end":{"line":720,"column":24}}]},"92":{"line":723,"type":"if","locations":[{"start":{"line":723,"column":24},"end":{"line":723,"column":24}},{"start":{"line":723,"column":24},"end":{"line":723,"column":24}}]},"93":{"line":743,"type":"if","locations":[{"start":{"line":743,"column":12},"end":{"line":743,"column":12}},{"start":{"line":743,"column":12},"end":{"line":743,"column":12}}]},"94":{"line":745,"type":"if","locations":[{"start":{"line":745,"column":20},"end":{"line":745,"column":20}},{"start":{"line":745,"column":20},"end":{"line":745,"column":20}}]},"95":{"line":848,"type":"if","locations":[{"start":{"line":848,"column":12},"end":{"line":848,"column":12}},{"start":{"line":848,"column":12},"end":{"line":848,"column":12}}]},"96":{"line":849,"type":"cond-expr","locations":[{"start":{"line":849,"column":64},"end":{"line":849,"column":81}},{"start":{"line":849,"column":84},"end":{"line":849,"column":86}}]},"97":{"line":849,"type":"cond-expr","locations":[{"start":{"line":849,"column":107},"end":{"line":849,"column":124}},{"start":{"line":849,"column":127},"end":{"line":849,"column":129}}]},"98":{"line":851,"type":"if","locations":[{"start":{"line":851,"column":16},"end":{"line":851,"column":16}},{"start":{"line":851,"column":16},"end":{"line":851,"column":16}}]},"99":{"line":853,"type":"if","locations":[{"start":{"line":853,"column":20},"end":{"line":853,"column":20}},{"start":{"line":853,"column":20},"end":{"line":853,"column":20}}]},"100":{"line":854,"type":"if","locations":[{"start":{"line":854,"column":24},"end":{"line":854,"column":24}},{"start":{"line":854,"column":24},"end":{"line":854,"column":24}}]},"101":{"line":855,"type":"if","locations":[{"start":{"line":855,"column":28},"end":{"line":855,"column":28}},{"start":{"line":855,"column":28},"end":{"line":855,"column":28}}]},"102":{"line":856,"type":"if","locations":[{"start":{"line":856,"column":32},"end":{"line":856,"column":32}},{"start":{"line":856,"column":32},"end":{"line":856,"column":32}}]},"103":{"line":929,"type":"cond-expr","locations":[{"start":{"line":929,"column":51},"end":{"line":929,"column":59}},{"start":{"line":929,"column":62},"end":{"line":929,"column":65}}]},"104":{"line":1003,"type":"if","locations":[{"start":{"line":1003,"column":20},"end":{"line":1003,"column":20}},{"start":{"line":1003,"column":20},"end":{"line":1003,"column":20}}]}},"code":["(function () { YUI.add('frame', function (Y, NAME) {","","    /*jshint maxlen: 500 */","    /**","     * Creates a wrapper around an iframe. It loads the content either from a local","     * file or from script and creates a local YUI instance bound to that new window and document.","     * @class Frame","     * @for Frame","     * @extends Base","     * @constructor","     * @module editor","     * @submodule frame","     */","","    var Lang = Y.Lang,","","        EVENT_CONTENT_READY = 'contentready',","","        HOST = 'host',","","    Frame = function() {","        Frame.superclass.constructor.apply(this, arguments);","    };","","","    Y.extend(Frame, Y.Plugin.Base, {","        /**","        * @private","        * @property _ready","        * @description Internal reference set when the content is ready.","        * @type Boolean","        */","        _ready: null,","        /**","        * @private","        * @property _rendered","        * @description Internal reference set when render is called.","        * @type Boolean","        */","        _rendered: null,","        /**","        * @private","        * @property _iframe","        * @description Internal Node reference to the iFrame or the window","        * @type Node","        */","        _iframe: null,","        /**","        * @private","        * @property _instance","        * @description Internal reference to the YUI instance bound to the iFrame or window","        * @type YUI","        */","        _instance: null,","        /**","        * @private","        * @method _create","        * @description Create the iframe or Window and get references to the Document & Window","        * @return {Object} Hash table containing references to the new Document & Window","        */","        _create: function(cb) {","            var res, html = '', timer,","                //if the src attr is different than the default, don't create the document","                create = (this.get('src') === Frame.ATTRS.src.value),","                extra_css = ((this.get('extracss')) ? '<style id=\"extra_css\">' + this.get('extracss') + '</style>' : '');","","            this._iframe = Y.one(Y.config.doc.createElement('iframe'));","            this._iframe.setAttrs(Frame.IFRAME_ATTRS);","","            this._iframe.setStyle('visibility', 'hidden');","            this._iframe.set('src', this.get('src'));","            this.get('container').append(this._iframe);","            this._iframe.set('height', '99%');","","            if (create) {","                html = Y.Lang.sub(Frame.PAGE_HTML, {","                    DIR: this.get('dir'),","                    LANG: this.get('lang'),","                    TITLE: this.get('title'),","                    META: Frame.META,","                    LINKED_CSS: this.get('linkedcss'),","                    CONTENT: this.get('content'),","                    BASE_HREF: this.get('basehref'),","                    DEFAULT_CSS: Frame.DEFAULT_CSS,","                    EXTRA_CSS: extra_css","                });","                if (Y.config.doc.compatMode !== 'BackCompat') {","","                    //html = Frame.DOC_TYPE + \"\\n\" + html;","                    html = Frame.getDocType() + \"\\n\" + html;","                } else {","                }","","            }","","            res = this._resolveWinDoc();","","            if (html) {","                res.doc.open();","                res.doc.write(html);","                res.doc.close();","            }","","            if (!res.doc.documentElement) {","                timer = Y.later(1, this, function() {","                    if (res.doc && res.doc.documentElement) {","                        cb(res);","                        timer.cancel();","                    }","                }, null, true);","            } else {","                cb(res);","            }","","        },","        /**","        * @private","        * @method _resolveWinDoc","        * @description Resolves the document and window from an iframe or window instance","        * @param {Object} c The YUI Config to add the window and document to","        * @return {Object} Object hash of window and document references, if a YUI config was passed, it is returned.","        */","        _resolveWinDoc: function(c) {","            var config = (c) ? c : {};","            config.win = Y.Node.getDOMNode(this._iframe.get('contentWindow'));","            config.doc = Y.Node.getDOMNode(this._iframe.get('contentWindow.document'));","            if (!config.doc) {","                config.doc = Y.config.doc;","            }","            if (!config.win) {","                config.win = Y.config.win;","            }","            return config;","        },","        /**","        * @private","        * @method _onDomEvent","        * @description Generic handler for all DOM events fired by the iframe or window. This handler","        * takes the current EventFacade and augments it to fire on the Frame host. It adds two new properties","        * to the EventFacade called frameX and frameY which adds the scroll and xy position of the iframe","        * to the original pageX and pageY of the event so external nodes can be positioned over the frame.","        * @param {EventFacade} e","        */","        _onDomEvent: function(e) {","            var xy, node;","","            if (!Y.Node.getDOMNode(this._iframe)) {","                //The iframe is null for some reason, bail on sending events.","                return;","            }","","            e.frameX = e.frameY = 0;","","            if (e.pageX > 0 || e.pageY > 0) {","                if (e.type.substring(0, 3) !== 'key') {","                    node = this._instance.one('win');","                    xy = this._iframe.getXY();","                    e.frameX = xy[0] + e.pageX - node.get('scrollLeft');","                    e.frameY = xy[1] + e.pageY - node.get('scrollTop');","                }","            }","","            e.frameTarget = e.target;","            e.frameCurrentTarget = e.currentTarget;","            e.frameEvent = e;","","            this.fire('dom:' + e.type, e);","        },","        initializer: function() {","            var host = this.get(HOST);","","            if (host) {","                host.frame = this;","            }","","            this.publish('ready', {","                emitFacade: true,","                defaultFn: this._defReadyFn","            });","        },","        destructor: function() {","            var inst = this.getInstance();","","            inst.one('doc').detachAll();","            inst = null;","            this._iframe.remove();","        },","        /**","        * @private","        * @method _DOMPaste","        * @description Simple pass thru handler for the paste event so we can do content cleanup","        * @param {EventFacade} e","        */","        _DOMPaste: function(e) {","            var inst = this.getInstance(),","                data = '', win = inst.config.win;","","            if (e._event.originalTarget) {","                data = e._event.originalTarget;","            }","            if (e._event.clipboardData) {","                data = e._event.clipboardData.getData('Text');","            }","","            if (win.clipboardData) {","                data = win.clipboardData.getData('Text');","                if (data === '') { // Could be empty, or failed","                    // Verify failure","                    if (!win.clipboardData.setData('Text', data)) {","                        data = null;","                    }","                }","            }","","","            e.frameTarget = e.target;","            e.frameCurrentTarget = e.currentTarget;","            e.frameEvent = e;","","            if (data) {","                e.clipboardData = {","                    data: data,","                    getData: function() {","                        return data;","                    }","                };","            } else {","                e.clipboardData = null;","            }","","            this.fire('dom:paste', e);","        },","        /**","        * @private","        * @method _defReadyFn","        * @description Binds DOM events, sets the iframe to visible and fires the ready event","        */","        _defReadyFn: function() {","            var inst = this.getInstance();","","            Y.each(Frame.DOM_EVENTS, function(v, k) {","                var fn = Y.bind(this._onDomEvent, this),","                    kfn = ((Y.UA.ie && Frame.THROTTLE_TIME > 0) ? Y.throttle(fn, Frame.THROTTLE_TIME) : fn);","","                if (!inst.Node.DOM_EVENTS[k]) {","                    inst.Node.DOM_EVENTS[k] = 1;","                }","                if (v === 1) {","                    if (k !== 'focus' && k !== 'blur' && k !== 'paste') {","                        if (k.substring(0, 3) === 'key') {","                            //Throttle key events in IE","                            inst.on(k, kfn, inst.config.doc);","                        } else {","                            inst.on(k, fn, inst.config.doc);","                        }","                    }","                }","            }, this);","","            inst.Node.DOM_EVENTS.paste = 1;","","            inst.on('paste', Y.bind(this._DOMPaste, this), inst.one('body'));","","            //Adding focus/blur to the window object","            inst.on('focus', Y.bind(this._onDomEvent, this), inst.config.win);","            inst.on('blur', Y.bind(this._onDomEvent, this), inst.config.win);","","            inst.__use = inst.use;","            inst.use = Y.bind(this.use, this);","            this._iframe.setStyles({","                visibility: 'inherit'","            });","            inst.one('body').setStyle('display', 'block');","        },","        /**","        * It appears that having a BR tag anywhere in the source \"below\" a table with a percentage width (in IE 7 & 8)","        * if there is any TEXTINPUT's outside the iframe, the cursor will rapidly flickr and the CPU would occasionally","        * spike. This method finds all <BR>'s below the sourceIndex of the first table. Does some checks to see if they","        * can be modified and replaces then with a <WBR> so the layout will remain in tact, but the flickering will","        * no longer happen.","        * @method _fixIECursors","        * @private","        */","        _fixIECursors: function() {","            var inst = this.getInstance(),","                tables = inst.all('table'),","                brs = inst.all('br'), si;","","            if (tables.size() && brs.size()) {","                //First Table","                si = tables.item(0).get('sourceIndex');","                brs.each(function(n) {","                    var p = n.get('parentNode'),","                        c = p.get('children'), b = p.all('>br');","","                    if (p.test('div')) {","                        if (c.size() > 2) {","                            n.replace(inst.Node.create('<wbr>'));","                        } else {","                            if (n.get('sourceIndex') > si) {","                                if (b.size()) {","                                    n.replace(inst.Node.create('<wbr>'));","                                }","                            } else {","                                if (b.size() > 1) {","                                    n.replace(inst.Node.create('<wbr>'));","                                }","                            }","                        }","                    }","","                });","            }","        },","        /**","        * @private","        * @method _onContentReady","        * @description Called once the content is available in the frame/window and calls the final use call","        * on the internal instance so that the modules are loaded properly.","        */","        _onContentReady: function(e) {","            if (!this._ready) {","                this._ready = true;","                var inst = this.getInstance(),","                    args = Y.clone(this.get('use'));","","                this.fire('contentready');","","                if (e) {","                    inst.config.doc = Y.Node.getDOMNode(e.target);","                }","                //TODO Circle around and deal with CSS loading...","                args.push(Y.bind(function() {","                    if (inst.EditorSelection) {","                        inst.EditorSelection.DEFAULT_BLOCK_TAG = this.get('defaultblock');","                    }","                    //Moved to here so that the iframe is ready before allowing editing..","                    if (this.get('designMode')) {","                        if(Y.UA.ie) {","                            inst.config.doc.body.contentEditable = 'true';","                            this._ieSetBodyHeight();","                            inst.on('keyup', Y.bind(this._ieSetBodyHeight, this), inst.config.doc);","                        } else {","                            inst.config.doc.designMode = 'on';","                        }","                    }","                    this.fire('ready');","                }, this));","                inst.use.apply(inst, args);","","                inst.one('doc').get('documentElement').addClass('yui-js-enabled');","            }","        },","        _ieHeightCounter: null,","        /**","        * Internal method to set the height of the body to the height of the document in IE.","        * With contenteditable being set, the document becomes unresponsive to clicks, this","        * method expands the body to be the height of the document so that doesn't happen.","        * @private","        * @method _ieSetBodyHeight","        */","        _ieSetBodyHeight: function(e) {","            if (!this._ieHeightCounter) {","                this._ieHeightCounter = 0;","            }","            this._ieHeightCounter++;","            var run = false, inst, h, bh;","            if (!e) {","                run = true;","            }","            if (e) {","                switch (e.keyCode) {","                    case 8:","                    case 13:","                        run = true;","                        break;","                }","                if (e.ctrlKey || e.shiftKey) {","                    run = true;","                }","            }","            if (run) {","                try {","                    inst = this.getInstance();","                    h = this._iframe.get('offsetHeight');","                    bh = inst.config.doc.body.scrollHeight;","                    if (h > bh) {","                        h = (h - 15) + 'px';","                        inst.config.doc.body.style.height = h;","                    } else {","                        inst.config.doc.body.style.height = 'auto';","                    }","                } catch (e) {","                    if (this._ieHeightCounter < 100) {","                        Y.later(200, this, this._ieSetBodyHeight);","                    } else {","                    }","                }","            }","        },","        /**","        * @private","        * @method _resolveBaseHref","        * @description Resolves the basehref of the page the frame is created on. Only applies to dynamic content.","        * @param {String} href The new value to use, if empty it will be resolved from the current url.","        * @return {String}","        */","        _resolveBaseHref: function(href) {","            if (!href || href === '') {","                href = Y.config.doc.location.href;","                if (href.indexOf('?') !== -1) { //Remove the query string","                    href = href.substring(0, href.indexOf('?'));","                }","                href = href.substring(0, href.lastIndexOf('/')) + '/';","            }","            return href;","        },","        /**","        * @private","        * @method _getHTML","        * @description Get the content from the iframe","        * @param {String} html The raw HTML from the body of the iframe.","        * @return {String}","        */","        _getHTML: function(html) {","            if (this._ready) {","                var inst = this.getInstance();","                html = inst.one('body').get('innerHTML');","            }","            return html;","        },","        /**","        * @private","        * @method _setHTML","        * @description Set the content of the iframe","        * @param {String} html The raw HTML to set the body of the iframe to.","        * @return {String}","        */","        _setHTML: function(html) {","            if (this._ready) {","                var inst = this.getInstance();","                inst.one('body').set('innerHTML', html);","            } else {","                this.once(EVENT_CONTENT_READY, Y.bind(this._setHTML, this, html));","            }","","            return html;","        },","        /**","        * @private","        * @method _getLinkedCSS","        * @description Get the linked CSS on the instance.","        */","        _getLinkedCSS: function(urls) {","            if (!Y.Lang.isArray(urls)) {","                urls = [urls];","            }","            var str = '';","            if (!this._ready) {","                Y.each(urls, function(v) {","                    if (v) {","                        str += '<link rel=\"stylesheet\" href=\"' + v + '\" type=\"text/css\">';","                    }","                });","            } else {","                str = urls;","            }","            return str;","        },","        /**","        * @private","        * @method _setLinkedCSS","        * @description Sets the linked CSS on the instance..","        */","        _setLinkedCSS: function(css) {","            if (this._ready) {","                var inst = this.getInstance();","                inst.Get.css(css);","            }","            return css;","        },","        /**","        * @private","        * @method _setExtraCSS","        * @description Set's the extra CSS on the instance..","        */","        _setExtraCSS: function(css) {","            if (this._ready) {","                var inst = this.getInstance(),","                    node = inst.one('#extra_css');","","                if (node) {","                    node.remove();","                }","","                inst.one('head').append('<style id=\"extra_css\">' + css + '</style>');","            } else {","                //This needs to be wrapped in a contentready callback for the !_ready state","                this.once(EVENT_CONTENT_READY, Y.bind(this._setExtraCSS, this, css));","            }","","            return css;","        },","        /**","        * @private","        * @method _instanceLoaded","        * @description Called from the first YUI instance that sets up the internal instance.","        * This loads the content into the window/frame and attaches the contentready event.","        * @param {YUI} inst The internal YUI instance bound to the frame/window","        */","        _instanceLoaded: function(inst) {","            this._instance = inst;","            this._onContentReady();","","            var doc = this._instance.config.doc;","","            if (this.get('designMode')) {","                if (!Y.UA.ie) {","                    try {","                        //Force other browsers into non CSS styling","                        doc.execCommand('styleWithCSS', false, false);","                        doc.execCommand('insertbronreturn', false, false);","                    } catch (err) {}","                }","            }","        },","        //BEGIN PUBLIC METHODS","        /**","        * @method use","        * @description This is a scoped version of the normal YUI.use method & is bound to this frame/window.","        * At setup, the inst.use method is mapped to this method.","        */","        use: function() {","            var inst = this.getInstance(),","                args = Y.Array(arguments),","                cb = false;","","            if (Y.Lang.isFunction(args[args.length - 1])) {","                cb = args.pop();","            }","            if (cb) {","                args.push(function() {","                    cb.apply(inst, arguments);","","                });","            }","","            return inst.__use.apply(inst, args);","        },","        /**","        * @method delegate","        * @description A delegate method passed to the instance's delegate method","        * @param {String} type The type of event to listen for","        * @param {Function} fn The method to attach","        * @param {String} cont The container to act as a delegate, if no \"sel\" passed, the body is assumed as the container.","        * @param {String} sel The selector to match in the event (optional)","        * @return {EventHandle} The Event handle returned from Y.delegate","        */","        delegate: function(type, fn, cont, sel) {","            var inst = this.getInstance();","            if (!inst) {","                return false;","            }","            if (!sel) {","                sel = cont;","                cont = 'body';","            }","            return inst.delegate(type, fn, cont, sel);","        },","        /**","        * @method getInstance","        * @description Get a reference to the internal YUI instance.","        * @return {YUI} The internal YUI instance","        */","        getInstance: function() {","            return this._instance;","        },","        /**","        * @method render","        * @description Render the iframe into the container config option or open the window.","        * @param {String/HTMLElement/Node} node The node to render to","        * @return {Frame}","        * @chainable","        */","        render: function(node) {","            if (this._rendered) {","                return this;","            }","            this._rendered = true;","            if (node) {","                this.set('container', node);","            }","","            this._create(Y.bind(function(res) {","","                var inst, timer,","                    cb = Y.bind(function(i) {","                        this._instanceLoaded(i);","                    }, this),","                    args = Y.clone(this.get('use')),","                    config = {","                        debug: false,","                        win: res.win,","                        doc: res.doc","                    },","                    fn = Y.bind(function() {","                        config = this._resolveWinDoc(config);","                        inst = YUI(config);","                        inst.host = this.get(HOST); //Cross reference to Editor","","                        try {","                            inst.use('node-base', cb);","                            if (timer) {","                                clearInterval(timer);","                            }","                        } catch (e) {","                            timer = setInterval(function() {","                                fn();","                            }, 350);","                        }","                    }, this);","","                args.push(fn);","","                Y.use.apply(Y, args);","","            }, this));","","            return this;","        },","        /**","        * @private","        * @method _handleFocus","        * @description Does some tricks on focus to set the proper cursor position.","        */","        _handleFocus: function() {","            var inst = this.getInstance(),","                sel = new inst.EditorSelection(),","                n, c, b, par;","","            if (sel.anchorNode) {","                n = sel.anchorNode;","","                if (n.test('p') && n.get('innerHTML') === '') {","                    n = n.get('parentNode');","                }","                c = n.get('childNodes');","","                if (c.size()) {","                    if (c.item(0).test('br')) {","                        sel.selectNode(n, true, false);","                    } else if (c.item(0).test('p')) {","                        n = c.item(0).one('br.yui-cursor');","                        if (n) {","                            n = n.get('parentNode');","                        }","                        if (!n) {","                            n = c.item(0).get('firstChild');","                        }","                        if (!n) {","                            n = c.item(0);","                        }","                        if (n) {","                            sel.selectNode(n, true, false);","                        }","                    } else {","                        b = inst.one('br.yui-cursor');","                        if (b) {","                            par = b.get('parentNode');","                            if (par) {","                                sel.selectNode(par, true, false);","                            }","                        }","                    }","                }","            }","        },","        /**","        * Validates linkedcss property","        *","        * @method _validateLinkedCSS","        * @private","        */","        _validateLinkedCSS: function(value) {","            return Lang.isString(value) || Lang.isArray(value);","        },","        /**","        * @method focus","        * @description Set the focus to the iframe","        * @param {Function} fn Callback function to execute after focus happens","        * @return {Frame}","        * @chainable","        */","        focus: function(fn) {","            if (Y.UA.ie && Y.UA.ie < 9) {","                try {","                    Y.one('win').focus();","                    if (this.getInstance()) {","                        if (this.getInstance().one('win')) {","                            this.getInstance().one('win').focus();","                        }","                    }","                } catch (ierr) {","                }","                if (fn === true) {","                    this._handleFocus();","                }","                if (Y.Lang.isFunction(fn)) {","                    fn();","                }","            } else {","                try {","                    Y.one('win').focus();","                    Y.later(100, this, function() {","                        if (this.getInstance()) {","                            if (this.getInstance().one('win')) {","                                this.getInstance().one('win').focus();","                            }","                        }","                        if (fn === true) {","                            this._handleFocus();","                        }","                        if (Y.Lang.isFunction(fn)) {","                            fn();","                        }","                    });","                } catch (ferr) {","                }","            }","            return this;","        },","        /**","        * @method show","        * @description Show the iframe instance","        * @return {Frame}","        * @chainable","        */","        show: function() {","            this._iframe.setStyles({","                position: 'static',","                left: ''","            });","            if (Y.UA.gecko) {","                try {","                    if (this.getInstance()) {","                        this.getInstance().config.doc.designMode = 'on';","                    }","                } catch (e) { }","                this.focus();","            }","            return this;","        },","        /**","        * @method hide","        * @description Hide the iframe instance","        * @return {Frame}","        * @chainable","        */","        hide: function() {","            this._iframe.setStyles({","                position: 'absolute',","                left: '-999999px'","            });","            return this;","        }","    }, {","        /**","        * @static","        * @property THROTTLE_TIME","        * @description The throttle time for key events in IE","        * @type Number","        * @default 100","        */","        THROTTLE_TIME: 100,","        /**","        * @static","        * @property DOM_EVENTS","        * @description The DomEvents that the frame automatically attaches and bubbles","        * @type Object","        */","        DOM_EVENTS: {","            dblclick: 1,","            click: 1,","            paste: 1,","            mouseup: 1,","            mousedown: 1,","            keyup: 1,","            keydown: 1,","            keypress: 1,","            activate: 1,","            deactivate: 1,","            beforedeactivate: 1,","            focusin: 1,","            focusout: 1","        },","","        /**","        * @static","        * @property DEFAULT_CSS","        * @description The default css used when creating the document.","        * @type String","        */","        DEFAULT_CSS: 'body { background-color: #fff; font: 13px/1.22 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small; } a, a:visited, a:hover { color: blue !important; text-decoration: underline !important; cursor: text !important; } img { cursor: pointer !important; border: none; }',","        /**","        * The template string used to create the iframe, deprecated to use DOM instead of innerHTML","        * @static","        * @property HTML","        * @type String","        * @deprecated","        */","        //HTML: '<iframe border=\"0\" frameBorder=\"0\" marginWidth=\"0\" marginHeight=\"0\" leftMargin=\"0\" topMargin=\"0\" allowTransparency=\"true\" width=\"100%\" height=\"99%\"></iframe>',","        /**","        * Attributes to auto add to the dynamic iframe under the hood","        * @static","        * @property IFRAME_ATTRS","        * @type Object","        */","        IFRAME_ATTRS: {","            border: '0',","            frameBorder: '0',","            marginWidth: '0',","            marginHeight: '0',","            leftMargin: '0',","            topMargin: '0',","            allowTransparency: 'true',","            width: \"100%\",","            height: \"99%\"","        },","        /**","        * @static","        * @property PAGE_HTML","        * @description The template used to create the page when created dynamically.","        * @type String","        */","        PAGE_HTML: '<html dir=\"{DIR}\" lang=\"{LANG}\"><head><title>{TITLE}</title>{META}<base href=\"{BASE_HREF}\"/>{LINKED_CSS}<style id=\"editor_css\">{DEFAULT_CSS}</style>{EXTRA_CSS}</head><body>{CONTENT}</body></html>',","","        /**","        * @static","        * @method getDocType","        * @description Parses document.doctype and generates a DocType to match the parent page, if supported.","        * For IE8, it grabs document.all[0].nodeValue and uses that. For IE < 8, it falls back to Frame.DOC_TYPE.","        * @return {String} The normalized DocType to apply to the iframe","        */","        getDocType: function() {","            var dt = Y.config.doc.doctype,","                str = Frame.DOC_TYPE;","","            if (dt) {","                str = '<!DOCTYPE ' + dt.name + ((dt.publicId) ? ' ' + dt.publicId : '') + ((dt.systemId) ? ' ' + dt.systemId : '') + '>';","            } else {","                if (Y.config.doc.all) {","                    dt = Y.config.doc.all[0];","                    if (dt.nodeType) {","                        if (dt.nodeType === 8) {","                            if (dt.nodeValue) {","                                if (dt.nodeValue.toLowerCase().indexOf('doctype') !== -1) {","                                    str = '<!' + dt.nodeValue + '>';","                                }","                            }","                        }","                    }","                }","            }","            return str;","        },","        /**","        * @static","        * @property DOC_TYPE","        * @description The DOCTYPE to prepend to the new document when created. Should match the one on the page being served.","        * @type String","        */","        DOC_TYPE: '<!DOCTYPE HTML PUBLIC \"-/'+'/W3C/'+'/DTD HTML 4.01/'+'/EN\" \"http:/'+'/www.w3.org/TR/html4/strict.dtd\">',","        /**","        * @static","        * @property META","        * @description The meta-tag for Content-Type to add to the dynamic document","        * @type String","        */","        META: '<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/><meta http-equiv=\"X-UA-Compatible\" content=\"IE=7\">',","        //META: '<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>',","        /**","        * @static","        * @property NAME","        * @description The name of the class (frame)","        * @type String","        */","        NAME: 'frame',","        /**","        * The namespace on which Frame plugin will reside.","        *","        * @property NS","        * @type String","        * @default 'frame'","        * @static","        */","        NS: 'frame',","        ATTRS: {","            /**","            * @attribute title","            * @description The title to give the blank page.","            * @type String","            */","            title: {","                value: 'Blank Page'","            },","            /**","            * @attribute dir","            * @description The default text direction for this new frame. Default: ltr","            * @type String","            */","            dir: {","                value: 'ltr'","            },","            /**","            * @attribute lang","            * @description The default language. Default: en-US","            * @type String","            */","            lang: {","                value: 'en-US'","            },","            /**","            * @attribute src","            * @description The src of the iframe/window. Defaults to javascript:;","            * @type String","            */","            src: {","                //Hackish, IE needs the false in the Javascript URL","                value: 'javascript' + ((Y.UA.ie) ? ':false' : ':') + ';'","            },","            /**","            * @attribute designMode","            * @description Should designMode be turned on after creation.","            * @writeonce","            * @type Boolean","            */","            designMode: {","                writeOnce: true,","                value: false","            },","            /**","            * @attribute content","            * @description The string to inject into the body of the new frame/window.","            * @type String","            */","            content: {","                validator: Lang.isString,","                value: '<br>',","                setter: '_setHTML',","                getter: '_getHTML'","            },","            /**","            * @attribute basehref","            * @description The base href to use in the iframe.","            * @type String","            */","            basehref: {","                value: false,","                getter: '_resolveBaseHref'","            },","            /**","            * @attribute use","            * @description Array of modules to include in the scoped YUI instance at render time. Default: ['none', 'selector-css2']","            * @writeonce","            * @type Array","            */","            use: {","                writeOnce: true,","                value: ['node', 'node-style', 'selector-css3']","            },","            /**","            * @attribute container","            * @description The container to append the iFrame to on render.","            * @type String/HTMLElement/Node","            */","            container: {","                value: 'body',","                setter: function(n) {","                    return Y.one(n);","                }","            },","            /**","            * @attribute node","            * @description The Node instance of the iframe.","            * @type Node","            */","            node: {","                readOnly: true,","                value: null,","                getter: function() {","                    return this._iframe;","                }","            },","            /**","            * @attribute id","            * @description Set the id of the new Node. (optional)","            * @type String","            * @writeonce","            */","            id: {","                writeOnce: true,","                getter: function(id) {","                    if (!id) {","                        id = 'iframe-' + Y.guid();","                    }","                    return id;","                }","            },","            /**","            * @attribute linkedcss","            * @description An array of url's to external linked style sheets","            * @type String|Array","            */","            linkedcss: {","                validator: '_validateLinkedCSS',","                getter: '_getLinkedCSS',","                setter: '_setLinkedCSS'","            },","            /**","            * @attribute extracss","            * @description A string of CSS to add to the Head of the Editor","            * @type String","            */","            extracss: {","                validator: Lang.isString,","                setter: '_setExtraCSS'","            },","            /**","            * @attribute defaultblock","            * @description The default tag to use for block level items, defaults to: p","            * @type String","            */","            defaultblock: {","                value: 'p'","            }","        }","    });","","    Y.namespace('Plugin');","","    Y.Plugin.Frame = Frame;","","    Y.Frame = Frame;","","","","}, '3.17.0', {\"requires\": [\"base\", \"node\", \"plugin\", \"selector-css3\", \"yui-throttle\"]});","","}());"]};
  }
  var __cov_btK7VK24tT3fXwzek1iwcw = __coverage__['build/frame/frame.js'];
  __cov_btK7VK24tT3fXwzek1iwcw.s['1']++;YUI.add('frame',function(Y,NAME){__cov_btK7VK24tT3fXwzek1iwcw.f['1']++;__cov_btK7VK24tT3fXwzek1iwcw.s['2']++;var Lang=Y.Lang,EVENT_CONTENT_READY='contentready',HOST='host',Frame=function(){__cov_btK7VK24tT3fXwzek1iwcw.f['2']++;__cov_btK7VK24tT3fXwzek1iwcw.s['3']++;Frame.superclass.constructor.apply(this,arguments);};__cov_btK7VK24tT3fXwzek1iwcw.s['4']++;Y.extend(Frame,Y.Plugin.Base,{_ready:null,_rendered:null,_iframe:null,_instance:null,_create:function(cb){__cov_btK7VK24tT3fXwzek1iwcw.f['3']++;__cov_btK7VK24tT3fXwzek1iwcw.s['5']++;var res,html='',timer,create=this.get('src')===Frame.ATTRS.src.value,extra_css=this.get('extracss')?(__cov_btK7VK24tT3fXwzek1iwcw.b['1'][0]++,'<style id="extra_css">'+this.get('extracss')+'</style>'):(__cov_btK7VK24tT3fXwzek1iwcw.b['1'][1]++,'');__cov_btK7VK24tT3fXwzek1iwcw.s['6']++;this._iframe=Y.one(Y.config.doc.createElement('iframe'));__cov_btK7VK24tT3fXwzek1iwcw.s['7']++;this._iframe.setAttrs(Frame.IFRAME_ATTRS);__cov_btK7VK24tT3fXwzek1iwcw.s['8']++;this._iframe.setStyle('visibility','hidden');__cov_btK7VK24tT3fXwzek1iwcw.s['9']++;this._iframe.set('src',this.get('src'));__cov_btK7VK24tT3fXwzek1iwcw.s['10']++;this.get('container').append(this._iframe);__cov_btK7VK24tT3fXwzek1iwcw.s['11']++;this._iframe.set('height','99%');__cov_btK7VK24tT3fXwzek1iwcw.s['12']++;if(create){__cov_btK7VK24tT3fXwzek1iwcw.b['2'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['13']++;html=Y.Lang.sub(Frame.PAGE_HTML,{DIR:this.get('dir'),LANG:this.get('lang'),TITLE:this.get('title'),META:Frame.META,LINKED_CSS:this.get('linkedcss'),CONTENT:this.get('content'),BASE_HREF:this.get('basehref'),DEFAULT_CSS:Frame.DEFAULT_CSS,EXTRA_CSS:extra_css});__cov_btK7VK24tT3fXwzek1iwcw.s['14']++;if(Y.config.doc.compatMode!=='BackCompat'){__cov_btK7VK24tT3fXwzek1iwcw.b['3'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['15']++;html=Frame.getDocType()+'\n'+html;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['3'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['2'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['16']++;res=this._resolveWinDoc();__cov_btK7VK24tT3fXwzek1iwcw.s['17']++;if(html){__cov_btK7VK24tT3fXwzek1iwcw.b['4'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['18']++;res.doc.open();__cov_btK7VK24tT3fXwzek1iwcw.s['19']++;res.doc.write(html);__cov_btK7VK24tT3fXwzek1iwcw.s['20']++;res.doc.close();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['4'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['21']++;if(!res.doc.documentElement){__cov_btK7VK24tT3fXwzek1iwcw.b['5'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['22']++;timer=Y.later(1,this,function(){__cov_btK7VK24tT3fXwzek1iwcw.f['4']++;__cov_btK7VK24tT3fXwzek1iwcw.s['23']++;if((__cov_btK7VK24tT3fXwzek1iwcw.b['7'][0]++,res.doc)&&(__cov_btK7VK24tT3fXwzek1iwcw.b['7'][1]++,res.doc.documentElement)){__cov_btK7VK24tT3fXwzek1iwcw.b['6'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['24']++;cb(res);__cov_btK7VK24tT3fXwzek1iwcw.s['25']++;timer.cancel();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['6'][1]++;}},null,true);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['5'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['26']++;cb(res);}},_resolveWinDoc:function(c){__cov_btK7VK24tT3fXwzek1iwcw.f['5']++;__cov_btK7VK24tT3fXwzek1iwcw.s['27']++;var config=c?(__cov_btK7VK24tT3fXwzek1iwcw.b['8'][0]++,c):(__cov_btK7VK24tT3fXwzek1iwcw.b['8'][1]++,{});__cov_btK7VK24tT3fXwzek1iwcw.s['28']++;config.win=Y.Node.getDOMNode(this._iframe.get('contentWindow'));__cov_btK7VK24tT3fXwzek1iwcw.s['29']++;config.doc=Y.Node.getDOMNode(this._iframe.get('contentWindow.document'));__cov_btK7VK24tT3fXwzek1iwcw.s['30']++;if(!config.doc){__cov_btK7VK24tT3fXwzek1iwcw.b['9'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['31']++;config.doc=Y.config.doc;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['9'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['32']++;if(!config.win){__cov_btK7VK24tT3fXwzek1iwcw.b['10'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['33']++;config.win=Y.config.win;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['10'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['34']++;return config;},_onDomEvent:function(e){__cov_btK7VK24tT3fXwzek1iwcw.f['6']++;__cov_btK7VK24tT3fXwzek1iwcw.s['35']++;var xy,node;__cov_btK7VK24tT3fXwzek1iwcw.s['36']++;if(!Y.Node.getDOMNode(this._iframe)){__cov_btK7VK24tT3fXwzek1iwcw.b['11'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['37']++;return;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['11'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['38']++;e.frameX=e.frameY=0;__cov_btK7VK24tT3fXwzek1iwcw.s['39']++;if((__cov_btK7VK24tT3fXwzek1iwcw.b['13'][0]++,e.pageX>0)||(__cov_btK7VK24tT3fXwzek1iwcw.b['13'][1]++,e.pageY>0)){__cov_btK7VK24tT3fXwzek1iwcw.b['12'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['40']++;if(e.type.substring(0,3)!=='key'){__cov_btK7VK24tT3fXwzek1iwcw.b['14'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['41']++;node=this._instance.one('win');__cov_btK7VK24tT3fXwzek1iwcw.s['42']++;xy=this._iframe.getXY();__cov_btK7VK24tT3fXwzek1iwcw.s['43']++;e.frameX=xy[0]+e.pageX-node.get('scrollLeft');__cov_btK7VK24tT3fXwzek1iwcw.s['44']++;e.frameY=xy[1]+e.pageY-node.get('scrollTop');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['14'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['12'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['45']++;e.frameTarget=e.target;__cov_btK7VK24tT3fXwzek1iwcw.s['46']++;e.frameCurrentTarget=e.currentTarget;__cov_btK7VK24tT3fXwzek1iwcw.s['47']++;e.frameEvent=e;__cov_btK7VK24tT3fXwzek1iwcw.s['48']++;this.fire('dom:'+e.type,e);},initializer:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['7']++;__cov_btK7VK24tT3fXwzek1iwcw.s['49']++;var host=this.get(HOST);__cov_btK7VK24tT3fXwzek1iwcw.s['50']++;if(host){__cov_btK7VK24tT3fXwzek1iwcw.b['15'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['51']++;host.frame=this;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['15'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['52']++;this.publish('ready',{emitFacade:true,defaultFn:this._defReadyFn});},destructor:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['8']++;__cov_btK7VK24tT3fXwzek1iwcw.s['53']++;var inst=this.getInstance();__cov_btK7VK24tT3fXwzek1iwcw.s['54']++;inst.one('doc').detachAll();__cov_btK7VK24tT3fXwzek1iwcw.s['55']++;inst=null;__cov_btK7VK24tT3fXwzek1iwcw.s['56']++;this._iframe.remove();},_DOMPaste:function(e){__cov_btK7VK24tT3fXwzek1iwcw.f['9']++;__cov_btK7VK24tT3fXwzek1iwcw.s['57']++;var inst=this.getInstance(),data='',win=inst.config.win;__cov_btK7VK24tT3fXwzek1iwcw.s['58']++;if(e._event.originalTarget){__cov_btK7VK24tT3fXwzek1iwcw.b['16'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['59']++;data=e._event.originalTarget;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['16'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['60']++;if(e._event.clipboardData){__cov_btK7VK24tT3fXwzek1iwcw.b['17'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['61']++;data=e._event.clipboardData.getData('Text');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['17'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['62']++;if(win.clipboardData){__cov_btK7VK24tT3fXwzek1iwcw.b['18'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['63']++;data=win.clipboardData.getData('Text');__cov_btK7VK24tT3fXwzek1iwcw.s['64']++;if(data===''){__cov_btK7VK24tT3fXwzek1iwcw.b['19'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['65']++;if(!win.clipboardData.setData('Text',data)){__cov_btK7VK24tT3fXwzek1iwcw.b['20'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['66']++;data=null;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['20'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['19'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['18'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['67']++;e.frameTarget=e.target;__cov_btK7VK24tT3fXwzek1iwcw.s['68']++;e.frameCurrentTarget=e.currentTarget;__cov_btK7VK24tT3fXwzek1iwcw.s['69']++;e.frameEvent=e;__cov_btK7VK24tT3fXwzek1iwcw.s['70']++;if(data){__cov_btK7VK24tT3fXwzek1iwcw.b['21'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['71']++;e.clipboardData={data:data,getData:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['10']++;__cov_btK7VK24tT3fXwzek1iwcw.s['72']++;return data;}};}else{__cov_btK7VK24tT3fXwzek1iwcw.b['21'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['73']++;e.clipboardData=null;}__cov_btK7VK24tT3fXwzek1iwcw.s['74']++;this.fire('dom:paste',e);},_defReadyFn:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['11']++;__cov_btK7VK24tT3fXwzek1iwcw.s['75']++;var inst=this.getInstance();__cov_btK7VK24tT3fXwzek1iwcw.s['76']++;Y.each(Frame.DOM_EVENTS,function(v,k){__cov_btK7VK24tT3fXwzek1iwcw.f['12']++;__cov_btK7VK24tT3fXwzek1iwcw.s['77']++;var fn=Y.bind(this._onDomEvent,this),kfn=(__cov_btK7VK24tT3fXwzek1iwcw.b['23'][0]++,Y.UA.ie)&&(__cov_btK7VK24tT3fXwzek1iwcw.b['23'][1]++,Frame.THROTTLE_TIME>0)?(__cov_btK7VK24tT3fXwzek1iwcw.b['22'][0]++,Y.throttle(fn,Frame.THROTTLE_TIME)):(__cov_btK7VK24tT3fXwzek1iwcw.b['22'][1]++,fn);__cov_btK7VK24tT3fXwzek1iwcw.s['78']++;if(!inst.Node.DOM_EVENTS[k]){__cov_btK7VK24tT3fXwzek1iwcw.b['24'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['79']++;inst.Node.DOM_EVENTS[k]=1;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['24'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['80']++;if(v===1){__cov_btK7VK24tT3fXwzek1iwcw.b['25'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['81']++;if((__cov_btK7VK24tT3fXwzek1iwcw.b['27'][0]++,k!=='focus')&&(__cov_btK7VK24tT3fXwzek1iwcw.b['27'][1]++,k!=='blur')&&(__cov_btK7VK24tT3fXwzek1iwcw.b['27'][2]++,k!=='paste')){__cov_btK7VK24tT3fXwzek1iwcw.b['26'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['82']++;if(k.substring(0,3)==='key'){__cov_btK7VK24tT3fXwzek1iwcw.b['28'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['83']++;inst.on(k,kfn,inst.config.doc);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['28'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['84']++;inst.on(k,fn,inst.config.doc);}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['26'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['25'][1]++;}},this);__cov_btK7VK24tT3fXwzek1iwcw.s['85']++;inst.Node.DOM_EVENTS.paste=1;__cov_btK7VK24tT3fXwzek1iwcw.s['86']++;inst.on('paste',Y.bind(this._DOMPaste,this),inst.one('body'));__cov_btK7VK24tT3fXwzek1iwcw.s['87']++;inst.on('focus',Y.bind(this._onDomEvent,this),inst.config.win);__cov_btK7VK24tT3fXwzek1iwcw.s['88']++;inst.on('blur',Y.bind(this._onDomEvent,this),inst.config.win);__cov_btK7VK24tT3fXwzek1iwcw.s['89']++;inst.__use=inst.use;__cov_btK7VK24tT3fXwzek1iwcw.s['90']++;inst.use=Y.bind(this.use,this);__cov_btK7VK24tT3fXwzek1iwcw.s['91']++;this._iframe.setStyles({visibility:'inherit'});__cov_btK7VK24tT3fXwzek1iwcw.s['92']++;inst.one('body').setStyle('display','block');},_fixIECursors:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['13']++;__cov_btK7VK24tT3fXwzek1iwcw.s['93']++;var inst=this.getInstance(),tables=inst.all('table'),brs=inst.all('br'),si;__cov_btK7VK24tT3fXwzek1iwcw.s['94']++;if((__cov_btK7VK24tT3fXwzek1iwcw.b['30'][0]++,tables.size())&&(__cov_btK7VK24tT3fXwzek1iwcw.b['30'][1]++,brs.size())){__cov_btK7VK24tT3fXwzek1iwcw.b['29'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['95']++;si=tables.item(0).get('sourceIndex');__cov_btK7VK24tT3fXwzek1iwcw.s['96']++;brs.each(function(n){__cov_btK7VK24tT3fXwzek1iwcw.f['14']++;__cov_btK7VK24tT3fXwzek1iwcw.s['97']++;var p=n.get('parentNode'),c=p.get('children'),b=p.all('>br');__cov_btK7VK24tT3fXwzek1iwcw.s['98']++;if(p.test('div')){__cov_btK7VK24tT3fXwzek1iwcw.b['31'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['99']++;if(c.size()>2){__cov_btK7VK24tT3fXwzek1iwcw.b['32'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['100']++;n.replace(inst.Node.create('<wbr>'));}else{__cov_btK7VK24tT3fXwzek1iwcw.b['32'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['101']++;if(n.get('sourceIndex')>si){__cov_btK7VK24tT3fXwzek1iwcw.b['33'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['102']++;if(b.size()){__cov_btK7VK24tT3fXwzek1iwcw.b['34'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['103']++;n.replace(inst.Node.create('<wbr>'));}else{__cov_btK7VK24tT3fXwzek1iwcw.b['34'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['33'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['104']++;if(b.size()>1){__cov_btK7VK24tT3fXwzek1iwcw.b['35'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['105']++;n.replace(inst.Node.create('<wbr>'));}else{__cov_btK7VK24tT3fXwzek1iwcw.b['35'][1]++;}}}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['31'][1]++;}});}else{__cov_btK7VK24tT3fXwzek1iwcw.b['29'][1]++;}},_onContentReady:function(e){__cov_btK7VK24tT3fXwzek1iwcw.f['15']++;__cov_btK7VK24tT3fXwzek1iwcw.s['106']++;if(!this._ready){__cov_btK7VK24tT3fXwzek1iwcw.b['36'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['107']++;this._ready=true;__cov_btK7VK24tT3fXwzek1iwcw.s['108']++;var inst=this.getInstance(),args=Y.clone(this.get('use'));__cov_btK7VK24tT3fXwzek1iwcw.s['109']++;this.fire('contentready');__cov_btK7VK24tT3fXwzek1iwcw.s['110']++;if(e){__cov_btK7VK24tT3fXwzek1iwcw.b['37'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['111']++;inst.config.doc=Y.Node.getDOMNode(e.target);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['37'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['112']++;args.push(Y.bind(function(){__cov_btK7VK24tT3fXwzek1iwcw.f['16']++;__cov_btK7VK24tT3fXwzek1iwcw.s['113']++;if(inst.EditorSelection){__cov_btK7VK24tT3fXwzek1iwcw.b['38'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['114']++;inst.EditorSelection.DEFAULT_BLOCK_TAG=this.get('defaultblock');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['38'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['115']++;if(this.get('designMode')){__cov_btK7VK24tT3fXwzek1iwcw.b['39'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['116']++;if(Y.UA.ie){__cov_btK7VK24tT3fXwzek1iwcw.b['40'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['117']++;inst.config.doc.body.contentEditable='true';__cov_btK7VK24tT3fXwzek1iwcw.s['118']++;this._ieSetBodyHeight();__cov_btK7VK24tT3fXwzek1iwcw.s['119']++;inst.on('keyup',Y.bind(this._ieSetBodyHeight,this),inst.config.doc);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['40'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['120']++;inst.config.doc.designMode='on';}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['39'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['121']++;this.fire('ready');},this));__cov_btK7VK24tT3fXwzek1iwcw.s['122']++;inst.use.apply(inst,args);__cov_btK7VK24tT3fXwzek1iwcw.s['123']++;inst.one('doc').get('documentElement').addClass('yui-js-enabled');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['36'][1]++;}},_ieHeightCounter:null,_ieSetBodyHeight:function(e){__cov_btK7VK24tT3fXwzek1iwcw.f['17']++;__cov_btK7VK24tT3fXwzek1iwcw.s['124']++;if(!this._ieHeightCounter){__cov_btK7VK24tT3fXwzek1iwcw.b['41'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['125']++;this._ieHeightCounter=0;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['41'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['126']++;this._ieHeightCounter++;__cov_btK7VK24tT3fXwzek1iwcw.s['127']++;var run=false,inst,h,bh;__cov_btK7VK24tT3fXwzek1iwcw.s['128']++;if(!e){__cov_btK7VK24tT3fXwzek1iwcw.b['42'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['129']++;run=true;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['42'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['130']++;if(e){__cov_btK7VK24tT3fXwzek1iwcw.b['43'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['131']++;switch(e.keyCode){case 8:__cov_btK7VK24tT3fXwzek1iwcw.b['44'][0]++;case 13:__cov_btK7VK24tT3fXwzek1iwcw.b['44'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['132']++;run=true;__cov_btK7VK24tT3fXwzek1iwcw.s['133']++;break;}__cov_btK7VK24tT3fXwzek1iwcw.s['134']++;if((__cov_btK7VK24tT3fXwzek1iwcw.b['46'][0]++,e.ctrlKey)||(__cov_btK7VK24tT3fXwzek1iwcw.b['46'][1]++,e.shiftKey)){__cov_btK7VK24tT3fXwzek1iwcw.b['45'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['135']++;run=true;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['45'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['43'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['136']++;if(run){__cov_btK7VK24tT3fXwzek1iwcw.b['47'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['137']++;try{__cov_btK7VK24tT3fXwzek1iwcw.s['138']++;inst=this.getInstance();__cov_btK7VK24tT3fXwzek1iwcw.s['139']++;h=this._iframe.get('offsetHeight');__cov_btK7VK24tT3fXwzek1iwcw.s['140']++;bh=inst.config.doc.body.scrollHeight;__cov_btK7VK24tT3fXwzek1iwcw.s['141']++;if(h>bh){__cov_btK7VK24tT3fXwzek1iwcw.b['48'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['142']++;h=h-15+'px';__cov_btK7VK24tT3fXwzek1iwcw.s['143']++;inst.config.doc.body.style.height=h;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['48'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['144']++;inst.config.doc.body.style.height='auto';}}catch(e){__cov_btK7VK24tT3fXwzek1iwcw.s['145']++;if(this._ieHeightCounter<100){__cov_btK7VK24tT3fXwzek1iwcw.b['49'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['146']++;Y.later(200,this,this._ieSetBodyHeight);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['49'][1]++;}}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['47'][1]++;}},_resolveBaseHref:function(href){__cov_btK7VK24tT3fXwzek1iwcw.f['18']++;__cov_btK7VK24tT3fXwzek1iwcw.s['147']++;if((__cov_btK7VK24tT3fXwzek1iwcw.b['51'][0]++,!href)||(__cov_btK7VK24tT3fXwzek1iwcw.b['51'][1]++,href==='')){__cov_btK7VK24tT3fXwzek1iwcw.b['50'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['148']++;href=Y.config.doc.location.href;__cov_btK7VK24tT3fXwzek1iwcw.s['149']++;if(href.indexOf('?')!==-1){__cov_btK7VK24tT3fXwzek1iwcw.b['52'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['150']++;href=href.substring(0,href.indexOf('?'));}else{__cov_btK7VK24tT3fXwzek1iwcw.b['52'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['151']++;href=href.substring(0,href.lastIndexOf('/'))+'/';}else{__cov_btK7VK24tT3fXwzek1iwcw.b['50'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['152']++;return href;},_getHTML:function(html){__cov_btK7VK24tT3fXwzek1iwcw.f['19']++;__cov_btK7VK24tT3fXwzek1iwcw.s['153']++;if(this._ready){__cov_btK7VK24tT3fXwzek1iwcw.b['53'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['154']++;var inst=this.getInstance();__cov_btK7VK24tT3fXwzek1iwcw.s['155']++;html=inst.one('body').get('innerHTML');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['53'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['156']++;return html;},_setHTML:function(html){__cov_btK7VK24tT3fXwzek1iwcw.f['20']++;__cov_btK7VK24tT3fXwzek1iwcw.s['157']++;if(this._ready){__cov_btK7VK24tT3fXwzek1iwcw.b['54'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['158']++;var inst=this.getInstance();__cov_btK7VK24tT3fXwzek1iwcw.s['159']++;inst.one('body').set('innerHTML',html);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['54'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['160']++;this.once(EVENT_CONTENT_READY,Y.bind(this._setHTML,this,html));}__cov_btK7VK24tT3fXwzek1iwcw.s['161']++;return html;},_getLinkedCSS:function(urls){__cov_btK7VK24tT3fXwzek1iwcw.f['21']++;__cov_btK7VK24tT3fXwzek1iwcw.s['162']++;if(!Y.Lang.isArray(urls)){__cov_btK7VK24tT3fXwzek1iwcw.b['55'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['163']++;urls=[urls];}else{__cov_btK7VK24tT3fXwzek1iwcw.b['55'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['164']++;var str='';__cov_btK7VK24tT3fXwzek1iwcw.s['165']++;if(!this._ready){__cov_btK7VK24tT3fXwzek1iwcw.b['56'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['166']++;Y.each(urls,function(v){__cov_btK7VK24tT3fXwzek1iwcw.f['22']++;__cov_btK7VK24tT3fXwzek1iwcw.s['167']++;if(v){__cov_btK7VK24tT3fXwzek1iwcw.b['57'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['168']++;str+='<link rel="stylesheet" href="'+v+'" type="text/css">';}else{__cov_btK7VK24tT3fXwzek1iwcw.b['57'][1]++;}});}else{__cov_btK7VK24tT3fXwzek1iwcw.b['56'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['169']++;str=urls;}__cov_btK7VK24tT3fXwzek1iwcw.s['170']++;return str;},_setLinkedCSS:function(css){__cov_btK7VK24tT3fXwzek1iwcw.f['23']++;__cov_btK7VK24tT3fXwzek1iwcw.s['171']++;if(this._ready){__cov_btK7VK24tT3fXwzek1iwcw.b['58'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['172']++;var inst=this.getInstance();__cov_btK7VK24tT3fXwzek1iwcw.s['173']++;inst.Get.css(css);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['58'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['174']++;return css;},_setExtraCSS:function(css){__cov_btK7VK24tT3fXwzek1iwcw.f['24']++;__cov_btK7VK24tT3fXwzek1iwcw.s['175']++;if(this._ready){__cov_btK7VK24tT3fXwzek1iwcw.b['59'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['176']++;var inst=this.getInstance(),node=inst.one('#extra_css');__cov_btK7VK24tT3fXwzek1iwcw.s['177']++;if(node){__cov_btK7VK24tT3fXwzek1iwcw.b['60'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['178']++;node.remove();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['60'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['179']++;inst.one('head').append('<style id="extra_css">'+css+'</style>');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['59'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['180']++;this.once(EVENT_CONTENT_READY,Y.bind(this._setExtraCSS,this,css));}__cov_btK7VK24tT3fXwzek1iwcw.s['181']++;return css;},_instanceLoaded:function(inst){__cov_btK7VK24tT3fXwzek1iwcw.f['25']++;__cov_btK7VK24tT3fXwzek1iwcw.s['182']++;this._instance=inst;__cov_btK7VK24tT3fXwzek1iwcw.s['183']++;this._onContentReady();__cov_btK7VK24tT3fXwzek1iwcw.s['184']++;var doc=this._instance.config.doc;__cov_btK7VK24tT3fXwzek1iwcw.s['185']++;if(this.get('designMode')){__cov_btK7VK24tT3fXwzek1iwcw.b['61'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['186']++;if(!Y.UA.ie){__cov_btK7VK24tT3fXwzek1iwcw.b['62'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['187']++;try{__cov_btK7VK24tT3fXwzek1iwcw.s['188']++;doc.execCommand('styleWithCSS',false,false);__cov_btK7VK24tT3fXwzek1iwcw.s['189']++;doc.execCommand('insertbronreturn',false,false);}catch(err){}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['62'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['61'][1]++;}},use:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['26']++;__cov_btK7VK24tT3fXwzek1iwcw.s['190']++;var inst=this.getInstance(),args=Y.Array(arguments),cb=false;__cov_btK7VK24tT3fXwzek1iwcw.s['191']++;if(Y.Lang.isFunction(args[args.length-1])){__cov_btK7VK24tT3fXwzek1iwcw.b['63'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['192']++;cb=args.pop();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['63'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['193']++;if(cb){__cov_btK7VK24tT3fXwzek1iwcw.b['64'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['194']++;args.push(function(){__cov_btK7VK24tT3fXwzek1iwcw.f['27']++;__cov_btK7VK24tT3fXwzek1iwcw.s['195']++;cb.apply(inst,arguments);});}else{__cov_btK7VK24tT3fXwzek1iwcw.b['64'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['196']++;return inst.__use.apply(inst,args);},delegate:function(type,fn,cont,sel){__cov_btK7VK24tT3fXwzek1iwcw.f['28']++;__cov_btK7VK24tT3fXwzek1iwcw.s['197']++;var inst=this.getInstance();__cov_btK7VK24tT3fXwzek1iwcw.s['198']++;if(!inst){__cov_btK7VK24tT3fXwzek1iwcw.b['65'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['199']++;return false;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['65'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['200']++;if(!sel){__cov_btK7VK24tT3fXwzek1iwcw.b['66'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['201']++;sel=cont;__cov_btK7VK24tT3fXwzek1iwcw.s['202']++;cont='body';}else{__cov_btK7VK24tT3fXwzek1iwcw.b['66'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['203']++;return inst.delegate(type,fn,cont,sel);},getInstance:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['29']++;__cov_btK7VK24tT3fXwzek1iwcw.s['204']++;return this._instance;},render:function(node){__cov_btK7VK24tT3fXwzek1iwcw.f['30']++;__cov_btK7VK24tT3fXwzek1iwcw.s['205']++;if(this._rendered){__cov_btK7VK24tT3fXwzek1iwcw.b['67'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['206']++;return this;}else{__cov_btK7VK24tT3fXwzek1iwcw.b['67'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['207']++;this._rendered=true;__cov_btK7VK24tT3fXwzek1iwcw.s['208']++;if(node){__cov_btK7VK24tT3fXwzek1iwcw.b['68'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['209']++;this.set('container',node);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['68'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['210']++;this._create(Y.bind(function(res){__cov_btK7VK24tT3fXwzek1iwcw.f['31']++;__cov_btK7VK24tT3fXwzek1iwcw.s['211']++;var inst,timer,cb=Y.bind(function(i){__cov_btK7VK24tT3fXwzek1iwcw.f['32']++;__cov_btK7VK24tT3fXwzek1iwcw.s['212']++;this._instanceLoaded(i);},this),args=Y.clone(this.get('use')),config={debug:false,win:res.win,doc:res.doc},fn=Y.bind(function(){__cov_btK7VK24tT3fXwzek1iwcw.f['33']++;__cov_btK7VK24tT3fXwzek1iwcw.s['213']++;config=this._resolveWinDoc(config);__cov_btK7VK24tT3fXwzek1iwcw.s['214']++;inst=YUI(config);__cov_btK7VK24tT3fXwzek1iwcw.s['215']++;inst.host=this.get(HOST);__cov_btK7VK24tT3fXwzek1iwcw.s['216']++;try{__cov_btK7VK24tT3fXwzek1iwcw.s['217']++;inst.use('node-base',cb);__cov_btK7VK24tT3fXwzek1iwcw.s['218']++;if(timer){__cov_btK7VK24tT3fXwzek1iwcw.b['69'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['219']++;clearInterval(timer);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['69'][1]++;}}catch(e){__cov_btK7VK24tT3fXwzek1iwcw.s['220']++;timer=setInterval(function(){__cov_btK7VK24tT3fXwzek1iwcw.f['34']++;__cov_btK7VK24tT3fXwzek1iwcw.s['221']++;fn();},350);}},this);__cov_btK7VK24tT3fXwzek1iwcw.s['222']++;args.push(fn);__cov_btK7VK24tT3fXwzek1iwcw.s['223']++;Y.use.apply(Y,args);},this));__cov_btK7VK24tT3fXwzek1iwcw.s['224']++;return this;},_handleFocus:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['35']++;__cov_btK7VK24tT3fXwzek1iwcw.s['225']++;var inst=this.getInstance(),sel=new inst.EditorSelection(),n,c,b,par;__cov_btK7VK24tT3fXwzek1iwcw.s['226']++;if(sel.anchorNode){__cov_btK7VK24tT3fXwzek1iwcw.b['70'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['227']++;n=sel.anchorNode;__cov_btK7VK24tT3fXwzek1iwcw.s['228']++;if((__cov_btK7VK24tT3fXwzek1iwcw.b['72'][0]++,n.test('p'))&&(__cov_btK7VK24tT3fXwzek1iwcw.b['72'][1]++,n.get('innerHTML')==='')){__cov_btK7VK24tT3fXwzek1iwcw.b['71'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['229']++;n=n.get('parentNode');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['71'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['230']++;c=n.get('childNodes');__cov_btK7VK24tT3fXwzek1iwcw.s['231']++;if(c.size()){__cov_btK7VK24tT3fXwzek1iwcw.b['73'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['232']++;if(c.item(0).test('br')){__cov_btK7VK24tT3fXwzek1iwcw.b['74'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['233']++;sel.selectNode(n,true,false);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['74'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['234']++;if(c.item(0).test('p')){__cov_btK7VK24tT3fXwzek1iwcw.b['75'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['235']++;n=c.item(0).one('br.yui-cursor');__cov_btK7VK24tT3fXwzek1iwcw.s['236']++;if(n){__cov_btK7VK24tT3fXwzek1iwcw.b['76'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['237']++;n=n.get('parentNode');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['76'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['238']++;if(!n){__cov_btK7VK24tT3fXwzek1iwcw.b['77'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['239']++;n=c.item(0).get('firstChild');}else{__cov_btK7VK24tT3fXwzek1iwcw.b['77'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['240']++;if(!n){__cov_btK7VK24tT3fXwzek1iwcw.b['78'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['241']++;n=c.item(0);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['78'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['242']++;if(n){__cov_btK7VK24tT3fXwzek1iwcw.b['79'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['243']++;sel.selectNode(n,true,false);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['79'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['75'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['244']++;b=inst.one('br.yui-cursor');__cov_btK7VK24tT3fXwzek1iwcw.s['245']++;if(b){__cov_btK7VK24tT3fXwzek1iwcw.b['80'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['246']++;par=b.get('parentNode');__cov_btK7VK24tT3fXwzek1iwcw.s['247']++;if(par){__cov_btK7VK24tT3fXwzek1iwcw.b['81'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['248']++;sel.selectNode(par,true,false);}else{__cov_btK7VK24tT3fXwzek1iwcw.b['81'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['80'][1]++;}}}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['73'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['70'][1]++;}},_validateLinkedCSS:function(value){__cov_btK7VK24tT3fXwzek1iwcw.f['36']++;__cov_btK7VK24tT3fXwzek1iwcw.s['249']++;return(__cov_btK7VK24tT3fXwzek1iwcw.b['82'][0]++,Lang.isString(value))||(__cov_btK7VK24tT3fXwzek1iwcw.b['82'][1]++,Lang.isArray(value));},focus:function(fn){__cov_btK7VK24tT3fXwzek1iwcw.f['37']++;__cov_btK7VK24tT3fXwzek1iwcw.s['250']++;if((__cov_btK7VK24tT3fXwzek1iwcw.b['84'][0]++,Y.UA.ie)&&(__cov_btK7VK24tT3fXwzek1iwcw.b['84'][1]++,Y.UA.ie<9)){__cov_btK7VK24tT3fXwzek1iwcw.b['83'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['251']++;try{__cov_btK7VK24tT3fXwzek1iwcw.s['252']++;Y.one('win').focus();__cov_btK7VK24tT3fXwzek1iwcw.s['253']++;if(this.getInstance()){__cov_btK7VK24tT3fXwzek1iwcw.b['85'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['254']++;if(this.getInstance().one('win')){__cov_btK7VK24tT3fXwzek1iwcw.b['86'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['255']++;this.getInstance().one('win').focus();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['86'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['85'][1]++;}}catch(ierr){}__cov_btK7VK24tT3fXwzek1iwcw.s['256']++;if(fn===true){__cov_btK7VK24tT3fXwzek1iwcw.b['87'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['257']++;this._handleFocus();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['87'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['258']++;if(Y.Lang.isFunction(fn)){__cov_btK7VK24tT3fXwzek1iwcw.b['88'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['259']++;fn();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['88'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['83'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['260']++;try{__cov_btK7VK24tT3fXwzek1iwcw.s['261']++;Y.one('win').focus();__cov_btK7VK24tT3fXwzek1iwcw.s['262']++;Y.later(100,this,function(){__cov_btK7VK24tT3fXwzek1iwcw.f['38']++;__cov_btK7VK24tT3fXwzek1iwcw.s['263']++;if(this.getInstance()){__cov_btK7VK24tT3fXwzek1iwcw.b['89'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['264']++;if(this.getInstance().one('win')){__cov_btK7VK24tT3fXwzek1iwcw.b['90'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['265']++;this.getInstance().one('win').focus();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['90'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['89'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['266']++;if(fn===true){__cov_btK7VK24tT3fXwzek1iwcw.b['91'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['267']++;this._handleFocus();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['91'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['268']++;if(Y.Lang.isFunction(fn)){__cov_btK7VK24tT3fXwzek1iwcw.b['92'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['269']++;fn();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['92'][1]++;}});}catch(ferr){}}__cov_btK7VK24tT3fXwzek1iwcw.s['270']++;return this;},show:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['39']++;__cov_btK7VK24tT3fXwzek1iwcw.s['271']++;this._iframe.setStyles({position:'static',left:''});__cov_btK7VK24tT3fXwzek1iwcw.s['272']++;if(Y.UA.gecko){__cov_btK7VK24tT3fXwzek1iwcw.b['93'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['273']++;try{__cov_btK7VK24tT3fXwzek1iwcw.s['274']++;if(this.getInstance()){__cov_btK7VK24tT3fXwzek1iwcw.b['94'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['275']++;this.getInstance().config.doc.designMode='on';}else{__cov_btK7VK24tT3fXwzek1iwcw.b['94'][1]++;}}catch(e){}__cov_btK7VK24tT3fXwzek1iwcw.s['276']++;this.focus();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['93'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['277']++;return this;},hide:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['40']++;__cov_btK7VK24tT3fXwzek1iwcw.s['278']++;this._iframe.setStyles({position:'absolute',left:'-999999px'});__cov_btK7VK24tT3fXwzek1iwcw.s['279']++;return this;}},{THROTTLE_TIME:100,DOM_EVENTS:{dblclick:1,click:1,paste:1,mouseup:1,mousedown:1,keyup:1,keydown:1,keypress:1,activate:1,deactivate:1,beforedeactivate:1,focusin:1,focusout:1},DEFAULT_CSS:'body { background-color: #fff; font: 13px/1.22 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small; } a, a:visited, a:hover { color: blue !important; text-decoration: underline !important; cursor: text !important; } img { cursor: pointer !important; border: none; }',IFRAME_ATTRS:{border:'0',frameBorder:'0',marginWidth:'0',marginHeight:'0',leftMargin:'0',topMargin:'0',allowTransparency:'true',width:'100%',height:'99%'},PAGE_HTML:'<html dir="{DIR}" lang="{LANG}"><head><title>{TITLE}</title>{META}<base href="{BASE_HREF}"/>{LINKED_CSS}<style id="editor_css">{DEFAULT_CSS}</style>{EXTRA_CSS}</head><body>{CONTENT}</body></html>',getDocType:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['41']++;__cov_btK7VK24tT3fXwzek1iwcw.s['280']++;var dt=Y.config.doc.doctype,str=Frame.DOC_TYPE;__cov_btK7VK24tT3fXwzek1iwcw.s['281']++;if(dt){__cov_btK7VK24tT3fXwzek1iwcw.b['95'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['282']++;str='<!DOCTYPE '+dt.name+(dt.publicId?(__cov_btK7VK24tT3fXwzek1iwcw.b['96'][0]++,' '+dt.publicId):(__cov_btK7VK24tT3fXwzek1iwcw.b['96'][1]++,''))+(dt.systemId?(__cov_btK7VK24tT3fXwzek1iwcw.b['97'][0]++,' '+dt.systemId):(__cov_btK7VK24tT3fXwzek1iwcw.b['97'][1]++,''))+'>';}else{__cov_btK7VK24tT3fXwzek1iwcw.b['95'][1]++;__cov_btK7VK24tT3fXwzek1iwcw.s['283']++;if(Y.config.doc.all){__cov_btK7VK24tT3fXwzek1iwcw.b['98'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['284']++;dt=Y.config.doc.all[0];__cov_btK7VK24tT3fXwzek1iwcw.s['285']++;if(dt.nodeType){__cov_btK7VK24tT3fXwzek1iwcw.b['99'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['286']++;if(dt.nodeType===8){__cov_btK7VK24tT3fXwzek1iwcw.b['100'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['287']++;if(dt.nodeValue){__cov_btK7VK24tT3fXwzek1iwcw.b['101'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['288']++;if(dt.nodeValue.toLowerCase().indexOf('doctype')!==-1){__cov_btK7VK24tT3fXwzek1iwcw.b['102'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['289']++;str='<!'+dt.nodeValue+'>';}else{__cov_btK7VK24tT3fXwzek1iwcw.b['102'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['101'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['100'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['99'][1]++;}}else{__cov_btK7VK24tT3fXwzek1iwcw.b['98'][1]++;}}__cov_btK7VK24tT3fXwzek1iwcw.s['290']++;return str;},DOC_TYPE:'<!DOCTYPE HTML PUBLIC "-/'+'/W3C/'+'/DTD HTML 4.01/'+'/EN" "http:/'+'/www.w3.org/TR/html4/strict.dtd">',META:'<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=7">',NAME:'frame',NS:'frame',ATTRS:{title:{value:'Blank Page'},dir:{value:'ltr'},lang:{value:'en-US'},src:{value:'javascript'+(Y.UA.ie?(__cov_btK7VK24tT3fXwzek1iwcw.b['103'][0]++,':false'):(__cov_btK7VK24tT3fXwzek1iwcw.b['103'][1]++,':'))+';'},designMode:{writeOnce:true,value:false},content:{validator:Lang.isString,value:'<br>',setter:'_setHTML',getter:'_getHTML'},basehref:{value:false,getter:'_resolveBaseHref'},use:{writeOnce:true,value:['node','node-style','selector-css3']},container:{value:'body',setter:function(n){__cov_btK7VK24tT3fXwzek1iwcw.f['42']++;__cov_btK7VK24tT3fXwzek1iwcw.s['291']++;return Y.one(n);}},node:{readOnly:true,value:null,getter:function(){__cov_btK7VK24tT3fXwzek1iwcw.f['43']++;__cov_btK7VK24tT3fXwzek1iwcw.s['292']++;return this._iframe;}},id:{writeOnce:true,getter:function(id){__cov_btK7VK24tT3fXwzek1iwcw.f['44']++;__cov_btK7VK24tT3fXwzek1iwcw.s['293']++;if(!id){__cov_btK7VK24tT3fXwzek1iwcw.b['104'][0]++;__cov_btK7VK24tT3fXwzek1iwcw.s['294']++;id='iframe-'+Y.guid();}else{__cov_btK7VK24tT3fXwzek1iwcw.b['104'][1]++;}__cov_btK7VK24tT3fXwzek1iwcw.s['295']++;return id;}},linkedcss:{validator:'_validateLinkedCSS',getter:'_getLinkedCSS',setter:'_setLinkedCSS'},extracss:{validator:Lang.isString,setter:'_setExtraCSS'},defaultblock:{value:'p'}}});__cov_btK7VK24tT3fXwzek1iwcw.s['296']++;Y.namespace('Plugin');__cov_btK7VK24tT3fXwzek1iwcw.s['297']++;Y.Plugin.Frame=Frame;__cov_btK7VK24tT3fXwzek1iwcw.s['298']++;Y.Frame=Frame;},'3.17.0',{'requires':['base','node','plugin','selector-css3','yui-throttle']});
  