if(null!=b&&"string"!=typeofb)throwError("Query: When ordering by key, the argument passed to startAt(), endAt(),or equalTo() must be a string.")}if(a.na){if("[MAX_NAME]"!=sc(a))throwError("Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().");if(null!=c&&"string"!=typeofc)throwError("Query: When ordering by key, the argument passed to startAt(), endAt(),or equalTo() must be a string.")}}elseif(a.m===L){if(null!=b&&!Rb(b)||null!=c&&!Rb(c))throwError("Query: When ordering by priority, the first argument passed to startAt(), endAt(), or equalTo() must be a valid priority value (null, a number, or a string).")}elseif(x(a.minstanceofjc,"unknown index type."),null!=b&&"object"==typeofb||null!=c&&"object"==typeofc)throwError("Query: First argument passed to startAt(), endAt(), or equalTo() cannot be an object.")}functionyc(a){if(a.ga&&a.na&&a.ka&&(!a.ka||""===a.Hb))throwError("Query: Can't combine startAt(), endAt(), and limit(). Use limitToFirst() or limitToLast() instead.")}functionzc(a,b){if(!0===a.dc)throwError(b+": You can't combine multiple orderBy calls.")}functionDc(a){a=a.w;varb={};if(a.ga&&(b.sp=a.Bc,a.nc&&(b.sn=a.Xb)),a.na&&(b.ep=a.Ac,a.yc&&(b.en=a.Ub)),a.ka){b.l=a.xb;varc=a.Hb;""===c&&(c=a.ga?"l":"r"),b.vf=c}returna.m!==L&&(b.i=a.m.toString()),b}functionAc(a,b,c){vard={cancel:null,Ha:null};if(b&&c)d.cancel=b,F(a,3,d.cancel,!0),d.Ha=c,Nb(a,4,d.Ha);elseif(b)if("object"==typeofb&&null!==b)d.Ha=b;else{if("function"!=typeofb)throwError(E(a,3,!0)+" must either be a cancel callback or a context object.");d.cancel=b}returnd}functionP(a,b){if(1==arguments.length){this.n=a.split("/");for(varc=0,d=0;d<this.n.length;d++)0<this.n[d].length&&(this.n[c]=this.n[d],c++);this.n.length=c,this.aa=0}elsethis.n=a,this.aa=b}functionG(a){returna.aa>=a.n.length?null:a.n[a.aa]}functionQ(a){returna.n.length-a.aa}functionR(a){varb=a.aa;returnb<a.n.length&&b++,newP(a.n,b)}functionT(a,b){varc=G(a);if(null===c)returnb;if(c===G(b))returnT(R(a),R(b));throwError("INTERNAL ERROR: innerPath ("+b+") is not within outerPath ("+a+")")}functionEc(){this.children={},this.dd=0,this.value=null}functionFc(a,b,c){this.yd=a?a:"",this.Oc=b?b:null,this.D=c?c:newEc}functionGc(a,b){for(varc,d=binstanceofP?b:newP(b),e=a;null!==(c=G(d));)e=newFc(c,e,v(e.D.children,c)||newEc),d=R(d);returne}functionHc(a,b){x("undefined"!=typeofb,"Cannot set value to undefined"),a.D.value=b,Ic(a)}functionJc(a,b,c,d){c&&!d&&b(a),a.ca(function(a){Jc(a,b,!0,d)}),c&&d&&b(a)}functionKc(a,b){for(varc=a.parent();null!==c&&!b(c);)c=c.parent()}functionIc(a){if(null!==a.Oc){varb=a.Oc,c=a.yd,d=a.e(),e=u(b.D.children,c);d&&e?(deleteb.D.children[c],b.D.dd--,Ic(b)):d||e||(b.D.children[c]=a.D,b.D.dd++,Ic(b))}}functionLc(a,b){this.Ga=a,this.pa=b?b:Mc}functionNc(a,b){for(varc,d=a.pa,e=null;!d.e();){if(c=a.Ga(b,d.key),0===c){if(d.left.e())returne?e.key:null;for(d=d.left;!d.right.e();)d=d.right;returnd.key}0>c?d=d.left:c>0&&(e=d,d=d.right)}throwError("Attempted to find predecessor key for a nonexistent key. What gives?")}functionOc(a,b,c,d,e){for(this.qf=e||null,this.te=d,this.ac=[],e=1;!a.e();)if(e=b?c(a.key,b):1,d&&(e*=-1),0>e)a=this.te?a.left:a.right;else{if(0===e){this.ac.push(a);break}this.ac.push(a),a=this.te?a.right:a.left}}functionU(a){if(0===a.ac.length)returnnull;varb,c=a.ac.pop();if(b=a.qf?a.qf(c.key,c.value):{key:c.key,value:c.value},a.te)for(c=c.left;!c.e();)a.ac.push(c),c=c.right;elsefor(c=c.right;!c.e();)a.ac.push(c),c=c.left;returnb}functionPc(a,b,c,d,e){this.key=a,this.value=b,this.color=null!=c?c:!0,this.left=null!=d?d:Mc,this.right=null!=e?e:Mc}functionQc(a){returna.left.e()?a:Qc(a.left)}functionSc(a){returna.left.e()?Mc:(a.left.$()||a.left.left.$()||(a=Tc(a)),a=a.W(null,null,null,Sc(a.left),null),Rc(a))}functionRc(a){returna.right.$()&&!a.left.$()&&(a=Wc(a)),a.left.$()&&a.left.left.$()&&(a=Uc(a)),a.left.$()&&a.right.$()&&(a=Vc(a)),a}functionTc(a){returna=Vc(a),a.right.left.$()&&(a=a.W(null,null,null,null,Uc(a.right)),a=Wc(a),a=Vc(a)),a}functionWc(a){retu
}functionX(a){returna.u||a.X}functionjg(a,b){this.value=a,this.children=b||kg}functionmg(a){varb=lg;returnA(a,function(a,c){b=b.set(newP(c),a)}),b}functionng(a,b,c){if(null!=a.value&&c(a.value))return{path:S,value:a.value};if(b.e())returnnull;vard=G(b);returna=a.children.get(d),null!==a?(b=ng(a,R(b),c),null!=b?{path:newP(d).k(b.path),value:b.value}:null):null}functionog(a,b){returnng(a,b,function(){return!0})}functionpg(a,b,c){if(b.e())returnc;vard=G(b);returnb=pg(a.children.get(d)||lg,R(b),c),d=b.e()?a.children.remove(d):a.children.Ja(d,b),newjg(a.value,d)}functionqg(a,b){returnrg(a,S,b)}functionrg(a,b,c){vard={};returna.children.Ba(function(a,e){d[a]=rg(e,b.k(a),c)}),c(b,a.value,d)}functionsg(a,b,c){returntg(a,b,S,c)}functiontg(a,b,c,d){vare=a.value?d(c,a.value):!1;returne?e:b.e()?null:(e=G(b),(a=a.children.get(e))?tg(a,R(b),c.k(e),d):null)}functionug(a,b,c){if(!b.e()){vard=!0;a.value&&(d=c(S,a.value)),!0===d&&(d=G(b),(a=a.children.get(d))&&vg(a,R(b),S.k(d),c))}}functionvg(a,b,c,d){if(b.e())returna;a.value&&d(c,a.value);vare=G(b);return(a=a.children.get(e))?vg(a,R(b),c.k(e),d):lg}functionXf(a,b){wg(a,S,b)}functionwg(a,b,c){a.children.Ba(function(a,d){wg(d,b.k(a),c)}),a.value&&c(b,a.value)}functionxg(a,b){a.children.Ba(function(a,c){c.value&&b(a,c.value)})}functionyg(){this.qa={}}functionAg(a){returnKa(xd(a.qa),function(a){return!wc(a.U.w)})}functionBg(a,b){if(wc(b.w))returnzg(a);varc=b.Da();returnv(a.qa,c)}functionzg(a){returnAd(a.qa,function(a){returnwc(a.U.w)})||null}functionCg(){this.V=lg,this.ra=[],this.Ec=-1}functionDg(a,b){varc=Pa(a.ra,function(a){returna.Xd===b});x(c>=0,"removeWrite called with nonexistent writeId.");vard=a.ra[c];a.ra.splice(c,1);for(vare=!1,f=!1,g=!1,h=a.ra.length-1;!e&&h>=0;){vari=a.ra[h];h>=c&&Eg(i,d.path)?e=!0:!f&&d.path.contains(i.path)&&(h>=c?f=!0:g=!0),h--}returne||(f||g?Fg(a):d.Oa?a.V=a.V.remove(d.path):A(d.children,function(b,c){a.V=a.V.remove(d.path.k(c))})),c=d.path,og(a.V,c)?g?c:(x(e,"Must have found a shadow"),null):c}functionEg(a,b){returna.Oa?a.path.contains(b):!!zd(a.children,function(c,d){returna.path.k(d).contains(b)})}functionFg(a){a.V=Gg(a.ra,Hg,S),a.Ec=0<a.ra.length?a.ra[a.ra.length-1].Xd:-1}functionHg(a){returna.visible}functionGg(a,b,c){for(vard=lg,e=0;e<a.length;++e){varf=a[e];if(b(f)){varg,h=f.path;f.Oa?(c.contains(h)?(g=T(c,h),f=f.Oa):(g=S,f=f.Oa.da(T(h,c))),d=Ig(d,g,f)):d=Jg(d,f.path,f.children)}}returnd}functionIg(a,b,c){vard=og(a,b);if(d){vare=d.value,d=d.path;b=T(d,b),c=e.L(b,c),a=pg(a,d,newjg(c))}elsea=pg(a,b,newjg(c));returna}functionJg(a,b,c){vard=og(a,b);if(d){vare=d.value,d=d.path,f=T(d,b),g=e;A(c,function(a,b){g=g.L(f.k(b),a)}),a=pg(a,d,newjg(g))}elseA(c,function(c,d){a=pg(a,b.k(d),newjg(c))});returna}functionKg(a,b){this.Gb=a,this.Ib=b}functionLg(a,b,c){this.type=Qf,this.source=a,this.path=b,this.Oa=c}functionMg(a,b){this.type=Sf,this.source=Ng,this.path=a,this.sf=b}functionOg(a,b){this.type=Vf,this.source=a,this.path=b}functionPg(a,b,c){this.type=Rf,this.source=a,this.path=b,this.children=c}functionQg(a,b,c,d){this.$e=a,this.Ze=b,this.fc=c,this.wf=d,x(!d||b,"Tagged queries must be from server.")}functionSg(a){this.ma=lg,this.Bb=newCg,this.Zc={},this.gc={},this.Fc=a}functionUg(a,b,c,d){if(d=Cd(a.Zc,"_"+d),null!=d){vare=Vg(d);returnd=e.path,e=e.fc,b=T(d,b),c=newLg(newQg(!1,!0,e,!0),b,c),Wg(a,d,c)}return[]}functionXg(a,b,c,d){if(d=Cd(a.Zc,"_"+d)){vare=Vg(d);returnd=e.path,e=e.fc,b=T(d,b),c=mg(c),c=newPg(newQg(!1,!0,e,!0),b,c),Wg(a,d,c)}return[]}functionah(a){returnqg(a,function(a,b,c){if(b&&null!=zg(b))return[zg(b)];vard=[];returnb&&(d=Ag(b)),A(c,function(a){d=d.concat(a)}),d})}functiondh(a,b){for(varc=0;c<b.length;++c){vard=b[c];if(!wc(d.w)){vard=Yg(d),e=a.gc[d];deletea.gc[d],deletea.Zc["_"+e]}}}function$g(a,b,c){vard=b.path,e=ch(a,b);if(c=bh(a,c),b=a.Fc.Le(b,e,c.qd,c.H),d=a.ma.subtree(d),e)x(null==zg(d.value),"If we're adding a query, it shouldn't be shadowed");elsefor(e=qg(d,function(a,b,c){if(!a.e()&&b&&null!=zg(b))return[hg(zg(b))];vard=[];retur
},h.ja=function(a){if(a===this)return!0;if(a.P())return!1;if(this.O().ja(a.O())&&this.j.count()===a.j.count()){varb=this.Aa(L);a=a.Aa(L);for(varc=U(b),d=U(a);c&&d;){if(c.name!==d.name||!c.K.ja(d.K))return!1;c=U(b),d=U(a)}returnnull===c&&null===d}return!1},h.toString=function(){vara="{",b=!0;returnthis.ca(L,function(c,d){b?b=!1:a+=", ",a+='"'+c+'" : '+d.toString()}),a+="}"};varpd=Math.log(2),K=newbd(newLc(fc),null,id);na(sd,bd),h=sd.prototype,h.he=function(a){returna===this?0:1},h.ja=function(a){returna===this},h.O=function(){throwib("Why is this called?")},h.B=function(){returnK},h.e=function(){return!1};varkc=newsd,ic=newI("[MIN_NAME]",K);C.prototype.N=function(){returnD("Firebase.DataSnapshot.val",0,0,arguments.length),this.D.N()},C.prototype.val=C.prototype.N,C.prototype.Xe=function(){returnD("Firebase.DataSnapshot.exportVal",0,0,arguments.length),this.D.N(!0)},C.prototype.exportVal=C.prototype.Xe,C.prototype.Qf=function(){returnD("Firebase.DataSnapshot.exists",0,0,arguments.length),!this.D.e()},C.prototype.exists=C.prototype.Qf,C.prototype.k=function(a){D("Firebase.DataSnapshot.child",0,1,arguments.length),ga(a)&&(a=String(a)),Zb("Firebase.DataSnapshot.child",a);varb=newP(a),c=this.U.k(b);returnnewC(this.D.da(b),c,L)},C.prototype.child=C.prototype.k,C.prototype.Y=function(a){D("Firebase.DataSnapshot.hasChild",1,1,arguments.length),Zb("Firebase.DataSnapshot.hasChild",a);varb=newP(a);return!this.D.da(b).e()},C.prototype.hasChild=C.prototype.Y,C.prototype.O=function(){returnD("Firebase.DataSnapshot.getPriority",0,0,arguments.length),this.D.O().N()},C.prototype.getPriority=C.prototype.O,C.prototype.forEach=function(a){if(D("Firebase.DataSnapshot.forEach",1,1,arguments.length),F("Firebase.DataSnapshot.forEach",1,a,!1),this.D.P())return!1;varb=this;return!!this.D.ca(this.m,function(c,d){returna(newC(d,b.U.k(c),L))})},C.prototype.forEach=C.prototype.forEach,C.prototype.pd=function(){returnD("Firebase.DataSnapshot.hasChildren",0,0,arguments.length),this.D.P()?!1:!this.D.e()},C.prototype.hasChildren=C.prototype.pd,C.prototype.name=function(){returnz("Firebase.DataSnapshot.name() being deprecated. Please use Firebase.DataSnapshot.key() instead."),D("Firebase.DataSnapshot.name",0,0,arguments.length),this.key()},C.prototype.name=C.prototype.name,C.prototype.key=function(){returnD("Firebase.DataSnapshot.key",0,0,arguments.length),this.U.key()},C.prototype.key=C.prototype.key,C.prototype.Ua=function(){returnD("Firebase.DataSnapshot.numChildren",0,0,arguments.length),this.D.Ua()},C.prototype.numChildren=C.prototype.Ua,C.prototype.hc=function(){returnD("Firebase.DataSnapshot.ref",0,0,arguments.length),this.U},C.prototype.ref=C.prototype.hc,td.prototype.Td=function(a){for(varb=this.Gc[a]||[],c=0;c<b.length;c++)b[c].sc.apply(b[c].Ha,Array.prototype.slice.call(arguments,1))},td.prototype.zb=function(a,b,c){ud(this,a),this.Gc[a]=this.Gc[a]||[],this.Gc[a].push({sc:b,Ha:c}),(a=this.pe(a))&&b.apply(c,a)},td.prototype.bc=function(a,b,c){ud(this,a),a=this.Gc[a]||[];for(vard=0;d<a.length;d++)if(a[d].sc===b&&(!c||c===a[d].Ha)){a.splice(d,1);break}},na(vd,td),ca(vd),vd.prototype.pe=function(a){returnx("visible"===a,"Unknown event type: "+a),[this.qc]},na(wd,td),ca(wd),wd.prototype.pe=function(a){returnx("online"===a,"Unknown event type: "+a),[this.Lc]};varDd="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");Fd.prototype.get=function(){returnod(this.wc)},Hd.prototype.get=function(){vara=this.Kf.get(),b=od(a);if(this.vd)for(varcinthis.vd)b[c]-=this.vd[c];returnthis.vd=a,b},Id.prototype.nf=function(){vara,b=this.Nd.get(),c={},d=!1;for(ainb)0<b[a]&&u(this.uf,a)&&(c[a]=b[a],d=!0);d&&(b=this.S,b.ia&&(c={c:c},b.f("reportStats",c),b.wa("s",c))),setTimeout(q(this.nf,this),Math.floor(6e5*Math.random()))};varJd={},Kd={},Nd=null;"undefined"!=typeofMozWebSocket?Nd=MozWebSocket:"undefined"!=typeofWebSocket&&(Nd=WebSocket);varPd;Od.prototype.open=function(a,b){this.fb=b,this.cg=a,this.f("Websocket connecting to "+this.Za),this.zc=!1,Aa.set("previous_we
vare="ok"===b;e||z("update at "+a+" failed: "+b);vare=i.M.Ea(g,!e),f=a;0<e.length&&(f=kh(i,a)),Xe(i.Z,f,e),mh(c,b,d)}),b=nh(this,a),kh(this,b),Xe(this.Z,a,[])}},h.Ce=function(a,b){varc=this;this.S.Ce(a.toString(),function(d,e){"ok"===d&&Qe(c.ea,a),mh(b,d,e)})},h.tb=function(){this.S.tb()},h.kc=function(){this.S.kc()},h.Me=function(a){if("undefined"!=typeofconsole){a?(this.Nd||(this.Nd=newHd(this.Qa)),a=this.Nd.get()):a=this.Qa.get();varb,c=Ma(yd(a),function(a,b){returnMath.max(b.length,a)},0);for(bina){for(vard=a[b],e=b.length;c+2>e;e++)b+=" ";console.log(b+d)}}},h.Ne=function(a){Gd(this.Qa,a),this.ug.uf[a]=!0},h.f=function(){kb("r:"+this.S.id+":",arguments)},ca(Ah),Ah.prototype.tb=function(){for(varainthis.jc)this.jc[a].tb()},Ah.prototype.interrupt=Ah.prototype.tb,Ah.prototype.kc=function(){for(varainthis.jc)this.jc[a].kc()},Ah.prototype.resume=Ah.prototype.kc,Bh.prototype.cc=function(a){varb,c=this;try{b=ua(a.data)}catch(d){}b&&"request"===b.a&&(ef(window,"message",this.cc),this.Qd=a.origin,this.tc&&setTimeout(function(){c.tc(c.Qd,b.d,function(a,b){c.If=!b,c.tc=void0,Ch(c,{a:"response",d:a,forceKeepWindowOpen:b})})},0))},Bh.prototype.eg=function(){try{ef(this.sd,"message",this.hf)}catch(a){}this.tc&&(Ch(this,{a:"error",d:"unknown closed window"}),this.tc=void0);try{window.close()}catch(b){}},Bh.prototype.hf=function(a){if(this.If&&"die"===a.data)try{window.close()}catch(b){}};varY={Rf:function(){Yd=Pd=!0}};Y.forceLongPolling=Y.Rf,Y.Sf=function(){Zd=!0},Y.forceWebSockets=Y.Sf,Y.rg=function(a,b){a.g.S.Ke=b},Y.setSecurityDebugCallback=Y.rg,Y.Me=function(a,b){a.g.Me(b)},Y.stats=Y.Me,Y.Ne=function(a,b){a.g.Ne(b)},Y.statsIncrementCounter=Y.Ne,Y.jd=function(a){returna.g.jd},Y.dataUpdateCount=Y.jd,Y.Vf=function(a,b){a.g.re=b},Y.interceptServerData=Y.Vf,Y.bg=function(a){newBh(a)},Y.onPopupOpen=Y.bg,Y.pg=function(a){Ye=a},Y.setAuthenticationServer=Y.pg,Z.prototype.cancel=function(a){D("Firebase.onDisconnect().cancel",0,1,arguments.length),F("Firebase.onDisconnect().cancel",1,a,!0),this.Sc.Ce(this.Ca,a||null)},Z.prototype.cancel=Z.prototype.cancel,Z.prototype.remove=function(a){D("Firebase.onDisconnect().remove",0,1,arguments.length),$b("Firebase.onDisconnect().remove",this.Ca),F("Firebase.onDisconnect().remove",1,a,!0),oh(this.Sc,this.Ca,null,a)},Z.prototype.remove=Z.prototype.remove,Z.prototype.set=function(a,b){D("Firebase.onDisconnect().set",1,2,arguments.length),$b("Firebase.onDisconnect().set",this.Ca),Sb("Firebase.onDisconnect().set",a,!1),F("Firebase.onDisconnect().set",2,b,!0),oh(this.Sc,this.Ca,a,b)},Z.prototype.set=Z.prototype.set,Z.prototype.Db=function(a,b,c){D("Firebase.onDisconnect().setWithPriority",2,3,arguments.length),$b("Firebase.onDisconnect().setWithPriority",this.Ca),Sb("Firebase.onDisconnect().setWithPriority",a,!1),Wb("Firebase.onDisconnect().setWithPriority",2,b),F("Firebase.onDisconnect().setWithPriority",3,c,!0),ph(this.Sc,this.Ca,a,b,c)},Z.prototype.setWithPriority=Z.prototype.Db,Z.prototype.update=function(a,b){if(D("Firebase.onDisconnect().update",1,2,arguments.length),$b("Firebase.onDisconnect().update",this.Ca),ea(a)){for(varc={},d=0;d<a.length;++d)c[""+d]=a[d];a=c,z("Passing an Array to Firebase.onDisconnect().update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}Vb("Firebase.onDisconnect().update",a),F("Firebase.onDisconnect().update",2,b,!0),qh(this.Sc,this.Ca,a,b)},Z.prototype.update=Z.prototype.update;var$={};$.rc=xe,$.DataConnection=$.rc,xe.prototype.tg=function(a,b){this.wa("q",{p:a},b)},$.rc.prototype.simpleListen=$.rc.prototype.tg,xe.prototype.Nf=function(a,b){this.wa("echo",{d:a},b)},$.rc.prototype.echo=$.rc.prototype.Nf,xe.prototype.interrupt=xe.prototype.tb,$.zf=ie,$.RealTimeConnection=$.zf,ie.prototype.sendRequest=ie.prototype.wa,ie.prototype.close=ie.prototype.close,$.Uf=function(a){varb=xe.prototype.put;returnxe.prototype.put=function(c,d,e,f){n(f)&&(f=a()),b.call(this,c,d,e,f)},function(){xe.prototype.put=b}},$.hijackHash=$.Uf,$.yf=Ca,$.Conn
returna.push(function(){g=a.interpolate}),h=/^([+-]?[0-9]+\.?(?:[0-9]+)?)(px|em|ex|%|in|cm|mm|pt|pc)$/,f={number:function(a,b){varc;returne(a)&&e(b)?(a=+a,b=+b,c=b-a,c?function(b){returna+b*c}:function(){returna}):null},array:function(a,b){vard,e,f,h;if(!c(a)||!c(b))returnnull;for(d=[],e=[],h=f=Math.min(a.length,b.length);h--;)e[h]=g(a[h],b[h]);for(h=f;h<a.length;h+=1)d[h]=a[h];for(h=f;h<b.length;h+=1)d[h]=b[h];returnfunction(a){for(varb=f;b--;)d[b]=e[b](a);returnd}},object:function(a,c){vare,f,h,i,j;if(!d(a)||!d(c))returnnull;e=[],i={},h={};for(jina)b.call(a,j)&&(b.call(c,j)?(e.push(j),h[j]=g(a[j],c[j])):i[j]=a[j]);for(jinc)b.call(c,j)&&!b.call(a,j)&&(i[j]=c[j]);returnf=e.length,function(a){for(varb,c=f;c--;)b=e[c],i[b]=h[b](a);returni}}}}(f,g,h,i,j),l=function(){vara;returna="undefined"==typeofdocument?!1:document&&document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}(),m=function(){vara,b={};returna="undefined"!=typeofconsole&&"function"==typeofconsole.warn&&"function"==typeofconsole.warn.apply?function(a,c){if(!c){if(b[a])return;b[a]=!0}console.warn("%cRactive.js: %c"+a,"color: rgb(114, 157, 52);","color: rgb(85, 85, 85);")}:function(){}}(),n={missingParser:"Missing Ractive.parse - cannot parse template. Either preparse or use the version that includes the parser",mergeComparisonFail:"Merge operation: comparison failed. Falling back to identity checking",noComponentEventArguments:"Components currently only support simple events - you cannot include arguments. Sorry!",noTemplateForPartial:'Could not find template for partial "{name}"',noNestedPartials:"Partials ({{>{name}}}) cannot contain nested inline partials",evaluationError:'Error evaluating "{uniqueString}": {err}',badArguments:"Bad arguments \"{arguments}\". I'm not allowed to argue unless you've paid.",failedComputation:'Failed to compute "{key}": {err}',missingPlugin:'Missing "{name}" {plugin} plugin. You may need to download a {plugin} via http://docs.ractivejs.org/latest/plugins#{plugin}s',badRadioInputBinding:"A radio input can have two-way binding on its name attribute, or its checked attribute - not both",noRegistryFunctionReturn:'A function was specified for "{name}" {registry}, but no {registry} was returned',defaultElSpecified:"The <{name}/> component has a default `el` property; it has been disregarded",noElementProxyEventWildcards:'Only component proxy-events may contain "*" wildcards, <{element} on-{event}/> is not valid.',methodDeprecated:'The method "{deprecated}" has been deprecated in favor of "{replacement}" and will likely be removed in a future release. See http://docs.ractivejs.org/latest/migrating for more information.'},o=function(a,b){functionc(a){varc=b[a.message]||a.message||"";returnd(c,a.args)}functiond(a,b){returna.replace(/{([^{}]*)}/g,function(a,c){returnb[c]})}vare={warn:function(a,b){(a.debug||b)&&this.warnAlways(a)},warnAlways:function(a){this.logger(c(a),a.allowDuplicates)},error:function(a){this.errorOnly(a),a.debug||this.warn(a,!0)},errorOnly:function(a){a.debug&&this.critical(a)},critical:function(a){varb=a.err||newError(c(a));this.thrower(b)},logger:a,thrower:function(a){throwa}};returne}(m,n),p=function(a){functionb(a){this.event=a,this.method="on"+a,this.deprecate=c[a]}varc={construct:{deprecated:"beforeInit",replacement:"onconstruct"},render:{deprecated:"init",message:'The "init" method has been deprecated and will likely be removed in a future release. You can either use the "oninit" method which will fire only once prior to, and regardless of, any eventual ractive instance being rendered, or if you need to access the rendered DOM, use "onrender" instead. See http://docs.ractivejs.org/latest/migrating for more information.'},complete:{deprecated:"complete",replacement:"oncomplete"}};returnb.prototype.fire=function(b,c){functiond(a){returnb[a]?(c?b[a](c):b[a](),!0):void0}d(this.method),!b[this.method]&&this.deprecate&&d(this.deprecate.deprecated)&&a.warnAlways({debug:b.debug,message:this.deprecate.message||"methodDeprecated",args:this.
},d.prototype={bubble:function(){this.dirty||(this.dirty=!0,a.addView(this))},update:function(){varb=this.fragment.getValue();this.component.instance.viewmodel.set(this.key,b),a.addViewmodel(this.component.instance.viewmodel),this.value=b,this.dirty=!1},rebind:function(a,b,c,d){this.fragment.rebind(a,b,c,d)},unbind:function(){this.fragment.unbind()}},d}(y,f),Tf=function(a,b){varc=function(c,d,e,f){varg=this;this.root=c.root,this.parentFragment=c.parentFragment,this.ready=!1,this.hash=null,this.resolver=newa(this,e,function(a){g.binding||(g.binding=c.bindings[g.hash])?(c.bindings[g.hash]=null,g.binding.rebind(a),g.hash=a+"="+d,c.bindings[g.hash]):g.ready?b(c,c.root,a,d):f.push({childKeypath:d,parentKeypath:a}),g.value=c.root.viewmodel.get(a)})};returnc.prototype={rebind:function(a,b,c,d){this.resolver.rebind(a,b,c,d)},unbind:function(){this.resolver.unbind()}},c}(fd,v),Uf=function(a,b,c,d,e){functionf(f,g,h,i){varj,k,l,m,n,o;if(l=f.root,m=f.parentFragment,"string"==typeofh)returnk=b(h),k?k.value:h;if(null===h)return!0;if(1===h.length&&h[0].t===a.INTERPOLATOR){if(h[0].r)returnm.indexRefs&&void0!==m.indexRefs[o=h[0].r]?(f.indexRefBindings[o]=g,m.indexRefs[o]):(n=c(l,h[0].r,m)||h[0].r,i.push({childKeypath:g,parentKeypath:n}),l.viewmodel.get(n));if(h[0].rx)returnj=newe(f,g,h[0].rx,i),f.complexParameters.push(j),j.ready=!0,j.value}returnj=newd(f,g,h),f.complexParameters.push(j),j.value}varg;returng=function(a,b,c,d){vare,g,h={};a.complexParameters=[];for(einc)c.hasOwnProperty(e)&&(g=f(a,e,c[e],d),(void0!==g||void0===b[e])&&(h[e]=g));returnh}}(S,Fb,w,Sf,Tf),Vf=function(a){returnfunction(b,c,d,e){varf,g,h,i;returng=b.parentFragment,i=b.root,h={content:e||[]},c.defaults.el&&a.warn({debug:i.debug,message:"defaultElSpecified",args:{name:b.name}}),f=newc({el:null,append:!0,data:d,partials:h,magic:i.magic||c.defaults.magic,modifyArrays:i.modifyArrays,_parent:i,_component:b,adapt:i.adapt,"yield":{template:e,instance:i}})}}(o),Wf=function(a){returnfunction(b,c){c.forEach(function(c){vard,e;a(b,b.root,c.parentKeypath,c.childKeypath),d=b.instance.viewmodel.get(c.childKeypath),e=b.root.viewmodel.get(c.parentKeypath),void0!==d&&void0===e&&b.root.viewmodel.set(c.parentKeypath,d)})}}(v),Xf=function(a,b,c){functiond(a,d,e,f){"string"!=typeoff&&c.error({debug:d.debug,message:"noComponentEventArguments"}),a.on(e,function(){vara,c;returnarguments.length&&arguments[0]&&arguments[0].node&&(a=Array.prototype.shift.call(arguments)),c=Array.prototype.slice.call(arguments),b(d,f,{event:a,args:c}),!1})}vare,f;returna.push(function(){f=a.Fragment}),e=function(a,b){varc;for(cinb)b.hasOwnProperty(c)&&d(a.instance,a.root,c,b[c])}}(f,mc,o),Yf=function(a){varb,c;for(b=a.root;b;)(c=b._liveComponentQueries["_"+a.name])&&c.push(a.instance),b=b._parent},Zf=function(a,b,c,d,e,f,g){returnfunction(h,i){varj,k,l,m;if(j=this.parentFragment=h.parentFragment,k=j.root,this.root=k,this.type=a.COMPONENT,this.name=h.template.e,this.index=h.index,this.indexRefBindings={},this.bindings=[],this.yielders=[],!i)thrownewError('Component "'+this.name+'" not found');m=[],l=c(this,i.defaults.data||{},h.template.a,m),d(this,i,l,h.template.f),e(this,m),f(this,h.template.v),(h.template.t1||h.template.t2||h.template.o)&&b('The "intro", "outro" and "decorator" directives have no effect on components'),g(this)}}(S,m,Uf,Vf,Wf,Xf,Yf),$f=function(a,b){returnfunction(c,d,e,f){functiong(a){a.rebind(c,d,e,f)}varh,i,j=this.instance,k=j._parent;this.bindings.forEach(function(a){varc;a.root===k&&(c=b(a.keypath,e,f))&&a.rebind(c)}),this.complexParameters.forEach(g),this.yielders[0]&&g(this.yielders[0]),(h=this.indexRefBindings[c])&&(a.addViewmodel(j.viewmodel),j.viewmodel.set(h,d)),(i=this.root._liveComponentQueries["_"+this.name])&&i._makeDirty()}}(y,Zc),_f=function(){vara=this.instance;returna.render(this.parentFragment.getNode()),this.rendered=!0,a.fragment.detach()},ag=function(){returnthis.instance.fragment.toString()},bg=function(a,b){functionc(a){a.unbind()}functiond(a){varb,c;b=a.root;do(c=b._liveComponentQueries["_"+a.name])&&c._remo