@modular-toolkit/hocs
Advanced tools
Comparing version 2.0.0-beta.0 to 2.0.0-beta.1
# Changelog | ||
## 2.0.0 / 14 Mar 2018 | ||
* JS code now ES5 compatible (transpiled through Babel) | ||
* If you want to use the untranspiled code (highly recommended), us the *esnext* version, which is | ||
included in the same npm package ([more info here](http://2ality.com/2017/06/pkg-esnext.html)) | ||
## 1.0.0 / 9 Mar 2018 | ||
@@ -4,0 +10,0 @@ |
@@ -1,1 +0,1 @@ | ||
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t){e.exports=require("recompose")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.check=function(e,t,n){if(!t(e))throw m("error","uncaught at check",n),new Error(n)},t.hasOwn=p,t.remove=function(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)},t.deferred=h,t.arrayOfDeffered=function(e){for(var t=[],n=0;n<e;n++)t.push(h());return t},t.delay=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise(function(r){n=setTimeout(function(){return r(t)},e)});return r[f]=function(){return clearTimeout(n)},r},t.createMockTask=function(){var e,t=!0,n=void 0,r=void 0;return(e={})[a]=!0,e.isRunning=function(){return t},e.result=function(){return n},e.error=function(){return r},e.setRunning=function(e){return t=e},e.setResult=function(e){return n=e},e.setError=function(e){return r=e},e},t.autoInc=y,t.makeIterator=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],o={name:n,next:e,throw:t,return:g};r&&(o[c]=!0);"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o});return o},t.log=m,t.deprecate=function(e,t){return function(){return e.apply(void 0,arguments)}};var o=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},u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)},i=t.sym=function(e){return"@@redux-saga/"+e},a=t.TASK=i("TASK"),c=t.HELPER=i("HELPER"),f=(t.MATCH=i("MATCH"),t.CANCEL=i("CANCEL_PROMISE")),l=t.SAGA_ACTION=i("SAGA_ACTION"),s=(t.SELF_CANCELLATION=i("SELF_CANCELLATION"),t.konst=function(e){return function(){return e}});t.kTrue=s(!0),t.kFalse=s(!1),t.noop=function(){},t.ident=function(e){return e};var d=Object.prototype.hasOwnProperty;function p(e,t){return v.notUndef(e)&&d.call(e,t)}var v=t.is={undef:function(e){return null===e||void 0===e},notUndef:function(e){return null!==e&&void 0!==e},func:function(e){return"function"==typeof e},number:function(e){return"number"==typeof e},string:function(e){return"string"==typeof e},array:Array.isArray,object:function(e){return e&&!v.array(e)&&"object"===(void 0===e?"undefined":u(e))},promise:function(e){return e&&v.func(e.then)},iterator:function(e){return e&&v.func(e.next)&&v.func(e.throw)},iterable:function(e){return e&&v.func(Symbol)?v.func(e[Symbol.iterator]):v.array(e)},task:function(e){return e&&e[a]},observable:function(e){return e&&v.func(e.subscribe)},buffer:function(e){return e&&v.func(e.isEmpty)&&v.func(e.take)&&v.func(e.put)},pattern:function(e){return e&&(v.string(e)||"symbol"===(void 0===e?"undefined":u(e))||v.func(e)||v.array(e))},channel:function(e){return e&&v.func(e.take)&&v.func(e.close)},helper:function(e){return e&&e[c]},stringableFunc:function(e){return v.func(e)&&p(e,"toString")}};t.object={assign:function(e,t){for(var n in t)p(t,n)&&(e[n]=t[n])}};t.array={from:function(e){var t=Array(e.length);for(var n in e)p(e,n)&&(t[n]=e[n]);return t}};function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o({},e),n=new Promise(function(e,n){t.resolve=e,t.reject=n});return t.promise=n,t}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}t.uid=y();var b=function(e){throw e},g=function(e){return{value:e,done:!0}};function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"undefined"==typeof window?console.log("redux-saga "+e+": "+t+"\n"+(n&&n.stack||n)):console[e](t,n)}t.updateIncentive=function(e,t){return e+" has been deprecated in favor of "+t+", please update your code"},t.internalErr=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},t.createSetContextWarning=function(e,t){return(e?e+".":"")+"setContext(props): argument "+t+" is not a plain object"},t.wrapSagaDispatch=function(e){return function(t){return e(Object.defineProperty(t,l,{value:!0}))}},t.cloneableGenerator=function e(t){return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var u=[],i=t.apply(void 0,r);return{next:function(e){return u.push(e),i.next(e)},clone:function(){var n=e(t).apply(void 0,r);return u.forEach(function(e){return n.next(e)}),n},return:function(e){return i.return(e)},throw:function(e){return i.throw(e)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asEffect=t.takem=t.detach=void 0,t.take=w,t.put=S,t.all=P,t.race=function(e){return j(f,e)},t.call=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return j(l,E("call",e,n))},t.apply=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return j(l,E("apply",{context:e,fn:t},n))},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return j(s,E("cps",e,n))},t.fork=C,t.spawn=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return k(C.apply(void 0,[e].concat(n)))},t.join=function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];if(n.length>1)return P(n.map(function(t){return e(t)}));var u=n[0];(0,r.check)(u,r.is.notUndef,"join(task): argument task is undefined");(0,r.check)(u,r.is.task,"join(task): argument "+u+" is not a valid Task object "+O);return j(p,u)},t.cancel=function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];if(n.length>1)return P(n.map(function(t){return e(t)}));var u=n[0];1===n.length&&((0,r.check)(u,r.is.notUndef,"cancel(task): argument task is undefined"),(0,r.check)(u,r.is.task,"cancel(task): argument "+u+" is not a valid Task object "+O));return j(v,u||r.SELF_CANCELLATION)},t.select=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];0===arguments.length?e=r.ident:((0,r.check)(e,r.is.notUndef,"select(selector,[...]): argument selector is undefined"),(0,r.check)(e,r.is.func,"select(selector,[...]): argument "+e+" is not a function"));return j(h,{selector:e,args:n})},t.actionChannel=function(e,t){(0,r.check)(e,r.is.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&((0,r.check)(t,r.is.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),(0,r.check)(t,r.is.buffer,"actionChannel(pattern, buffer): argument "+t+" is not a valid buffer"));return j(y,{pattern:e,buffer:t})},t.cancelled=function(){return j(b,{})},t.flush=function(e){return(0,r.check)(e,r.is.channel,"flush(channel): argument "+e+" is not valid channel"),j(g,e)},t.getContext=function(e){return(0,r.check)(e,r.is.string,"getContext(prop): argument "+e+" is not a string"),j(m,e)},t.setContext=function(e){return(0,r.check)(e,r.is.object,(0,r.createSetContextWarning)(null,e)),j(_,e)},t.takeEvery=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),u=2;u<n;u++)r[u-2]=arguments[u];return C.apply(void 0,[o.takeEveryHelper,e,t].concat(r))},t.takeLatest=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),u=2;u<n;u++)r[u-2]=arguments[u];return C.apply(void 0,[o.takeLatestHelper,e,t].concat(r))},t.throttle=function(e,t,n){for(var r=arguments.length,u=Array(r>3?r-3:0),i=3;i<r;i++)u[i-3]=arguments[i];return C.apply(void 0,[o.throttleHelper,e,t,n].concat(u))};var r=n(1),o=n(23),u=(0,r.sym)("IO"),i="TAKE",a="PUT",c="ALL",f="RACE",l="CALL",s="CPS",d="FORK",p="JOIN",v="CANCEL",h="SELECT",y="ACTION_CHANNEL",b="CANCELLED",g="FLUSH",m="GET_CONTEXT",_="SET_CONTEXT",O="\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)",j=function(e,t){var n;return(n={})[u]=!0,n[e]=t,n},k=t.detach=function(e){return(0,r.check)(x.fork(e),r.is.object,"detach(eff): argument must be a fork effect"),e[d].detached=!0,e};function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&(0,r.check)(arguments[0],r.is.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),r.is.pattern(e))return j(i,{pattern:e});if(r.is.channel(e))return j(i,{channel:e});throw new Error("take(patternOrChannel): argument "+String(e)+" is not valid channel or a valid pattern")}w.maybe=function(){var e=w.apply(void 0,arguments);return e[i].maybe=!0,e};t.takem=(0,r.deprecate)(w.maybe,(0,r.updateIncentive)("takem","take.maybe"));function S(e,t){return arguments.length>1?((0,r.check)(e,r.is.notUndef,"put(channel, action): argument channel is undefined"),(0,r.check)(e,r.is.channel,"put(channel, action): argument "+e+" is not a valid channel"),(0,r.check)(t,r.is.notUndef,"put(channel, action): argument action is undefined")):((0,r.check)(e,r.is.notUndef,"put(action): argument action is undefined"),t=e,e=null),j(a,{channel:e,action:t})}function P(e){return j(c,e)}function E(e,t,n){(0,r.check)(t,r.is.notUndef,e+": argument fn is undefined");var o=null;if(r.is.array(t)){var u=t;o=u[0],t=u[1]}else if(t.fn){var i=t;o=i.context,t=i.fn}return o&&r.is.string(t)&&r.is.func(o[t])&&(t=o[t]),(0,r.check)(t,r.is.func,e+": argument "+t+" is not a function"),{context:o,fn:t,args:n}}function C(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return j(d,E("fork",e,n))}S.resolve=function(){var e=S.apply(void 0,arguments);return e[a].resolve=!0,e},S.sync=(0,r.deprecate)(S.resolve,(0,r.updateIncentive)("put.sync","put.resolve"));var A=function(e){return function(t){return t&&t[u]&&t[e]}},x=t.asEffect={take:A(i),put:A(a),all:A(c),race:A(f),call:A(l),cps:A(s),fork:A(d),join:A(p),cancel:A(v),select:A(h),actionChannel:A(y),cancelled:A(b),flush:A(g),getContext:A(m),setContext:A(_)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNDEFINED_INPUT_ERROR=t.INVALID_BUFFER=t.isEnd=t.END=void 0,t.emitter=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){return(0,r.remove)(e,t)}},emit:function(t){for(var n=e.slice(),r=0,o=n.length;r<o;r++)n[r](t)}}},t.channel=s,t.eventChannel=d,t.stdChannel=function(e){var t=d(function(t){return e(function(e){e[r.SAGA_ACTION]?t(e):(0,u.asap)(function(){return t(e)})})});return i({},t,{take:function(e,n){arguments.length>1&&((0,r.check)(n,r.is.func,"channel.take's matcher argument must be a function"),e[r.MATCH]=n),t.take(e)}})};var r=n(1),o=n(8),u=n(21),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},a=t.END={type:"@@redux-saga/CHANNEL_END"},c=t.isEnd=function(e){return e&&"@@redux-saga/CHANNEL_END"===e.type};var f=t.INVALID_BUFFER="invalid buffer passed to channel factory function",l=t.UNDEFINED_INPUT_ERROR="Saga was provided with an undefined action";function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.buffers.fixed(),t=!1,n=[];function u(){if(t&&n.length)throw(0,r.internalErr)("Cannot have a closed channel with pending takers");if(n.length&&!e.isEmpty())throw(0,r.internalErr)("Cannot have pending takers with non empty buffer")}return(0,r.check)(e,r.is.buffer,f),{take:function(o){u(),(0,r.check)(o,r.is.func,"channel.take's callback must be a function"),t&&e.isEmpty()?o(a):e.isEmpty()?(n.push(o),o.cancel=function(){return(0,r.remove)(n,o)}):o(e.take())},put:function(o){if(u(),(0,r.check)(o,r.is.notUndef,l),!t){if(!n.length)return e.put(o);for(var i=0;i<n.length;i++){var a=n[i];if(!a[r.MATCH]||a[r.MATCH](o))return n.splice(i,1),a(o)}}},flush:function(n){u(),(0,r.check)(n,r.is.func,"channel.flush' callback must be a function"),t&&e.isEmpty()?n(a):n(e.flush())},close:function(){if(u(),!t&&(t=!0,n.length)){var e=n;n=[];for(var r=0,o=e.length;r<o;r++)e[r](a)}},get __takers__(){return n},get __closed__(){return t}}}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.buffers.none(),n=arguments[2];arguments.length>2&&(0,r.check)(n,r.is.func,"Invalid match function passed to eventChannel");var u=s(t),i=function(){u.__closed__||(a&&a(),u.close())},a=e(function(e){c(e)?i():n&&!n(e)||u.put(e)});if(u.__closed__&&a(),!r.is.func(a))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:u.take,flush:u.flush,close:i}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.qEnd=void 0,t.safeName=function(e){return r.is.channel(e)?"channel":Array.isArray(e)?String(e.map(function(e){return String(e)})):String(e)},t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",i=void 0,a=t;function c(t,n){if(a===u)return o;if(n)throw a=u,n;i&&i(t);var r=e[a](),c=r[0],f=r[1],l=r[2];return i=l,(a=c)===u?o:f}return(0,r.makeIterator)(c,function(e){return c(null,e)},n,!0)};var r=n(1),o={done:!0,value:void 0},u=t.qEnd={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(9),u=(r=o)&&r.__esModule?r:{default:r};var i=new Map;t.default=function(e){if(!e)throw new Error("Tried to make undefined selector work with global state – please make sure your selector module is exported correctly");if(i.has(e))return i.get(e);if(e.requiresGlobalState)return e;var t=function(t){if(!e.hasOwnProperty("globalStateContext"))throw new Error("This selector was not registered for use with global state: \n\n"+e+' \n\nDid you forget to call the "registerSelectorForUseWithGlobalState" with this reducer?\n');var n=e.globalStateContext.path;return(0,u.default)(n,e)(t)};return t.requiresGlobalState=!0,i.set(e,t),t}},function(e,t){e.exports=require("prop-types")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),u=n(18),i=(r=u)&&r.__esModule?r:{default:r};t.default=function(e){return(0,o.mapProps)(function(t){return(0,i.default)(t,e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffers=t.BUFFER_OVERFLOW=void 0;var r=n(1),o=t.BUFFER_OVERFLOW="Channel's Buffer overflow!",u=1,i=3,a=4,c={isEmpty:r.kTrue,put:r.noop,take:r.noop};function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments[1],n=new Array(e),r=0,c=0,f=0,l=function(t){n[c]=t,c=(c+1)%e,r++},s=function(){if(0!=r){var t=n[f];return n[f]=null,r--,f=(f+1)%e,t}},d=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){if(r<e)l(s);else{var p=void 0;switch(t){case u:throw new Error(o);case i:n[c]=s,f=c=(c+1)%e;break;case a:p=2*e,n=d(),r=n.length,c=n.length,f=0,n.length=p,e=p,l(s)}}},take:s,flush:d}}t.buffers={none:function(){return c},fixed:function(e){return f(e,u)},dropping:function(e){return f(e,2)},sliding:function(e){return f(e,i)},expanding:function(e){return f(e,a)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!e.length)return t;var n=e.split(".");return function(r){var o=r;return n.forEach(function(t){if(!o.hasOwnProperty(t))throw Error("Invalid state path provided: "+e+", got stuck with '"+t+"' on "+JSON.stringify(o)+" with "+JSON.stringify(r)+".");o=o[t]}),t(o)}}},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35);Object.defineProperty(t,"bootstrap",{enumerable:!0,get:function(){return p(r).default}});var o=n(34);Object.defineProperty(t,"callHandlerOnResize",{enumerable:!0,get:function(){return p(o).default}});var u=n(32);Object.defineProperty(t,"connectSelectors",{enumerable:!0,get:function(){return p(u).default}});var i=n(7);Object.defineProperty(t,"omitProps",{enumerable:!0,get:function(){return p(i).default}});var a=n(17);Object.defineProperty(t,"onLocationChanged",{enumerable:!0,get:function(){return p(a).default}});var c=n(16);Object.defineProperty(t,"provideContext",{enumerable:!0,get:function(){return p(c).default}});var f=n(15);Object.defineProperty(t,"subscribeToContext",{enumerable:!0,get:function(){return p(f).default}});var l=n(14);Object.defineProperty(t,"withRefs",{enumerable:!0,get:function(){return p(l).default}});var s=n(13);Object.defineProperty(t,"withUpdatableState",{enumerable:!0,get:function(){return p(s).default}});var d=n(12);function p(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"withWindowSize",{enumerable:!0,get:function(){return p(d).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(11);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debounce:20};return(0,r.compose)((0,r.withState)("windowSize","setWindowSize",{width:0,height:0}),(0,o.callHandlerOnResize)("setWindowSize",e),(0,o.omitProps)(["setWindowSize"]))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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};t.default=function(e,t,n,u){return(0,o.compose)((0,o.withState)(e,t,u),(0,o.withPropsOnChange)([e],function(o){var u=o[e],i=o[t];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},n,function(e,t){return i(r({},u,e),t)})}))};var o=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(){var e={},t=function(t){return function(n){return e[t]=n}};return(0,r.withPropsOnChange)([],function(){return{refs:e,setRef:t}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},o=a(n(6)),u=n(0),i=a(n(7));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){return(0,u.compose)((0,u.getContext)((n={},a=e,c=o.default.shape({subscribe:o.default.func,data:o.default.shape(t)}),a in n?Object.defineProperty(n,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):n[a]=c,n)),(0,u.lifecycle)({componentWillMount:function(){var t=this,n=this.props[e];this.unsubscribeFromSlidableContext=n.subscribe(function(){return t.forceUpdate()})},componentWillUnmount:function(){this.unsubscribeFromSlidableContext()}}),(0,u.withPropsOnChange)([e],function(t){return r({},t[e].data)}),(0,i.default)([e]));var n,a,c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(0,o.compose)((0,o.withPropsOnChange)([],function(){var e=new Set;return{subscriptions:e,subscribe:function(t){return e.add(t),function(){e.delete(t)}}}}),(0,o.withContext)(a({},e,i.default.shape({subscribe:i.default.func,data:i.default.shape(t)})),function(t){var r=n(t),o=t.subscribe;return a({},e,{subscribe:o,data:r})}),(0,o.withPropsOnChange)(function(e,t){var r=n(e),u=n(t);return!(0,o.shallowEqual)(r,u)},function(e){var t=e.subscriptions;t.forEach(function(e){return e()})}))};var r,o=n(0),u=n(6),i=(r=u)&&r.__esModule?r:{default:r};function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){return(0,r.lifecycle)({componentWillReceiveProps:function(t){var n=this.props.location,r=t.location;(!n||""+r.pathname+r.search!=""+n.pathname+n.search)&&e(t)}})}},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=200,o="__lodash_hash_undefined__",u=1/0,i=9007199254740991,a="[object Arguments]",c="[object Function]",f="[object GeneratorFunction]",l="[object Symbol]",s=/^\[object .+?Constructor\]$/,d=/^(?:0|[1-9]\d*)$/,p="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,h=p||v||Function("return this")();function y(e,t){return!!(e?e.length:0)&&function(e,t,n){if(t!=t)return function(e,t,n,r){var o=e.length,u=n+(r?1:-1);for(;r?u--:++u<o;)if(t(e[u],u,e))return u;return-1}(e,_,n);var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function b(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)if(n(t,e[r]))return!0;return!1}function g(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function m(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function _(e){return e!=e}function O(e,t){return e.has(t)}function j(e,t){return function(n){return e(t(n))}}var k,w=Array.prototype,S=Function.prototype,P=Object.prototype,E=h["__core-js_shared__"],C=(k=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+k:"",A=S.toString,x=P.hasOwnProperty,M=P.toString,T=RegExp("^"+A.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=h.Symbol,L=j(Object.getPrototypeOf,Object),q=P.propertyIsEnumerable,F=w.splice,R=N?N.isConcatSpreadable:void 0,I=Object.getOwnPropertySymbols,U=Math.max,H=Y(h,"Map"),W=Y(Object,"create");function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function z(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function G(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $(e){var t=-1,n=e?e.length:0;for(this.__data__=new G;++t<n;)this.add(e[t])}function B(e,t){var n=ue(e)||oe(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var u in e)!t&&!x.call(e,u)||o&&("length"==u||ne(u,r))||n.push(u);return n}function K(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function V(e){return!(!ce(e)||C&&C in e)&&(ae(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?T:s).test(function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function J(e){if(!ce(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t,n,r,o=(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||P,t===r),u=[];for(var i in e)("constructor"!=i||!o&&x.call(e,i))&&u.push(i);return u}function X(e){return function(e,t,n){var r=t(e);return ue(e)?r:m(r,n(e))}(e,le,ee)}function Q(e,t){var r,o,u=e.__data__;return("string"==(o=void 0===(r=t)?"undefined":n(r))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?u["string"==typeof t?"string":"hash"]:u.map}function Y(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return V(n)?n:void 0}D.prototype.clear=function(){this.__data__=W?W(null):{}},D.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},D.prototype.get=function(e){var t=this.__data__;if(W){var n=t[e];return n===o?void 0:n}return x.call(t,e)?t[e]:void 0},D.prototype.has=function(e){var t=this.__data__;return W?void 0!==t[e]:x.call(t,e)},D.prototype.set=function(e,t){return this.__data__[e]=W&&void 0===t?o:t,this},z.prototype.clear=function(){this.__data__=[]},z.prototype.delete=function(e){var t=this.__data__,n=K(t,e);return!(n<0||(n==t.length-1?t.pop():F.call(t,n,1),0))},z.prototype.get=function(e){var t=this.__data__,n=K(t,e);return n<0?void 0:t[n][1]},z.prototype.has=function(e){return K(this.__data__,e)>-1},z.prototype.set=function(e,t){var n=this.__data__,r=K(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},G.prototype.clear=function(){this.__data__={hash:new D,map:new(H||z),string:new D}},G.prototype.delete=function(e){return Q(this,e).delete(e)},G.prototype.get=function(e){return Q(this,e).get(e)},G.prototype.has=function(e){return Q(this,e).has(e)},G.prototype.set=function(e,t){return Q(this,e).set(e,t),this},$.prototype.add=$.prototype.push=function(e){return this.__data__.set(e,o),this},$.prototype.has=function(e){return this.__data__.has(e)};var Z=I?j(I,Object):ve,ee=I?function(e){for(var t=[];e;)m(t,Z(e)),e=L(e);return t}:ve;function te(e){return ue(e)||oe(e)||!!(R&&e&&e[R])}function ne(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||d.test(e))&&e>-1&&e%1==0&&e<t}function re(e){if("string"==typeof e||function(e){return"symbol"==(void 0===e?"undefined":n(e))||fe(e)&&M.call(e)==l}(e))return e;var t=e+"";return"0"==t&&1/e==-u?"-0":t}function oe(e){return function(e){return fe(e)&&ie(e)}(e)&&x.call(e,"callee")&&(!q.call(e,"callee")||M.call(e)==a)}var ue=Array.isArray;function ie(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!ae(e)}function ae(e){var t=ce(e)?M.call(e):"";return t==c||t==f}function ce(e){var t=void 0===e?"undefined":n(e);return!!e&&("object"==t||"function"==t)}function fe(e){return!!e&&"object"==(void 0===e?"undefined":n(e))}function le(e){return ie(e)?B(e,!0):J(e)}var se,de,pe=(se=function(e,t){return null==e?{}:(t=g(function e(t,n,r,o,u){var i=-1,a=t.length;for(r||(r=te),u||(u=[]);++i<a;){var c=t[i];n>0&&r(c)?n>1?e(c,n-1,r,o,u):m(u,c):o||(u[u.length]=c)}return u}(t,1),re),function(e,t){return function(e,t,n){for(var r=-1,o=t.length,u={};++r<o;){var i=t[r],a=e[i];n(a,i)&&(u[i]=a)}return u}(e=Object(e),t,function(t,n){return n in e})}(e,function(e,t,n,o){var u,i=-1,a=y,c=!0,f=e.length,l=[],s=t.length;if(!f)return l;n&&(t=g(t,(u=n,function(e){return u(e)}))),o?(a=b,c=!1):t.length>=r&&(a=O,c=!1,t=new $(t));e:for(;++i<f;){var d=e[i],p=n?n(d):d;if(d=o||0!==d?d:0,c&&p==p){for(var v=s;v--;)if(t[v]===p)continue e;l.push(d)}else a(t,p,o)||l.push(d)}return l}(X(e),t)))},de=U(void 0===de?se.length-1:de,0),function(){for(var e=arguments,t=-1,n=U(e.length-de,0),r=Array(n);++t<n;)r[t]=e[de+t];t=-1;for(var o=Array(de+1);++t<de;)o[t]=e[t];return o[de]=r,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(se,this,o)});function ve(){return[]}e.exports=pe}).call(this,n(10))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=arguments.length,l=Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var d=void 0,p=void 0,v={done:!1,value:(0,i.actionChannel)(t,c.buffers.sliding(1))},h={done:!1,value:(0,i.call)(f.delay,e)},y=function(e){return d=e},b=function(e){return p=e};return(0,u.default)({q1:function(){return["q2",v,b]},q2:function(){return["q3",{done:!1,value:(0,i.take)(p)},y]},q3:function(){return d===a.END?[o.qEnd]:["q4",(e=d,{done:!1,value:i.fork.apply(void 0,[n].concat(l,[e]))})];var e},q4:function(){return["q2",h]}},"q1","throttle("+(0,o.safeName)(t)+", "+n.name+")")};var r,o=n(4),u=(r=o)&&r.__esModule?r:{default:r},i=n(2),a=n(3),c=n(8),f=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var f={done:!1,value:(0,i.take)(e)},l=function(e){return{done:!1,value:i.fork.apply(void 0,[t].concat(r,[e]))}},s=void 0,d=void 0,p=function(e){return s=e},v=function(e){return d=e};return(0,u.default)({q1:function(){return["q2",f,v]},q2:function(){return d===a.END?[o.qEnd]:s?["q3",function(e){return{done:!1,value:(0,i.cancel)(e)}}(s)]:["q1",l(d),p]},q3:function(){return["q1",l(d),p]}},"q1","takeLatest("+(0,o.safeName)(e)+", "+t.name+")")};var r,o=n(4),u=(r=o)&&r.__esModule?r:{default:r},i=n(2),a=n(3)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=function(e){r.push(e),o||(i(),c())},t.suspend=i,t.flush=c;var r=[],o=0;function u(e){try{i(),e()}finally{a()}}function i(){o++}function a(){o--}function c(){a();for(var e=void 0;!o&&void 0!==(e=r.shift());)u(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var f={done:!1,value:(0,i.take)(e)},l=void 0,s=function(e){return l=e};return(0,u.default)({q1:function(){return["q2",f,s]},q2:function(){return l===a.END?[o.qEnd]:["q1",(e=l,{done:!1,value:i.fork.apply(void 0,[t].concat(r,[e]))})];var e}},"q1","takeEvery("+(0,o.safeName)(e)+", "+t.name+")")};var r,o=n(4),u=(r=o)&&r.__esModule?r:{default:r},i=n(2),a=n(3)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleHelper=t.takeLatestHelper=t.takeEveryHelper=t.throttle=t.takeLatest=t.takeEvery=void 0;var r=a(n(22)),o=a(n(20)),u=a(n(19)),i=n(1);function a(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return"import { "+e+" } from 'redux-saga' has been deprecated in favor of import { "+e+" } from 'redux-saga/effects'.\nThe latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.\nTherefore yield "+e+" will return task descriptor to your saga and execute next lines of code."},f=(0,i.deprecate)(r.default,c("takeEvery")),l=(0,i.deprecate)(o.default,c("takeLatest")),s=(0,i.deprecate)(u.default,c("throttle"));t.takeEvery=f,t.takeLatest=l,t.throttle=s,t.takeEveryHelper=r.default,t.takeLatestHelper=o.default,t.throttleHelper=u.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return r.take}}),Object.defineProperty(t,"takem",{enumerable:!0,get:function(){return r.takem}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return r.put}}),Object.defineProperty(t,"all",{enumerable:!0,get:function(){return r.all}}),Object.defineProperty(t,"race",{enumerable:!0,get:function(){return r.race}}),Object.defineProperty(t,"call",{enumerable:!0,get:function(){return r.call}}),Object.defineProperty(t,"apply",{enumerable:!0,get:function(){return r.apply}}),Object.defineProperty(t,"cps",{enumerable:!0,get:function(){return r.cps}}),Object.defineProperty(t,"fork",{enumerable:!0,get:function(){return r.fork}}),Object.defineProperty(t,"spawn",{enumerable:!0,get:function(){return r.spawn}}),Object.defineProperty(t,"join",{enumerable:!0,get:function(){return r.join}}),Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return r.cancel}}),Object.defineProperty(t,"select",{enumerable:!0,get:function(){return r.select}}),Object.defineProperty(t,"actionChannel",{enumerable:!0,get:function(){return r.actionChannel}}),Object.defineProperty(t,"cancelled",{enumerable:!0,get:function(){return r.cancelled}}),Object.defineProperty(t,"flush",{enumerable:!0,get:function(){return r.flush}}),Object.defineProperty(t,"getContext",{enumerable:!0,get:function(){return r.getContext}}),Object.defineProperty(t,"setContext",{enumerable:!0,get:function(){return r.setContext}}),Object.defineProperty(t,"takeEvery",{enumerable:!0,get:function(){return r.takeEvery}}),Object.defineProperty(t,"takeLatest",{enumerable:!0,get:function(){return r.takeLatest}}),Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return r.throttle}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(24),u=n(5),i=(r=u)&&r.__esModule?r:{default:r};t.default=function(e){return(0,o.select)((0,i.default)(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){if(!function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e}(e)||"[object Object]"!==function(e){if(null===e)return void 0===e?"[object Undefined]":"[object Null]";if(!(a&&a in Object(e)))return i.call(e);var t=u.call(e,a),n=e[a],r=!1;try{e[a]=void 0,r=!0}catch(e){}var o=i.call(e);r&&(t?e[a]=n:delete e[a]);return o}(e))return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)===f};var o=Object.prototype,u=o.hasOwnProperty,i=o.toString,a="undefined"!=typeof Symbol?Symbol.toStringTag:void 0;var c=Function.prototype.toString,f=c.call(Object)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(26),u=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t){(0,u.default)(t)?Object.keys(t).forEach(function(n){return t[n].globalStateContext={path:e,key:n}}):t&&t.forEach(function(t){return t.globalStateContext={path:e}})}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){return e===t}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,n=null,r=null;return function(){return function(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];var a=0,c=o.pop(),f=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return void 0===e?"undefined":r(e)}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}(o),l=e.apply(void 0,[function(){return a++,c.apply(null,arguments)}].concat(n)),s=u(function(){for(var e=[],t=f.length,n=0;n<t;n++)e.push(f[n].apply(null,arguments));return l.apply(null,e)});return s.resultFunc=c,s.recomputations=function(){return a},s.resetRecomputations=function(){return a=0},s}}t.__esModule=!0,t.defaultMemoize=u,t.createSelectorCreator=i,t.createStructuredSelector=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;if("object"!==(void 0===e?"undefined":r(e)))throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+(void 0===e?"undefined":r(e)));var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})};var a=t.createSelector=i(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),u=n(5),i=(r=u)&&r.__esModule?r:{default:r};t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=t,u=0;u<t.length-1;u++){if(void 0===t[u])throw new Error("WTF");r[u]=(0,i.default)(t[u])}var a=function(e){return o.createSelector.apply(null,r)(e)};return a.requiresGlobalState=!0,a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);Object.defineProperty(t,"createModularSelector",{enumerable:!0,get:function(){return c(r).default}});var o=n(5);Object.defineProperty(t,"makeWorkWithGlobalState",{enumerable:!0,get:function(){return c(o).default}});var u=n(9);Object.defineProperty(t,"rebaseSelector",{enumerable:!0,get:function(){return c(u).default}});var i=n(27);Object.defineProperty(t,"registerSelectorsForUseWithGlobalState",{enumerable:!0,get:function(){return c(i).default}});var a=n(25);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"selectModular",{enumerable:!0,get:function(){return c(a).default}})},function(e,t){e.exports=require("react-redux")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=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},u=n(31),i=n(30);t.default=function(e){return(0,u.connect)(function(t){return function e(t,n){return Object.keys(t).reduce(function(u,a){return o({},u,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},a,"object"===r(t[a])?e(t[a],n):(0,i.makeWorkWithGlobalState)(t[a])(n)))},{})}(e,t)})}},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r="Expected a function",o=NaN,u="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,l=parseInt,s="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t,d="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,p=s||d||Function("return this")(),v=Object.prototype.toString,h=Math.max,y=Math.min,b=function(){return p.Date.now()};function g(e){var t=void 0===e?"undefined":n(e);return!!e&&("object"==t||"function"==t)}function m(e){return"symbol"==(void 0===e?"undefined":n(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":n(e))}(e)&&v.call(e)==u}function _(e){if("number"==typeof e)return e;if(m(e))return o;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=c.test(e);return n||f.test(e)?l(e.slice(2),n?2:8):a.test(e)?o:+e}e.exports=function(e,t,n){var o,u,i,a,c,f,l=0,s=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(r);function v(t){var n=o,r=u;return o=u=void 0,l=t,a=e.apply(r,n)}function m(e){var n=e-f;return void 0===f||n>=t||n<0||d&&e-l>=i}function O(){var e=b();if(m(e))return j(e);c=setTimeout(O,function(e){var n=t-(e-f);return d?y(n,i-(e-l)):n}(e))}function j(e){return c=void 0,p&&o?v(e):(o=u=void 0,a)}function k(){var e=b(),n=m(e);if(o=arguments,u=this,f=e,n){if(void 0===c)return function(e){return l=e,c=setTimeout(O,t),s?v(e):a}(f);if(d)return c=setTimeout(O,t),v(f)}return void 0===c&&(c=setTimeout(O,t)),a}return t=_(t)||0,g(n)&&(s=!!n.leading,i=(d="maxWait"in n)?h(_(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,o=f=u=c=void 0},k.flush=function(){return void 0===c?a:j(b())},k}}).call(this,n(10))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),u=n(33),i=(r=u)&&r.__esModule?r:{default:r};t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{debounce:20};return(0,o.compose)((0,o.withHandlers)({onResizeHandler:function(n){return(0,i.default)(function(){(0,n[e])({width:window.innerWidth,height:window.innerHeight})},t.debounce)}}),(0,o.lifecycle)({componentDidMount:function(){var e=this.props.onResizeHandler;window.addEventListener("resize",e),e()},componentWillUnmount:function(){var e=this.props.onResizeHandler;window.removeEventListener("resize",e)}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){return(0,r.lifecycle)({componentWillMount:function(){e(this.props)}})}}]); | ||
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){e.exports=require("recompose")},function(e,t){e.exports=require("prop-types")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),u=n(11),i=(r=u)&&r.__esModule?r:{default:r};t.default=function(e){return(0,o.mapProps)(function(t){return(0,i.default)(t,e)})}},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18);Object.defineProperty(t,"bootstrap",{enumerable:!0,get:function(){return p(r).default}});var o=n(17);Object.defineProperty(t,"callHandlerOnResize",{enumerable:!0,get:function(){return p(o).default}});var u=n(15);Object.defineProperty(t,"connectSelectors",{enumerable:!0,get:function(){return p(u).default}});var i=n(2);Object.defineProperty(t,"omitProps",{enumerable:!0,get:function(){return p(i).default}});var a=n(10);Object.defineProperty(t,"onLocationChanged",{enumerable:!0,get:function(){return p(a).default}});var c=n(9);Object.defineProperty(t,"provideContext",{enumerable:!0,get:function(){return p(c).default}});var f=n(8);Object.defineProperty(t,"subscribeToContext",{enumerable:!0,get:function(){return p(f).default}});var l=n(7);Object.defineProperty(t,"withRefs",{enumerable:!0,get:function(){return p(l).default}});var s=n(6);Object.defineProperty(t,"withUpdatableState",{enumerable:!0,get:function(){return p(s).default}});var d=n(5);function p(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"withWindowSize",{enumerable:!0,get:function(){return p(d).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(4);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debounce:20};return(0,r.compose)((0,r.withState)("windowSize","setWindowSize",{width:0,height:0}),(0,o.callHandlerOnResize)("setWindowSize",e),(0,o.omitProps)(["setWindowSize"]))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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};t.default=function(e,t,n,u){return(0,o.compose)((0,o.withState)(e,t,u),(0,o.withPropsOnChange)([e],function(o){var u=o[e],i=o[t];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},n,function(e,t){return i(r({},u,e),t)})}))};var o=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(){var e={},t=function(t){return function(n){return e[t]=n}};return(0,r.withPropsOnChange)([],function(){return{refs:e,setRef:t}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},o=a(n(1)),u=n(0),i=a(n(2));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){return(0,u.compose)((0,u.getContext)((n={},a=e,c=o.default.shape({subscribe:o.default.func,data:o.default.shape(t)}),a in n?Object.defineProperty(n,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):n[a]=c,n)),(0,u.lifecycle)({componentWillMount:function(){var t=this,n=this.props[e];this.unsubscribeFromSlidableContext=n.subscribe(function(){return t.forceUpdate()})},componentWillUnmount:function(){this.unsubscribeFromSlidableContext()}}),(0,u.withPropsOnChange)([e],function(t){return r({},t[e].data)}),(0,i.default)([e]));var n,a,c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(0,o.compose)((0,o.withPropsOnChange)([],function(){var e=new Set;return{subscriptions:e,subscribe:function(t){return e.add(t),function(){e.delete(t)}}}}),(0,o.withContext)(a({},e,i.default.shape({subscribe:i.default.func,data:i.default.shape(t)})),function(t){var r=n(t),o=t.subscribe;return a({},e,{subscribe:o,data:r})}),(0,o.withPropsOnChange)(function(e,t){var r=n(e),u=n(t);return!(0,o.shallowEqual)(r,u)},function(e){var t=e.subscriptions;t.forEach(function(e){return e()})}))};var r,o=n(0),u=n(1),i=(r=u)&&r.__esModule?r:{default:r};function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){return(0,r.lifecycle)({componentWillReceiveProps:function(t){var n=this.props.location,r=t.location;(!n||""+r.pathname+r.search!=""+n.pathname+n.search)&&e(t)}})}},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=200,o="__lodash_hash_undefined__",u=1/0,i=9007199254740991,a="[object Arguments]",c="[object Function]",f="[object GeneratorFunction]",l="[object Symbol]",s=/^\[object .+?Constructor\]$/,d=/^(?:0|[1-9]\d*)$/,p="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,y=p||v||Function("return this")();function h(e,t){return!!(e?e.length:0)&&function(e,t,n){if(t!=t)return function(e,t,n,r){var o=e.length,u=n+(r?1:-1);for(;r?u--:++u<o;)if(t(e[u],u,e))return u;return-1}(e,_,n);var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function b(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)if(n(t,e[r]))return!0;return!1}function g(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function m(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function _(e){return e!=e}function O(e,t){return e.has(t)}function j(e,t){return function(n){return e(t(n))}}var k,S=Array.prototype,w=Function.prototype,P=Object.prototype,E=y["__core-js_shared__"],C=(k=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+k:"",x=w.toString,A=P.hasOwnProperty,M=P.toString,T=RegExp("^"+x.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=y.Symbol,L=j(Object.getPrototypeOf,Object),q=P.propertyIsEnumerable,F=S.splice,R=N?N.isConcatSpreadable:void 0,I=Object.getOwnPropertySymbols,U=Math.max,H=Y(y,"Map"),W=Y(Object,"create");function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function z(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function G(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $(e){var t=-1,n=e?e.length:0;for(this.__data__=new G;++t<n;)this.add(e[t])}function B(e,t){var n=ue(e)||oe(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var u in e)!t&&!A.call(e,u)||o&&("length"==u||ne(u,r))||n.push(u);return n}function K(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function V(e){return!(!ce(e)||C&&C in e)&&(ae(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?T:s).test(function(e){if(null!=e){try{return x.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function J(e){if(!ce(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t,n,r,o=(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||P,t===r),u=[];for(var i in e)("constructor"!=i||!o&&A.call(e,i))&&u.push(i);return u}function X(e){return function(e,t,n){var r=t(e);return ue(e)?r:m(r,n(e))}(e,le,ee)}function Q(e,t){var r,o,u=e.__data__;return("string"==(o=void 0===(r=t)?"undefined":n(r))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?u["string"==typeof t?"string":"hash"]:u.map}function Y(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return V(n)?n:void 0}D.prototype.clear=function(){this.__data__=W?W(null):{}},D.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},D.prototype.get=function(e){var t=this.__data__;if(W){var n=t[e];return n===o?void 0:n}return A.call(t,e)?t[e]:void 0},D.prototype.has=function(e){var t=this.__data__;return W?void 0!==t[e]:A.call(t,e)},D.prototype.set=function(e,t){return this.__data__[e]=W&&void 0===t?o:t,this},z.prototype.clear=function(){this.__data__=[]},z.prototype.delete=function(e){var t=this.__data__,n=K(t,e);return!(n<0||(n==t.length-1?t.pop():F.call(t,n,1),0))},z.prototype.get=function(e){var t=this.__data__,n=K(t,e);return n<0?void 0:t[n][1]},z.prototype.has=function(e){return K(this.__data__,e)>-1},z.prototype.set=function(e,t){var n=this.__data__,r=K(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},G.prototype.clear=function(){this.__data__={hash:new D,map:new(H||z),string:new D}},G.prototype.delete=function(e){return Q(this,e).delete(e)},G.prototype.get=function(e){return Q(this,e).get(e)},G.prototype.has=function(e){return Q(this,e).has(e)},G.prototype.set=function(e,t){return Q(this,e).set(e,t),this},$.prototype.add=$.prototype.push=function(e){return this.__data__.set(e,o),this},$.prototype.has=function(e){return this.__data__.has(e)};var Z=I?j(I,Object):ve,ee=I?function(e){for(var t=[];e;)m(t,Z(e)),e=L(e);return t}:ve;function te(e){return ue(e)||oe(e)||!!(R&&e&&e[R])}function ne(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||d.test(e))&&e>-1&&e%1==0&&e<t}function re(e){if("string"==typeof e||function(e){return"symbol"==(void 0===e?"undefined":n(e))||fe(e)&&M.call(e)==l}(e))return e;var t=e+"";return"0"==t&&1/e==-u?"-0":t}function oe(e){return function(e){return fe(e)&&ie(e)}(e)&&A.call(e,"callee")&&(!q.call(e,"callee")||M.call(e)==a)}var ue=Array.isArray;function ie(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!ae(e)}function ae(e){var t=ce(e)?M.call(e):"";return t==c||t==f}function ce(e){var t=void 0===e?"undefined":n(e);return!!e&&("object"==t||"function"==t)}function fe(e){return!!e&&"object"==(void 0===e?"undefined":n(e))}function le(e){return ie(e)?B(e,!0):J(e)}var se,de,pe=(se=function(e,t){return null==e?{}:(t=g(function e(t,n,r,o,u){var i=-1,a=t.length;for(r||(r=te),u||(u=[]);++i<a;){var c=t[i];n>0&&r(c)?n>1?e(c,n-1,r,o,u):m(u,c):o||(u[u.length]=c)}return u}(t,1),re),function(e,t){return function(e,t,n){for(var r=-1,o=t.length,u={};++r<o;){var i=t[r],a=e[i];n(a,i)&&(u[i]=a)}return u}(e=Object(e),t,function(t,n){return n in e})}(e,function(e,t,n,o){var u,i=-1,a=h,c=!0,f=e.length,l=[],s=t.length;if(!f)return l;n&&(t=g(t,(u=n,function(e){return u(e)}))),o?(a=b,c=!1):t.length>=r&&(a=O,c=!1,t=new $(t));e:for(;++i<f;){var d=e[i],p=n?n(d):d;if(d=o||0!==d?d:0,c&&p==p){for(var v=s;v--;)if(t[v]===p)continue e;l.push(d)}else a(t,p,o)||l.push(d)}return l}(X(e),t)))},de=U(void 0===de?se.length-1:de,0),function(){for(var e=arguments,t=-1,n=U(e.length-de,0),r=Array(n);++t<n;)r[t]=e[de+t];t=-1;for(var o=Array(de+1);++t<de;)o[t]=e[t];return o[de]=r,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(se,this,o)});function ve(){return[]}e.exports=pe}).call(this,n(3))},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){return e===t}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,n=null,r=null;return function(){return function(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];var a=0,c=o.pop(),f=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return void 0===e?"undefined":r(e)}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}(o),l=e.apply(void 0,[function(){return a++,c.apply(null,arguments)}].concat(n)),s=u(function(){for(var e=[],t=f.length,n=0;n<t;n++)e.push(f[n].apply(null,arguments));return l.apply(null,e)});return s.resultFunc=c,s.recomputations=function(){return a},s.resetRecomputations=function(){return a=0},s}}t.__esModule=!0,t.defaultMemoize=u,t.createSelectorCreator=i,t.createStructuredSelector=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;if("object"!==(void 0===e?"undefined":r(e)))throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+(void 0===e?"undefined":r(e)));var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})};var a=t.createSelector=i(u)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)};t.check=function(e,t,n){if(!t(e))throw _("error","uncaught at check",n),new Error(n)},t.hasOwn=v,t.remove=function(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)},t.deferred=h,t.arrayOfDeffered=function(e){for(var t=[],n=0;n<e;n++)t.push(h());return t},t.delay=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise(function(r){n=setTimeout(function(){return r(t)},e)});return r[l]=function(){return clearTimeout(n)},r},t.createMockTask=function(){var e,t=!0,n=void 0,r=void 0;return(e={})[c]=!0,e.isRunning=function(){return t},e.result=function(){return n},e.error=function(){return r},e.setRunning=function(e){return t=e},e.setResult=function(e){return n=e},e.setError=function(e){return r=e},e},t.autoInc=b,t.makeIterator=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],o={name:n,next:e,throw:t,return:m};return r&&(o[f]=!0),"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o}),o},t.log=_,t.deprecate=function(e,t){return function(){return e.apply(void 0,arguments)}};var u=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},i="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":o(e)},a=t.sym=function(e){return"@@redux-saga/"+e},c=t.TASK=a("TASK"),f=t.HELPER=a("HELPER"),l=(t.MATCH=a("MATCH"),t.CANCEL=a("CANCEL_PROMISE")),s=t.SAGA_ACTION=a("SAGA_ACTION"),d=(t.SELF_CANCELLATION=a("SELF_CANCELLATION"),t.konst=function(e){return function(){return e}});t.kTrue=d(!0),t.kFalse=d(!1),t.noop=function(){},t.ident=function(e){return e};var p=Object.prototype.hasOwnProperty;function v(e,t){return y.notUndef(e)&&p.call(e,t)}var y=t.is={undef:function(e){return null===e||void 0===e},notUndef:function(e){return null!==e&&void 0!==e},func:function(e){return"function"==typeof e},number:function(e){return"number"==typeof e},string:function(e){return"string"==typeof e},array:Array.isArray,object:function(e){return e&&!y.array(e)&&"object"===(void 0===e?"undefined":i(e))},promise:function(e){return e&&y.func(e.then)},iterator:function(e){return e&&y.func(e.next)&&y.func(e.throw)},iterable:function(e){return e&&y.func(Symbol)?y.func(e[Symbol.iterator]):y.array(e)},task:function(e){return e&&e[c]},observable:function(e){return e&&y.func(e.subscribe)},buffer:function(e){return e&&y.func(e.isEmpty)&&y.func(e.take)&&y.func(e.put)},pattern:function(e){return e&&(y.string(e)||"symbol"===(void 0===e?"undefined":i(e))||y.func(e)||y.array(e))},channel:function(e){return e&&y.func(e.take)&&y.func(e.close)},helper:function(e){return e&&e[f]},stringableFunc:function(e){return y.func(e)&&v(e,"toString")}};function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=u({},e),n=new Promise(function(e,n){t.resolve=e,t.reject=n});return t.promise=n,t}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}t.object={assign:function(e,t){for(var n in t)v(t,n)&&(e[n]=t[n])}},t.array={from:function(e){var t=Array(e.length);for(var n in e)v(e,n)&&(t[n]=e[n]);return t}},t.uid=b();var g=function(e){throw e},m=function(e){return{value:e,done:!0}};function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"undefined"==typeof window?console.log("redux-saga "+e+": "+t+"\n"+(n&&n.stack||n)):console[e](t,n)}t.updateIncentive=function(e,t){return e+" has been deprecated in favor of "+t+", please update your code"},t.internalErr=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},t.createSetContextWarning=function(e,t){return(e?e+".":"")+"setContext(props): argument "+t+" is not a plain object"},t.wrapSagaDispatch=function(e){return function(t){return e(Object.defineProperty(t,s,{value:!0}))}},t.cloneableGenerator=function e(t){return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var u=[],i=t.apply(void 0,r);return{next:function(e){return u.push(e),i.next(e)},clone:function(){var n=e(t).apply(void 0,r);return u.forEach(function(e){return n.next(e)}),n},return:function(e){return i.return(e)},throw:function(e){return i.throw(e)}}}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.asEffect=t.takem=t.detach=void 0,t.take=S,t.put=w,t.all=P,t.race=function(e){return j(f,e)},t.call=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return j(l,E("call",e,n))},t.apply=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return j(l,E("apply",{context:e,fn:t},n))},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return j(s,E("cps",e,n))},t.fork=C,t.spawn=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return k(C.apply(void 0,[e].concat(n)))},t.join=function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];if(n.length>1)return P(n.map(function(t){return e(t)}));var u=n[0];return(0,r.check)(u,r.is.notUndef,"join(task): argument task is undefined"),(0,r.check)(u,r.is.task,"join(task): argument "+u+" is not a valid Task object "+O),j(p,u)},t.cancel=function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];if(n.length>1)return P(n.map(function(t){return e(t)}));var u=n[0];return 1===n.length&&((0,r.check)(u,r.is.notUndef,"cancel(task): argument task is undefined"),(0,r.check)(u,r.is.task,"cancel(task): argument "+u+" is not a valid Task object "+O)),j(v,u||r.SELF_CANCELLATION)},t.select=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return 0===arguments.length?e=r.ident:((0,r.check)(e,r.is.notUndef,"select(selector,[...]): argument selector is undefined"),(0,r.check)(e,r.is.func,"select(selector,[...]): argument "+e+" is not a function")),j(y,{selector:e,args:n})},t.actionChannel=function(e,t){return(0,r.check)(e,r.is.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&((0,r.check)(t,r.is.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),(0,r.check)(t,r.is.buffer,"actionChannel(pattern, buffer): argument "+t+" is not a valid buffer")),j(h,{pattern:e,buffer:t})},t.cancelled=function(){return j(b,{})},t.flush=function(e){return(0,r.check)(e,r.is.channel,"flush(channel): argument "+e+" is not valid channel"),j(g,e)},t.getContext=function(e){return(0,r.check)(e,r.is.string,"getContext(prop): argument "+e+" is not a string"),j(m,e)},t.setContext=function(e){return(0,r.check)(e,r.is.object,(0,r.createSetContextWarning)(null,e)),j(_,e)},t.takeEvery=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),u=2;u<n;u++)r[u-2]=arguments[u];return C.apply(void 0,[o.takeEveryHelper,e,t].concat(r))},t.takeLatest=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),u=2;u<n;u++)r[u-2]=arguments[u];return C.apply(void 0,[o.takeLatestHelper,e,t].concat(r))},t.throttle=function(e,t,n){for(var r=arguments.length,u=Array(r>3?r-3:0),i=3;i<r;i++)u[i-3]=arguments[i];return C.apply(void 0,[o.throttleHelper,e,t,n].concat(u))};var r=n(0),o=n(11),u=(0,r.sym)("IO"),i="TAKE",a="PUT",c="ALL",f="RACE",l="CALL",s="CPS",d="FORK",p="JOIN",v="CANCEL",y="SELECT",h="ACTION_CHANNEL",b="CANCELLED",g="FLUSH",m="GET_CONTEXT",_="SET_CONTEXT",O="\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)",j=function(e,t){var n;return(n={})[u]=!0,n[e]=t,n},k=t.detach=function(e){return(0,r.check)(A.fork(e),r.is.object,"detach(eff): argument must be a fork effect"),e[d].detached=!0,e};function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&(0,r.check)(arguments[0],r.is.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),r.is.pattern(e))return j(i,{pattern:e});if(r.is.channel(e))return j(i,{channel:e});throw new Error("take(patternOrChannel): argument "+String(e)+" is not valid channel or a valid pattern")}function w(e,t){return arguments.length>1?((0,r.check)(e,r.is.notUndef,"put(channel, action): argument channel is undefined"),(0,r.check)(e,r.is.channel,"put(channel, action): argument "+e+" is not a valid channel"),(0,r.check)(t,r.is.notUndef,"put(channel, action): argument action is undefined")):((0,r.check)(e,r.is.notUndef,"put(action): argument action is undefined"),t=e,e=null),j(a,{channel:e,action:t})}function P(e){return j(c,e)}function E(e,t,n){(0,r.check)(t,r.is.notUndef,e+": argument fn is undefined");var o=null;if(r.is.array(t)){var u=t;o=u[0],t=u[1]}else if(t.fn){var i=t;o=i.context,t=i.fn}return o&&r.is.string(t)&&r.is.func(o[t])&&(t=o[t]),(0,r.check)(t,r.is.func,e+": argument "+t+" is not a function"),{context:o,fn:t,args:n}}function C(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return j(d,E("fork",e,n))}S.maybe=function(){var e=S.apply(void 0,arguments);return e[i].maybe=!0,e},t.takem=(0,r.deprecate)(S.maybe,(0,r.updateIncentive)("takem","take.maybe")),w.resolve=function(){var e=w.apply(void 0,arguments);return e[a].resolve=!0,e},w.sync=(0,r.deprecate)(w.resolve,(0,r.updateIncentive)("put.sync","put.resolve"));var x=function(e){return function(t){return t&&t[u]&&t[e]}},A=t.asEffect={take:x(i),put:x(a),all:x(c),race:x(f),call:x(l),cps:x(s),fork:x(d),join:x(p),cancel:x(v),select:x(y),actionChannel:x(h),cancelled:x(b),flush:x(g),getContext:x(m),setContext:x(_)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.UNDEFINED_INPUT_ERROR=t.INVALID_BUFFER=t.isEnd=t.END=void 0,t.emitter=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){return(0,r.remove)(e,t)}},emit:function(t){for(var n=e.slice(),r=0,o=n.length;r<o;r++)n[r](t)}}},t.channel=s,t.eventChannel=d,t.stdChannel=function(e){var t=d(function(t){return e(function(e){e[r.SAGA_ACTION]?t(e):(0,u.asap)(function(){return t(e)})})});return i({},t,{take:function(e,n){arguments.length>1&&((0,r.check)(n,r.is.func,"channel.take's matcher argument must be a function"),e[r.MATCH]=n),t.take(e)}})};var r=n(0),o=n(5),u=n(9),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},a=t.END={type:"@@redux-saga/CHANNEL_END"},c=t.isEnd=function(e){return e&&"@@redux-saga/CHANNEL_END"===e.type},f=t.INVALID_BUFFER="invalid buffer passed to channel factory function",l=t.UNDEFINED_INPUT_ERROR="Saga was provided with an undefined action";function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.buffers.fixed(),t=!1,n=[];function u(){if(t&&n.length)throw(0,r.internalErr)("Cannot have a closed channel with pending takers");if(n.length&&!e.isEmpty())throw(0,r.internalErr)("Cannot have pending takers with non empty buffer")}return(0,r.check)(e,r.is.buffer,f),{take:function(o){u(),(0,r.check)(o,r.is.func,"channel.take's callback must be a function"),t&&e.isEmpty()?o(a):e.isEmpty()?(n.push(o),o.cancel=function(){return(0,r.remove)(n,o)}):o(e.take())},put:function(o){if(u(),(0,r.check)(o,r.is.notUndef,l),!t){if(!n.length)return e.put(o);for(var i=0;i<n.length;i++){var a=n[i];if(!a[r.MATCH]||a[r.MATCH](o))return n.splice(i,1),a(o)}}},flush:function(n){u(),(0,r.check)(n,r.is.func,"channel.flush' callback must be a function"),t&&e.isEmpty()?n(a):n(e.flush())},close:function(){if(u(),!t&&(t=!0,n.length)){var e=n;n=[];for(var r=0,o=e.length;r<o;r++)e[r](a)}},get __takers__(){return n},get __closed__(){return t}}}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.buffers.none(),n=arguments[2];arguments.length>2&&(0,r.check)(n,r.is.func,"Invalid match function passed to eventChannel");var u=s(t),i=function(){u.__closed__||(a&&a(),u.close())},a=e(function(e){c(e)?i():n&&!n(e)||u.put(e)});if(u.__closed__&&a(),!r.is.func(a))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:u.take,flush:u.flush,close:i}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.qEnd=void 0,t.safeName=function(e){return r.is.channel(e)?"channel":Array.isArray(e)?String(e.map(function(e){return String(e)})):String(e)},t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",i=void 0,a=t;function c(t,n){if(a===u)return o;if(n)throw a=u,n;i&&i(t);var r=e[a](),c=r[0],f=r[1],l=r[2];return i=l,(a=c)===u?o:f}return(0,r.makeIterator)(c,function(e){return c(null,e)},n,!0)};var r=n(0),o={done:!0,value:void 0},u=t.qEnd={}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(6))&&r.__esModule?r:{default:r},u=new Map;t.default=function(e){if(!e)throw new Error("Tried to make undefined selector work with global state – please make sure your selector module is exported correctly");if(u.has(e))return u.get(e);if(e.requiresGlobalState)return e;var t=function(t){if(!e.hasOwnProperty("globalStateContext"))throw new Error("This selector was not registered for use with global state: \n\n"+e+' \n\nDid you forget to call the "registerSelectorForUseWithGlobalState" with this reducer?\n');var n=e.globalStateContext.path;return(0,o.default)(n,e)(t)};return t.requiresGlobalState=!0,u.set(e,t),t}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.buffers=t.BUFFER_OVERFLOW=void 0;var r=n(0),o=t.BUFFER_OVERFLOW="Channel's Buffer overflow!",u=1,i=3,a=4,c={isEmpty:r.kTrue,put:r.noop,take:r.noop};function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments[1],n=new Array(e),r=0,c=0,f=0,l=function(t){n[c]=t,c=(c+1)%e,r++},s=function(){if(0!=r){var t=n[f];return n[f]=null,r--,f=(f+1)%e,t}},d=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){if(r<e)l(s);else{var p=void 0;switch(t){case u:throw new Error(o);case i:n[c]=s,f=c=(c+1)%e;break;case a:p=2*e,n=d(),r=n.length,c=n.length,f=0,n.length=p,e=p,l(s)}}},take:s,flush:d}}t.buffers={none:function(){return c},fixed:function(e){return f(e,u)},dropping:function(e){return f(e,2)},sliding:function(e){return f(e,i)},expanding:function(e){return f(e,a)}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!e.length)return t;var n=e.split(".");return function(r){var o=r;return n.forEach(function(t){if(!o.hasOwnProperty(t))throw Error("Invalid state path provided: "+e+", got stuck with '"+t+"' on "+JSON.stringify(o)+" with "+JSON.stringify(r)+".");o=o[t]}),t(o)}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=arguments.length,l=Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var d=void 0,p=void 0,v={done:!1,value:(0,i.actionChannel)(t,c.buffers.sliding(1))},y={done:!1,value:(0,i.call)(f.delay,e)},h=function(e){return d=e},b=function(e){return p=e};return(0,u.default)({q1:function(){return["q2",v,b]},q2:function(){return["q3",{done:!1,value:(0,i.take)(p)},h]},q3:function(){return d===a.END?[o.qEnd]:["q4",(e=d,{done:!1,value:i.fork.apply(void 0,[n].concat(l,[e]))})];var e},q4:function(){return["q2",y]}},"q1","throttle("+(0,o.safeName)(t)+", "+n.name+")")};var r,o=n(3),u=(r=o)&&r.__esModule?r:{default:r},i=n(1),a=n(2),c=n(5),f=n(0)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var f={done:!1,value:(0,i.take)(e)},l=function(e){return{done:!1,value:i.fork.apply(void 0,[t].concat(r,[e]))}},s=void 0,d=void 0,p=function(e){return s=e},v=function(e){return d=e};return(0,u.default)({q1:function(){return["q2",f,v]},q2:function(){return d===a.END?[o.qEnd]:s?["q3",(e=s,{done:!1,value:(0,i.cancel)(e)})]:["q1",l(d),p];var e},q3:function(){return["q1",l(d),p]}},"q1","takeLatest("+(0,o.safeName)(e)+", "+t.name+")")};var r,o=n(3),u=(r=o)&&r.__esModule?r:{default:r},i=n(1),a=n(2)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.asap=function(e){r.push(e),o||(i(),c())},t.suspend=i,t.flush=c;var r=[],o=0;function u(e){try{i(),e()}finally{a()}}function i(){o++}function a(){o--}function c(){a();for(var e=void 0;!o&&void 0!==(e=r.shift());)u(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var f={done:!1,value:(0,i.take)(e)},l=void 0,s=function(e){return l=e};return(0,u.default)({q1:function(){return["q2",f,s]},q2:function(){return l===a.END?[o.qEnd]:["q1",(e=l,{done:!1,value:i.fork.apply(void 0,[t].concat(r,[e]))})];var e}},"q1","takeEvery("+(0,o.safeName)(e)+", "+t.name+")")};var r,o=n(3),u=(r=o)&&r.__esModule?r:{default:r},i=n(1),a=n(2)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.throttleHelper=t.takeLatestHelper=t.takeEveryHelper=t.throttle=t.takeLatest=t.takeEvery=void 0;var r=a(n(10)),o=a(n(8)),u=a(n(7)),i=n(0);function a(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return"import { "+e+" } from 'redux-saga' has been deprecated in favor of import { "+e+" } from 'redux-saga/effects'.\nThe latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.\nTherefore yield "+e+" will return task descriptor to your saga and execute next lines of code."},f=(0,i.deprecate)(r.default,c("takeEvery")),l=(0,i.deprecate)(o.default,c("takeLatest")),s=(0,i.deprecate)(u.default,c("throttle"));t.takeEvery=f,t.takeLatest=l,t.throttle=s,t.takeEveryHelper=r.default,t.takeLatestHelper=o.default,t.throttleHelper=u.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return r.take}}),Object.defineProperty(t,"takem",{enumerable:!0,get:function(){return r.takem}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return r.put}}),Object.defineProperty(t,"all",{enumerable:!0,get:function(){return r.all}}),Object.defineProperty(t,"race",{enumerable:!0,get:function(){return r.race}}),Object.defineProperty(t,"call",{enumerable:!0,get:function(){return r.call}}),Object.defineProperty(t,"apply",{enumerable:!0,get:function(){return r.apply}}),Object.defineProperty(t,"cps",{enumerable:!0,get:function(){return r.cps}}),Object.defineProperty(t,"fork",{enumerable:!0,get:function(){return r.fork}}),Object.defineProperty(t,"spawn",{enumerable:!0,get:function(){return r.spawn}}),Object.defineProperty(t,"join",{enumerable:!0,get:function(){return r.join}}),Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return r.cancel}}),Object.defineProperty(t,"select",{enumerable:!0,get:function(){return r.select}}),Object.defineProperty(t,"actionChannel",{enumerable:!0,get:function(){return r.actionChannel}}),Object.defineProperty(t,"cancelled",{enumerable:!0,get:function(){return r.cancelled}}),Object.defineProperty(t,"flush",{enumerable:!0,get:function(){return r.flush}}),Object.defineProperty(t,"getContext",{enumerable:!0,get:function(){return r.getContext}}),Object.defineProperty(t,"setContext",{enumerable:!0,get:function(){return r.setContext}}),Object.defineProperty(t,"takeEvery",{enumerable:!0,get:function(){return r.takeEvery}}),Object.defineProperty(t,"takeLatest",{enumerable:!0,get:function(){return r.takeLatest}}),Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return r.throttle}})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(12),u=(r=n(4))&&r.__esModule?r:{default:r};t.default=function(e){return(0,o.select)((0,u.default)(e))}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)};t.default=function(e){if(!function(e){return"object"===(void 0===e?"undefined":o(e))&&null!==e}(e)||"[object Object]"!==function(e){if(null===e)return void 0===e?"[object Undefined]":"[object Null]";if(!(c&&c in Object(e)))return a.call(e);var t=i.call(e,c),n=e[c],r=!1;try{e[c]=void 0,r=!0}catch(e){}var o=a.call(e);return r&&(t?e[c]=n:delete e[c]),o}(e))return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=i.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&f.call(n)===l};var u=Object.prototype,i=u.hasOwnProperty,a=u.toString,c="undefined"!=typeof Symbol?Symbol.toStringTag:void 0,f=Function.prototype.toString,l=f.call(Object)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(14))&&r.__esModule?r:{default:r};t.default=function(e,t){(0,o.default)(t)?Object.keys(t).forEach(function(n){return t[n].globalStateContext={path:e,key:n}}):t&&t.forEach(function(t){return t.globalStateContext={path:e}})}},function(e,t){e.exports=n(12)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(16),u=(r=n(4))&&r.__esModule?r:{default:r};t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=t,i=0;i<t.length-1;i++){if(void 0===t[i])throw new Error("WTF");r[i]=(0,u.default)(t[i])}var a=function(e){return o.createSelector.apply(null,r)(e)};return a.requiresGlobalState=!0,a}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(17);Object.defineProperty(t,"createModularSelector",{enumerable:!0,get:function(){return c(r).default}});var o=n(4);Object.defineProperty(t,"makeWorkWithGlobalState",{enumerable:!0,get:function(){return c(o).default}});var u=n(6);Object.defineProperty(t,"rebaseSelector",{enumerable:!0,get:function(){return c(u).default}});var i=n(15);Object.defineProperty(t,"registerSelectorsForUseWithGlobalState",{enumerable:!0,get:function(){return c(i).default}});var a=n(13);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"selectModular",{enumerable:!0,get:function(){return c(a).default}})}])},function(e,t){e.exports=require("react-redux")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=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},u=n(14),i=n(13);t.default=function(e){return(0,u.connect)(function(t){return function e(t,n){return Object.keys(t).reduce(function(u,a){return o({},u,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},a,"object"===r(t[a])?e(t[a],n):(0,i.makeWorkWithGlobalState)(t[a])(n)))},{})}(e,t)})}},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r="Expected a function",o=NaN,u="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,l=parseInt,s="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t,d="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,p=s||d||Function("return this")(),v=Object.prototype.toString,y=Math.max,h=Math.min,b=function(){return p.Date.now()};function g(e){var t=void 0===e?"undefined":n(e);return!!e&&("object"==t||"function"==t)}function m(e){return"symbol"==(void 0===e?"undefined":n(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":n(e))}(e)&&v.call(e)==u}function _(e){if("number"==typeof e)return e;if(m(e))return o;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=c.test(e);return n||f.test(e)?l(e.slice(2),n?2:8):a.test(e)?o:+e}e.exports=function(e,t,n){var o,u,i,a,c,f,l=0,s=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(r);function v(t){var n=o,r=u;return o=u=void 0,l=t,a=e.apply(r,n)}function m(e){var n=e-f;return void 0===f||n>=t||n<0||d&&e-l>=i}function O(){var e=b();if(m(e))return j(e);c=setTimeout(O,function(e){var n=t-(e-f);return d?h(n,i-(e-l)):n}(e))}function j(e){return c=void 0,p&&o?v(e):(o=u=void 0,a)}function k(){var e=b(),n=m(e);if(o=arguments,u=this,f=e,n){if(void 0===c)return function(e){return l=e,c=setTimeout(O,t),s?v(e):a}(f);if(d)return c=setTimeout(O,t),v(f)}return void 0===c&&(c=setTimeout(O,t)),a}return t=_(t)||0,g(n)&&(s=!!n.leading,i=(d="maxWait"in n)?y(_(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,o=f=u=c=void 0},k.flush=function(){return void 0===c?a:j(b())},k}}).call(this,n(3))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),u=n(16),i=(r=u)&&r.__esModule?r:{default:r};t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{debounce:20};return(0,o.compose)((0,o.withHandlers)({onResizeHandler:function(n){return(0,i.default)(function(){(0,n[e])({width:window.innerWidth,height:window.innerHeight})},t.debounce)}}),(0,o.lifecycle)({componentDidMount:function(){var e=this.props.onResizeHandler;window.addEventListener("resize",e),e()},componentWillUnmount:function(){var e=this.props.onResizeHandler;window.removeEventListener("resize",e)}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){return(0,r.lifecycle)({componentWillMount:function(){e(this.props)}})}}]); |
{ | ||
"name": "@modular-toolkit/hocs", | ||
"version": "2.0.0-beta.0", | ||
"version": "2.0.0-beta.1", | ||
"description": "Higher order components (HoCs) for connecting modules", | ||
@@ -22,3 +22,3 @@ "esnext": "index-esnext.js", | ||
"dependencies": { | ||
"@modular-toolkit/selectors": "^2.0.0-beta.0", | ||
"@modular-toolkit/selectors": "^2.0.0-beta.1", | ||
"lodash.debounce": "^4.0.8", | ||
@@ -25,0 +25,0 @@ "lodash.omit": "^4.5.0" |
@@ -10,2 +10,7 @@ # hocs | ||
**Note:** by default, the npm package exposes ES5-compatible code (transpiled through Babel). | ||
If you want to use the untranspiled code (highly recommended), us the *esnext* version, which is | ||
included in the same npm package ([more info here](http://2ality.com/2017/06/pkg-esnext.html)). | ||
## API | ||
@@ -12,0 +17,0 @@ |
70949
222