Files
safePower/dist/assets/087AC4D233B64EB0responsive.oUR5unKe.js

5 lines
627 B
JavaScript
Raw Normal View History

2026-04-29 09:15:49 +08:00
/*!
Build based on gin-vue-admin
Time : 1776662816000 */
import{O as e,q as n,av as t,aw as o,I as i}from"./087AC4D233B64EB0index.D-00lXMX.js";function s(s){const d=e();const r=t(function(){if(!document.hidden){const e=document.body.getBoundingClientRect().width-1<992;d.toggleDevice(e?"mobile":"desktop")}},100);n(()=>{r()}),o(()=>{!function(e,n,t,o=!1){e.addEventListener&&"function"==typeof e.addEventListener&&e.addEventListener(n,t,o)}(window,"resize",r)}),i(()=>{!function(e,n,t,o=!1){e.removeEventListener&&"function"==typeof e.removeEventListener&&e.removeEventListener(n,t,o)}(window,"resize",r)})}export{s as u};