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