d)return this.cn=!0}return!1}};return e});
define("lscAN","lscAI Inheritance Executor BrowserDetection EnvironmentStatus lscAJ Environment LoggerManager lscAj lscAe".split(" "),function(e,f,d,c,b,h,g,a,l,m){function k(){this._callSuperConstructor(k);this.i=!1;this.rb=this.Y=this.Zb=this.J=null;this.Fn=!1;this.V=k}function n(a){return function(){d.executeTask(a)}}var q=a.getLoggerProxy(m.Ya),p=g.isBrowser()?2:3,t=!0,u;g.isNodeJS()&&(u=l.qj("xmlhttprequest-cookie").XMLHttpRequest);var r=null;e.Yb(k,{sa:function(){if(null!==
r)return r;c.isProbablyIE(9,!0)?r=!1:"undefined"!=typeof XMLHttpRequest?"undefined"!=typeof(new XMLHttpRequest).withCredentials?r=!0:g.px()&&(r=!0):!g.isBrowser()&&u&&(r=!0);null===r&&(r=!1);return r},mf:function(){return!c.isProbablyOldOpera()&&!c.isProbablyPlaystation()},ua:!0,ta:!0,Wb:function(){return g.isNodeJS()?!0:"file:"!=m.fg?!0:g.isBrowserDocument()?!1:!0},Xb:!1,$b:!0});k.prototype={toString:function(){return["[|XSXHRConnection",this.i,this.J,this.Zb,"]"].join("|")},da:function(){if(this.i){q.logDebug(a.resolve(87));
this.J=null;if(this.Y)try{this.Y.abort()}catch(b){q.logDebug(a.resolve(88))}this.Ja()}},oa:function(b,c,g,e,f){if(this.i)return null;this.Y=u?new u:new XMLHttpRequest;this.rb=new h;g=d.packTask(this.Nm,this,[c,g,f,e]);this.Y.onreadystatechange=n(g);this.J=c;this.Zb=null;q.logDebug(a.resolve(89),b.Sa());try{this.Y.open(b.Ie,b.Sa(),!0);this.Y.withCredentials=b.tp;var k=b.Ll;if(k)for(var r in k)this.Y.setRequestHeader(r,k[r]);this.Y.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
this.Y.send(b.getData());this.i=!0}catch(l){return q.logDebug(a.resolve(90),l),!1}return!0},Nm:function(c,g,h,e){this.J!=c||b.isUnloaded()||(c=null,this.jf()&&g&&(3==this.Y.readyState?c=this.rb.Hn(this.Y.responseText):4==this.Y.readyState&&(c=this.rb.Gn(this.Y.responseText)),q.isDebugLogEnabled()&&q.logDebug(a.resolve(91),c),null!=c&&d.executeTask(g,[c,this.J])),4==this.Y.readyState&&(this.jf()||(this.Fn?(e&&d.executeTask(e,["status0",this.J,!1,t,!1]),t=!t,this.Fn=!1):g&&d.executeTask(g,[null,this.J])),
q.logDebug(a.resolve(92)),4!=this.Y.readyState&&""!=c||!h||d.addTimedTask(this.Af,100,this,[this.J,h]),this.Ja()))},Af:function(a,b){d.executeTask(b,[a])},Ja:function(){this.i=!1;this.J=null;this.Y&&(delete this.Y.onreadystatechange,delete this.Y)},jf:function(){try{if(null===this.Zb){if(this.Y.readyState=this.Y.status;0==this.Y.status&&(this.Fn=!0)}return this.Zb}catch(b){return q.logDebug(a.resolve(93),b),!1}}};f(k,e);return k});
define("lscAE","lscAI Inheritance Executor EnvironmentStatus lscAJ LoggerManager lscAe".split(" "),function(e,f,d,c,b,h,g){function a(){this._callSuperConstructor(a);this.i=!1;this.na=this.rb=this.J=null;this.mh=0;this.V=a}function l(a){return function(){d.executeTask(a)}}var m=h.getLoggerProxy(g.Ya),k=null;e.Yb(a,{sa:function(){return null!==k?k:k="undefined"!=typeof XDomainRequest?!0:!1},mf:!0,ua:!0,ta:!1,Wb:!1,Xb:!1,$b:!1});a.prototype={toString:function(){return["[|IEXSXHRConnection",
this.i,this.J,"]"].join("|")},da:function(){if(this.i){m.logDebug(h.resolve(94));this.J=null;if(this.na)try{this.na.abort()}catch(a){m.logDebug(h.resolve(95))}this.Ja()}},oa:function(a,c,g,e,f){if(this.i)return null;this.mh=0;this.na=new XDomainRequest;this.rb=new b;f=d.packTask(this.Az,this,[c,g,f,e]);var k=d.packTask(this.Ro,this,[c,e,"xdr.err"]);e=d.packTask(this.Ro,this,[c,e,"xdr.timeout"]);g=d.packTask(this.Vr,this,[c,g,!1]);this.na.onload=l(f);this.na.onerror=l(k);this.na.ontimeout=l(e);this.na.onprogress=
l(g);this.J=c;m.logDebug(h.resolve(96),a.Sa());try{this.na.open(a.Ie,a.Sa()),this.na.send(a.getData()),this.i=!0}catch(A){return m.logDebug(h.resolve(97),A),!1}return!0},Ro:function(a,b,g){this.J!=a||c.isUnloaded()||(m.logDebug(h.resolve(98)),d.executeTask(b,[g,a,!1,0==this.mh,!1]))},Vr:function(a,b,g){this.J!=a||c.isUnloaded()||(this.mh++,b&&(a=g?this.rb.Gn(String(this.na.responseText)):this.rb.Hn(String(this.na.responseText)),m.isDebugLogEnabled()&&m.logDebug(h.resolve(99),a),null!=a&&d.executeTask(b,
[a,this.J])))},Az:function(a,b,g,e){this.J!=a||c.isUnloaded()||(0==this.mh&&-1this.sender.readyState)return!1;this.Zb=200<=this.sender.status&&299>=this.sender.status}return this.Zb}catch(a){return m.logDebug(g.resolve(117),a),!1}},Fr:function(a){c.isUnloaded()||a!=this.a||!this.sender||4!=this.sender.readyState&&"complete"!=this.sender.readyState||(a=null,this.jf()&&(a=this.sender.responseText,a=a.toString(),"/*"==a.substring(0,
2)&&(a=a.substring(2,a.length-2))),m.isDebugLogEnabled()&&m.logDebug(g.resolve(118),a),this.response&&b.executeTask(this.response,[a,this.J]),b.addTimedTask(this.Af,100,this,[this.J]),this.Ja(),this.ri())},Af:function(a){b.executeTask(this.pp,[a])},xy:function(){c.isUnloaded()||(this.Mc.disable(),m.logDebug(g.resolve(119)),this.Ja(),this.error&&b.executeTask(this.error,["xhr.unknown",this.J,!1,!1,!1]),this.ri())},ri:function(){try{delete this.sender.onreadystatechange}catch(a){m.logDebug(g.resolve(120),
a)}try{delete this.sender}catch(a){m.logDebug(g.resolve(121),a)}this.response=this.error=null;this.Mc&&this.Mc.dismiss()},Ja:function(){this.i=!1;this.a++}};f(l,e);return l});
define("lscAM","lscAI lscAL Inheritance EnvironmentStatus Executor BrowserDetection lscAJ Environment LoggerManager lscAe".split(" "),function(e,f,d,c,b,h,g,a,l,m){function k(){this._callSuperConstructor(k);this.rb=null;this.V=k}var n=l.getLoggerProxy(m.Ya),q=null;e.Yb(k,{sa:function(){return null!==q?q:q=a.isBrowserDocument()?h.isProbablyIE()?!1:"undefined"!=typeof XMLHttpRequest?"undefined"!=typeof(new XMLHttpRequest).addEventListener:!1:!1},
mf:function(){return!h.isProbablyOldOpera()},ua:!1,ta:!1,Wb:!0,Xb:!1,$b:!0});k.prototype={toString:function(){return["[|XHRStreamingConnection",this.i,this.a,this.J,"]"].join("|")},oa:function(a,b,c,d,h){a=this._callSuperMethod(k,this.Yh,[a,b,c,d,h]);n.logDebug(l.resolve(122));a&&(this.rb=new g);return a},Fr:function(a){!c.isUnloaded()&&a==this.a&&this.sender&&(a=null,this.jf()&&this.response&&(3==this.sender.readyState?a=this.rb.Hn(this.sender.responseText):4==this.sender.readyState&&(a=this.rb.Gn(this.sender.responseText)),
n.isDebugLogEnabled()&&n.logDebug(l.resolve(123),a),null!=a&&b.executeTask(this.response,[a,this.J])),4==this.sender.readyState&&(!this.jf()&&this.response&&b.executeTask(this.response,[null,this.J]),n.isDebugLogEnabled()&&n.logDebug(l.resolve(124)),4!=this.sender.readyState&&""!=a||!this.pp||b.addTimedTask(this.Af,100,this,[this.J]),this.Ja(),this.ri()))}};d(k,f);return k});
define("lscAg",["Executor","IFrameHandler","Global","BrowserDetection","lscAj"],function(e,f,d,c,b){function h(a){this.Ml=a;this.ready=!1;this.wm=b.Gc();this.Cp=this.Ei=!1;this.kj=-1;this.Fp=a=b.Mj(this.jq()+"_"+this.wm);e.addTimedTask(this.zu,3E3,this);var c="about:blank";this.nj()&&(this.kj=++g,c=d.ra(this.kj,"EQCallback_"+a,this.Nw(),"Q"),c="javascript:(function(){document.open();"+("document.domain\x3d'"+b.Gc()+"';")+("parent."+c+"(window);")+"document.close();})()");try{this.dc=f.getFrameWindow(a,
!0,c),this.ay()?e.addTimedTask(this.Bl,1,this):this.nj()||this.Bl()}catch(h){}}var g=0;h.prototype={iq:function(){return null},verify:function(){return!0},G:function(){e.addTimedTask(f.disposeFrame,0,f,[this.Fp]);null!==this.kj&&d.pi(this.kj,"EQCallback_"+this.Fp,"Q");this.Cp=!0},Xf:function(){return this.Ei||this.Cp?!1:b.Gc()==this.wm?!0:this.Em()?!1:!0},za:function(){return this.ready},Bl:function(){var a=this.iq();this.nj()?this.dc.document.write("\x3cscript\x3edocument.domain\x3d'"+this.wm+"';\x3c/script\x3e"):
c.isProbablyOldOpera()&&!a||this.dc.document.open();a&&this.dc.document.write(a);this.nj()||c.isProbablyOldOpera()&&!a||this.dc.document.close();this.ready=this.verify()},Nw:function(){var a=this;return function(b){a.dc=b;a.Bl()}},nj:function(){return c.isProbablyIE()&&!b.gm()},Em:function(){return c.isProbablyIE()||c.isProbablyOldOpera()||c.isProbablyKonqueror(4.4,!0)},ay:function(){return c.isProbablyKonqueror()},Ht:function(a,b){this.Ei=!0;this.Ml&&(this.Ml.Lb=[a,b],e.executeTask(this.Ml))},zu:function(){this.ready||
this.Ht(5)}};return h});
define("lscAG","LoggerManager Executor lscAg Inheritance Dismissable lscAe Helpers".split(" "),function(e,f,d,c,b,h,g){function a(b,c){this.Nt=b;this._callSuperConstructor(a,[c]);this.Ag=null;this.initTouches()}function l(a,b,c){try{a.appendChild(b),b.src=c}catch(g){}}var m=e.getLoggerProxy(h.Ya);a.prototype={toString:function(){return"[JSONPFrame]"},iu:function(a,b){try{var c=this.Sv();if(!c)return c;var g=this.dc.document.createElement("script");g.id=a;g.type="text/javascript";f.addTimedTask(l,
50,null,[c,g,b])}catch(d){return m.logDebug(e.resolve(125),d),!1}return!0},Wu:function(a){var b=this.dc.document.getElementById(a);f.addTimedTask(function(){b&&b.parentNode&&b.parentNode.removeChild(b)},4E3)},clean:function(){this.G()},Sv:function(){if(this.Ag)return this.Ag;this.Ag=this.dc.document.getElementsByTagName("BODY")[0];if(!this.Ag){if(this.ec)return 2E3=A){D.logDebug(m.resolve(139));l.addTimedTask(this.ul,3E3,this,[a,c,"offline"]);return}A--;0==A&&l.addTimedTask(u,2E4,null,[y])}a=this.Jp(c,this.ul,b);null!==a&&(a?this.tl():!1===a&&(D.logWarn(m.resolve(138)),this.la("no_impl_available",!0,!1,!1,!0)))}},Md:function(a){if(!this._callSuperMethod(t,r.bindSession,[a]))return!1;this.Je&&this.Je.da();this.vv();this.ii(this.ma,a);return!0},vv:function(){if(!n.isLoaded()&&
(null===this.b.ak&&(k.isProbablyAndroidBrowser()||k.isProbablyApple())||!0===this.b.ak)){var a=this.Le,b=this;n.addOnloadHandler(function(){l.addTimedTask(function(){a==b.Le&&b.a==d.vt&&b.Ii("spinfix")},b.b.Cn)})}},ii:function(a,c){if(a==this.ma){this.lj||this.P||(this.lj=new b);var g=this.Jp(null,this.ii,c);null!==g&&(g?this.tg():!1!==g||this.P||this.Qc(this.R,"streaming.unavailable"))}},ae:function(){this.a!=d.Ak&&this.a!=d.Dd&&this.a!=d.yk&&(0a},Od:function(a){this.c=a},Xl:function(){return null!=this.Ia&&02*this.Ia&&(this.Wg=!this.Wg))return a.logInfo(e.resolve(158)),7E3this.Ia)return this.Ia=
0,a.logDebug(e.resolve(161)),!1;if(this.nx(7E3))return a.logInfo(e.resolve(159)),!0;a.logDebug(e.resolve(162));return!1}};return h});
define("lscH",["LoggerManager","lscG","ASSERT","lscAe"],function(e,f,d,c){function b(b){this.sb=[];this.keys={};this.hi=b;this.Xx=0}var h=e.getLoggerProxy(c.ig);b.prototype={toString:function(){return["[|ControlRequestBatch",this.hi,this.sb.length,"]"].join("|")},Ko:function(b,a){this.keys[b]=a;this.sb.push(b)},Ke:function(b,a){var c=b.og;if(c==f.Be||c==f.ad||c==f.ze){if(this.hi!=c)return h.logError(e.resolve(163),this),d.fail(),!1;this.Ko(this.Xx++,b);return!0}if(this.hi!=
f.Nh)return h.logError(e.resolve(164),this),d.fail(),!1;var m;switch(c){case f.rk:m="C";break;case f.tk:m="F";break;case f.ko:m="X"+b.getKey();break;default:m=b.getKey()}var k=this.keys[m];h.logDebug(e.resolve(168),this,m,b);if(k){if(c==f.rk||c==f.tk){a||(h.logDebug(e.resolve(169)),this.In(m,b));return}if(c==f.xk){k.qe?(h.logDebug(e.resolve(170)),a||this.In(m,b)):k.og==f.xk?h.logDebug(e.resolve(171)):(h.logDebug(e.resolve(172)),d.verifyNotOk(a)||h.logError(e.resolve(165),this),a||this.tz(m));return}if(c==
f.Ed){for(;k&&b.qe!=k.qe;)h.logDebug(e.resolve(173)),m+="_",k=this.keys[m];if(k){h.logDebug(e.resolve(174));return}}else{a||(h.logDebug(e.resolve(175)),this.In(m,b));return}}h.logDebug(e.resolve(176));this.Ko(m,b)},getLength:function(){return this.sb.length},In:function(b,a){this.keys[b]=a},hn:function(b){if(this.sb.length<=b)return h.logError(e.resolve(166)),null;var a=this.sb[b];this.sb.splice(b,1);b=this.keys[a];delete this.keys[a];return b},tz:function(b){if(!this.keys[b])return h.logError(e.resolve(167)),
null;for(var a=0;a=this.sb.length?null:this.keys[this.sb[b]]},$e:function(){return this.hi}};return b});
define("lscF","lscG lscH LoggerManager lscAH Executor lscz lscAe ASSERT".split(" "),function(e,f,d,c,b,h,g,a){function l(){this.a=this.request=this.Bc=this.xa=null}function m(a,b,c,g){this.im=this.wi=this.gj=this.sl=this.zm=this.Fa=this.bc=null;this.qh=this.Mb=0;this.a=this.status=this.N=1;this.Lh=0;this.u=null;this.rv=!1;this.rc=a;this.b=b;this.Kl=c;this.X=null;this.Of(g);this.sc()}var k=d.getLoggerProxy(g.ig),n={1:"IDLE",2:"STAND BY",
3:"WAITING RESP"};m.prototype={toString:function(){return["[|ControlConnectionHandler",n[this.status],this.u,this.qh,"]"].join("|")},lA:function(a){this.qh=a;k.logDebug(d.resolve(194),this)},IA:function(a){this.Mb=a;k.logInfo(d.resolve(184),this);1==this.status&&this.ts(this.N)},ts:function(a){1==this.status&&this.N==a&&0!=this.Mb&&(k.logDebug(d.resolve(195),this),this.uc(null,"",e.ze))},Qs:function(){k.logInfo(d.resolve(185),this);this.Mb=0},Of:function(a){this.bc=new h(h.kt,!1,!this.b.ti||a);this.Fa=
null},da:function(){k.logDebug(d.resolve(196));this.Fa&&this.Fa.da()},ia:function(a){this.N++;1==a&&0c;){c++;this.ia(2);k.logDebug(d.resolve(202),b,this);var g=null;null!=
this.u?(k.logDebug(d.resolve(203)),g=this.rs(this.u)):(k.logDebug(d.resolve(204)),g=this.Cz());if(1==g)k.logInfo(d.resolve(187)),this.u=null;else{if(2==g){k.logInfo(d.resolve(188));this.Ac(200,"later");return}if(3==g){k.logWarn(d.resolve(181));this.u&&this.u.Gm(!0);this.u=null;this.Ac(!1,"no");return}if(4==g){k.logInfo(d.resolve(189));this.ia(3);this.u.Gm();this.Ac(4E3,"http");return}if(5==g)k.logInfo(d.resolve(190)),this.ia(3),this.u.Gm(),this.u=null,this.ia(1);else{k.logInfo(d.resolve(191));this.da();
this.ia(1);return}}}this.Ac(!1,"limit")}},Cz:function(){for(var a=0;a=a.getLength()))if(this.xa=new f(a.$e()),this.request=this.Bc.Zw(a,g,h),g="",h=this.Bc.encode(a,c,!0),null===h)this.request=this.xa=null;else{var e=this.Bc.Zl(this.request.getFile()),l=this.Bc.bm(h)+h.length;0b&&k.logWarn(d.resolve(183),g);do g+=h,this.xa.Ke(a.shift()),e+=l,0=this.getLength()},Gm:function(a){for(var c=0,g=null;g=this.xa.em(c);)(g=g.Mi())&&b.addTimedTask(g.Nc,0,g,[a]),c++}};return m});
define("lscJ",["Inheritance","lscN","lscAj"],function(e,f){function d(b,c,a,e,f,k,n){this._callSuperConstructor(d,[c]);this.rn=e;this.Oc=f;this.Nj=k;this.a=a;this.rc=b;this.nB=n}var c,b;for(b in{Nc:!0})c=b;d.prototype={Nc:function(b){this._callSuperMethod(d,c,[b]);b||(this.rc.Jz(this.Nj,this.Oc),this.nB||this.rc.gy(this.Nj,this.Oc))},verifySuccess:function(){return this.rc.xu(this.a)&&this.rn.I[this.Oc]&&null!=this.rn.I[this.Oc].nh?!1:!0},Ue:function(){this.rc.zz(this.Oc,this)},$g:function(){}};
e(d,f);return d});
define("lscK",["lscJ","lscG","LoggerManager","lscAe"],function(e,f,d,c){function b(b,a,c){this.active=!1;this.ij=0;this.td={};this.ye={};this.Xs=0;this.W=b;this.ca=a;this.Oe=c}var h=d.getLoggerProxy(c.ig);b.prototype={da:function(){this.active=!1;this.td={};this.Xs=0;this.ye={};this.ij++;h.logDebug(d.resolve(218))},Gk:function(){h.logDebug(d.resolve(219));if(!this.active){for(var b in this.td){var a=this.td[b],c;for(c in a.I){var f=a.I[c].nh;if(null!=f){var k=
new e(this,this.Oe,this.ij,a,c);this.qn(c,f,k)}}}this.active=!0}},mg:function(b,a,f,m){h.logDebug(d.resolve(220));var k=this.td[a];null==k&&(k={wf:0,I:{}},this.td[a]=k);k.wf++;b={LS_message:b};var n=!1;f&&(b.LS_outcome="",n=!0);a!=c.qc&&(b.LS_sequence=encodeURIComponent(a),n=!0,m&&(b.LS_max_wait=m));n&&(b.LS_ack="",b.LS_msg_prog=a==c.qc?this.Qx(k.wf):k.wf);m={};m.nh=b;m.listener=f;k.I[k.wf]=m;this.active&&(h.logDebug(d.resolve(221),b),a=new e(this,this.Oe,this.ij,k,k.wf,a,n),this.qn(k.wf,b,a))},Qx:function(b){var a=
++this.Xs;this.ye[a]=b;return a},rh:function(b){return this.ye[b]?this.ye[b]:b},qz:function(b){for(var a in this.ye)if(this.ye[a]==b){delete this.ye[a];break}},xu:function(b){return b==this.ij},zz:function(b,a){var c=a.rn.I[b].nh;h.logDebug(d.resolve(222),c);this.qn(b,c,a)},qn:function(b,a,c){this.W.uc(b,a,f.Be,c)},Xt:function(b,a){a=b==c.qc?this.rh(a):a;h.logInfo(d.resolve(213),b,a);var e=this.td[b];e.I[a]&&(null!=e.I[a].nh&&(h.logDebug(d.resolve(223)),e.I[a].nh=null),null==e.I[a].listener&&(h.logDebug(d.resolve(224)),
this.He(b,a)))},gy:function(b,a){h.logDebug(d.resolve(225),b,a);this.He(b,a)},He:function(b,a){h.logDebug(d.resolve(226));var e=this.td[b];e&&e.I[a]&&(delete e.I[a],b==c.qc&&this.qz(a))},mb:function(b,a){var c=this.td[b];return c&&c.I[a]&&c.I[a].listener?c.I[a].listener:null},Jz:function(b,a){h.logDebug(d.resolve(227),b,a);var c=this.mb(b,a);if(c){var e=this.ca.cf(c.pd);e&&e.Br(c.lh)}},Dt:function(b,a){a=b==c.qc?this.rh(a):a;h.logInfo(d.resolve(214),b,a);var e=this.mb(b,a);if(e){var f=this.ca.cf(e.pd);
f&&f.zr(e.lh)}this.He(b,a)},iy:function(b,a){a=b==c.qc?this.rh(a):a;h.logInfo(d.resolve(215),b,a);var e=this.mb(b,a);if(e){var f=this.ca.cf(e.pd);f&&f.ke(e.lh)}this.He(b,a)},hy:function(b,a,e,f){f=b==c.qc?this.rh(f):f;h.logInfo(d.resolve(216),b,f);var k=this.mb(b,f);if(k){var n=this.ca.cf(k.pd);n&&n.Ar(k.lh,a,e)}this.He(b,f)},ky:function(b,a,e,f){f=b==c.qc?this.rh(f):f;h.logInfo(d.resolve(217),b,f);var k=this.mb(b,f);if(k){var n=this.ca.cf(k.pd);n&&n.Ef(k.lh,a,e)}this.He(b,f)}};return b});
define("lscj",["LoggerManager","Executor","Global","ASSERT","lscAe"],function(e,f,d,c,b){function h(a){this.Kl=a;this.lb=[];this.Eq=!1;this.lsc={};this.lsc.LS_window=d["_"+a];this.lsc.window=this.lsc.LS_window;this.Vu=this.Cv(this.lsc)}var g=e.getLoggerProxy(b.Ya);h.prototype={toString:function(){return"[EvalQueue|"+this.lb.length+"]"},Cv:function(){eval("var lsc \x3d arguments[0]");return function(a){with(lsc)eval(a)}},zo:function(a,b){this.Xf()&&(this.lb.push({p:a,d:b}),g.isDebugLogEnabled()&&
g.logDebug(e.resolve(229)),f.addTimedTask(this.vi,0,this))},Od:function(a){this.c=a},vi:function(){for(g.isDebugLogEnabled()&&g.logDebug(e.resolve(230),this.lb.length);0=b[c].indexOf("_")&&this.wu(b[c])},al:function(a,b,c){if(!b){b=a.split("_");if(2!=b.length)return!1;a=b[0];b=b[1]}var d=this.ba.Nf(b,a);return d?c?c-d[h.Uh]>k?(this.ba.el(b,a),!1):!0:!0:!1},wu:function(a){for(var b=this.ba.gn(a),c=0;cd.De||c++;return c},Yr:function(){this.cj=a.getTimeStamp()+this.Sp;this.ba.qB(this.w,this.id,[this.cj,this.Ra,this.host,d.qk,d.fg,this.ug])},oz:function(){if(this.bn)r.logDebug(k.resolve(287)),this.bn=!1;else{var b=!1;if(this.Jn){r.logDebug(k.resolve(288),this);var c=this.ba.gn(this.w);if(c){r.logDebug(k.resolve(290),
this.w);for(var g=0;gthis.cj?b|=this.cy(c[g],e[D]):this.Zg[c[g]]&&delete this.Zg[c[g]]):r.logDebug(k.resolve(291),c[g])}}else r.logDebug(k.resolve(289),this)}b||(r.logDebug(k.resolve(293)),this.ba.Hk(this.w,this.id),this.Yr())}},cy:function(a,b){r.logDebug(k.resolve(294),a,b);if(this.Zg[a]){if(this.Zg[a]==b||this.dv[a])return!1;r.logInfo(k.resolve(285));
this.lv()}this.Zg[a]=b;return!0},lv:function(){this.clean();this.Jn&&f.executeTask(this.Jn)},$q:function(){this.ba.el(this.w,this.id);this.ba.ph(this.w,this.id);this.bn=!0},clean:function(){r.logInfo(k.resolve(286),this);f.stopRepetitiveTask(this.Qn);f.stopRepetitiveTask(this.ck);this.ck=this.Qn=null;this.Ra!=d.Vb?m.disposeFrame(this.Ra):this.ug!=d.Vb&&q.wz(this.ug);this.ug=this.Ra=d.Vb;this.bs(this.Rd);this.w&&e.uz(this.w,this.o);this.K&&(e.pi(this.id,d.Rh),e.pi(this.id,d.Vh));this.K=null;this.$q()},
unloadEvent:function(){this.clean()},preUnloadEvent:function(){this.$q()},G:function(){this.clean();l.removeBeforeUnloadHandler(this);l.removeUnloadHandler(this);c.stop(this.yv)}};u.prototype.unloadEvent=u.prototype.unloadEvent;u.prototype.preUnloadEvent=u.prototype.preUnloadEvent;return u});
define("lscU",["Executor","lscAe","lscAj","lscAi"],function(e,f,d){function c(c,d,a){this.Wr=c;this.target=a;this.id=b++;this.buffer=[];this.ready=!1;this.qd={};this.ey=0;d&&this.Pz(d)}var b=0;c.prototype={Pz:function(b){this.K=b;b.addListener(this);if(b.za())this.onReady()},G:function(b){this.K&&!b&&this.K.G()},onListenStart:function(){if(this.K.za())this.onReady()},onReady:function(){if(!this.ready){this.ready=!0;for(var b=0;bg-h&&(r=!1);window.SymRealWinOpen&&r?(h++,u=window.SymRealWinOpen(f,c,"height\x3d100,width\x3d100",!0)):(a||(a=!0,m.logWarn(e.resolve(295))),h=0,u=null)}else u=window.open(f,c,"height\x3d100,width\x3d100",!0);t=u}catch(A){t=null}}catch(A){m.logDebug(e.resolve(297),A);f=!1;break a}if(t)try{g++}catch(A){l=!0}f=t}}if(!1===f)return m.logDebug(e.resolve(298)),!1;if(!f)return m.logDebug(e.resolve(299)),
!0;m.logDebug(e.resolve(300));this.br(f,c,d);return!0},br:function(a,b,c){try{m.logDebug(e.resolve(301));if(a.closed)return m.logDebug(e.resolve(302)),!1;var d=a;if(c){if(a==a.top&&!a.Lightstreamer){m.logDebug(e.resolve(303));try{a.name!=b&&a.name!=b+"__TRASH"||a.close()}catch(g){m.logDebug(e.resolve(304),g)}return!1}d=a.parent;if(null==d)return m.logDebug(e.resolve(305)),!1}if(!d.Lightstreamer)return m.logDebug(e.resolve(306)),!1;if(!d.Lightstreamer.gt)return m.logDebug(e.resolve(307)),!1;m.logDebug(e.resolve(308));
this.Xr=d;k[b]=a}catch(g){return m.logDebug(e.resolve(309),g),!1}return!0}};return c});define("lscV",["Promise","lscAh"],function(e,f){function d(b){this.Ra=b}var c={};d.prototype={vw:function(){if(c[this.Ra])return e.resolve(null);var b=new f;return b.Lx(this.Ra,!0)?(b=b.Xr,null==b?(c[this.Ra]=!0,e.resolve(null)):e.resolve(b)):e.resolve(null)}};return d});
define("lscAT","LoggerManager Global lscAe Promise Helpers Executor lscAP lscAQ lscAS lscAW lscT lscW lscV".split(" "),function(e,f,d,c,b,h,g,a,l,m,k,n,q){function p(a,b){var c=m.qq();c.el(b,a);c.ph(b,a)}function t(a,b,c,g,e,h,f){this.w=b;this.Nx=e;this.an=c;this.Or=g;this.te=h;this.Qg=0;this.xg={};this.re=0;this.client=a;this.ln=!1;this.rg=f||d.it;this.oj=this.ok=null;this.pj=!1}var u=e.getLoggerProxy(d.Gd);t.Ho=0;t.prototype=
{stop:function(){u.logInfo(e.resolve(311));this.re++;this.ln||this.Bk()},find:function(a){u.logInfo(e.resolve(312));this.xg=a||{};a=this.Mt();this.Id(this.re,!1);return a},Ul:function(){return this.xg},wo:function(a){this.ln=!0;this.ok(a);this.stop()},Bk:function(){this.ln=!0;this.oj();this.stop()},Co:function(){this.pj=!0},Do:function(){this.Or==l.Ph?(u.logInfo(e.resolve(313)),this.wo(null)):this.Or==l.vo?(u.logInfo(e.resolve(314),1E3),h.addTimedTask(this.Id,1E3,this,[this.re,!1])):(u.logInfo(e.resolve(315)),
this.Bk())},Zh:function(b,c,d){this.an==l.cg?(u.logInfo(e.resolve(316)),this.Bk()):this.an!=l.eg?(u.logInfo(e.resolve(317)),1==b?(b=new g(this.client),c.So(b)):(b=2==b?new k:new n,b.start(c),b=new a(this.client,b)),b.Cs(d),this.wo(b)):(u.logInfo(e.resolve(318)),this.stop())},Id:function(a,b){if(this.re==a){a=++this.re;u.logDebug(e.resolve(322));var c=f.zq(this.w);if(c)u.logDebug(e.resolve(323)),this.Zh(1,c,c.kd());else if(this.Nx)u.logDebug(e.resolve(324)),this.Do();else if(this.te){u.logDebug(e.resolve(325));
try{var g=this.te.Lightstreamer,l=g.zq(this.w);u.logDebug(e.resolve(326)+l+" ("+this.w+").");if(null!=l){var k=l.kd();if(g.Ui(k,d.Vh)){this.Zh(3,g.lq(k,d.Vh),k);return}if(g.Ui(k,d.Rh)){this.Zh(2,g.lq(k,d.Rh),k);return}}else 1==b&&this.Co()}catch(m){u.logDebug(e.resolve(327)+m)}this.te=null;this.Id(this.re,!1)}else{u.logDebug(e.resolve(328));var v=this,n=++this.Qg;h.addTimedTask(function(){n==v.Qg&&v.Qg++},d.xt);t.Ho++;this.Ck(this.Qg).then(function(b){t.Ho--;if(a==v.re)if(u.logDebug(e.resolve(329)),
null==b)u.logDebug(e.resolve(330)),v.Do();else{u.logInfo(e.resolve(319));var c=b.values,g=c[d.io],h=c[d.nt];if(g!==d.Vb)try{u.logDebug(e.resolve(331)),v.Zh(3,g,b.id)}catch(f){v.Id(a,!1)}else h!==d.Vb?(u.logDebug(e.resolve(332)),b=(new q(h)).vw(),null!=b?b.then(function(b){(v.te=b)||v.Co();v.Id(a,!0)}):v.Id(a,!1)):(u.logInfo(e.resolve(320),c),v.Id(a,!1))}})}}},Mt:function(){var a=this;return new c(function(b,c){a.ok=b;a.oj=c})},Ck:function(a,g){if(this.Qg!=a)return c.resolve(null);var f=this,k=d.De,
q=d.De+d.to,t=m.qq();return new c(function(c){if(g)for(var m in g){var n=t.Nf(f.w,m);if(n&&n[d.Uh]!=g[m]){f.xg[m]=!0;c({id:m,values:n});return}}var G={};if(m=t.gn(f.w))for(var I=!1,w=0;wn.length)p(m[w],f.w),u.logDebug(e.resolve(333),m[w]);else if(n[d.jo]!=d.qk||n[d.so]!=d.fg)u.logDebug(e.resolve(334),n);else{var z=b.getTimeStamp(),F=parseInt(n[d.Uh]),z=z-F,E=n[d.io]!=d.Vb||f.an==l.Qh;if(z<=(E?k:q)){if(E){f.xg[m[w]]=!0;c({id:m[w],values:n});return}I=
!0;G[m[w]]=F}else E&&z<=q?(I=!0,G[m[w]]=F):6E4=this.ha.fd||(a?b=1E4:(b=200+500*e.randomG(this.ha.fd),5E3=this.getLength())){if(0==this.xo.Gb().indexOf("CONNECTED")){var c=this.ov();if(this.xo.uh(c)){this.reset();
this.waiting=!1;return}}this.waiting&&b||(this.waiting=!0,d.addTimedTask(this.Ao,2E3,this))}},ov:function(c,d){var a=this._callSuperMethod(b,"extractLog",["LS_log"]),a=a.split("LS_log");d="LS_log";for(var e={},f=0;f=b||b>this.ja.$l()+1)throw new f("the specified field position is out of bounds");return b+1},qw:function(){return this.Bd.length-2},Yv:function(b){return this.ja.getName(b)}};
c.prototype.getItemName=c.prototype.cm;c.prototype.getItemPos=c.prototype.Ni;c.prototype.getValue=c.prototype.getValue;c.prototype.isValueChanged=c.prototype.Vq;c.prototype.isSnapshot=c.prototype.yx;c.prototype.forEachChangedField=c.prototype.forEachChangedField;c.prototype.forEachField=c.prototype.Up;return c});
define("lscZ",[],function(){function e(){this.Pb=null;this.pb=0}e.prototype={Ls:function(e){this.Pb=e},$l:function(){return this.Pb?this.pb+this.Pb.pb:this.pb},vd:function(e){this.pb=e}};return e});
define("lsca",["Inheritance","lscZ"],function(e,f){function d(c){this._callSuperConstructor(d);this.list=c;for(var b={},e=0;ethis.pb&&this.Pb?this.Pb.getName(c-this.pb):this.list[c-1]||null},Hc:function(){return this.list}};e(d,f);return d});
define("lscb",["Inheritance","lscZ"],function(e,f){function d(c){this._callSuperConstructor(d);this.name=c}d.prototype={Vl:function(){return this.name},Yd:function(c){return this.Pb?(c=this.Pb.Yd(c),null!==c?c+this.pb:null):null},getName:function(c){return this.Pb?this.Pb.getName(c-this.pb):null},Hc:function(){return this.name}};e(d,f);return d});
define("Subscription","lscAa lscAZ lsca lscb Inheritance Setter Matrix Executor lscAe EventDispatcher IllegalArgumentException IllegalStateException LoggerManager lscAj ASSERT Helpers".split(" "),function(e,f,d,c,b,h,g,a,l,m,k,n,q,p,t,u){function r(a,b,c){this._callSuperConstructor(r);a=(new String(a)).toUpperCase();if(!a||!D[a])throw new k("The given value is not a valid subscription mode. Admitted values are MERGE, DISTINCT, RAW, COMMAND");
this.cd=a;this.ja=this.Dc=this.Cb=this.Jb=this.nf=this.pf=null;this.fc="RAW"===a?null:"yes";this.Ij=this.Xc=this.ui=this.ai=this.yo=this.ng=this.pe=this.fb=null;this.ge=new g;this.Pc=new g;this.f=null;this.Va=1;this.WA=0;this.bd=null;this.On=0;this.Cm=null;this.Lj=this.sj=0;this.behavior=this.cd==l.dg?2:1;this.Vn=this.keyCode=this.$a=null;this.yd=new g;this.Eh=this.ue=this.xd=null;this.QA=l.vk;if(b){if(!c||!u.isArray(c))throw new k("Please specify a valid field list");u.isArray(b)?this.Ah(b):this.Ah([b]);
this.Tj(c)}else if(c)throw new k("Please specify a valid item or item list");}function A(a){for(var b=0;b=a||a>(c?b.$l():b.pb)?!1:a},Sr:function(){this.behavior=null==this.Eh?2:3},gv:function(a){this.dispatchEvent("onEndOfSnapshot",[this.Jb.getName(a),a])},Eu:function(a){var b=this.Jb.getName(a);2==this.behavior?this.Pc=new g:3==this.behavior&&(this.Pc=new g,this.rz(a));this.dispatchEvent("onClearSnapshot",[b,a])},Ox:function(a,b){this.dispatchEvent("onItemLostUpdates",[this.Jb.getName(a),a,b])},FA:function(a,b){this.dispatchEvent("onCommandSecondLevelItemLostUpdates",[b,a])},
Kz:function(a,b){this.dispatchEvent("onSubscriptionError",[a,b])},GA:function(a,b,c){this.dispatchEvent("onCommandSecondLevelSubscriptionError",[a,b,c])},update:function(a,b,c){t.verifyValue(4,this.Va);var d=a[1],g=new String(d);1!=this.behavior&&(g=this.Zy(a,d,c));3!=this.behavior||c||this.Sw(a);1==this.behavior?this.$s(this.ge,d,a,!0):this.$s(this.Pc,g,a,!0);a=new f(this.Jb.getName(d),d,this.ja,b,a);this.dispatchEvent("onItemUpdate",[a]);"DELETE"==this.Pc.get(g,this.$a)&&this.Pc.delRow(g)},$s:function(a,
b,c,d){var g=c.length-2,e=1,h=2;for(c.Un={};e<=g;e++,h++)c[h]!==B?a.insert(c[h],b,e):d&&(c[h]=a.get(b,e),c.Un[h]=!0)},Zy:function(a,b,c){var d;if("undefined"==typeof a[this.keyCode+1]||"undefined"==typeof a[this.$a+1])return x.logWarn(q.resolve(351)),null;d=a[this.keyCode+1]==B?b+" "+this.ge.get(b,this.keyCode):b+" "+a[this.keyCode+1];if(c)a[this.keyCode+1]=B,a[this.$a+1]==this.Pc.get(d,this.$a)?a[this.$a+1]=B:(a.yc.push(this.$a),a.yc.sort(y));else{a.yc=[];for(c=2;ca.length))for(c=a.length;c=this.xe.length)throw"No tests to run";this.hr()},hr:function(){this.Uc++;this.Uc>=this.xe.length?(this.Uc=-1,this.dispatchEvent("onAllTestComplete",[d.getFailures()])):(this.dispatchEvent("onTestStart",
[this.Uc,this.xe[this.Uc]]),this.xe[this.Uc].start())},onTestCompleted:function(){this.dispatchEvent("onTestEnd",[this.Uc,this.xe[this.Uc]]);this.hr()}};c.prototype.onTestCompleted=c.prototype.onTestCompleted;c.prototype.start=c.prototype.start;c.prototype.pushTest=c.prototype.pushTest;c.prototype.size=c.prototype.size;e(c,f,!0);return c});
define("IllegalStateException",[],function(){function e(e){this.name="IllegalStateException";this.message=e}e.prototype={toString:function(){return["[",this.name,this.message,"]"].join("|")}};return e});
define("Environment",["IllegalStateException"],function(e){var f="undefined"!==typeof window&&"undefined"!==typeof navigator&&"undefined"!==typeof document,d="undefined"!==typeof importScripts,c="object"==typeof process&&(/node(\.exe)?$/.test(process.execPath)||process.node&&process.v8||process.versions&&process.versions.node&&process.versions.v8);if(f&&!document.getElementById)throw new e("Not supported browser");var b={isBrowserDocument:function(){return f},isBrowser:function(){return!c&&(f||d)},
isNodeJS:function(){return!f&&c},isWebWorker:function(){return!f&&!c&&d},px:function(){return!f&&!c&&!d},browserDocumentOrDie:function(){if(!this.isBrowserDocument())throw new e("Trying to load a browser-only module on non-browser environment");}};b.isBrowserDocument=b.isBrowserDocument;b.isBrowser=b.isBrowser;b.isNodeJS=b.isNodeJS;b.isWebWorker=b.isWebWorker;b.browserDocumentOrDie=b.browserDocumentOrDie;return b});
define("BrowserDetection",["Environment"],function(e){function f(b){var c=g;return function(){null===c&&(c=-1=g:d==g:!0:!1}}function b(b){var c=g;return function(){if(null===c){var d=b.exec(a);if(d&&2<=d.length)return d[1]}return null}}function h(a){return function(){return!a()}}
var g=e.isBrowser()?null:!1,a=e.isBrowser()?navigator.userAgent.toLowerCase():null,l=g;e={isProbablyRekonq:f("rekonq"),isProbablyAWebkit:f("webkit"),isProbablyPlaystation:f("playstation 3"),isProbablyChrome:c(f("chrome/"),b(RegExp("chrome/([0-9]+)","g"))),isProbablyAKhtml:function(){null===l&&(l=document.childNodes&&!document.all&&!navigator.SB&&!navigator.DB);return l},isProbablyKonqueror:c(f("konqueror"),b(RegExp("konqueror/([0-9.]+)","g"))),isProbablyIE:function(a,d){return c(f("msie"),b(RegExp("msie\\s([0-9]+)[.;]",
"g")))(a,d)?!0:11==a?f("rv:11.0")():!1},ux:f("Edge"),isProbablyFX:c(f("firefox"),b(/firefox\/(\d+\.?\d*)/)),isProbablyOldOpera:c(function(){return"undefined"!=typeof opera},function(){if(opera.version){var a=opera.version(),a=a.replace(RegExp("[^0-9.]+","g"),"");return parseInt(a)}return 7})};e.isProbablyAndroidBrowser=d([f("android"),e.isProbablyAWebkit,h(e.isProbablyChrome)]);e.isProbablyOperaMobile=d([e.isProbablyOldOpera,f("opera mobi")]);e.isProbablyApple=c(d([f("safari"),function(a){var b=g;
return function(){if(null===b){b=!1;for(var c=0;ce)return!1;this.data.splice(e,1);return!0},contains:function(e){return 0<=this.find(e)},find:function(e){for(var d=0;d=m.length&&(t=0);0=n&&(n=k+108E5,m=[].concat(m))}}var l=!1,m=[],k=e.getTimeStamp(),n=k+108E5,q=[],p=null,t=
0,u=!d.isBrowserDocument()||"http:"!=document.location.protocol&&"https:"!=document.location.protocol?"*":document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""),r=c,A=!1,y={toString:function(){return["[","Executor",50,m.length,"]"].join("|")},getQueueLength:function(){return m.length},packTask:function(a,b,c){return{Ze:a,context:b||null,Lb:c||null,Vm:t++}},addPackedTimedTask:function(a,b,c){a.step=c?b:null;a.time=k+parseInt(b);if(isNaN(a.time))try{throw Error();
}catch(d){throw a="Executor error for time: "+b,d.stack&&(a+=" "+d.stack),a;}m.push(a);l=!0},addRepetitiveTask:function(a,b,c,d){return this.addTimedTask(a,b,c,d,!0)},stopRepetitiveTask:function(a){a&&(a.Ze=null,a.step=null)},addTimedTask:function(a,b,c,d,g){a=this.packTask(a,c,d);this.addPackedTimedTask(a,b,g);0!=b||A||(A=!0,r());return a},modifyTaskParam:function(a,b,c){a.Lb[b]=c},modifyAllTaskParams:function(a,b){a.Lb=b},delayTask:function(a,b){a.time+=b;l=!0},executeTask:function(a,b){try{var c=
b||a.Lb;a.context?c?a.Ze.apply(a.context,c):a.Ze.apply(a.context):c?a.Ze.apply(null,c):a.Ze()}catch(d){}}};d.isWebWorker()?setTimeout(g,1):g();y.getQueueLength=y.getQueueLength;y.packTask=y.packTask;y.addPackedTimedTask=y.addPackedTimedTask;y.addRepetitiveTask=y.addRepetitiveTask;y.stopRepetitiveTask=y.stopRepetitiveTask;y.addTimedTask=y.addTimedTask;y.modifyTaskParam=y.modifyTaskParam;y.modifyAllTaskParams=y.modifyAllTaskParams;y.delayTask=y.delayTask;y.executeTask=y.executeTask;return y});
define("Dismissable",["Executor"],function(e){function f(){this.initTouches()}f.prototype={clean:function(){},initTouches:function(d){this.Rn=this.ff=0;this.timeout=d||5E3},mB:function(d){d==this.Rn&&0>=this.ff&&this.clean()},dismiss:function(){this.ff--;0>=this.ff&&e.addTimedTask(this.mB,this.timeout,this,[this.Rn])},touch:function(){this.Rn++;0>this.ff&&(this.ff=0);this.ff++}};f.prototype.touch=f.prototype.touch;f.prototype.dismiss=f.prototype.dismiss;f.prototype.clean=f.prototype.clean;f.prototype.initTouches=
f.prototype.initTouches;return f});define("IllegalArgumentException",[],function(){function e(e){this.name="IllegalArgumentException";this.message=e}e.prototype={toString:function(){return["[",this.name,this.message,"]"].join("|")}};return e});
define("DoubleKeyMap",["IllegalArgumentException"],function(e){function f(){this.map={};this.th={}}function d(b){return null!==b&&"undefined"!=typeof b}function c(b,c,a){var e=b[a];d(e)&&(delete b[a],delete c[e])}function b(b,c){for(var a in b)c(a,b[a])}f.prototype={set:function(b,c){var a=this.map,f=this.th;if(!d(b)||!d(c))throw new e("values can't be null nor missing");var m=a[b],k=f[c];d(m)?m!==c&&(d(k)?(a[k]=m,a[b]=c,f[c]=b,f[m]=k):(delete f[a[b]],a[b]=c,f[c]=b)):d(k)?(delete a[f[c]],f[c]=b,a[b]=
c):(a[b]=c,f[c]=b)},remove:function(b){c(this.map,this.th,b)},removeReverse:function(b){c(this.th,this.map,b)},get:function(b){return this.map[b]},getReverse:function(b){return this.th[b]},exist:function(b){return"undefined"!=typeof this.get(b)},existReverse:function(b){return"undefined"!=typeof this.getReverse(b)},forEach:function(c){b(this.map,c)},forEachReverse:function(c){b(this.th,c)}};f.prototype.set=f.prototype.set;f.prototype.remove=f.prototype.remove;f.prototype.removeReverse=f.prototype.removeReverse;
f.prototype.get=f.prototype.get;f.prototype.getReverse=f.prototype.getReverse;f.prototype.exist=f.prototype.exist;f.prototype.existReverse=f.prototype.existReverse;f.prototype.forEach=f.prototype.forEach;f.prototype.forEachReverse=f.prototype.forEachReverse;return f});
define("Inheritance",["IllegalStateException"],function(e){function f(c,b,d){if(b)return d?b.apply(c,d):b.apply(c)}var d={ot:function(c,b,f,g){for(var a in b.prototype)if(!c.prototype[a])c.prototype[a]=b.prototype[a];else if(g){var l;a:{l=b.prototype;var m=void 0;for(m in l)if(l[a]==l[m]&&a!=m){l=m;break a}l=null}if(l){if(c.prototype[l]&&c.prototype[l]!==c.prototype[a]&&b.prototype[l]!==b.prototype[l])throw new e("Can't solve alias collision, try to minify the classes again ("+l+", "+a+")");c.prototype[l]=
c.prototype[a]}}f||(c.prototype._super_=b,c.prototype._callSuperConstructor=d._callSuperConstructor,c.prototype._callSuperMethod=d._callSuperMethod);return c},_callSuperMethod:function(c,b,d){return f(this,c.prototype._super_.prototype[b],d)},_callSuperConstructor:function(c,b){f(this,c.prototype._super_,b)}};return d.ot});
define("Matrix",[],function(){function e(e){this.$=e||{}}e.prototype={insert:function(e,d,c){d in this.$||(this.$[d]={});this.$[d][c]=e},get:function(e,d){return e in this.$&&d in this.$[e]?this.$[e][d]:null},del:function(e,d){if(!(!e in this.$)){d in this.$[e]&&delete this.$[e][d];for(var c in this.$[e])return;delete this.$[e]}},insertRow:function(e,d){this.$[d]=e},getRow:function(e){return e in this.$?this.$[e]:null},delRow:function(e){e in this.$&&delete this.$[e]},getEntireMatrix:function(){return this.$},
isEmpty:function(){for(var e in this.$)return!1;return!0},forEachElement:function(e){for(var d in this.$)this.forEachElementInRow(d,e)},forEachRow:function(e){for(var d in this.$)e(d)},forEachElementInRow:function(e,d){var c=this.$[e],b;for(b in c)d(c[b],e,b)}};e.prototype.insert=e.prototype.insert;e.prototype.get=e.prototype.get;e.prototype.del=e.prototype.del;e.prototype.insertRow=e.prototype.insertRow;e.prototype.getRow=e.prototype.getRow;e.prototype.delRow=e.prototype.delRow;e.prototype.getEntireMatrix=
e.prototype.getEntireMatrix;e.prototype.forEachElement=e.prototype.forEachElement;e.prototype.forEachElementInRow=e.prototype.forEachElementInRow;e.prototype.forEachRow=e.prototype.forEachRow;e.prototype.isEmpty=e.prototype.isEmpty;return e});
define("DoubleKeyMatrix",["Inheritance","Matrix"],function(e,f){function d(){this._callSuperConstructor(d);this.sh={}}d.prototype={insert:function(c,b,e){"undefined"==typeof this.sh[e]&&(this.sh[e]=b,this._callSuperMethod(d,"insert",[c,b,e]))},del:function(c,b){this._callSuperMethod(d,"del",[c,b]);delete this.sh[b]},delReverse:function(c){var b=this.sh[c];"undefined"!=typeof b&&this.del(b,c)},delRow:function(c){var b=this.getRow(c),e;for(e in b)delete this.sh[e];this._callSuperMethod(d,"delRow",[c])}};
d.prototype.insert=d.prototype.insert;d.prototype.del=d.prototype.del;d.prototype.delReverse=d.prototype.delReverse;d.prototype.delRow=d.prototype.delRow;e(d,f);return d});
define("EventDispatcher",["Executor","List","Inheritance"],function(e,f,d){function c(){this._callSuperConstructor(c)}function b(){this.initDispatcher()}b.prototype={initDispatcher:function(){this.Ih=new c;this.Ss=!1},addListener:function(b){b&&!this.Ih.contains(b)&&(b={f:b,cr:!0},this.Ih.add(b),this.yl("onListenStart",[this],b,!0))},removeListener:function(b){b&&(b=this.Ih.remove(b))&&this.yl("onListenEnd",[this],b,!0)},getListeners:function(){return this.Ih.asArray()},useSynchEvents:function(b){this.Ss=
!0===b},yl:function(b,c,a,d){this.Ss?this.Bp(b,c,a,!0):e.addTimedTask(this.Bp,0,this,[b,c,a,d])},Bp:function(b,c,a,d){if(a&&a.f[b]&&(d||a.cr))try{c?a.f[b].apply(a.f,c):a.f[b].apply(a.f)}catch(e){}},dispatchEvent:function(b,c){var a=this;this.Ih.forEach(function(d){a.yl(b,c,d,!1)})}};b.prototype.initDispatcher=b.prototype.initDispatcher;b.prototype.addListener=b.prototype.addListener;b.prototype.removeListener=b.prototype.removeListener;b.prototype.getListeners=b.prototype.getListeners;b.prototype.useSynchEvents=
b.prototype.useSynchEvents;b.prototype.dispatchEvent=b.prototype.dispatchEvent;c.prototype={remove:function(b){b=this.find(b);if(0>b)return!1;var c=this.data[b];c.cr=!1;this.data.splice(b,1);return c},find:function(b){for(var c=0;cd)throw new e("The given value is not valid. Use a positive number or 0");}else if(0>=d)throw new e("The given value is not valid. Use a positive number");return f};f.prototype.checkBool=function(d,
c){if(!0===d||!1===d||c&&!d)return!0===d;throw new e("The given value is not valid. Use true or false");};return f});define("SimpleLogLevels",[],function(){var e={FATAL:5,ERROR:4,WARN:3,INFO:2,DEBUG:1},f={priority:function(d){return e[d]||0}};f.priority=f.priority;return f});
define("SimpleLogAppender",["SimpleLogLevels"],function(e){function f(d,c){this.Am=e.priority(d)?d:"INFO";this.$o=c||"*";this.Bm=null}f.prototype={setLoggerProvider:function(d){d&&d.getLogger&&d.Vp&&(this.Bm=d)},log:function(){},composeLine:function(d,c,b,e){return d+" | "+c+" | "+e+" | "+b},getLevel:function(){return this.Am},setLevel:function(d){this.Am=d=e.priority(d)?d:"INFO";null!=this.Bm&&this.Bm.Vp()},getCategoryFilter:function(){return this.$o},setCategoryFilter:function(d){this.$o=d||"*"}};
f.prototype.log=f.prototype.log;f.prototype.setLoggerProvider=f.prototype.setLoggerProvider;f.prototype.composeLine=f.prototype.composeLine;f.prototype.getLevel=f.prototype.getLevel;f.prototype.setLevel=f.prototype.setLevel;f.prototype.getCategoryFilter=f.prototype.getCategoryFilter;f.prototype.setCategoryFilter=f.prototype.setCategoryFilter;return f});
define("BufferAppender",["Inheritance","SimpleLogAppender","SimpleLogLevels"],function(e,f,d){function c(b,d,e){this._callSuperConstructor(c,[b,d]);this.Gq=!e||0>e?0:e;this.first=0;this.rf=-1;this.buffer={}}c.prototype={reset:function(){this.first=0;this.rf=-1;this.buffer={}},extractLog:function(b){b=this.getLog(null,b);this.reset();return b},getLog:function(b,c,e){var a="";b?(b=this.rf-b+1,b=
e&&(a+=this.buffer[b].Zx),a+=c,b++;return a},log:function(b,c,d,a){var e=++this.rf;0!=this.Gq&&e>=this.Gq&&(this.buffer[this.first]=null,this.first++);d=this.composeLine(b,c,d,a);this.buffer[e]={level:c,Zx:d}},getLength:function(){return this.rf-this.first+1}};c.prototype.reset=c.prototype.reset;c.prototype.getLog=c.prototype.getLog;c.prototype.extractLog=c.prototype.extractLog;c.prototype.log=c.prototype.log;c.prototype.getLength=c.prototype.getLength;e(c,f);return c});
define("AlertAppender",["Inheritance","SimpleLogAppender","BufferAppender","Executor","Environment"],function(e,f,d,c,b){function h(b,a,c){this._callSuperConstructor(h,[b,a]);this.No=!c||0>c?5:c;this.Fk=0;this.buffer=new d(b,a)}b.browserDocumentOrDie();h.prototype={DA:function(b){alert(b)},log:function(b,a,e,f){this.Fk++;this.buffer.log(b,a,e,f);this.Fk>=this.No&&(this.Fk=0,c.addTimedTask(this.DA,0,this,[this.buffer.getLog(this.No,"\n","",!1,this.Am)]),this.buffer=new d)}};h.prototype.log=h.prototype.log;
e(h,f);return h});
define("ConsoleAppender",["Inheritance","SimpleLogAppender","IllegalStateException"],function(e,f,d){function c(b,e){if("undefined"==typeof console)throw new d("This appender can't work if a console is not available. Enable the Browser console if possible or change appender.");this._callSuperConstructor(c,[b,e])}c.prototype={log:function(b,c,d,a){d=this.composeLine(b,c,d,a);switch(c){case "DEBUG":if(console.debug){console.debug(d);return}break;case "INFO":if(console.info){console.info(d);return}break;
case "WARN":if(console.warn){console.warn(d);return}default:if(console.error){console.error(d);return}}console.log(d)}};c.prototype.log=c.prototype.log;e(c,f);return c});
define("DOMAppender",["Inheritance","SimpleLogAppender","IllegalArgumentException","Environment"],function(e,f,d,c){function b(c,e,a){this._callSuperConstructor(b,[c,e]);if(!a)throw new d("a DOMElement instance is necessary for a DOMAppender to work.");this.pc=a;this.Ca=this.Fm=!1}c.browserDocumentOrDie();b.prototype={setUseInnerHtml:function(b){this.Ca=!0===b},setNextOnTop:function(b){this.Fm=!0===b},log:function(b,c,a,d){b=this.composeLine(b,c,a,d);this.Ca?this.pc.innerHTML=this.Fm?b+"\x3cbr\x3e"+
this.pc.innerHTML:this.pc.innerHTML+(b+"\x3cbr\x3e"):this.Fm?(b=document.createTextNode(b),c=document.createElement("br"),this.pc.insertBefore(c,this.pc.firstChild),this.pc.insertBefore(b,this.pc.firstChild)):(b=document.createTextNode(b),c=document.createElement("br"),this.pc.appendChild(b),this.pc.appendChild(c))}};b.prototype.setUseInnerHtml=b.prototype.setUseInnerHtml;b.prototype.setNextOnTop=b.prototype.setNextOnTop;b.prototype.log=b.prototype.log;e(b,f);return b});
define("FunctionAppender",["Inheritance","SimpleLogAppender"],function(e,f){function d(c,b,e,g){this._callSuperConstructor(d,[c,b]);this.Bv=e;this.py=g||null}d.prototype={log:function(c,b,d,e){var a=this.Bv;if(a.apply){c=this.composeLine(c,b,d,e);try{a.apply(this.py,[c])}catch(f){}}}};d.prototype.log=d.prototype.log;e(d,f);return d});
define("LoggerProxy",["Helpers"],function(e){function f(b){this.xn(b)}function d(){return!1}var c={error:d,warn:d,info:d,debug:d,fatal:d,isDebugEnabled:d,isInfoEnabled:d,isWarnEnabled:d,isErrorEnabled:d,isFatalEnabled:d};f.prototype={xn:function(b){this.Ma=b||c},logFatal:function(b){this.kx()&&(b+=this.de(arguments,1),this.fatal(b))},fatal:function(b,c){this.Ma.fatal(b,c)},kx:function(){return!this.Ma.isFatalEnabled||this.Ma.isFatalEnabled()},logError:function(b){this.Nq()&&(b+=this.de(arguments,
1),this.error(b))},logErrorExc:function(b,c){this.Nq()&&(c+=this.de(arguments,2),this.error(c,b))},error:function(b,c){this.Ma.error(b,c)},Nq:function(){return!this.Ma.isErrorEnabled||this.Ma.isErrorEnabled()},logWarn:function(b){this.Fx()&&(b+=this.de(arguments,1),this.warn(b))},warn:function(b,c){this.Ma.warn(b,c)},Fx:function(){return!this.Ma.isWarnEnabled||this.Ma.isWarnEnabled()},logInfo:function(b){this.isInfoLogEnabled()&&(b+=this.de(arguments,1),this.info(b))},info:function(b,c){this.Ma.info(b,
c)},isInfoLogEnabled:function(){return!this.Ma.isInfoEnabled||this.Ma.isInfoEnabled()},logDebug:function(b){this.isDebugLogEnabled()&&(b+=this.de(arguments,1),this.debug(b))},debug:function(b,c){this.Ma.debug(b,c)},isDebugLogEnabled:function(){return!this.Ma.isDebugEnabled||this.Ma.isDebugEnabled()},de:function(b,c){for(var d=" {",a=c?c:0;af.length?d+="*":null!=f.charAt?d+=f:f.message?(d+=f.message,f.stack&&(d+="\n"+f.stack+"\n")):f[0]==f?d+=f:e.isArray(f)?
(d+="(",d+=this.de(f),d+=")"):d+=f;d+=" "}catch(m){d+="missing-parameter "}return d+"}"}};f.prototype.debug=f.prototype.debug;f.prototype.isDebugLogEnabled=f.prototype.isDebugLogEnabled;f.prototype.logDebug=f.prototype.logDebug;f.prototype.info=f.prototype.info;f.prototype.isInfoLogEnabled=f.prototype.isInfoLogEnabled;f.prototype.logInfo=f.prototype.logInfo;f.prototype.warn=f.prototype.warn;f.prototype.isWarnEnabled=f.prototype.isWarnEnabled;f.prototype.logWarn=f.prototype.logWarn;f.prototype.error=
f.prototype.error;f.prototype.isErrorEnabled=f.prototype.isErrorEnabled;f.prototype.logError=f.prototype.logError;f.prototype.logErrorExc=f.prototype.logErrorExc;f.prototype.fatal=f.prototype.fatal;f.prototype.isFatalEnabled=f.prototype.isFatalEnabled;f.prototype.logFatal=f.prototype.logFatal;return f});
define("LoggerManager",["LoggerProxy","IllegalArgumentException"],function(e,f){var d={},c=null,b={setLoggerProvider:function(b){if(b&&!b.getLogger)throw new f("The given object is not a LoggerProvider");c=b;for(var e in d)c?d[e].xn(c.getLogger(e)):d[e].xn(null)},getLoggerProxy:function(b){d[b]||(d[b]=c?new e(c.getLogger(b)):new e);return d[b]},resolve:function(b){return b}};b.setLoggerProvider=b.setLoggerProvider;b.getLoggerProxy=b.getLoggerProxy;b.resolve=b.resolve;return b});
define("SimpleLogger",["SimpleLogLevels"],function(e){function f(d,c){this.Yg=d;this.vg=c;this.xf="DEBUG"}f.prototype={fatal:function(d){this.isFatalEnabled()&&this.Yg.dispatchLog(this.vg,"FATAL",d)},isFatalEnabled:function(){return e.priority("FATAL")>=e.priority(this.xf)},error:function(d){this.isErrorEnabled()&&this.Yg.dispatchLog(this.vg,"ERROR",d)},isErrorEnabled:function(){return e.priority("ERROR")>=e.priority(this.xf)},warn:function(d){this.isWarnEnabled()&&this.Yg.dispatchLog(this.vg,"WARN",
d)},isWarnEnabled:function(){return e.priority("WARN")>=e.priority(this.xf)},info:function(d){this.isInfoEnabled()&&this.Yg.dispatchLog(this.vg,"INFO",d)},isInfoEnabled:function(){return e.priority("INFO")>=e.priority(this.xf)},debug:function(d){this.isDebugEnabled()&&this.Yg.dispatchLog(this.vg,"DEBUG",d)},isDebugEnabled:function(){return e.priority("DEBUG")>=e.priority(this.xf)},setLevel:function(d){this.xf=e.priority(d)?d:"DEBUG"}};f.prototype.fatal=f.prototype.fatal;f.prototype.isFatalEnabled=
f.prototype.isFatalEnabled;f.prototype.error=f.prototype.error;f.prototype.isErrorEnabled=f.prototype.isErrorEnabled;f.prototype.warn=f.prototype.warn;f.prototype.isWarnEnabled=f.prototype.isWarnEnabled;f.prototype.info=f.prototype.info;f.prototype.isInfoEnabled=f.prototype.isInfoEnabled;f.prototype.debug=f.prototype.debug;f.prototype.isDebugEnabled=f.prototype.isDebugEnabled;f.prototype.setLevel=f.prototype.setLevel;return f});
define("SimpleLoggerProvider",["SimpleLogger","SimpleLogLevels"],function(e,f){function d(){this.Oa=[];this.tf={}}d.prototype={jj:function(){var c=100,b=0;if(0a&&(e+="0");e=e+a+":";a=l.getMinutes();10>a&&(e+="0");e+=a;e+=":";a=l.getSeconds();10>a&&(e+="0");e+=a;e+=",";e+=l.getMilliseconds();a=f.priority(b);for(l=0;l=a)return new Number(a);a=a.toUpperCase();if(q[a])return q[a];n.warn("A hexadecimal number must contain numbers between 0 and 9 and letters between A and F. An invalid value was specified, will be ignored");return null}function g(a){var b=0,c=0,d;for(d=a.length;1<=d;d--){var e=h(a.substring(d-1,d));if(null==e)return null;var g;for(g=1;g<=c;g++)e*=16;c++;b+=e}return b}function a(a){if(a.indexOf("%")==a.length-1){a=parseFloat(a.substring(0,a.length-1));
if(100a)return n.warn("A RGB element must be a number \x3e\x3d0 and \x3c\x3d255 or a percentile \x3e\x3d0 and \x3c\x3d100. An invalid value was specified, will be ignored"),null;a*=2.55}return a}function l(a,b){return a&&""!=a?b?a!=b?!0:!1:!0:!1}function m(a){var b=document.createElement("DIV");b.style.backgroundColor=a;var c=r.Tg(b,p,a);if(null==c)return null;if(255==c[0]&&255==c[1]&&255==c[2]&&"WHITE"!=a.toUpperCase()){var d=document.getElementsByTagName("BODY")[0];d&&(d.appendChild(b),c=
r.Tg(b,p,a),d.removeChild(b))}t[a]=c;return t[a]}function k(a){var e="";if(t[a])return t[a];if(d.isProbablyIE())try{if(u=c.getFrameWindow("weswit__ColorFrame",!0))u.document.bgColor=a,e=u.document.bgColor}catch(g){e=null}else return m(a);if(!e||e==a){var f=document.bgColor;document.bgColor=a;e=document.bgColor;document.bgColor=f}if(!e||e==a)return m(a);t[a]=b(e);return t[a]}e.browserDocumentOrDie();var n=f.getLoggerProxy("lightstreamer.grids"),q={A:10,B:11,C:12,D:13,E:14,F:15},p="backgroundColor",
t={},u=null,r={Sn:function(c){if(0==c.indexOf("rgb"))a:{var d,e;if(0==c.indexOf("rgb("))d=4,e=")";else if(0==c.indexOf("rgba("))d=5,e=",";else{n.warn("A RGB color value must be in the form 'rgb(x, y, z)' or 'rgba(x, y, z, a)'. An invalid value was specified, will be ignored");c=null;break a}c=c.substring(d,c.length);var g=c.indexOf(",");d=a(c.substring(0,g));var f=c.indexOf(",",g+1),g=a(c.substring(g+1,f));c=a(c.substring(f+1,c.indexOf(e,f+1)));c=null==d||null==g||null==c?null:[d,g,c]}else c=0==c.indexOf("#")?
b(c):k(c);return c},Tg:function(a,b,c){if(null==a)return[255,255,255];var d="";try{if(window.getComputedStyle||document.defaultView&&document.defaultView.getComputedStyle){var e=document.defaultView.getComputedStyle(a,null);if(e)var g=b==p?"background-color":b,d=e.getPropertyValue(g)}}catch(f){}try{!l(d,c)&&a.currentStyle&&(g="background-color"==b?p:b,d=a.currentStyle[g])}catch(f){}try{if(!l(d,c))if(e="background-color"==b?p:b,""!=a.style[e])d=a.style[e];else return[255,255,255]}catch(f){}return"transparent"==
d&&a.parentNode?this.Tg(a.parentNode,b):"transparent"==d?[255,255,255]:l(d,c)?this.Sn(d):[255,255,255]}};return r});
define("FadersHandler",["ColorConverter","Executor","Helpers","Cell","Environment"],function(e,f,d,c,b){function h(a,b,c,d,e,g,f){this.Jc(a,b,c,d,e,g,f)}function g(){this.length=0;this.Nr={}}function a(a){this.hd=a;this.Ki=new g;this.Qp=0;this.Xe={};this.Di=!1;this.Tc={}}function l(a){return function(){a.style.backgroundColor="transparent"}}b.browserDocumentOrDie();a.prototype={dm:function(a,b,c,d,e,g){e=this.fw(e);var f=a.km();if(f){var l=this.Ki.get();if(null==l)return this.Xe[this.Qp]=new h(a,
b,c,d,e,f,g),this.Qp++;this.Xe[l].Jc(a,b,c,d,e,f,g);return l}},fw:function(a){a/=this.hd;return 1h.Ba)this.Ki.put(g),delete this.Tc[e],h.We&&f.addPackedTimedTask(h.We,0);else{g=h.wc.Og();if(!g){this.dk(h.wc);continue}if("transparent"==h.Ve)try{g.style.backgroundColor="rgba("+h.Wf[0]+","+h.Wf[1]+","+h.Wf[2]+","+this.Td(100,0,h.Ba,h.wa)/100+")"}catch(r){var u=(h.Ba-h.wa)*this.hd;f.addTimedTask(l(g),u);h.We&&f.addPackedTimedTask(h.We,u);this.dk(h.wc);continue}else h.Ve&&
(g.style.backgroundColor="rgb("+this.Td(h.Wf[0],h.Ve[0],h.Ba,h.wa)+","+this.Td(h.Wf[1],h.Ve[1],h.Ba,h.wa)+","+this.Td(h.Wf[2],h.Ve[2],h.Ba,h.wa)+")");h.Ig&&(g.style.color="rgb("+this.Td(h.Dn[0],h.Ig[0],h.Ba,h.wa)+","+this.Td(h.Dn[1],h.Ig[1],h.Ba,h.wa)+","+this.Td(h.Dn[2],h.Ig[2],h.Ba,h.wa)+")");a=!0}h.wa++}a?(e=d.getTimeStamp(),b=e-b+c,b>this.hd&&(c=b/this.hd,b=Math.floor(c),c-=b,this.mz(b),b=this.hd*c),this.gr(this.hd-b,e)):this.Di=!1},gr:function(a,b){f.addTimedTask(this.bv,a,this,[b])},mz:function(a){for(var b in this.Tc){var c=
this.Xe[this.Tc[b]];c.wa>c.Ba||(c.wa=c.wa+a=this.length)return null;this.length--;return this.Nr[this.length]}};h.prototype={Jc:function(a,b,c,d,g,f,h){this.We=h?h:null;this.Dq=b;this.wc=a;this.Ve=""===c||"transparent"==c?"transparent":c?e.Sn(c):null;this.Ig=
d?e.Sn(d):null;this.Ba=g;this.a=f;this.wa=0}};return a});define("LightstreamerConstants",[],function(){return{CONNECTING:"CONNECTING",Da:"CONNECTED:",hg:"STREAM-SENSING",kg:"WS-STREAMING",Ae:"HTTP-STREAMING",Ee:"STALLED",Ge:"WS-POLLING",$c:"HTTP-POLLING",Ub:"DISCONNECTED",jg:"DISCONNECTED:WILL-RETRY",zk:"WS",Sh:"HTTP",wk:"RAW",sk:"DISTINCT",dg:"COMMAND",vk:"MERGE"}});
define("AbstractWidget","Inheritance Matrix LoggerManager Setter EventDispatcher IllegalStateException LightstreamerConstants DoubleKeyMatrix".split(" "),function(e,f,d,c,b,h,g,a){function l(b){this._callSuperConstructor(l);this.kind="ITEM_IS_KEY";this.ml=this.bj=null;this.Yc=0;this.Nl=null;this.values=new f;this.parsed=!1;this.id=b;this.useSynchEvents(!0);this.ip=this.hp=!1;this.ci=0;this.uf=null;this.Sl=!1;this.Ad=null;this.ek=[];this.Db=[];this.Kg={};this.Ec=this.Gi=0;this.aj=new a}var m=d.getLoggerProxy("lightstreamer.grids");
l.qo="ITEM_IS_KEY";l.yt="UPDATE_IS_KEY";l.prototype={fa:function(){return this.id},bl:function(){if(!this.parsed)throw new h("Please parse html before calling this method");},onItemUpdate:function(a){var b=a.cm(),c=a.Ni();this.Yc++;var c=null==b?c:b,b=this.Hx()?c:this.va()?this.Yc:c+" "+a.getValue(this.bj),d={};this.va()?a.Up(this.hq(d)):a.forEachChangedField(this.hq(d));this.Xq()&&"DELETE"==d[this.ml]?this.removeRow(b):(this.updateRow(b,d),this.aj.insert(!0,c,b))},onClearSnapshot:function(a,b){var c=
null==a?b:a,d=this.aj.getRow(c);this.aj.delRow(c);for(var e in d)this.removeRow(e)},onSubscription:function(){0==this.ci&&this.hp&&this.clean();this.Xq()&&!this.bj&&(this.bj=this.uf.pq(),this.ml=this.uf.$p());this.ci++},onUnsubscription:function(){this.ci--;0==this.ci&&this.ip&&this.clean()},onListenStart:function(a){this.uf||(this.uf=a,this.Sl||this.ep());if(a.om())this.onSubscription()},onListenEnd:function(a){if(a.om())this.onUnsubscription()},ep:function(){if(this.uf){var a=this.uf;if(a.Pi()==
g.vk||a.Pi()==g.wk)this.kind="ITEM_IS_KEY";else if(a.Pi()==g.sk)this.kind="UPDATE_IS_KEY";else{this.kind="KEY_IS_KEY";try{a.fq(),this.bj="key",this.ml="command"}catch(b){}}}else this.kind="ITEM_IS_KEY"},hq:function(a){var b=this;return function(c,d,e){null===b.Nl&&(b.Nl=null==c);a[b.Nl?d:c]=e}},Hx:function(){return"ITEM_IS_KEY"==this.kind},va:function(){return"UPDATE_IS_KEY"==this.kind},Xq:function(){return"KEY_IS_KEY"==this.kind},tq:function(){return this.Ec>=this.Db.length?null:this.Db[this.Ec]},
cs:function(a){var b=this.Kg[a];delete this.Kg[a];this.Db[b]=null;this.Gi++;if(b==this.Ec){for(;null===this.Db[this.Ec]&&this.Ec=this.Db.length){this.Db=[];this.Kg={};this.Ec=this.Gi=0;return}}if(100<=this.Gi)for(this.Kg={},a=this.Db,this.Db=[],b=this.Gi=this.Ec=0;bb:a=this.kk.length},reset:function(){this.fv();this.parent.fl(this)},kn:function(){g.logDebug(e.resolve(422),this);var a=this.kk,b=this.fo;for(this.reset();0=this.parent.Xa||a[0]>=this.parent.Xa)&&this.Jo(a[0],b[0]),a.shift(),b.shift();g.logDebug(e.resolve(423),this)},Jo:function(a,b){this.kk.push(a);this.fo.push(b);this.parent.ev(a,b,this)},ji:function(){this.mk=(this.Tb-this.ub)/this.parent.screenY;g.logDebug(e.resolve(424),
this,this.mk)},pm:function(){return null!==this.Tb},isPointInRange:function(a){return athis.ub},gh:function(){this.yg();var a="",b=-1;if(!(0>=this.Cf)){0this.Tb)throw new b("The maximum value must be greater than the minimum value");this.parent&&null!=this.parent.screenY&&this.parent.L&&(this.ji(),this.gh(),
this.isEmpty()||this.kn());g.logDebug(e.resolve(429),this)},Ow:function(){return this.tB}};h.prototype.setYLabels=h.prototype.AA;h.prototype.setStyle=h.prototype.setStyle;h.prototype.positionYAxis=h.prototype.Qr;h.prototype.getYField=h.prototype.Ow;d(h,f,"O");return h});
define("ChartPainter",["Cell","ASSERT"],function(e){function f(b,c){this.Za=b;this.Kb=this.bb=null;this.L=c;this.ne=[]}function d(b,c){this.Za=b;this.Kb=this.bb=null;this.L=c;this.ed=this.ac=null}function c(b){var c=!1;if(!b)try{document.createElement("canvas").getContext&&(c=!0)}catch(d){}this.iB=c;this.ya;this.md={}}c.prototype={Uz:function(b){this.ya=document.createElement("div");this.ya.style.position="absolute";this.ya.style.overflow="hidden";b.appendChild(this.ya)},clean:function(){this.ya&&
e.ld(this.ya)&&this.ya.parentNode.removeChild(this.ya)},vd:function(b,c){this.ya.style.width=b+"px";this.ya.style.height=c+"px";this.sg=c;this.eu=b},gA:function(b,c){this.ya.style.top=c+"px";this.ya.style.left=b+"px"},Oz:function(b){this.ya.className=b},$t:function(b){this.md[b.fa()]=this.iB?new d(b,this):new f(b,this)},sz:function(b){b=b.fa();this.md[b]&&(this.md[b].remove(),delete this.md[b])},fl:function(b){b=b.fa();this.md[b]&&this.md[b].clear()},cz:function(b,c,d){var a=b.fa();this.md[a]||this.$t(b);
this.md[a].Ep(c,d)}};d.prototype={Ww:function(){if(!this.ed){var b=document.createElement("canvas");b.style.position="absolute";b.style.overflow="hidden";var c=b.getContext("2d");this.L.ya.appendChild(b);this.ed=b;this.ac=c}this.ed.width=this.L.eu;this.ed.height=this.L.sg},Ep:function(b,c){c=this.L.sg-c;null===this.bb?this.Ww():(this.ac.beginPath(),this.ac.strokeStyle=this.Za.vm,this.ac.lineWidth=this.Za.dj,this.ac.moveTo(this.bb,this.Kb),this.ac.lineTo(b,c),this.ac.stroke());this.Cl(b,c)},Cl:function(b,
c){this.bb=b;this.Kb=c;var d=Math.round(this.Za.Lf/2);this.ac.fillStyle=this.Za.$m;this.ac.fillRect(b-d,c-d,this.Za.Lf,this.Za.Lf)},clear:function(){this.Kb=this.bb=null;this.ac.clearRect(0,0,this.ed.width,this.ed.height)},remove:function(){this.Kb=this.bb=null;this.L.ya.removeChild(this.ed);this.ed=null}};f.prototype={Ep:function(b,c){if(null!==this.bb){var d=b-this.bb,a=c-this.Kb,e=Math.abs(d),f=Math.abs(a),k=null,n=0,q=0,p=0;e>=f?(p=a/d,n=d,q=0<=d?1:-1):(p=d/a,n=a,q=0<=a?1:-1);var a=d=0,t=null,
u=null,r=!0,A=!0;eq&&(f-=x)}}else if(f=Math.round(p*e+this.bb),y=Math.round(this.L.sg-(e+this.Kb)),!x){for(x=0;e+q!=n-q&&f==Math.round(p*(e+q)+this.bb);)e+=q,x++;x*=u;B=a+x;0=this.Bf)){0this.jb&&this.dispatchEvent("onXOverflow",[a,c,this.Xa,this.jb]);for(var e in this.Z){var f=this.Kr(a,b,e,this.ho[e]);if(!isNaN(f)){var h=this.Z[e][a];if(null==
c||null==f)h&&null==c&&null==f?(n.logInfo(d.resolve(433),this,h),h.reset()):n.logDebug(d.resolve(444),this,h);else{if(!h){h=new g(a,this,this.co,e);this.dispatchEvent("onNewLine",[a,h,c,f]);if(!h.pm()){n.logError(d.resolve(431),this);break}h.ji();h.gh();this.Z[e][a]=h}h.isPointInRange(f)||this.dispatchEvent("onYOverflow",[a,h,f,h.ub,h.Tb]);h.Jo(c,f)}}}}},removeRowExecution:function(a){for(var b in this.Z)this.xp(a,b)},xp:function(a,b){if(this.Z[b]){var c=this.Z[b][a];c.reset();c.yg();this.L.sz(c);
delete this.Z[b][a];this.dispatchEvent("onRemovedLine",[a,c]);n.logDebug(d.resolve(445),this,a,b)}},clean:function(){this._callSuperMethod(k,"clean");this.yg();this.L&&this.L.clean();delete this.L;this.zs(this.Ne.parentNode,!0);n.logDebug(d.resolve(446),this)},parseHtml:function(){n.logInfo(d.resolve(434),this);var a=document.getElementById(this.id);if(a){if(!f.ct(a))throw new l("A DOM element must be provided as an anchor for the chart");this.zs(a);this.parsed=!0}},configureArea:function(a,b,c,d,
e){a&&(this.Qo=a);d&&(this.offsetY=this.checkPositiveNumber(d,!0));e&&(this.offsetX=this.checkPositiveNumber(e,!0));b&&(this.screenY=this.checkPositiveNumber(b,!0));c&&(this.screenX=this.checkPositiveNumber(c,!0));this.op();if(c||b){c&&null!=this.jb&&(this.Qk(),this.xj());for(var f in this.Z)for(var g in this.Z[f])(a=this.Z[f][g])&&a.pm()&&null!=this.jb&&(b&&(a.ji(),a.gh()),a&&!a.isEmpty()&&a.kn())}},setXAxis:function(a,b){this.co=a;this.ht=b;this.clean();n.logDebug(d.resolve(447),a,this)},addYAxis:function(a,
c){if(b.isArray(a)){n.logDebug(d.resolve(448),this);for(var e=0;ethis.jb)throw new m("The maximum value must be greater than the minimum value");null!=this.screenX&&(this.Qk(),this.xj());this.xz();n.logDebug(d.resolve(452),this)},setXLabels:function(a,b,c){this.Bf=this.checkPositiveNumber(a,!0);this.cl=b;this.Ha=c||null;null!=this.lk&&this.xj();n.logDebug(d.resolve(453),this)},addListener:function(a){this._callSuperMethod(k,"addListener",[a])},removeListener:function(a){this._callSuperMethod(k,
"removeListener",[a])},getListeners:function(){return this._callSuperMethod(k,"getListeners")}};k.prototype.parseHtml=k.prototype.parseHtml;k.prototype.configureArea=k.prototype.configureArea;k.prototype.setXAxis=k.prototype.setXAxis;k.prototype.addYAxis=k.prototype.addYAxis;k.prototype.removeYAxis=k.prototype.removeYAxis;k.prototype.positionXAxis=k.prototype.positionXAxis;k.prototype.setXLabels=k.prototype.setXLabels;k.prototype.addListener=k.prototype.addListener;k.prototype.removeListener=k.prototype.removeListener;
k.prototype.getListeners=k.prototype.getListeners;k.prototype.clean=k.prototype.clean;k.prototype.onListenStart=k.prototype.onListenStart;k.prototype.updateRowExecution=k.prototype.updateRowExecution;k.prototype.removeRowExecution=k.prototype.removeRowExecution;c(k,e);return k});
define("DynaElement",["Cell"],function(e){function f(d,c){this.key=d;this.Wm=c;this.node=this.zf=null;this.id="hc6|"+c.fa()+"|"+d}f.prototype={Vj:function(d){this.zf=d},qm:function(){this.zf&&this.zf.removeChild(this)},$i:function(d){return this.zf==d},getKey:function(){return this.key},fa:function(){return this.id},element:function(){if(null!=this.node)return this.node;this.node=this.Wm.Iw();this.node.setAttribute("id",this.id);for(var d=e.Oi(this.node,this.Wm.getNodeTypes()),c=0;c=this.length)){this.length--;delete this.Ta[c.fa()];var b=c.element();b==this.Zf&&(this.Zf=b.nextSibling);this.gd.removeChild(b);c.Vj(null)}},insertBefore:function(c,b){b!=c&&c&&(b?null==this.Ta[b.fa()]?this.appendChild(c,!0):(this.Xg(c),this.gd.insertBefore(c.element(),b.element())):
this.appendChild(c,!0))},appendChild:function(c,b){if(c){this.Xg(c);var d=c.element();b?(this.Zf||(this.Zf=d),this.Jh?this.gd.insertBefore(d,this.Jh):this.gd.appendChild(d)):(this.gd.insertBefore(d,this.Zf),this.Zf=d)}},Xg:function(c){c.$i(this)||(this.length++,this.Ta[c.fa()]=c,c.qm(),c.Vj(this))},Eb:function(c){if(this.length<=c)return null;c+=this.qy;c=this.gd.childNodes[c].getAttribute("id");return this.getElementById(c)},getElementById:function(c){return this.Ta[c]},clean:function(){this.gd&&
delete this.gd;this.Jh&&delete this.Jh;for(var c in this.Ta)this.Ta[c].clean()}};f(d,e);return d});
define("InvisibleParent",["AbstractParent","Inheritance"],function(e,f){function d(){this._callSuperConstructor(d);this.Ir=!1;this.Jc()}d.prototype={removeChild:function(c){if(!(0>=this.length)){this.length--;var b;for(b=this.Ta[c.fa()];b=d+1;e--)this.map[e]=this.map[e-1],this.Ta[this.map[e].fa()]=e;this.Xg(c,d)}else this.appendChild(c,!0)},appendChild:function(c,b){c&&(c.qm(),b||0==this.length?this.Xg(c,this.length):this.insertBefore(c,this.map[0]))},Xg:function(c,b){this.length++;this.Ta[c.fa()]=b;this.map[b]=c;c.Vj(this)},Eb:function(c){return this.map[c]},getElementById:function(c){return this.map[this.Ta[c]]},clean:function(){for(var c=0;c=b.length)throw new l("No valid cells defined for grid");return!0},iz:function(){if(!("ELEMENT"!=this.Ld||this.dd&&this.dd.appendChild)){var a=document.getElementById(this.dd);a?this.dd=a:(t.logError(k.resolve(455),this),this.Ld="OFF")}},Jq:function(){this.eb=this.ic=this.aa=this.Pn=this.hl=null;this.si={}},Iw:function(){return this.Pn.cloneNode(!0)},
Dy:function(a,b,c){this.O.addCell(a,b,c)},clean:function(){this._callSuperMethod(p,"clean")},pB:function(){if("OFF"==this.Ld)return!1;if(this.va()){var a="ELEMENT"==this.Ld?this.dd:document.body;return this.tc?0==a.scrollTop:g.isProbablyOldOpera()?!0:1>=Math.abs(a.clientHeight+a.scrollTop-a.scrollHeight)}return!0},nw:function(a){var b="PAGE"==this.Ld?document.body:this.dd;return this.va()?this.tc?0:b.scrollHeight-b.clientHeight:a.offsetTop-b.offsetTop},Yu:function(a){t.isDebugLogEnabled()&&t.logDebug(k.resolve(457),
this,a);"PAGE"==this.Ld?window.scrollTo(0,a):this.dd.scrollTop=a},$j:function(){for(var a=this.v,c=new b,d=1;0=this.j||this.l<=this.j*this.Sc?this.aa.appendChild(a,!0):this.ic.appendChild(a,!0)},ap:function(a){if(!(0>=this.l)){if(this.Sc>=a)for(;this.Dh(this.eb,this.aa,(a-1)*this.j);)this.Dh(this.aa,this.ic,this.j);else for(;this.jd(this.aa,this.eb,(a-1)*this.j,
!1);)this.jd(this.ic,this.aa,this.j,!1);this.Sc=a}},Rk:function(){t.isDebugLogEnabled()&&t.logDebug(k.resolve(458),this);var a=0,a=0>=this.j?1:Math.ceil(this.l/this.j);this.Cg!=a&&(this.Cg=a,this.dispatchEvent("onCurrentPagesChanged",[this.Cg]));return a},removeRowExecution:function(a){var b=this.si[a];if(b){this.l--;this.Rk();var c=!1,d=this.eb,e=this.ic;this.dispatchEvent("onVisualUpdate",[a,null,b.element()]);this.va()&&this.tc&&null==this.v&&(c=this.tc,d=this.ic,e=this.eb);b.$i(this.aa)?(this.aa.removeChild(b),
this.jd(e,this.aa,this.j,c)):b.$i(e)?e.removeChild(b):(this.eb.removeChild(b),this.jd(this.aa,d,this.j*(this.Sc-1),c)&&this.jd(e,this.aa,this.j,c));this.O.delRow(a);delete this.si[a]}},updateRowExecution:function(a,b){var c=!1,d=this.si[a];d||(d=new h(a,this),this.si[a]=d,d.element());n.verifyOk(d);this.Ol(a,b);var e=this.zl(a,b,d),f=this.pB(),g=!this.values.getRow(a),k=null!=this.v?this.cb(this.values.get(a,this.v)):null,l=null!=this.v?this.cb(b[this.v]):null,m=k==l||!b[this.v]&&null!==b[this.v];
null!=this.v&&0==m?(k=this.Sk(d,k,l),this.cx(k,d),g&&(this.l++,c=!0)):g&&(this.Po(d,!this.tc),this.l++,c=!0);this.dt(a,e);this.Ad=null;g&&this.va()&&this.ar();f&&d.$i(this.aa)&&(d=this.nw(d.element()),this.Yu(d));c&&this.Rk()},zl:function(b,c,d){this.Dg=b;this.Eg=c;c=new a(this.O,c,b);this.dispatchEvent("onVisualUpdate",[b,c,d.element()]);this.Eg=this.Dg=null;return c},Sk:function(a,b,c){for(var d=1,e=this.l,f=-1;dthis.l||0>=a)return null;if(a<=this.eb.length)return this.eb.Eb(a-1);a-=this.eb.length;if(a<=this.aa.length)return this.aa.Eb(a-1);a-=this.aa.length;return this.ic.Eb(a-1)},Po:function(a,b){var c=b?this.eb:this.ic,d=b?this.ic:this.eb;if(0this.l+1||0>=a)&&b!=this.Rg(a)){var c=b.zf,d,e=this.aa,f=this.ic,g=this.eb,h=this.Rg(a);null==h?d=this.Po(b,!0):(d=h.zf,d.insertBefore(b,h));d==e?c&&c!=f?c==g&&this.jd(e,g,this.j*(this.Sc-1),!1):this.Dh(e,f,this.j):d==g?c!=g&&this.Dh(g,e,this.j*(this.Sc-1))&&this.Dh(e,f,this.j):d==f&&(c==g&&this.jd(e,g,this.j*(this.Sc-1),!1),this.jd(f,e,this.j,!1))}},jd:function(a,b,c,d){return 0>=this.j?!1:b.length=this.j?!1:a.length>c?(a=a.Eb(a.length-1),b.insertBefore(a,b.Eb(0)),!0):!1},ar:function(){for(;0this.j;)this.removeRow(this.tq())},addListener:function(a){this._callSuperMethod(p,"addListener",[a])},removeListener:function(a){this._callSuperMethod(p,"removeListener",[a])},getListeners:function(){return this._callSuperMethod(p,"getListeners")}};p.prototype.setMaxDynaRows=p.prototype.setMaxDynaRows;p.prototype.getMaxDynaRows=
p.prototype.getMaxDynaRows;p.prototype.goToPage=p.prototype.goToPage;p.prototype.getCurrentPages=p.prototype.getCurrentPages;p.prototype.setAutoScroll=p.prototype.setAutoScroll;p.prototype.parseHtml=p.prototype.parseHtml;p.prototype.clean=p.prototype.clean;p.prototype.addListener=p.prototype.addListener;p.prototype.removeListener=p.prototype.removeListener;p.prototype.getListeners=p.prototype.getListeners;p.prototype.updateRowExecution=p.prototype.updateRowExecution;p.prototype.removeRowExecution=
p.prototype.removeRowExecution;e(p,f);return p});
define("SimpleChartListener",["List"],function(e){function f(d,c){this.sB=d||60;c=(c||20)/100;this.$x=1+c;this.Kx=1-c;this.fm=new e;this.yf;this.vf}f.prototype={onListenStart:function(d){this.bp=d},onYOverflow:function(d,c,b,e,f){d=(f-e)/2;b>f?(f+=d,b>f&&(f=b),this.vf=f,this.Yn(e,f)):be&&(d=(e+b)/2,this.bp.positionXAxis(d,d+(e-b)))},onNewLine:function(d,c,b,e){this.bp.positionXAxis(b,b+this.sB);d=e*this.Kx;e*=this.$x;this.fm.add(c);
this.yf=null!==this.yf&&this.yf<=d?this.yf:d;this.vf=null!==this.vf&&this.vf>=e?this.vf:e;this.Yn(this.yf,this.vf)},onRemovedLine:function(d,c){this.fm.remove(c)},Yn:function(d,c){this.fm.forEach(function(b){b.Qr(d,c)})}};f.prototype.onListenStart=f.prototype.onListenStart;f.prototype.onYOverflow=f.prototype.onYOverflow;f.prototype.onXOverflow=f.prototype.onXOverflow;f.prototype.onNewLine=f.prototype.onNewLine;f.prototype.onRemovedLine=f.prototype.onRemovedLine;return f});
define("SlidingCell",[],function(){function e(d,c,b,e,g){this.az=d;this.key=c;this.sv=b;this.Oc=e||null;this.lr=g;this.wg="s"+f++}var f=0;e.prototype={Ng:function(){var d=this.az.Kv(this.key,this.sv,this.Oc);if(!d)return null;if(d.ka){if(this.Oc===d.Fb()&&0>=this.lr)return d}else for(var c=-1,b=0;bthis.j?e:this.j);b[d].bf()&&(this.O.du(b[d])||this.O.addCell(b[d]))}}if(this.O.isEmpty())throw new a("Please specify at least one cell");},nl:function(a){var b={};this.O.wv(function(c,d,e){c.eq()==a&&(b[e]=!0)});return b},Iu:function(){var a={};this.O.forEachRow(function(b){a[b]=!0});return a},updateRowExecution:function(a,b){var c=!this.values.getRow(a),d;if(this.Rb)d=a;else{d=null!=this.v?this.cb(this.values.get(a,this.v)):null;var e=null!=this.v?this.cb(b[this.v]):null,f=d==
e||"undefined"==typeof b[this.v];d=null!=this.v&&0==f?this.Sk(a,d,e):c?this.tc?1:this.va()?this.l==this.j?this.l:this.l+1:this.l+1:this.U.get(a);this.va()&&this.j==this.l&&c&&null!=this.v&&(c=this.qs(this.tq()),cthis.j&&!this.O.getRow(d)&&(c=this.O.getRow(d-1),c=h.Qf(c,null,this.Ca),this.O.insertRow(c,d));this.Ol(d,b);c=this.zl(a,d,b);this.dt(d,c,a)},zl:function(a,
b,c){this.Dg=b;this.Eg=c;c=new d(this.O,c,b);this.dispatchEvent("onVisualUpdate",[a,c,b]);this.Eg=this.Dg=null;return c},Aq:function(a,c,d,e,f){return this.Rb?a:new b(this,c,d,e,f)},Kv:function(a,b,c){a=this.U.get(a);return this.O.af(a,b,c)},removeRowExecution:function(a){var b=this.Rb?a:this.U.get(a);this.dispatchEvent("onVisualUpdate",[a,null,b]);this.Rb||(b!=this.l&&(this.dr(this.l,a),b=this.U.get(a)),m.verifyValue(this.l,b)||u.logError(k.resolve(459)));this.O.Tp(b,function(a){a.clean()});this.l--;
this.Rb||this.U.remove(a)},qs:function(a){var b=this.U.get(a);this.U.remove(a);this.l--;this.values.delRow(a);this.va()&&this.cs(a);return b},dr:function(a,b){var c=this.U.get(b);if(a!=c){var d=c?h.Qf(this.O.getRow(c),null,this.Ca):null,e=c?this.U.getReverse(c):null,f,g,k;c?c>a?(g=c-1,k=a,f=-1):(g=c+1,k=a,f=1):null!=this.v||this.tc?(k=a,g=this.l,f=-1):(g=1,k=a,f=1);for(var l=g;l-f!=k;l+=f){var n=l-f,p=this.O.getRow(l),q=this.O.getRow(n);q||this.va()||(q={},this.O.insertRow(q,n),m.verifyNotOk(c));
q?(h.Qf(p,q,this.Ca),p=this.U.getReverse(l),this.U.set(p,n)):(m.verifyOk(this.va()),m.verifyValue(l,g),p=this.U.getReverse(l),this.qs(p))}d?(h.Qf(d,this.O.getRow(a),this.Ca),this.U.set(e,a)):this.O.Tp(a,function(a){a.clean()})}},Sk:function(a,b,c){for(var d=1,e=this.l,f=-1;d=this.gz?this.fh=0:this.fh++}window.status=c},OA:function(){this.ni&&(f.stopRepetitiveTask(this.ni),window.status="")},HA:function(){this.ni||(this.ni=f.addRepetitiveTask(this.onStatusChange,this.$A,this))},onListenStart:function(a){this.HA();this.onStatusChange(a.Gb())},
onListenEnd:function(){this.OA()}};c.prototype.onStatusChange=c.prototype.onStatusChange;c.prototype.onListenStart=c.prototype.onListenStart;c.prototype.onListenEnd=c.prototype.onListenEnd;return c});
define("StatusImageWidget",["Environment"],function(e){function f(c,b,e){c=c||"";this.Yi=b||null;if(this.hj=e||null)this.hj.innerHTML="DISCONNECTED";if(this.Yi){this.dn={};for(var f in d)b=new Image,b.src=c+d[f],this.dn[f]=b;this.vl=this.dn.DISCONNECTED;this.Yi.appendChild(this.vl)}}e.browserDocumentOrDie();var d={CONNECTING:"connecting.png","CONNECTED:STREAM-SENSING":"stream_sense.png","CONNECTED:WS-STREAMING":"ws_streaming.png","CONNECTED:HTTP-STREAMING":"http_streaming.png","CONNECTED:WS-POLLING":"ws_polling.png",
"CONNECTED:HTTP-POLLING":"http_polling.png",STALLED:"stalled.png",DISCONNECTED:"disconnected.png","DISCONNECTED:WILL-RETRY":"willretry.png"};f.prototype={onStatusChange:function(c){this.hj&&(this.hj.innerHTML=c);this.Yi&&(c=this.dn[c],this.Yi.replaceChild(c,this.vl),this.vl=c)}};f.prototype.onStatusChange=f.prototype.onStatusChange;return f});
define("StatusWidget","Environment IllegalArgumentException Helpers LightstreamerConstants Executor BrowserDetection".split(" "),function(e,f,d,c,b,h){function g(a,c,e,g){if(!q){this.ready=!1;this.Kc=this.Pk=null;a=a||"left";if(!A[a])throw new f("The given value is not valid. Admitted values are no, left and right");g=g||"closed";if(!y[g])throw new f("The given value is not valid. Admitted values are open, closed and dyna");var h=e?c:"auto";e=e?"auto":c;this.hb=k("div");c=k("div");this.gb=k("div");
m(this.hb,{zIndex:"99999"});m(c,{width:"42px",height:"42px",opacity:"0.95",filter:"alpha(opacity\x3d95)",backgroundColor:"#135656",zIndex:"99999",position:"relative"});m(this.gb,{width:"245px",height:"42px",backgroundColor:"#ECE981",fontFamily:"'Open Sans',Arial,sans-serif",fontSize:"11px",color:"#3E5B3E",position:"absolute",zIndex:"99998",visibility:"hidden",opacity:"0",filter:"alpha(opacity\x3d0)",transition:"all 0.5s",MozTransition:"all 0.5s","-webkit-transition":"all 0.5s",OTransition:"all 0.5s",
"-ms-transition":"all 0.5s"});"no"==a?(m(this.hb,{position:"absolute"}),m(c,{borderRadius:"4px","float":"left"}),m(this.gb,{borderTopRightRadius:"4px",borderBottomRightRadius:"4px",left:"38px"})):(m(this.hb,{position:"fixed",top:h,bottom:e}),"left"==a?(m(this.hb,{left:"0px"}),m(c,{borderTopRightRadius:"4px",borderBottomRightRadius:"4px","float":"left"}),m(this.gb,{borderTopRightRadius:"4px",borderBottomRightRadius:"4px",left:"38px"})):(m(this.hb,{right:"0px"}),m(c,{borderTopLeftRadius:"4px",borderBottomLeftRadius:"4px",
"float":"right"}),m(this.gb,{borderTopLeftRadius:"4px",borderBottomLeftRadius:"4px",right:"38px"})));this.hb.appendChild(c);this.hb.appendChild(this.gb);a=k("div");m(a,{position:"absolute",top:"2px",left:"5px",width:"32px",height:"32px"});c.appendChild(a);this.Xw(a);this.eB=new n(c,1);this.PA=new n(c,2);this.Rx=new n(c,3);this.wl=k("div");m(this.wl,{position:"absolute",top:"7px",left:"13px"});this.gb.appendChild(this.wl);this.statusText=k("div");m(this.statusText,{position:"absolute",top:"21px",left:"13px"});
this.gb.appendChild(this.statusText);this.Qb(x,x,x,"Ready","DATA STREAMING",this.Hb);this.Gk();this.Sd=2;this.pinned=!1;"closed"!=g&&(this.vj(!0),"dyna"==g?b.addTimedTask(this.rq(),1E3):this.pinned=!0);g=this.Jw();d.addEvent(this.gb,"transitionend",g);d.addEvent(this.gb,"webkitTransitionEnd",g);d.addEvent(this.gb,"MSTransitionEnd",g);d.addEvent(this.gb,"oTransitionEnd",g);d.addEvent(this.hb,"click",this.Lv());d.addEvent(this.hb,"mouseover",this.mw());d.addEvent(this.hb,"mouseout",this.rq())}}function a(a){var b=
k("img");b.src=a;m(b,{display:"none"});return b}function l(){for(var a={},b=0;b