New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

plait

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plait - npm Package Compare versions

Comparing version 0.11.4 to 0.11.5

4

dist/plait.min.js

@@ -1,3 +0,3 @@

!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.plait=e()}}(function(){return function e(t,n,r){function o(u,a){if(!n[u]){if(!t[u]){var s="function"==typeof require&&require;if(!a&&s)return s(u,!0);if(i)return i(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[u]={exports:{}};t[u][0].call(f.exports,function(e){var n=t[u][1][e];return o(n?n:e)},f,f.exports,e,t,n,r)}return n[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=e.init,n=e.update,r=e.view,o=c(t),i=f(o,2),s=i[0],l=i[1],d=function(e){return e},p=E(function(){var e=arguments.length<=0||void 0===arguments[0]?s:arguments[0],t=arguments[1],r=n(e,t,d);return"undefined"==typeof r?e:r});d=u(p),l&&p.dispatch(l);var v=r(s,d),h=(0,_["default"])(v);return p.subscribe(function(){v=a(h,v,r(p.getState(),d))}),h}function u(e){return function(t){return function(n){n&&(t.$event=n,t.$fwdAction&&(t.$fwdAction.$event=n)),e.dispatch(t)}}}function a(e,t,n){return(0,w["default"])(e,(0,g["default"])(t,n)),n}function s(e,t){var n=e.init,r=c(n),o=f(r,2),i=o[0],u=o[1];return t&&u&&t(i)(u)(),i}function c(e){var t=e(),n=Array.isArray(t)?t:[t];return[new j["default"](n[0]),n[1]]}Object.defineProperty(n,"__esModule",{value:!0}),n.forwardDispatch=void 0;var f=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&a["return"]&&a["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();n.start=i,n.initializeComponent=s;var l=e("ramda/src/curry"),d=o(l),p=e("redux"),v=e("redux-thunk"),h=o(v),y=e("virtual-dom/diff"),g=o(y),m=e("virtual-dom/patch"),w=o(m),b=e("virtual-dom/create-element"),_=o(b),x=e("./State"),j=o(x),k=e("./dom/delegator"),O=r(k);O.listen();var E=(0,p.applyMiddleware)(h["default"])(p.createStore),N=n.forwardDispatch=(0,d["default"])(function(e,t,n){return function(r){return t("function"==typeof r?function(t){var o=function(){return n},i=N(e,t,n);r(i,o)}:Object.assign({},e,{$fwdAction:r}))}})},{"./State":2,"./dom/delegator":3,"ramda/src/curry":24,redux:40,"redux-thunk":34,"virtual-dom/create-element":42,"virtual-dom/diff":43,"virtual-dom/patch":44}],2:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=e("ramda/src/assocPath"),s=r(a),c=e("ramda/src/path"),f=r(c),l=e("./utils/clone"),d=r(l),p=function(){function e(t){if(o(this,e),"object"!==("undefined"==typeof t?"undefined":i(t)))throw new TypeError(t,"is not an object");this.obj=(0,d["default"])(t),this["@@Plait/State"]=1}return u(e,[{key:"clone",value:function(){return new e(this.toObject())}},{key:"toObject",value:function(){return(0,d["default"])(this.obj)}},{key:"set",value:function(t,n){var r=this.toObject();return r[t]=n,new e(r)}},{key:"get",value:function(e){var t=this.toObject();return t[e]}},{key:"update",value:function(e,t){return this.set(e,t(this.get(e)))}},{key:"setIn",value:function(t,n){var r=(0,s["default"])(t,n,this.obj);return new e(r)}},{key:"getIn",value:function(e){return(0,f["default"])(e,this.obj)}}]),e}();n["default"]=p},{"./utils/clone":6,"ramda/src/assocPath":23,"ramda/src/path":33}],3:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){var e=new u["default"];s["default"].forEach(function(t){return e.listenTo(t)})}Object.defineProperty(n,"__esModule",{value:!0}),n.listen=o;var i=e("dom-delegator/dom-delegator"),u=r(i),a=e("./events"),s=r(a)},{"./events":4,"dom-delegator/dom-delegator":10}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=["blur","change","click","contextmenu","dblclick","error","focus","focusin","focusout","input","keydown","keypress","keyup","load","mousedown","mouseup","resize","select","submit","touchcancel","touchend","touchstart","unload"]},{}],5:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}Object.defineProperty(n,"__esModule",{value:!0}),n.State=n.App=void 0;var i=e("./App"),u=o(i),a=e("./State"),s=r(a);n.App=u,n.State=s["default"]},{"./App":1,"./State":2}],6:[function(e,t,n){"use strict";function r(e){var t=Array.isArray(e)?[]:{};return Object.keys(e).map(function(n){var i=e[n];"object"===("undefined"==typeof i?"undefined":o(i))?i.hasOwnProperty("@@Plait/State")?t[n]=i.clone():t[n]=r(i):t[n]=i}),t}Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};n["default"]=r},{}],7:[function(e,t,n){},{}],8:[function(e,t,n){function r(){f=!1,a.length?c=a.concat(c):l=-1,c.length&&o()}function o(){if(!f){var e=setTimeout(r);f=!0;for(var t=c.length;t;){for(a=c,c=[];++l<t;)a&&a[l].run();l=-1,t=c.length}a=null,f=!1,clearTimeout(e)}}function i(e,t){this.fun=e,this.array=t}function u(){}var a,s=t.exports={},c=[],f=!1,l=-1;s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new i(e,t)),1!==c.length||f||setTimeout(o,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=u,s.addListener=u,s.once=u,s.off=u,s.removeListener=u,s.removeAllListeners=u,s.emit=u,s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},{}],9:[function(e,t,n){function r(e,t,n){var r=o(e),i=r[t];i?Array.isArray(i)?-1===i.indexOf(n)&&i.push(n):i!==n&&(r[t]=[i,n]):r[t]=n}var o=e("ev-store");t.exports=r},{"ev-store":13}],10:[function(e,t,n){function r(e){return this instanceof r?(e=e||f,this.target=e.documentElement,this.events={},this.rawEventListeners={},void(this.globalListeners={})):new r(e)}function o(e,t){function n(t){var n=r[e]||[];if(n.length>0){var u=new h(t);u.currentTarget=o,a(n,u)}i(t.target,t,e)}var r=t.globalListeners,o=t.target;return n}function i(e,t,n){var r=u(e,n);if(r&&r.handlers.length>0){var o=new h(t);if(o.currentTarget=r.currentTarget,a(r.handlers,o),o._bubbles){var s=r.currentTarget.parentNode;i(s,t,n)}}}function u(e,t){if(null===e||"undefined"==typeof e)return null;var n=l(e),r=n[t],o=n.event;if(!r&&!o)return u(e.parentNode,t);var i=[].concat(r||[],o||[]);return new s(e,i)}function a(e,t){e.forEach(function(n){if("function"==typeof n)n(t);else if("function"==typeof n.handleEvent)n.handleEvent(t);else{if("dom-delegator-handle"!==n.type)throw new Error("dom-delegator: unknown handler found: "+JSON.stringify(e));y(n).func(t)}})}function s(e,t){this.currentTarget=e,this.handlers=t}function c(){this.type="dom-delegator-handle"}var f=e("global/document"),l=e("ev-store"),d=e("weakmap-shim/create-store"),p=e("./add-event.js"),v=e("./remove-event.js"),h=e("./proxy-event.js"),y=d();t.exports=r,r.prototype.addEventListener=p,r.prototype.removeEventListener=v,r.allocateHandle=function(e){var t=new c;return y(t).func=e,t},r.transformHandle=function(e,t){var n=y(e).func;return this.allocateHandle(function(e){t(e,n)})},r.prototype.addGlobalEventListener=function(e,t){var n=this.globalListeners[e]||[];-1===n.indexOf(t)&&n.push(t),this.globalListeners[e]=n},r.prototype.removeGlobalEventListener=function(e,t){var n=this.globalListeners[e]||[],r=n.indexOf(t);-1!==r&&n.splice(r,1)},r.prototype.listenTo=function(e){if(e in this.events||(this.events[e]=0),this.events[e]++,1===this.events[e]){var t=this.rawEventListeners[e];t||(t=this.rawEventListeners[e]=o(e,this)),this.target.addEventListener(e,t,!0)}},r.prototype.unlistenTo=function(e){if(e in this.events||(this.events[e]=0),0===this.events[e])throw new Error("already unlistened to event.");if(this.events[e]--,0===this.events[e]){var t=this.rawEventListeners[e];if(!t)throw new Error("dom-delegator#unlistenTo: cannot unlisten to "+e);this.target.removeEventListener(e,t,!0)}}},{"./add-event.js":9,"./proxy-event.js":11,"./remove-event.js":12,"ev-store":13,"global/document":16,"weakmap-shim/create-store":61}],11:[function(e,t,n){function r(e){if(!(this instanceof r))return new r(e);if(f.test(e.type))return new i(e);if(l.test(e.type))return new o(e);for(var t=0;t<a.length;t++){var n=a[t];this[n]=e[n]}this._rawEvent=e,this._bubbles=!1}function o(e){for(var t=0;t<a.length;t++){var n=a[t];this[n]=e[n]}for(var r=0;r<c.length;r++){var o=c[r];this[o]=e[o]}this._rawEvent=e}function i(e){for(var t=0;t<a.length;t++){var n=a[t];this[n]=e[n]}for(var r=0;r<s.length;r++){var o=s[r];this[o]=e[o]}this._rawEvent=e}var u=e("inherits"),a=["altKey","bubbles","cancelable","ctrlKey","eventPhase","metaKey","relatedTarget","shiftKey","target","timeStamp","type","view","which"],s=["char","charCode","key","keyCode"],c=["button","buttons","clientX","clientY","layerX","layerY","offsetX","offsetY","pageX","pageY","screenX","screenY","toElement"],f=/^key|input/,l=/^(?:mouse|pointer|contextmenu)|click/;t.exports=r,r.prototype.preventDefault=function(){this._rawEvent.preventDefault()},r.prototype.startPropagation=function(){this._bubbles=!0},u(o,r),u(i,r)},{inherits:17}],12:[function(e,t,n){function r(e,t,n){var r=o(e),i=r[t];if(i)if(Array.isArray(i)){var u=i.indexOf(n);-1!==u&&i.splice(u,1)}else i===n&&(r[t]=null)}var o=e("ev-store");t.exports=r},{"ev-store":13}],13:[function(e,t,n){"use strict";function r(e){var t=e[u];return t||(t=e[u]={}),t}var o=e("individual/one-version"),i="7";o("ev-store",i);var u="__EV_STORE_KEY@"+i;t.exports=r},{"individual/one-version":15}],14:[function(e,t,n){(function(e){"use strict";function n(e,t){return e in r?r[e]:(r[e]=t,t)}var r="undefined"!=typeof window?window:"undefined"!=typeof e?e:{};t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],15:[function(e,t,n){"use strict";function r(e,t,n){var r="__INDIVIDUAL_ONE_VERSION_"+e,i=r+"_ENFORCE_SINGLETON",u=o(i,t);if(u!==t)throw new Error("Can only have one copy of "+e+".\nYou already have version "+u+" installed.\nThis means you cannot install version "+t);return o(r,n)}var o=e("./index.js");t.exports=r},{"./index.js":14}],16:[function(e,t,n){(function(n){var r="undefined"!=typeof n?n:"undefined"!=typeof window?window:{},o=e("min-document");if("undefined"!=typeof document)t.exports=document;else{var i=r["__GLOBAL_DOCUMENT_CACHE@4"];i||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o),t.exports=i}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":7}],17:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],18:[function(e,t,n){"use strict";t.exports=function(e){return"object"==typeof e&&null!==e}},{}],19:[function(e,t,n){function r(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}t.exports=r},{}],20:[function(e,t,n){function r(e){return!!e&&"object"==typeof e}t.exports=r},{}],21:[function(e,t,n){function r(e){if(!i(e)||f.call(e)!=u||o(e))return!1;var t=a;if("function"==typeof e.constructor&&(t=l(e)),null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==c}var o=e("./_isHostObject"),i=e("./isObjectLike"),u="[object Object]",a=Object.prototype,s=Function.prototype.toString,c=s.call(Object),f=a.toString,l=Object.getPrototypeOf;t.exports=r},{"./_isHostObject":19,"./isObjectLike":20}],22:[function(e,t,n){var r=e("./internal/_curry3");t.exports=r(function(e,t,n){var r={};for(var o in n)r[o]=n[o];return r[e]=t,r})},{"./internal/_curry3":29}],23:[function(e,t,n){var r=e("./internal/_curry3"),o=e("./internal/_slice"),i=e("./assoc");t.exports=r(function u(e,t,n){switch(e.length){case 0:return t;case 1:return i(e[0],t,n);default:return i(e[0],u(o(e,1),t,Object(n[e[0]])),n)}})},{"./assoc":22,"./internal/_curry3":29,"./internal/_slice":32}],24:[function(e,t,n){var r=e("./internal/_curry1"),o=e("./curryN");t.exports=r(function(e){return o(e.length,e)})},{"./curryN":25,"./internal/_curry1":27}],25:[function(e,t,n){var r=e("./internal/_arity"),o=e("./internal/_curry1"),i=e("./internal/_curry2"),u=e("./internal/_curryN");t.exports=i(function(e,t){return 1===e?o(t):r(e,u(e,[],t))})},{"./internal/_arity":26,"./internal/_curry1":27,"./internal/_curry2":28,"./internal/_curryN":30}],26:[function(e,t,n){t.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,o){return t.apply(this,arguments)};case 5:return function(e,n,r,o,i){return t.apply(this,arguments)};case 6:return function(e,n,r,o,i,u){return t.apply(this,arguments)};case 7:return function(e,n,r,o,i,u,a){return t.apply(this,arguments)};case 8:return function(e,n,r,o,i,u,a,s){return t.apply(this,arguments)};case 9:return function(e,n,r,o,i,u,a,s,c){return t.apply(this,arguments)};case 10:return function(e,n,r,o,i,u,a,s,c,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},{}],27:[function(e,t,n){var r=e("./_isPlaceholder");t.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},{"./_isPlaceholder":31}],28:[function(e,t,n){var r=e("./_curry1"),o=e("./_isPlaceholder");t.exports=function(e){return function t(n,i){switch(arguments.length){case 0:return t;case 1:return o(n)?t:r(function(t){return e(n,t)});default:return o(n)&&o(i)?t:o(n)?r(function(t){return e(t,i)}):o(i)?r(function(t){return e(n,t)}):e(n,i)}}}},{"./_curry1":27,"./_isPlaceholder":31}],29:[function(e,t,n){var r=e("./_curry1"),o=e("./_curry2"),i=e("./_isPlaceholder");t.exports=function(e){return function t(n,u,a){switch(arguments.length){case 0:return t;case 1:return i(n)?t:o(function(t,r){return e(n,t,r)});case 2:return i(n)&&i(u)?t:i(n)?o(function(t,n){return e(t,u,n)}):i(u)?o(function(t,r){return e(n,t,r)}):r(function(t){return e(n,u,t)});default:return i(n)&&i(u)&&i(a)?t:i(n)&&i(u)?o(function(t,n){return e(t,n,a)}):i(n)&&i(a)?o(function(t,n){return e(t,u,n)}):i(u)&&i(a)?o(function(t,r){return e(n,t,r)}):i(n)?r(function(t){return e(t,u,a)}):i(u)?r(function(t){return e(n,t,a)}):i(a)?r(function(t){return e(n,u,t)}):e(n,u,a)}}}},{"./_curry1":27,"./_curry2":28,"./_isPlaceholder":31}],30:[function(e,t,n){var r=e("./_arity"),o=e("./_isPlaceholder");t.exports=function i(e,t,n){return function(){for(var u=[],a=0,s=e,c=0;c<t.length||a<arguments.length;){var f;c<t.length&&(!o(t[c])||a>=arguments.length)?f=t[c]:(f=arguments[a],a+=1),u[c]=f,o(f)||(s-=1),c+=1}return 0>=s?n.apply(this,u):r(s,i(e,u,n))}}},{"./_arity":26,"./_isPlaceholder":31}],31:[function(e,t,n){t.exports=function(e){return null!=e&&"object"==typeof e&&e["@@functional/placeholder"]===!0}},{}],32:[function(e,t,n){t.exports=function r(e,t,n){switch(arguments.length){case 1:return r(e,0,e.length);case 2:return r(e,t,e.length);default:for(var o=[],i=0,u=Math.max(0,Math.min(e.length,n)-t);u>i;)o[i]=e[t+i],i+=1;return o}}},{}],33:[function(e,t,n){var r=e("./internal/_curry2");t.exports=r(function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n})},{"./internal/_curry2":28}],34:[function(e,t,n){"use strict";function r(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}t.exports=r},{}],35:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var u=e(n,r,o),s=u.dispatch,c=[],f={getState:u.getState,dispatch:function(e){return s(e)}};return c=t.map(function(e){return e(f)}),s=a["default"].apply(void 0,c)(u.dispatch),i({},u,{dispatch:s})}}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.__esModule=!0,n["default"]=o;var u=e("./compose"),a=r(u)},{"./compose":38}],36:[function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return r(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},i=0;i<n.length;i++){var u=n[i],a=e[u];"function"==typeof a&&(o[u]=r(a,t))}return o}n.__esModule=!0,n["default"]=o},{}],37:[function(e,t,n){(function(t){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return'Reducer "'+e+'" returned undefined handling '+r+". To ignore an action, you must explicitly return the previous state."}function i(e,t,n){var r=Object.keys(t),o=n&&n.type===s.ActionTypes.INIT?"initialState argument passed to createStore":"previous state received by the reducer";if(0===r.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!(0,f["default"])(e))return"The "+o+' has unexpected type of "'+{}.toString.call(e).match(/\s([a-z|A-Z]+)/)[1]+'". Expected argument to be an object with the following '+('keys: "'+r.join('", "')+'"');var i=Object.keys(e).filter(function(e){return!t.hasOwnProperty(e)});return i.length>0?"Unexpected "+(i.length>1?"keys":"key")+" "+('"'+i.join('", "')+'" found in '+o+". ")+"Expected to find one of the known reducer keys instead: "+('"'+r.join('", "')+'". Unexpected keys will be ignored.'):void 0}function u(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:o}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(e){for(var n=Object.keys(e),r={},a=0;a<n.length;a++){var s=n[a];"function"==typeof e[s]&&(r[s]=e[s])}var c,f=Object.keys(r);try{u(r)}catch(l){c=l}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments[1];if(c)throw c;if("production"!==t.env.NODE_ENV){var u=i(e,r,n);u&&(0,d["default"])(u)}for(var a=!1,s={},l=0;l<f.length;l++){var p=f[l],v=r[p],h=e[p],y=v(h,n);if("undefined"==typeof y){var g=o(p,n);throw new Error(g)}s[p]=y,a=a||y!==h}return a?s:e}}n.__esModule=!0,n["default"]=a;var s=e("./createStore"),c=e("lodash/isPlainObject"),f=r(c),l=e("./utils/warning"),d=r(l)}).call(this,e("_process"))},{"./createStore":39,"./utils/warning":41,_process:8,"lodash/isPlainObject":21}],38:[function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(){if(0===t.length)return arguments.length<=0?void 0:arguments[0];var e=t[t.length-1],n=t.slice(0,-1);return n.reduceRight(function(e,t){return t(e)},e.apply(void 0,arguments))}}n.__esModule=!0,n["default"]=r},{}],39:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){function r(){v===p&&(v=p.slice())}function i(){return d}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),v.push(e),function(){if(t){t=!1,r();var n=v.indexOf(e);v.splice(n,1)}}}function c(e){if(!(0,u["default"])(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(h)throw new Error("Reducers may not dispatch actions.");try{h=!0,d=l(d,e)}finally{h=!1}for(var t=p=v,n=0;n<t.length;n++)t[n]();return e}function f(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,c({type:a.INIT})}if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var l=e,d=t,p=[],v=p,h=!1;return c({type:a.INIT}),{dispatch:c,subscribe:s,getState:i,replaceReducer:f}}n.__esModule=!0,n.ActionTypes=void 0,n["default"]=o;var i=e("lodash/isPlainObject"),u=r(i),a=n.ActionTypes={INIT:"@@redux/INIT"}},{"lodash/isPlainObject":21}],40:[function(e,t,n){(function(t){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){}n.__esModule=!0,n.compose=n.applyMiddleware=n.bindActionCreators=n.combineReducers=n.createStore=void 0;var i=e("./createStore"),u=r(i),a=e("./combineReducers"),s=r(a),c=e("./bindActionCreators"),f=r(c),l=e("./applyMiddleware"),d=r(l),p=e("./compose"),v=r(p),h=e("./utils/warning"),y=r(h);"production"!==t.env.NODE_ENV&&"string"==typeof o.name&&"isCrushed"!==o.name&&(0,y["default"])("You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build."),n.createStore=u["default"],n.combineReducers=s["default"],n.bindActionCreators=f["default"],n.applyMiddleware=d["default"],n.compose=v["default"]}).call(this,e("_process"))},{"./applyMiddleware":35,"./bindActionCreators":36,"./combineReducers":37,"./compose":38,"./createStore":39,"./utils/warning":41,_process:8}],41:[function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(t){}}n.__esModule=!0,n["default"]=r},{}],42:[function(e,t,n){var r=e("./vdom/create-element.js");t.exports=r},{"./vdom/create-element.js":46}],43:[function(e,t,n){var r=e("./vtree/diff.js");t.exports=r},{"./vtree/diff.js":60}],44:[function(e,t,n){var r=e("./vdom/patch.js");t.exports=r},{"./vdom/patch.js":49}],45:[function(e,t,n){function r(e,t,n){for(var r in t){var u=t[r];void 0===u?o(e,r,u,n):s(u)?(o(e,r,u,n),u.hook&&u.hook(e,r,n?n[r]:void 0)):a(u)?i(e,t,n,r,u):e[r]=u}}function o(e,t,n,r){if(r){var o=r[t];if(s(o))o.unhook&&o.unhook(e,t,n);else if("attributes"===t)for(var i in o)e.removeAttribute(i);else if("style"===t)for(var u in o)e.style[u]="";else"string"==typeof o?e[t]="":e[t]=null}}function i(e,t,n,r,o){var i=n?n[r]:void 0;if("attributes"!==r){if(i&&a(i)&&u(i)!==u(o))return void(e[r]=o);a(e[r])||(e[r]={});var s="style"===r?"":void 0;for(var c in o){var f=o[c];e[r][c]=void 0===f?s:f}}else for(var l in o){var d=o[l];void 0===d?e.removeAttribute(l):e.setAttribute(l,d)}}function u(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__?e.__proto__:e.constructor?e.constructor.prototype:void 0}var a=e("is-object"),s=e("../vnode/is-vhook.js");t.exports=r},{"../vnode/is-vhook.js":53,"is-object":18}],46:[function(e,t,n){function r(e,t){var n=t?t.document||o:o,f=t?t.warn:null;if(e=c(e).a,s(e))return e.init();if(a(e))return n.createTextNode(e.text);if(!u(e))return f&&f("Item is not a valid virtual dom node",e),null;var l=null===e.namespace?n.createElement(e.tagName):n.createElementNS(e.namespace,e.tagName),d=e.properties;i(l,d);for(var p=e.children,v=0;v<p.length;v++){var h=r(p[v],t);h&&l.appendChild(h)}return l}var o=e("global/document"),i=e("./apply-properties"),u=e("../vnode/is-vnode.js"),a=e("../vnode/is-vtext.js"),s=e("../vnode/is-widget.js"),c=e("../vnode/handle-thunk.js");t.exports=r},{"../vnode/handle-thunk.js":51,"../vnode/is-vnode.js":54,"../vnode/is-vtext.js":55,"../vnode/is-widget.js":56,"./apply-properties":45,"global/document":16}],47:[function(e,t,n){function r(e,t,n,r){return n&&0!==n.length?(n.sort(u),o(e,t,n,r,0)):{}}function o(e,t,n,r,u){if(r=r||{},e){i(n,u,u)&&(r[u]=e);var s=t.children;if(s)for(var c=e.childNodes,f=0;f<t.children.length;f++){u+=1;var l=s[f]||a,d=u+(l.count||0);i(n,u,d)&&o(c[f],l,n,r,u),u=d}}return r}function i(e,t,n){if(0===e.length)return!1;for(var r,o,i=0,u=e.length-1;u>=i;){if(r=(u+i)/2>>0,o=e[r],i===u)return o>=t&&n>=o;if(t>o)i=r+1;else{if(!(o>n))return!0;u=r-1}}return!1}function u(e,t){return e>t?1:-1}var a={};t.exports=r},{}],48:[function(e,t,n){function r(e,t,n){var r=e.type,c=e.vNode,p=e.patch;switch(r){case v.REMOVE:return o(t,c);case v.INSERT:return i(t,p,n);case v.VTEXT:return u(t,c,p,n);case v.WIDGET:return a(t,c,p,n);case v.VNODE:return s(t,c,p,n);case v.ORDER:return f(t,p),t;case v.PROPS:return d(t,p,c.properties),t;case v.THUNK:return l(t,n.patch(t,p,n));default:return t}}function o(e,t){var n=e.parentNode;return n&&n.removeChild(e),c(e,t),null}function i(e,t,n){var r=n.render(t,n);return e&&e.appendChild(r),e}function u(e,t,n,r){var o;if(3===e.nodeType)e.replaceData(0,e.length,n.text),o=e;else{var i=e.parentNode;o=r.render(n,r),i&&o!==e&&i.replaceChild(o,e)}return o}function a(e,t,n,r){var o,i=h(t,n);o=i?n.update(t,e)||e:r.render(n,r);var u=e.parentNode;return u&&o!==e&&u.replaceChild(o,e),i||c(e,t),o}function s(e,t,n,r){var o=e.parentNode,i=r.render(n,r);return o&&i!==e&&o.replaceChild(i,e),i}function c(e,t){"function"==typeof t.destroy&&p(t)&&t.destroy(e)}function f(e,t){for(var n,r,o,i=e.childNodes,u={},a=0;a<t.removes.length;a++)r=t.removes[a],n=i[r.from],r.key&&(u[r.key]=n),e.removeChild(n);for(var s=i.length,c=0;c<t.inserts.length;c++)o=t.inserts[c],n=u[o.key],e.insertBefore(n,o.to>=s++?null:i[o.to])}function l(e,t){return e&&t&&e!==t&&e.parentNode&&e.parentNode.replaceChild(t,e),t}var d=e("./apply-properties"),p=e("../vnode/is-widget.js"),v=e("../vnode/vpatch.js"),h=e("./update-widget");t.exports=r},{"../vnode/is-widget.js":56,"../vnode/vpatch.js":58,"./apply-properties":45,"./update-widget":50}],49:[function(e,t,n){function r(e,t,n){return n=n||{},n.patch=n.patch&&n.patch!==r?n.patch:o,n.render=n.render||c,n.patch(e,t,n)}function o(e,t,n){var r=u(t);if(0===r.length)return e;var o=f(e,t.a,r),s=e.ownerDocument;n.document||s===a||(n.document=s);for(var c=0;c<r.length;c++){var l=r[c];e=i(e,o[l],t[l],n)}return e}function i(e,t,n,r){if(!t)return e;var o;if(s(n))for(var i=0;i<n.length;i++)o=l(n[i],t,r),t===e&&(e=o);else o=l(n,t,r),t===e&&(e=o);return e}function u(e){var t=[];for(var n in e)"a"!==n&&t.push(Number(n));return t}var a=e("global/document"),s=e("x-is-array"),c=e("./create-element"),f=e("./dom-index"),l=e("./patch-op");t.exports=r},{"./create-element":46,"./dom-index":47,"./patch-op":48,"global/document":16,"x-is-array":63}],50:[function(e,t,n){function r(e,t){return o(e)&&o(t)?"name"in e&&"name"in t?e.id===t.id:e.init===t.init:!1}var o=e("../vnode/is-widget.js");t.exports=r},{"../vnode/is-widget.js":56}],51:[function(e,t,n){function r(e,t){var n=e,r=t;return s(t)&&(r=o(t,e)),s(e)&&(n=o(e,null)),{a:n,b:r}}function o(e,t){var n=e.vnode;if(n||(n=e.vnode=e.render(t)),!(i(n)||u(n)||a(n)))throw new Error("thunk did not return a valid node");return n}var i=e("./is-vnode"),u=e("./is-vtext"),a=e("./is-widget"),s=e("./is-thunk");t.exports=r},{"./is-thunk":52,"./is-vnode":54,"./is-vtext":55,"./is-widget":56}],52:[function(e,t,n){function r(e){return e&&"Thunk"===e.type}t.exports=r},{}],53:[function(e,t,n){function r(e){return e&&("function"==typeof e.hook&&!e.hasOwnProperty("hook")||"function"==typeof e.unhook&&!e.hasOwnProperty("unhook"))}t.exports=r},{}],54:[function(e,t,n){function r(e){return e&&"VirtualNode"===e.type&&e.version===o}var o=e("./version");t.exports=r},{"./version":57}],55:[function(e,t,n){function r(e){return e&&"VirtualText"===e.type&&e.version===o}var o=e("./version");t.exports=r},{"./version":57}],56:[function(e,t,n){function r(e){return e&&"Widget"===e.type}t.exports=r},{}],57:[function(e,t,n){t.exports="2"},{}],58:[function(e,t,n){function r(e,t,n){this.type=Number(e),this.vNode=t,this.patch=n}var o=e("./version");r.NONE=0,r.VTEXT=1,r.VNODE=2,r.WIDGET=3,r.PROPS=4,r.ORDER=5,r.INSERT=6,r.REMOVE=7,r.THUNK=8,t.exports=r,r.prototype.version=o,r.prototype.type="VirtualPatch"},{"./version":57}],59:[function(e,t,n){function r(e,t){var n;for(var a in e){a in t||(n=n||{},n[a]=void 0);var s=e[a],c=t[a];if(s!==c)if(i(s)&&i(c))if(o(c)!==o(s))n=n||{},n[a]=c;else if(u(c))n=n||{},n[a]=c;else{var f=r(s,c);f&&(n=n||{},n[a]=f)}else n=n||{},n[a]=c}for(var l in t)l in e||(n=n||{},n[l]=t[l]);return n}function o(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__?e.__proto__:e.constructor?e.constructor.prototype:void 0}var i=e("is-object"),u=e("../vnode/is-vhook");t.exports=r},{"../vnode/is-vhook":53,"is-object":18}],60:[function(e,t,n){function r(e,t){var n={a:e};return o(e,t,n,0),n}function o(e,t,n,r){if(e!==t){var o=n[r],a=!1;if(_(e)||_(t))s(e,t,n,r);else if(null==t)b(e)||(u(e,n,r),o=n[r]),o=h(o,new g(g.REMOVE,e,t));else if(m(t))if(m(e))if(e.tagName===t.tagName&&e.namespace===t.namespace&&e.key===t.key){var c=j(e.properties,t.properties);c&&(o=h(o,new g(g.PROPS,e,c))),o=i(e,t,n,o,r)}else o=h(o,new g(g.VNODE,e,t)),a=!0;else o=h(o,new g(g.VNODE,e,t)),a=!0;else w(t)?w(e)?e.text!==t.text&&(o=h(o,new g(g.VTEXT,e,t))):(o=h(o,new g(g.VTEXT,e,t)),a=!0):b(t)&&(b(e)||(a=!0),o=h(o,new g(g.WIDGET,e,t)));o&&(n[r]=o),a&&u(e,n,r)}}function i(e,t,n,r,i){for(var u=e.children,a=d(u,t.children),s=a.children,c=u.length,f=s.length,l=c>f?c:f,p=0;l>p;p++){var v=u[p],y=s[p];i+=1,v?o(v,y,n,i):y&&(r=h(r,new g(g.INSERT,null,y))),m(v)&&v.count&&(i+=v.count)}return a.moves&&(r=h(r,new g(g.ORDER,e,a.moves))),r}function u(e,t,n){f(e,t,n),a(e,t,n)}function a(e,t,n){if(b(e))"function"==typeof e.destroy&&(t[n]=h(t[n],new g(g.REMOVE,e,null)));else if(m(e)&&(e.hasWidgets||e.hasThunks))for(var r=e.children,o=r.length,i=0;o>i;i++){
var u=r[i];n+=1,a(u,t,n),m(u)&&u.count&&(n+=u.count)}else _(e)&&s(e,null,t,n)}function s(e,t,n,o){var i=x(e,t),u=r(i.a,i.b);c(u)&&(n[o]=new g(g.THUNK,null,u))}function c(e){for(var t in e)if("a"!==t)return!0;return!1}function f(e,t,n){if(m(e)){if(e.hooks&&(t[n]=h(t[n],new g(g.PROPS,e,l(e.hooks)))),e.descendantHooks||e.hasThunks)for(var r=e.children,o=r.length,i=0;o>i;i++){var u=r[i];n+=1,f(u,t,n),m(u)&&u.count&&(n+=u.count)}}else _(e)&&s(e,null,t,n)}function l(e){var t={};for(var n in e)t[n]=void 0;return t}function d(e,t){var n=v(t),r=n.keys,o=n.free;if(o.length===t.length)return{children:t,moves:null};var i=v(e),u=i.keys,a=i.free;if(a.length===e.length)return{children:t,moves:null};for(var s=[],c=0,f=o.length,l=0,d=0;d<e.length;d++){var h,y=e[d];y.key?r.hasOwnProperty(y.key)?(h=r[y.key],s.push(t[h])):(h=d-l++,s.push(null)):f>c?(h=o[c++],s.push(t[h])):(h=d-l++,s.push(null))}for(var g=c>=o.length?t.length:o[c],m=0;m<t.length;m++){var w=t[m];w.key?u.hasOwnProperty(w.key)||s.push(w):m>=g&&s.push(w)}for(var b,_=s.slice(),x=0,j=[],k=[],O=0;O<t.length;){var E=t[O];for(b=_[x];null===b&&_.length;)j.push(p(_,x,null)),b=_[x];b&&b.key===E.key?(x++,O++):E.key?(b&&b.key&&r[b.key]!==O+1?(j.push(p(_,x,b.key)),b=_[x],b&&b.key===E.key?x++:k.push({key:E.key,to:O})):k.push({key:E.key,to:O}),O++):b&&b.key&&j.push(p(_,x,b.key))}for(;x<_.length;)b=_[x],j.push(p(_,x,b&&b.key));return j.length!==l||k.length?{children:s,moves:{removes:j,inserts:k}}:{children:s,moves:null}}function p(e,t,n){return e.splice(t,1),{from:t,key:n}}function v(e){for(var t={},n=[],r=e.length,o=0;r>o;o++){var i=e[o];i.key?t[i.key]=o:n.push(o)}return{keys:t,free:n}}function h(e,t){return e?(y(e)?e.push(t):e=[e,t],e):t}var y=e("x-is-array"),g=e("../vnode/vpatch"),m=e("../vnode/is-vnode"),w=e("../vnode/is-vtext"),b=e("../vnode/is-widget"),_=e("../vnode/is-thunk"),x=e("../vnode/handle-thunk"),j=e("./diff-props");t.exports=r},{"../vnode/handle-thunk":51,"../vnode/is-thunk":52,"../vnode/is-vnode":54,"../vnode/is-vtext":55,"../vnode/is-widget":56,"../vnode/vpatch":58,"./diff-props":59,"x-is-array":63}],61:[function(e,t,n){function r(){var e={};return function(t){if(("object"!=typeof t||null===t)&&"function"!=typeof t)throw new Error("Weakmap-shim: Key must be object");var n=t.valueOf(e);return n&&n.identity===e?n:o(t,e)}}var o=e("./hidden-store.js");t.exports=r},{"./hidden-store.js":62}],62:[function(e,t,n){function r(e,t){var n={identity:t},r=e.valueOf;return Object.defineProperty(e,"valueOf",{value:function(e){return e!==t?r.apply(this,arguments):n},writable:!0}),n}t.exports=r},{}],63:[function(e,t,n){function r(e){return"[object Array]"===i.call(e)}var o=Array.isArray,i=Object.prototype.toString;t.exports=o||r},{}]},{},[5])(5)});
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.plait=e()}}(function(){return function e(t,n,r){function o(u,a){if(!n[u]){if(!t[u]){var c="function"==typeof require&&require;if(!a&&c)return c(u,!0);if(i)return i(u,!0);var s=new Error("Cannot find module '"+u+"'");throw s.code="MODULE_NOT_FOUND",s}var f=n[u]={exports:{}};t[u][0].call(f.exports,function(e){var n=t[u][1][e];return o(n?n:e)},f,f.exports,e,t,n,r)}return n[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=e.init,n=e.update,r=e.view,o=s(t),i=f(o,2),c=i[0],l=i[1],d=function(e){return e},p=E(function(){var e=arguments.length<=0||void 0===arguments[0]?c:arguments[0],t=arguments[1],r=n(e,t,d);return"undefined"==typeof r?e:r});d=u(p),l&&p.dispatch(l);var v=r(c,d),h=(0,_["default"])(v);return p.subscribe(function(){v=a(h,v,r(p.getState(),d))}),h}function u(e){return function(t){return function(n){n&&(t.$event=n,t.$fwdAction&&(t.$fwdAction.$event=n)),e.dispatch(t)}}}function a(e,t,n){return(0,w["default"])(e,(0,g["default"])(t,n)),n}function c(e,t){var n=e.init,r=s(n),o=f(r,2),i=o[0],u=o[1];return t&&u&&t(i)(u)(),i}function s(e){var t=e(),n=Array.isArray(t)?t:[t];return[new j["default"](n[0]),n[1]]}Object.defineProperty(n,"__esModule",{value:!0}),n.forwardDispatch=void 0;var f=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&a["return"]&&a["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();n.start=i,n.initializeComponent=c;var l=e("ramda/src/curry"),d=o(l),p=e("redux"),v=e("redux-thunk"),h=o(v),y=e("virtual-dom/diff"),g=o(y),m=e("virtual-dom/patch"),w=o(m),b=e("virtual-dom/create-element"),_=o(b),x=e("./State"),j=o(x),k=e("./dom/delegator"),O=r(k);O.listen();var E=(0,p.applyMiddleware)(h["default"])(p.createStore),N=n.forwardDispatch=(0,d["default"])(function(e,t,n){return function(r){return t("function"==typeof r?function(t){var o=function(){return n},i=N(e,t,n);r(i,o)}:Object.assign({},e,{$fwdAction:r}))}})},{"./State":2,"./dom/delegator":3,"ramda/src/curry":21,redux:37,"redux-thunk":31,"virtual-dom/create-element":42,"virtual-dom/diff":43,"virtual-dom/patch":44}],2:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=e("ramda/src/assocPath"),c=r(a),s=e("ramda/src/path"),f=r(s),l=e("./utils/clone"),d=r(l),p=function(){function e(t){if(o(this,e),"object"!==("undefined"==typeof t?"undefined":i(t)))throw new TypeError(t,"is not an object");this.obj=(0,d["default"])(t),this["@@Plait/State"]=1}return u(e,[{key:"clone",value:function(){return new e(this.toObject())}},{key:"toObject",value:function(){return(0,d["default"])(this.obj)}},{key:"set",value:function(t,n){var r=this.toObject();return r[t]=n,new e(r)}},{key:"get",value:function(e){var t=this.toObject();return t[e]}},{key:"update",value:function(e,t){return this.set(e,t(this.get(e)))}},{key:"setIn",value:function(t,n){var r=(0,c["default"])(t,n,this.obj);return new e(r)}},{key:"getIn",value:function(e){return(0,f["default"])(e,this.obj)}}]),e}();n["default"]=p},{"./utils/clone":6,"ramda/src/assocPath":20,"ramda/src/path":30}],3:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){var e=new u["default"];c["default"].forEach(function(t){return e.listenTo(t)})}Object.defineProperty(n,"__esModule",{value:!0}),n.listen=o;var i=e("dom-delegator/dom-delegator"),u=r(i),a=e("./events"),c=r(a)},{"./events":4,"dom-delegator/dom-delegator":10}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=["blur","change","click","contextmenu","dblclick","error","focus","focusin","focusout","input","keydown","keypress","keyup","load","mousedown","mouseup","resize","select","submit","touchcancel","touchend","touchstart","unload"]},{}],5:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}Object.defineProperty(n,"__esModule",{value:!0}),n.State=n.App=void 0;var i=e("./App"),u=o(i),a=e("./State"),c=r(a);n.App=u,n.State=c["default"]},{"./App":1,"./State":2}],6:[function(e,t,n){"use strict";function r(e){var t=Array.isArray(e)?[]:{};return Object.keys(e).map(function(n){var i=e[n];"object"===("undefined"==typeof i?"undefined":o(i))?i.hasOwnProperty("@@Plait/State")?t[n]=i.clone():t[n]=r(i):t[n]=i}),t}Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};n["default"]=r},{}],7:[function(e,t,n){},{}],8:[function(e,t,n){function r(){f=!1,a.length?s=a.concat(s):l=-1,s.length&&o()}function o(){if(!f){var e=setTimeout(r);f=!0;for(var t=s.length;t;){for(a=s,s=[];++l<t;)a&&a[l].run();l=-1,t=s.length}a=null,f=!1,clearTimeout(e)}}function i(e,t){this.fun=e,this.array=t}function u(){}var a,c=t.exports={},s=[],f=!1,l=-1;c.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new i(e,t)),1!==s.length||f||setTimeout(o,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=u,c.addListener=u,c.once=u,c.off=u,c.removeListener=u,c.removeAllListeners=u,c.emit=u,c.binding=function(e){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},{}],9:[function(e,t,n){function r(e,t,n){var r=o(e),i=r[t];i?Array.isArray(i)?-1===i.indexOf(n)&&i.push(n):i!==n&&(r[t]=[i,n]):r[t]=n}var o=e("ev-store");t.exports=r},{"ev-store":13}],10:[function(e,t,n){function r(e){return this instanceof r?(e=e||f,this.target=e.documentElement,this.events={},this.rawEventListeners={},void(this.globalListeners={})):new r(e)}function o(e,t){function n(t){var n=r[e]||[];if(n.length>0){var u=new h(t);u.currentTarget=o,a(n,u)}i(t.target,t,e)}var r=t.globalListeners,o=t.target;return n}function i(e,t,n){var r=u(e,n);if(r&&r.handlers.length>0){var o=new h(t);if(o.currentTarget=r.currentTarget,a(r.handlers,o),o._bubbles){var c=r.currentTarget.parentNode;i(c,t,n)}}}function u(e,t){if(null===e||"undefined"==typeof e)return null;var n=l(e),r=n[t],o=n.event;if(!r&&!o)return u(e.parentNode,t);var i=[].concat(r||[],o||[]);return new c(e,i)}function a(e,t){e.forEach(function(n){if("function"==typeof n)n(t);else if("function"==typeof n.handleEvent)n.handleEvent(t);else{if("dom-delegator-handle"!==n.type)throw new Error("dom-delegator: unknown handler found: "+JSON.stringify(e));y(n).func(t)}})}function c(e,t){this.currentTarget=e,this.handlers=t}function s(){this.type="dom-delegator-handle"}var f=e("global/document"),l=e("ev-store"),d=e("weakmap-shim/create-store"),p=e("./add-event.js"),v=e("./remove-event.js"),h=e("./proxy-event.js"),y=d();t.exports=r,r.prototype.addEventListener=p,r.prototype.removeEventListener=v,r.allocateHandle=function(e){var t=new s;return y(t).func=e,t},r.transformHandle=function(e,t){var n=y(e).func;return this.allocateHandle(function(e){t(e,n)})},r.prototype.addGlobalEventListener=function(e,t){var n=this.globalListeners[e]||[];-1===n.indexOf(t)&&n.push(t),this.globalListeners[e]=n},r.prototype.removeGlobalEventListener=function(e,t){var n=this.globalListeners[e]||[],r=n.indexOf(t);-1!==r&&n.splice(r,1)},r.prototype.listenTo=function(e){if(e in this.events||(this.events[e]=0),this.events[e]++,1===this.events[e]){var t=this.rawEventListeners[e];t||(t=this.rawEventListeners[e]=o(e,this)),this.target.addEventListener(e,t,!0)}},r.prototype.unlistenTo=function(e){if(e in this.events||(this.events[e]=0),0===this.events[e])throw new Error("already unlistened to event.");if(this.events[e]--,0===this.events[e]){var t=this.rawEventListeners[e];if(!t)throw new Error("dom-delegator#unlistenTo: cannot unlisten to "+e);this.target.removeEventListener(e,t,!0)}}},{"./add-event.js":9,"./proxy-event.js":11,"./remove-event.js":12,"ev-store":13,"global/document":16,"weakmap-shim/create-store":61}],11:[function(e,t,n){function r(e){if(!(this instanceof r))return new r(e);if(f.test(e.type))return new i(e);if(l.test(e.type))return new o(e);for(var t=0;t<a.length;t++){var n=a[t];this[n]=e[n]}this._rawEvent=e,this._bubbles=!1}function o(e){for(var t=0;t<a.length;t++){var n=a[t];this[n]=e[n]}for(var r=0;r<s.length;r++){var o=s[r];this[o]=e[o]}this._rawEvent=e}function i(e){for(var t=0;t<a.length;t++){var n=a[t];this[n]=e[n]}for(var r=0;r<c.length;r++){var o=c[r];this[o]=e[o]}this._rawEvent=e}var u=e("inherits"),a=["altKey","bubbles","cancelable","ctrlKey","eventPhase","metaKey","relatedTarget","shiftKey","target","timeStamp","type","view","which"],c=["char","charCode","key","keyCode"],s=["button","buttons","clientX","clientY","layerX","layerY","offsetX","offsetY","pageX","pageY","screenX","screenY","toElement"],f=/^key|input/,l=/^(?:mouse|pointer|contextmenu)|click/;t.exports=r,r.prototype.preventDefault=function(){this._rawEvent.preventDefault()},r.prototype.startPropagation=function(){this._bubbles=!0},u(o,r),u(i,r)},{inherits:17}],12:[function(e,t,n){function r(e,t,n){var r=o(e),i=r[t];if(i)if(Array.isArray(i)){var u=i.indexOf(n);-1!==u&&i.splice(u,1)}else i===n&&(r[t]=null)}var o=e("ev-store");t.exports=r},{"ev-store":13}],13:[function(e,t,n){"use strict";function r(e){var t=e[u];return t||(t=e[u]={}),t}var o=e("individual/one-version"),i="7";o("ev-store",i);var u="__EV_STORE_KEY@"+i;t.exports=r},{"individual/one-version":15}],14:[function(e,t,n){(function(e){"use strict";function n(e,t){return e in r?r[e]:(r[e]=t,t)}var r="undefined"!=typeof window?window:"undefined"!=typeof e?e:{};t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],15:[function(e,t,n){"use strict";function r(e,t,n){var r="__INDIVIDUAL_ONE_VERSION_"+e,i=r+"_ENFORCE_SINGLETON",u=o(i,t);if(u!==t)throw new Error("Can only have one copy of "+e+".\nYou already have version "+u+" installed.\nThis means you cannot install version "+t);return o(r,n)}var o=e("./index.js");t.exports=r},{"./index.js":14}],16:[function(e,t,n){(function(n){var r="undefined"!=typeof n?n:"undefined"!=typeof window?window:{},o=e("min-document");if("undefined"!=typeof document)t.exports=document;else{var i=r["__GLOBAL_DOCUMENT_CACHE@4"];i||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o),t.exports=i}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":7}],17:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],18:[function(e,t,n){"use strict";t.exports=function(e){return"object"==typeof e&&null!==e}},{}],19:[function(e,t,n){var r=e("./internal/_curry3");t.exports=r(function(e,t,n){var r={};for(var o in n)r[o]=n[o];return r[e]=t,r})},{"./internal/_curry3":26}],20:[function(e,t,n){var r=e("./internal/_curry3"),o=e("./internal/_slice"),i=e("./assoc");t.exports=r(function u(e,t,n){switch(e.length){case 0:return t;case 1:return i(e[0],t,n);default:return i(e[0],u(o(e,1),t,Object(n[e[0]])),n)}})},{"./assoc":19,"./internal/_curry3":26,"./internal/_slice":29}],21:[function(e,t,n){var r=e("./internal/_curry1"),o=e("./curryN");t.exports=r(function(e){return o(e.length,e)})},{"./curryN":22,"./internal/_curry1":24}],22:[function(e,t,n){var r=e("./internal/_arity"),o=e("./internal/_curry1"),i=e("./internal/_curry2"),u=e("./internal/_curryN");t.exports=i(function(e,t){return 1===e?o(t):r(e,u(e,[],t))})},{"./internal/_arity":23,"./internal/_curry1":24,"./internal/_curry2":25,"./internal/_curryN":27}],23:[function(e,t,n){t.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,o){return t.apply(this,arguments)};case 5:return function(e,n,r,o,i){return t.apply(this,arguments)};case 6:return function(e,n,r,o,i,u){return t.apply(this,arguments)};case 7:return function(e,n,r,o,i,u,a){return t.apply(this,arguments)};case 8:return function(e,n,r,o,i,u,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,o,i,u,a,c,s){return t.apply(this,arguments)};case 10:return function(e,n,r,o,i,u,a,c,s,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},{}],24:[function(e,t,n){var r=e("./_isPlaceholder");t.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},{"./_isPlaceholder":28}],25:[function(e,t,n){var r=e("./_curry1"),o=e("./_isPlaceholder");t.exports=function(e){return function t(n,i){switch(arguments.length){case 0:return t;case 1:return o(n)?t:r(function(t){return e(n,t)});default:return o(n)&&o(i)?t:o(n)?r(function(t){return e(t,i)}):o(i)?r(function(t){return e(n,t)}):e(n,i)}}}},{"./_curry1":24,"./_isPlaceholder":28}],26:[function(e,t,n){var r=e("./_curry1"),o=e("./_curry2"),i=e("./_isPlaceholder");t.exports=function(e){return function t(n,u,a){switch(arguments.length){case 0:return t;case 1:return i(n)?t:o(function(t,r){return e(n,t,r)});case 2:return i(n)&&i(u)?t:i(n)?o(function(t,n){return e(t,u,n)}):i(u)?o(function(t,r){return e(n,t,r)}):r(function(t){return e(n,u,t)});default:return i(n)&&i(u)&&i(a)?t:i(n)&&i(u)?o(function(t,n){return e(t,n,a)}):i(n)&&i(a)?o(function(t,n){return e(t,u,n)}):i(u)&&i(a)?o(function(t,r){return e(n,t,r)}):i(n)?r(function(t){return e(t,u,a)}):i(u)?r(function(t){return e(n,t,a)}):i(a)?r(function(t){return e(n,u,t)}):e(n,u,a)}}}},{"./_curry1":24,"./_curry2":25,"./_isPlaceholder":28}],27:[function(e,t,n){var r=e("./_arity"),o=e("./_isPlaceholder");t.exports=function i(e,t,n){return function(){for(var u=[],a=0,c=e,s=0;s<t.length||a<arguments.length;){var f;s<t.length&&(!o(t[s])||a>=arguments.length)?f=t[s]:(f=arguments[a],a+=1),u[s]=f,o(f)||(c-=1),s+=1}return 0>=c?n.apply(this,u):r(c,i(e,u,n))}}},{"./_arity":23,"./_isPlaceholder":28}],28:[function(e,t,n){t.exports=function(e){return null!=e&&"object"==typeof e&&e["@@functional/placeholder"]===!0}},{}],29:[function(e,t,n){t.exports=function r(e,t,n){switch(arguments.length){case 1:return r(e,0,e.length);case 2:return r(e,t,e.length);default:for(var o=[],i=0,u=Math.max(0,Math.min(e.length,n)-t);u>i;)o[i]=e[t+i],i+=1;return o}}},{}],30:[function(e,t,n){var r=e("./internal/_curry2");t.exports=r(function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n})},{"./internal/_curry2":25}],31:[function(e,t,n){"use strict";function r(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}n.__esModule=!0,n["default"]=r},{}],32:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var u=e(n,r,o),c=u.dispatch,s=[],f={getState:u.getState,dispatch:function(e){return c(e)}};return s=t.map(function(e){return e(f)}),c=a["default"].apply(void 0,s)(u.dispatch),i({},u,{dispatch:c})}}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.__esModule=!0,n["default"]=o;var u=e("./compose"),a=r(u)},{"./compose":35}],33:[function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return r(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},i=0;i<n.length;i++){var u=n[i],a=e[u];"function"==typeof a&&(o[u]=r(a,t))}return o}n.__esModule=!0,n["default"]=o},{}],34:[function(e,t,n){(function(t){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return'Reducer "'+e+'" returned undefined handling '+r+". To ignore an action, you must explicitly return the previous state."}function i(e,t,n){var r=Object.keys(t),o=n&&n.type===c.ActionTypes.INIT?"initialState argument passed to createStore":"previous state received by the reducer";if(0===r.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!(0,f["default"])(e))return"The "+o+' has unexpected type of "'+{}.toString.call(e).match(/\s([a-z|A-Z]+)/)[1]+'". Expected argument to be an object with the following '+('keys: "'+r.join('", "')+'"');var i=Object.keys(e).filter(function(e){return!t.hasOwnProperty(e)});return i.length>0?"Unexpected "+(i.length>1?"keys":"key")+" "+('"'+i.join('", "')+'" found in '+o+". ")+"Expected to find one of the known reducer keys instead: "+('"'+r.join('", "')+'". Unexpected keys will be ignored.'):void 0}function u(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:c.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:o}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+c.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(e){for(var n=Object.keys(e),r={},a=0;a<n.length;a++){var c=n[a];"function"==typeof e[c]&&(r[c]=e[c])}var s,f=Object.keys(r);try{u(r)}catch(l){s=l}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments[1];if(s)throw s;if("production"!==t.env.NODE_ENV){var u=i(e,r,n);u&&(0,d["default"])(u)}for(var a=!1,c={},l=0;l<f.length;l++){var p=f[l],v=r[p],h=e[p],y=v(h,n);if("undefined"==typeof y){var g=o(p,n);throw new Error(g)}c[p]=y,a=a||y!==h}return a?c:e}}n.__esModule=!0,n["default"]=a;var c=e("./createStore"),s=e("lodash/isPlainObject"),f=r(s),l=e("./utils/warning"),d=r(l)}).call(this,e("_process"))},{"./createStore":36,"./utils/warning":38,_process:8,"lodash/isPlainObject":41}],35:[function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(){if(0===t.length)return arguments.length<=0?void 0:arguments[0];var e=t[t.length-1],n=t.slice(0,-1);return n.reduceRight(function(e,t){return t(e)},e.apply(void 0,arguments))}}n.__esModule=!0,n["default"]=r},{}],36:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){function r(){v===p&&(v=p.slice())}function i(){return d}function c(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),v.push(e),function(){if(t){t=!1,r();var n=v.indexOf(e);v.splice(n,1)}}}function s(e){if(!(0,u["default"])(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(h)throw new Error("Reducers may not dispatch actions.");try{h=!0,d=l(d,e)}finally{h=!1}for(var t=p=v,n=0;n<t.length;n++)t[n]();return e}function f(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,s({type:a.INIT})}if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var l=e,d=t,p=[],v=p,h=!1;return s({type:a.INIT}),{dispatch:s,subscribe:c,getState:i,replaceReducer:f}}n.__esModule=!0,n.ActionTypes=void 0,n["default"]=o;var i=e("lodash/isPlainObject"),u=r(i),a=n.ActionTypes={INIT:"@@redux/INIT"}},{"lodash/isPlainObject":41}],37:[function(e,t,n){(function(t){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){}n.__esModule=!0,n.compose=n.applyMiddleware=n.bindActionCreators=n.combineReducers=n.createStore=void 0;var i=e("./createStore"),u=r(i),a=e("./combineReducers"),c=r(a),s=e("./bindActionCreators"),f=r(s),l=e("./applyMiddleware"),d=r(l),p=e("./compose"),v=r(p),h=e("./utils/warning"),y=r(h);"production"!==t.env.NODE_ENV&&"string"==typeof o.name&&"isCrushed"!==o.name&&(0,y["default"])("You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build."),n.createStore=u["default"],n.combineReducers=c["default"],n.bindActionCreators=f["default"],n.applyMiddleware=d["default"],n.compose=v["default"]}).call(this,e("_process"))},{"./applyMiddleware":32,"./bindActionCreators":33,"./combineReducers":34,"./compose":35,"./createStore":36,"./utils/warning":38,_process:8}],38:[function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(t){}}n.__esModule=!0,n["default"]=r},{}],39:[function(e,t,n){function r(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}t.exports=r},{}],40:[function(e,t,n){function r(e){return!!e&&"object"==typeof e}t.exports=r},{}],41:[function(e,t,n){function r(e){if(!i(e)||f.call(e)!=u||o(e))return!1;var t=l(e);if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==s}var o=e("./_isHostObject"),i=e("./isObjectLike"),u="[object Object]",a=Object.prototype,c=Function.prototype.toString,s=c.call(Object),f=a.toString,l=Object.getPrototypeOf;t.exports=r},{"./_isHostObject":39,"./isObjectLike":40}],42:[function(e,t,n){var r=e("./vdom/create-element.js");t.exports=r},{"./vdom/create-element.js":46}],43:[function(e,t,n){var r=e("./vtree/diff.js");t.exports=r},{"./vtree/diff.js":60}],44:[function(e,t,n){var r=e("./vdom/patch.js");t.exports=r},{"./vdom/patch.js":49}],45:[function(e,t,n){function r(e,t,n){for(var r in t){var u=t[r];void 0===u?o(e,r,u,n):c(u)?(o(e,r,u,n),u.hook&&u.hook(e,r,n?n[r]:void 0)):a(u)?i(e,t,n,r,u):e[r]=u}}function o(e,t,n,r){if(r){var o=r[t];if(c(o))o.unhook&&o.unhook(e,t,n);else if("attributes"===t)for(var i in o)e.removeAttribute(i);else if("style"===t)for(var u in o)e.style[u]="";else"string"==typeof o?e[t]="":e[t]=null}}function i(e,t,n,r,o){var i=n?n[r]:void 0;if("attributes"!==r){if(i&&a(i)&&u(i)!==u(o))return void(e[r]=o);a(e[r])||(e[r]={});var c="style"===r?"":void 0;for(var s in o){var f=o[s];e[r][s]=void 0===f?c:f}}else for(var l in o){var d=o[l];void 0===d?e.removeAttribute(l):e.setAttribute(l,d)}}function u(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__?e.__proto__:e.constructor?e.constructor.prototype:void 0}var a=e("is-object"),c=e("../vnode/is-vhook.js");t.exports=r},{"../vnode/is-vhook.js":53,"is-object":18}],46:[function(e,t,n){function r(e,t){var n=t?t.document||o:o,f=t?t.warn:null;if(e=s(e).a,c(e))return e.init();if(a(e))return n.createTextNode(e.text);if(!u(e))return f&&f("Item is not a valid virtual dom node",e),null;var l=null===e.namespace?n.createElement(e.tagName):n.createElementNS(e.namespace,e.tagName),d=e.properties;i(l,d);for(var p=e.children,v=0;v<p.length;v++){var h=r(p[v],t);h&&l.appendChild(h)}return l}var o=e("global/document"),i=e("./apply-properties"),u=e("../vnode/is-vnode.js"),a=e("../vnode/is-vtext.js"),c=e("../vnode/is-widget.js"),s=e("../vnode/handle-thunk.js");t.exports=r},{"../vnode/handle-thunk.js":51,"../vnode/is-vnode.js":54,"../vnode/is-vtext.js":55,"../vnode/is-widget.js":56,"./apply-properties":45,"global/document":16}],47:[function(e,t,n){function r(e,t,n,r){return n&&0!==n.length?(n.sort(u),o(e,t,n,r,0)):{}}function o(e,t,n,r,u){if(r=r||{},e){i(n,u,u)&&(r[u]=e);var c=t.children;if(c)for(var s=e.childNodes,f=0;f<t.children.length;f++){u+=1;var l=c[f]||a,d=u+(l.count||0);i(n,u,d)&&o(s[f],l,n,r,u),u=d}}return r}function i(e,t,n){if(0===e.length)return!1;for(var r,o,i=0,u=e.length-1;u>=i;){if(r=(u+i)/2>>0,o=e[r],i===u)return o>=t&&n>=o;if(t>o)i=r+1;else{if(!(o>n))return!0;u=r-1}}return!1}function u(e,t){return e>t?1:-1}var a={};t.exports=r},{}],48:[function(e,t,n){function r(e,t,n){var r=e.type,s=e.vNode,p=e.patch;switch(r){case v.REMOVE:return o(t,s);case v.INSERT:return i(t,p,n);case v.VTEXT:return u(t,s,p,n);case v.WIDGET:return a(t,s,p,n);case v.VNODE:return c(t,s,p,n);case v.ORDER:return f(t,p),t;case v.PROPS:return d(t,p,s.properties),t;case v.THUNK:return l(t,n.patch(t,p,n));default:return t}}function o(e,t){var n=e.parentNode;return n&&n.removeChild(e),s(e,t),null}function i(e,t,n){var r=n.render(t,n);return e&&e.appendChild(r),e}function u(e,t,n,r){var o;if(3===e.nodeType)e.replaceData(0,e.length,n.text),o=e;else{var i=e.parentNode;o=r.render(n,r),i&&o!==e&&i.replaceChild(o,e)}return o}function a(e,t,n,r){var o,i=h(t,n);o=i?n.update(t,e)||e:r.render(n,r);var u=e.parentNode;return u&&o!==e&&u.replaceChild(o,e),i||s(e,t),o}function c(e,t,n,r){var o=e.parentNode,i=r.render(n,r);return o&&i!==e&&o.replaceChild(i,e),i}function s(e,t){"function"==typeof t.destroy&&p(t)&&t.destroy(e)}function f(e,t){for(var n,r,o,i=e.childNodes,u={},a=0;a<t.removes.length;a++)r=t.removes[a],n=i[r.from],r.key&&(u[r.key]=n),e.removeChild(n);for(var c=i.length,s=0;s<t.inserts.length;s++)o=t.inserts[s],n=u[o.key],e.insertBefore(n,o.to>=c++?null:i[o.to])}function l(e,t){return e&&t&&e!==t&&e.parentNode&&e.parentNode.replaceChild(t,e),t}var d=e("./apply-properties"),p=e("../vnode/is-widget.js"),v=e("../vnode/vpatch.js"),h=e("./update-widget");t.exports=r},{"../vnode/is-widget.js":56,"../vnode/vpatch.js":58,"./apply-properties":45,"./update-widget":50}],49:[function(e,t,n){function r(e,t,n){return n=n||{},n.patch=n.patch&&n.patch!==r?n.patch:o,n.render=n.render||s,n.patch(e,t,n)}function o(e,t,n){var r=u(t);if(0===r.length)return e;var o=f(e,t.a,r),c=e.ownerDocument;n.document||c===a||(n.document=c);for(var s=0;s<r.length;s++){var l=r[s];e=i(e,o[l],t[l],n)}return e}function i(e,t,n,r){if(!t)return e;var o;if(c(n))for(var i=0;i<n.length;i++)o=l(n[i],t,r),t===e&&(e=o);else o=l(n,t,r),t===e&&(e=o);return e}function u(e){var t=[];for(var n in e)"a"!==n&&t.push(Number(n));return t}var a=e("global/document"),c=e("x-is-array"),s=e("./create-element"),f=e("./dom-index"),l=e("./patch-op");t.exports=r},{"./create-element":46,"./dom-index":47,"./patch-op":48,"global/document":16,"x-is-array":63}],50:[function(e,t,n){function r(e,t){return o(e)&&o(t)?"name"in e&&"name"in t?e.id===t.id:e.init===t.init:!1}var o=e("../vnode/is-widget.js");t.exports=r},{"../vnode/is-widget.js":56}],51:[function(e,t,n){function r(e,t){var n=e,r=t;return c(t)&&(r=o(t,e)),c(e)&&(n=o(e,null)),{a:n,b:r}}function o(e,t){var n=e.vnode;if(n||(n=e.vnode=e.render(t)),!(i(n)||u(n)||a(n)))throw new Error("thunk did not return a valid node");return n}var i=e("./is-vnode"),u=e("./is-vtext"),a=e("./is-widget"),c=e("./is-thunk");t.exports=r},{"./is-thunk":52,"./is-vnode":54,"./is-vtext":55,"./is-widget":56}],52:[function(e,t,n){function r(e){return e&&"Thunk"===e.type}t.exports=r},{}],53:[function(e,t,n){function r(e){return e&&("function"==typeof e.hook&&!e.hasOwnProperty("hook")||"function"==typeof e.unhook&&!e.hasOwnProperty("unhook"))}t.exports=r},{}],54:[function(e,t,n){function r(e){return e&&"VirtualNode"===e.type&&e.version===o}var o=e("./version");t.exports=r},{"./version":57}],55:[function(e,t,n){function r(e){return e&&"VirtualText"===e.type&&e.version===o}var o=e("./version");t.exports=r},{"./version":57}],56:[function(e,t,n){function r(e){return e&&"Widget"===e.type}t.exports=r},{}],57:[function(e,t,n){t.exports="2"},{}],58:[function(e,t,n){function r(e,t,n){this.type=Number(e),this.vNode=t,this.patch=n}var o=e("./version");r.NONE=0,r.VTEXT=1,r.VNODE=2,r.WIDGET=3,r.PROPS=4,r.ORDER=5,r.INSERT=6,r.REMOVE=7,r.THUNK=8,t.exports=r,r.prototype.version=o,r.prototype.type="VirtualPatch"},{"./version":57}],59:[function(e,t,n){function r(e,t){var n;for(var a in e){a in t||(n=n||{},n[a]=void 0);var c=e[a],s=t[a];if(c!==s)if(i(c)&&i(s))if(o(s)!==o(c))n=n||{},n[a]=s;else if(u(s))n=n||{},n[a]=s;else{var f=r(c,s);f&&(n=n||{},n[a]=f)}else n=n||{},n[a]=s}for(var l in t)l in e||(n=n||{},n[l]=t[l]);return n}function o(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__?e.__proto__:e.constructor?e.constructor.prototype:void 0}var i=e("is-object"),u=e("../vnode/is-vhook");t.exports=r},{"../vnode/is-vhook":53,"is-object":18}],60:[function(e,t,n){function r(e,t){var n={a:e};return o(e,t,n,0),n}function o(e,t,n,r){if(e!==t){var o=n[r],a=!1;if(_(e)||_(t))c(e,t,n,r);else if(null==t)b(e)||(u(e,n,r),o=n[r]),o=h(o,new g(g.REMOVE,e,t));else if(m(t))if(m(e))if(e.tagName===t.tagName&&e.namespace===t.namespace&&e.key===t.key){var s=j(e.properties,t.properties);s&&(o=h(o,new g(g.PROPS,e,s))),o=i(e,t,n,o,r)}else o=h(o,new g(g.VNODE,e,t)),a=!0;else o=h(o,new g(g.VNODE,e,t)),a=!0;else w(t)?w(e)?e.text!==t.text&&(o=h(o,new g(g.VTEXT,e,t))):(o=h(o,new g(g.VTEXT,e,t)),a=!0):b(t)&&(b(e)||(a=!0),o=h(o,new g(g.WIDGET,e,t)));o&&(n[r]=o),a&&u(e,n,r)}}function i(e,t,n,r,i){for(var u=e.children,a=d(u,t.children),c=a.children,s=u.length,f=c.length,l=s>f?s:f,p=0;l>p;p++){var v=u[p],y=c[p];i+=1,v?o(v,y,n,i):y&&(r=h(r,new g(g.INSERT,null,y))),m(v)&&v.count&&(i+=v.count)}return a.moves&&(r=h(r,new g(g.ORDER,e,a.moves))),r}function u(e,t,n){f(e,t,n),a(e,t,n)}function a(e,t,n){if(b(e))"function"==typeof e.destroy&&(t[n]=h(t[n],new g(g.REMOVE,e,null)));else if(m(e)&&(e.hasWidgets||e.hasThunks))for(var r=e.children,o=r.length,i=0;o>i;i++){
var u=r[i];n+=1,a(u,t,n),m(u)&&u.count&&(n+=u.count)}else _(e)&&c(e,null,t,n)}function c(e,t,n,o){var i=x(e,t),u=r(i.a,i.b);s(u)&&(n[o]=new g(g.THUNK,null,u))}function s(e){for(var t in e)if("a"!==t)return!0;return!1}function f(e,t,n){if(m(e)){if(e.hooks&&(t[n]=h(t[n],new g(g.PROPS,e,l(e.hooks)))),e.descendantHooks||e.hasThunks)for(var r=e.children,o=r.length,i=0;o>i;i++){var u=r[i];n+=1,f(u,t,n),m(u)&&u.count&&(n+=u.count)}}else _(e)&&c(e,null,t,n)}function l(e){var t={};for(var n in e)t[n]=void 0;return t}function d(e,t){var n=v(t),r=n.keys,o=n.free;if(o.length===t.length)return{children:t,moves:null};var i=v(e),u=i.keys,a=i.free;if(a.length===e.length)return{children:t,moves:null};for(var c=[],s=0,f=o.length,l=0,d=0;d<e.length;d++){var h,y=e[d];y.key?r.hasOwnProperty(y.key)?(h=r[y.key],c.push(t[h])):(h=d-l++,c.push(null)):f>s?(h=o[s++],c.push(t[h])):(h=d-l++,c.push(null))}for(var g=s>=o.length?t.length:o[s],m=0;m<t.length;m++){var w=t[m];w.key?u.hasOwnProperty(w.key)||c.push(w):m>=g&&c.push(w)}for(var b,_=c.slice(),x=0,j=[],k=[],O=0;O<t.length;){var E=t[O];for(b=_[x];null===b&&_.length;)j.push(p(_,x,null)),b=_[x];b&&b.key===E.key?(x++,O++):E.key?(b&&b.key&&r[b.key]!==O+1?(j.push(p(_,x,b.key)),b=_[x],b&&b.key===E.key?x++:k.push({key:E.key,to:O})):k.push({key:E.key,to:O}),O++):b&&b.key&&j.push(p(_,x,b.key))}for(;x<_.length;)b=_[x],j.push(p(_,x,b&&b.key));return j.length!==l||k.length?{children:c,moves:{removes:j,inserts:k}}:{children:c,moves:null}}function p(e,t,n){return e.splice(t,1),{from:t,key:n}}function v(e){for(var t={},n=[],r=e.length,o=0;r>o;o++){var i=e[o];i.key?t[i.key]=o:n.push(o)}return{keys:t,free:n}}function h(e,t){return e?(y(e)?e.push(t):e=[e,t],e):t}var y=e("x-is-array"),g=e("../vnode/vpatch"),m=e("../vnode/is-vnode"),w=e("../vnode/is-vtext"),b=e("../vnode/is-widget"),_=e("../vnode/is-thunk"),x=e("../vnode/handle-thunk"),j=e("./diff-props");t.exports=r},{"../vnode/handle-thunk":51,"../vnode/is-thunk":52,"../vnode/is-vnode":54,"../vnode/is-vtext":55,"../vnode/is-widget":56,"../vnode/vpatch":58,"./diff-props":59,"x-is-array":63}],61:[function(e,t,n){function r(){var e={};return function(t){if(("object"!=typeof t||null===t)&&"function"!=typeof t)throw new Error("Weakmap-shim: Key must be object");var n=t.valueOf(e);return n&&n.identity===e?n:o(t,e)}}var o=e("./hidden-store.js");t.exports=r},{"./hidden-store.js":62}],62:[function(e,t,n){function r(e,t){var n={identity:t},r=e.valueOf;return Object.defineProperty(e,"valueOf",{value:function(e){return e!==t?r.apply(this,arguments):n},writable:!0}),n}t.exports=r},{}],63:[function(e,t,n){function r(e){return"[object Array]"===i.call(e)}var o=Array.isArray,i=Object.prototype.toString;t.exports=o||r},{}]},{},[5])(5)});
//# sourceMappingURL=plait.min.js.map
{
"name": "plait",
"version": "0.11.4",
"version": "0.11.5",
"description": "A minimal JavaScript framework for building isomorphic reactive web components",

@@ -20,8 +20,9 @@ "main": "lib/index.js",

"prepublish": "npm run build",
"docs:clean": "rm -rf _book",
"docs:clean": "rm -rf docs/_book",
"docs:prepare": "gitbook install",
"docs:spellcheck": "./node_modules/.bin/mdspell docs/**/*.md",
"docs:build": "npm run docs:spellcheck && npm run docs:prepare && gitbook build -g wildlyinaccurate/plait && ./node_modules/.bin/gulp buildExamples && cp examples/dist/* _book/examples",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:wildlyinaccurate/plait gh-pages --force"
"docs:spellcheck": "mdspell docs/**/*.md",
"docs:examples": "gulp buildExamples && mkdir -p docs/_book/examples && cp examples/dist/* docs/_book/examples",
"docs:build": "npm run docs:clean && npm run docs:spellcheck && npm run docs:prepare && gitbook build ./docs && npm run docs:examples",
"docs:watch": "npm run docs:prepare && gitbook serve ./docs",
"docs:publish": "npm run docs:build && cp CNAME docs/_book/CNAME && cd docs/_book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:wildlyinaccurate/plait gh-pages --force"
},

@@ -38,3 +39,3 @@ "author": {

"redux": "^3.2.1",
"redux-thunk": "^1.0.3",
"redux-thunk": "^2.0.1",
"virtual-dom": "^2.1.1"

@@ -47,8 +48,8 @@ },

"browserify": "^13.0.0",
"gitbook-cli": "^1.0.1",
"gitbook-cli": "^2.0.0",
"gulp": "^3.9.0",
"gulp-babel": "^6.1.1",
"gulp-connect": "^2.3.1",
"gulp-cucumber": "0.0.15",
"gulp-eslint": "^1.1.1",
"gulp-connect": "^3.0.0",
"gulp-cucumber": "^0.0.18",
"gulp-eslint": "^2.0.0",
"gulp-jasmine": "^2.2.1",

@@ -74,3 +75,3 @@ "gulp-rename": "^1.2.2",

},
"homepage": "https://wildlyinaccurate.com/plait/",
"homepage": "https://plait.js.org/",
"keywords": [

@@ -77,0 +78,0 @@ "plait",

@@ -1,2 +0,2 @@

# [Plait](https://wildlyinaccurate.com/plait/)
# [Plait](https://plait.js.org/)

@@ -7,3 +7,4 @@ Plait is a minimal JavaScript framework for building isomorphic reactive web components. It is loosely based on <a href="https://github.com/evancz/elm-architecture-tutorial/">The Elm Architecture</a> and Elm's <a href="https://github.com/evancz/start-app"><code>StartApp</code></a>.

[![npm version](https://img.shields.io/npm/v/plait.svg?style=flat-square)](https://www.npmjs.com/package/plait)
![stability-unstable](https://img.shields.io/badge/stability-unstable-yellow.svg)
[![dependency status](http://img.shields.io/david/wildlyinaccurate/plait.svg?style=flat-square)](http://david-dm.org/wildlyinaccurate/plait)
![stability-unstable](https://img.shields.io/badge/stability-unstable-yellow.svg?style=flat-square)

@@ -24,5 +25,5 @@ ## The Basic Idea

The following is an example of an application composed of a single counter component. [View the demo](https://wildlyinaccurate.com/plait/examples/Counter.html)
The following is an example of an application composed of a single counter component. [View the demo](https://plait.js.org/examples/Counter.html)
> _Note: For more complex example applications, see [the Plait documentation](https://wildlyinaccurate.com/plait/docs/examples/index.html)._
> _Note: For more complex example applications, see [the Plait documentation](https://plait.js.org/examples/index.html)._

@@ -29,0 +30,0 @@ ```jsx

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc