var c=Object.defineProperty;var s=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var a=(t,o,e)=>o in t?c(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,n=(t,o)=>{for(var e in o||(o={}))l.call(o,e)&&a(t,e,o[e]);if(s)for(var e of s(o))m.call(o,e)&&a(t,e,o[e]);return t};import"./orderStatus.81f9c36b.js";import{b as d,p}from"./index.9e4b607f.js";import"./vendor.3506a68e.js";import{q as u}from"./index.339fc024.js";const g=d(),w=()=>""+new Date().getTime()+Math.floor(Math.random()*1e6),x=(t,o,e={})=>{const i=localStorage.getItem("behaviorId")||"",r=u.stringifyUrl({url:location.origin+"/accompany",query:n({id:t.id,behaviorId:i,client:g.isTeacher?"teacher":"student"},e)});console.log(r),p({api:"openAccompanyWebView",content:{url:r,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};export{w as g,x as m};
