XmlGrid Users Forum
2012-06-08 14:38:17 You can use the following javascript functions to set and retrieve cookies from the browser:
__code__
function setCookie(name,value,days) 
{
var date,expires;
if(days) 
{
date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
expires = "; expires="+date.toGMTString();
}
else 
expires = "";
document.cookie =name+"="+escape(value)+expires+"; path=/";
}
function getCookie(name)
{
var a,i,k,cookies;
cookies=document.cookie.split(";");
for (i=0;i<cookies.length;i++)
{
a=cookies[i].split("=");
k=a[0];
k=k.replace(/^s+|s+$/g,"");
  if(k==name)
  {
   return unescape(a[1]);
  }
  }
  return null;
}
__code__
;3429;2012-06-08 14:38:17__s__You can use the following javascript functions to set and retrieve cookies from the browser:
__code__
function setCookie(name,value,days) 
{
var date,expires;
if(days) 
{
date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
expires = "; expires="+date.toGMTString();
}
else 
expires = "";
document.cookie =name+"="+escape(value)+expires+"; path=/";
}
function getCookie(name)
{
var a,i,k,cookies;
cookies=document.cookie.split(";");
for (i=0;i<cookies.length;i++)
{
a=cookies[i].split("=");
k=a[0];
k=k.replace(/^s+|s+$/g,"");
  if(k==name)
  {
   return unescape(a[1]);
  }
  }
  return null;
}
__code__
__s__~u=Zac~site=NULL__s__How to create and retrieve cookies using javascript?__s____m__2013-07-13 05:39:09__s__
stringify(["u2028u2029"])==='["u2028u2029"]')JSON.stringify=function(a){var b=/u2028/g,c=/u2029/g;return function(d,e,f){var g=a.call(this,d,e,f);if(g){if(-1<g.indexOf('u2028'))g=g.replace(b,'\u2028');if(-1<g.indexOf('u2029'))g=g.replace(c,'\u2029');}return g;};}(JSON.stringify);





var __t=function(a){return a[0];},__w=function(a){return a;};

(function(a){if(a.require)return;var b=Object.prototype.toString,c={},d={},e={},f=0,g=1,h=2,i=Object.prototype.hasOwnProperty;function j(s){if(a.ErrorUtils&&!a.ErrorUtils.inGuard())return ErrorUtils.applyWithGuard(j,this,arguments);var t=c[s],u,v,w;if(!c[s]){w='Requiring unknown module "'+s+'"';throw new Error(w);}if(t.hasError)throw new Error('Requiring module "'+s+'" which threw an exception');if(t.waiting){w='Requiring module "'+s+'" with unresolved dependencies';throw new Error(w);}if(!t.exports){var x=t.exports={},y=t.factory;if(b.call(y)==='[object Function]'){var z=[],aa=t.dependencies,ba=aa.length,ca;if(t.special&h)ba=Math.min(ba,y.length);try{for(v=0;v<ba;v++){u=aa[v];z.push(u==='module'?t:(u==='exports'?x:j(u)));}ca=y.apply(t.context||a,z);}catch(da){t.hasError=true;throw da;}if(ca)t.exports=ca;}else t.exports=y;}if(t.refcount--===1)delete c[s];return t.exports;}function k(s,t,u,v,w,x){if(t===undefined){t=[];u=s;s=n();}else if(u===undefined){u=t;if(b.call(s)==='[object Array]'){t=s;s=n();}else t=[];}var y={cancel:l.bind(this,s)},z=c[s];if(z){if(x)z.refcount+=x;return y;}else if(!t&&!u&&x){e[s]=(e[s]||0)+x;return y;}else{z={id:s};z.refcount=(e[s]||0)+(x||0);delete e[s];}z.factory=u;z.dependencies=t;z.context=w;z.special=v;z.waitingMap={};z.waiting=0;z.hasError=false;c[s]=z;p(s);return y;}function l(s){if(!c[s])return;var t=c[s];delete c[s];for(var u in t.waitingMap)if(t.waitingMap[u])delete d[u][s];for(var v=0;v<t.dependencies.length;v++){u=t.dependencies[v];if(c[u]){if(c[u].refcount--===1)l(u);}else if(e[u])e[u]--;}}function m(s,t,u){return k(s,t,undefined,g,u,1);}function n(){return '__mod__'+f++;}function o(s,t){if(!s.waitingMap[t]&&s.id!==t){s.waiting++;s.waitingMap[t]=1;d[t]||(d[t]={});d[t][s.id]=1;}}function p(s){var t=[],u=c[s],v,w,x;for(w=0;w<u.dependencies.length;w++){v=u.dependencies[w];if(!c[v]){o(u,v);}else if(c[v].waiting)for(x in c[v].waitingMap)if(c[v].waitingMap[x])o(u,x);}if(u.waiting===0&&u.special&g)t.push(s);if(d[s]){var y=d[s],z;d[s]=undefined;for(v in y){z=c[v];for(x in u.waitingMap)if(u.waitingMap[x])o(z,x);if(z.waitingMap[s]){z.waitingMap[s]=undefined;z.waiting--;}if(z.waiting===0&&z.special&g)t.push(v);}}for(w=0;w<t.length;w++)j(t[w]);}function q(s,t){c[s]={id:s};c[s].exports=t;}q('module',0);q('exports',0);q('define',k);q('global',a);q('require',j);q('requireDynamic',j);q('requireLazy',m);k.amd={};a.define=k;a.require=j;a.requireDynamic=j;a.requireLazy=m;j.__debug={modules:c,deps:d};var r=function(s,t,u,v){k(s,t,u,v||h);};a.__d=function(s,t,u,v){t=['global','require','requireDynamic','requireLazy','module','exports'].concat(t);r(s,t,u,v);};})(this);
__d("SidebarPrelude",[],function(a,b,c,d,e,f){var g={addSidebarMode:function(h){var i=document.documentElement;if(i.clientWidth>h)i.className=i.className+' sidebarMode';}};e.exports=g;});
__d("eprintf",[],function(a,b,c,d,e,f){var g=function(h){var i=Array.prototype.slice.call(arguments).map(function(l){return String(l);}),j=h.split('%s').length-1;if(j!==i.length-1)return g('eprintf args number mismatch: %s',JSON.stringify(i));var k=1;return h.replace(/%s/g,function(l){return String(i[k++]);});};e.exports=g;});
__d("ex",[],function(a,b,c,d,e,f){var g=function(h){var i=Array.prototype.slice.call(arguments).map(function(k){return String(k);}),j=h.split('%s').length-1;if(j!==i.length-1)return g('ex args number mismatch: %s',JSON.stringify(i));return g._prefix+JSON.stringify(i)+g._suffix;};g._prefix='<![EX[';g._suffix=']]>';e.exports=g;});
__d("erx",["ex"],function(a,b,c,d,e,f){var g=b('ex'),h=function(i){if(typeof i!=='string')return i;var j=i.indexOf(g._prefix),k=i.lastIndexOf(g._suffix);if(j<0||k<0)return [i];var l=j+g._prefix.length,m=k+g._suffix.length;if(l>=k)return ['erx slice failure: %s',i];var n=i.substring(0,j),o=i.substring(m);i=i.substring(l,k);var p;try{p=JSON.parse(i);p[0]=n+p[0]+o;}catch(q){return ['erx parse failure: %s',i];}return p;};e.exports=h;});
__d("copyProperties",[],function(a,b,c,d,e,f){function g(h,i,j,k,l,m,n){h=h||{};var o=[i,j,k,l,m],p=0,q;while(o[p]){q=o[p++];for(var r in q)h[r]=q[r];if(q.hasOwnProperty&&q.hasOwnProperty('toString')&&(typeof q.toString!='undefined')&&(h.toString!==q.toString))h.toString=q.toString;}return h;}e.exports=g;});
__d("Env",["copyProperties"],function(a,b,c,d,e,f){var g=b('copyProperties'),h={start:Date.now()};if(a.Env){g(h,a.Env);a.Env=undefined;}e.exports=h;});
__d("ErrorUtils",["eprintf","erx","Env"],function(a,b,c,d,e,f){var g=b('eprintf'),h=b('erx'),i=b('Env'),j='<anonymous guard>',k='<generated guard>',l='<window.onerror>',m=[],n=[],o=50,p=window.chrome&&'type' in new Error(),q=false;function r(da){if(!da)return;var ea=da.split(/ /)[0].replace(/[()]|[.*?]|^w+:s.*? /g,'').split(' ').map(function(fa){var ga,ha,ia;fa=fa.trim();if(/(:(d+)(:(d+))?)$/.test(fa)){ha=RegExp.$2;ia=RegExp.$4;fa=fa.slice(0,-RegExp.$1.length);}if(/(.*)(@|s)[^s]+$/.test(fa)){fa=fa.substring(RegExp.$1.length+1);ga=/(at)?s*(.*)([^s]+|$)/.test(RegExp.$1)?RegExp.$2:'';}return '    at'+(ga?' '+ga+' (':' ')+fa.replace(/^@/,'')+(ha?':'+ha:'')+(ia?':'+ia:'')+(ga?')':'');});return ea.join(' ');}function s(da){if(!da){return {};}else if(da._originalError)return da;var ea={line:da.lineNumber||da.line,column:da.columnNumber||da.column,name:da.name,message:da.message,script:da.fileName||da.sourceURL||da.script,stack:r(da.stackTrace||da.stack),guard:da.guard};if(typeof ea.message==='string'){ea.messageWithParams=h(ea.message);ea.message=g.apply(a,ea.messageWithParams);}else{ea.messageObject=ea.message;ea.message=String(ea.message);}ea._originalError=da;if(da.framesToPop&&ea.stack){var fa=ea.stack.split(' ');fa.shift();if(da.framesToPop===2)da.message+=' '+fa.shift().trim();ea.stack=fa.join(' ');if(/(w{3,5}://[^:]+):(d+)/.test(fa[0])){ea.script=RegExp.$1;ea.line=parseInt(RegExp.$2,10);}delete da.framesToPop;}if(p&&/(w{3,5}://[^:]+):(d+)/.test(da.stack)){ea.script=RegExp.$1;ea.line=parseInt(RegExp.$2,10);}for(var ga in ea)(ea[ga]==null&&delete ea[ga]);return ea;}function t(){try{throw new Error();}catch(da){var ea=s(da).stack;return ea&&ea.replace(/[sS]*__getTrace__.* /,'');}}function u(da,ea){if(q)return false;da=s(da);!ea;if(n.length>o)n.splice(o/2,1);n.push(da);q=true;for(var fa=0;fa<m.length;fa++)try{m[fa](da);}catch(ga){}q=false;return true;}var v=false;function w(){return v;}function x(){v=false;}function y(da,ea,fa,ga,ha){var ia=!v;if(ia)v=true;var ja,ka=i.nocatch||(/nocatch/).test(location.search);if(ka){ja=da.apply(ea,fa||[]);if(ia)x();return ja;}try{ja=da.apply(ea,fa||[]);if(ia)x();return ja;}catch(la){if(ia)x();var ma=s(la);if(ga)ga(ma);if(da)ma.callee=da.toString().substring(0,100);if(fa)ma.args=Array.prototype.slice.call(fa).toString().substring(0,100);ma.guard=ha||j;u(ma);}}function z(da,ea){ea=ea||da.name||k;function fa(){return y(da,this,arguments,null,ea);}return fa;}function aa(da,ea,fa,ga){u({message:da,script:ea,line:fa,column:ga,guard:l},true);}window.onerror=aa;function ba(da,ea){m.push(da);if(!ea)n.forEach(da);}var ca={ANONYMOUS_GUARD_TAG:j,GENERATED_GUARD_TAG:k,GLOBAL_ERROR_HANDLER_TAG:l,addListener:ba,applyWithGuard:y,getTrace:t,guard:z,history:n,inGuard:w,normalizeError:s,onerror:aa,reportError:u};e.exports=a.ErrorUtils=ca;if(typeof __t==='function'&&__t.setHandler)__t.setHandler(u);});
__d("CallbackDependencyManager",["ErrorUtils"],function(a,b,c,d,e,f){var g=b('ErrorUtils');function h(){this.$CallbackDependencyManager0={};this.$CallbackDependencyManager1={};this.$CallbackDependencyManager2=1;this.$CallbackDependencyManager3={};}h.prototype.$CallbackDependencyManager4=function(i,j){var k=0,l={};for(var m=0,n=j.length;m<n;m++)l[j[m]]=1;for(var o in l){if(this.$CallbackDependencyManager3[o])continue;k++;if(this.$CallbackDependencyManager0[o]===undefined)this.$CallbackDependencyManager0[o]={};this.$CallbackDependencyManager0[o][i]=(this.$CallbackDependencyManager0[o][i]||0)+1;}return k;};h.prototype.$CallbackDependencyManager5=function(i){if(!this.$CallbackDependencyManager0[i])return;for(var j in this.$CallbackDependencyManager0[i]){this.$CallbackDependencyManager0[i][j]--;if(this.$CallbackDependencyManager0[i][j]<=0)delete this.$CallbackDependencyManager0[i][j];this.$CallbackDependencyManager1[j].$CallbackDependencyManager6--;if(this.$CallbackDependencyManager1[j].$CallbackDependencyManager6<=0){var k=this.$CallbackDependencyManager1[j].$CallbackDependencyManager7;delete this.$CallbackDependencyManager1[j];g.applyWithGuard(k);}}};h.prototype.addDependenciesToExistingCallback=function(i,j){if(!this.$CallbackDependencyManager1[i])return null;var k=this.$CallbackDependencyManager4(i,j);this.$CallbackDependencyManager1[i].$CallbackDependencyManager6+=k;return i;};h.prototype.isPersistentDependencySatisfied=function(i){return !!this.$CallbackDependencyManager3[i];};h.prototype.satisfyPersistentDependency=function(i){this.$CallbackDependencyManager3[i]=1;this.$CallbackDependencyManager5(i);};h.prototype.satisfyNonPersistentDependency=function(i){var j=this.$CallbackDependencyManager3[i]===1;if(!j)this.$CallbackDependencyManager3[i]=1;this.$CallbackDependencyManager5(i);if(!j)delete this.$CallbackDependencyManager3[i];};h.prototype.registerCallback=function(i,j){var k=this.$CallbackDependencyManager2;this.$CallbackDependencyManager2++;var l=this.$CallbackDependencyManager4(k,j);if(l===0){g.applyWithGuard(i);return null;}this.$CallbackDependencyManager1[k]={$CallbackDependencyManager7:i,$CallbackDependencyManager6:l};return k;};h.prototype.unsatisfyPersistentDependency=function(i){delete this.$CallbackDependencyManager3[i];};e.exports=h;});
__d("hasArrayNature",[],function(a,b,c,d,e,f){function g(h){return (!!h&&(typeof h=='object'||typeof h=='function')&&('length' in h)&&!('setInterval' in h)&&(Object.prototype.toString.call(h)==="[object Array]"||('callee' in h)||('item' in h)));}e.exports=g;});
__d("createArrayFrom",["hasArrayNature"],function(a,b,c,d,e,f){var g=b('hasArrayNature');function h(i){if(!g(i))return [i];if(i.item){var j=i.length,k=new Array(j);while(j--)k[j]=i[j];return k;}return Array.prototype.slice.call(i);}e.exports=h;});
__d("invariant",[],function(a,b,c,d,e,f){function g(h){if(!h)throw new Error('Invariant Violation');}e.exports=g;});
__d("EventEmitter",["createArrayFrom","invariant"],function(a,b,c,d,e,f){var g=b('createArrayFrom'),h=b('invariant');function i(){this.$EventEmitter0={};this.$EventEmitter1={};this.$EventEmitter2={};}i.prototype.addListener=function(k,l,m){if(!this.$EventEmitter0[k])this.$EventEmitter0[k]=[];var n=this.$EventEmitter0[k].length;this.$EventEmitter0[k].push(l);if(m!==undefined){if(!this.$EventEmitter1[k])this.$EventEmitter1[k]=[];this.$EventEmitter1[k][n]=m;}return new j(this,k,n);};i.prototype.once=function(k,l,m){var n=this;return this.addListener(k,function(){n.removeCurrentListener();l.apply(m,arguments);});};i.prototype.removeAllListeners=function(k){if(k===undefined){this.$EventEmitter0={};this.$EventEmitter1={};}else{delete this.$EventEmitter0[k];delete this.$EventEmitter1[k];}};i.prototype.removeCurrentListener=function(){h(this.$EventEmitter2.key!==undefined);this.removeSubscription(this.$EventEmitter2);};i.prototype.removeSubscription=function(k){var l=k.eventType,m=k.key,n=this.$EventEmitter0[l];if(n)delete n[m];var o=this.$EventEmitter1[l];if(o)delete o[m];};i.prototype.listeners=function(k){var l=this.$EventEmitter0[k];return l?g(l):[];};i.prototype.emit=function(k,l,m,n,o,p,q){h(q===undefined);var r=this.$EventEmitter0[k];if(r){var s=this.$EventEmitter1[k];this.$EventEmitter2.eventType=k;var t=Object.keys(r);for(var u=0;u<t.length;u++){var v=t[u],w=r[v];if(w){var x=s?s[v]:undefined;this.$EventEmitter2.key=v;if(x===undefined){w(l,m,n,o,p);}else w.call(x,l,m,n,o,p);}}this.$EventEmitter2.eventType=undefined;this.$EventEmitter2.key=undefined;}};function j(k,l,m){this.$ListenerSubscription0=k;this.eventType=l;this.key=m;}j.prototype.remove=function(){this.$ListenerSubscription0.removeSubscription(this);};e.exports=i;});
__d("EventEmitterWithHolding",[],function(a,b,c,d,e,f){function g(h,i){this.$EventEmitterWithHolding0=h;this.$EventEmitterWithHolding1=i;this.$EventEmitterWithHolding2=null;this.$EventEmitterWithHolding3=false;}g.prototype.addListener=function(h,i,j){return this.$EventEmitterWithHolding0.addListener(h,i,j);};g.prototype.once=function(h,i,j){return this.$EventEmitterWithHolding0.once(h,i,j);};g.prototype.addRetroactiveListener=function(h,i,j){var k=this.$EventEmitterWithHolding0.addListener(h,i,j);this.$EventEmitterWithHolding3=true;this.$EventEmitterWithHolding1.emitToListener(h,i,j);this.$EventEmitterWithHolding3=false;return k;};g.prototype.removeAllListeners=function(h){this.$EventEmitterWithHolding0.removeAllListeners(h);};g.prototype.removeCurrentListener=function(){this.$EventEmitterWithHolding0.removeCurrentListener();};g.prototype.removeSubscription=function(h){this.$EventEmitterWithHolding0.removeSubscription(h);};g.prototype.listeners=function(h){return this.$EventEmitterWithHolding0.listeners(h);};g.prototype.emit=function(h,i,j,k,l,m,n){this.$EventEmitterWithHolding0.emit(h,i,j,k,l,m,n);};g.prototype.emitAndHold=function(h,i,j,k,l,m,n){this.$EventEmitterWithHolding2=this.$EventEmitterWithHolding1.holdEvent(h,i,j,k,l,m,n);this.$EventEmitterWithHolding0.emit(h,i,j,k,l,m,n);this.$EventEmitterWithHolding2=null;};g.prototype.releaseCurrentEvent=function(){if(this.$EventEmitterWithHolding2!==null){this.$EventEmitterWithHolding1.releaseEvent(this.$EventEmitterWithHolding2);}else if(this.$EventEmitterWithHolding3)this.$EventEmitterWithHolding1.releaseCurrentEvent();};e.exports=g;});
__d("EventHolder",["invariant"],function(a,b,c,d,e,f){var g=b('invariant');function h(){this.$EventHolder0=[];this.$EventHolder1=[];this.$EventHolder2=null;}h.prototype.holdEvent=function(i,j,k,l,m,n,o){var p=this.$EventHolder0.length,event=[i,j,k,l,m,n,o];this.$EventHolder0.push(event);return p;};h.prototype.emitToListener=function(i,j,k){this.forEachHeldEvent(function(l,m,n,o,p,q,r){if(l===i)j.call(k,m,n,o,p,q,r);});};h.prototype.forEachHeldEvent=function(i,j){this.$EventHolder0.forEach(function(event,k){this.$EventHolder2=k;i.apply(j,event);},this);this.$EventHolder2=null;};h.prototype.releaseCurrentEvent=function(){g(this.$EventHolder2!==null);delete this.$EventHolder0[this.$EventHolder2];};h.prototype.releaseEvent=function(i){delete this.$EventHolder0[i];};e.exports=h;});
__d("asyncCallback",[],function(a,b,c,d,e,f){function g(h,i){if(a.ArbiterMonitor)return a.ArbiterMonitor.asyncCallback(h,i);return h;}e.exports=g;});
__d("emptyFunction",["copyProperties"],function(a,b,c,d,e,f){var g=b('copyProperties');function h(j){return function(){return j;};}function i(){}g(i,{thatReturns:h,thatReturnsFalse:h(false),thatReturnsTrue:h(true),thatReturnsNull:h(null),thatReturnsThis:function(){return this;},thatReturnsArgument:function(j){return j;}});e.exports=i;});
__d("Arbiter",["CallbackDependencyManager","ErrorUtils","EventEmitter","EventEmitterWithHolding","EventHolder","asyncCallback","copyProperties","createArrayFrom","emptyFunction","hasArrayNature","invariant"],function(a,b,c,d,e,f){var g=b('CallbackDependencyManager'),h=b('ErrorUtils'),i=b('EventEmitter'),j=b('EventEmitterWithHolding'),k=b('EventHolder'),l=b('asyncCallback'),m=b('copyProperties'),n=b('createArrayFrom'),o=b('emptyFunction'),p=b('hasArrayNature'),q=b('invariant');function r(){var v=new i();this.$Arbiter0=new t();this.$Arbiter1=new j(v,this.$Arbiter0);this.$Arbiter2=new g();this.$Arbiter3=[];}r.prototype.subscribe=function(v,w,x){v=n(v);q(v.every(o.thatReturnsArgument));x=x||r.SUBSCRIBE_ALL;q(x===r.SUBSCRIBE_NEW||x===r.SUBSCRIBE_ALL);var y=v.map(function(z){var aa=this.$Arbiter4.bind(this,w,z);if(x===r.SUBSCRIBE_NEW)return this.$Arbiter1.addListener(z,aa);this.$Arbiter3.push({});var ba=this.$Arbiter1.addRetroactiveListener(z,aa);this.$Arbiter3.pop();return ba;},this);return new u(this,y);};r.prototype.$Arbiter4=function(v,w,x){var y=this.$Arbiter3[this.$Arbiter3.length-1];if(y[w]===false)return;var z=h.applyWithGuard(v,null,[w,x]);if(z===false)this.$Arbiter1.releaseCurrentEvent();y[w]=z;};r.prototype.subscribeOnce=function(v,w,x){var y=this.subscribe(v,function(z,aa){y&&y.unsubscribe();return w(z,aa);},x);return y;};r.prototype.unsubscribe=function(v){q(v.isForArbiterInstance(this));v.unsubscribe();};r.prototype.inform=function(v,w,x){var y=p(v);v=n(v);x=x||r.BEHAVIOR_EVENT;var z=(x===r.BEHAVIOR_STATE)||(x===r.BEHAVIOR_PERSISTENT),aa=a.ArbiterMonitor;this.$Arbiter3.push({});for(var ba=0;ba<v.length;ba++){var ca=v[ba];q(ca);this.$Arbiter0.setHoldingBehavior(ca,x);aa&&aa.record('event',ca,w,this);this.$Arbiter1.emitAndHold(ca,w);this.$Arbiter5(ca,w,z);aa&&aa.record('done',ca,w,this);}var da=this.$Arbiter3.pop();return y?da:da[v[0]];};r.prototype.query=function(v){var w=this.$Arbiter0.getHoldingBehavior(v);q(!w||w===r.BEHAVIOR_STATE);var x=null;this.$Arbiter0.emitToListener(v,function(y){x=y;});return x;};r.prototype.registerCallback=function(v,w){if(typeof v==='function'){return this.$Arbiter2.registerCallback(l(v,'arbiter'),w);}else return this.$Arbiter2.addDependenciesToExistingCallback(v,w);};r.prototype.$Arbiter5=function(v,w,x){if(w===null)return;if(x){this.$Arbiter2.satisfyPersistentDependency(v);}else this.$Arbiter2.satisfyNonPersistentDependency(v);};var s=k===null?null:k.prototype;t.prototype=Object.create(s);t.prototype.constructor=t;t.__superConstructor__=k;function t(){k.call(this);this.$ArbiterEventHolder0={};}t.prototype.setHoldingBehavior=function(v,w){this.$ArbiterEventHolder0[v]=w;};t.prototype.getHoldingBehavior=function(v){return this.$ArbiterEventHolder0[v];};t.prototype.holdEvent=function(v,w,x,y,z){var aa=this.$ArbiterEventHolder0[v];if(aa!==r.BEHAVIOR_PERSISTENT)this.$ArbiterEventHolder2(v);if(aa!==r.BEHAVIOR_EVENT)return s.holdEvent.call(this,v,w,x,y,z);};t.prototype.$ArbiterEventHolder2=function(v){this.emitToListener(v,this.releaseCurrentEvent,this);};m(r,{SUBSCRIBE_NEW:'new',SUBSCRIBE_ALL:'all',BEHAVIOR_EVENT:'event',BEHAVIOR_STATE:'state',BEHAVIOR_PERSISTENT:'persistent'});function u(v,w){this.$ArbiterToken0=v;this.$ArbiterToken1=w;}u.prototype.unsubscribe=function(){for(var v=0;v<this.$ArbiterToken1.length;v++)this.$ArbiterToken1[v].remove();this.$ArbiterToken1.length=0;};u.prototype.isForArbiterInstance=function(v){q(this.$ArbiterToken0);return this.$ArbiterToken0===v;};Object.keys(r.prototype).forEach(function(v){r[v]=function(){var w=(this instanceof r)?this:r;return r.prototype[v].apply(w,arguments);};});r.call(r);e.exports=r;});
__d("ArbiterMixin",["Arbiter"],function(a,b,c,d,e,f){var g=b('Arbiter'),h={_getArbiterInstance:function(){return this._arbiter||(this._arbiter=new g());},inform:function(i,j,k){return this._getArbiterInstance().inform(i,j,k);},subscribe:function(i,j,k){return this._getArbiterInstance().subscribe(i,j,k);},subscribeOnce:function(i,j,k){return this._getArbiterInstance().subscribeOnce(i,j,k);},unsubscribe:function(i){this._getArbiterInstance().unsubscribe(i);},registerCallback:function(i,j){this._getArbiterInstance().registerCallback(i,j);},query:function(i){return this._getArbiterInstance().query(i);}};e.exports=h;});
__d("legacy:ArbiterMixin",["ArbiterMixin"],function(a,b,c,d){a.ArbiterMixin=b('ArbiterMixin');},3);
__d("ge",[],function(a,b,c,d,e,f){function g(j,k,l){return typeof j!='string'?j:!k?document.getElementById(j):
__s__~u=2345245~site=NULL__s__ __s____m__

Best view with Google Chrome