hs-admin-ui 16.4.2 → 16.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,7 +98,7 @@ Pn.version="2.30.1";uBe(Wi);Pn.fn=bn;Pn.min=ZFe;Pn.max=QFe;Pn.now=e$e;Pn.utc=eu;
98
98
  * https://github.com/mumuy/browser
99
99
  *
100
100
  * Created on: 2024-01-16
101
- */function q8(e){return q8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q8(e)}var tYe={name:"Safari",match:function(e){return e.indexOf("Safari")>-1},version:function(e){var t;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},lh={name:"Chrome",match:function(e){return e.indexOf("Chrome")>-1||e.indexOf("CriOS")>-1},version:function(e){var t,n;return((t=e.match(/Chrome\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/CriOS\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},nYe={name:"Edge",match:function(e){return e.indexOf("Edge")>-1||e.indexOf("Edg/")>-1||e.indexOf("EdgA")>-1||e.indexOf("EdgiOS")>-1},version:function(e){var t,n,o,a;return((t=e.match(/Edge\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/Edg\/([\d.]+)/))===null||n===void 0?void 0:n[1])||((o=e.match(/EdgA\/([\d.]+)/))===null||o===void 0?void 0:o[1])||((a=e.match(/EdgiOS\/([\d.]+)/))===null||a===void 0?void 0:a[1])||""}},rYe={name:"IE",match:function(e){return e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1},version:function(e){var t,n;return((t=e.match(/MSIE ([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/rv:([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},iYe={name:"Firefox",match:function(e){return e.indexOf("Firefox")>-1||e.indexOf("FxiOS")>-1},version:function(e){var t,n;return((t=e.match(/Firefox\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/FxiOS\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},oYe={name:"Firefox Focus",match:function(e){return e.indexOf("Focus")>-1},version:function(e){var t;return((t=e.match(/Focus\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},aYe={name:"Chromium",match:function(e){return e.indexOf("Chromium")>-1},version:function(e){var t;return((t=e.match(/Chromium\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},sYe={name:"Opera",match:function(e){return e.indexOf("Opera")>-1||e.indexOf("OPR")>-1},version:function(e){var t,n;return((t=e.match(/Opera\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/OPR\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},lYe={name:"Vivaldi",match:function(e){return e.indexOf("Vivaldi")>-1},version:function(e){var t;return((t=e.match(/Vivaldi\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},cYe={name:"Yandex",match:function(e){return e.indexOf("YaBrowser")>-1},version:function(e){var t;return((t=e.match(/YaBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},I4={};typeof globalThis<"u"?I4=globalThis:typeof self<"u"?I4=self:typeof window<"u"?I4=window:typeof global<"u"&&(I4=global);var Ar=I4,uYe={name:"Brave",match:function(e){var t;return!(Ar==null||(t=Ar.navigator)===null||t===void 0||!t.brave)},version:function(e){var t;return((t=e.match(/Chrome\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},dYe={name:"Arora",match:function(e){return e.indexOf("Arora")>-1},version:function(e){var t;return((t=e.match(/Arora\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},fYe={name:"Lunascape",match:function(e){return e.indexOf("Lunascape")>-1},version:function(e){var t;return((t=e.match(/Lunascape[\/\s]([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},hYe={name:"QupZilla",match:function(e){return e.indexOf("QupZilla")>-1},version:function(e){var t;return((t=e.match(/QupZilla[\/\s]([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},pYe={name:"Coc Coc",match:function(e){return e.indexOf("coc_coc_browser")>-1},version:function(e){var t;return((t=e.match(/coc_coc_browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},mYe={name:"Kindle",match:function(e){return e.indexOf("Kindle")>-1||e.indexOf("Silk/")>-1},version:function(e){var t;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},vYe={name:"Iceweasel",match:function(e){return e.indexOf("Iceweasel")>-1},version:function(e){var t;return((t=e.match(/Iceweasel\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},gYe={name:"Konqueror",match:function(e){return e.indexOf("Konqueror")>-1},version:function(e){var t;return((t=e.match(/Konqueror\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},_Ye={name:"Iceape",match:function(e){return e.indexOf("Iceape")>-1},version:function(e){var t;return((t=e.match(/Iceape\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},yYe={name:"SeaMonkey",match:function(e){return e.indexOf("SeaMonkey")>-1},version:function(e){var t;return((t=e.match(/SeaMonkey\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},bYe={name:"Epiphany",match:function(e){return e.indexOf("Epiphany")>-1},version:function(e){var t;return((t=e.match(/Epiphany\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},xYe={name:"Huawei",match:function(e){return e.indexOf("HuaweiBrowser")>-1||e.indexOf("HUAWEI")>-1||e.indexOf("HONOR")>-1||e.indexOf("HBPC/")>-1},version:function(e){var t,n,o;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/HuaweiBrowser\/([\d.]+)/))===null||n===void 0?void 0:n[1])||((o=e.match(/HBPC\/([\d.]+)/))===null||o===void 0?void 0:o[1])||""}},EYe={name:"OPPO",match:function(e){return e.indexOf("HeyTapBrowser")>-1||e.indexOf("OPPO")>-1},version:function(e){var t;return((t=e.match(/HeyTapBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},wYe={name:"Vivo",match:function(e){return e.indexOf("VivoBrowser")>-1},version:function(e){var t;return((t=e.match(/VivoBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},SYe={name:"Xiaomi",match:function(e){return e.indexOf("MiuiBrowser")>-1},version:function(e){var t;return((t=e.match(/MiuiBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},CYe={name:"Meizu",match:function(e){return e.indexOf("MZBrowser")>-1},version:function(e){var t;return((t=e.match(/MZBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},TYe={name:"Samsung",match:function(e){return e.indexOf("SamsungBrowser")>-1},version:function(e){var t;return((t=e.match(/SamsungBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}};function Uf(e,t){var n,o=Ar==null||(n=Ar.navigator)===null||n===void 0?void 0:n.mimeTypes;for(var a in o)if(o[a][e]&&o[a][e]==t)return o[a];return null}var Y7={name:"360",match:function(e){var t=!1;if(Ar!=null&&Ar.chrome){var n=e.replace(/^.*Chrome\/([\d]+).*$/,"$1");Uf("type","application/360softmgrplugin")||Uf("type","application/mozilla-npqihooquicklogin")||n>36&&Ar!=null&&Ar.showModalDialog?t=!0:n>45&&!(t=Uf("type","application/vnd.chromium.remoting-viewer"))&&n>=69&&(t=Uf("type","application/hwepass2001.installepass2001")||Uf("type","application/asx"))}return e.indexOf("QihooBrowser")>-1||e.indexOf("QHBrowser")>-1||t},version:function(e){var t;return((t=e.match(/QihooBrowser(HD)?\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},IYe={name:"360SE",match:function(e){var t,n=!1;return Y7.match(e)&&(Uf("type","application/gameplugin")||Ar!=null&&(t=Ar.navigator)!==null&&t!==void 0&&(t=t.userAgentData)!==null&&t!==void 0&&t.brands.filter(function(o){return o.brand=="Not.A/Brand"}).length)&&(n=!0),e.indexOf("360SE")>-1||n},version:function(e){return{114:"15.0",108:"14.0",86:"13.0",78:"12.0",69:"11.0",63:"10.0",55:"9.1",45:"8.1",42:"8.0",31:"7.0",21:"6.3"}[parseInt(lh.version(e))]||""}},kYe={name:"360EE",match:function(e){var t=!1;if(Uf("type","application/cenroll.cenroll.version.1")||Uf("type","application/hwepass2001.installepass2001"))t=!0;else if(Y7.match(e)){var n;Ar!=null&&(n=Ar.navigator)!==null&&n!==void 0&&(n=n.userAgentData)!==null&&n!==void 0&&n.brands.filter(function(o){return o.brand=="Not A(Brand"}).length&&(t=!0)}return e.indexOf("360EE")>-1||t},version:function(e){return{119:"(X)22.0",108:"14.0",95:"(X)21.0",86:"13.0",78:"12.0",69:"11.0",63:"9.5",55:"9.0",50:"8.7",30:"7.5"}[parseInt(lh.version(e))]||""}},AYe={name:"UC",match:function(e){return e.indexOf("UCBrowser")>-1||e.indexOf(" UBrowser")>-1||e.indexOf("UCWEB")>-1},version:function(e){var t;return((t=e.match(/UC?Browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},DYe={name:"QQBrowser",match:function(e){return e.indexOf("QQBrowser")>-1},version:function(e){var t;return((t=e.match(/QQBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},NYe={name:"QQ",match:function(e){return e.indexOf("QQ/")>-1},version:function(e){var t;return((t=e.match(/QQ\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},RYe={name:"Baidu",match:function(e){return e.indexOf("Baidu")>-1||e.indexOf("BIDUBrowser")>-1||e.indexOf("baidubrowser")>-1||e.indexOf("baiduboxapp")>-1||e.indexOf("BaiduD")>-1},version:function(e){var t,n;return((t=e.match(/BIDUBrowser[\s\/]([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/baiduboxapp\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},OYe={name:"Maxthon",match:function(e){return e.indexOf("Maxthon")>-1||(Ar==null?void 0:Ar.maxthon)},version:function(e){var t;return{109:"7.0",78:"6.0"}[parseInt(lh.version(e))]||((t=e.match(/Maxthon\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},MYe={name:"Sogou",match:function(e){return e.indexOf("MetaSr")>-1||e.indexOf("Sogou")>-1},version:function(e){var t,n;return{94:"12.0",80:"11.0"}[((t=e.match(/Chrome\/([\d]+)/))===null||t===void 0?void 0:t[1])||""]||((n=e.match(/SogouMobileBrowser\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},PYe={name:"Liebao",match:function(e){return e.indexOf("LBBROWSER")>-1||e.indexOf("LieBaoFast")>-1||(Ar==null?void 0:Ar.liebao)},version:function(e){var t="";e.indexOf("LieBaoFast")>-1&&(t=e.replace(/LieBaoFast\/([\d.]+)/,"$1"));var n=parseInt(lh.version(e));return t||{79:"8.0",57:"6.5",49:"6.0",46:"5.9",42:"5.3",39:"5.2",34:"5.0",29:"4.5",21:"4.0"}[n]||""}},VYe={name:"2345Explorer",match:function(e){var t,n,o=(Ar==null?void 0:Ar.chrome)&&((Ar==null||(t=Ar.chrome)===null||t===void 0?void 0:t.adblock2345)||(Ar==null||(n=Ar.chrome)===null||n===void 0?void 0:n.common2345));return e.indexOf("2345Explorer")>-1||e.indexOf("Mb2345Browser")>-1||e.indexOf("2345chrome")>-1||o},version:function(e){var t,n;return{69:"10.0",55:"9.9"}[parseInt(lh.version(e))]||((t=e.match(/2345Explorer\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/Mb2345Browser\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},LYe={name:"115Browser",match:function(e){return e.indexOf("115Browser")>-1},version:function(e){var t;return((t=e.match(/115Browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},BYe={name:"TheWorld",match:function(e){return e.indexOf("TheWorld")>-1},version:function(e){var t;return((t=e.match(/TheWorld ([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},FYe={name:"Quark",match:function(e){return e.indexOf("Quark")>-1},version:function(e){var t;return((t=e.match(/Quark\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},$Ye={name:"Qiyu",match:function(e){return e.indexOf("Qiyu")>-1},version:function(e){var t;return((t=e.match(/Qiyu\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},UYe={name:"Wechat",match:function(e){return e.indexOf("MicroMessenger")>-1},version:function(e){var t;return((t=e.match(/MicroMessenger\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},zYe={name:"WechatWork",match:function(e){return e.indexOf("wxwork/")>-1},version:function(e){var t;return((t=e.match(/wxwork\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},HYe={name:"Taobao",match:function(e){return e.indexOf("AliApp(TB")>-1},version:function(e){var t;return((t=e.match(/AliApp\(TB\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},WYe={name:"Alipay",match:function(e){return e.indexOf("AliApp(AP")>-1},version:function(e){var t;return((t=e.match(/AliApp\(AP\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},jYe={name:"Weibo",match:function(e){return e.indexOf("Weibo")>-1},version:function(e){var t;return((t=e.match(/weibo__([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},GYe={name:"Douban",match:function(e){return e.indexOf("com.douban.frodo")>-1},version:function(e){var t;return((t=e.match(/com.douban.frodo\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},qYe={name:"Suning",match:function(e){return e.indexOf("SNEBUY-APP")>-1},version:function(e){var t;return((t=e.match(/SNEBUY-APP([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},YYe={name:"iQIYI",match:function(e){return e.indexOf("IqiyiApp")>-1},version:function(e){var t;return((t=e.match(/IqiyiVersion\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},KYe={name:"DingTalk",match:function(e){return e.indexOf("DingTalk")>-1},version:function(e){var t;return((t=e.match(/DingTalk\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},XYe={name:"Douyin",match:function(e){return e.indexOf("aweme")>-1},version:function(e){var t;return((t=e.match(/app_version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},JYe={name:"Googlebot",match:function(e){return e.indexOf("Googlebot")>-1},version:function(e){var t;return((t=e.match(/Googlebot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},ZYe={name:"Baiduspider",match:function(e){return e.indexOf("Baiduspider")>-1},version:function(e){var t;return((t=e.match(/Baiduspider(-render)?\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},QYe={name:"Sogouspider",match:function(e){return e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1},version:function(e){var t;return((t=e.match(/Sogou (\S+) Spider\/([\d.]+)/i))===null||t===void 0?void 0:t[1])||""}},eKe={name:"Bingbot",match:function(e){return e.indexOf("bingbot")>-1},version:function(e){var t;return((t=e.match(/bingbot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},tKe={name:"360Spider",match:function(e){return e.indexOf("360Spider")>-1||e.indexOf("HaosouSpider")>-1},version:function(e){return""}},nKe={name:"Bytespider",match:function(e){return e.indexOf("Bytespider")>-1},version:function(e){return""}},rKe={name:"YisouSpider",match:function(e){return e.indexOf("YisouSpider")>-1},version:function(e){var t;return((t=e.match(/YisouSpider\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},iKe={name:"YodaoBot",match:function(e){return e.indexOf("YodaoBot")>-1},version:function(e){var t;return((t=e.match(/YodaoBot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},oKe={name:"YandexBot",match:function(e){return e.indexOf("YandexBot")>-1},version:function(e){var t;return((t=e.match(/YandexBot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}};function aKe(e,t){var n,o=e.userAgent;e.browser="",e.browserVersion="",[tYe,lh,nYe,rYe,iYe,oYe,aYe,sYe,lYe,cYe,uYe,dYe,fYe,hYe,pYe,mYe,vYe,gYe,_Ye,yYe,bYe,xYe,EYe,wYe,SYe,CYe,TYe,Y7,kYe,IYe,AYe,DYe,NYe,RYe,OYe,MYe,PYe,VYe,LYe,BYe,FYe,$Ye,UYe,zYe,HYe,WYe,jYe,GYe,qYe,YYe,KYe,XYe,JYe,ZYe,QYe,eKe,tKe,nKe,rKe,iKe,oKe].forEach(function(a){a.match(o)&&(e.browser=a.name,e.browserVersion=a.version(o,t))}),e.browser=="Chrome"&&o.match(/\S+Browser/)&&(e.browser=o.match(/\S+Browser/)[0],e.browserVersion=((n=o.replace(/^.*Browser\/([\d.]+).*$/))===null||n===void 0?void 0:n[1])||"")}var sKe={name:"Mobile",match:function(e){return e.indexOf("Mobi")>-1||e.indexOf("iPh")>-1||e.indexOf("480")>-1}},lKe={name:"Tablet",match:function(e){var t=(Ar==null?void 0:Ar.navigator)||{};return e.indexOf("Tablet")>-1||e.indexOf("Pad")>-1||e.indexOf("Nexus 7")>-1||t.platform==="MacIntel"&&t.maxTouchPoints>1}};function cKe(e){e.device="Desktop",[sKe,lKe].forEach(function(t){t.match(e.userAgent)&&(e.device=t.name)})}var uKe={name:"WebKit",match:function(e){return e.indexOf("AppleWebKit")>-1}},dKe={name:"Trident",match:function(e){return e.indexOf("Trident")>-1||e.indexOf("NET CLR")>-1}},fKe={name:"Gecko",match:function(e){return e.indexOf("Gecko/")>-1}},hKe={name:"Presto",match:function(e){return e.indexOf("Presto")>-1}},pKe={name:"KHTML",match:function(e){return e.indexOf("KHTML/")>-1}};function mKe(e){e.engine="",[uKe,dKe,fKe,hKe,pKe].forEach(function(t){t.match(e.userAgent)&&(e.engine=t.name)}),e.browser=="Edge"?e.engine=parseInt(e.browserVersion)>75?"Blink":"EdgeHTML":(lh.match(e.userAgent)&&e.engine=="WebKit"&&parseInt(lh.version(e.userAgent))>27||e.browser=="Opera"&&parseInt(e.browserVersion)>12||e.browser=="Yandex")&&(e.engine="Blink")}var vKe={name:"Windows",match:function(e){return e.indexOf("Windows")>-1},version:function(e){var t,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],o=((t=e.match(/^Mozilla\/\d.0 \(Windows NT ([\d.]+)[;)].*$/))===null||t===void 0?void 0:t[1])||"",a={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"7","6.0":"Vista",5.2:"XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return n?new Promise(function(l){var u;Ar!=null&&(u=Ar.navigator)!==null&&u!==void 0&&u.userAgentData?Ar.navigator.userAgentData.getHighEntropyValues(["platformVersion"]).then(function(d){var p="";navigator.userAgentData.platform==="Windows"&&(p=parseInt(d.platformVersion.split(".")[0])>=13?"11":"10"),l(p)}):l(a[o]||o)}):a[o]||o}},gKe={name:"Linux",match:function(e){return e.indexOf("Linux")>-1||e.indexOf("X11")>-1},version:function(e){return""}},_Ke={name:"macOS",match:function(e){return e.indexOf("Macintosh")>-1},version:function(e){var t;return((t=e.match(/Mac OS X -?([\d_]+)/))===null||t===void 0?void 0:t[1].replace(/_/g,"."))||""}},yKe={name:"Android",match:function(e){return e.indexOf("Android")>-1||e.indexOf("Adr")>-1},version:function(e){var t;return((t=e.match(/Android ([\d.]+);/))===null||t===void 0?void 0:t[1])||""}},bKe={name:"HarmonyOS",match:function(e){return e.indexOf("HarmonyOS")>-1},version:function(e){var t,n=+((t=e.match(/HMSCore (\d+.\d+)/))===null||t===void 0?void 0:t[1])||0;return n>=6.1?"4.0":n>=6?"3.0":n>=5?"2.0":n>=4?"1.0":""}},xKe={name:"Ubuntu",match:function(e){return e.indexOf("Ubuntu")>-1},version:function(e){return""}},EKe={name:"FreeBSD",match:function(e){return e.indexOf("FreeBSD")>-1},version:function(e){return""}},wKe={name:"Debian",match:function(e){return e.indexOf("Debian")>-1},version:function(e){var t;return((t=e.match(/Debian\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},SKe={name:"iOS",match:function(e){return e.indexOf("like Mac OS X")>-1},version:function(e){var t;return((t=e.match(/OS ([\d_]+) like/))===null||t===void 0?void 0:t[1].replace(/_/g,"."))||""}},CKe={name:"Windows Phone",match:function(e){return e.indexOf("IEMobile")>-1||e.indexOf("Windows Phone")>-1},version:function(e){var t;return((t=e.match(/Windows Phone( OS)? ([\d.]+);/))===null||t===void 0?void 0:t[2])||""}},TKe={name:"BlackBerry",match:function(e){return e.indexOf("BlackBerry")>-1||e.indexOf("RIM")>-1},version:function(e){return""}},IKe={name:"MeeGo",match:function(e){return e.indexOf("MeeGo")>-1},version:function(e){return""}},kKe={name:"Symbian",match:function(e){return e.indexOf("Symbian")>-1},version:function(e){return""}},AKe={name:"Chrome OS",match:function(e){return e.indexOf("CrOS")>-1},version:function(e){var t,n;return((t=e.match(/MSIE ([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/rv:([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},DKe={name:"WebOS",match:function(e){return e.indexOf("hpwOS")>-1},version:function(e){var t;return((t=e.match(/hpwOS\/([\d.]+);/))===null||t===void 0?void 0:t[1])||""}};function NKe(e,t){var n,o=e.userAgent;e.system="",e.systemVersion="",[vKe,gKe,_Ke,yKe,bKe,xKe,EKe,wKe,SKe,CKe,TKe,IKe,kKe,AKe,DKe].forEach(function(u){u.match(o)&&(e.system=u.name,e.systemVersion=u.version(o,t))}),e.platform="",o.match(/(Win64|x64|WOW64|x86_64)/i)?e.platform="Win64":o.match(/(Win32|x86|WOW32)/i)?e.platform="Win32":o.match(/aarch64|arm64/)?e.platform="ARM64":o.match(/arm32/)?e.platform="ARM32":Ar!=null&&(n=Ar.navigator)!==null&&n!==void 0&&n.platform&&(e.platform=Ar.navigator.platform),e.architecture="";var a,l=o+"|"+e.platform;l.match(/armv\d+/i)||l.match(/aarch64/)?e.architecture="arm":l.match(/loongarch64/)?e.architecture="loongarch":e.architecture="x86",e.bitness=o.match(/Win64|x64|WOW64|x86_64|aarch64|arm64|loongarch64/i)?64:32,t&&Ar!=null&&(a=Ar.navigator)!==null&&a!==void 0&&a.userAgentData&&(e.architecture=navigator.userAgentData.getHighEntropyValues(["architecture"]).then(function(u){return u.architecture}),e.bitness=navigator.userAgentData.getHighEntropyValues(["bitness"]).then(function(u){return+u.bitness}))}function RKe(e){if(e.gpu="",e.gpuModel="",Ar!=null&&Ar.document){var t,n,o=Ar.document.createElement("canvas").getContext("experimental-webgl"),a=o.getExtension("WEBGL_debug_renderer_info"),l=o.getParameter(a.UNMASKED_RENDERER_WEBGL);e.gpu=((t=l.match(/ANGLE \((.+?),/))===null||t===void 0?void 0:t[1])||"",e.gpuModel=((n=l.match(/, (.+?) (\(|vs_)/))===null||n===void 0?void 0:n[1])||""}}function OKe(e){e.language=function(t,n){var o=(Ar==null||(t=Ar.navigator)===null||t===void 0?void 0:t.browserLanguage)||(Ar==null||(n=Ar.navigator)===null||n===void 0?void 0:n.language);if(typeof o!="string")return"Unknown language";var a=o.split("-");return a[1]&&(a[1]=a[1].toUpperCase()),a.join("_")}()}function MKe(e){var t,n,o;e.network=(n="unknown",(o=Ar==null||(t=Ar.navigator)===null||t===void 0?void 0:t.connection)&&((n=o.type||o.effectiveType)!="2"&&n!="unknown"||(n="wifi")),n)}function PKe(e){e.isWebview=e.userAgent.indexOf("; wv)")>-1,e.isRobot=["Googlebot","Baiduspider","Sogouspider","Bingbot","360Spider","Bytespider","YandexBot"].includes(e.browser)}var fne=function(e){var t,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],o={};return o.userAgent=e||(Ar==null||(t=Ar.navigator)===null||t===void 0?void 0:t.userAgent)||"",[aKe,cKe,mKe,NKe,RKe,OKe,MKe,PKe].forEach(function(a){return a(o,n)}),o};function hne(e){var t=fne(e);for(var n in t)q8(t[n])=="object"&&(t[n]="");return t}hne.getInfo=function(e){var t=fne(e,!0),n=Object.keys(t),o=Object.values(t).map(function(a){return q8(a)=="object"?a:Promise.resolve(a)});return Promise.all(o).then(function(a){var l={};return a.forEach(function(u,d){l[n[d]]=u}),l})};function VKe(){const e=hne();return{ip:"",ipv6:"",loc_ip:"",mac:"",browser:e.browser,device:e.device,os:e.system+" "+e.systemVersion,version:e.browserVersion}}const LKe=VKe(),BKe=[async e=>{var n,o,a,l;const t=await Mr.getToken();return t&&!((n=e==null?void 0:e.headers)!=null&&n.Authorization)&&$t.set(e,"headers.Authorization",`Bearer ${t}`),e.method!=="get"&&$t.set(e,"data.other_log_info",{page_name:(o=K7.value)==null?void 0:o.value.meta.title,action_name:(l=(a=e==null?void 0:e.data)==null?void 0:a.other_log_info)==null?void 0:l.title,...LKe}),e},e=>{throw e}],lq=e=>{if(e&&Object.prototype.toString.call(e)==="[object Object]"){const t=Object.assign({},e);for(let n in t)t[n]==="undefined"||t[n]==="null"||t[n]===null||t[n]===void 0?delete t[n]:typeof t[n]=="string"&&(t[n]=t[n].trim());return t}return e},FKe=[function(e){var t,n;return e&&e.params&&(e.params=lq(e.params),$t.get(e,"params.menu_id")||$t.set(e,"params.menu_id",(t=Qo())==null?void 0:t.mid)),e&&e.data&&(e.data=lq(e.data),$t.get(e,"data.menu_id")||$t.set(e,"data.menu_id",(n=Qo())==null?void 0:n.mid)),e},function(e){throw e}],$Ke=[FKe,eYe,BKe];let qu=!1;const UKe=[async function(e){const{data:t}=e;if(t instanceof Blob||typeof t=="object"&&!Reflect.has(t,"code"))return t;switch(t.code){case 1:return t;case 401:case 4001:Sa.error("你已被登出,请重新登录"),qu||(qu=!0,await Mr.remove("userInfo"),window.location.href="/",setTimeout(()=>{qu=!1},1e3));break;case 2e3:qu||(qu=!0,u2.value?lg.alert(t.msg,"提示",{confirmButtonText:"确定",callback:async()=>{qu=!1,await Mr.remove("userInfo"),window.location.href="/"}}):(Sa.error(t.msg),await Mr.remove("userInfo"),window.location.href="/"));break;default:return t.msg&&!qu&&(qu=!0,Sa.error(t.msg),setTimeout(()=>{qu=!1},1e3)),Promise.reject(t)}},function(e){return e.message.indexOf("timeout")!=-1?Sa.warning("网络超时"):e.message=="Network Error"?Sa.warning("网络连接错误"):e.message=="操作太频繁,请稍后再试"?Sa.warning("操作太频繁,请稍后再试"):e.response.data?Sa.warning(e.response.statusText):Sa.warning("接口路径找不到"),Promise.reject(e)}],zKe=[UKe],c2=yo.create({timeout:6e4,paramsSerializer:{serialize(e){return dne.stringify(e,{allowDots:!0})}}});$Ke.forEach(e=>{c2.interceptors.request.use(...e)});zKe.forEach(e=>{c2.interceptors.response.use(...e)});const HKe=c2.interceptors;function Qo(e){const t=e?new URL(e,window.location.origin):window.location,n=t.search||t.hash.split("?")[1]||"",o=new URLSearchParams(n);return[...o.keys()].reduce((a,l)=>{if(l=="")return a;let u=o.get(l);return/^\d+$/.test(u)&&u.length<17&&(u=Number(u)),(u=="true"||u=="false")&&(u=u=="true"),a[l]=u,a},{})}function pne(e,t={}){if($t.isEmpty(t))return e;const[n,o=""]=e.split("?"),a=new URLSearchParams(o);return Object.keys(t).forEach(l=>{a.set(l,t[l])}),`${n}?${a.toString()}`}function WKe(e,t){var n,o;if(((n=Qo())==null?void 0:n.isIframe)==!0)(o=window.top)==null||o.postMessage({type:"iframe",url:e},"*");else{const a=t||X7.value;a==null||a.push(e)}}function jKe(e,t){const n=t||X7.value;e.data.type==="iframe"&&(n==null||n.push(e.data.url))}const Pi=c2.request,GKe=(e,t={},n="get",o={})=>Mr.get("userInfo").then(a=>{var h;const u={url:`/${((h=Qo())==null?void 0:h.project)||a.project_code}-web${e}`,method:n,...o},{title:d="",...p}=t;return n=="get"?u.params=Object.assign({other_log_info:{title:d}},p):u.data=Object.assign({other_log_info:{title:d}},p),c2.request(u)});let Vs=i.ref(),u2=i.ref(),K7=i.ref(),X7=i.ref();const mne="configkey",$T=e=>{if(!e)return e;if(u2.value==!0)return $t.cloneDeep(e);try{return z8.AES.encrypt(JSON.stringify(e),mne).toString()}catch{return e}},Vp=e=>{if(!e||u2.value==!0)return e;try{const t=z8.AES.decrypt(e,mne);return JSON.parse(t.toString(z8.enc.Utf8))}catch{return e}},qKe={encrypt:$T,decrypt:Vp},Tp={setKey(e){return`${Vs.value}:${e}`},set(e,t){window.localStorage.setItem(Tp.setKey(e),JSON.stringify(t))},get(e){let t=window.localStorage.getItem(Tp.setKey(e));return t?JSON.parse(t):null},remove(e){window.localStorage.removeItem(Tp.setKey(e))},clear(){window.localStorage.clear()}},YKe={set(e,t){if(e==="token")return HE.set(e,t);window.sessionStorage.setItem(Tp.setKey(e),JSON.stringify(t))},get(e){if(e==="token")return HE.get(e);let t=window.sessionStorage.getItem(Tp.setKey(e));return t?JSON.parse(t):null},remove(e){if(e==="token")return HE.remove(e);window.sessionStorage.removeItem(Tp.setKey(e))},clear(){HE.remove("token"),window.sessionStorage.clear()}};class KKe{constructor(){MN(this,"store");this.store=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:"systemConfig_00000_001",storeName:"systemConfig",version:1,description:"系统信息"})}setKey(t){return`${Vs.value}:${t}`}set(t,n){return this.store.setItem(this.setKey(t),$T(n))}get(t){return this.store.getItem(this.setKey(t)).then(n=>Vp(n))}async getToken(){return this.getUserByProject().then(t=>t==null?void 0:t.access_token)}getUserByProject(t){var a;const n=t||((a=Qo())==null?void 0:a.project),o=n?`hs-${n}-web`:Vs.value;return this.store.getItem(`${o}:userInfo`).then(l=>Vp(l))}remove(t){return this.store.removeItem(this.setKey(t))}clear(){return this.store.clear()}drop(t){return this.store.dropInstance({name:t})}}const Mr=new KKe;class XKe{constructor(t){MN(this,"store");this.store=ei.createInstance(Object.assign({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:"customeConfig_00000_001",storeName:"customeConfig",version:1,description:"自定义配置系统信息"},t||{}))}setKey(t){return`${Vs.value}:${t}`}set(t,n){return this.store.setItem(this.setKey(t),n)}get(t){return this.store.getItem(this.setKey(t))}remove(t){return this.store.removeItem(this.setKey(t))}clear(){return this.store.clear()}}function J7({mid:e,id:t,uid:n},o=""){return Mr.get("userInfo").then(async a=>{const l=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${n||a.id}_${e}`,version:1,description:"配置系统"}),u=o?`${Vs.value}:${o}`:`${Vs.value}:${t}`,d=await l.getItem(u);return d?Vp(d):null})}function Z7({mid:e,id:t,uid:n},o,a=""){return Mr.get("userInfo").then(l=>{const u=`${n||l.id}_${e}`,d=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:u,version:1,description:"配置系统"}),p=a?`${Vs.value}:${a}`:`${Vs.value}:${t}`;return d.setItem(p,$T(o))})}function JKe(e,t){return Mr.get("userInfo").then(n=>ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${t||n.id}_${e}`,version:1,description:"配置系统"}).clear())}function ZKe({table_id:e,uid:t}){return Mr.get("userInfo").then(async n=>{const o=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${t||n.id}`,version:1,description:"配置系统列宽属性"}),a=`${Vs.value}:${e}`,l=await o.getItem(a);return l?Vp(l):null})}function vne({table_id:e,uid:t},n){return Mr.get("userInfo").then(o=>{const a=`${t||o.id}`,l=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:a,version:1,description:"配置系统列宽属性"}),u=`${Vs.value}:${e}`;return l.setItem(u,$T(n))})}function QKe(e=["systemConfig_00000_001","emscripten_filesystem"]){return indexedDB.databases().then(function(t){return Promise.all(t.filter(n=>!e.includes(n.name)).map(n=>Mr.drop(n.name))).then(()=>{Sa.success("清除缓存成功!")})})}async function eXe(e){const t=await Mr.get("userInfo"),{project_code:n,...o}=e||{},a=n||t.project_code,l=await Pi({url:`/${a}-web/pri/params/get_param_list`,method:"get",params:o});return await gne(l.data),l.data}async function tXe(e){const t=await Mr.get("userInfo"),{project_code:n,...o}=e||{},a=n||t.project_code,l=await Pi({url:`/${a}-web/pri/params_self/get_param_list`,method:"get",params:o});return l.code!==1?{}:l.data.reduce((u,d)=>(u[d.param_code]=d,u),{})}async function gne(e){const t=await Mr.get("system_params")||{},n=e.find(a=>a.param_code==="sys_input_8");n&&(Jy.value=Number(n.param_value),t.decimal_digits=Number(n.param_value));const o=e.find(a=>a.param_code==="sys_input_10");o&&(t._sys_pageSize=Number(o.param_value),t._sys_pageSize_s=JSON.parse(o.json_data||"[]").map(a=>Number(a.value))),await Mr.set("system_params",t)}function nXe(e,t){console.log("获取当前菜单id下字典列表数据(不调用接口方式)");const n=e||Qo().mid;return n?Mr.get("userInfo").then(async o=>{const l=await ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${t||o.id}_${n}`,version:1,description:"配置系统"}).getItem(`${Vs.value}:auth`);return l?Vp(l).dict_functions.map(d=>{const p=JSON.parse(d.json_data||"[]").filter(h=>["true",!0].includes(h.show)).map(h=>({...h,name:h.dict_child_name,code:h.dict_child_code})).sort((h,v)=>h.sort-v.sort);return{code:d.code,json_data:p}}).reduce((d,p)=>(d[p.code]=p.json_data,d),{}):{}}):(console.error("未获取到mid,请检查url中是否存在mid参数"),Promise.resolve({}))}function rXe(e,t){const{mid:n,project:o}=Qo(),a=e||n;return a?Mr.get("userInfo").then(async l=>{const{id:u,project_code:d}=l,p=`${t||u}`;return Pi({url:`/${o||d||"qwp"}-web/pri/v2/perminssion/get_menu_prminssion`,method:"get",params:{menu_id:a,user_id:p}})}).then(l=>{if(l.code!==1)return{};const{dict_functions:u}=l.data;return u?JSON.parse(u).map(d=>{const p=JSON.parse(d.json_data||"[]").filter(h=>["true",!0].includes(h.show)).map(h=>({...h,name:h.dict_child_name,code:h.dict_child_code})).sort((h,v)=>h.sort-v.sort);return{code:d.code,json_data:p}}).reduce((d,p)=>(d[p.code]=p.json_data,d),{}):{}}):(console.error("未获取到mid,请检查url中是否存在mid参数"),Promise.resolve({}))}function iXe(e,t){const n=e||Qo().mid;return n?Mr.get("userInfo").then(async o=>{const l=await ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${t||o.id}_${n}`,version:1,description:"配置系统"}).getItem(`${Vs.value}:auth`);return l?Vp(l).field_functions:{}}):(console.error("未获取到mid,请检查url中是否存在mid参数"),Promise.resolve({}))}const cq=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],ud=(()=>{if(typeof document>"u")return!1;const e=cq[0],t={};for(const n of cq)if((n==null?void 0:n[1])in document){for(const[a,l]of n.entries())t[e[a]]=l;return t}return!1})(),uq={change:ud.fullscreenchange,error:ud.fullscreenerror};let Ns={request(e=document.documentElement,t){return new Promise((n,o)=>{const a=()=>{Ns.off("change",a),n()};Ns.on("change",a);const l=e[ud.requestFullscreen](t);l instanceof Promise&&l.then(a).catch(o)})},exit(){return new Promise((e,t)=>{if(!Ns.isFullscreen){e();return}const n=()=>{Ns.off("change",n),e()};Ns.on("change",n);const o=document[ud.exitFullscreen]();o instanceof Promise&&o.then(n).catch(t)})},toggle(e,t){return Ns.isFullscreen?Ns.exit():Ns.request(e,t)},onchange(e){Ns.on("change",e)},onerror(e){Ns.on("error",e)},on(e,t){const n=uq[e];n&&document.addEventListener(n,t,!1)},off(e,t){const n=uq[e];n&&document.removeEventListener(n,t,!1)},raw:ud};Object.defineProperties(Ns,{isFullscreen:{get:()=>!!document[ud.fullscreenElement]},element:{enumerable:!0,get:()=>document[ud.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[ud.fullscreenEnabled]}});ud||(Ns={isEnabled:!1});const oXe=Ns;var _ne={exports:{}};/*!
101
+ */function q8(e){return q8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q8(e)}var tYe={name:"Safari",match:function(e){return e.indexOf("Safari")>-1},version:function(e){var t;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},lh={name:"Chrome",match:function(e){return e.indexOf("Chrome")>-1||e.indexOf("CriOS")>-1},version:function(e){var t,n;return((t=e.match(/Chrome\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/CriOS\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},nYe={name:"Edge",match:function(e){return e.indexOf("Edge")>-1||e.indexOf("Edg/")>-1||e.indexOf("EdgA")>-1||e.indexOf("EdgiOS")>-1},version:function(e){var t,n,o,a;return((t=e.match(/Edge\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/Edg\/([\d.]+)/))===null||n===void 0?void 0:n[1])||((o=e.match(/EdgA\/([\d.]+)/))===null||o===void 0?void 0:o[1])||((a=e.match(/EdgiOS\/([\d.]+)/))===null||a===void 0?void 0:a[1])||""}},rYe={name:"IE",match:function(e){return e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1},version:function(e){var t,n;return((t=e.match(/MSIE ([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/rv:([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},iYe={name:"Firefox",match:function(e){return e.indexOf("Firefox")>-1||e.indexOf("FxiOS")>-1},version:function(e){var t,n;return((t=e.match(/Firefox\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/FxiOS\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},oYe={name:"Firefox Focus",match:function(e){return e.indexOf("Focus")>-1},version:function(e){var t;return((t=e.match(/Focus\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},aYe={name:"Chromium",match:function(e){return e.indexOf("Chromium")>-1},version:function(e){var t;return((t=e.match(/Chromium\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},sYe={name:"Opera",match:function(e){return e.indexOf("Opera")>-1||e.indexOf("OPR")>-1},version:function(e){var t,n;return((t=e.match(/Opera\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/OPR\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},lYe={name:"Vivaldi",match:function(e){return e.indexOf("Vivaldi")>-1},version:function(e){var t;return((t=e.match(/Vivaldi\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},cYe={name:"Yandex",match:function(e){return e.indexOf("YaBrowser")>-1},version:function(e){var t;return((t=e.match(/YaBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},I4={};typeof globalThis<"u"?I4=globalThis:typeof self<"u"?I4=self:typeof window<"u"?I4=window:typeof global<"u"&&(I4=global);var Ar=I4,uYe={name:"Brave",match:function(e){var t;return!(Ar==null||(t=Ar.navigator)===null||t===void 0||!t.brave)},version:function(e){var t;return((t=e.match(/Chrome\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},dYe={name:"Arora",match:function(e){return e.indexOf("Arora")>-1},version:function(e){var t;return((t=e.match(/Arora\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},fYe={name:"Lunascape",match:function(e){return e.indexOf("Lunascape")>-1},version:function(e){var t;return((t=e.match(/Lunascape[\/\s]([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},hYe={name:"QupZilla",match:function(e){return e.indexOf("QupZilla")>-1},version:function(e){var t;return((t=e.match(/QupZilla[\/\s]([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},pYe={name:"Coc Coc",match:function(e){return e.indexOf("coc_coc_browser")>-1},version:function(e){var t;return((t=e.match(/coc_coc_browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},mYe={name:"Kindle",match:function(e){return e.indexOf("Kindle")>-1||e.indexOf("Silk/")>-1},version:function(e){var t;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},vYe={name:"Iceweasel",match:function(e){return e.indexOf("Iceweasel")>-1},version:function(e){var t;return((t=e.match(/Iceweasel\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},gYe={name:"Konqueror",match:function(e){return e.indexOf("Konqueror")>-1},version:function(e){var t;return((t=e.match(/Konqueror\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},_Ye={name:"Iceape",match:function(e){return e.indexOf("Iceape")>-1},version:function(e){var t;return((t=e.match(/Iceape\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},yYe={name:"SeaMonkey",match:function(e){return e.indexOf("SeaMonkey")>-1},version:function(e){var t;return((t=e.match(/SeaMonkey\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},bYe={name:"Epiphany",match:function(e){return e.indexOf("Epiphany")>-1},version:function(e){var t;return((t=e.match(/Epiphany\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},xYe={name:"Huawei",match:function(e){return e.indexOf("HuaweiBrowser")>-1||e.indexOf("HUAWEI")>-1||e.indexOf("HONOR")>-1||e.indexOf("HBPC/")>-1},version:function(e){var t,n,o;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/HuaweiBrowser\/([\d.]+)/))===null||n===void 0?void 0:n[1])||((o=e.match(/HBPC\/([\d.]+)/))===null||o===void 0?void 0:o[1])||""}},EYe={name:"OPPO",match:function(e){return e.indexOf("HeyTapBrowser")>-1||e.indexOf("OPPO")>-1},version:function(e){var t;return((t=e.match(/HeyTapBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},wYe={name:"Vivo",match:function(e){return e.indexOf("VivoBrowser")>-1},version:function(e){var t;return((t=e.match(/VivoBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},SYe={name:"Xiaomi",match:function(e){return e.indexOf("MiuiBrowser")>-1},version:function(e){var t;return((t=e.match(/MiuiBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},CYe={name:"Meizu",match:function(e){return e.indexOf("MZBrowser")>-1},version:function(e){var t;return((t=e.match(/MZBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},TYe={name:"Samsung",match:function(e){return e.indexOf("SamsungBrowser")>-1},version:function(e){var t;return((t=e.match(/SamsungBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}};function Uf(e,t){var n,o=Ar==null||(n=Ar.navigator)===null||n===void 0?void 0:n.mimeTypes;for(var a in o)if(o[a][e]&&o[a][e]==t)return o[a];return null}var Y7={name:"360",match:function(e){var t=!1;if(Ar!=null&&Ar.chrome){var n=e.replace(/^.*Chrome\/([\d]+).*$/,"$1");Uf("type","application/360softmgrplugin")||Uf("type","application/mozilla-npqihooquicklogin")||n>36&&Ar!=null&&Ar.showModalDialog?t=!0:n>45&&!(t=Uf("type","application/vnd.chromium.remoting-viewer"))&&n>=69&&(t=Uf("type","application/hwepass2001.installepass2001")||Uf("type","application/asx"))}return e.indexOf("QihooBrowser")>-1||e.indexOf("QHBrowser")>-1||t},version:function(e){var t;return((t=e.match(/QihooBrowser(HD)?\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},IYe={name:"360SE",match:function(e){var t,n=!1;return Y7.match(e)&&(Uf("type","application/gameplugin")||Ar!=null&&(t=Ar.navigator)!==null&&t!==void 0&&(t=t.userAgentData)!==null&&t!==void 0&&t.brands.filter(function(o){return o.brand=="Not.A/Brand"}).length)&&(n=!0),e.indexOf("360SE")>-1||n},version:function(e){return{114:"15.0",108:"14.0",86:"13.0",78:"12.0",69:"11.0",63:"10.0",55:"9.1",45:"8.1",42:"8.0",31:"7.0",21:"6.3"}[parseInt(lh.version(e))]||""}},kYe={name:"360EE",match:function(e){var t=!1;if(Uf("type","application/cenroll.cenroll.version.1")||Uf("type","application/hwepass2001.installepass2001"))t=!0;else if(Y7.match(e)){var n;Ar!=null&&(n=Ar.navigator)!==null&&n!==void 0&&(n=n.userAgentData)!==null&&n!==void 0&&n.brands.filter(function(o){return o.brand=="Not A(Brand"}).length&&(t=!0)}return e.indexOf("360EE")>-1||t},version:function(e){return{119:"(X)22.0",108:"14.0",95:"(X)21.0",86:"13.0",78:"12.0",69:"11.0",63:"9.5",55:"9.0",50:"8.7",30:"7.5"}[parseInt(lh.version(e))]||""}},AYe={name:"UC",match:function(e){return e.indexOf("UCBrowser")>-1||e.indexOf(" UBrowser")>-1||e.indexOf("UCWEB")>-1},version:function(e){var t;return((t=e.match(/UC?Browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},DYe={name:"QQBrowser",match:function(e){return e.indexOf("QQBrowser")>-1},version:function(e){var t;return((t=e.match(/QQBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},NYe={name:"QQ",match:function(e){return e.indexOf("QQ/")>-1},version:function(e){var t;return((t=e.match(/QQ\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},RYe={name:"Baidu",match:function(e){return e.indexOf("Baidu")>-1||e.indexOf("BIDUBrowser")>-1||e.indexOf("baidubrowser")>-1||e.indexOf("baiduboxapp")>-1||e.indexOf("BaiduD")>-1},version:function(e){var t,n;return((t=e.match(/BIDUBrowser[\s\/]([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/baiduboxapp\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},OYe={name:"Maxthon",match:function(e){return e.indexOf("Maxthon")>-1||(Ar==null?void 0:Ar.maxthon)},version:function(e){var t;return{109:"7.0",78:"6.0"}[parseInt(lh.version(e))]||((t=e.match(/Maxthon\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},MYe={name:"Sogou",match:function(e){return e.indexOf("MetaSr")>-1||e.indexOf("Sogou")>-1},version:function(e){var t,n;return{94:"12.0",80:"11.0"}[((t=e.match(/Chrome\/([\d]+)/))===null||t===void 0?void 0:t[1])||""]||((n=e.match(/SogouMobileBrowser\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},PYe={name:"Liebao",match:function(e){return e.indexOf("LBBROWSER")>-1||e.indexOf("LieBaoFast")>-1||(Ar==null?void 0:Ar.liebao)},version:function(e){var t="";e.indexOf("LieBaoFast")>-1&&(t=e.replace(/LieBaoFast\/([\d.]+)/,"$1"));var n=parseInt(lh.version(e));return t||{79:"8.0",57:"6.5",49:"6.0",46:"5.9",42:"5.3",39:"5.2",34:"5.0",29:"4.5",21:"4.0"}[n]||""}},VYe={name:"2345Explorer",match:function(e){var t,n,o=(Ar==null?void 0:Ar.chrome)&&((Ar==null||(t=Ar.chrome)===null||t===void 0?void 0:t.adblock2345)||(Ar==null||(n=Ar.chrome)===null||n===void 0?void 0:n.common2345));return e.indexOf("2345Explorer")>-1||e.indexOf("Mb2345Browser")>-1||e.indexOf("2345chrome")>-1||o},version:function(e){var t,n;return{69:"10.0",55:"9.9"}[parseInt(lh.version(e))]||((t=e.match(/2345Explorer\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/Mb2345Browser\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},LYe={name:"115Browser",match:function(e){return e.indexOf("115Browser")>-1},version:function(e){var t;return((t=e.match(/115Browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},BYe={name:"TheWorld",match:function(e){return e.indexOf("TheWorld")>-1},version:function(e){var t;return((t=e.match(/TheWorld ([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},FYe={name:"Quark",match:function(e){return e.indexOf("Quark")>-1},version:function(e){var t;return((t=e.match(/Quark\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},$Ye={name:"Qiyu",match:function(e){return e.indexOf("Qiyu")>-1},version:function(e){var t;return((t=e.match(/Qiyu\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},UYe={name:"Wechat",match:function(e){return e.indexOf("MicroMessenger")>-1},version:function(e){var t;return((t=e.match(/MicroMessenger\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},zYe={name:"WechatWork",match:function(e){return e.indexOf("wxwork/")>-1},version:function(e){var t;return((t=e.match(/wxwork\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},HYe={name:"Taobao",match:function(e){return e.indexOf("AliApp(TB")>-1},version:function(e){var t;return((t=e.match(/AliApp\(TB\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},WYe={name:"Alipay",match:function(e){return e.indexOf("AliApp(AP")>-1},version:function(e){var t;return((t=e.match(/AliApp\(AP\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},jYe={name:"Weibo",match:function(e){return e.indexOf("Weibo")>-1},version:function(e){var t;return((t=e.match(/weibo__([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},GYe={name:"Douban",match:function(e){return e.indexOf("com.douban.frodo")>-1},version:function(e){var t;return((t=e.match(/com.douban.frodo\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},qYe={name:"Suning",match:function(e){return e.indexOf("SNEBUY-APP")>-1},version:function(e){var t;return((t=e.match(/SNEBUY-APP([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},YYe={name:"iQIYI",match:function(e){return e.indexOf("IqiyiApp")>-1},version:function(e){var t;return((t=e.match(/IqiyiVersion\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},KYe={name:"DingTalk",match:function(e){return e.indexOf("DingTalk")>-1},version:function(e){var t;return((t=e.match(/DingTalk\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},XYe={name:"Douyin",match:function(e){return e.indexOf("aweme")>-1},version:function(e){var t;return((t=e.match(/app_version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},JYe={name:"Googlebot",match:function(e){return e.indexOf("Googlebot")>-1},version:function(e){var t;return((t=e.match(/Googlebot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},ZYe={name:"Baiduspider",match:function(e){return e.indexOf("Baiduspider")>-1},version:function(e){var t;return((t=e.match(/Baiduspider(-render)?\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},QYe={name:"Sogouspider",match:function(e){return e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1},version:function(e){var t;return((t=e.match(/Sogou (\S+) Spider\/([\d.]+)/i))===null||t===void 0?void 0:t[1])||""}},eKe={name:"Bingbot",match:function(e){return e.indexOf("bingbot")>-1},version:function(e){var t;return((t=e.match(/bingbot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},tKe={name:"360Spider",match:function(e){return e.indexOf("360Spider")>-1||e.indexOf("HaosouSpider")>-1},version:function(e){return""}},nKe={name:"Bytespider",match:function(e){return e.indexOf("Bytespider")>-1},version:function(e){return""}},rKe={name:"YisouSpider",match:function(e){return e.indexOf("YisouSpider")>-1},version:function(e){var t;return((t=e.match(/YisouSpider\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},iKe={name:"YodaoBot",match:function(e){return e.indexOf("YodaoBot")>-1},version:function(e){var t;return((t=e.match(/YodaoBot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},oKe={name:"YandexBot",match:function(e){return e.indexOf("YandexBot")>-1},version:function(e){var t;return((t=e.match(/YandexBot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}};function aKe(e,t){var n,o=e.userAgent;e.browser="",e.browserVersion="",[tYe,lh,nYe,rYe,iYe,oYe,aYe,sYe,lYe,cYe,uYe,dYe,fYe,hYe,pYe,mYe,vYe,gYe,_Ye,yYe,bYe,xYe,EYe,wYe,SYe,CYe,TYe,Y7,kYe,IYe,AYe,DYe,NYe,RYe,OYe,MYe,PYe,VYe,LYe,BYe,FYe,$Ye,UYe,zYe,HYe,WYe,jYe,GYe,qYe,YYe,KYe,XYe,JYe,ZYe,QYe,eKe,tKe,nKe,rKe,iKe,oKe].forEach(function(a){a.match(o)&&(e.browser=a.name,e.browserVersion=a.version(o,t))}),e.browser=="Chrome"&&o.match(/\S+Browser/)&&(e.browser=o.match(/\S+Browser/)[0],e.browserVersion=((n=o.replace(/^.*Browser\/([\d.]+).*$/))===null||n===void 0?void 0:n[1])||"")}var sKe={name:"Mobile",match:function(e){return e.indexOf("Mobi")>-1||e.indexOf("iPh")>-1||e.indexOf("480")>-1}},lKe={name:"Tablet",match:function(e){var t=(Ar==null?void 0:Ar.navigator)||{};return e.indexOf("Tablet")>-1||e.indexOf("Pad")>-1||e.indexOf("Nexus 7")>-1||t.platform==="MacIntel"&&t.maxTouchPoints>1}};function cKe(e){e.device="Desktop",[sKe,lKe].forEach(function(t){t.match(e.userAgent)&&(e.device=t.name)})}var uKe={name:"WebKit",match:function(e){return e.indexOf("AppleWebKit")>-1}},dKe={name:"Trident",match:function(e){return e.indexOf("Trident")>-1||e.indexOf("NET CLR")>-1}},fKe={name:"Gecko",match:function(e){return e.indexOf("Gecko/")>-1}},hKe={name:"Presto",match:function(e){return e.indexOf("Presto")>-1}},pKe={name:"KHTML",match:function(e){return e.indexOf("KHTML/")>-1}};function mKe(e){e.engine="",[uKe,dKe,fKe,hKe,pKe].forEach(function(t){t.match(e.userAgent)&&(e.engine=t.name)}),e.browser=="Edge"?e.engine=parseInt(e.browserVersion)>75?"Blink":"EdgeHTML":(lh.match(e.userAgent)&&e.engine=="WebKit"&&parseInt(lh.version(e.userAgent))>27||e.browser=="Opera"&&parseInt(e.browserVersion)>12||e.browser=="Yandex")&&(e.engine="Blink")}var vKe={name:"Windows",match:function(e){return e.indexOf("Windows")>-1},version:function(e){var t,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],o=((t=e.match(/^Mozilla\/\d.0 \(Windows NT ([\d.]+)[;)].*$/))===null||t===void 0?void 0:t[1])||"",a={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"7","6.0":"Vista",5.2:"XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return n?new Promise(function(l){var u;Ar!=null&&(u=Ar.navigator)!==null&&u!==void 0&&u.userAgentData?Ar.navigator.userAgentData.getHighEntropyValues(["platformVersion"]).then(function(d){var p="";navigator.userAgentData.platform==="Windows"&&(p=parseInt(d.platformVersion.split(".")[0])>=13?"11":"10"),l(p)}):l(a[o]||o)}):a[o]||o}},gKe={name:"Linux",match:function(e){return e.indexOf("Linux")>-1||e.indexOf("X11")>-1},version:function(e){return""}},_Ke={name:"macOS",match:function(e){return e.indexOf("Macintosh")>-1},version:function(e){var t;return((t=e.match(/Mac OS X -?([\d_]+)/))===null||t===void 0?void 0:t[1].replace(/_/g,"."))||""}},yKe={name:"Android",match:function(e){return e.indexOf("Android")>-1||e.indexOf("Adr")>-1},version:function(e){var t;return((t=e.match(/Android ([\d.]+);/))===null||t===void 0?void 0:t[1])||""}},bKe={name:"HarmonyOS",match:function(e){return e.indexOf("HarmonyOS")>-1},version:function(e){var t,n=+((t=e.match(/HMSCore (\d+.\d+)/))===null||t===void 0?void 0:t[1])||0;return n>=6.1?"4.0":n>=6?"3.0":n>=5?"2.0":n>=4?"1.0":""}},xKe={name:"Ubuntu",match:function(e){return e.indexOf("Ubuntu")>-1},version:function(e){return""}},EKe={name:"FreeBSD",match:function(e){return e.indexOf("FreeBSD")>-1},version:function(e){return""}},wKe={name:"Debian",match:function(e){return e.indexOf("Debian")>-1},version:function(e){var t;return((t=e.match(/Debian\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},SKe={name:"iOS",match:function(e){return e.indexOf("like Mac OS X")>-1},version:function(e){var t;return((t=e.match(/OS ([\d_]+) like/))===null||t===void 0?void 0:t[1].replace(/_/g,"."))||""}},CKe={name:"Windows Phone",match:function(e){return e.indexOf("IEMobile")>-1||e.indexOf("Windows Phone")>-1},version:function(e){var t;return((t=e.match(/Windows Phone( OS)? ([\d.]+);/))===null||t===void 0?void 0:t[2])||""}},TKe={name:"BlackBerry",match:function(e){return e.indexOf("BlackBerry")>-1||e.indexOf("RIM")>-1},version:function(e){return""}},IKe={name:"MeeGo",match:function(e){return e.indexOf("MeeGo")>-1},version:function(e){return""}},kKe={name:"Symbian",match:function(e){return e.indexOf("Symbian")>-1},version:function(e){return""}},AKe={name:"Chrome OS",match:function(e){return e.indexOf("CrOS")>-1},version:function(e){var t,n;return((t=e.match(/MSIE ([\d.]+)/))===null||t===void 0?void 0:t[1])||((n=e.match(/rv:([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},DKe={name:"WebOS",match:function(e){return e.indexOf("hpwOS")>-1},version:function(e){var t;return((t=e.match(/hpwOS\/([\d.]+);/))===null||t===void 0?void 0:t[1])||""}};function NKe(e,t){var n,o=e.userAgent;e.system="",e.systemVersion="",[vKe,gKe,_Ke,yKe,bKe,xKe,EKe,wKe,SKe,CKe,TKe,IKe,kKe,AKe,DKe].forEach(function(u){u.match(o)&&(e.system=u.name,e.systemVersion=u.version(o,t))}),e.platform="",o.match(/(Win64|x64|WOW64|x86_64)/i)?e.platform="Win64":o.match(/(Win32|x86|WOW32)/i)?e.platform="Win32":o.match(/aarch64|arm64/)?e.platform="ARM64":o.match(/arm32/)?e.platform="ARM32":Ar!=null&&(n=Ar.navigator)!==null&&n!==void 0&&n.platform&&(e.platform=Ar.navigator.platform),e.architecture="";var a,l=o+"|"+e.platform;l.match(/armv\d+/i)||l.match(/aarch64/)?e.architecture="arm":l.match(/loongarch64/)?e.architecture="loongarch":e.architecture="x86",e.bitness=o.match(/Win64|x64|WOW64|x86_64|aarch64|arm64|loongarch64/i)?64:32,t&&Ar!=null&&(a=Ar.navigator)!==null&&a!==void 0&&a.userAgentData&&(e.architecture=navigator.userAgentData.getHighEntropyValues(["architecture"]).then(function(u){return u.architecture}),e.bitness=navigator.userAgentData.getHighEntropyValues(["bitness"]).then(function(u){return+u.bitness}))}function RKe(e){if(e.gpu="",e.gpuModel="",Ar!=null&&Ar.document){var t,n,o=Ar.document.createElement("canvas").getContext("experimental-webgl"),a=o.getExtension("WEBGL_debug_renderer_info"),l=o.getParameter(a.UNMASKED_RENDERER_WEBGL);e.gpu=((t=l.match(/ANGLE \((.+?),/))===null||t===void 0?void 0:t[1])||"",e.gpuModel=((n=l.match(/, (.+?) (\(|vs_)/))===null||n===void 0?void 0:n[1])||""}}function OKe(e){e.language=function(t,n){var o=(Ar==null||(t=Ar.navigator)===null||t===void 0?void 0:t.browserLanguage)||(Ar==null||(n=Ar.navigator)===null||n===void 0?void 0:n.language);if(typeof o!="string")return"Unknown language";var a=o.split("-");return a[1]&&(a[1]=a[1].toUpperCase()),a.join("_")}()}function MKe(e){var t,n,o;e.network=(n="unknown",(o=Ar==null||(t=Ar.navigator)===null||t===void 0?void 0:t.connection)&&((n=o.type||o.effectiveType)!="2"&&n!="unknown"||(n="wifi")),n)}function PKe(e){e.isWebview=e.userAgent.indexOf("; wv)")>-1,e.isRobot=["Googlebot","Baiduspider","Sogouspider","Bingbot","360Spider","Bytespider","YandexBot"].includes(e.browser)}var fne=function(e){var t,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],o={};return o.userAgent=e||(Ar==null||(t=Ar.navigator)===null||t===void 0?void 0:t.userAgent)||"",[aKe,cKe,mKe,NKe,RKe,OKe,MKe,PKe].forEach(function(a){return a(o,n)}),o};function hne(e){var t=fne(e);for(var n in t)q8(t[n])=="object"&&(t[n]="");return t}hne.getInfo=function(e){var t=fne(e,!0),n=Object.keys(t),o=Object.values(t).map(function(a){return q8(a)=="object"?a:Promise.resolve(a)});return Promise.all(o).then(function(a){var l={};return a.forEach(function(u,d){l[n[d]]=u}),l})};function VKe(){const e=hne();return{ip:"",ipv6:"",loc_ip:"",mac:"",browser:e.browser,device:e.device,os:e.system+" "+e.systemVersion,version:e.browserVersion}}const LKe=VKe(),BKe=[async e=>{var n,o,a,l;const t=await Mr.getToken();return t&&!((n=e==null?void 0:e.headers)!=null&&n.Authorization)&&$t.set(e,"headers.Authorization",`Bearer ${t}`),e.method!=="get"&&$t.set(e,"data.other_log_info",{page_name:(o=K7.value)==null?void 0:o.value.meta.title,action_name:(l=(a=e==null?void 0:e.data)==null?void 0:a.other_log_info)==null?void 0:l.title,...LKe}),e},e=>{throw e}],lq=e=>{if(e&&Object.prototype.toString.call(e)==="[object Object]"){const t=Object.assign({},e);for(let n in t)t[n]==="undefined"||t[n]==="null"||t[n]===null||t[n]===void 0?delete t[n]:typeof t[n]=="string"&&(t[n]=t[n].trim());return t}return e},FKe=[function(e){var t,n;return e&&e.params&&(e.params=lq(e.params),$t.get(e,"params.menu_id")||$t.set(e,"params.menu_id",(t=Qo())==null?void 0:t.mid)),e&&e.data&&(e.data=lq(e.data),$t.get(e,"data.menu_id")||$t.set(e,"data.menu_id",(n=Qo())==null?void 0:n.mid)),e},function(e){throw e}],$Ke=[FKe,eYe,BKe];let qu=!1;const UKe=[async function(e){const{data:t}=e;if(t instanceof Blob||typeof t=="object"&&!Reflect.has(t,"code"))return t;switch(t.code){case 1:return t;case 401:case 4001:Sa.error("你已被登出,请重新登录"),qu||(qu=!0,await Mr.remove("userInfo"),window.location.href="/",setTimeout(()=>{qu=!1},1e3));break;case 2e3:qu||(qu=!0,u2.value?lg.alert(t.msg,"提示",{confirmButtonText:"确定",callback:async()=>{qu=!1,await Mr.remove("userInfo"),window.location.href="/"}}):(Sa.error(t.msg),await Mr.remove("userInfo"),window.location.href="/"));break;default:return t.msg&&!qu&&(qu=!0,Sa.error(t.msg),setTimeout(()=>{qu=!1},1e3)),Promise.reject(t)}},function(e){return e.message.indexOf("timeout")!=-1?Sa.warning("网络超时"):e.message=="Network Error"?Sa.warning("网络连接错误"):e.message=="操作太频繁,请稍后再试"?Sa.warning("操作太频繁,请稍后再试"):e.response.data?Sa.warning(e.response.statusText):Sa.warning("接口路径找不到"),Promise.reject(e)}],zKe=[UKe],c2=yo.create({timeout:6e4,paramsSerializer:{serialize(e){return dne.stringify(e,{allowDots:!0})}}});$Ke.forEach(e=>{c2.interceptors.request.use(...e)});zKe.forEach(e=>{c2.interceptors.response.use(...e)});const HKe=c2.interceptors;function Qo(e){const t=e?new URL(e,window.location.origin):window.location,n=t.search||t.hash.split("?")[1]||"",o=new URLSearchParams(n);return[...o.keys()].reduce((a,l)=>{if(l=="")return a;let u=o.get(l);return/^\d+$/.test(u)&&u.length<17&&(u=Number(u)),(u=="true"||u=="false")&&(u=u=="true"),a[l]=u,a},{})}function pne(e,t={}){if($t.isEmpty(t))return e;const[n,o=""]=e.split("?"),a=new URLSearchParams(o);return Object.keys(t).forEach(l=>{a.set(l,t[l])}),`${n}?${a.toString()}`}function WKe(e,t){var n,o;if(((n=Qo())==null?void 0:n.isIframe)==!0)(o=window.top)==null||o.postMessage({type:"iframe",url:e},"*");else{const a=t||X7.value;a==null||a.push(e)}}function jKe(e,t){const n=t||X7.value;e.data.type==="iframe"&&(n==null||n.push(e.data.url))}const Pi=c2.request,GKe=(e,t={},n="get",o={})=>Mr.get("userInfo").then(a=>{var h;const u={url:`/${((h=Qo())==null?void 0:h.project)||a.project_code}-web${e}`,method:n,...o},{title:d="",...p}=t;return n=="get"?u.params=Object.assign({other_log_info:{title:d}},p):u.data=Object.assign({other_log_info:{title:d}},p),c2.request(u)});let Vs=i.ref(),u2=i.ref(),K7=i.ref(),X7=i.ref();const mne="configkey",$T=e=>{if(!e)return e;if(u2.value==!0)return $t.cloneDeep(e);try{return z8.AES.encrypt(JSON.stringify(e),mne).toString()}catch{return e}},Vp=e=>{if(!e||u2.value==!0)return e;try{const t=z8.AES.decrypt(e,mne);return JSON.parse(t.toString(z8.enc.Utf8))}catch{return e}},qKe={encrypt:$T,decrypt:Vp},Tp={setKey(e){return`${Vs.value}:${e}`},set(e,t){window.localStorage.setItem(Tp.setKey(e),JSON.stringify(t))},get(e){let t=window.localStorage.getItem(Tp.setKey(e));return t?JSON.parse(t):null},remove(e){window.localStorage.removeItem(Tp.setKey(e))},clear(){window.localStorage.clear()}},YKe={set(e,t){if(e==="token")return HE.set(e,t);window.sessionStorage.setItem(Tp.setKey(e),JSON.stringify(t))},get(e){if(e==="token")return HE.get(e);let t=window.sessionStorage.getItem(Tp.setKey(e));return t?JSON.parse(t):null},remove(e){if(e==="token")return HE.remove(e);window.sessionStorage.removeItem(Tp.setKey(e))},clear(){HE.remove("token"),window.sessionStorage.clear()}};class KKe{constructor(){MN(this,"store");this.store=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:"systemConfig_00000_001",storeName:"systemConfig",version:1,description:"系统信息"})}setKey(t){return`${Vs.value}:${t}`}set(t,n){return this.store.setItem(this.setKey(t),$T(n))}get(t){return this.store.getItem(this.setKey(t)).then(n=>Vp(n))}async getToken(){return this.getUserByProject().then(t=>t==null?void 0:t.access_token)}getUserByProject(t){var a;const n=t||((a=Qo())==null?void 0:a.project),o=n?`hs-${n}-web`:Vs.value;return this.store.getItem(`${o}:userInfo`).then(l=>Vp(l))}remove(t){return this.store.removeItem(this.setKey(t))}clear(){return this.store.clear()}drop(t){return this.store.dropInstance({name:t})}}const Mr=new KKe;class XKe{constructor(t){MN(this,"store");this.store=ei.createInstance(Object.assign({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:"customeConfig_00000_001",storeName:"customeConfig",version:1,description:"自定义配置系统信息"},t||{}))}setKey(t){return`${Vs.value}:${t}`}set(t,n){return this.store.setItem(this.setKey(t),n)}get(t){return this.store.getItem(this.setKey(t))}remove(t){return this.store.removeItem(this.setKey(t))}clear(){return this.store.clear()}}function J7({mid:e,id:t,uid:n},o=""){return Mr.get("userInfo").then(async a=>{const l=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${n||a.id}_${e}`,version:1,description:"配置系统"}),u=o?`${Vs.value}:${o}`:`${Vs.value}:${t}`,d=await l.getItem(u);return d?Vp(d):null})}function Z7({mid:e,id:t,uid:n},o,a=""){return Mr.get("userInfo").then(l=>{const u=`${n||l.id}_${e}`,d=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:u,version:1,description:"配置系统"}),p=a?`${Vs.value}:${a}`:`${Vs.value}:${t}`;return d.setItem(p,$T(o))})}function JKe(e,t){return Mr.get("userInfo").then(n=>ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${t||n.id}_${e}`,version:1,description:"配置系统"}).clear())}function ZKe({table_id:e,uid:t}){return Mr.get("userInfo").then(async n=>{const o=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${t||n.id}`,version:1,description:"配置系统列宽属性"}),a=`${Vs.value}:${e}`,l=await o.getItem(a);return l?Vp(l):null})}function vne({table_id:e,uid:t},n){return Mr.get("userInfo").then(o=>{const a=`${t||o.id}`,l=ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:a,version:1,description:"配置系统列宽属性"}),u=`${Vs.value}:${e}`;return l.setItem(u,$T(n))})}function QKe(e=["systemConfig_00000_001","emscripten_filesystem"]){return indexedDB.databases().then(function(t){return Promise.all(t.filter(n=>!e.includes(n.name)).map(n=>Mr.drop(n.name))).then(()=>{Sa.success("清除缓存成功!")})})}async function eXe(e){const t=await Mr.get("userInfo"),{project_code:n,...o}=e||{},a=n||t.project_code,l=await Pi({url:`/${a}-web/pri/params/get_param_list`,method:"get",params:o});return await gne(l.data),l.data}async function tXe(e){const t=await Mr.get("userInfo"),{project_code:n,...o}=e||{},a=n||t.project_code,l=await Pi({url:`/${a}-web/pri/params_self/get_param_list`,method:"get",params:o});return l.code!==1?{}:l.data.reduce((u,d)=>(u[d.param_code]=d,u),{})}async function gne(e){const t=await Mr.get("system_params")||{},n=e.find(a=>a.param_code==="sys_input_8");n&&(Jy.value=Number(n.param_value),t.decimal_digits=Number(n.param_value));const o=e.find(a=>a.param_code==="sys_input_10");o&&(t._sys_pageSize=Number(o.param_value),t._sys_pageSize_s=JSON.parse(o.json_data||"[]").map(a=>Number(a.value))),await Mr.set("system_params",t)}function nXe(e,t){const n=e||Qo().mid;return n?Mr.get("userInfo").then(async o=>{const l=await ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${t||o.id}_${n}`,version:1,description:"配置系统"}).getItem(`${Vs.value}:auth`);return l?Vp(l).dict_functions.map(d=>{const p=JSON.parse(d.json_data||"[]").filter(h=>["true",!0].includes(h.show)).map(h=>({...h,name:h.dict_child_name,code:h.dict_child_code})).sort((h,v)=>h.sort-v.sort);return{code:d.code,json_data:p}}).reduce((d,p)=>(d[p.code]=p.json_data,d),{}):{}}):(console.error("未获取到mid,请检查url中是否存在mid参数"),Promise.resolve({}))}function rXe(e,t){const{mid:n,project:o}=Qo(),a=e||n;return a?Mr.get("userInfo").then(async l=>{const{id:u,project_code:d}=l,p=`${t||u}`;return Pi({url:`/${o||d||"qwp"}-web/pri/v2/perminssion/get_menu_prminssion`,method:"get",params:{menu_id:a,user_id:p}})}).then(l=>{if(l.code!==1)return{};const{dict_functions:u}=l.data;return u?JSON.parse(u).map(d=>{const p=JSON.parse(d.json_data||"[]").filter(h=>["true",!0].includes(h.show)).map(h=>({...h,name:h.dict_child_name,code:h.dict_child_code})).sort((h,v)=>h.sort-v.sort);return{code:d.code,json_data:p}}).reduce((d,p)=>(d[p.code]=p.json_data,d),{}):{}}):(console.error("未获取到mid,请检查url中是否存在mid参数"),Promise.resolve({}))}function iXe(e,t){const n=e||Qo().mid;return n?Mr.get("userInfo").then(async o=>{const l=await ei.createInstance({driver:[ei.INDEXEDDB,ei.WEBSQL,ei.LOCALSTORAGE],name:`${t||o.id}_${n}`,version:1,description:"配置系统"}).getItem(`${Vs.value}:auth`);return l?Vp(l).field_functions:{}}):(console.error("未获取到mid,请检查url中是否存在mid参数"),Promise.resolve({}))}const cq=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],ud=(()=>{if(typeof document>"u")return!1;const e=cq[0],t={};for(const n of cq)if((n==null?void 0:n[1])in document){for(const[a,l]of n.entries())t[e[a]]=l;return t}return!1})(),uq={change:ud.fullscreenchange,error:ud.fullscreenerror};let Ns={request(e=document.documentElement,t){return new Promise((n,o)=>{const a=()=>{Ns.off("change",a),n()};Ns.on("change",a);const l=e[ud.requestFullscreen](t);l instanceof Promise&&l.then(a).catch(o)})},exit(){return new Promise((e,t)=>{if(!Ns.isFullscreen){e();return}const n=()=>{Ns.off("change",n),e()};Ns.on("change",n);const o=document[ud.exitFullscreen]();o instanceof Promise&&o.then(n).catch(t)})},toggle(e,t){return Ns.isFullscreen?Ns.exit():Ns.request(e,t)},onchange(e){Ns.on("change",e)},onerror(e){Ns.on("error",e)},on(e,t){const n=uq[e];n&&document.addEventListener(n,t,!1)},off(e,t){const n=uq[e];n&&document.removeEventListener(n,t,!1)},raw:ud};Object.defineProperties(Ns,{isFullscreen:{get:()=>!!document[ud.fullscreenElement]},element:{enumerable:!0,get:()=>document[ud.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[ud.fullscreenEnabled]}});ud||(Ns={isEnabled:!1});const oXe=Ns;var _ne={exports:{}};/*!
102
102
  * clipboard.js v2.0.11
103
103
  * https://clipboardjs.com/
104
104
  *
@@ -55325,7 +55325,6 @@ async function IKe(e) {
55325
55325
  i && (t._sys_pageSize = Number(i.param_value), t._sys_pageSize_s = JSON.parse(i.json_data || "[]").map((a) => Number(a.value))), await Qr.set("system_params", t);
55326
55326
  }
55327
55327
  function gtt(e, t) {
55328
- console.log("获取当前菜单id下字典列表数据(不调用接口方式)");
55329
55328
  const n = e || Oo().mid;
55330
55329
  return n ? Qr.get("userInfo").then(async (i) => {
55331
55330
  const s = await gi.createInstance({