1 line
39 KiB
JavaScript
1 line
39 KiB
JavaScript
window.yoast=window.yoast||{},window.yoast.reduxJsToolkit=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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=395)}({111:function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var i=r();i.withExtraArgument=r,t.a=i},17:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[B]}function o(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===G}(e)||Array.isArray(e)||!!e[K]||!!e.constructor[K]||d(e)||p(e))}function u(e){return i(e)||r(23,e),e[B].t}function c(e,t,n){void 0===n&&(n=!1),0===a(e)?(n?Object.keys:J)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function a(e){var t=e[B];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:p(e)?3:0}function f(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t,n){var r=a(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function s(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return V&&e instanceof Map}function p(e){return U&&e instanceof Set}function v(e){return e.o||e.t}function y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=$(e);delete t[B];for(var n=J(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function h(e,t){return void 0===t&&(t=!1),b(e)||i(e)||!o(e)||(a(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&c(e,(function(e,t){return h(t,!0)}),!0)),e}function g(){r(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function m(e){var t=H[e];return t||r(18,e),t}function w(){return F}function O(e,t){t&&(m("Patches"),e.u=[],e.s=[],e.v=t)}function j(e){P(e),e.p.forEach(S),e.p=null}function P(e){e===F&&(F=e.l)}function A(e){return F={p:[],l:F,h:e,m:!0,_:0}}function S(e){var t=e[B];0===t.i||1===t.i?t.j():t.O=!0}function E(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.g||m("ES5").S(t,e,i),i?(n[B].P&&(j(t),r(4)),o(e)&&(e=_(t,e),t.l||T(t,e)),t.u&&m("Patches").M(n[B].t,e,t.u,t.s)):e=_(t,n,[]),j(t),t.u&&t.v(t.u,t.s),e!==X?e:void 0}function _(e,t,n){if(b(t))return t;var r=t[B];if(!r)return c(t,(function(i,o){return k(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return T(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=y(r.k):r.o;c(3===r.i?new Set(i):i,(function(t,o){return k(e,r,i,t,o,n)})),T(e,i,!1),n&&e.u&&m("Patches").R(r,n,e.u,e.s)}return r.o}function k(e,t,n,r,u,c){if(i(u)){var a=_(e,u,c&&t&&3!==t.i&&!f(t.D,r)?c.concat(r):void 0);if(l(n,r,a),!i(a))return;e.m=!1}if(o(u)&&!b(u)){if(!e.h.F&&e._<1)return;_(e,u),t&&t.A.l||T(e,u)}}function T(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&h(t,n)}function x(e,t){var n=e[B];return(n?v(n):e)[t]}function I(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function M(e){e.P||(e.P=!0,e.l&&M(e.l))}function D(e){e.o||(e.o=y(e.t))}function R(e,t,n){var r=d(t)?m("MapSet").N(t,n):p(t)?m("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:w(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=Q;n&&(i=[r],o=Y);var u=Proxy.revocable(i,o),c=u.revoke,a=u.proxy;return r.k=a,r.j=c,a}(t,n):m("ES5").J(t,n);return(n?n.A:w()).p.push(r),r}function C(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[B],i=a(t);if(r){if(!r.P&&(r.i<4||!m("ES5").K(r)))return r.t;r.I=!0,n=L(t,i),r.I=!1}else n=L(t,i);return c(n,(function(t,i){r&&function(e,t){return 2===a(e)?e.get(t):e[t]}(r.t,t)===i||l(n,t,e(i))})),3===i?new Set(n):n}(e)}function L(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return y(e)}function z(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[B];return Q.get(t,e)},set:function(t){var n=this[B];Q.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][B];if(!i.P)switch(i.i){case 5:r(i)&&M(i);break;case 4:n(i)&&M(i)}}}function n(e){for(var t=e.t,n=e.k,r=J(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==B){var u=t[o];if(void 0===u&&!f(t,o))return!0;var c=n[o],a=c&&c[B];if(a?a.t!==u:!s(c,u))return!0}}var l=!!t[B];return r.length!==J(t).length+(l?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};!function(e,t){H[e]||(H[e]=t)}("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=$(n);delete o[B];for(var u=J(o),c=0;c<u.length;c++){var a=u[c];o[a]=e(a,t||!!o[a].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:w(),P:!1,I:!1,D:{},l:n,t:t,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,B,{value:o,writable:!0}),i},S:function(e,n,o){o?i(n)&&n[B].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[B];if(n){var i=n.t,o=n.k,u=n.D,a=n.i;if(4===a)c(o,(function(t){t!==B&&(void 0!==i[t]||f(i,t)?u[t]||e(o[t]):(u[t]=!0,M(n)))})),c(i,(function(e){void 0!==o[e]||f(o,e)||(u[e]=!1,M(n))}));else if(5===a){if(r(n)&&(M(n),u.length=!0),o.length<i.length)for(var l=o.length;l<i.length;l++)u[l]=!1;else for(var s=i.length;s<o.length;s++)u[s]=!0;for(var d=Math.min(o.length,i.length),p=0;p<d;p++)o.hasOwnProperty(p)||(u[p]=!0),void 0===u[p]&&e(o[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,"a",(function(){return C})),n.d(t,"c",(function(){return z})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return u}));var N,F,q="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,U="undefined"!=typeof Set,W="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,X=q?Symbol.for("immer-nothing"):((N={})["immer-nothing"]=!0,N),K=q?Symbol.for("immer-draftable"):"__$immer_draftable",B=q?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),J="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptors||function(e){var t={};return J(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},H={},Q={get:function(e,t){if(t===B)return e;var n=v(e);if(!f(n,t))return function(e,t,n){var r,i=I(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===x(e.t,t)?(D(e),e.o[t]=R(e.A.h,r,e)):r},has:function(e,t){return t in v(e)},ownKeys:function(e){return Reflect.ownKeys(v(e))},set:function(e,t,n){var r=I(v(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=x(v(e),t),o=null==i?void 0:i[B];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(s(n,i)&&(void 0!==n||f(e.t,t)))return!0;D(e),M(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==x(e.t,t)||t in e.t?(e.D[t]=!1,D(e),M(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=v(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},Y={};c(Q,(function(e,t){Y[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Y.deleteProperty=function(e,t){return Y.set.call(this,e,t,void 0)},Y.set=function(e,t,n){return Q.set.call(this,e[0],t,n,e[0])};var Z=new(function(){function e(e){var t=this;this.g=W,this.F=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var u=n;n=e;var c=t;return function(e){var t=this;void 0===e&&(e=u);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return c.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(i))}))}}var a;if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(e)){var f=A(t),l=R(t,e,void 0),s=!0;try{a=n(l),s=!1}finally{s?j(f):P(f)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return O(f,i),E(e,f)}),(function(e){throw j(f),e})):(O(f,i),E(a,f))}if(!e||"object"!=typeof e){if(void 0===(a=n(e))&&(a=e),a===X&&(a=void 0),t.F&&h(a,!0),i){var d=[],p=[];m("Patches").M(e,a,d,p),i(d,p)}return a}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(i))}))};var r,i,o=t.produce(e,n,(function(e,t){r=e,i=t}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return[e,r,i]})):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),i(e)&&(e=C(e));var t=A(this),n=R(this,e,void 0);return n[B].C=!0,P(t),n},t.finishDraft=function(e,t){var n=(e&&e[B]).A;return O(n,t),E(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!W&&r(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=m("Patches").$;return i(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}()),ee=Z.produce;Z.produceWithPatches.bind(Z),Z.setAutoFreeze.bind(Z),Z.setUseProxies.bind(Z),Z.applyPatches.bind(Z),Z.createDraft.bind(Z),Z.finishDraft.bind(Z),t.b=ee},19:function(e,t){e.exports=window.yoast.redux},395:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"MiddlewareArray",(function(){return S})),n.d(t,"TaskAbortError",(function(){return ve})),n.d(t,"addListener",(function(){return Ae})),n.d(t,"clearAllListeners",(function(){return Se})),n.d(t,"configureStore",(function(){return D})),n.d(t,"createAction",(function(){return R})),n.d(t,"createAsyncThunk",(function(){return Q})),n.d(t,"createDraftSafeSelector",(function(){return j})),n.d(t,"createEntityAdapter",(function(){return K})),n.d(t,"createImmutableStateInvariantMiddleware",(function(){return k})),n.d(t,"createListenerMiddleware",(function(){return Te})),n.d(t,"createReducer",(function(){return N})),n.d(t,"createSerializableStateInvariantMiddleware",(function(){return I})),n.d(t,"createSlice",(function(){return F})),n.d(t,"findNonSerializableValue",(function(){return x})),n.d(t,"getDefaultMiddleware",(function(){return M})),n.d(t,"getType",(function(){return L})),n.d(t,"isAllOf",(function(){return te})),n.d(t,"isAnyOf",(function(){return ee})),n.d(t,"isAsyncThunkAction",(function(){return ae})),n.d(t,"isFulfilled",(function(){return ce})),n.d(t,"isImmutableDefault",(function(){return _})),n.d(t,"isPending",(function(){return ie})),n.d(t,"isPlain",(function(){return T})),n.d(t,"isPlainObject",(function(){return A})),n.d(t,"isRejected",(function(){return oe})),n.d(t,"isRejectedWithValue",(function(){return ue})),n.d(t,"miniSerializeError",(function(){return H})),n.d(t,"nanoid",(function(){return B})),n.d(t,"removeListener",(function(){return Ee})),n.d(t,"unwrapResult",(function(){return Y}));var r=n(17),i=n(19);for(var o in i)["default","MiddlewareArray","TaskAbortError","addListener","clearAllListeners","configureStore","createAction","createAsyncThunk","createDraftSafeSelector","createEntityAdapter","createImmutableStateInvariantMiddleware","createListenerMiddleware","createNextState","createReducer","createSelector","createSerializableStateInvariantMiddleware","createSlice","current","findNonSerializableValue","freeze","getDefaultMiddleware","getType","isAllOf","isAnyOf","isAsyncThunkAction","isDraft","isFulfilled","isImmutableDefault","isPending","isPlain","isPlainObject","isRejected","isRejectedWithValue","miniSerializeError","nanoid","original","removeListener","unwrapResult"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n.d(t,"createNextState",(function(){return r.b})),n.d(t,"current",(function(){return r.a})),n.d(t,"freeze",(function(){return r.d})),n.d(t,"isDraft",(function(){return r.e})),n.d(t,"original",(function(){return r.g}));var u=n(85);n.d(t,"createSelector",(function(){return u.a}));var c,a=n(111),f=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),l=function(e,t){var n,r,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,r=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!((i=(i=u.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){u.label=o[1];break}if(6===o[0]&&u.label<i[1]){u.label=i[1],i=o;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(o);break}i[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}},s=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},d=Object.defineProperty,p=Object.defineProperties,v=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,b=function(e,t,n){return t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},m=function(e,t){for(var n in t||(t={}))h.call(t,n)&&b(e,n,t[n]);if(y)for(var r=0,i=y(t);r<i.length;r++)n=i[r],g.call(t,n)&&b(e,n,t[n]);return e},w=function(e,t){return p(e,v(t))},O=function(e,t,n){return new Promise((function(r,i){var o=function(e){try{c(n.next(e))}catch(e){i(e)}},u=function(e){try{c(n.throw(e))}catch(e){i(e)}},c=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,u)};c((n=n.apply(e,t)).next())}))},j=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u.a.apply(void 0,e),i=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return n.apply(void 0,s([Object(r.e)(e)?Object(r.a)(e):e],t))};return i},P="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?i.compose:i.compose.apply(null,arguments)};function A(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var S=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return f(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,s([void 0],e[0].concat(this)))):new(t.bind.apply(t,s([void 0],e.concat(this))))},t}(Array);function E(e){return Object(r.f)(e)?Object(r.b)(e,(function(){})):e}function _(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function k(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function T(e){var t=typeof e;return"undefined"===t||null===e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||A(e)}function x(e,t,n,r,i){var o;if(void 0===t&&(t=""),void 0===n&&(n=T),void 0===i&&(i=[]),!n(e))return{keyPath:t||"<root>",value:e};if("object"!=typeof e||null===e)return!1;for(var u=null!=r?r(e):Object.entries(e),c=i.length>0,a=0,f=u;a<f.length;a++){var l=f[a],s=l[0],d=l[1],p=t?t+"."+s:s;if(!(c&&i.indexOf(p)>=0)){if(!n(d))return{keyPath:p,value:d};if("object"==typeof d&&(o=x(d,p,n,r,i)))return o}}return!1}function I(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function M(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new S);return n&&("boolean"==typeof n?r.push(a.a):r.push(a.a.withExtraArgument(n.extraArgument))),r}function D(e){var t,n=function(e){return M(e)},r=e||{},o=r.reducer,u=void 0===o?void 0:o,c=r.middleware,a=void 0===c?n():c,f=r.devTools,l=void 0===f||f,d=r.preloadedState,p=void 0===d?void 0:d,v=r.enhancers,y=void 0===v?void 0:v;if("function"==typeof u)t=u;else{if(!A(u))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=Object(i.combineReducers)(u)}var h=a;"function"==typeof h&&(h=h(n));var g=i.applyMiddleware.apply(void 0,h),b=i.compose;l&&(b=P(m({trace:!1},"object"==typeof l&&l)));var w=[g];Array.isArray(y)?w=s([g],y):"function"==typeof y&&(w=y(w));var O=b.apply(void 0,w);return Object(i.createStore)(t,p,O)}function R(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return m(m({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function C(e){return["type","payload","error","meta"].indexOf(e)>-1}function L(e){return""+e}function z(e){var t,n={},r=[],i={addCase:function(e,t){var r="string"==typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,i},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[n,r,t]}function N(e,t,n,i){void 0===n&&(n=[]);var o,u="function"==typeof t?z(t):[t,n,i],c=u[0],a=u[1],f=u[2];if("function"==typeof e)o=function(){return E(e())};else{var l=E(e);o=function(){return l}}function d(e,t){void 0===e&&(e=o());var n=s([c[t.type]],a.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[f]),n.reduce((function(e,n){if(n){var i;if(Object(r.e)(e))return void 0===(i=n(e,t))?e:i;if(Object(r.f)(e))return Object(r.b)(e,(function(e){return n(e,t)}));if(void 0===(i=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return e}),e)}return d.getInitialState=o,d}function F(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:E(e.initialState),i=e.reducers||{},o=Object.keys(i),u={},c={},a={};function f(){var t="function"==typeof e.extraReducers?z(e.extraReducers):[e.extraReducers],n=t[0],i=void 0===n?{}:n,o=t[1],u=void 0===o?[]:o,a=t[2],f=void 0===a?void 0:a,l=m(m({},i),c);return N(r,l,u,f)}return o.forEach((function(e){var n,r,o=i[e],f=t+"/"+e;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,u[e]=n,c[f]=n,a[e]=r?R(f,r):R(f)})),{name:t,reducer:function(e,t){return n||(n=f()),n(e,t)},actions:a,caseReducers:u,getInitialState:function(){return n||(n=f()),n.getInitialState()}}}function q(e){return function(t,n){var i=function(t){var r;A(r=n)&&"string"==typeof r.type&&Object.keys(r).every(C)?e(n.payload,t):e(n,t)};return Object(r.e)(t)?(i(t),t):Object(r.b)(t,i)}}function V(e,t){return t(e)}function U(e){return Array.isArray(e)||(e=Object.values(e)),e}function W(e,t,n){for(var r=[],i=[],o=0,u=e=U(e);o<u.length;o++){var c=u[o],a=V(c,t);a in n.entities?i.push({id:a,changes:c}):r.push(c)}return[r,i]}function X(e){function t(t,n){var r=V(t,e);r in n.entities||(n.ids.push(r),n.entities[r]=t)}function n(e,n){for(var r=0,i=e=U(e);r<i.length;r++)t(i[r],n)}function r(t,n){var r=V(t,e);r in n.entities||n.ids.push(r),n.entities[r]=t}function i(e,t){var n=!1;e.forEach((function(e){e in t.entities&&(delete t.entities[e],n=!0)})),n&&(t.ids=t.ids.filter((function(e){return e in t.entities})))}function o(t,n){var r={},i={};t.forEach((function(e){e.id in n.entities&&(i[e.id]={id:e.id,changes:m(m({},i[e.id]?i[e.id].changes:null),e.changes)})})),(t=Object.values(i)).length>0&&t.filter((function(t){return function(t,n,r){var i=r.entities[n.id],o=Object.assign({},i,n.changes),u=V(o,e),c=u!==n.id;return c&&(t[n.id]=u,delete r.entities[n.id]),r.entities[u]=o,c}(r,t,n)})).length>0&&(n.ids=n.ids.map((function(e){return r[e]||e})))}function u(t,r){var i=W(t,e,r),u=i[0];o(i[1],r),n(u,r)}return{removeAll:(c=function(e){Object.assign(e,{ids:[],entities:{}})},a=q((function(e,t){return c(t)})),function(e){return a(e,void 0)}),addOne:q(t),addMany:q(n),setOne:q(r),setMany:q((function(e,t){for(var n=0,i=e=U(e);n<i.length;n++)r(i[n],t)})),setAll:q((function(e,t){e=U(e),t.ids=[],t.entities={},n(e,t)})),updateOne:q((function(e,t){return o([e],t)})),updateMany:q(o),upsertOne:q((function(e,t){return u([e],t)})),upsertMany:q(u),removeOne:q((function(e,t){return i([e],t)})),removeMany:q(i)};var c,a}function K(e){void 0===e&&(e={});var t=m({sortComparer:!1,selectId:function(e){return e.id}},e),n=t.selectId,r=t.sortComparer,i={getInitialState:function(e){return void 0===e&&(e={}),Object.assign({ids:[],entities:{}},e)}},o={getSelectors:function(e){var t=function(e){return e.ids},n=function(e){return e.entities},r=j(t,n,(function(e,t){return e.map((function(e){return t[e]}))})),i=function(e,t){return t},o=function(e,t){return e[t]},u=j(t,(function(e){return e.length}));if(!e)return{selectIds:t,selectEntities:n,selectAll:r,selectTotal:u,selectById:j(n,i,o)};var c=j(e,n);return{selectIds:j(e,t),selectEntities:c,selectAll:j(e,r),selectTotal:j(e,u),selectById:j(c,i,o)}}},u=r?function(e,t){var n=X(e);function r(t,n){var r=(t=U(t)).filter((function(t){return!(V(t,e)in n.entities)}));0!==r.length&&c(r,n)}function i(e,t){0!==(e=U(e)).length&&c(e,t)}function o(t,n){for(var r=!1,i=0,o=t;i<o.length;i++){var u=o[i],c=n.entities[u.id];if(c){r=!0,Object.assign(c,u.changes);var f=e(c);u.id!==f&&(delete n.entities[u.id],n.entities[f]=c)}}r&&a(n)}function u(t,n){var i=W(t,e,n),u=i[0];o(i[1],n),r(u,n)}function c(t,n){t.forEach((function(t){n.entities[e(t)]=t})),a(n)}function a(n){var r=Object.values(n.entities);r.sort(t);var i=r.map(e);(function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(e[n]!==t[n])return!1;return!0})(n.ids,i)||(n.ids=i)}return{removeOne:n.removeOne,removeMany:n.removeMany,removeAll:n.removeAll,addOne:q((function(e,t){return r([e],t)})),updateOne:q((function(e,t){return o([e],t)})),upsertOne:q((function(e,t){return u([e],t)})),setOne:q((function(e,t){return i([e],t)})),setMany:q(i),setAll:q((function(e,t){e=U(e),t.entities={},t.ids=[],r(e,t)})),addMany:q(r),updateMany:q(o),upsertMany:q(u)}}(n,r):X(n);return m(m(m({selectId:n,sortComparer:r},i),o),u)}var B=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},G=["name","message","stack","code"],J=function(e,t){this.payload=e,this.meta=t},$=function(e,t){this.payload=e,this.meta=t},H=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0,r=G;n<r.length;n++){var i=r[n];"string"==typeof e[i]&&(t[i]=e[i])}return t}return{message:String(e)}};function Q(e,t,n){var r=R(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:w(m({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),i=R(e+"/pending",(function(e,t,n){return{payload:void 0,meta:w(m({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),o=R(e+"/rejected",(function(e,t,r,i,o){return{payload:i,error:(n&&n.serializeError||H)(e||"Rejected"),meta:w(m({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),u="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){},e}();return Object.assign((function(e){return function(c,a,f){var s,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):B(),p=new u,v=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:s||"Aborted"})}))})),y=!1,h=function(){return O(this,null,(function(){var u,s,h,g,b;return l(this,(function(l){switch(l.label){case 0:return l.trys.push([0,4,,5]),null===(m=g=null==(u=null==n?void 0:n.condition)?void 0:u.call(n,e,{getState:a,extra:f}))||"object"!=typeof m||"function"!=typeof m.then?[3,2]:[4,g];case 1:g=l.sent(),l.label=2;case 2:if(!1===g)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=!0,c(i(d,e,null==(s=null==n?void 0:n.getPendingMeta)?void 0:s.call(n,{requestId:d,arg:e},{getState:a,extra:f}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:c,getState:a,extra:f,requestId:d,signal:p.signal,rejectWithValue:function(e,t){return new J(e,t)},fulfillWithValue:function(e,t){return new $(e,t)}})).then((function(t){if(t instanceof J)throw t;return t instanceof $?r(t.payload,d,e,t.meta):r(t,d,e)}))])];case 3:return h=l.sent(),[3,5];case 4:return b=l.sent(),h=b instanceof J?o(null,d,e,b.payload,b.meta):o(b,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(h)&&h.meta.condition||c(h),[2,h]}var m}))}))}();return Object.assign(h,{abort:function(e){y&&(s=e,p.abort())},requestId:d,arg:e,unwrap:function(){return h.then(Y)}})}}),{pending:i,rejected:o,fulfilled:r,typePrefix:e})}function Y(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var Z=function(e,t){return(n=e)&&"function"==typeof n.match?e.match(t):e(t);var n};function ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some((function(e){return Z(e,t)}))}}function te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.every((function(e){return Z(e,t)}))}}function ne(e,t){if(!e||!e.meta)return!1;var n="string"==typeof e.meta.requestId,r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function re(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return ne(e,["pending"])}:re(e)?function(t){var n=e.map((function(e){return e.pending}));return ee.apply(void 0,n)(t)}:ie()(e[0])}function oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return ne(e,["rejected"])}:re(e)?function(t){var n=e.map((function(e){return e.rejected}));return ee.apply(void 0,n)(t)}:oe()(e[0])}function ue(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(e){return e&&e.meta&&e.meta.rejectedWithValue};return 0===e.length||re(e)?function(t){return te(oe.apply(void 0,e),n)(t)}:ue()(e[0])}function ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return ne(e,["fulfilled"])}:re(e)?function(t){var n=e.map((function(e){return e.fulfilled}));return ee.apply(void 0,n)(t)}:ce()(e[0])}function ae(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return ne(e,["pending","fulfilled","rejected"])}:re(e)?function(t){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];n.push(o.pending,o.rejected,o.fulfilled)}return ee.apply(void 0,n)(t)}:ae()(e[0])}var fe=function(e,t){if("function"!=typeof e)throw new TypeError(t+" is not a function")},le=function(){},se=function(e,t){return void 0===t&&(t=le),e.catch(t),e},de=function(e,t){e.addEventListener("abort",t,{once:!0})},pe=function(e,t){var n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},ve=function(e){this.code=e,this.name="TaskAbortError",this.message="task cancelled (reason: "+e+")"},ye=function(e){if(e.aborted)throw new ve(e.reason)},he=function(e){return se(new Promise((function(t,n){var r=function(){return n(new ve(e.reason))};e.aborted?r():de(e,r)})))},ge=function(e){return function(t){return se(Promise.race([he(e),t]).then((function(t){return ye(e),t})))}},be=function(e){var t=ge(e);return function(e){return t(new Promise((function(t){return setTimeout(t,e)})))}},me=Object.assign,we={},Oe="listenerMiddleware",je=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,i=e.predicate,o=e.effect;if(t)i=R(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return fe(o,"options.listener"),{predicate:i,type:t,effect:o}},Pe=function(e,t,n){try{e(t,n)}catch(e){setTimeout((function(){throw e}),0)}},Ae=R(Oe+"/add"),Se=R(Oe+"/removeAll"),Ee=R(Oe+"/remove"),_e=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,s([Oe+"/error"],e))},ke=function(e){e.pending.forEach((function(e){pe(e,"listener-cancelled")}))};function Te(e){var t=this;void 0===e&&(e={});var n=new Map,r=e.extra,i=e.onError,o=void 0===i?_e:i;fe(o,"onError");var u=function(e){for(var t=0,r=Array.from(n.values());t<r.length;t++){var i=r[t];if(e(i))return i}},c=function(e){var t=u((function(t){return t.effect===e.effect}));return t||(t=function(e){var t=je(e),n=t.type,r=t.predicate,i=t.effect;return{id:B(),effect:i,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}}(e)),function(e){return e.unsubscribe=function(){return n.delete(e.id)},n.set(e.id,e),function(t){e.unsubscribe(),(null==t?void 0:t.cancelActive)&&ke(e)}}(t)},a=function(e){var t=je(e),n=t.type,r=t.effect,i=t.predicate,o=u((function(e){return("string"==typeof n?e.type===n:e.predicate===i)&&e.effect===r}));return o&&(o.unsubscribe(),e.cancelActive&&ke(o)),!!o},f=function(e,i,u,a){return O(t,null,(function(){var t,f,s;return l(this,(function(d){switch(d.label){case 0:t=new AbortController,f=function(e,t){return function(n,r){return se(function(n,r){return O(void 0,null,(function(){var i,o,u,c;return l(this,(function(a){switch(a.label){case 0:ye(t),i=function(){},o=new Promise((function(t){i=e({predicate:n,effect:function(e,n){n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}})})),u=[he(t),o],null!=r&&u.push(new Promise((function(e){return setTimeout(e,r,null)}))),a.label=1;case 1:return a.trys.push([1,,3,4]),[4,Promise.race(u)];case 2:return c=a.sent(),ye(t),[2,c];case 3:return i(),[7];case 4:return[2]}}))}))}(n,r))}}(c,t.signal),d.label=1;case 1:return d.trys.push([1,3,4,5]),e.pending.add(t),[4,Promise.resolve(e.effect(i,me({},u,{getOriginalState:a,condition:function(e,t){return f(e,t).then(Boolean)},take:f,delay:be(t.signal),pause:ge(t.signal),extra:r,signal:t.signal,fork:(p=t.signal,function(e){fe(e,"taskExecutor");var t,n=new AbortController;t=n,de(p,(function(){return pe(t,p.reason)}));var r,i,o=(r=function(){return O(void 0,null,(function(){var t;return l(this,(function(r){switch(r.label){case 0:return ye(p),ye(n.signal),[4,e({pause:ge(n.signal),delay:be(n.signal),signal:n.signal})];case 1:return t=r.sent(),ye(n.signal),[2,t]}}))}))},i=function(){return pe(n,"task-completed")},O(void 0,null,(function(){var e;return l(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return t.sent(),[4,r()];case 2:return[2,{status:"ok",value:t.sent()}];case 3:return[2,{status:(e=t.sent())instanceof ve?"cancelled":"rejected",error:e}];case 4:return null==i||i(),[7];case 5:return[2]}}))})));return{result:ge(p)(o),cancel:function(){pe(n,"task-cancelled")}}}),unsubscribe:e.unsubscribe,subscribe:function(){n.set(e.id,e)},cancelActiveListeners:function(){e.pending.forEach((function(e,n,r){e!==t&&(pe(e,"listener-cancelled"),r.delete(e))}))}})))];case 2:return d.sent(),[3,5];case 3:return(s=d.sent())instanceof ve||Pe(o,s,{raisedBy:"effect"}),[3,5];case 4:return pe(t,"listener-completed"),e.pending.delete(t),[7];case 5:return[2]}var p}))}))},s=function(e){return function(){e.forEach(ke),e.clear()}}(n);return{middleware:function(e){return function(t){return function(r){if(Ae.match(r))return c(r.payload);if(!Se.match(r)){if(Ee.match(r))return a(r.payload);var i,u=e.getState(),l=function(){if(u===we)throw new Error(Oe+": getOriginalState can only be called synchronously");return u};try{if(i=t(r),n.size>0)for(var d=e.getState(),p=Array.from(n.values()),v=0,y=p;v<y.length;v++){var h=y[v],g=!1;try{g=h.predicate(r,d,u)}catch(e){g=!1,Pe(o,e,{raisedBy:"predicate"})}g&&f(h,r,e,l)}}finally{u=we}return i}s()}}},startListening:c,stopListening:a,clearListeners:s}}Object(r.c)()}.call(this,n(45))},45:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var a,f=[],l=!1,s=-1;function d(){l&&a&&(l=!1,a.length?f=a.concat(f):s=-1,f.length&&p())}function p(){if(!l){var e=c(d);l=!0;for(var t=f.length;t;){for(a=f,f=[];++s<t;)a&&a[s].run();s=-1,t=f.length}a=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function y(){}i.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];f.push(new v(e,t)),1!==f.length||l||c(p)},v.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},85:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=function(e,t){return e===t};function i(e,t){var n,i,o="object"==typeof t?t:{equalityCheck:t},u=o.equalityCheck,c=void 0===u?r:u,a=o.maxSize,f=void 0===a?1:a,l=o.resultEqualityCheck,s=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}}(c),d=1===f?(n=s,{get:function(e){return i&&n(i.key,e)?i.value:"NOT_FOUND"},put:function(e,t){i={key:e,value:t}},getEntries:function(){return i?[i]:[]},clear:function(){i=void 0}}):function(e,t){var n=[];function r(e){var r=n.findIndex((function(n){return t(e,n.key)}));if(r>-1){var i=n[r];return r>0&&(n.splice(r,1),n.unshift(i)),i.value}return"NOT_FOUND"}return{get:r,put:function(t,i){"NOT_FOUND"===r(t)&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(f,s);function p(){var t=d.get(arguments);if("NOT_FOUND"===t){if(t=e.apply(null,arguments),l){var n=d.getEntries(),r=n.find((function(e){return l(e.value,t)}));r&&(t=r.value)}d.put(arguments,t)}return t}return p.clearCache=function(){return d.clear()},p}function o(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"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}function u(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var u,c=0,a={memoizeOptions:void 0},f=r.pop();if("object"==typeof f&&(a=f,f=r.pop()),"function"!=typeof f)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof f+"]");var l=a,s=l.memoizeOptions,d=void 0===s?n:s,p=Array.isArray(d)?d:[d],v=o(r),y=e.apply(void 0,[function(){return c++,f.apply(null,arguments)}].concat(p)),h=e((function(){for(var e=[],t=v.length,n=0;n<t;n++)e.push(v[n].apply(null,arguments));return u=y.apply(null,e)}));return Object.assign(h,{resultFunc:f,memoizedResultFunc:y,dependencies:v,lastResult:function(){return u},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),h};return i}var c=u(i)}}); |