import{b as a,p as n}from"./index.7994470a.js";import{q as s}from"./index.570461cd.js";const i=a(),u=()=>""+new Date().getTime()+Math.floor(Math.random()*1e6),g=(e,c,o={})=>{const r=localStorage.getItem("behaviorId")||"",t=s.stringifyUrl({url:location.origin+"/accompany",query:{id:e.id,behaviorId:r,client:i.isStudent?"student":"teacher",...o}});console.log(t),n({api:"openAccompanyWebView",content:{url:t,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};export{u as g,g as m};
