"use strict";(self.webpackChunkmofsl_stocomo_web=self.webpackChunkmofsl_stocomo_web||[]).push([[9967],{31305(e,t,r){r.d(t,{Kq:()=>s,Ng:()=>K,wA:()=>Y,d4:()=>G});var n=r(20975),o=n.createContext(null);var u=function(e){e()},i=function(){return u};var a={notify:function(){},get:function(){return[]}};function c(e,t){var r,n=a;function o(){c.onStateChange&&c.onStateChange()}function u(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){var e=i(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,o=r={callback:e,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){n&&null!==t&&(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var c={addNestedSub:function(e){return u(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(r)},trySubscribe:u,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=a)},getListeners:function(){return n}};return c}var f="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;const s=function(e){var t=e.store,r=e.context,u=e.children,i=(0,n.useMemo)(function(){var e=c(t);return{store:t,subscription:e}},[t]),a=(0,n.useMemo)(function(){return t.getState()},[t]);f(function(){var e=i.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[i,a]);var s=r||o;return n.createElement(s.Provider,{value:i},u)};var l=r(64180),p=r(86887),d=r(35799),v=r.n(d),y=r(86962),h=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],m=["reactReduxForwardedRef"],b=[],w=[null,null];function g(e,t){var r=e[1];return[t.payload,r+1]}function E(e,t,r){f(function(){return e.apply(void 0,t)},r)}function S(e,t,r,n,o,u,i){e.current=n,t.current=o,r.current=!1,u.current&&(u.current=null,i())}function _(e,t,r,n,o,u,i,a,c,f){if(e){var s=!1,l=null,p=function(){if(!s){var e,r,p=t.getState();try{e=n(p,o.current)}catch(e){r=e,l=e}r||(l=null),e===u.current?i.current||c():(u.current=e,a.current=e,i.current=!0,f({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=p,r.trySubscribe(),p();return function(){if(s=!0,r.tryUnsubscribe(),r.onStateChange=null,l)throw l}}}var P=function(){return[null,0]};function O(e,t){void 0===t&&(t={});var r=t,u=r.getDisplayName,i=void 0===u?function(e){return"ConnectAdvanced("+e+")"}:u,a=r.methodName,f=void 0===a?"connectAdvanced":a,s=r.renderCountProp,d=void 0===s?void 0:s,O=r.shouldHandleStateChanges,C=void 0===O||O,R=r.storeKey,N=void 0===R?"store":R,x=(r.withRef,r.forwardRef),A=void 0!==x&&x,k=r.context,j=void 0===k?o:k,T=(0,p.A)(r,h),M=j;return function(t){var r=t.displayName||t.name||"Component",o=i(r),u=(0,l.A)({},T,{getDisplayName:i,methodName:f,renderCountProp:d,shouldHandleStateChanges:C,storeKey:N,displayName:o,wrappedComponentName:r,WrappedComponent:t}),a=T.pure;var s=a?n.useMemo:function(e){return e()};function h(r){var o=(0,n.useMemo)(function(){var e=r.reactReduxForwardedRef,t=(0,p.A)(r,m);return[r.context,e,t]},[r]),i=o[0],a=o[1],f=o[2],d=(0,n.useMemo)(function(){return i&&i.Consumer&&(0,y.isContextConsumer)(n.createElement(i.Consumer,null))?i:M},[i,M]),v=(0,n.useContext)(d),h=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(v)&&Boolean(v.store);var O=h?r.store:v.store,R=(0,n.useMemo)(function(){return function(t){return e(t.dispatch,u)}(O)},[O]),N=(0,n.useMemo)(function(){if(!C)return w;var e=c(O,h?null:v.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[O,h,v]),x=N[0],A=N[1],k=(0,n.useMemo)(function(){return h?v:(0,l.A)({},v,{subscription:x})},[h,v,x]),j=(0,n.useReducer)(g,b,P),T=j[0][0],$=j[1];if(T&&T.error)throw T.error;var I=(0,n.useRef)(),q=(0,n.useRef)(f),D=(0,n.useRef)(),U=(0,n.useRef)(!1),B=s(function(){return D.current&&f===q.current?D.current:R(O.getState(),f)},[O,T,f]);E(S,[q,I,U,f,B,D,A]),E(_,[C,O,x,R,q,I,U,D,A,$],[O,x,R]);var F=(0,n.useMemo)(function(){return n.createElement(t,(0,l.A)({},B,{ref:a}))},[a,t,B]);return(0,n.useMemo)(function(){return C?n.createElement(d.Provider,{value:k},F):F},[d,F,k])}var O=a?n.memo(h):h;if(O.WrappedComponent=t,O.displayName=h.displayName=o,A){var R=n.forwardRef(function(e,t){return n.createElement(O,(0,l.A)({},e,{reactReduxForwardedRef:t}))});return R.displayName=o,R.WrappedComponent=t,v()(R,t)}return v()(O,t)}}function C(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function R(e,t){if(C(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o=0;n--){var o=t[n](e);if(o)return o}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function F(e,t){return e===t}function L(e){var t=void 0===e?{}:e,r=t.connectHOC,n=void 0===r?O:r,o=t.mapStateToPropsFactories,u=void 0===o?j:o,i=t.mapDispatchToPropsFactories,a=void 0===i?k:i,c=t.mergePropsFactories,f=void 0===c?M:c,s=t.selectorFactory,d=void 0===s?D:s;return function(e,t,r,o){void 0===o&&(o={});var i=o,c=i.pure,s=void 0===c||c,v=i.areStatesEqual,y=void 0===v?F:v,h=i.areOwnPropsEqual,m=void 0===h?R:h,b=i.areStatePropsEqual,w=void 0===b?R:b,g=i.areMergedPropsEqual,E=void 0===g?R:g,S=(0,p.A)(i,U),_=B(e,u,"mapStateToProps"),P=B(t,a,"mapDispatchToProps"),O=B(r,f,"mergeProps");return n(d,(0,l.A)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:P,initMergeProps:O,pure:s,areStatesEqual:y,areOwnPropsEqual:m,areStatePropsEqual:w,areMergedPropsEqual:E},S))}}const K=L();function H(){return(0,n.useContext)(o)}function W(e){void 0===e&&(e=o);var t=e===o?H:function(){return(0,n.useContext)(e)};return function(){return t().store}}var V=W();function z(e){void 0===e&&(e=o);var t=e===o?V:W(e);return function(){return t().dispatch}}var Y=z(),Z=function(e,t){return e===t};function X(e){void 0===e&&(e=o);var t=e===o?H:function(){return(0,n.useContext)(e)};return function(e,r){void 0===r&&(r=Z);var o=t(),u=function(e,t,r,o){var u,i=(0,n.useReducer)(function(e){return e+1},0)[1],a=(0,n.useMemo)(function(){return c(r,o)},[r,o]),s=(0,n.useRef)(),l=(0,n.useRef)(),p=(0,n.useRef)(),d=(0,n.useRef)(),v=r.getState();try{if(e!==l.current||v!==p.current||s.current){var y=e(v);u=void 0!==d.current&&t(y,d.current)?d.current:y}else u=d.current}catch(e){throw s.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\n"),e}return f(function(){l.current=e,p.current=v,d.current=u,s.current=void 0}),f(function(){function e(){try{var e=r.getState();if(e===p.current)return;var n=l.current(e);if(t(n,d.current))return;d.current=n,p.current=e}catch(e){s.current=e}i()}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}},[r,a]),u}(e,r,o.store,o.subscription);return(0,n.useDebugValue)(u),u}}var J,G=X(),Q=r(34458);J=Q.unstable_batchedUpdates,u=J},77826(e,t,r){r.d(t,{N_:()=>y,k2:()=>b});var n=r(98020),o=r(81463),u=r(20975),i=r(25943),a=r(64180),c=r(86887),f=r(25448);u.Component;u.Component;var s=function(e,t){return"function"==typeof e?e(t):e},l=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},p=function(e){return e},d=u.forwardRef;void 0===d&&(d=p);var v=d(function(e,t){var r=e.innerRef,n=e.navigate,o=e.onClick,i=(0,c.A)(e,["innerRef","navigate","onClick"]),f=i.target,s=(0,a.A)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||f&&"_self"!==f||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),n())}});return s.ref=p!==d&&t||r,u.createElement("a",s)});var y=d(function(e,t){var r=e.component,o=void 0===r?v:r,y=e.replace,h=e.to,m=e.innerRef,b=(0,c.A)(e,["component","replace","to","innerRef"]);return u.createElement(n.XZ.Consumer,null,function(e){e||(0,f.A)(!1);var r=e.history,n=l(s(h,e.location),e.location),c=n?r.createHref(n):"",v=(0,a.A)({},b,{href:c,navigate:function(){var t=s(h,e.location),n=(0,i.AO)(e.location)===(0,i.AO)(l(t));(y||n?r.replace:r.push)(t)}});return p!==d?v.ref=t||m:v.innerRef=m,u.createElement(o,v)})}),h=function(e){return e},m=u.forwardRef;void 0===m&&(m=h);var b=m(function(e,t){var r=e["aria-current"],o=void 0===r?"page":r,i=e.activeClassName,p=void 0===i?"active":i,d=e.activeStyle,v=e.className,b=e.exact,w=e.isActive,g=e.location,E=e.sensitive,S=e.strict,_=e.style,P=e.to,O=e.innerRef,C=(0,c.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return u.createElement(n.XZ.Consumer,null,function(e){e||(0,f.A)(!1);var r=g||e.location,i=l(s(P,r),r),c=i.pathname,R=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),N=R?(0,n.B6)(r.pathname,{path:R,exact:b,sensitive:E,strict:S}):null,x=!!(w?w(N,r):N),A="function"==typeof v?v(x):v,k="function"==typeof _?_(x):_;x&&(A=function(){for(var e=arguments.length,t=new Array(e),r=0;rs,Tw:()=>v,Zz:()=>d,y$:()=>f,zH:()=>p});var n=r(40319);function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var u="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function c(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function f(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(o(1));return r(f)(e,t)}if("function"!=typeof e)throw new Error(o(2));var i=e,s=t,l=[],p=l,d=!1;function v(){p===l&&(p=l.slice())}function y(){if(d)throw new Error(o(3));return s}function h(e){if("function"!=typeof e)throw new Error(o(4));if(d)throw new Error(o(5));var t=!0;return v(),p.push(e),function(){if(t){if(d)throw new Error(o(6));t=!1,v();var r=p.indexOf(e);p.splice(r,1),l=null}}}function m(e){if(!c(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(d)throw new Error(o(9));try{d=!0,s=i(s,e)}finally{d=!1}for(var t=l=p,r=0;r