-
Notifications
You must be signed in to change notification settings - Fork 1
/
particle.min.js
2 lines (2 loc) · 61.9 KB
/
particle.min.js
1
2
!function(){function t(e,n,r){var i=t.resolve(e);if(null==i){r=r||e,n=n||"root";var o=new Error('Failed to require "'+r+'" from "'+n+'"');throw o.path=r,o.parent=n,o.require=!0,o}var s=t.modules[i];return s.exports||(s.exports={},s.client=s.component=!0,s.call(this,s.exports,t.relative(i),s)),s.exports}var e=Object.prototype.hasOwnProperty;t.modules={},t.aliases={},t.resolve=function(n){"/"===n.charAt(0)&&(n=n.slice(1));for(var r=n+"/index.js",i=[n,n+".js",n+".json",n+"/index.js",n+"/index.json"],o=0;o<i.length;o++){var n=i[o];if(e.call(t.modules,n))return n}return e.call(t.aliases,r)?t.aliases[r]:void 0},t.normalize=function(t,e){var n=[];if("."!=e.charAt(0))return e;t=t.split("/"),e=e.split("/");for(var r=0;r<e.length;++r)".."==e[r]?t.pop():"."!=e[r]&&""!=e[r]&&n.push(e[r]);return t.concat(n).join("/")},t.register=function(e,n){t.modules[e]=n},t.alias=function(n,r){if(!e.call(t.modules,n))throw new Error('Failed to alias "'+n+'", it does not exist');t.aliases[r]=n},t.relative=function(n){function r(t,e){for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function i(e){var r=i.resolve(e);return t(r,n,e)}var o=t.normalize(n,"..");return i.resolve=function(e){var i=e.charAt(0);if("/"==i)return e.slice(1);if("."==i)return t.normalize(o,e);var s=n.split("/"),a=r(s,"deps")+1;return a||(a=0),e=s.slice(0,a+1).join("/")+"/deps/"+e},i.exists=function(n){return e.call(t.modules,i.resolve(n))},i},t.register("component-emitter/index.js",function(t,e,n){function r(t){return t?i(t):void 0}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}n.exports=r,r.prototype.on=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[t]=this._callbacks[t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){r.off(t,n),e.apply(this,arguments)}var r=this;return this._callbacks=this._callbacks||{},e._off=n,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1==arguments.length)return delete this._callbacks[t],this;var r=n.indexOf(e._off||e);return~r&&n.splice(r,1),this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[t];if(n){n=n.slice(0);for(var r=0,i=n.length;i>r;++r)n[r].apply(this,e)}return this},r.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}}),t.register("component-indexof/index.js",function(t,e,n){n.exports=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;++n)if(t[n]===e)return n;return-1}}),t.register("LearnBoost-engine.io-protocol/lib/index.js",function(t,e){var n=e("./keys");t.protocol=2;var r=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},i=n(r),o={type:"error",data:"parser error"};t.encodePacket=function(t){var e=r[t.type];return void 0!==t.data&&(e+=String(t.data)),""+e},t.decodePacket=function(t){var e=t.charAt(0);return Number(e)==e&&i[e]?t.length>1?{type:i[e],data:t.substring(1)}:{type:i[e]}:o},t.encodePayload=function(e){if(!e.length)return"0:";for(var n,r="",i=0,o=e.length;o>i;i++)n=t.encodePacket(e[i]),r+=n.length+":"+n;return r},t.decodePayload=function(e,n){var r;if(""==e)return n(o,0,1);for(var i,s,a="",c=0,l=e.length;l>c;c++){var u=e.charAt(c);if(":"!=u)a+=u;else{if(""==a||a!=(i=Number(a)))return n(o,0,1);if(s=e.substr(c+1,i),a!=s.length)return n(o,0,1);if(s.length){if(r=t.decodePacket(s),o.type==r.type&&o.data==r.data)return n(o,0,1);var p=n(r,c+i,l);if(!1===p)return}c+=i,a=""}}return""!=a?n(o,0,1):void 0}}),t.register("LearnBoost-engine.io-protocol/lib/keys.js",function(t,e,n){n.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var r in t)n.call(t,r)&&e.push(r);return e}}),t.register("visionmedia-debug/index.js",function(t,e,n){n.exports="undefined"==typeof window?e("./lib/debug"):e("./debug")}),t.register("visionmedia-debug/debug.js",function(t,e,n){function r(t){return r.enabled(t)?function(e){e=i(e);var n=new Date,o=n-(r[t]||n);r[t]=n,e=t+" "+e+" +"+r.humanize(o),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}function i(t){return t instanceof Error?t.stack||t.message:t}n.exports=r,r.names=[],r.skips=[],r.enable=function(t){try{localStorage.debug=t}catch(e){}for(var n=(t||"").split(/[\s,]+/),i=n.length,o=0;i>o;o++)t=n[o].replace("*",".*?"),"-"===t[0]?r.skips.push(new RegExp("^"+t.substr(1)+"$")):r.names.push(new RegExp("^"+t+"$"))},r.disable=function(){r.enable("")},r.humanize=function(t){var e=1e3,n=6e4,r=60*n;return t>=r?(t/r).toFixed(1)+"h":t>=n?(t/n).toFixed(1)+"m":t>=e?(0|t/e)+"s":t+"ms"},r.enabled=function(t){for(var e=0,n=r.skips.length;n>e;e++)if(r.skips[e].test(t))return!1;for(var e=0,n=r.names.length;n>e;e++)if(r.names[e].test(t))return!0;return!1},window.localStorage&&r.enable(localStorage.debug)}),t.register("LearnBoost-engine.io-client/lib/index.js",function(t,e,n){n.exports=e("./socket"),n.exports.parser=e("engine.io-parser")}),t.register("LearnBoost-engine.io-client/lib/socket.js",function(t,e,n){function r(t,e){if(!(this instanceof r))return new r(t,e);if(e=e||{},"object"==typeof t&&(e=t,t=null),t&&(t=o.parseUri(t),e.host=t.host,e.secure="https"==t.protocol||"wss"==t.protocol,e.port=t.port,t.query&&(e.query=t.query)),this.secure=null!=e.secure?e.secure:p.location&&"https:"==location.protocol,e.host){var n=e.host.split(":");e.hostname=n.shift(),n.length&&(e.port=n.pop())}this.hostname=e.hostname||(p.location?location.hostname:"localhost"),this.port=e.port||(p.location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},"string"==typeof this.query&&(this.query=o.qsParse(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.timestampParam=e.timestampParam||"t",this.timestampRequests=!!e.timestampRequests,this.flashPath=e.flashPath||"",this.transports=e.transports||["polling","websocket","flashsocket"],this.readyState="",this.writeBuffer=[],this.callbackBuffer=[],this.policyPort=e.policyPort||843,this.open(),r.sockets.push(this),r.sockets.evs.emit("add",this)}function i(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var o=e("./util"),s=e("./transports"),a=e("./emitter"),c=e("debug")("engine.io-client:socket"),l=e("indexof"),u=e("engine.io-parser");n.exports=r;var p=o.global();a(r.prototype),r.protocol=u.protocol,r.sockets=[],r.sockets.evs=new a,r.Socket=r,r.Transport=e("./transport"),r.Emitter=e("./emitter"),r.transports=e("./transports"),r.util=e("./util"),r.parser=e("engine.io-parser"),r.prototype.createTransport=function(t){c('creating transport "%s"',t);var e=i(this.query);e.EIO=u.protocol,e.transport=t,this.id&&(e.sid=this.id);var n=new s[t]({hostname:this.hostname,port:this.port,secure:this.secure,path:this.path,query:e,forceJSONP:this.forceJSONP,timestampRequests:this.timestampRequests,timestampParam:this.timestampParam,flashPath:this.flashPath,policyPort:this.policyPort});return n},r.prototype.open=function(){this.readyState="opening";var t=this.createTransport(this.transports[0]);t.open(),this.setTransport(t)},r.prototype.setTransport=function(t){var e=this;this.transport&&(c("clearing existing transport"),this.transport.removeAllListeners()),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(t){e.onPacket(t)}).on("error",function(t){e.onError(t)}).on("close",function(){e.onClose("transport close")})},r.prototype.probe=function(t){function e(e){if(!r){r=!0;var o=new Error("probe error: "+e);o.transport=n.name,n.close(),n=null,c('probe transport "%s" failed because of error: %s',t,e),i.emit("error",o)}}c('probing transport "%s"',t);var n=this.createTransport(t,{probe:1}),r=!1,i=this;n.once("open",function(){r||(c('probe transport "%s" opened',t),n.send([{type:"ping",data:"probe"}]),n.once("packet",function(o){if(!r)if("pong"==o.type&&"probe"==o.data)c('probe transport "%s" pong',t),i.upgrading=!0,i.emit("upgrading",n),c('pausing current transport "%s"',i.transport.name),i.transport.pause(function(){r||"closed"!=i.readyState&&"closing"!=i.readyState&&(c("changing transport and sending upgrade packet"),n.removeListener("error",e),i.emit("upgrade",n),i.setTransport(n),n.send([{type:"upgrade"}]),n=null,i.upgrading=!1,i.flush())});else{c('probe transport "%s" failed',t);var s=new Error("probe error");s.transport=n.name,i.emit("error",s)}}))}),n.once("error",e),n.open(),this.once("close",function(){n&&(c("socket closed prematurely - aborting probe"),r=!0,n.close(),n=null)}),this.once("upgrading",function(t){n&&t.name!=n.name&&(c('"%s" works - aborting "%s"',t.name,n.name),n.close(),n=null)})},r.prototype.onOpen=function(){if(c("socket open"),this.readyState="open",this.emit("open"),this.onopen&&this.onopen.call(this),this.flush(),"open"==this.readyState&&this.upgrade&&this.transport.pause){c("starting upgrade probes");for(var t=0,e=this.upgrades.length;e>t;t++)this.probe(this.upgrades[t])}},r.prototype.onPacket=function(t){if("opening"==this.readyState||"open"==this.readyState)switch(c('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(o.parseJSON(t.data));break;case"pong":this.setPing();break;case"error":var e=new Error("server error");e.code=t.data,this.emit("error",e);break;case"message":this.emit("data",t.data),this.emit("message",t.data);var n={data:t.data};n.toString=function(){return t.data},this.onmessage&&this.onmessage.call(this,n)}else c('packet received with socket readyState "%s"',this.readyState)},r.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat)},r.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout(function(){"closed"!=e.readyState&&e.onClose("ping timeout")},t||e.pingInterval+e.pingTimeout)},r.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout(function(){c("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)},t.pingInterval)},r.prototype.ping=function(){this.sendPacket("ping")},r.prototype.onDrain=function(){for(var t=0;t<this.prevBufferLen;t++)this.callbackBuffer[t]&&this.callbackBuffer[t]();this.writeBuffer.splice(0,this.prevBufferLen),this.callbackBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0==this.writeBuffer.length?this.emit("drain"):this.flush()},r.prototype.flush=function(){"closed"!=this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(c("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},r.prototype.write=r.prototype.send=function(t,e){return this.sendPacket("message",t,e),this},r.prototype.sendPacket=function(t,e,n){var r={type:t,data:e};this.emit("packetCreate",r),this.writeBuffer.push(r),this.callbackBuffer.push(n),this.flush()},r.prototype.close=function(){return("opening"==this.readyState||"open"==this.readyState)&&(this.onClose("forced close"),c("socket closing - telling transport to close"),this.transport.close()),this},r.prototype.onError=function(t){c("socket error %j",t),this.emit("error",t),this.onerror&&this.onerror.call(this,t),this.onClose("transport error",t)},r.prototype.onClose=function(t,e){if("opening"==this.readyState||"open"==this.readyState){c('socket close with reason: "%s"',t);var n=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),setTimeout(function(){n.writeBuffer=[],n.callbackBuffer=[],n.prevBufferLen=0},0),this.transport.removeAllListeners();var r=this.readyState;this.readyState="closed",this.id=null,"open"==r&&(this.emit("close",t,e),this.onclose&&this.onclose.call(this))}},r.prototype.filterUpgrades=function(t){for(var e=[],n=0,r=t.length;r>n;n++)~l(this.transports,t[n])&&e.push(t[n]);return e}}),t.register("LearnBoost-engine.io-client/lib/transport.js",function(t,e,n){function r(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState=""}var i=(e("./util"),e("engine.io-parser")),o=e("./emitter");n.exports=r,o(r.prototype),r.prototype.onError=function(t,e){var n=new Error(t);return n.type="TransportError",n.description=e,this.emit("error",n),this},r.prototype.open=function(){return("closed"==this.readyState||""==this.readyState)&&(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return("opening"==this.readyState||"open"==this.readyState)&&(this.doClose(),this.onClose()),this},r.prototype.send=function(t){if("open"!=this.readyState)throw new Error("Transport not open");this.write(t)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(t){this.onPacket(i.decodePacket(t))},r.prototype.onPacket=function(t){this.emit("packet",t)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}}),t.register("LearnBoost-engine.io-client/lib/emitter.js",function(t,e,n){var r=e("emitter");n.exports=r,r.prototype.addEventListener=r.prototype.on,r.prototype.removeEventListener=r.prototype.off,r.prototype.removeListener=r.prototype.off}),t.register("LearnBoost-engine.io-client/lib/util.js",function(t,e){var n=!1;t.global=function(){return"undefined"!=typeof window?window:global},t.inherits=function(t,e){function n(){}n.prototype=e.prototype,t.prototype=new n},t.keys=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var r in t)n.call(t,r)&&e.push(r);return e},t.on=function(t,e,n,r){t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener&&t.addEventListener(e,n,r)},t.load=function(e){var r=t.global();return r.document&&"complete"===document.readyState||n?e():(t.on(r,"load",e,!1),void 0)},"undefined"!=typeof window&&t.load(function(){n=!0}),t.defer=function(e){return t.ua.webkit&&"undefined"==typeof importScripts?(t.load(function(){setTimeout(e,100)}),void 0):e()};var r=/^[\],:{}\s]*$/,i=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,o=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,s=/(?:^|:|,)(?:\s*\[)+/g,a=/^\s+/,c=/\s+$/;t.parseJSON=function(e){var n=t.global();return"string"==typeof e&&e?(e=e.replace(a,"").replace(c,""),n.JSON&&JSON.parse?JSON.parse(e):r.test(e.replace(i,"@").replace(o,"]").replace(s,""))?new Function("return "+e)():void 0):null},t.ua={},t.ua.hasCORS="undefined"!=typeof XMLHttpRequest&&function(){var t;try{t=new XMLHttpRequest}catch(e){return!1}return void 0!=t.withCredentials}(),t.ua.webkit="undefined"!=typeof navigator&&/webkit/i.test(navigator.userAgent),t.ua.gecko="undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent),t.ua.android="undefined"!=typeof navigator&&/android/i.test(navigator.userAgent),t.ua.ios="undefined"!=typeof navigator&&/^(iPad|iPhone|iPod)$/.test(navigator.platform),t.ua.ios6=t.ua.ios&&/OS 6_/.test(navigator.userAgent),t.request=function(n){try{var r=e("xmlhttprequest").XMLHttpRequest;return new r}catch(i){}if(n&&"undefined"!=typeof XDomainRequest&&!t.ua.hasCORS)return new XDomainRequest;try{if("undefined"!=typeof XMLHttpRequest&&(!n||t.ua.hasCORS))return new XMLHttpRequest}catch(i){}if(!n)try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(i){}};var l=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,u=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.parseUri=function(t){for(var e=l.exec(t||""),n={},r=14;r--;)n[u[r]]=e[r]||"";return n},t.qs=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},t.qsParse=function(t){for(var e={},n=t.split("&"),r=0,i=n.length;i>r;r++){var o=n[r].split("=");e[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return e}}),t.register("LearnBoost-engine.io-client/lib/transports/index.js",function(t,e){function n(t){var e,n=!1,o=!1;if(c.location){var s="https:"==location.protocol,l=location.port;Number(l)!==l&&(l=s?443:80),n=t.hostname!=location.hostname||l!=t.port,o=t.secure!=s}return e=a.request(n),o&&c.XDomainRequest&&e instanceof c.XDomainRequest?new i(t):e&&!t.forceJSONP?new r(t):new i(t)}var r=e("./polling-xhr"),i=e("./polling-jsonp"),o=e("./websocket"),s=e("./flashsocket"),a=e("../util");t.polling=n,t.websocket=o,t.flashsocket=s;var c=a.global()}),t.register("LearnBoost-engine.io-client/lib/transports/polling.js",function(t,e,n){function r(t){i.call(this,t)}var i=e("../transport"),o=e("../util"),s=e("engine.io-parser"),a=e("debug")("engine.io-client:polling");n.exports=r;var c=o.global();o.inherits(r,i),r.prototype.name="polling",r.prototype.doOpen=function(){this.poll()},r.prototype.pause=function(t){function e(){a("paused"),n.readyState="paused",t()}var n=this;if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(a("we are currently polling - waiting to pause"),r++,this.once("pollComplete",function(){a("pre-pause polling complete"),--r||e()})),this.writable||(a("we are currently writing - waiting to pause"),r++,this.once("drain",function(){a("pre-pause writing complete"),--r||e()}))}else e()},r.prototype.poll=function(){a("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},r.prototype.onData=function(t){var e=this;a("polling got data %s",t),s.decodePayload(t,function(t){return"opening"==e.readyState&&e.onOpen(),"close"==t.type?(e.onClose(),!1):(e.onPacket(t),void 0)}),"closed"!=this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"==this.readyState?this.poll():a('ignoring poll - transport state "%s"',this.readyState))},r.prototype.doClose=function(){function t(){a("writing close packet"),e.write([{type:"close"}])}var e=this;"open"==this.readyState?(a("transport open - closing"),t()):(a("transport not open - deferring close"),this.once("open",t))},r.prototype.write=function(t){var e=this;this.writable=!1,this.doWrite(s.encodePayload(t),function(){e.writable=!0,e.emit("drain")})},r.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",n="";return(c.ActiveXObject||o.ua.android||o.ua.ios6||this.timestampRequests)&&(t[this.timestampParam]=+new Date),t=o.qs(t),this.port&&("https"==e&&443!=this.port||"http"==e&&80!=this.port)&&(n=":"+this.port),t.length&&(t="?"+t),e+"://"+this.hostname+n+this.path+t}}),t.register("LearnBoost-engine.io-client/lib/transports/polling-xhr.js",function(t,e,n){function r(){}function i(t){if(s.call(this,t),u.location){var e="https:"==location.protocol,n=location.port;Number(n)!==n&&(n=e?443:80),this.xd=t.hostname!=u.location.hostname||n!=t.port}}function o(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.async=!1!==t.async,this.data=void 0!=t.data?t.data:null,this.create()}var s=e("./polling"),a=e("../util"),c=e("../emitter"),l=e("debug")("engine.io-client:polling-xhr");n.exports=i,n.exports.Request=o;var u=a.global(),p=u[["Active"].concat("Object").join("X")];a.inherits(i,s),i.prototype.doOpen=function(){var t=this;a.defer(function(){s.prototype.doOpen.call(t)})},i.prototype.request=function(t){return t=t||{},t.uri=this.uri(),t.xd=this.xd,new o(t)},i.prototype.doWrite=function(t,e){var n=this.request({method:"POST",data:t}),r=this;n.on("success",e),n.on("error",function(t){r.onError("xhr post error",t)}),this.sendXhr=n},i.prototype.doPoll=function(){l("xhr poll");var t=this.request(),e=this;t.on("data",function(t){e.onData(t)}),t.on("error",function(t){e.onError("xhr poll error",t)}),this.pollXhr=t},c(o.prototype),o.prototype.create=function(){var t=this.xhr=a.request(this.xd),e=this;if(t.open(this.method,this.uri,this.async),"POST"==this.method)try{t.setRequestHeader?t.setRequestHeader("Content-type","text/plain;charset=UTF-8"):t.contentType="text/plain"}catch(n){}this.xd&&u.XDomainRequest&&t instanceof XDomainRequest?(t.onerror=function(t){e.onError(t)},t.onload=function(){e.onData(t.responseText)},t.onprogress=r):("withCredentials"in t&&(t.withCredentials=!0),t.onreadystatechange=function(){var n;try{if(4!=t.readyState)return;200==t.status||1223==t.status?n=t.responseText:e.onError(t.status)}catch(r){e.onError(r)}void 0!==n&&e.onData(n)}),l("sending xhr with url %s | data %s",this.uri,this.data),t.send(this.data),p&&(this.index=o.requestsCount++,o.requests[this.index]=this)},o.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},o.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},o.prototype.onError=function(t){this.emit("error",t),this.cleanup()},o.prototype.cleanup=function(){if("undefined"!=typeof this.xhr){this.xhr.onreadystatechange=r,this.xhr.onload=this.xhr.onerror=r;try{this.xhr.abort()}catch(t){}p&&delete o.requests[this.index],this.xhr=null}},o.prototype.abort=function(){this.cleanup()},p&&(o.requestsCount=0,o.requests={},u.attachEvent("onunload",function(){for(var t in o.requests)o.requests.hasOwnProperty(t)&&o.requests[t].abort()}))}),t.register("LearnBoost-engine.io-client/lib/transports/polling-jsonp.js",function(t,e,n){function r(t){i.call(this,t),s||(a.___eio||(a.___eio=[]),s=a.___eio),this.index=s.length;var e=this;s.push(function(t){e.onData(t)}),this.query.j=this.index}var i=e("./polling"),o=e("../util");n.exports=r;var s,a=o.global(),c=/\n/g;o.inherits(r,i),r.prototype.doOpen=function(){var t=this;o.defer(function(){i.prototype.doOpen.call(t)})},r.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null),i.prototype.doClose.call(this)},r.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n),this.script=e,o.ua.gecko&&setTimeout(function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)},100)},r.prototype.doWrite=function(t,e){function n(){r(),e()}function r(){if(i.iframe)try{i.form.removeChild(i.iframe)}catch(t){i.onError("jsonp polling iframe removal error",t)}try{var e='<iframe src="javascript:0" name="'+i.iframeId+'">';o=document.createElement(e)}catch(t){o=document.createElement("iframe"),o.name=i.iframeId,o.src="javascript:0"}o.id=i.iframeId,i.form.appendChild(o),i.iframe=o}var i=this;if(!this.form){var o,s=document.createElement("form"),a=document.createElement("textarea"),l=this.iframeId="eio_iframe_"+this.index;s.className="socketio",s.style.position="absolute",s.style.top="-1000px",s.style.left="-1000px",s.target=l,s.method="POST",s.setAttribute("accept-charset","utf-8"),a.name="d",s.appendChild(a),document.body.appendChild(s),this.form=s,this.area=a}this.form.action=this.uri(),r(),this.area.value=t.replace(c,"\\n");try{this.form.submit()}catch(u){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"==i.iframe.readyState&&n()}:this.iframe.onload=n}}),t.register("LearnBoost-engine.io-client/lib/transports/websocket.js",function(t,e,n){function r(t){o.call(this,t)}function i(){return"undefined"==typeof window?e("ws"):c.WebSocket||c.MozWebSocket}var o=e("../transport"),s=e("engine.io-parser"),a=e("../util");e("debug")("engine.io-client:websocket"),n.exports=r;var c=a.global();a.inherits(r,o),r.prototype.name="websocket",r.prototype.doOpen=function(){if(this.check()){var t=this;this.socket=new(i())(this.uri()),this.socket.onopen=function(){t.onOpen()},this.socket.onclose=function(){t.onClose()},this.socket.onmessage=function(e){t.onData(e.data)},this.socket.onerror=function(e){t.onError("websocket error",e)}}},"undefined"!=typeof navigator&&/iPad|iPhone|iPod/i.test(navigator.userAgent)&&(r.prototype.onData=function(t){var e=this;setTimeout(function(){o.prototype.onData.call(e,t)},0)}),r.prototype.write=function(t){function e(){n.writable=!0,n.emit("drain")}var n=this;this.writable=!1;for(var r=0,i=t.length;i>r;r++)this.socket.send(s.encodePacket(t[r]));"bufferedAmount"in this.socket?this.bufferedAmountId=setInterval(function(){0==n.socket.bufferedAmount&&(clearInterval(n.bufferedAmountId),e())},50):setTimeout(e,0)},r.prototype.onClose=function(){clearInterval(this.bufferedAmountId),o.prototype.onClose.call(this)},r.prototype.doClose=function(){"undefined"!=typeof this.socket&&this.socket.close()},r.prototype.uri=function(){var t=this.query||{},e=this.secure?"wss":"ws",n="";return this.port&&("wss"==e&&443!=this.port||"ws"==e&&80!=this.port)&&(n=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=+new Date),t=a.qs(t),t.length&&(t="?"+t),e+"://"+this.hostname+n+this.path+t},r.prototype.check=function(){var t=i();return!(!t||"__initialize"in t&&this.name===r.prototype.name)}}),t.register("LearnBoost-engine.io-client/lib/transports/flashsocket.js",function(t,e,n){function r(t){s.call(this,t),this.flashPath=t.flashPath,this.policyPort=t.policyPort}function i(t,e){if(p[t])return e();var n=document.createElement("script"),r=!1;c('loading "%s"',t),n.onload=n.onreadystatechange=function(){if(!r&&!p[t]){var i=n.readyState;i&&"loaded"!=i&&"complete"!=i||(c('loaded "%s"',t),n.onload=n.onreadystatechange=null,r=!0,p[t]=!0,e())}},n.async=1,n.src=t;var i=document.getElementsByTagName("head")[0];i.insertBefore(n,i.firstChild)}function o(t,e){function n(r){return t[r]?(i(t[r],function(){n(++r)}),void 0):e()}n(0)}var s=e("./websocket"),a=e("../util"),c=e("debug")("engine.io-client:flashsocket");n.exports=r;var l=a.global(),u=l[["Active"].concat("Object").join("X")];a.inherits(r,s),r.prototype.name="flashsocket",r.prototype.doOpen=function(){function t(t){return function(){var e=Array.prototype.join.call(arguments," ");c("[websocketjs %s] %s",t,e)}}if(this.check()){WEB_SOCKET_LOGGER={log:t("debug"),error:t("error")},WEB_SOCKET_SUPPRESS_CROSS_DOMAIN_SWF_ERROR=!0,WEB_SOCKET_DISABLE_AUTO_INITIALIZATION=!0,"undefined"==typeof WEB_SOCKET_SWF_LOCATION&&(WEB_SOCKET_SWF_LOCATION=this.flashPath+"WebSocketMainInsecure.swf");var e=[this.flashPath+"web_socket.js"];"undefined"==typeof swfobject&&e.unshift(this.flashPath+"swfobject.js");var n=this;o(e,function(){n.ready(function(){WebSocket.__addTask(function(){s.prototype.doOpen.call(n)})})})}},r.prototype.doClose=function(){if(this.socket){var t=this;WebSocket.__addTask(function(){s.prototype.doClose.call(t)})}},r.prototype.write=function(){var t=this,e=arguments;WebSocket.__addTask(function(){s.prototype.write.apply(t,e)})},r.prototype.ready=function(t){function e(){r.loaded||(843!=n.policyPort&&WebSocket.loadFlashPolicyFile("xmlsocket://"+n.host+":"+n.policyPort),WebSocket.__initialize(),r.loaded=!0),t.call(n)}if("undefined"!=typeof WebSocket&&"__initialize"in WebSocket&&swfobject&&!(swfobject.getFlashPlayerVersion().major<10)){var n=this;return document.body?e():(a.load(e),void 0)}},r.prototype.check=function(){if("undefined"==typeof window)return!1;if("undefined"!=typeof WebSocket&&!("__initialize"in WebSocket))return!1;if(u){var t=null;try{t=new u("ShockwaveFlash.ShockwaveFlash")}catch(e){}if(t)return!0}else for(var n=0,r=navigator.plugins.length;r>n;n++)for(var i=0,o=navigator.plugins[n].length;o>i;i++)if("Shockwave Flash"==navigator.plugins[n][i].description)return!0;return!1};var p={}}),t.register("wearefractal-protosock/dist/main.js",function(t,e,n){!function(){var t,r,i,o,s,a;a=e("./util"),t=e("./Client"),i=e("./defaultClient"),s={createClientWrapper:function(t){return function(e){return s.createClient(t,e)}},createClient:function(e,n){var r;return r=a.mergePlugins(i,e),new t(r,n)}},("undefined"==typeof window||null===window)&&(r=e("./Server"),o=e("./defaultServer"),e("http").globalAgent.maxSockets=999,s.createServer=function(t,e,n){var i;return i=a.mergePlugins(o,e),new r(t,i,n)},s.createServerWrapper=function(t){return function(e,n){return s.createServer(e,t,n)}}),n.exports=s}.call(this)}),t.register("wearefractal-protosock/dist/Socket.js",function(t,e,n){!function(){var t;t={write:function(t){var e=this;return this.parent.outbound(this,t,function(t){return e.send(t)}),this},disconnect:function(t){return this.close(t),this}},n.exports=t}.call(this)}),t.register("wearefractal-protosock/dist/util.js",function(t,e,n){!function(){var t,r,i={}.hasOwnProperty,o=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s=[].slice;t=e("./Socket"),r={extendSocket:function(e){return o(e.prototype,t)},mergePlugins:function(){var t,e,n,i,o,a,c;for(t=1<=arguments.length?s.call(arguments,0):[],n={},a=0,c=t.length;c>a;a++){i=t[a];for(e in i)o=i[e],n[e]="object"==typeof o&&"server"!==e?r.mergePlugins(n[e],o):o}return n}},n.exports=r}.call(this)}),t.register("wearefractal-protosock/dist/defaultClient.js",function(t,e,n){!function(){var t;t={options:{},start:function(){},inbound:function(t,e,n){var r;try{r=JSON.parse(e)}catch(i){this.error(t,i)}n(r)},outbound:function(t,e,n){var r;try{r=JSON.stringify(e)}catch(i){this.error(t,i)}n(r)},validate:function(t,e,n){return n(!0)},invalid:function(){},connect:function(){},message:function(){},error:function(){},close:function(){}},"undefined"!=typeof window&&null!==window&&(t.options={host:window.location.hostname,port:window.location.port.length>0?parseInt(window.location.port):80,secure:"https:"===window.location.protocol},t.options.secure&&(t.options.port=443)),n.exports=t}.call(this)}),t.register("wearefractal-protosock/dist/Client.js",function(t,e,n){!function(){var t,r,i,o,s,a={}.hasOwnProperty,c=function(t,e){function n(){this.constructor=t}for(var r in e)a.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};s=e("./util"),"undefined"!=typeof window&&null!==window?(i=e("engine.io"),r=e("emitter")):(i=e("engine.io-client"),r=e("events").EventEmitter),s.extendSocket(i.Socket),o=function(t){return t>10?15e3:t>5?5e3:t>3?1e3:1e3},t=function(t){function e(t,n){var r,o,s,a,c,l,u,p,h,f=this;null==n&&(n={}),this.reconnect=function(){return e.prototype.reconnect.apply(f,arguments)},this.handleClose=function(){return e.prototype.handleClose.apply(f,arguments)},this.handleError=function(){return e.prototype.handleError.apply(f,arguments)},this.handleMessage=function(){return e.prototype.handleMessage.apply(f,arguments)},this.handleConnection=function(){return e.prototype.handleConnection.apply(f,arguments)};for(o in t)s=t[o],this[o]=s;for(o in n)s=n[o],this.options[o]=s;null==(u=(a=this.options).reconnect)&&(a.reconnect=!0),null==(p=(c=this.options).reconnectLimit)&&(c.reconnectLimit=1/0),null==(h=(l=this.options).reconnectTimeout)&&(l.reconnectTimeout=1/0),this.isServer=!1,this.isClient=!0,this.isBrowser="undefined"!=typeof window&&null!==window,r={host:this.options.host,port:this.options.port,secure:this.options.secure,path:"/"+this.options.namespace,resource:this.options.resource,transports:this.options.transports,upgrade:this.options.upgrade,flashPath:this.options.flashPath,policyPort:this.options.policyPort,forceJSONP:this.options.forceJSONP,forceBust:this.options.forceBust,debug:this.options.debug},this.ssocket=new i(r),this.ssocket.parent=this,this.ssocket.once("open",this.handleConnection),this.ssocket.on("error",this.handleError),this.ssocket.on("message",this.handleMessage),this.ssocket.on("close",this.handleClose),this.start()
}return c(e,t),e.prototype.disconnect=function(){return this.ssocket.disconnect(),this},e.prototype.destroy=function(){return this.options.reconnect=!1,this.ssocket.disconnect(),this.emit("destroyed"),this},e.prototype.handleConnection=function(){return this.emit("connected"),this.connect(this.ssocket)},e.prototype.handleMessage=function(t){var e=this;return this.emit("inbound",this.ssocket,t),this.inbound(this.ssocket,t,function(t){return e.validate(e.ssocket,t,function(n){return n?(e.emit("message",e.ssocket,t),e.message(e.ssocket,t)):(e.emit("invalid",e.ssocket,t),e.invalid(e.ssocket,t))})})},e.prototype.handleError=function(t){return"string"==typeof t&&(t=new Error(t)),this.error(this.ssocket,t)},e.prototype.handleClose=function(t){var e=this;if(!this.ssocket.reconnecting)return this.options.reconnect?this.reconnect(function(n){return null!=n?(e.emit("close",e.ssocket,t),e.close(e.ssocket,t)):void 0}):(this.emit("close",this.ssocket,t),this.close(this.ssocket,t))},e.prototype.reconnect=function(t){var e,n,r,i,s,a,c,l=this;return this.ssocket.reconnecting?t("Already reconnecting"):(this.ssocket.reconnecting=!0,"open"===this.ssocket.readyState&&this.ssocket.disconnect(),a=Date.now(),s=this.options.reconnectLimit,c=this.options.reconnectTimeout,e=0,r=function(){return l.ssocket.reconnecting=!1,l.emit("reconnected"),t()},i=function(e){return l.ssocket.reconnecting=!1,t(e)},this.ssocket.once("open",r),n=function(){return l.ssocket.reconnecting?e>=s?i("Exceeded max attempts"):Date.now()-a>c?i("Timeout on reconnect"):(e++,l.ssocket.open(),setTimeout(n,o(e))):void 0},setTimeout(n,o(e)))},e}(r),n.exports=t}.call(this)}),t.register("TorchlightSoftware-EventEmitter2/lib/eventemitter2.js",function(t,e,n){!function(){function t(){this._events={},this._conf&&e.call(this,this._conf)}function e(t){t&&(this._conf=t,t.delimiter&&(this.delimiter=t.delimiter),t.maxListeners&&(this._events.maxListeners=t.maxListeners),t.wildcard&&(this.wildcard=t.wildcard),t.newListener&&(this.newListener=t.newListener),this.wildcard&&(this.listenerTree={}))}function r(t){this._events={},this.newListener=!1,e.call(this,t)}function i(t,e,n,r){if(!n)return[];var o,s,a,c,l,u,p,h=[],f=e.length,d=e[r],g=e[r+1];if(r===f&&n._listeners){if("function"==typeof n._listeners)return t&&t.push(n._listeners),[n];for(o=0,s=n._listeners.length;s>o;o++)t&&t.push(n._listeners[o]);return[n]}if("*"===d||"**"===d||n[d]){if("*"===d){for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&(h=h.concat(i(t,e,n[a],r+1)));return h}if("**"===d){p=r+1===f||r+2===f&&"*"===g,p&&n._listeners&&(h=h.concat(i(t,e,n,f)));for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&("*"===a||"**"===a?(n[a]._listeners&&!p&&(h=h.concat(i(t,e,n[a],f))),h=h.concat(i(t,e,n[a],r))):h=a===g?h.concat(i(t,e,n[a],r+2)):h.concat(i(t,e,n[a],r)));return h}h=h.concat(i(t,e,n[d],r+1))}if(c=n["*"],c&&i(t,e,c,r+1),l=n["**"])if(f>r){l._listeners&&i(t,e,l,f);for(a in l)"_listeners"!==a&&l.hasOwnProperty(a)&&(a===g?i(t,e,l[a],r+2):a===d?i(t,e,l[a],r+1):(u={},u[a]=l[a],i(t,e,{"**":u},r+1)))}else l._listeners?i(t,e,l,f):l["*"]&&l["*"]._listeners&&i(t,e,l["*"],f);return h}function o(t,e){t="string"==typeof t?t.split(this.delimiter):t.slice();for(var n=0,r=t.length;r>n+1;n++)if("**"===t[n]&&"**"===t[n+1])return;for(var i=this.listenerTree,o=t.shift();o;){if(i[o]||(i[o]={}),i=i[o],0===t.length){if(i._listeners){if("function"==typeof i._listeners)i._listeners=[i._listeners,e];else if(s(i._listeners)&&(i._listeners.push(e),!i._listeners.warned)){var c=a;"undefined"!=typeof this._events.maxListeners&&(c=this._events.maxListeners),c>0&&i._listeners.length>c&&(i._listeners.warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",i._listeners.length),console.trace())}}else i._listeners=e;return!0}o=t.shift()}return!0}var s=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},a=10;r.prototype.delimiter=".",r.prototype.setMaxListeners=function(e){this._events||t.call(this),this._events.maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e},r.prototype.event="",r.prototype.once=function(t,e){return this.many(t,1,e),this},r.prototype.many=function(t,e,n){function r(){0===--e&&i.off(t,r),n.apply(this,arguments)}var i=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");return r._origin=n,this.on(t,r),i},r.prototype.emit=function(){this._events||t.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return!1;if(this._all){for(var n=arguments.length,r=new Array(n-1),o=1;n>o;o++)r[o-1]=arguments[o];for(o=0,n=this._all.length;n>o;o++)this.event=e,this._all[o].apply(this,r)}if("error"===e&&!(this._all||this._events.error||this.wildcard&&this.listenerTree.error))throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");var s;if(this.wildcard){s=[];var a="string"==typeof e?e.split(this.delimiter):e.slice();i.call(this,s,a,this.listenerTree,0)}else s=this._events[e];if("function"==typeof s){if(this.event=e,1===arguments.length)s.call(this);else if(arguments.length>1)switch(arguments.length){case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:for(var n=arguments.length,r=new Array(n-1),o=1;n>o;o++)r[o-1]=arguments[o];s.apply(this,r)}return!0}if(s){for(var n=arguments.length,r=new Array(n-1),o=1;n>o;o++)r[o-1]=arguments[o];for(var c=s.slice(),o=0,n=c.length;n>o;o++)this.event=e,c[o].apply(this,r);return c.length>0||this._all}return this._all},r.prototype.on=function(e,n){if("function"==typeof e)return this.onAny(e),this;if("function"!=typeof n)throw new Error("on only accepts instances of Function");if(this._events||t.call(this),this.emit("newListener",e,n),this.wildcard)return o.call(this,e,n),this;if(this._events[e]){if("function"==typeof this._events[e])this._events[e]=[this._events[e],n];else if(s(this._events[e])&&(this._events[e].push(n),!this._events[e].warned)){var r=a;"undefined"!=typeof this._events.maxListeners&&(r=this._events.maxListeners),r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),console.trace())}}else this._events[e]=n;return this},r.prototype.onAny=function(t){if(this._all||(this._all=[]),"function"!=typeof t)throw new Error("onAny only accepts instances of Function");return this._all.push(t),this},r.prototype.addListener=r.prototype.on,r.prototype.off=function(t,e){if("function"!=typeof e)throw new Error("removeListener only takes instances of Function");var n,r=[];if(this.wildcard){var o="string"==typeof t?t.split(this.delimiter):t.slice();r=i.call(this,null,o,this.listenerTree,0)}else{if(!this._events[t])return this;n=this._events[t],r.push({_listeners:n})}for(var a=0;a<r.length;a++){var c=r[a];if(n=c._listeners,s(n)){for(var l=-1,u=0,p=n.length;p>u;u++)if(n[u]===e||n[u].listener&&n[u].listener===e||n[u]._origin&&n[u]._origin===e){l=u;break}if(0>l)return this;this.wildcard?c._listeners.splice(l,1):this._events[t].splice(l,1),0===n.length&&(this.wildcard?delete c._listeners:delete this._events[t])}else(n===e||n.listener&&n.listener===e||n._origin&&n._origin===e)&&(this.wildcard?delete c._listeners:delete this._events[t])}return this},r.prototype.offAny=function(t){var e,n=0,r=0;if(t&&this._all&&this._all.length>0){for(e=this._all,n=0,r=e.length;r>n;n++)if(t===e[n])return e.splice(n,1),this}else this._all=[];return this},r.prototype.removeListener=r.prototype.off,r.prototype.removeAllListeners=function(e){if(0===arguments.length)return!this._events||t.call(this),this;if(this.wildcard)for(var n="string"==typeof e?e.split(this.delimiter):e.slice(),r=i.call(this,null,n,this.listenerTree,0),o=0;o<r.length;o++){var s=r[o];s._listeners=null}else{if(!this._events[e])return this;this._events[e]=null}return this},r.prototype.listeners=function(e){if(this.wildcard){var n=[],r="string"==typeof e?e.split(this.delimiter):e.slice();return i.call(this,n,r,this.listenerTree,0),n}return this._events||t.call(this),this._events[e]||(this._events[e]=[]),s(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},r.prototype.listenersAny=function(){return this._all?this._all:[]},n.exports={EventEmitter2:r}}("undefined"!=typeof process&&"undefined"!=typeof process.title&&"undefined"!=typeof t?t:window)}),t.register("particle/dist/main.js",function(t,e,n){!function(){n.exports={Collector:e("./collector")},("undefined"==typeof window||null===window)&&(n.exports.Stream=e("./stream"))}.call(this)}),t.register("particle/dist/lodash.js",function(t){!function(e){function n(t,e,n){for(var r=(n||0)-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function r(t,e){var r=typeof e;if(t=t.cache,"boolean"==r||null==e)return t[e];"number"!=r&&"string"!=r&&(r="object");var i="number"==r?e:N+e;return t=t[r]||(t[r]={}),"object"==r?t[i]&&n(t[i],e)>-1?0:-1:t[i]?0:-1}function i(t){var e=this.cache,n=typeof t;if("boolean"==n||null==t)e[t]=!0;else{"number"!=n&&"string"!=n&&(n="object");var r="number"==n?t:N+t,i=e[n]||(e[n]={});"object"==n?(i[r]||(i[r]=[])).push(t)==this.array.length&&(e[n]=!1):i[r]=!0}}function o(t){var e=-1,n=t.length,r=a();r["false"]=r["null"]=r["true"]=r.undefined=!1;var o=a();for(o.array=t,o.cache=r,o.push=i;++e<n;)o.push(t[e]);return r.object===!1?(u(o),null):o}function s(){return q.pop()||[]}function a(){return R.pop()||{args:"",array:null,bottom:"",cache:null,"false":!1,firstArg:"",init:"",loop:"","null":!1,number:null,object:null,push:null,shadowedProps:null,string:null,top:"","true":!1,undefined:!1,useHas:!1,useKeys:!1}}function c(t){return"function"!=typeof t.toString&&"string"==typeof(t+"")}function l(t){t.length=0,q.length<F&&q.push(t)}function u(t){var e=t.cache;e&&u(e),t.array=t.cache=t.object=t.number=t.string=null,R.length<F&&R.push(t)}function p(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,i=n-e||0,o=Array(0>i?0:i);++r<i;)o[r]=t[e+r];return o}function h(){}function f(){var t=a();t.shadowedProps=H,t.array=t.bottom=t.loop=t.top="",t.init="iterable",t.useHas=!0,t.useKeys=!!Te;for(var e,n=0;e=arguments[n];n++)for(var r in e)t[r]=e[r];var i=t.args;t.firstArg=/^[^,]+/.exec(i)[0];var o=Function("errorClass, errorProto, hasOwnProperty, isArguments, isArray, isString, keys, lodash, objectProto, objectTypes, nonEnumProps, stringClass, stringProto, toString","return function("+i+") {\n"+Se(t)+"\n}");return u(t),o(z,ie,pe,y,Le,x,Te,h,oe,te,_e,Q,se,fe)}function d(){var t=(t=h.indexOf)===O?n:t;return t}function g(t){var e,n;return!t||fe.call(t)!=V||(e=t.constructor,b(e)&&!(e instanceof e))||!je.argsClass&&y(t)||!je.nodeClass&&c(t)?!1:je.ownLast?(qe(t,function(t,e,r){return n=pe.call(r,e),!1}),n!==!1):(qe(t,function(t,e){n=e}),n===A||pe.call(t,n))}function y(t){return fe.call(t)==X}function m(t,e,n,r,i,o){var a=t;if("boolean"!=typeof e&&null!=e&&(r=n,n=e,e=!1),"function"==typeof n){if(n="undefined"==typeof r?n:h.createCallback(n,r,1),a=n(a),"undefined"!=typeof a)return a;a=t}var u=w(a);if(u){var f=fe.call(a);if(!Y[f]||!je.nodeClass&&c(a))return a;var d=Le(a)}if(!u||!e)return u?d?p(a):Ae({},a):a;var g=xe[f];switch(f){case J:case $:return new g(+a);case G:case Q:return new g(a);case Z:return g(a.source,W.exec(a))}var y=!i;i||(i=s()),o||(o=s());for(var v=i.length;v--;)if(i[v]==t)return o[v];return a=d?g(a.length):{},d&&(pe.call(t,"index")&&(a.index=t.index),pe.call(t,"input")&&(a.input=t.input)),i.push(t),o.push(a),(d?Be:Re)(t,function(t,r){a[r]=m(t,e,n,A,i,o)}),y&&(l(i),l(o)),a}function v(t,e,n,r,i,o){var a=n===I;if("function"==typeof n&&!a){n=h.createCallback(n,r,2);var u=n(t,e);if("undefined"!=typeof u)return!!u}if(t===e)return 0!==t||1/t==1/e;var p=typeof t,f=typeof e;if(t===t&&(!t||"function"!=p&&"object"!=p)&&(!e||"function"!=f&&"object"!=f))return!1;if(null==t||null==e)return t===e;var d=fe.call(t),g=fe.call(e);if(d==X&&(d=V),g==X&&(g=V),d!=g)return!1;switch(d){case J:case $:return+t==+e;case G:return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case Z:case Q:return t==String(e)}var m=d==U;if(!m){if(pe.call(t,"__wrapped__ ")||pe.call(e,"__wrapped__"))return v(t.__wrapped__||t,e.__wrapped__||e,n,r,i,o);if(d!=V||!je.nodeClass&&(c(t)||c(e)))return!1;var w=!je.argsObject&&y(t)?Object:t.constructor,k=!je.argsObject&&y(e)?Object:e.constructor;if(w!=k&&!(b(w)&&w instanceof w&&b(k)&&k instanceof k))return!1}var x=!i;i||(i=s()),o||(o=s());for(var _=i.length;_--;)if(i[_]==t)return o[_]==e;var j=0;if(u=!0,i.push(t),o.push(e),m){if(_=t.length,j=e.length,u=j==t.length,!u&&!a)return u;for(;j--;){var S=_,E=e[j];if(a)for(;S--&&!(u=v(t[S],E,n,r,i,o)););else if(!(u=v(t[j],E,n,r,i,o)))break}return u}return qe(e,function(e,s,a){return pe.call(a,s)?(j++,u=pe.call(t,s)&&v(t[s],e,n,r,i,o)):void 0}),u&&!a&&qe(t,function(t,e,n){return pe.call(n,e)?u=--j>-1:void 0}),x&&(l(i),l(o)),u}function b(t){return"function"==typeof t}function w(t){return!(!t||!te[typeof t])}function x(t){return"string"==typeof t||fe.call(t)==Q}function _(t,e,n){var r=arguments,i=0,o=2;if(!w(t))return t;if(n===I)var a=r[3],c=r[4],u=r[5];else{var p=!0;c=s(),u=s(),"number"!=typeof n&&(o=r.length),o>3&&"function"==typeof r[o-2]?a=h.createCallback(r[--o-1],r[o--],2):o>2&&"function"==typeof r[o-1]&&(a=r[--o])}for(;++i<o;)(Le(r[i])?E:Re)(r[i],function(e,n){var r,i,o=e,s=t[n];if(e&&((i=Le(e))||Ie(e))){for(var l=c.length;l--;)if(r=c[l]==e){s=u[l];break}if(!r){var p;a&&(o=a(s,e),(p="undefined"!=typeof o)&&(s=o)),p||(s=i?Le(s)?s:[]:Ie(s)?s:{}),c.push(e),u.push(s),p||(s=_(s,e,I,a,c,u))}}else a&&(o=a(s,e),"undefined"==typeof o&&(o=e)),"undefined"!=typeof o&&(s=o);t[n]=s});return p&&(l(c),l(u)),t}function j(t,e,n){var r={};if("function"!=typeof e)for(var i=-1,o=ce.apply(re,be.call(arguments,1)),s=w(t)?o.length:0;++i<s;){var a=o[i];a in t&&(r[a]=t[a])}else e=h.createCallback(e,n),qe(t,function(t,n,i){e(t,n,i)&&(r[n]=t)});return r}function S(t,e,n){if(e=h.createCallback(e,n),!Le(t)){var r;return Be(t,function(t,n,i){return e(t,n,i)?(r=t,!1):void 0}),r}for(var i=-1,o=t.length;++i<o;){var s=t[i];if(e(s,i,t))return s}}function E(t,e,n){if(e&&"undefined"==typeof n&&Le(t))for(var r=-1,i=t.length;++r<i&&e(t[r],r,t)!==!1;);else Be(t,e,n);return t}function P(t){var e=-1,i=d(),s=t?t.length:0,a=ce.apply(re,be.call(arguments,1)),c=[],l=s>=D&&i===n;if(l){var p=o(a);p?(i=r,a=p):l=!1}for(;++e<s;){var h=t[e];i(a,h)<0&&c.push(h)}return l&&u(a),c}function O(t,e,r){if("number"==typeof r){var i=t?t.length:0;r=0>r?ve(0,i+r):r||0}else if(r){var o=L(t,e);return t[o]===e?o:-1}return t?n(t,e,r):-1}function L(t,e,n,r){var i=0,o=t?t.length:i;for(n=n?h.createCallback(n,r,1):B,e=n(e);o>i;){var s=i+o>>>1;n(t[s])<e?i=s+1:o=s}return i}function C(t){return P(t,be.call(arguments,1))}function T(t,e,n){if(null==t)return B;var r=typeof t;if("function"!=r){if("object"!=r)return function(e){return e[t]};var i=Te(t);return function(e){for(var n=i.length,r=!1;n--&&(r=v(e[i[n]],t[i[n]],I)););return r}}return"undefined"==typeof e||M&&!M.test(le.call(t))?t:1===n?function(n){return t.call(e,n)}:2===n?function(n,r){return t.call(e,n,r)}:4===n?function(n,r,i,o){return t.call(e,n,r,i,o)}:function(n,r,i){return t.call(e,n,r,i)}}function B(t){return t}var A,q=[],R=[],I={},N=+new Date+"",D=75,F=40,W=/\w*$/,M=(M=/\bthis\b/)&&M.test(function(){return this})&&M,H=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],X="[object Arguments]",U="[object Array]",J="[object Boolean]",$="[object Date]",z="[object Error]",K="[object Function]",G="[object Number]",V="[object Object]",Z="[object RegExp]",Q="[object String]",Y={};Y[K]=!1,Y[X]=Y[U]=Y[J]=Y[$]=Y[G]=Y[V]=Y[Z]=Y[Q]=!0;var te={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},ee=te[typeof t]&&t,ne=te[typeof global]&&global;!ne||ne.global!==ne&&ne.window!==ne||(e=ne);var re=[],ie=Error.prototype,oe=Object.prototype,se=String.prototype;e._;var ae=RegExp("^"+String(oe.valueOf).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),ce=(Math.ceil,e.clearTimeout,re.concat),le=(Math.floor,Function.prototype.toString),ue=ae.test(ue=Object.getPrototypeOf)&&ue,pe=oe.hasOwnProperty,he=(re.push,oe.propertyIsEnumerable),fe=(e.setTimeout,oe.toString),de=ae.test(de=fe.bind)&&de,ge=ae.test(ge=Object.create)&&ge,ye=ae.test(ye=Array.isArray)&&ye,me=(e.isFinite,e.isNaN,ae.test(me=Object.keys)&&me),ve=Math.max,be=(Math.min,Math.random,re.slice),we=ae.test(e.attachEvent),ke=de&&!/\n|true/.test(de+we),xe={};xe[U]=Array,xe[J]=Boolean,xe[$]=Date,xe[K]=Function,xe[V]=Object,xe[G]=Number,xe[Z]=RegExp,xe[Q]=String;var _e={};_e[U]=_e[$]=_e[G]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},_e[J]=_e[Q]={constructor:!0,toString:!0,valueOf:!0},_e[z]=_e[K]=_e[Z]={constructor:!0,toString:!0},_e[V]={constructor:!0},function(){for(var t=H.length;t--;){var e=H[t];for(var n in _e)pe.call(_e,n)&&!pe.call(_e[n],e)&&(_e[n][e]=!1)}}();var je=h.support={};!function(){var t=function(){this.x=1},e=[];t.prototype={valueOf:1,y:1};for(var n in new t)e.push(n);for(n in arguments);je.argsObject=arguments.constructor==Object&&!(arguments instanceof Array),je.argsClass=y(arguments),je.enumErrorProps=he.call(ie,"message")||he.call(ie,"name"),je.enumPrototypes=he.call(t,"prototype"),je.fastBind=de&&!ke,je.ownLast="x"!=e[0],je.nonEnumArgs=0!=n,je.nonEnumShadows=!/valueOf/.test(e),je.unindexedChars="xx"!="x"[0]+Object("x")[0];try{je.nodeClass=!(fe.call(document)==V&&!({toString:0}+""))}catch(r){je.nodeClass=!0}}(1);var Se=function(t){var e="var index, iterable = "+t.firstArg+", result = "+t.init+";\nif (!iterable) return result;\n"+t.top+";";t.array?(e+="\nvar length = iterable.length; index = -1;\nif ("+t.array+") { ",je.unindexedChars&&(e+="\n if (isString(iterable)) {\n iterable = iterable.split('')\n } "),e+="\n while (++index < length) {\n "+t.loop+";\n }\n}\nelse { "):je.nonEnumArgs&&(e+="\n var length = iterable.length; index = -1;\n if (length && isArguments(iterable)) {\n while (++index < length) {\n index += '';\n "+t.loop+";\n }\n } else { "),je.enumPrototypes&&(e+="\n var skipProto = typeof iterable == 'function';\n "),je.enumErrorProps&&(e+="\n var skipErrorProps = iterable === errorProto || iterable instanceof Error;\n ");var n=[];if(je.enumPrototypes&&n.push('!(skipProto && index == "prototype")'),je.enumErrorProps&&n.push('!(skipErrorProps && (index == "message" || index == "name"))'),t.useHas&&t.useKeys)e+="\n var ownIndex = -1,\n ownProps = objectTypes[typeof iterable] && keys(iterable),\n length = ownProps ? ownProps.length : 0;\n\n while (++ownIndex < length) {\n index = ownProps[ownIndex];\n",n.length&&(e+=" if ("+n.join(" && ")+") {\n "),e+=t.loop+"; ",n.length&&(e+="\n }"),e+="\n } ";else if(e+="\n for (index in iterable) {\n",t.useHas&&n.push("hasOwnProperty.call(iterable, index)"),n.length&&(e+=" if ("+n.join(" && ")+") {\n "),e+=t.loop+"; ",n.length&&(e+="\n }"),e+="\n } ",je.nonEnumShadows){for(e+="\n\n if (iterable !== objectProto) {\n var ctor = iterable.constructor,\n isProto = iterable === (ctor && ctor.prototype),\n className = iterable === stringProto ? stringClass : iterable === errorProto ? errorClass : toString.call(iterable),\n nonEnum = nonEnumProps[className];\n ",k=0;7>k;k++)e+="\n index = '"+t.shadowedProps[k]+"';\n if ((!(isProto && nonEnum[index]) && hasOwnProperty.call(iterable, index))",t.useHas||(e+=" || (!nonEnum[index] && iterable[index] !== objectProto[index])"),e+=") {\n "+t.loop+";\n } ";e+="\n } "}return(t.array||je.nonEnumArgs)&&(e+="\n}"),e+=t.bottom+";\nreturn result"},Ee={args:"object, source, guard",top:"var args = arguments,\n argsIndex = 0,\n argsLength = typeof guard == 'number' ? 2 : args.length;\nwhile (++argsIndex < argsLength) {\n iterable = args[argsIndex];\n if (iterable && objectTypes[typeof iterable]) {",loop:"if (typeof result[index] == 'undefined') result[index] = iterable[index]",bottom:" }\n}"},Pe={args:"collection, callback, thisArg",top:"callback = callback && typeof thisArg == 'undefined' ? callback : lodash.createCallback(callback, thisArg)",array:"typeof length == 'number'",loop:"if (callback(iterable[index], index, collection) === false) return result"},Oe={top:"if (!objectTypes[typeof iterable]) return result;\n"+Pe.top,array:!1};je.argsClass||(y=function(t){return t?pe.call(t,"callee"):!1});var Le=ye||function(t){return t?"object"==typeof t&&fe.call(t)==U:!1},Ce=f({args:"object",init:"[]",top:"if (!(objectTypes[typeof object])) return result",loop:"result.push(index)"}),Te=me?function(t){return w(t)?je.enumPrototypes&&"function"==typeof t||je.nonEnumArgs&&t.length&&y(t)?Ce(t):me(t):[]}:Ce,Be=f(Pe),Ae=f(Ee,{top:Ee.top.replace(";",";\nif (argsLength > 3 && typeof args[argsLength - 2] == 'function') {\n var callback = lodash.createCallback(args[--argsLength - 1], args[argsLength--], 2);\n} else if (argsLength > 2 && typeof args[argsLength - 1] == 'function') {\n callback = args[--argsLength];\n}"),loop:"result[index] = callback ? callback(result[index], iterable[index]) : iterable[index]"}),qe=f(Pe,Oe,{useHas:!1}),Re=f(Pe,Oe);b(/x/)&&(b=function(t){return"function"==typeof t&&fe.call(t)==K});var Ie=ue?function(t){if(!t||fe.call(t)!=V||!je.argsClass&&y(t))return!1;var e=t.valueOf,n="function"==typeof e&&(n=ue(e))&&ue(n);return n?t==n||ue(t)==n:g(t)}:g;h.assign=Ae,h.createCallback=T,h.difference=P,h.forEach=E,h.forIn=qe,h.forOwn=Re,h.keys=Te,h.merge=_,h.pick=j,h.without=C,h.each=E,h.extend=Ae,h.clone=m,h.find=S,h.identity=B,h.indexOf=O,h.isArguments=y,h.isArray=Le,h.isEqual=v,h.isFunction=b,h.isObject=w,h.isPlainObject=Ie,h.isString=x,h.sortedIndex=L,h.detect=S,h.findWhere=S,h.VERSION="1.3.1",ee&&!ee.nodeType&&(ee._=h)}(this)}),t.register("particle/dist/collector.js",function(t,e,n){!function(){var t,r,i,o,s,a,c,l,u,p={}.hasOwnProperty,h=function(t,e){function n(){this.constructor=t}for(var r in e)p.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};u=e("./util"),c=u.objInclude,s=u.find,l=u._,i=u.EventEmitter,t=e("./client"),o=e("./applyOp"),a=function(t,e){return"."===e?t:""+t+"."+e},r=function(e){function n(e){var r,i=this;null==e&&(e={}),r="waiting",this.data={},this.received={},this.identity=e.identity||{},this.network=e.network||{},this.debug=e.onDebug||function(){},this.onData=e.onData||function(){},this.error=e.onError||console.error,n.__super__.constructor.call(this,{wildcard:!0,maxListeners:1/0}),this.onRegister=e.onRegister||function(e,n,r){return i.client=t(i.network),i.client.register(e,n,r)},this.on("ready",function(){return i.debug("ready!"),i.status="ready"}),this.on("data",function(t,e){var n;return this.debug("Sending new data notification!"),n=a(e.root,e.path),this.emit(n,t,e),this.onData(t,e)})}return h(n,e),n.prototype.register=function(t){var e=this;return t||(t=function(){}),this.onRegister(this.identity,this.receive.bind(this),function(n){return t(n),n?e.error({context:"Stream: Registration failed.",error:n}):e.debug("Registered with Stream.")})},n.prototype.receive=function(t,e){var n=this;switch(this.lastUpdated=new Date(e.timestamp),this.debug("Received data.",{name:t,event:e}),t){case"manifest":return this.manifest=e,this.checkReady();case"payload":return o(this.data,e),this.emit("data",this.data,e),"end payload"===e.origin&&(this.received[e.root]=!0),this.checkReady();case"delta":return this.ready(function(){return o(n.data,e),n.emit("data",n.data,e)})}},n.prototype.checkReady=function(){var t,e;return t=function(t,e){var n;if(null==e)return!1;for(n in e)if("timestamp"!==n&&!t[n])return!1;return!0},e=t(this.received,this.manifest),this.debug("Checking if we're ready...",{manifest:null!=this.manifest,allReceived:e}),e?this.emit("ready"):void 0},n.prototype.ready=function(t){return"ready"===this.status?t():this.once("ready",t)},n.prototype.reset=function(t){var e;for(e in this.data)delete this.data[e];return this.status="loading",this.ready(t)},n}(i),n.exports=r}.call(this)}),t.register("particle/dist/client.js",function(t,e,n){!function(){var t,r,i,o,s;i=e("protosock").createClientWrapper,o=function(t){var e;return"Error"===(null!=t?t.__type:void 0)?(e=new Error(t.message),e.stack=t.stack,e):t},s=[],r={start:function(){return this.status="waiting"},connect:function(){var t,e,n;for(this.status="ready",e=0,n=s.length;n>e;e++)t=s[e],t();return s=[]},options:{namespace:"particle",resource:"default",debug:!1},message:function(t,e){switch(e.type){case"registered":return this.onRegistered(o(e.err));case"data":return this.receive(e.name,e.event)}},error:function(t,e){return console.log("Particle client error:",{err:o(e)})},ready:function(t){return"ready"===this.status?t():s.push(t)},register:function(t,e,n){var r=this;return this.ready(function(){return r.ssocket.write({type:"register",identity:t}),r.onRegistered=n,r.receive=e})}},n.exports=t=i(r)}.call(this)}),t.register("particle/dist/applyOp.js",function(t,e,n){!function(){var t,r,i,o,s,a=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},c=[].slice;i=e("./enums").removers,s=e("./util"),r=s.indexContaining,o=s._,t=s.getType,n.exports=function(e,n){var s,l,u,p,h,f,d,g,y,m,v,b,w,k,x,_,j,S,E;if(m=n.root,y=n.path,x=n._id,u=n.data,d=n.operation,e[m]||(e[m]=[]),"noop"!==d){if(f=o.find(e[m],function(t){return t._id===x}),!f){if(a.call(i,d)>=0)return;f={_id:x},e[m].push(f)}if("."===y)w=e[m].indexOf(f),f=e[m],u=o.extend(u,{_id:x});else for(S=y.split("."),h=2<=S.length?c.call(S,0,k=S.length-1):(k=0,[]),w=S[k++],_=0,j=h.length;j>_;_++){if(g=h[_],l=g.match(/\[([0-9+])\]/),l&&(v=l[0],s=l[1],s=parseInt(s),g=g.replace(v,"")),null==f[g]){if(a.call(i,d)>=0)return;f[g]=s?[]:{}}if(f=f[g],s){if(b=o.find(f,function(t){return t._id===s}),null==b){if(a.call(i,d)>=0)return;b={_id:s},f.push(b)}f=b}}switch(d){case"set":return f[w]=u;case"unset":return"Array"===t(f)&&"Number"===t(w)?f.splice(w,1):delete f[w];case"inc":return f[w]=(f[w]||0)+(u||1);case"rename":return f[u]=f[w],delete f[w];case"push":return f[w]||(f[w]=[]),f[w].push(u);case"pushAll":return f[w]||(f[w]=[]),(E=f[w]).push.apply(E,u);case"pop":return-1===u?f[w].splice(0,1):f[w].splice(-1,1);case"pull":if(p=r(f[w],u),null!=p)return f[w].splice(p,1)}}}}.call(this)}),t.register("particle/dist/enums.js",function(t,e,n){!function(){n.exports={removers:["unset"]}}.call(this)}),t.register("particle/dist/util.js",function(t,e,n){!function(){var t,r,i;"undefined"!=typeof window&&null!==window?(t=e("EventEmitter2").EventEmitter2,i=e("./lodash")._):(t=e("eventemitter2").EventEmitter2,i=e("lodash")),n.exports=r={_:i,EventEmitter:t,getType:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objInclude:function(t,e){var n,i,o,s;if("Object"!==r.getType(t))return!1;if(n=function(){switch(r.getType(e)){case"Array":return e;case"String":return[e];case"Object":return Object.keys(e);default:return null}}(),null==n)return!1;for(o=0,s=n.length;s>o;o++)if(i=n[o],!t[i])return!1;return!0},empty:function(t){if(null==t)return!0;switch(r.getType(t)){case"Object":return 0===Object.keys(t).length;case"Array":case"String":return 0===t.length;default:return!1}},contains:function(t,e){return i.isEqual(t,e,function(t,e){var n;return i.isPlainObject(t)&&i.isPlainObject(e)?(n=i.pick(t,i.keys(e)),i.isEqual(n,e)):void 0})},indexContaining:function(t,e){var n,i,o,s;for(i=o=0,s=t.length;s>o;i=++o)if(n=t[i],r.contains(n,e))return i;return null},box:function(t){return null==t?[]:"Array"===r.getType(t)?t:[t]}}}.call(this)}),t.alias("wearefractal-protosock/dist/main.js","particle/deps/protosock/dist/main.js"),t.alias("wearefractal-protosock/dist/Socket.js","particle/deps/protosock/dist/Socket.js"),t.alias("wearefractal-protosock/dist/util.js","particle/deps/protosock/dist/util.js"),t.alias("wearefractal-protosock/dist/defaultClient.js","particle/deps/protosock/dist/defaultClient.js"),t.alias("wearefractal-protosock/dist/Client.js","particle/deps/protosock/dist/Client.js"),t.alias("wearefractal-protosock/dist/main.js","particle/deps/protosock/index.js"),t.alias("component-emitter/index.js","wearefractal-protosock/deps/emitter/index.js"),t.alias("LearnBoost-engine.io-client/lib/index.js","wearefractal-protosock/deps/engine.io/lib/index.js"),t.alias("LearnBoost-engine.io-client/lib/socket.js","wearefractal-protosock/deps/engine.io/lib/socket.js"),t.alias("LearnBoost-engine.io-client/lib/transport.js","wearefractal-protosock/deps/engine.io/lib/transport.js"),t.alias("LearnBoost-engine.io-client/lib/emitter.js","wearefractal-protosock/deps/engine.io/lib/emitter.js"),t.alias("LearnBoost-engine.io-client/lib/util.js","wearefractal-protosock/deps/engine.io/lib/util.js"),t.alias("LearnBoost-engine.io-client/lib/transports/index.js","wearefractal-protosock/deps/engine.io/lib/transports/index.js"),t.alias("LearnBoost-engine.io-client/lib/transports/polling.js","wearefractal-protosock/deps/engine.io/lib/transports/polling.js"),t.alias("LearnBoost-engine.io-client/lib/transports/polling-xhr.js","wearefractal-protosock/deps/engine.io/lib/transports/polling-xhr.js"),t.alias("LearnBoost-engine.io-client/lib/transports/polling-jsonp.js","wearefractal-protosock/deps/engine.io/lib/transports/polling-jsonp.js"),t.alias("LearnBoost-engine.io-client/lib/transports/websocket.js","wearefractal-protosock/deps/engine.io/lib/transports/websocket.js"),t.alias("LearnBoost-engine.io-client/lib/transports/flashsocket.js","wearefractal-protosock/deps/engine.io/lib/transports/flashsocket.js"),t.alias("LearnBoost-engine.io-client/lib/index.js","wearefractal-protosock/deps/engine.io/index.js"),t.alias("component-emitter/index.js","LearnBoost-engine.io-client/deps/emitter/index.js"),t.alias("component-indexof/index.js","LearnBoost-engine.io-client/deps/indexof/index.js"),t.alias("LearnBoost-engine.io-protocol/lib/index.js","LearnBoost-engine.io-client/deps/engine.io-parser/lib/index.js"),t.alias("LearnBoost-engine.io-protocol/lib/keys.js","LearnBoost-engine.io-client/deps/engine.io-parser/lib/keys.js"),t.alias("LearnBoost-engine.io-protocol/lib/index.js","LearnBoost-engine.io-client/deps/engine.io-parser/index.js"),t.alias("LearnBoost-engine.io-protocol/lib/index.js","LearnBoost-engine.io-protocol/index.js"),t.alias("visionmedia-debug/index.js","LearnBoost-engine.io-client/deps/debug/index.js"),t.alias("visionmedia-debug/debug.js","LearnBoost-engine.io-client/deps/debug/debug.js"),t.alias("LearnBoost-engine.io-client/lib/index.js","LearnBoost-engine.io-client/index.js"),t.alias("wearefractal-protosock/dist/main.js","wearefractal-protosock/index.js"),t.alias("TorchlightSoftware-EventEmitter2/lib/eventemitter2.js","particle/deps/EventEmitter2/lib/eventemitter2.js"),t.alias("TorchlightSoftware-EventEmitter2/lib/eventemitter2.js","particle/deps/EventEmitter2/index.js"),t.alias("TorchlightSoftware-EventEmitter2/lib/eventemitter2.js","TorchlightSoftware-EventEmitter2/index.js"),t.alias("particle/dist/main.js","particle/index.js"),"object"==typeof exports?module.exports=t("particle"):"function"==typeof define&&define.amd?define(t("particle")):window.Particle=t("particle")}();