12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- "use strict";
- exports.id = 46570;
- exports.ids = [46570];
- exports.modules = {
- /***/ 25742:
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "$Z": () => (/* binding */ selectLoadedFontFaces),
- /* harmony export */ "ZP": () => (__WEBPACK_DEFAULT_EXPORT__),
- /* harmony export */ "wC": () => (/* binding */ addLoadedFontFace)
- /* harmony export */ });
- /* unused harmony exports initialState, fontFacesSlice, resetLoadedFontFaces */
- /* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75184);
- /* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony import */ var _redux_types_SliceName__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61243);
- const initialState = {
- loadedFontFaces: []
- };
- const fontFacesSlice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({
- name: _redux_types_SliceName__WEBPACK_IMPORTED_MODULE_1__/* ["default"].FONT_FACES */ .Z.FONT_FACES,
- initialState,
- reducers: {
- addLoadedFontFace: (state, action)=>{
- if (state.loadedFontFaces.includes(action.payload)) {
- return state;
- }
- return {
- ...state,
- loadedFontFaces: [
- ...state.loadedFontFaces,
- action.payload
- ]
- };
- },
- resetLoadedFontFaces: (state)=>({
- ...state,
- loadedFontFaces: []
- })
- }
- });
- const selectLoadedFontFaces = (state)=>state.fontFaces.loadedFontFaces;
- const { addLoadedFontFace , resetLoadedFontFaces } = fontFacesSlice.actions;
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fontFacesSlice.reducer);
- /***/ }),
- /***/ 7522:
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
- /* harmony export */ });
- // A utility to check if the code is running on the client (vs. nextjs server)
- const isClient = !!( false && 0);
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isClient);
- /***/ })
- };
- ;
- //# sourceMappingURL=46570.js.map
|