import{St as e,x as t}from"./vue.runtime.esm-bundler-DpGzKKN4.js";var n=e(`adap-preview`),r=e(`0`),i=t(()=>r.value===`1`),a=()=>{n.value=window.sessionStorage.getItem(`previewEnvVal`)||`adap-preview`,r.value=window.sessionStorage.getItem(`isScreenshotEnvVal`)||`0`},o=(e,t)=>{window.sessionStorage.setItem(`previewEnvVal`,e),window.sessionStorage.setItem(`isScreenshotEnvVal`,t),a()},s=e=>{window.sessionStorage.setItem(`adapShareUuid`,e)},c=()=>window.sessionStorage.getItem(`adapShareUuid`),l=e=>(e&&a(),{previewEnv:n,isScreenshotEnv:r,hiddenSwitchPortalPanel:i});export{l as i,o as n,s as r,c as t};