"use strict";function stringifyPostMsg(t){let s=t;if("object"==typeof t)try{s={type:"__stringify__",data:JSON.stringify(t)}}catch(t){}return s}function parsePostMsg(t){let s=t;if("__stringify__"===(null==t?void 0:t.type)&&t.data)try{s=JSON.parse(t.data)}catch(t){}return s}Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringifyPostMsg=stringifyPostMsg,exports.parsePostMsg=parsePostMsg;