System.register(["./index-legacy.f8641610.js"],(function(i){"use strict";var e,t,n,o,a;return{setters:[function(i){e=i.T,t=i.b,n=i.s,o=i.p,a=i.D}],execute:function(){var r=i("s",(function(i,t){var n={url:i,action:(null==t?void 0:t.action)||"h5",pageTag:(null==t?void 0:t.pageTag)||1},o=encodeURIComponent(JSON.stringify(n));console.log(o,"query"),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="ColexiuStudent://linkUrl=".concat(o):/(Android)/i.test(navigator.userAgent)?window.location.href="colexiustudent://html:8888/SplashActivity?url=".concat(o):e("请用手机或移动设备打开")}));i("i",(function(i){if(t().isApp){if("STUDENT"===n.platformType)return window.location.replace(i),void(t().ios?window.location.replace(i):(o({api:"openWebView",content:{url:i,orientation:1,isHideTitle:!1}}),o({api:"back"})));"TEACHER"===n.platformType&&a.alert({title:"提示",message:"请使用酷乐秀学生端扫码打开",confirmButtonColor:"#2dc7aa"}).then((function(){o({api:"back"})}))}else r(i)}))}}}));