/*!CK:1865761027!*//*1403491292,*/ if (self.CavalryLogger) { CavalryLogger.start_js(["e5Huk"]); } __d("DetectBrokenProxyCache",["AsyncSignal","Cookie","URI"],function(a,b,c,d,e,f,g,h,i){function j(k,l){var m=h.get(l);if((m!=k)&&(m!=null)&&(k!='0')){var n={c:'si_detect_broken_proxy_cache',m:l+' '+k+' '+m},o=new i('/common/scribe_endpoint.php').getQualifiedURI().toString();new g(o,n).send();}}e.exports={run:j};},null); __d("eachKeyVal",[],function(a,b,c,d,e,f){"use strict";function g(h,i,j){if(!h||!i)return;var k=Object.keys(h),l;for(l=0;l=2||typeof r=='string'){this._src=r;this._data=s||{};}else if(arguments.length==1)this._data=r;this.refresh();return this;};q.prototype.setAllowCrossPageTransition=function(r){"use strict";this._allow_cross_page_transition=r;return this;};q.prototype.setBundleOption=function(r){"use strict";this._is_bundle=r;return this;};q.prototype.setErrorHandler=function(r){"use strict";this._errorHandler=r;return this;};q.prototype.setTransportErrorHandler=function(r){"use strict";this.transportErrorHandler=r;return this;};q.prototype.refresh=function(){"use strict";if(this._use_ajaxpipe){l.setIsUIPageletRequest(true);this._request=new h();this._request.setCanvasId(this._id).setAppend(this._append).setConstHeight(this._constHeight).setJSNonBlock(this._jsNonblock).setAutomatic(this._automatic).setDisplayCallback(this._displayCallback).setFinallyHandler(this._finallyHandler).setAllowIrrelevantRequests(this._allowIrrelevantRequests);}else{var r=function(v){this._request=null;var w=k(v.getPayload());if(this._append){j.appendContent(this._element,w);}else j.setContent(this._element,w);this._handler();}.bind(this),s=this._displayCallback,t=this._finallyHandler;this._request=new i().setMethod('GET').setReadOnly(true).setOption('bundle',this._is_bundle).setHandler(function(v){if(s){s(r.bind(null,v));}else r(v);t&&t();});if(this._errorHandler)this._request.setErrorHandler(this._errorHandler);if(this.transportErrorHandler)this._request.setTransportErrorHandler(this.transportErrorHandler);}var u={};n(u,this._context_data);n(u,this._data);if(this._actorID)u[g.PARAMETER_ACTOR]=this._actorID;this._request.setURI(this._src).setAllowCrossPageTransition(this._allow_cross_page_transition).setData({data:JSON.stringify(u)}).send();return this;};q.prototype.cancel=function(){"use strict";if(this._request)this._request.abort();};q.prototype.setUseAjaxPipe=function(r){"use strict";this._use_ajaxpipe=!!r;return this;};q.prototype.setAppend=function(r){"use strict";this._append=!!r;return this;};q.prototype.setJSNonBlock=function(r){"use strict";this._jsNonblock=!!r;return this;};q.prototype.setAutomatic=function(r){"use strict";this._automatic=!!r;return this;};q.prototype.setDisplayCallback=function(r){"use strict";this._displayCallback=r;return this;};q.prototype.setConstHeight=function(r){"use strict";this._constHeight=!!r;return this;};q.prototype.setFinallyHandler=function(r){"use strict";this._finallyHandler=r;return this;};q.prototype.setAllowIrrelevantRequests=function(r){"use strict";this._allowIrrelevantRequests=r;return this;};q.prototype.setActorID=function(r){"use strict";this._actorID=r;return this;};q.appendToInline=function(r,s){"use strict";var t=p(r),u=p(s);if(t&&u){while(u.firstChild)j.appendContent(t,u.firstChild);j.remove(u);}};q.loadFromEndpoint=function(r,s,t,u){"use strict";u=u||{};var v='/ajax/pagelet/generic.php/'+r;if(u.intern)v='/intern'+v;var w=new m(v.replace(/\/+/g,'/'));if(u.subdomain)w.setSubdomain(u.subdomain);var x=new q(s,w,t).setUseAjaxPipe(u.usePipe).setBundleOption(u.bundle!==false).setAppend(u.append).setJSNonBlock(u.jsNonblock).setAutomatic(u.automatic).setDisplayCallback(u.displayCallback).setConstHeight(u.constHeight).setAllowCrossPageTransition(u.crossPage).setFinallyHandler(u.finallyHandler||o).setErrorHandler(u.errorHandler).setTransportErrorHandler(u.transportErrorHandler).setAllowIrrelevantRequests(u.allowIrrelevantRequests).setActorID(u.actorID);u.handler&&x.setHandler(u.handler);x.go();return x;};e.exports=q;},null); __d("LoadingDialogDimensions",[],function(a,b,c,d,e,f){var g={HEIGHT:96,WIDTH:300};e.exports=g;},null); __d("AsyncDialog",["AsyncRequest","Bootloader","CSS","DialogX","DOM","Env","Keys","LayerFadeOnShow","Parent","React","URI","XUISpinner.react","copyProperties","cx","eachKeyVal","emptyFunction","LoadingDialogDimensions"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){var w=b('LoadingDialogDimensions').WIDTH,x;function y(){if(!x){var ga=k.create('div',{className:"_57-x"});x=new j({width:w,addedBehaviors:[n],xui:true},k.create('div',null,ga));p.renderComponent(r({size:"large"}),ga);x.subscribe(['key','blur'],function(ha,ia){if(ha=='blur'||(ha=='key'&&ia.keyCode==m.ESC)){ca();return false;}});}return x;}var z={},aa=1,ba=[];function ca(){u(z,function(ga,ha){ha.abandon();da(ga);});}function da(ga){delete z[ga];if(!Object.keys(z).length)y().hide();}function ea(ga,ha){var ia=aa++;ba[ia]=ha;z[ia]=ga;var ja=da.bind(null,''+ia);s(ga.getData(),{__asyncDialog:ia});y().setCausalElement(ga.getRelativeTo()).show();var ka=ga.finallyHandler;ga.setFinallyHandler(function(la){var ma=la.getPayload();if(ma&&ma.asyncURL)fa.send(new g(ma.asyncURL));ja();ka&&ka(la);});ga.setInterceptHandler(ja).setAbortHandler(ja);ga.send();}var fa={send:function(ga,ha){ea(ga,ha||v);},bootstrap:function(ga,ha,ia){if(!ga)return;var ja=o.byClass(ha,'stat_elem')||ha;if(ja&&i.hasClass(ja,'async_saving'))return false;var ka=new q(ga).getQueryData(),la=ia==='dialog',ma=new g().setURI(ga).setData(ka).setMethod(la?'GET':'POST').setReadOnly(la).setRelativeTo(ha).setStatusElement(ja).setNectarModuleDataSafe(ha);fa.send(ma);},respond:function(ga,ha){var ia=ba[ga];if(ia){ia(ha);delete ba[ga];}},getLoadingDialog:function(){return y();}};e.exports=fa;},null);