const t="HTML_PREVIEW_PAYLOAD",s=e=>{try{sessionStorage.setItem(t,JSON.stringify(e))}catch(r){console.error("setHtmlPreview 失败",r)}},o=()=>{try{const e=sessionStorage.getItem(t);return e?JSON.parse(e):null}catch(e){return console.error("getHtmlPreview 失败",e),null}};export{o as g,s};
