Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/plugins/page-design-options/hooks/useStyleBook",["module","exports","require","liferay!frontend-js-react-web$react","../../../app/config/index"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.StyleBookContextProvider=function({children:t}){const[r,u]=(0,n.useState)({styleBookEntryId:o.config.styleBookEntryId,tokenValues:o.config.frontendTokens});return n.default.createElement(e.Provider,{value:u},n.default.createElement(a.Provider,{value:r},t))},t.useSetStyleBook=function(){return(0,n.useContext)(e)},t.useStyleBook=function(){return(0,n.useContext)(a)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react")),o=r("../../../app/config/index");function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}const e=n.default.createContext((()=>{})),a=n.default.createContext({styleBookEntryId:"",tokenValues:{}})}}));
//# sourceMappingURL=useStyleBook.js.map