'use strict';
import { setComponentState, getState } from '../../../fd-toolbox/state/component-states.js';

var __defProp=Object['defineProperty'],__name=(_0x34351,_0x185f50)=>__defProp(_0x34351,'name',{'value':_0x185f50,'configurable':!![]});function saveComponentState(_0x1df579,_0x5d5e27){setComponentState(_0x1df579+'_componentState',_0x5d5e27);}__name(saveComponentState,'saveComponentState');function restoreComponentState(_0x12f8c1,_0x257668){const _0x3d605e=getState(_0x12f8c1+'_componentState');if(_0x3d605e)_0x257668(_0x3d605e);}__name(restoreComponentState,'restoreComponentState');function getComponentState(_0x2cc70c){return getState(_0x2cc70c+'_componentState');}__name(getComponentState,'getComponentState');

export { getComponentState, restoreComponentState, saveComponentState };
