"use strict";const e=require("../../vendor.js");require("../../libraries/request.js"),require("../../store/useWatermarkStore.js");const r=require("../../store/useWeAppAuthStore.js");require("../../store/useWorkStore.js"),require("../../libraries/userUserLogin.js"),require("../../../gen/Apis.js"),require("../../libraries/apiLoading.js"),Math||(o+n)();const o=()=>"./Loading.js",n=()=>"./NetworkError.js",s=e.defineComponent({__name:"cc-root-view",setup(o){const n=r.useWeAppAuthStore();return e.onLoad(async()=>{var r;console.log("cc-root-view onLoad 1",null==n?void 0:n.loading,null==n?void 0:n.hasError),await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched),console.log("cc-root-view onLoad 2")}),e.onShow(async()=>{var r;await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched)}),(r,o)=>e.e({a:e.unref(n).loading},(e.unref(n).loading||e.unref(n).hasError,{}),{b:e.unref(n).hasError})}});wx.createComponent(s);
