new function(){function u(b,e,n,f,h,k){return{tag:b,key:e,attrs:n,children:f,text:h,dom:k,domSize:void 0,state:{},events:void 0,instance:void 0,skip:!1}}function w(b){if(null==b||"string"!==typeof b&&null==b.view)throw Error("The selector must be either a string or a component.");if("string"===typeof b&&void 0===F[b]){for(var e,n,f=[],h={};e=O.exec(b);){var k=e[1],m=e[2];""===k&&""!==m?n=m:"#"===k?h.id=m:"."===k?f.push(m):"["===e[3][0]&&((k=e[6])&&(k=k.replace(/\\(["'])/g,"$1").replace(/\\\\/g,"\\")), h[e[4]]=k||!0)}0d.filter(D).length)throw Error("Ensure that each item passed to m.prop.combine/m.prop.merge is a stream");return A(e(),d,function(){var b= d.filter(L);if(0b.indexOf("?")?"?":"&";b+=m+f}return b}function h(b){try{return""!==b?JSON.parse(b):null}catch(e){throw Error(b);}}function k(b){return b.responseText}function m(b,e){if("function"===typeof b)if(e instanceof Array)for(var f=0;fp.status||304=== p.status)l(m(g.type,b));else{var e=Error(p.responseText),f;for(f in b)e[f]=b[f];l.error(e)}}catch(h){l.error(h)}"function"===typeof q&&q()}};z?p.send(g.data):p.send();return l},jsonp:function(g){var h=e();void 0!==g.initialValue&&h(g.initialValue);var k=g.callbackName||"_mithril_"+Math.round(1E16*Math.random())+"_"+t++,p=b.document.createElement("script");b[k]=function(e){p.parentNode.removeChild(p);h(m(g.type,e));"function"===typeof q&&q();delete b[k]};p.onerror=function(){p.parentNode.removeChild(p); h.error(Error("JSONP request failed"));"function"===typeof q&&q();delete b[k]};null==g.data&&(g.data={});g.url=n(g.url,g.data);g.data[g.callbackKey||"callback"]=k;p.src=f(g.url,g.data);b.document.documentElement.appendChild(p);return h},setCompletionCallback:function(b){q=b}}}(window,M),I=function(){var b=[];return{subscribe:b.push.bind(b),unsubscribe:function(e){e=b.indexOf(e);-1=l&&A>=z;){var x=a[l],r=d[z];if(x!==r||v)if(null!=x&&null!=r&&x.key===r.key)l++,z++,k(c,x,r,b,t(a,l,f),v,h),v&&x.tag===r.tag&&q(c,m(x),f);else if(x=a[p],x!==r||v)if(null!=x&&null!=r&&x.key===r.key)k(c,x,r,b,t(a,p+1,f),v,h),(v||z=l&&A>=z;){x=a[p];r=d[A];if(x!==r||v)if(null!=x&&null!=r&&x.key===r.key)k(c,x,r,b,t(a,p+1,f),v,h),v&&x.tag===r.tag&&q(c,m(x),f),null!=x.dom&&(f=x.dom),p--;else{if(!B){B=a;var x=p,u={},w;for(w= 0;w