AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.216.59
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_projetos/sopizzas/build/widget-modality/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_projetos/sopizzas/build/widget-modality//widget-modality-coverage.js
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/widget-modality/widget-modality.js']) {
   __coverage__['build/widget-modality/widget-modality.js'] = {"path":"build/widget-modality/widget-modality.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},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0,0],"6":[0,0],"7":[0,0,0],"8":[0,0],"9":[0,0],"10":[0,0,0,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,0],"25":[0,0],"26":[0,0,0],"27":[0,0],"28":[0,0,0],"29":[0,0],"30":[0,0],"31":[0,0],"32":[0,0],"33":[0,0],"34":[0,0,0,0],"35":[0,0],"36":[0,0],"37":[0,0],"38":[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},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":46}}},"2":{"name":"(anonymous_2)","line":24,"loc":{"start":{"line":24,"column":24},"end":{"line":24,"column":34}}},"3":{"name":"WidgetModal","line":56,"loc":{"start":{"line":56,"column":4},"end":{"line":56,"column":33}}},"4":{"name":"(anonymous_4)","line":109,"loc":{"start":{"line":109,"column":25},"end":{"line":109,"column":36}}},"5":{"name":"(anonymous_5)","line":141,"loc":{"start":{"line":141,"column":28},"end":{"line":141,"column":39}}},"6":{"name":"(anonymous_6)","line":185,"loc":{"start":{"line":185,"column":21},"end":{"line":185,"column":33}}},"7":{"name":"(anonymous_7)","line":191,"loc":{"start":{"line":191,"column":20},"end":{"line":191,"column":32}}},"8":{"name":"(anonymous_8)","line":210,"loc":{"start":{"line":210,"column":25},"end":{"line":210,"column":37}}},"9":{"name":"(anonymous_9)","line":235,"loc":{"start":{"line":235,"column":23},"end":{"line":235,"column":35}}},"10":{"name":"(anonymous_10)","line":263,"loc":{"start":{"line":263,"column":23},"end":{"line":263,"column":35}}},"11":{"name":"(anonymous_11)","line":276,"loc":{"start":{"line":276,"column":17},"end":{"line":276,"column":29}}},"12":{"name":"(anonymous_12)","line":289,"loc":{"start":{"line":289,"column":16},"end":{"line":289,"column":28}}},"13":{"name":"(anonymous_13)","line":300,"loc":{"start":{"line":300,"column":23},"end":{"line":300,"column":35}}},"14":{"name":"(anonymous_14)","line":311,"loc":{"start":{"line":311,"column":33},"end":{"line":311,"column":52}}},"15":{"name":"(anonymous_15)","line":319,"loc":{"start":{"line":319,"column":36},"end":{"line":319,"column":51}}},"16":{"name":"(anonymous_16)","line":380,"loc":{"start":{"line":380,"column":27},"end":{"line":380,"column":38}}},"17":{"name":"(anonymous_17)","line":381,"loc":{"start":{"line":381,"column":33},"end":{"line":381,"column":44}}},"18":{"name":"(anonymous_18)","line":394,"loc":{"start":{"line":394,"column":29},"end":{"line":394,"column":40}}},"19":{"name":"(anonymous_19)","line":395,"loc":{"start":{"line":395,"column":33},"end":{"line":395,"column":44}}},"20":{"name":"(anonymous_20)","line":409,"loc":{"start":{"line":409,"column":32},"end":{"line":409,"column":50}}},"21":{"name":"(anonymous_21)","line":424,"loc":{"start":{"line":424,"column":32},"end":{"line":424,"column":44}}},"22":{"name":"(anonymous_22)","line":467,"loc":{"start":{"line":467,"column":64},"end":{"line":467,"column":74}}},"23":{"name":"(anonymous_23)","line":480,"loc":{"start":{"line":480,"column":32},"end":{"line":480,"column":44}}},"24":{"name":"(anonymous_24)","line":481,"loc":{"start":{"line":481,"column":41},"end":{"line":481,"column":52}}},"25":{"name":"(anonymous_25)","line":493,"loc":{"start":{"line":493,"column":39},"end":{"line":493,"column":52}}},"26":{"name":"(anonymous_26)","line":504,"loc":{"start":{"line":504,"column":38},"end":{"line":504,"column":51}}},"27":{"name":"(anonymous_27)","line":516,"loc":{"start":{"line":516,"column":18},"end":{"line":516,"column":29}}},"28":{"name":"(anonymous_28)","line":528,"loc":{"start":{"line":528,"column":25},"end":{"line":528,"column":44}}},"29":{"name":"(anonymous_29)","line":563,"loc":{"start":{"line":563,"column":21},"end":{"line":563,"column":34}}},"30":{"name":"(anonymous_30)","line":584,"loc":{"start":{"line":584,"column":30},"end":{"line":584,"column":41}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":597,"column":92}},"2":{"start":{"line":9,"column":0},"end":{"line":47,"column":9}},"3":{"start":{"line":28,"column":8},"end":{"line":30,"column":21}},"4":{"start":{"line":32,"column":8},"end":{"line":44,"column":9}},"5":{"start":{"line":33,"column":12},"end":{"line":33,"column":42}},"6":{"start":{"line":34,"column":12},"end":{"line":43,"column":13}},"7":{"start":{"line":35,"column":16},"end":{"line":35,"column":44}},"8":{"start":{"line":36,"column":16},"end":{"line":36,"column":38}},"9":{"start":{"line":37,"column":16},"end":{"line":37,"column":32}},"10":{"start":{"line":38,"column":16},"end":{"line":42,"column":17}},"11":{"start":{"line":39,"column":20},"end":{"line":39,"column":41}},"12":{"start":{"line":40,"column":20},"end":{"line":40,"column":56}},"13":{"start":{"line":41,"column":20},"end":{"line":41,"column":41}},"14":{"start":{"line":46,"column":8},"end":{"line":46,"column":27}},"15":{"start":{"line":56,"column":4},"end":{"line":56,"column":35}},"16":{"start":{"line":58,"column":4},"end":{"line":63,"column":10}},"17":{"start":{"line":73,"column":4},"end":{"line":125,"column":6}},"18":{"start":{"line":110,"column":20},"end":{"line":119,"column":22}},"19":{"start":{"line":128,"column":4},"end":{"line":128,"column":40}},"20":{"start":{"line":131,"column":4},"end":{"line":131,"column":29}},"21":{"start":{"line":141,"column":4},"end":{"line":174,"column":6}},"22":{"start":{"line":143,"column":8},"end":{"line":144,"column":32}},"23":{"start":{"line":146,"column":8},"end":{"line":148,"column":9}},"24":{"start":{"line":147,"column":12},"end":{"line":147,"column":24}},"25":{"start":{"line":150,"column":8},"end":{"line":150,"column":73}},"26":{"start":{"line":151,"column":8},"end":{"line":151,"column":33}},"27":{"start":{"line":153,"column":8},"end":{"line":171,"column":9}},"28":{"start":{"line":154,"column":12},"end":{"line":161,"column":15}},"29":{"start":{"line":163,"column":12},"end":{"line":170,"column":15}},"30":{"start":{"line":173,"column":8},"end":{"line":173,"column":20}},"31":{"start":{"line":180,"column":4},"end":{"line":180,"column":27}},"32":{"start":{"line":183,"column":4},"end":{"line":591,"column":6}},"33":{"start":{"line":186,"column":12},"end":{"line":186,"column":58}},"34":{"start":{"line":187,"column":12},"end":{"line":187,"column":54}},"35":{"start":{"line":188,"column":12},"end":{"line":188,"column":54}},"36":{"start":{"line":193,"column":12},"end":{"line":193,"column":47}},"37":{"start":{"line":212,"column":12},"end":{"line":212,"column":44}},"38":{"start":{"line":220,"column":12},"end":{"line":220,"column":39}},"39":{"start":{"line":221,"column":12},"end":{"line":221,"column":45}},"40":{"start":{"line":237,"column":12},"end":{"line":237,"column":74}},"41":{"start":{"line":238,"column":12},"end":{"line":238,"column":73}},"42":{"start":{"line":239,"column":12},"end":{"line":239,"column":66}},"43":{"start":{"line":246,"column":12},"end":{"line":251,"column":13}},"44":{"start":{"line":250,"column":16},"end":{"line":250,"column":66}},"45":{"start":{"line":267,"column":12},"end":{"line":267,"column":59}},"46":{"start":{"line":278,"column":12},"end":{"line":279,"column":39}},"47":{"start":{"line":281,"column":12},"end":{"line":281,"column":55}},"48":{"start":{"line":282,"column":12},"end":{"line":282,"column":25}},"49":{"start":{"line":291,"column":12},"end":{"line":291,"column":24}},"50":{"start":{"line":302,"column":12},"end":{"line":302,"column":43}},"51":{"start":{"line":312,"column":12},"end":{"line":315,"column":32}},"52":{"start":{"line":317,"column":12},"end":{"line":369,"column":13}},"53":{"start":{"line":319,"column":16},"end":{"line":322,"column":19}},"54":{"start":{"line":320,"column":20},"end":{"line":320,"column":50}},"55":{"start":{"line":321,"column":20},"end":{"line":321,"column":34}},"56":{"start":{"line":325,"column":16},"end":{"line":325,"column":36}},"57":{"start":{"line":327,"column":16},"end":{"line":327,"column":43}},"58":{"start":{"line":328,"column":16},"end":{"line":328,"column":62}},"59":{"start":{"line":330,"column":16},"end":{"line":336,"column":17}},"60":{"start":{"line":331,"column":20},"end":{"line":331,"column":36}},"61":{"start":{"line":332,"column":20},"end":{"line":332,"column":62}},"62":{"start":{"line":333,"column":20},"end":{"line":333,"column":34}},"63":{"start":{"line":335,"column":20},"end":{"line":335,"column":45}},"64":{"start":{"line":339,"column":16},"end":{"line":339,"column":53}},"65":{"start":{"line":340,"column":16},"end":{"line":343,"column":17}},"66":{"start":{"line":342,"column":20},"end":{"line":342,"column":43}},"67":{"start":{"line":345,"column":16},"end":{"line":345,"column":45}},"68":{"start":{"line":346,"column":16},"end":{"line":346,"column":29}},"69":{"start":{"line":348,"column":16},"end":{"line":366,"column":17}},"70":{"start":{"line":349,"column":20},"end":{"line":349,"column":40}},"71":{"start":{"line":350,"column":20},"end":{"line":350,"column":51}},"72":{"start":{"line":352,"column":20},"end":{"line":352,"column":74}},"73":{"start":{"line":354,"column":20},"end":{"line":358,"column":21}},"74":{"start":{"line":356,"column":24},"end":{"line":356,"column":70}},"75":{"start":{"line":357,"column":24},"end":{"line":357,"column":42}},"76":{"start":{"line":362,"column":20},"end":{"line":364,"column":21}},"77":{"start":{"line":363,"column":24},"end":{"line":363,"column":40}},"78":{"start":{"line":368,"column":16},"end":{"line":368,"column":43}},"79":{"start":{"line":381,"column":12},"end":{"line":384,"column":15}},"80":{"start":{"line":382,"column":16},"end":{"line":382,"column":73}},"81":{"start":{"line":383,"column":16},"end":{"line":383,"column":41}},"82":{"start":{"line":395,"column":12},"end":{"line":400,"column":15}},"83":{"start":{"line":396,"column":16},"end":{"line":399,"column":17}},"84":{"start":{"line":397,"column":20},"end":{"line":397,"column":77}},"85":{"start":{"line":398,"column":20},"end":{"line":398,"column":58}},"86":{"start":{"line":411,"column":12},"end":{"line":413,"column":13}},"87":{"start":{"line":412,"column":16},"end":{"line":412,"column":68}},"88":{"start":{"line":426,"column":12},"end":{"line":430,"column":13}},"89":{"start":{"line":429,"column":16},"end":{"line":429,"column":23}},"90":{"start":{"line":432,"column":12},"end":{"line":437,"column":26}},"91":{"start":{"line":439,"column":12},"end":{"line":464,"column":13}},"92":{"start":{"line":441,"column":16},"end":{"line":441,"column":23}},"93":{"start":{"line":442,"column":16},"end":{"line":442,"column":41}},"94":{"start":{"line":443,"column":16},"end":{"line":443,"column":44}},"95":{"start":{"line":444,"column":16},"end":{"line":444,"column":47}},"96":{"start":{"line":447,"column":16},"end":{"line":462,"column":17}},"97":{"start":{"line":448,"column":20},"end":{"line":448,"column":55}},"98":{"start":{"line":452,"column":21},"end":{"line":462,"column":17}},"99":{"start":{"line":453,"column":20},"end":{"line":453,"column":59}},"100":{"start":{"line":457,"column":21},"end":{"line":462,"column":17}},"101":{"start":{"line":458,"column":20},"end":{"line":458,"column":70}},"102":{"start":{"line":466,"column":12},"end":{"line":470,"column":13}},"103":{"start":{"line":467,"column":16},"end":{"line":469,"column":27}},"104":{"start":{"line":468,"column":20},"end":{"line":468,"column":73}},"105":{"start":{"line":472,"column":12},"end":{"line":472,"column":45}},"106":{"start":{"line":481,"column":12},"end":{"line":483,"column":15}},"107":{"start":{"line":482,"column":16},"end":{"line":482,"column":27}},"108":{"start":{"line":484,"column":12},"end":{"line":484,"column":40}},"109":{"start":{"line":495,"column":12},"end":{"line":495,"column":50}},"110":{"start":{"line":506,"column":12},"end":{"line":506,"column":49}},"111":{"start":{"line":517,"column":12},"end":{"line":518,"column":49}},"112":{"start":{"line":519,"column":12},"end":{"line":519,"column":26}},"113":{"start":{"line":530,"column":12},"end":{"line":533,"column":29}},"114":{"start":{"line":536,"column":12},"end":{"line":552,"column":13}},"115":{"start":{"line":538,"column":16},"end":{"line":538,"column":34}},"116":{"start":{"line":539,"column":16},"end":{"line":539,"column":36}},"117":{"start":{"line":543,"column":17},"end":{"line":552,"column":13}},"118":{"start":{"line":546,"column":16},"end":{"line":546,"column":34}},"119":{"start":{"line":547,"column":16},"end":{"line":547,"column":36}},"120":{"start":{"line":548,"column":16},"end":{"line":548,"column":48}},"121":{"start":{"line":549,"column":16},"end":{"line":549,"column":65}},"122":{"start":{"line":550,"column":16},"end":{"line":550,"column":70}},"123":{"start":{"line":551,"column":16},"end":{"line":551,"column":36}},"124":{"start":{"line":564,"column":12},"end":{"line":569,"column":47}},"125":{"start":{"line":571,"column":12},"end":{"line":576,"column":15}},"126":{"start":{"line":585,"column":12},"end":{"line":585,"column":41}},"127":{"start":{"line":587,"column":12},"end":{"line":589,"column":13}},"128":{"start":{"line":588,"column":16},"end":{"line":588,"column":45}},"129":{"start":{"line":593,"column":4},"end":{"line":593,"column":35}}},"branchMap":{"1":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":8},"end":{"line":32,"column":8}},{"start":{"line":32,"column":8},"end":{"line":32,"column":8}}]},"2":{"line":34,"type":"if","locations":[{"start":{"line":34,"column":12},"end":{"line":34,"column":12}},{"start":{"line":34,"column":12},"end":{"line":34,"column":12}}]},"3":{"line":34,"type":"binary-expr","locations":[{"start":{"line":34,"column":16},"end":{"line":34,"column":18}},{"start":{"line":34,"column":22},"end":{"line":34,"column":30}}]},"4":{"line":38,"type":"if","locations":[{"start":{"line":38,"column":16},"end":{"line":38,"column":16}},{"start":{"line":38,"column":16},"end":{"line":38,"column":16}}]},"5":{"line":38,"type":"binary-expr","locations":[{"start":{"line":38,"column":20},"end":{"line":38,"column":24}},{"start":{"line":38,"column":28},"end":{"line":38,"column":44}},{"start":{"line":38,"column":48},"end":{"line":38,"column":64}}]},"6":{"line":146,"type":"if","locations":[{"start":{"line":146,"column":8},"end":{"line":146,"column":8}},{"start":{"line":146,"column":8},"end":{"line":146,"column":8}}]},"7":{"line":146,"type":"binary-expr","locations":[{"start":{"line":146,"column":12},"end":{"line":146,"column":16}},{"start":{"line":146,"column":21},"end":{"line":146,"column":47}},{"start":{"line":146,"column":52},"end":{"line":146,"column":64}}]},"8":{"line":153,"type":"if","locations":[{"start":{"line":153,"column":8},"end":{"line":153,"column":8}},{"start":{"line":153,"column":8},"end":{"line":153,"column":8}}]},"9":{"line":246,"type":"if","locations":[{"start":{"line":246,"column":12},"end":{"line":246,"column":12}},{"start":{"line":246,"column":12},"end":{"line":246,"column":12}}]},"10":{"line":246,"type":"binary-expr","locations":[{"start":{"line":246,"column":16},"end":{"line":246,"column":33}},{"start":{"line":247,"column":21},"end":{"line":247,"column":29}},{"start":{"line":247,"column":33},"end":{"line":247,"column":45}},{"start":{"line":248,"column":21},"end":{"line":248,"column":33}},{"start":{"line":248,"column":37},"end":{"line":248,"column":53}}]},"11":{"line":281,"type":"cond-expr","locations":[{"start":{"line":281,"column":44},"end":{"line":281,"column":49}},{"start":{"line":281,"column":52},"end":{"line":281,"column":53}}]},"12":{"line":317,"type":"if","locations":[{"start":{"line":317,"column":12},"end":{"line":317,"column":12}},{"start":{"line":317,"column":12},"end":{"line":317,"column":12}}]},"13":{"line":330,"type":"if","locations":[{"start":{"line":330,"column":16},"end":{"line":330,"column":16}},{"start":{"line":330,"column":16},"end":{"line":330,"column":16}}]},"14":{"line":340,"type":"if","locations":[{"start":{"line":340,"column":16},"end":{"line":340,"column":16}},{"start":{"line":340,"column":16},"end":{"line":340,"column":16}}]},"15":{"line":348,"type":"if","locations":[{"start":{"line":348,"column":16},"end":{"line":348,"column":16}},{"start":{"line":348,"column":16},"end":{"line":348,"column":16}}]},"16":{"line":354,"type":"if","locations":[{"start":{"line":354,"column":20},"end":{"line":354,"column":20}},{"start":{"line":354,"column":20},"end":{"line":354,"column":20}}]},"17":{"line":362,"type":"if","locations":[{"start":{"line":362,"column":20},"end":{"line":362,"column":20}},{"start":{"line":362,"column":20},"end":{"line":362,"column":20}}]},"18":{"line":396,"type":"if","locations":[{"start":{"line":396,"column":16},"end":{"line":396,"column":16}},{"start":{"line":396,"column":16},"end":{"line":396,"column":16}}]},"19":{"line":411,"type":"if","locations":[{"start":{"line":411,"column":12},"end":{"line":411,"column":12}},{"start":{"line":411,"column":12},"end":{"line":411,"column":12}}]},"20":{"line":412,"type":"binary-expr","locations":[{"start":{"line":412,"column":55},"end":{"line":412,"column":61}},{"start":{"line":412,"column":65},"end":{"line":412,"column":66}}]},"21":{"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}}]},"22":{"line":426,"type":"binary-expr","locations":[{"start":{"line":426,"column":16},"end":{"line":426,"column":36}},{"start":{"line":426,"column":40},"end":{"line":426,"column":69}}]},"23":{"line":447,"type":"if","locations":[{"start":{"line":447,"column":16},"end":{"line":447,"column":16}},{"start":{"line":447,"column":16},"end":{"line":447,"column":16}}]},"24":{"line":447,"type":"binary-expr","locations":[{"start":{"line":447,"column":20},"end":{"line":447,"column":27}},{"start":{"line":447,"column":31},"end":{"line":447,"column":41}},{"start":{"line":447,"column":45},"end":{"line":447,"column":49}}]},"25":{"line":452,"type":"if","locations":[{"start":{"line":452,"column":21},"end":{"line":452,"column":21}},{"start":{"line":452,"column":21},"end":{"line":452,"column":21}}]},"26":{"line":452,"type":"binary-expr","locations":[{"start":{"line":452,"column":25},"end":{"line":452,"column":31}},{"start":{"line":452,"column":35},"end":{"line":452,"column":45}},{"start":{"line":452,"column":49},"end":{"line":452,"column":53}}]},"27":{"line":457,"type":"if","locations":[{"start":{"line":457,"column":21},"end":{"line":457,"column":21}},{"start":{"line":457,"column":21},"end":{"line":457,"column":21}}]},"28":{"line":457,"type":"binary-expr","locations":[{"start":{"line":457,"column":25},"end":{"line":457,"column":31}},{"start":{"line":457,"column":35},"end":{"line":457,"column":44}},{"start":{"line":457,"column":48},"end":{"line":457,"column":52}}]},"29":{"line":466,"type":"if","locations":[{"start":{"line":466,"column":12},"end":{"line":466,"column":12}},{"start":{"line":466,"column":12},"end":{"line":466,"column":12}}]},"30":{"line":518,"type":"cond-expr","locations":[{"start":{"line":518,"column":36},"end":{"line":518,"column":40}},{"start":{"line":518,"column":43},"end":{"line":518,"column":48}}]},"31":{"line":536,"type":"if","locations":[{"start":{"line":536,"column":12},"end":{"line":536,"column":12}},{"start":{"line":536,"column":12},"end":{"line":536,"column":12}}]},"32":{"line":536,"type":"binary-expr","locations":[{"start":{"line":536,"column":16},"end":{"line":536,"column":28}},{"start":{"line":536,"column":32},"end":{"line":536,"column":42}}]},"33":{"line":543,"type":"if","locations":[{"start":{"line":543,"column":17},"end":{"line":543,"column":17}},{"start":{"line":543,"column":17},"end":{"line":543,"column":17}}]},"34":{"line":543,"type":"binary-expr","locations":[{"start":{"line":543,"column":22},"end":{"line":543,"column":35}},{"start":{"line":543,"column":39},"end":{"line":543,"column":48}},{"start":{"line":543,"column":54},"end":{"line":543,"column":66}},{"start":{"line":543,"column":70},"end":{"line":543,"column":79}}]},"35":{"line":549,"type":"binary-expr","locations":[{"start":{"line":549,"column":27},"end":{"line":549,"column":47}},{"start":{"line":549,"column":51},"end":{"line":549,"column":64}}]},"36":{"line":567,"type":"binary-expr","locations":[{"start":{"line":567,"column":26},"end":{"line":567,"column":45}},{"start":{"line":567,"column":49},"end":{"line":567,"column":66}}]},"37":{"line":568,"type":"binary-expr","locations":[{"start":{"line":568,"column":26},"end":{"line":568,"column":46}},{"start":{"line":568,"column":50},"end":{"line":568,"column":68}}]},"38":{"line":587,"type":"if","locations":[{"start":{"line":587,"column":12},"end":{"line":587,"column":12}},{"start":{"line":587,"column":12},"end":{"line":587,"column":12}}]}},"code":["(function () { YUI.add('widget-modality', function (Y, NAME) {","","/**"," * Provides modality support for Widgets, though an extension"," *"," * @module widget-modality"," */","","var WIDGET       = 'widget',","    RENDER_UI    = 'renderUI',","    BIND_UI      = 'bindUI',","    SYNC_UI      = 'syncUI',","    BOUNDING_BOX = 'boundingBox',","    VISIBLE      = 'visible',","    Z_INDEX      = 'zIndex',","    CHANGE       = 'Change',","    isBoolean    = Y.Lang.isBoolean,","    getCN        = Y.ClassNameManager.getClassName,","    MaskShow     = \"maskShow\",","    MaskHide     = \"maskHide\",","    ClickOutside = \"clickoutside\",","    FocusOutside = \"focusoutside\",","","    supportsPosFixed = (function(){","","        /*! IS_POSITION_FIXED_SUPPORTED - Juriy Zaytsev (kangax) - http://yura.thinkweb2.com/cft/ */","","        var doc         = Y.config.doc,","            isSupported = null,","            el, root;","","        if (doc.createElement) {","            el = doc.createElement('div');","            if (el && el.style) {","                el.style.position = 'fixed';","                el.style.top = '10px';","                root = doc.body;","                if (root && root.appendChild && root.removeChild) {","                    root.appendChild(el);","                    isSupported = (el.offsetTop === 10);","                    root.removeChild(el);","                }","            }","        }","","        return isSupported;","    }());","","    /**","     * Widget extension, which can be used to add modality support to the base Widget class,","     * through the Base.create method.","     *","     * @class WidgetModality","     * @param {Object} config User configuration object","     */","    function WidgetModal(config) {}","","    var MODAL           = 'modal',","        MASK            = 'mask',","        MODAL_CLASSES   = {","            modal   : getCN(WIDGET, MODAL),","            mask    : getCN(WIDGET, MASK)","        };","","    /**","    * Static property used to define the default attribute","    * configuration introduced by WidgetModality.","    *","    * @property ATTRS","    * @static","    * @type Object","    */","    WidgetModal.ATTRS = {","            /**","             * @attribute maskNode","             * @type Y.Node","             *","             * @description Returns a Y.Node instance of the node being used as the mask.","             */","            maskNode : {","                getter      : '_getMaskNode',","                readOnly    : true","            },","","","            /**","             * @attribute modal","             * @type boolean","             *","             * @description Whether the widget should be modal or not.","             */","            modal: {","                value:false,","                validator: isBoolean","            },","","            /**","             * @attribute focusOn","             * @type array","             *","             * @description An array of objects corresponding to the nodes and events that will trigger a re-focus back on the widget.","             * The implementer can supply an array of objects, with each object having the following properties:","             * <p>eventName: (string, required): The eventName to listen to.</p>","             * <p>node: (Y.Node, optional): The Y.Node that will fire the event (defaults to the boundingBox of the widget)</p>","             * <p>By default, this attribute consists of two objects which will cause the widget to re-focus if anything","             * outside the widget is clicked on or focussed upon.</p>","             */","            focusOn: {","                valueFn: function() {","                    return [","                        {","                            // node: this.get(BOUNDING_BOX),","                            eventName: ClickOutside","                        },","                        {","                            //node: this.get(BOUNDING_BOX),","                            eventName: FocusOutside","                        }","                    ];","                },","","                validator: Y.Lang.isArray","            }","","    };","","","    WidgetModal.CLASSES = MODAL_CLASSES;","","","    WidgetModal._MASK = null;","    /**","     * Returns the mask if it exists on the page - otherwise creates a mask. There's only","     * one mask on a page at a given time.","     * <p>","     * This method in invoked internally by the getter of the maskNode ATTR.","     * </p>","     * @method _GET_MASK","     * @static","     */","    WidgetModal._GET_MASK = function() {","","        var mask = WidgetModal._MASK,","            win  = Y.one('win');","","        if (mask && (mask.getDOMNode() !== null) && mask.inDoc()) {","            return mask;","        }","","        mask = Y.Node.create('<div></div>').addClass(MODAL_CLASSES.mask);","        WidgetModal._MASK = mask;","","        if (supportsPosFixed) {","            mask.setStyles({","                position: 'fixed',","                width   : '100%',","                height  : '100%',","                top     : '0',","                left    : '0',","                display : 'block'","            });","        } else {","            mask.setStyles({","                position: 'absolute',","                width   : win.get('winWidth') +'px',","                height  : win.get('winHeight') + 'px',","                top     : '0',","                left    : '0',","                display : 'block'","            });","        }","","        return mask;","    };","","    /**","     * A stack of Y.Widget objects representing the current hierarchy of modal widgets presently displayed on the screen","     * @property STACK","     */","    WidgetModal.STACK = [];","","","    WidgetModal.prototype = {","","        initializer: function () {","            Y.after(this._renderUIModal, this, RENDER_UI);","            Y.after(this._syncUIModal, this, SYNC_UI);","            Y.after(this._bindUIModal, this, BIND_UI);","        },","","        destructor: function () {","            // Hack to remove this thing from the STACK.","            this._uiSetHostVisibleModal(false);","        },","","        // *** Instance Members *** //","","        _uiHandlesModal: null,","","","        /**","         * Adds modal class to the bounding box of the widget","         * <p>","         * This method in invoked after renderUI is invoked for the Widget class","         * using YUI's aop infrastructure.","         * </p>","         * @method _renderUIModal","         * @protected","         */","        _renderUIModal : function () {","","            var bb = this.get(BOUNDING_BOX);","                //cb = this.get(CONTENT_BOX);","","            //this makes the content box content appear over the mask","            // cb.setStyles({","            //     position: \"\"","            // });","","            this._repositionMask(this);","            bb.addClass(MODAL_CLASSES.modal);","","        },","","","        /**","         * Hooks up methods to be executed when the widget's visibility or z-index changes","         * <p>","         * This method in invoked after bindUI is invoked for the Widget class","         * using YUI's aop infrastructure.","         * </p>","         * @method _bindUIModal","         * @protected","         */","        _bindUIModal : function () {","","            this.after(VISIBLE+CHANGE, this._afterHostVisibleChangeModal);","            this.after(Z_INDEX+CHANGE, this._afterHostZIndexChangeModal);","            this.after(\"focusOnChange\", this._afterFocusOnChange);","","            // Re-align the mask in the viewport if `position: fixed;` is not","            // supported. iOS < 5 and Android < 3 don't actually support it even","            // though they both pass the feature test; the UA sniff is here to","            // account for that. Ideally this should be replaced with a better","            // feature test.","            if (!supportsPosFixed ||","                    (Y.UA.ios && Y.UA.ios < 5) ||","                    (Y.UA.android && Y.UA.android < 3)) {","","                Y.one('win').on('scroll', this._resyncMask, this);","            }","        },","","        /**","         * Syncs the mask with the widget's current state, namely the visibility and z-index of the widget","         * <p>","         * This method in invoked after syncUI is invoked for the Widget class","         * using YUI's aop infrastructure.","         * </p>","         * @method _syncUIModal","         * @protected","         */","        _syncUIModal : function () {","","            //var host = this.get(HOST);","","            this._uiSetHostVisibleModal(this.get(VISIBLE));","","        },","","        /**","         * Provides mouse and tab focus to the widget's bounding box.","         *","         * @method _focus","         */","        _focus : function () {","","            var bb = this.get(BOUNDING_BOX),","            oldTI = bb.get('tabIndex');","","            bb.set('tabIndex', oldTI >= 0 ? oldTI : 0);","            this.focus();","        },","        /**","         * Blurs the widget.","         *","         * @method _blur","         */","        _blur : function () {","","            this.blur();","        },","","        /**","         * Returns the Y.Node instance of the maskNode","         *","         * @method _getMaskNode","         * @return {Node} The Y.Node instance of the mask, as returned from WidgetModal._GET_MASK","         */","        _getMaskNode : function () {","","            return WidgetModal._GET_MASK();","        },","","        /**","         * Performs events attaching/detaching, stack shifting and mask repositioning based on the visibility of the widget","         *","         * @method _uiSetHostVisibleModal","         * @param {boolean} Whether the widget is visible or not","         */","        _uiSetHostVisibleModal : function (visible) {","            var stack    = WidgetModal.STACK,","                maskNode = this.get('maskNode'),","                isModal  = this.get('modal'),","                topModal, index;","","            if (visible) {","","                Y.Array.each(stack, function(modal){","                    modal._detachUIHandlesModal();","                    modal._blur();","                });","","                // push on top of stack","                stack.unshift(this);","","                this._repositionMask(this);","                this._uiSetHostZIndexModal(this.get(Z_INDEX));","","                if (isModal) {","                    maskNode.show();","                    Y.later(1, this, '_attachUIHandlesModal');","                    this._focus();","","                    this._blockIFrameFocus();","                }","            } else {","","                index = Y.Array.indexOf(stack, this);","                if (index >= 0) {","                    // Remove modal widget from global stack.","                    stack.splice(index, 1);","                }","","                this._detachUIHandlesModal();","                this._blur();","","                if (stack.length) {","                    topModal = stack[0];","                    this._repositionMask(topModal);","                    //topModal._attachUIHandlesModal();","                    topModal._uiSetHostZIndexModal(topModal.get(Z_INDEX));","","                    if (topModal.get('modal')) {","                        //topModal._attachUIHandlesModal();","                        Y.later(1, topModal, '_attachUIHandlesModal');","                        topModal._focus();","                    }","","                } else {","","                    if (maskNode.getStyle('display') === 'block') {","                        maskNode.hide();","                    }","","                }","","                this._unblockIFrameFocus();","            }","        },","","        /**","         * Blocks iframes on the page from getting focused by setting their","         * tabIndex attribute to -1. The previous value of tabIndex is saved","         * so it can be restored later.","         *","         * @method _blockIFrameFocus","         * @protected","         */","        _blockIFrameFocus: function() {","            Y.all('iframe').each(function() {","                this.setAttribute('data-tabindex', this.get('tabIndex'));","                this.set('tabIndex', -1);","            });","        },","","        /**","         * Unblocks focus for the iframes on the page by restoring their original","         * tabIndex attributes (see the _blockIFrameFocus method).","         *","         * @method _unblockIFrameFocus","         * @protected","         */","        _unblockIFrameFocus: function() {","            Y.all('iframe').each(function() {","                if (this.hasAttribute('data-tabindex')) {","                    this.set('tabIndex', this.getAttribute('data-tabindex'));","                    this.removeAttribute('data-tabindex');","                }","            });","        },","","        /**","         * Sets the z-index of the mask node.","         *","         * @method _uiSetHostZIndexModal","         * @param {Number} Z-Index of the widget","         */","        _uiSetHostZIndexModal : function (zIndex) {","","            if (this.get('modal')) {","                this.get('maskNode').setStyle(Z_INDEX, zIndex || 0);","            }","","        },","","        /**","         * Attaches UI Listeners for \"clickoutside\" and \"focusoutside\" on the","         * widget. When these events occur, and the widget is modal, focus is","         * shifted back onto the widget.","         *","         * @method _attachUIHandlesModal","         */","        _attachUIHandlesModal : function () {","","            if (this._uiHandlesModal || WidgetModal.STACK[0] !== this) {","                // Quit early if we have ui handles, or if we not at the top","                // of the global stack.","                return;","            }","","            var bb          = this.get(BOUNDING_BOX),","                maskNode    = this.get('maskNode'),","                focusOn     = this.get('focusOn'),","                focus       = Y.bind(this._focus, this),","                uiHandles   = [],","                i, len, o;","","            for (i = 0, len = focusOn.length; i < len; i++) {","","                o = {};","                o.node = focusOn[i].node;","                o.ev = focusOn[i].eventName;","                o.keyCode = focusOn[i].keyCode;","","                //no keycode or node defined","                if (!o.node && !o.keyCode && o.ev) {","                    uiHandles.push(bb.on(o.ev, focus));","                }","","                //node defined, no keycode (not a keypress)","                else if (o.node && !o.keyCode && o.ev) {","                    uiHandles.push(o.node.on(o.ev, focus));","                }","","                //node defined, keycode defined, event defined (its a key press)","                else if (o.node && o.keyCode && o.ev) {","                    uiHandles.push(o.node.on(o.ev, focus, o.keyCode));","                }","","                else {","                }","","            }","","            if ( ! supportsPosFixed) {","                uiHandles.push(Y.one('win').on('scroll', Y.bind(function(){","                    maskNode.setStyle('top', maskNode.get('docScrollY'));","                }, this)));","            }","","            this._uiHandlesModal = uiHandles;","        },","","        /**","         * Detaches all UI Listeners that were set in _attachUIHandlesModal from the widget.","         *","         * @method _detachUIHandlesModal","         */","        _detachUIHandlesModal : function () {","            Y.each(this._uiHandlesModal, function(h){","                h.detach();","            });","            this._uiHandlesModal = null;","        },","","        /**","         * Default function that is called when visibility is changed on the widget.","         *","         * @method _afterHostVisibleChangeModal","         * @param {EventFacade} e The event facade of the change","         */","        _afterHostVisibleChangeModal : function (e) {","","            this._uiSetHostVisibleModal(e.newVal);","        },","","        /**","         * Default function that is called when z-index is changed on the widget.","         *","         * @method _afterHostZIndexChangeModal","         * @param {EventFacade} e The event facade of the change","         */","        _afterHostZIndexChangeModal : function (e) {","","            this._uiSetHostZIndexModal(e.newVal);","        },","","        /**","         * Returns a boolean representing whether the current widget is in a \"nested modality\" state.","         * This is done by checking the number of widgets currently on the stack.","         *","         * @method isNested","         * @public","         */","        isNested: function() {","            var length = WidgetModal.STACK.length,","            retval = (length > 1) ? true : false;","            return retval;","        },","","        /**","         * Repositions the mask in the DOM for nested modality cases.","         *","         * @method _repositionMask","         * @param {Widget} nextElem The Y.Widget instance that will be visible in the stack once the current widget is closed.","         */","        _repositionMask: function(nextElem) {","","            var currentModal = this.get('modal'),","                nextModal    = nextElem.get('modal'),","                maskNode     = this.get('maskNode'),","                bb, bbParent;","","            //if this is modal and host is not modal","            if (currentModal && !nextModal) {","                //leave the mask where it is, since the host is not modal.","                maskNode.remove();","                this.fire(MaskHide);","            }","","            //if the main widget is not modal but the host is modal, or both of them are modal","            else if ((!currentModal && nextModal) || (currentModal && nextModal)) {","","                //then remove the mask off DOM, reposition it, and reinsert it into the DOM","                maskNode.remove();","                this.fire(MaskHide);","                bb = nextElem.get(BOUNDING_BOX);","                bbParent = bb.get('parentNode') || Y.one('body');","                bbParent.insert(maskNode, bbParent.get('firstChild'));","                this.fire(MaskShow);","            }","","        },","","        /**","         * Resyncs the mask in the viewport for browsers that don't support fixed positioning","         *","         * @method _resyncMask","         * @param {Y.Widget} nextElem The Y.Widget instance that will be visible in the stack once the current widget is closed.","         * @private","         */","        _resyncMask: function (e) {","            var o       = e.currentTarget,","                offsetX = o.get('docScrollX'),","                offsetY = o.get('docScrollY'),","                w       = o.get('innerWidth') || o.get('winWidth'),","                h       = o.get('innerHeight') || o.get('winHeight'),","                mask    = this.get('maskNode');","","            mask.setStyles({","                \"top\": offsetY + \"px\",","                \"left\": offsetX + \"px\",","                \"width\": w + 'px',","                \"height\": h + 'px'","            });","        },","","        /**","         * Default function called when focusOn Attribute is changed. Remove existing listeners and create new listeners.","         *","         * @method _afterFocusOnChange","         */","        _afterFocusOnChange : function() {","            this._detachUIHandlesModal();","","            if (this.get(VISIBLE)) {","                this._attachUIHandlesModal();","            }","        }","    };","","    Y.WidgetModality = WidgetModal;","","","","}, 'patched-v3.18.1', {\"requires\": [\"base-build\", \"event-outside\", \"widget\"], \"skinnable\": true});","","}());"]};
}
var __cov_3t8wDvjOucpJBP6BEEqjTg = __coverage__['build/widget-modality/widget-modality.js'];
__cov_3t8wDvjOucpJBP6BEEqjTg.s['1']++;YUI.add('widget-modality',function(Y,NAME){__cov_3t8wDvjOucpJBP6BEEqjTg.f['1']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['2']++;var WIDGET='widget',RENDER_UI='renderUI',BIND_UI='bindUI',SYNC_UI='syncUI',BOUNDING_BOX='boundingBox',VISIBLE='visible',Z_INDEX='zIndex',CHANGE='Change',isBoolean=Y.Lang.isBoolean,getCN=Y.ClassNameManager.getClassName,MaskShow='maskShow',MaskHide='maskHide',ClickOutside='clickoutside',FocusOutside='focusoutside',supportsPosFixed=function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['2']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['3']++;var doc=Y.config.doc,isSupported=null,el,root;__cov_3t8wDvjOucpJBP6BEEqjTg.s['4']++;if(doc.createElement){__cov_3t8wDvjOucpJBP6BEEqjTg.b['1'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['5']++;el=doc.createElement('div');__cov_3t8wDvjOucpJBP6BEEqjTg.s['6']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['3'][0]++,el)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['3'][1]++,el.style)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['2'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['7']++;el.style.position='fixed';__cov_3t8wDvjOucpJBP6BEEqjTg.s['8']++;el.style.top='10px';__cov_3t8wDvjOucpJBP6BEEqjTg.s['9']++;root=doc.body;__cov_3t8wDvjOucpJBP6BEEqjTg.s['10']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['5'][0]++,root)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['5'][1]++,root.appendChild)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['5'][2]++,root.removeChild)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['4'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['11']++;root.appendChild(el);__cov_3t8wDvjOucpJBP6BEEqjTg.s['12']++;isSupported=el.offsetTop===10;__cov_3t8wDvjOucpJBP6BEEqjTg.s['13']++;root.removeChild(el);}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['4'][1]++;}}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['2'][1]++;}}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['1'][1]++;}__cov_3t8wDvjOucpJBP6BEEqjTg.s['14']++;return isSupported;}();__cov_3t8wDvjOucpJBP6BEEqjTg.s['15']++;function WidgetModal(config){__cov_3t8wDvjOucpJBP6BEEqjTg.f['3']++;}__cov_3t8wDvjOucpJBP6BEEqjTg.s['16']++;var MODAL='modal',MASK='mask',MODAL_CLASSES={modal:getCN(WIDGET,MODAL),mask:getCN(WIDGET,MASK)};__cov_3t8wDvjOucpJBP6BEEqjTg.s['17']++;WidgetModal.ATTRS={maskNode:{getter:'_getMaskNode',readOnly:true},modal:{value:false,validator:isBoolean},focusOn:{valueFn:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['4']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['18']++;return[{eventName:ClickOutside},{eventName:FocusOutside}];},validator:Y.Lang.isArray}};__cov_3t8wDvjOucpJBP6BEEqjTg.s['19']++;WidgetModal.CLASSES=MODAL_CLASSES;__cov_3t8wDvjOucpJBP6BEEqjTg.s['20']++;WidgetModal._MASK=null;__cov_3t8wDvjOucpJBP6BEEqjTg.s['21']++;WidgetModal._GET_MASK=function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['5']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['22']++;var mask=WidgetModal._MASK,win=Y.one('win');__cov_3t8wDvjOucpJBP6BEEqjTg.s['23']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['7'][0]++,mask)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['7'][1]++,mask.getDOMNode()!==null)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['7'][2]++,mask.inDoc())){__cov_3t8wDvjOucpJBP6BEEqjTg.b['6'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['24']++;return mask;}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['6'][1]++;}__cov_3t8wDvjOucpJBP6BEEqjTg.s['25']++;mask=Y.Node.create('<div></div>').addClass(MODAL_CLASSES.mask);__cov_3t8wDvjOucpJBP6BEEqjTg.s['26']++;WidgetModal._MASK=mask;__cov_3t8wDvjOucpJBP6BEEqjTg.s['27']++;if(supportsPosFixed){__cov_3t8wDvjOucpJBP6BEEqjTg.b['8'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['28']++;mask.setStyles({position:'fixed',width:'100%',height:'100%',top:'0',left:'0',display:'block'});}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['8'][1]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['29']++;mask.setStyles({position:'absolute',width:win.get('winWidth')+'px',height:win.get('winHeight')+'px',top:'0',left:'0',display:'block'});}__cov_3t8wDvjOucpJBP6BEEqjTg.s['30']++;return mask;};__cov_3t8wDvjOucpJBP6BEEqjTg.s['31']++;WidgetModal.STACK=[];__cov_3t8wDvjOucpJBP6BEEqjTg.s['32']++;WidgetModal.prototype={initializer:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['6']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['33']++;Y.after(this._renderUIModal,this,RENDER_UI);__cov_3t8wDvjOucpJBP6BEEqjTg.s['34']++;Y.after(this._syncUIModal,this,SYNC_UI);__cov_3t8wDvjOucpJBP6BEEqjTg.s['35']++;Y.after(this._bindUIModal,this,BIND_UI);},destructor:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['7']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['36']++;this._uiSetHostVisibleModal(false);},_uiHandlesModal:null,_renderUIModal:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['8']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['37']++;var bb=this.get(BOUNDING_BOX);__cov_3t8wDvjOucpJBP6BEEqjTg.s['38']++;this._repositionMask(this);__cov_3t8wDvjOucpJBP6BEEqjTg.s['39']++;bb.addClass(MODAL_CLASSES.modal);},_bindUIModal:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['9']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['40']++;this.after(VISIBLE+CHANGE,this._afterHostVisibleChangeModal);__cov_3t8wDvjOucpJBP6BEEqjTg.s['41']++;this.after(Z_INDEX+CHANGE,this._afterHostZIndexChangeModal);__cov_3t8wDvjOucpJBP6BEEqjTg.s['42']++;this.after('focusOnChange',this._afterFocusOnChange);__cov_3t8wDvjOucpJBP6BEEqjTg.s['43']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['10'][0]++,!supportsPosFixed)||(__cov_3t8wDvjOucpJBP6BEEqjTg.b['10'][1]++,Y.UA.ios)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['10'][2]++,Y.UA.ios<5)||(__cov_3t8wDvjOucpJBP6BEEqjTg.b['10'][3]++,Y.UA.android)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['10'][4]++,Y.UA.android<3)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['9'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['44']++;Y.one('win').on('scroll',this._resyncMask,this);}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['9'][1]++;}},_syncUIModal:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['10']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['45']++;this._uiSetHostVisibleModal(this.get(VISIBLE));},_focus:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['11']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['46']++;var bb=this.get(BOUNDING_BOX),oldTI=bb.get('tabIndex');__cov_3t8wDvjOucpJBP6BEEqjTg.s['47']++;bb.set('tabIndex',oldTI>=0?(__cov_3t8wDvjOucpJBP6BEEqjTg.b['11'][0]++,oldTI):(__cov_3t8wDvjOucpJBP6BEEqjTg.b['11'][1]++,0));__cov_3t8wDvjOucpJBP6BEEqjTg.s['48']++;this.focus();},_blur:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['12']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['49']++;this.blur();},_getMaskNode:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['13']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['50']++;return WidgetModal._GET_MASK();},_uiSetHostVisibleModal:function(visible){__cov_3t8wDvjOucpJBP6BEEqjTg.f['14']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['51']++;var stack=WidgetModal.STACK,maskNode=this.get('maskNode'),isModal=this.get('modal'),topModal,index;__cov_3t8wDvjOucpJBP6BEEqjTg.s['52']++;if(visible){__cov_3t8wDvjOucpJBP6BEEqjTg.b['12'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['53']++;Y.Array.each(stack,function(modal){__cov_3t8wDvjOucpJBP6BEEqjTg.f['15']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['54']++;modal._detachUIHandlesModal();__cov_3t8wDvjOucpJBP6BEEqjTg.s['55']++;modal._blur();});__cov_3t8wDvjOucpJBP6BEEqjTg.s['56']++;stack.unshift(this);__cov_3t8wDvjOucpJBP6BEEqjTg.s['57']++;this._repositionMask(this);__cov_3t8wDvjOucpJBP6BEEqjTg.s['58']++;this._uiSetHostZIndexModal(this.get(Z_INDEX));__cov_3t8wDvjOucpJBP6BEEqjTg.s['59']++;if(isModal){__cov_3t8wDvjOucpJBP6BEEqjTg.b['13'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['60']++;maskNode.show();__cov_3t8wDvjOucpJBP6BEEqjTg.s['61']++;Y.later(1,this,'_attachUIHandlesModal');__cov_3t8wDvjOucpJBP6BEEqjTg.s['62']++;this._focus();__cov_3t8wDvjOucpJBP6BEEqjTg.s['63']++;this._blockIFrameFocus();}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['13'][1]++;}}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['12'][1]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['64']++;index=Y.Array.indexOf(stack,this);__cov_3t8wDvjOucpJBP6BEEqjTg.s['65']++;if(index>=0){__cov_3t8wDvjOucpJBP6BEEqjTg.b['14'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['66']++;stack.splice(index,1);}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['14'][1]++;}__cov_3t8wDvjOucpJBP6BEEqjTg.s['67']++;this._detachUIHandlesModal();__cov_3t8wDvjOucpJBP6BEEqjTg.s['68']++;this._blur();__cov_3t8wDvjOucpJBP6BEEqjTg.s['69']++;if(stack.length){__cov_3t8wDvjOucpJBP6BEEqjTg.b['15'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['70']++;topModal=stack[0];__cov_3t8wDvjOucpJBP6BEEqjTg.s['71']++;this._repositionMask(topModal);__cov_3t8wDvjOucpJBP6BEEqjTg.s['72']++;topModal._uiSetHostZIndexModal(topModal.get(Z_INDEX));__cov_3t8wDvjOucpJBP6BEEqjTg.s['73']++;if(topModal.get('modal')){__cov_3t8wDvjOucpJBP6BEEqjTg.b['16'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['74']++;Y.later(1,topModal,'_attachUIHandlesModal');__cov_3t8wDvjOucpJBP6BEEqjTg.s['75']++;topModal._focus();}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['16'][1]++;}}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['15'][1]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['76']++;if(maskNode.getStyle('display')==='block'){__cov_3t8wDvjOucpJBP6BEEqjTg.b['17'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['77']++;maskNode.hide();}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['17'][1]++;}}__cov_3t8wDvjOucpJBP6BEEqjTg.s['78']++;this._unblockIFrameFocus();}},_blockIFrameFocus:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['16']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['79']++;Y.all('iframe').each(function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['17']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['80']++;this.setAttribute('data-tabindex',this.get('tabIndex'));__cov_3t8wDvjOucpJBP6BEEqjTg.s['81']++;this.set('tabIndex',-1);});},_unblockIFrameFocus:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['18']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['82']++;Y.all('iframe').each(function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['19']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['83']++;if(this.hasAttribute('data-tabindex')){__cov_3t8wDvjOucpJBP6BEEqjTg.b['18'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['84']++;this.set('tabIndex',this.getAttribute('data-tabindex'));__cov_3t8wDvjOucpJBP6BEEqjTg.s['85']++;this.removeAttribute('data-tabindex');}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['18'][1]++;}});},_uiSetHostZIndexModal:function(zIndex){__cov_3t8wDvjOucpJBP6BEEqjTg.f['20']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['86']++;if(this.get('modal')){__cov_3t8wDvjOucpJBP6BEEqjTg.b['19'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['87']++;this.get('maskNode').setStyle(Z_INDEX,(__cov_3t8wDvjOucpJBP6BEEqjTg.b['20'][0]++,zIndex)||(__cov_3t8wDvjOucpJBP6BEEqjTg.b['20'][1]++,0));}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['19'][1]++;}},_attachUIHandlesModal:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['21']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['88']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['22'][0]++,this._uiHandlesModal)||(__cov_3t8wDvjOucpJBP6BEEqjTg.b['22'][1]++,WidgetModal.STACK[0]!==this)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['21'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['89']++;return;}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['21'][1]++;}__cov_3t8wDvjOucpJBP6BEEqjTg.s['90']++;var bb=this.get(BOUNDING_BOX),maskNode=this.get('maskNode'),focusOn=this.get('focusOn'),focus=Y.bind(this._focus,this),uiHandles=[],i,len,o;__cov_3t8wDvjOucpJBP6BEEqjTg.s['91']++;for(i=0,len=focusOn.length;i<len;i++){__cov_3t8wDvjOucpJBP6BEEqjTg.s['92']++;o={};__cov_3t8wDvjOucpJBP6BEEqjTg.s['93']++;o.node=focusOn[i].node;__cov_3t8wDvjOucpJBP6BEEqjTg.s['94']++;o.ev=focusOn[i].eventName;__cov_3t8wDvjOucpJBP6BEEqjTg.s['95']++;o.keyCode=focusOn[i].keyCode;__cov_3t8wDvjOucpJBP6BEEqjTg.s['96']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['24'][0]++,!o.node)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['24'][1]++,!o.keyCode)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['24'][2]++,o.ev)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['23'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['97']++;uiHandles.push(bb.on(o.ev,focus));}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['23'][1]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['98']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['26'][0]++,o.node)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['26'][1]++,!o.keyCode)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['26'][2]++,o.ev)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['25'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['99']++;uiHandles.push(o.node.on(o.ev,focus));}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['25'][1]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['100']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['28'][0]++,o.node)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['28'][1]++,o.keyCode)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['28'][2]++,o.ev)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['27'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['101']++;uiHandles.push(o.node.on(o.ev,focus,o.keyCode));}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['27'][1]++;}}}}__cov_3t8wDvjOucpJBP6BEEqjTg.s['102']++;if(!supportsPosFixed){__cov_3t8wDvjOucpJBP6BEEqjTg.b['29'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['103']++;uiHandles.push(Y.one('win').on('scroll',Y.bind(function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['22']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['104']++;maskNode.setStyle('top',maskNode.get('docScrollY'));},this)));}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['29'][1]++;}__cov_3t8wDvjOucpJBP6BEEqjTg.s['105']++;this._uiHandlesModal=uiHandles;},_detachUIHandlesModal:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['23']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['106']++;Y.each(this._uiHandlesModal,function(h){__cov_3t8wDvjOucpJBP6BEEqjTg.f['24']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['107']++;h.detach();});__cov_3t8wDvjOucpJBP6BEEqjTg.s['108']++;this._uiHandlesModal=null;},_afterHostVisibleChangeModal:function(e){__cov_3t8wDvjOucpJBP6BEEqjTg.f['25']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['109']++;this._uiSetHostVisibleModal(e.newVal);},_afterHostZIndexChangeModal:function(e){__cov_3t8wDvjOucpJBP6BEEqjTg.f['26']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['110']++;this._uiSetHostZIndexModal(e.newVal);},isNested:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['27']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['111']++;var length=WidgetModal.STACK.length,retval=length>1?(__cov_3t8wDvjOucpJBP6BEEqjTg.b['30'][0]++,true):(__cov_3t8wDvjOucpJBP6BEEqjTg.b['30'][1]++,false);__cov_3t8wDvjOucpJBP6BEEqjTg.s['112']++;return retval;},_repositionMask:function(nextElem){__cov_3t8wDvjOucpJBP6BEEqjTg.f['28']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['113']++;var currentModal=this.get('modal'),nextModal=nextElem.get('modal'),maskNode=this.get('maskNode'),bb,bbParent;__cov_3t8wDvjOucpJBP6BEEqjTg.s['114']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['32'][0]++,currentModal)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['32'][1]++,!nextModal)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['31'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['115']++;maskNode.remove();__cov_3t8wDvjOucpJBP6BEEqjTg.s['116']++;this.fire(MaskHide);}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['31'][1]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['117']++;if((__cov_3t8wDvjOucpJBP6BEEqjTg.b['34'][0]++,!currentModal)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['34'][1]++,nextModal)||(__cov_3t8wDvjOucpJBP6BEEqjTg.b['34'][2]++,currentModal)&&(__cov_3t8wDvjOucpJBP6BEEqjTg.b['34'][3]++,nextModal)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['33'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['118']++;maskNode.remove();__cov_3t8wDvjOucpJBP6BEEqjTg.s['119']++;this.fire(MaskHide);__cov_3t8wDvjOucpJBP6BEEqjTg.s['120']++;bb=nextElem.get(BOUNDING_BOX);__cov_3t8wDvjOucpJBP6BEEqjTg.s['121']++;bbParent=(__cov_3t8wDvjOucpJBP6BEEqjTg.b['35'][0]++,bb.get('parentNode'))||(__cov_3t8wDvjOucpJBP6BEEqjTg.b['35'][1]++,Y.one('body'));__cov_3t8wDvjOucpJBP6BEEqjTg.s['122']++;bbParent.insert(maskNode,bbParent.get('firstChild'));__cov_3t8wDvjOucpJBP6BEEqjTg.s['123']++;this.fire(MaskShow);}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['33'][1]++;}}},_resyncMask:function(e){__cov_3t8wDvjOucpJBP6BEEqjTg.f['29']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['124']++;var o=e.currentTarget,offsetX=o.get('docScrollX'),offsetY=o.get('docScrollY'),w=(__cov_3t8wDvjOucpJBP6BEEqjTg.b['36'][0]++,o.get('innerWidth'))||(__cov_3t8wDvjOucpJBP6BEEqjTg.b['36'][1]++,o.get('winWidth')),h=(__cov_3t8wDvjOucpJBP6BEEqjTg.b['37'][0]++,o.get('innerHeight'))||(__cov_3t8wDvjOucpJBP6BEEqjTg.b['37'][1]++,o.get('winHeight')),mask=this.get('maskNode');__cov_3t8wDvjOucpJBP6BEEqjTg.s['125']++;mask.setStyles({'top':offsetY+'px','left':offsetX+'px','width':w+'px','height':h+'px'});},_afterFocusOnChange:function(){__cov_3t8wDvjOucpJBP6BEEqjTg.f['30']++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['126']++;this._detachUIHandlesModal();__cov_3t8wDvjOucpJBP6BEEqjTg.s['127']++;if(this.get(VISIBLE)){__cov_3t8wDvjOucpJBP6BEEqjTg.b['38'][0]++;__cov_3t8wDvjOucpJBP6BEEqjTg.s['128']++;this._attachUIHandlesModal();}else{__cov_3t8wDvjOucpJBP6BEEqjTg.b['38'][1]++;}}};__cov_3t8wDvjOucpJBP6BEEqjTg.s['129']++;Y.WidgetModality=WidgetModal;},'patched-v3.18.1',{'requires':['base-build','event-outside','widget'],'skinnable':true});

Anon7 - 2022
AnonSec Team