Liferay.Loader.define("analytics-reports-web@2.0.38/js/context/StoreContext",["module","exports","require","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.StoreContextProvider=function({children:e,value:t}){const[r,o]=(0,n.useReducer)(u,a(a({},f),t));return n.default.createElement(p.Provider,{value:o},n.default.createElement(s.Provider,{value:r},e))},t.StoreStateContext=t.StoreDispatchContext=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var a=n?Object.getOwnPropertyDescriptor(e,c):null;a&&(a.get||a.set)?Object.defineProperty(r,c,a):r[c]=e[c]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react"));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const e="ADD_WARNING",f={publishedToday:!1,warning:!1},l=()=>{},p=n.default.createContext((()=>{}));t.StoreDispatchContext=p;const s=(0,n.createContext)([f,l]);function u(t=f,r){let n=t;switch(r.type){case e:n=t.warning?t:a(a({},t),{},{warning:!0});break;default:return t}return n}t.StoreStateContext=s}}));
//# sourceMappingURL=StoreContext.js.map