Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.130/page_editor/app/thunks/updateFragmentConfiguration",["module","exports","require","../actions/updateFragmentEntryLinkConfiguration","../actions/updatePageContents","../config/constants/freemarkerFragmentEntryProcessor","../services/FragmentService","../services/InfoItemService"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({configurationValues:e,fragmentEntryLink:t}){const{editableValues:n,fragmentEntryLinkId:c}=t,s=f(f({},n),{},{[o.FREEMARKER_FRAGMENT_ENTRY_PROCESSOR]:e});return(e,t)=>i.default.updateConfigurationValues({editableValues:s,fragmentEntryLinkId:c,languageId:t().languageId,onNetworkStatus:e}).then((({fragmentEntryLink:t,layoutData:n})=>{e((0,r.default)({fragmentEntryLink:t,fragmentEntryLinkId:c,layoutData:n}))})).then((()=>{u.default.getPageContents({onNetworkStatus:e,segmentsExperienceId:t().segmentsExperienceId}).then((t=>{e((0,a.default)({pageContents:t}))}))}))};var r=c(n("../actions/updateFragmentEntryLinkConfiguration")),a=c(n("../actions/updatePageContents")),o=n("../config/constants/freemarkerFragmentEntryProcessor"),i=c(n("../services/FragmentService")),u=c(n("../services/InfoItemService"));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}}}));
//# sourceMappingURL=updateFragmentConfiguration.js.map