(function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".auto-without-permission{width:100%;height:100vh;background:white}.auto-without-permission .no-permission-layout{width:100%;height:100vh}.auto-without-permission .no-permission-layout .no-permission-header{min-width:992px;background-color:#fff;padding:0 24px;display:flex;justify-content:space-between;align-items:center;z-index:1000;filter:drop-shadow(0px 4px 12px rgba(7,12,20,.12));color:#070c14}.auto-without-permission .no-permission-layout .no-permission-header .header-left{display:flex;align-items:center;gap:24px}.auto-without-permission .no-permission-layout .no-permission-content{width:100%;height:100%;display:flex;flex-wrap:wrap;justify-content:center;align-content:center}.auto-without-permission .no-permission-layout .no-permission-content .content{height:366px;display:flex;gap:24px}.auto-without-permission .no-permission-layout .no-permission-content .content .permission-img{width:440px;height:100%}.auto-without-permission .no-permission-layout .no-permission-content .content .permission-desc{display:flex;flex-direction:column;height:auto;align-items:flex-end;justify-content:flex-end;margin-bottom:70px;flex-grow:1}.auto-without-permission .no-permission-layout .no-permission-content .content .permission-desc .title{height:64px;font-size:36px;font-weight:500;color:#000;line-height:64px}.auto-without-permission .no-permission-layout .no-permission-content .content .permission-desc .text{width:192px;height:24px;font-size:16px;font-weight:400;color:#00000073;line-height:24px}.user-information .user-information-pannel{color:#070c14;cursor:pointer}.user-information .user-information-pannel:hover{color:#9c24f2}")),document.head.appendChild(o)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
import "react/jsx-runtime";
import "@glodon-aiot/react-components";
import { AuthProvider as i, authProvider as p, refreshToken as u } from "./auth/AuthProvider.mjs";
import { default as m } from "./auth/RequireAuth.mjs";
import { authApi as d, dataApi as h } from "./auth/api/apis.mjs";
import { default as s } from "./auth/components/NoPermission/index.mjs";
import { AuthContext as n, useAuth as l } from "./auth/AuthContext.mjs";
import { JWT as T, isExpired as k, productCode as v, tokenTool as C } from "./auth/tool.mjs";
export {
  n as AuthContext,
  i as AuthProvider,
  T as JWT,
  m as RequireAuth,
  s as WithoutPermission,
  d as authApi,
  p as authProvider,
  h as dataApi,
  k as isExpired,
  v as productCode,
  u as refreshToken,
  C as tokenTool,
  l as useAuth
};
