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