k5web/assets/index.c4ecc1be.js

46 lines
1.3 MiB
JavaScript
Raw Normal View History

2024-02-08 10:38:15 +00:00
import{d as defineComponent,A as getPrefixCls,c as computed,B as isNumber$1,_ as _export_sfc$1,C as openBlock,D as createElementBlock,E as normalizeClass,F as normalizeStyle,G as createBaseVNode,H as createStaticVNode,I as IconCaretDown,J as IconCaretLeft,K as IconCaretRight,L as IconCaretUp,M as IconDoubleLeft,N as IconDoubleRight,O as IconDown,P as IconLeft,Q as IconMenuFold,R as IconMenuUnfold,S as IconRight,T as IconRotateLeft,U as IconRotateRight,V as IconToTop,W as IconUp,X as IconCheckCircleFill,Y as IconCloseCircleFill,Z as IconExclamationCircleFill,$ as IconInfoCircleFill,a0 as IconCheck,a1 as IconClockCircle,a2 as IconClose,a3 as IconExclamation,a4 as IconInfo,a5 as IconMinus,a6 as IconPlus,a7 as IconQuestionCircle,a8 as IconStarFill,a9 as IconEyeInvisible,aa as IconEye,ab as IconMore,ac as IconSearch,ad as IconUpload,ae as IconCopy,af as IconDelete,ag as IconEdit,ah as IconFilter,ai as IconLink,aj as IconObliqueLine,ak as IconOriginalSize,al as IconZoomIn,am as IconZoomOut,an as IconPlayArrowFill,ao as IconFullscreen,ap as IconPause,aq as IconFaceFrownFill,ar as IconFaceMehFill,as as IconFaceSmileFill,at as IconCalendar,au as IconDragDotVertical,av as IconDragDot,aw as IconEmpty,ax as IconFileAudio,ay as IconFileImage,az as IconFilePdf,aA as IconFileVideo,aB as IconFile,aC as IconImageClose,aD as IconLoading,f as ref,n as nextTick,aE as createBlock,u as unref,aF as createCommentVNode,aG as Breadcrumb,aH as withCtx,aI as createVNode,aJ as renderList,aK as Fragment,aL as BreadcrumbItem,aM as createTextVNode,aN as toDisplayString,aO as commonjsGlobal,aP as getDefaultExportFromCjs,aQ as Notification,aR as getAugmentedNamespace,aS as vue_esmBundler,aT as dayjs,aU as InputNumber,aV as Switch,aW as Alert,aX as Drawer,aY as Message,aZ as Button,a_ as ConfigProvider,a$ as lang,b0 as resolveComponent,b1 as Modal,b2 as createApp}from"./arco.beabb834.js";import{B,u as use,i as install$1,a as install$2,b as install$3,c as install$4,d as install$5,e as install$6,f as install$7,g as install$8,h as install$9,j as install$a}from"./chart.83b8c11b.js";import{d as defineStore,c as createPinia,a as createRouter,b as createWebHashHistory,s as shared_esmBrowser,e as coreBase_esmBrowser,u as useClipboard}from"./vue.30c84055.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const t of r.addedNodes)t.tagName==="LINK"&&t.rel==="modulepreload"&&u(t)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerpolicy&&(r.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?r.credentials="include":o.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function u(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const _sfc_main$3F=defineComponent({name:"IconArrowDown",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:l=>["butt","round","square"].includes(l)},strokeLinejoin:{type:String,default:"miter",validator:l=>["arcs","bevel","miter","miter-clip","round"].includes(l)},rotate:Number,spin:Boolean},emits:{click:l=>!0},setup(l,{emit:e}){const n=getPrefixCls("icon"),u=computed(()=>[n,`${n}-arrow-down`,{[`${n}-spin`]:l.spin}]),o=computed(()=>{const t={};return l.size&&(t.fontSize=isNumber$1(l.size)?`${l.size}px`:l.size),l.rotate&&(t.transform=`rotate(${l.rotate}deg)`),t});return{cls:u,innerStyle:o,onClick:t=>{e("click",t)}}}}),_hoisted_1$3A=["stroke-width","stroke-linecap","stroke-linejoin"],_hoisted_2$3A=createBaseVNode("path",{d:"m11.27 27.728 12.727 12.728 12.728-12.728M24 5v34.295"},null,-1),_hoisted_3$3w=[_hoisted_2$3A];function _sfc_render$3z(l,e,n,u,o,r){return openBlock(),createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:normalizeClass(l.cls),style:normalizeStyle(l.innerSty
2024-02-08 10:59:01 +00:00
* @license MIT */(function(l,e){(function(n,u){l.exports=u()})(commonjsGlobal,function(){var n={};n.version="0.2.0";var u=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(k){var b,E;for(b in k)E=k[b],E!==void 0&&k.hasOwnProperty(b)&&(u[b]=E);return this},n.status=null,n.set=function(k){var b=n.isStarted();k=o(k,u.minimum,1),n.status=k===1?null:k;var E=n.render(!b),R=E.querySelector(u.barSelector),J=u.speed,s2=u.easing;return E.offsetWidth,f(function(j){u.positionUsing===""&&(u.positionUsing=n.getPositioningCSS()),_(R,t(k,J,s2)),k===1?(_(E,{transition:"none",opacity:1}),E.offsetWidth,setTimeout(function(){_(E,{transition:"all "+J+"ms linear",opacity:0}),setTimeout(function(){n.remove(),j()},J)},J)):setTimeout(j,J)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var k=function(){setTimeout(function(){!n.status||(n.trickle(),k())},u.trickleSpeed)};return u.trickle&&k(),this},n.done=function(k){return!k&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(k){var b=n.status;return b?(typeof k!="number"&&(k=(1-b)*o(Math.random()*b,.1,.95)),b=o(b+k,0,.994),n.set(b)):n.start()},n.trickle=function(){return n.inc(Math.random()*u.trickleRate)},function(){var k=0,b=0;n.promise=function(E){return!E||E.state()==="resolved"?this:(b===0&&n.start(),k++,b++,E.always(function(){b--,b===0?(k=0,n.done()):n.set((k-b)/k)}),this)}}(),n.render=function(k){if(n.isRendered())return document.getElementById("nprogress");C(document.documentElement,"nprogress-busy");var b=document.createElement("div");b.id="nprogress",b.innerHTML=u.template;var E=b.querySelector(u.barSelector),R=k?"-100":r(n.status||0),J=document.querySelector(u.parent),s2;return _(E,{transition:"all 0 linear",transform:"translate3d("+R+"%,0,0)"}),u.showSpinner||(s2=b.querySelector(u.spinnerSelector),s2&&F(s2)),J!=document.body&&C(J,"nprogress-custom-parent"),J.appendChild(b),b},n.remove=function(){y(document.documentElement,"nprogress-busy"),y(document.querySelector(u.parent),"nprogress-custom-parent");var k=document.getElementById("nprogress");k&&F(k)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var k=document.body.style,b="WebkitTransform"in k?"Webkit":"MozTransform"in k?"Moz":"msTransform"in k?"ms":"OTransform"in k?"O":"";return b+"Perspective"in k?"translate3d":b+"Transform"in k?"translate":"margin"};function o(k,b,E){return k<b?b:k>E?E:k}function r(k){return(-1+k)*100}function t(k,b,E){var R;return u.positionUsing==="translate3d"?R={transform:"translate3d("+r(k)+"%,0,0)"}:u.positionUsing==="translate"?R={transform:"translate("+r(k)+"%,0)"}:R={"margin-left":r(k)+"%"},R.transition="all "+b+"ms "+E,R}var f=function(){var k=[];function b(){var E=k.shift();E&&E(b)}return function(E){k.push(E),k.length==1&&b()}}(),_=function(){var k=["Webkit","O","Moz","ms"],b={};function E(j){return j.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t2,h2){return h2.toUpperCase()})}function R(j){var t2=document.body.style;if(j in t2)return j;for(var h2=k.length,P=j.charAt(0).toUpperCase()+j.slice(1),T;h2--;)if(T=k[h2]+P,T in t2)return T;return j}function J(j){return j=E(j),b[j]||(b[j]=R(j))}function s2(j,t2,h2){t2=J(t2),j.style[t2]=h2}return function(j,t2){var h2=arguments,P,T;if(h2.length==2)for(P in t2)T=t2[P],T!==void 0&&t2.hasOwnProperty(P)&&s2(j,P,T);else s2(j,h2[1],h2[2])}}();function p(k,b){var E=typeof k=="string"?k:w(k);return E.indexOf(" "+b+" ")>=0}function C(k,b){var E=w(k),R=E+b;p(E,b)||(k.className=R.substring(1))}function y(k,b){var E=w(k),R;!p(k,b)||(R=E.replace(" "+b+" "," "),k.className=R.substring(1,R.length-1))}function w(k){return(" "+(k.className||"")+" ").replace(/\s+/gi," ")}function F(k){k&&k.parentNode&&k.parentNode.removeChild(k)}ret
`),function(p){if(f=p.indexOf(":"),r=l.trim(p.substr(0,f)).toLowerCase(),t=l.trim(p.substr(f+1)),r){if(o[r]&&e.indexOf(r)>=0)return;r==="set-cookie"?o[r]=(o[r]?o[r]:[]).concat([t]):o[r]=o[r]?o[r]+", "+t:t}}),o},parseHeaders}var isURLSameOrigin,hasRequiredIsURLSameOrigin;function requireIsURLSameOrigin(){if(hasRequiredIsURLSameOrigin)return isURLSameOrigin;hasRequiredIsURLSameOrigin=1;var l=utils$8;return isURLSameOrigin=l.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a"),o;function r(t){var f=t;return n&&(u.setAttribute("href",f),f=u.href),u.setAttribute("href",f),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:u.pathname.charAt(0)==="/"?u.pathname:"/"+u.pathname}}return o=r(window.location.href),function(f){var _=l.isString(f)?r(f):f;return _.protocol===o.protocol&&_.host===o.host}}():function(){return function(){return!0}}(),isURLSameOrigin}var Cancel_1,hasRequiredCancel;function requireCancel(){if(hasRequiredCancel)return Cancel_1;hasRequiredCancel=1;function l(e){this.message=e}return l.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},l.prototype.__CANCEL__=!0,Cancel_1=l,Cancel_1}var xhr,hasRequiredXhr;function requireXhr(){if(hasRequiredXhr)return xhr;hasRequiredXhr=1;var l=utils$8,e=requireSettle(),n=requireCookies(),u=buildURL$1,o=requireBuildFullPath(),r=requireParseHeaders(),t=requireIsURLSameOrigin(),f=requireCreateError(),_=requireDefaults(),p=requireCancel();return xhr=function(y){return new Promise(function(F,k){var b=y.data,E=y.headers,R=y.responseType,J;function s2(){y.cancelToken&&y.cancelToken.unsubscribe(J),y.signal&&y.signal.removeEventListener("abort",J)}l.isFormData(b)&&delete E["Content-Type"];var j=new XMLHttpRequest;if(y.auth){var t2=y.auth.username||"",h2=y.auth.password?unescape(encodeURIComponent(y.auth.password)):"";E.Authorization="Basic "+btoa(t2+":"+h2)}var P=o(y.baseURL,y.url);j.open(y.method.toUpperCase(),u(P,y.params,y.paramsSerializer),!0),j.timeout=y.timeout;function T(){if(!!j){var $2="getAllResponseHeaders"in j?r(j.getAllResponseHeaders()):null,V=!R||R==="text"||R==="json"?j.responseText:j.response,E2={data:V,status:j.status,statusText:j.statusText,headers:$2,config:y,request:j};e(function(y2){F(y2),s2()},function(y2){k(y2),s2()},E2),j=null}}if("onloadend"in j?j.onloadend=T:j.onreadystatechange=function(){!j||j.readyState!==4||j.status===0&&!(j.responseURL&&j.responseURL.indexOf("file:")===0)||setTimeout(T)},j.onabort=function(){!j||(k(f("Request aborted",y,"ECONNABORTED",j)),j=null)},j.onerror=function(){k(f("Network Error",y,null,j)),j=null},j.ontimeout=function(){var V=y.timeout?"timeout of "+y.timeout+"ms exceeded":"timeout exceeded",E2=y.transitional||_.transitional;y.timeoutErrorMessage&&(V=y.timeoutErrorMessage),k(f(V,y,E2.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",j)),j=null},l.isStandardBrowserEnv()){var p2=(y.withCredentials||t(P))&&y.xsrfCookieName?n.read(y.xsrfCookieName):void 0;p2&&(E[y.xsrfHeaderName]=p2)}"setRequestHeader"in j&&l.forEach(E,function(V,E2){typeof b>"u"&&E2.toLowerCase()==="content-type"?delete E[E2]:j.setRequestHeader(E2,V)}),l.isUndefined(y.withCredentials)||(j.withCredentials=!!y.withCredentials),R&&R!=="json"&&(j.responseType=y.responseType),typeof y.onDownloadProgress=="function"&&j.addEventListener("progress",y.onDownloadProgress),typeof y.onUploadProgress=="function"&&j.upload&&j.upload.addEventListener("progress",y.onUploadProgress),(y.cancelToken||y.signal)&&(J=function($2){!j||(k(!$2||$2&&$2.type?new p("canceled"):$2),j.abort(),j=null)},y.cancelToken&&y.cancelToken.subscribe(J),y.signal&&(y.signal.aborted?J():y.signal.addEventListener("abort",J))),b||(b=null),j.send(b)})},xhr}var defaults_1,hasRequiredDefaults;function requireDefaults(){if(hasRequiredDefaults)return defaults_1;hasRequiredDefaults=1;var l=utils$8,e=normalizeHeaderName,n=enhanceError,u={"Content-Type":"application/x-www-form-urle
2024-02-08 10:38:15 +00:00
* vue-i18n v9.9.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/var shared=require$$0,coreBase=require$$1,vue=require$$2;const VERSION="9.9.0",code$1=coreBase.CoreWarnCodes.__EXTEND_POINT__,inc$1=shared.incrementer(code$1),I18nWarnCodes={FALLBACK_TO_ROOT:code$1,NOT_SUPPORTED_PRESERVE:inc$1(),NOT_SUPPORTED_FORMATTER:inc$1(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:inc$1(),NOT_SUPPORTED_GET_CHOICE_INDEX:inc$1(),COMPONENT_NAME_LEGACY_COMPATIBLE:inc$1(),NOT_FOUND_PARENT_SCOPE:inc$1(),IGNORE_OBJ_FLATTEN:inc$1(),NOTICE_DROP_ALLOW_COMPOSITION:inc$1()},warnMessages={[I18nWarnCodes.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[I18nWarnCodes.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[I18nWarnCodes.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[I18nWarnCodes.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[I18nWarnCodes.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[I18nWarnCodes.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze"};function getWarnMessage(l,...e){return shared.format(warnMessages[l],...e)}const code=coreBase.CoreErrorCodes.__EXTEND_POINT__,inc=shared.incrementer(code),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(l,...e){return coreBase.createCompileError(l,null,{messages:errorMessages,args:e})}const errorMessages={[I18nErrorCodes.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[I18nErrorCodes.INVALID_ARGUMENT]:"Invalid argument",[I18nErrorCodes.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[I18nErrorCodes.NOT_INSTALLED]:"Need to install with `app.use` function",[I18nErrorCodes.UNEXPECTED_ERROR]:"Unexpected error",[I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[I18nErrorCodes.REQUIRED_VALUE]:"Required in value: {0}",[I18nErrorCodes.INVALID_VALUE]:"Invalid value",[I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[I18nErrorCodes.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},TranslateVNodeSymbol=shared.makeSymbol("__translateVNode"),DatetimePartsSymbol=shared.makeSymbol("__datetimeParts"),NumberPartsSymbol=shared.makeSymbol("__numberParts"),EnableEmitter=shared.makeSymbol("__enableEmitter"),DisableEmitter=shared.makeSymbol("__disableEmitter"),SetPluralRulesSymbol=shared.makeSymbol("__setPluralRules");shared.makeSymbol("__intlifyMeta");const InejctWithOptionSymbol=shared.makeSymbol("__injectWithOption"),DisposeSymbol=shared.makeSymbol("__dispose"),__VUE_I18N_BRIDGE__="__VUE_I18N_BRIDGE__";function handleFlatJson(l){if(!shared.isObject(l))return l;for(const e in l)if(!!shared.hasOwn(l,e))if(!e.includes("."))shared.isObject(l[e])&&handleFlatJson(l[e]);else{const n=e.split("."),u=n.length-1;let o=l,r=!1;for(let t=0;t<u;t++){if(n[t]in o
Mock - 模拟请求 & 模拟数据
https://github.com/nuysoft/Mock
墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
*/var C={Handler:u,Random:r,Util:o,XHR:p,RE:t,toJSONSchema:f,valid:_,heredoc:o.heredoc,setup:function(y){return p.setup(y)},_mocked:{}};C.version="1.0.1-beta3",p&&(p.Mock=C),C.mock=function(y,w,F){return arguments.length===1?u.gen(y):(arguments.length===2&&(F=w,w=void 0),p&&(window.XMLHttpRequest=p),C._mocked[y+(w||"")]={rurl:y,rtype:w,template:F},C)},l.exports=C},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend};Handler.gen=function(l,e,n){e=e==null?"":e+"",n=n||{},n={path:n.path||[Constant.GUID],templatePath:n.templatePath||[Constant.GUID++],currentContext:n.currentContext,templateCurrentContext:n.templateCurrentContext||l,root:n.root||n.currentContext,templateRoot:n.templateRoot||n.templateCurrentContext||l};var u=Parser.parse(e),o=Util.type(l),r;return Handler[o]?(r=Handler[o]({type:o,template:l,name:e,parsedName:e&&e.replace(Constant.RE_KEY,"$1"),rule:u,context:n}),n.root||(n.root=r),r):l},Handler.extend({array:function(l){var e=[],n,u;if(l.template.length===0)return e;if(l.rule.parameters)if(l.rule.min===1&&l.rule.max===void 0)l.context.path.push(l.name),l.context.templatePath.push(l.name),e=Random.pick(Handler.gen(l.template,void 0,{path:l.context.path,templatePath:l.context.templatePath,currentContext:e,templateCurrentContext:l.template,root:l.context.root||e,templateRoot:l.context.templateRoot||l.template})),l.context.path.pop(),l.context.templatePath.pop();else if(l.rule.parameters[2])l.template.__order_index=l.template.__order_index||0,l.context.path.push(l.name),l.context.templatePath.push(l.name),e=Handler.gen(l.template,void 0,{path:l.context.path,templatePath:l.context.templatePath,currentContext:e,templateCurrentContext:l.template,root:l.context.root||e,templateRoot:l.context.templateRoot||l.template})[l.template.__order_index%l.template.length],l.template.__order_index+=+l.rule.parameters[2],l.context.path.pop(),l.context.templatePath.pop();else for(n=0;n<l.rule.count;n++)for(u=0;u<l.template.length;u++)l.context.path.push(e.length),l.context.templatePath.push(u),e.push(Handler.gen(l.template[u],e.length,{path:l.context.path,templatePath:l.context.templatePath,currentContext:e,templateCurrentContext:l.template,root:l.context.root||e,templateRoot:l.context.templateRoot||l.template})),l.context.path.pop(),l.context.templatePath.pop();else for(n=0;n<l.template.length;n++)l.context.path.push(n),l.context.templatePath.push(n),e.push(Handler.gen(l.template[n],n,{path:l.context.path,templatePath:l.context.templatePath,currentContext:e,templateCurrentContext:l.template,root:l.context.root||e,templateRoot:l.context.templateRoot||l.template})),l.context.path.pop(),l.context.templatePath.pop();return e},object:function(l){var e={},n,u,o,r,t,f;if(l.rule.min!=null)for(n=Util.keys(l.template),n=Random.shuffle(n),n=n.slice(0,l.rule.count),f=0;f<n.length;f++)o=n[f],r=o.replace(Constant.RE_KEY,"$1"),l.context.path.push(r),l.context.templatePath.push(o),e[r]=Handler.gen(l.template[o],o,{path:l.context.path,templatePath:l.context.templatePath,currentContext:e,templateCurrentContext:l.template,root:l.context.root||e,templateRoot:l.context.templateRoot||l.template}),l.context.path.pop(),l.context.templatePath.pop();else{n=[],u=[];for(o in l.template)(typeof l.template[o]=="function"?u:n).push(o);for(n=n.concat(u),f=0;f<n.length;f++)o=n[f],r=o.replace(Constant.RE_KEY,"$1"),l.context.path.push(r),l.context.templatePath.push(o),e[r]=Handler.gen(l.template[o],o,{path:l.context.path,templatePath:l.context.templatePath,currentContext:e,templateCurrentContext:l.template,root:l.context.root||e,templateRoot:l.context.templateRoot||l.template}),l.context.path.pop(),l.context.templatePath.pop(),t=o.match(Constant.RE_KEY),t&&t[2]&&Util.type(l.template[o])==="number"&&(l.template[o]+=parseInt(t[2],10))}return e},number:function(l){var e,n;if(l.rule.decimal){for(l.template+="",n=l.template.split("."),n[0]=l.rule.range?l.rule.count:n[0],n[1]=(n[1]||"").slice(0,l.rule
`?(N.seenCR||N.line++,N.column=1,N.seenCR=!1):pl==="\r"||pl==="\u2028"||pl==="\u2029"?(N.line++,N.column=1,N.seenCR=!0):(N.column++,N.seenCR=!1)}return ml!==a&&(ml>a&&(ml=0,rn={line:1,column:1,seenCR:!1}),m(rn,ml,a),ml=a),rn}function V(a){Jl>g||(g>Jl&&(Jl=g,Xl=[]),Xl.push(a))}function E2(a){var m=0;for(a.sort();m<a.length;)a[m-1]===a[m]?a.splice(m,1):m++}function I2(){var a,m,N,H,d2;return a=g,m=y2(),m!==null?(N=g,P.charCodeAt(g)===124?(H=Q3,g++):(H=null,U===0&&V(R2)),H!==null?(d2=I2(),d2!==null?(H=[H,d2],N=H):(g=N,N=X)):(g=N,N=X),N===null&&(N=o3),N!==null?(n2=a,m=R3(m,N),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X),a}function y2(){var a,m,N,H,d2;if(a=g,m=S2(),m===null&&(m=o3),m!==null)if(N=g,U++,H=A2(),U--,H===null?N=o3:(g=N,N=X),N!==null){for(H=[],d2=T2(),d2===null&&(d2=P2());d2!==null;)H.push(d2),d2=T2(),d2===null&&(d2=P2());H!==null?(d2=Q2(),d2===null&&(d2=o3),d2!==null?(n2=a,m=M3(m,H,d2),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X)}else g=a,a=X;else g=a,a=X;return a}function P2(){var a;return a=e3(),a===null&&(a=W(),a===null&&(a=A3())),a}function S2(){var a,m;return a=g,P.charCodeAt(g)===94?(m=K3,g++):(m=null,U===0&&V(l3)),m!==null&&(n2=a,m=kl()),m===null&&(g=a),a=m,a}function Q2(){var a,m;return a=g,P.charCodeAt(g)===36?(m=gl,g++):(m=null,U===0&&V(Z2)),m!==null&&(n2=a,m=Ql()),m===null&&(g=a),a=m,a}function T2(){var a,m,N;return a=g,m=P2(),m!==null?(N=A2(),N!==null?(n2=a,m=I3(m,N),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X),a}function A2(){var a,m,N;return U++,a=g,m=B2(),m!==null?(N=Y2(),N===null&&(N=o3),N!==null?(n2=a,m=G2(m,N),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X),U--,a===null&&(m=null,U===0&&V(Kl)),a}function B2(){var a;return a=F2(),a===null&&(a=K2(),a===null&&(a=k3(),a===null&&(a=g3(),a===null&&(a=d3(),a===null&&(a=f3()))))),a}function F2(){var a,m,N,H,d2,_3;return a=g,P.charCodeAt(g)===123?(m=r3,g++):(m=null,U===0&&V(J2)),m!==null?(N=V2(),N!==null?(P.charCodeAt(g)===44?(H=B3,g++):(H=null,U===0&&V($l)),H!==null?(d2=V2(),d2!==null?(P.charCodeAt(g)===125?(_3=E3,g++):(_3=null,U===0&&V(c3)),_3!==null?(n2=a,m=vl(N,d2),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X)):(g=a,a=X)):(g=a,a=X)):(g=a,a=X),a}function K2(){var a,m,N,H;return a=g,P.charCodeAt(g)===123?(m=r3,g++):(m=null,U===0&&V(J2)),m!==null?(N=V2(),N!==null?(P.substr(g,2)===Y3?(H=Y3,g+=2):(H=null,U===0&&V(ll)),H!==null?(n2=a,m=c2(N),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X)):(g=a,a=X),a}function k3(){var a,m,N,H;return a=g,P.charCodeAt(g)===123?(m=r3,g++):(m=null,U===0&&V(J2)),m!==null?(N=V2(),N!==null?(P.charCodeAt(g)===125?(H=E3,g++):(H=null,U===0&&V(c3)),H!==null?(n2=a,m=Cl(N),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X)):(g=a,a=X),a}function g3(){var a,m;return a=g,P.charCodeAt(g)===43?(m=Yl,g++):(m=null,U===0&&V(n3)),m!==null&&(n2=a,m=ln()),m===null&&(g=a),a=m,a}function d3(){var a,m;return a=g,P.charCodeAt(g)===42?(m=bl,g++):(m=null,U===0&&V(nn)),m!==null&&(n2=a,m=yl()),m===null&&(g=a),a=m,a}function f3(){var a,m;return a=g,P.charCodeAt(g)===63?(m=Sl,g++):(m=null,U===0&&V(nl)),m!==null&&(n2=a,m=wl()),m===null&&(g=a),a=m,a}function Y2(){var a;return P.charCodeAt(g)===63?(a=Sl,g++):(a=null,U===0&&V(nl)),a}function V2(){var a,m,N;if(a=g,m=[],el.test(P.charAt(g))?(N=P.charAt(g),g++):(N=null,U===0&&V(tl)),N!==null)for(;N!==null;)m.push(N),el.test(P.charAt(g))?(N=P.charAt(g),g++):(N=null,U===0&&V(tl));else m=X;return m!==null&&(n2=a,m=i3(m)),m===null&&(g=a),a=m,a}function e3(){var a,m,N,H;return a=g,P.charCodeAt(g)===40?(m=D3,g++):(m=null,U===0&&V(s3)),m!==null?(N=_2(),N===null&&(N=x2(),N===null&&(N=u2(),N===null&&(N=v2()))),N!==null?(P.charCodeAt(g)===41?(H=ul,g++):(H=null,U===0&&V(ol)),H!==null?(n2=a,m=rl(N),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X)):(g=a,a=X),a}function v2(){var a,m;return a=g,m=I2(),m!==null&&(n2=a,m=il(m)),m===null&&(g=a),a=m,a}function u2(){var a,m,N;return a=g,P.substr(g,2)===T3?(m=T3,g+=2):(m=null,U===0&&V(Il)),m!==null?(N=I2(),N!==null?(n2=a,m=Bl(N),m===null&&(g=a),a=m):(g=a,a=X)):(g=a,a=X),a}function _2(){var a,m,N;return a=g,P.substr(g,2)===El?(m=El,g+=2):(m=null,U===0&&V(Fl)),m!==null?(N=I2(),N!==null?(n2=a,m=xl(N),m===null&&(g=a),a=m):(g=a,
\r \v\xA0\u2028\u2029`,w={"\\w":t+f+_+"_","\\W":p.replace("_",""),"\\s":y,"\\S":function(){for(var k=C,b=0;b<y.length;b++)k=k.replace(y[b],"");return k}(),"\\d":_,"\\D":t+f+p};function F(k,b){for(var E="",R=k;R<=b;R++)E+=String.fromCharCode(R);return E}r.gen=function(k,b,E){return E=E||{guid:1},r[k.type]?r[k.type](k,b,E):r.token(k,b,E)},r.extend({token:function(k,b,E){switch(k.type){case"start":case"end":return"";case"any-character":return o.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return o.pick(_.split(""));case"non-digit":return o.pick((t+f+p).split(""));case"form-feed":break;case"line-feed":return k.body||k.text;case"carriage-return":break;case"white-space":return o.pick(y.split(""));case"non-white-space":return o.pick((t+f+_).split(""));case"tab":break;case"vertical-tab":break;case"word":return o.pick((t+f+_).split(""));case"non-word":return o.pick(p.replace("_","").split(""))}return k.body||k.text},alternate:function(k,b,E){return this.gen(o.boolean()?k.left:k.right,b,E)},match:function(k,b,E){b="";for(var R=0;R<k.body.length;R++)b+=this.gen(k.body[R],b,E);return b},"capture-group":function(k,b,E){return b=this.gen(k.body,b,E),E[E.guid++]=b,b},"non-capture-group":function(k,b,E){return this.gen(k.body,b,E)},"positive-lookahead":function(k,b,E){return this.gen(k.body,b,E)},"negative-lookahead":function(k,b,E){return""},quantified:function(k,b,E){b="";for(var R=this.quantifier(k.quantifier),J=0;J<R;J++)b+=this.gen(k.body,b,E);return b},quantifier:function(k,b,E){var R=Math.max(k.min,0),J=isFinite(k.max)?k.max:R+o.integer(3,7);return o.integer(R,J)},charset:function(k,b,E){if(k.invert)return this["invert-charset"](k,b,E);var R=o.pick(k.body);return this.gen(R,b,E)},"invert-charset":function(k,b,E){for(var R=C,J=0,s2;J<k.body.length;J++)switch(s2=k.body[J],s2.type){case"literal":R=R.replace(s2.body,"");break;case"range":for(var j=this.gen(s2.start,b,E).charCodeAt(),t2=this.gen(s2.end,b,E).charCodeAt(),h2=j;h2<=t2;h2++)R=R.replace(String.fromCharCode(h2),"");default:var P=w[s2.text];if(P)for(var T=0;T<=P.length;T++)R=R.replace(P[T],"")}return o.pick(R.split(""))},range:function(k,b,E){var R=this.gen(k.start,b,E).charCodeAt(),J=this.gen(k.end,b,E).charCodeAt();return String.fromCharCode(o.integer(R,J))},literal:function(k,b,E){return k.escaped?k.body:k.text},unicode:function(k,b,E){return String.fromCharCode(parseInt(k.code,16))},hex:function(k,b,E){return String.fromCharCode(parseInt(k.code,16))},octal:function(k,b,E){return String.fromCharCode(parseInt(k.code,8))},"back-reference":function(k,b,E){return E[k.code]||""},CONTROL_CHARACTER_MAP:function(){for(var k="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),b=`\0       \x07 \b
\v \f \r              \x1B    `.split(" "),E={},R=0;R<k.length;R++)E[k[R]]=b[R];return E}(),"control-character":function(k,b,E){return this.CONTROL_CHARACTER_MAP[k.code]}}),l.exports=r},function(l,e,n){l.exports=n(24)},function(l,e,n){var u=n(2),o=n(3),r=n(4);function t(f,_,p){p=p||[];var C={name:typeof _=="string"?_.replace(u.RE_KEY,"$1"):_,template:f,type:o.type(f),rule:r.parse(_)};switch(C.path=p.slice(0),C.path.push(_===void 0?"ROOT":C.name),C.type){case"array":C.items=[],o.each(f,function(y,w){C.items.push(t(y,w,C.path))});break;case"object":C.properties=[],o.each(f,function(y,w){C.properties.push(t(y,w,C.path))});break}return C}l.exports=t},function(l,e,n){l.exports=n(26)},function(l,e,n){var u=n(2),o=n(3),r=n(23);function t(p,C){for(var y=r(p),w=f.diff(y,C),F=0;F<w.length;F++);return w}var f={diff:function(C,y,w){var F=[];return this.name(C,y,w,F)&&this.type(C,y,w,F)&&(this.value(C,y,w,F),this.properties(C,y,w,F),this.items(C,y,w,F)),F},name:function(p,C,y,w){var F=w.length;return _.equal("name",p.path,y+"",p.name+"",w),w.length===F},type:function(p,C,y,w){var F=w.length;switch(p.type){case"string":if(p.template.match(u.RE_PLACEHOLDER))return!0;break;case"array":if(p.rule.parameters&&(p.rule.min!==void 0&&p.rule.max===void 0&&p.rule.count===1||p.rule.parameters[2]))return!0;break;case"function":return!0}return _.equal("type",p.path,o.type(C),p.type,w),w.length===F},value:function(p,C,y,w){var F=w.length,k=p.rule,b=p.type;if(b==="object"||b==="array"||b==="function")return!0;if(!k.parameters){switch(b){case"regexp":return _.match("value",p.path,C,p.template,w),w.length===F;case"string":if(p.template.match(u.RE_PLACEHOLDER))return w.length===F;break}return _.equal("value",p.path,C,p.template,w),w.length===F}var E;switch(b){case"number":var R=(C+"").split(".");R[0]=+R[0],k.min!==void 0&&k.max!==void 0&&(_.greaterThanOrEqualTo("value",p.path,R[0],Math.min(k.min,k.max),w),_.lessThanOrEqualTo("value",p.path,R[0],Math.max(k.min,k.max),w)),k.min!==void 0&&k.max===void 0&&_.equal("value",p.path,R[0],k.min,w,"[value] "+y),k.decimal&&(k.dmin!==void 0&&k.dmax!==void 0&&(_.greaterThanOrEqualTo("value",p.path,R[1].length,k.dmin,w),_.lessThanOrEqualTo("value",p.path,R[1].length,k.dmax,w)),k.dmin!==void 0&&k.dmax===void 0&&_.equal("value",p.path,R[1].length,k.dmin,w));break;case"boolean":break;case"string":E=C.match(new RegExp(p.template,"g")),E=E?E.length:0,k.min!==void 0&&k.max!==void 0&&(_.greaterThanOrEqualTo("repeat count",p.path,E,k.min,w),_.lessThanOrEqualTo("repeat count",p.path,E,k.max,w)),k.min!==void 0&&k.max===void 0&&_.equal("repeat count",p.path,E,k.min,w);break;case"regexp":E=C.match(new RegExp(p.template.source.replace(/^\^|\$$/g,""),"g")),E=E?E.length:0,k.min!==void 0&&k.max!==void 0&&(_.greaterThanOrEqualTo("repeat count",p.path,E,k.min,w),_.lessThanOrEqualTo("repeat count",p.path,E,k.max,w)),k.min!==void 0&&k.max===void 0&&_.equal("repeat count",p.path,E,k.min,w);break}return w.length===F},properties:function(p,C,y,w){var F=w.length,k=p.rule,b=o.keys(C);if(!!p.properties){if(p.rule.parameters?(k.min!==void 0&&k.max!==void 0&&(_.greaterThanOrEqualTo("properties length",p.path,b.length,Math.min(k.min,k.max),w),_.lessThanOrEqualTo("properties length",p.path,b.length,Math.max(k.min,k.max),w)),k.min!==void 0&&k.max===void 0&&k.count!==1&&_.equal("properties length",p.path,b.length,k.min,w)):_.equal("properties length",p.path,b.length,p.properties.length,w),w.length!==F)return!1;for(var E=0;E<b.length;E++)w.push.apply(w,this.diff(function(){var R;return o.each(p.properties,function(J){J.name===b[E]&&(R=J)}),R||p.properties[E]}(),C[b[E]],b[E]));return w.length===F}},items:function(p,C,y,w){var F=w.length;if(!!p.items){var k=p.rule;if(!p.rule.parameters)_.equal("items length",p.path,C.length,p.items.length,w);else{if(k.min!==void 0&&k.max!==void 0&&(_.greaterThanOrEqualTo("items",p.path,C.length,Math.min(k.min,k.max)*p.items.length,w,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),_.lessThanOrEqualTo("items",p.path,C.length,Math.max(k.
`);return k},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),u.extend(p.prototype,{addEventListener:function(k,b){var E=this.custom.events;E[k]||(E[k]=[]),E[k].push(b)},removeEventListener:function(k,b){for(var E=this.custom.events[k]||[],R=0;R<E.length;R++)E[R]===b&&E.splice(R--,1)},dispatchEvent:function(k){for(var b=this.custom.events[k.type]||[],E=0;E<b.length;E++)b[E].call(this,k);var R="on"+k.type;this[R]&&this[R](k)}});function C(){var F=function(){var E=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,R=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,J=location.href,s2=R.exec(J.toLowerCase())||[];return E.test(s2[1])}();return window.ActiveXObject?!F&&k()||b():k();function k(){try{return new window._XMLHttpRequest}catch{}}function b(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function y(F){for(var k in p.Mock._mocked){var b=p.Mock._mocked[k];if((!b.rurl||E(b.rurl,F.url))&&(!b.rtype||E(b.rtype,F.type.toLowerCase())))return b}function E(R,J){if(u.type(R)==="string")return R===J;if(u.type(R)==="regexp")return R.test(J)}}function w(F,k){return u.isFunction(F.template)?F.template(k):p.Mock.mock(F.template)}l.exports=p}])})})(mock);const Mock=mock.exports,debug=!1,setupMock=({mock:l,setup:e})=>{l!==!1&&debug&&e()},successResponseWrap=l=>({data:l,status:"ok",msg:"\u8BF7\u6C42\u6210\u529F",code:2e4}),failResponseWrap=(l,e,n=5e4)=>({data:l,status:"fail",msg:e,code:n});setupMock({setup(){Mock.mock(new RegExp("/api/user/info"),()=>{if(isLogin()){const l=window.localStorage.getItem("userRole")||"admin";return successResponseWrap({name:"\u738B\u7ACB\u7FA4",avatar:"//lf1-xgcdn-tos.pstatp.com/obj/vcloud/vadmin/start.8e0e4855ee346a46ccff8ff3e24db27b.png",email:"wangliqun@email.com",job:"frontend",jobName:"\u524D\u7AEF\u827A\u672F\u5BB6",organization:"Frontend",organizationName:"\u524D\u7AEF",location:"beijing",locationName:"\u5317\u4EAC",introduction:"\u4EBA\u6F47\u6D12\uFF0C\u6027\u6E29\u5B58",personalWebsite:"https://www.arco.design",phone:"150****0000",registrationDate:"2013-05-10 12:10:00",accountId:"15012312300",certification:1,role:l})}return failResponseWrap(null,"\u672A\u767B\u5F55",50008)}),Mock.mock(new RegExp("/api/user/login"),l=>{const{username:e,password:n}=JSON.parse(l.body);return e?n?e==="admin"&&n==="admin"?(window.localStorage.setItem("userRole","admin"),successResponseWrap({token:"12345"})):e==="user"&&n==="user"?(window.localStorage.setItem("userRole","user"),successResponseWrap({token:"54321"})):failResponseWrap(null,"\u8D26\u53F7\u6216\u8005\u5BC6\u7801\u9519\u8BEF",5e4):failResponseWrap(null,"\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A",5e4):failResponseWrap(null,"\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A",5e4)}),Mock.mock(new RegExp("/api/user/logout"),()=>successResponseWrap(null)),Mock.mock(new RegExp("/api/user/menu"),()=>successResponseWrap([{path:"/dashboard",name:"dashboard",meta:{locale:"menu.server.dashboard",requiresAuth:!0,icon:"icon-dashboard",order:1},children:[{path:"workplace",name:"Workplace",meta:{locale:"menu.server.workplace",requiresAuth:!0}},{path:"https://arco.design",name:"arcoWebsite",meta:{locale:"menu.arcoWebsite",requiresAuth:!0}}]}]))}});const haveReadIds=[],getMessageList=()=>[{id:1,type:"message",title:"\u90D1\u66E6\u6708",subTitle:"\u7684\u79C1\u4FE1",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/8361eeb82904210b4f55fab888fe8416.png~tplv-uwbnlip3yd-webp.webp",content:"\u5BA1\u6279\u8BF7\u6C42\u5DF2\u53D1\u9001\uFF0C\u8BF7\u67E5\u6536",time:"\u4ECA\u5929 12:30:01"},{id:2,type:"message",title:"\u5B81\u6CE2",subTitle:"\u7684\u56DE\u590D",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp",content:"\u6B64\u5904 bug \u5DF2\u7ECF\u4FEE\u590D",time:"\u4ECA\u5929 12:30:01"},{id:3,type:"message",title:"\u5B81\u6CE2",subTitle:"\u7684\u56DE\u590D",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp",content:"\u6B64\u5904 bug \u5DF2\u7ECF\u4FEE\u590D",time:"\u4ECA\u5929 12:20:01"},{id:4,
Error.stack: `+d.stack;if(typeof d=="object"&&d!==null){if(s.has(d))return"[Circular "+(c||"root")+"]";s.add(d)}return d}},U2=function(s){if(typeof s=="string")return s;try{return s instanceof Error?(JSON.stringify(s,$3(),4)||"undefined").replace(/"/gim,""):JSON.stringify(s,$3(),4)||"undefined"}catch(c){return`error happen when aegis stringify:
`+c.message+`
`+c.stack}},A3=function(s){if(typeof s=="string")return s;try{return JSON.stringify(s,$3())||"undefined"}catch(c){return`error happen when aegis stringify:
`+c.message+`
`+c.stack}},v3=function(s,c){c===void 0&&(c=3);var d,h,$,v="";return Array.isArray(s)?(v+="[",d=s.length,s.forEach(function(S,I){v=(v+=typeof S=="object"&&1<c?v3(S,c-1):Z3(S))+(I===d-1?"":",")}),v+="]"):s instanceof Object?(v="{",h=Object.keys(s),$=h.length,h.forEach(function(S,I){typeof s[S]=="object"&&1<c?v+='"'+S+'":'+v3(s[S],c-1):v+=H3(S,s[S]),v+=I===$-1||I<$-1&&s[h[I+1]]===void 0?"":","}),v+="}"):v+=s,v},H3=function(s,c){var d=typeof c,h="";return d=="string"||d=="object"?h+='"'+s+'":"'+c+'"':typeof c=="function"?h+='"'+s+'":"function '+c.name+'"':typeof c=="symbol"?h+='"'+s+'":"symbol"':typeof c!="number"&&d!="boolean"||(h+='"'+s+'": '+c),h},Z3=function(s){var c=typeof s;return""+(c=="undefined"||c=="symbol"||c=="function"?"null":c=="string"||c=="object"?'"'+s+'"':s)},G3=/data:(image|text|application|font)\/.*;base64/,j3=((Z=u2=u2||{}).INFO_ALL="-1",Z.API_RESPONSE="1",Z.INFO="2",Z.ERROR="4",Z.PROMISE_ERROR="8",Z.AJAX_ERROR="16",Z.SCRIPT_ERROR="32",Z.IMAGE_ERROR="64",Z.CSS_ERROR="128",Z.CONSOLE_ERROR="256",Z.MEDIA_ERROR="512",Z.RET_ERROR="1024",Z.REPORT="2048",Z.PV="4096",Z.EVENT="8192",Z.PAGE_NOT_FOUND_ERROR="16384",Z.WEBSOCKET_ERROR="32768",Z.BRIDGE_ERROR="65536",Z.LAZY_LOAD_ERROR="131072",(Z=_2=_2||{}).LOG="log",Z.SPEED="speed",Z.PERFORMANCE="performance",Z.OFFLINE="offline",Z.WHITE_LIST="whiteList",Z.VITALS="vitals",Z.PV="pv",Z.CUSTOM_PV="customPV",Z.EVENT="event",Z.CUSTOM="custom",Z.SDK_ERROR="sdkError",Z.SET_DATA="setData",Z.LOAD_PACKAGE="loadPackage",(Z=x2=x2||{}).production="production",Z.development="development",Z.gray="gray",Z.pre="pre",Z.daily="daily",Z.local="local",Z.test="test",Z.others="others",function(s){return s.filter(function(c,d){return c.type!=="static"||!s.find(function(h,$){return c.url===h.url&&c.status===200&&d<$})})}),b2=function(s){s.level===u2.INFO_ALL&&(s.level=u2.INFO)},L={},D={},a2=function(s){return L[s]||(L[s]=setTimeout(function(){D[s]={},L[s]=null},6e4)),L[s]},C2=function(s){return(Array.isArray(s)?s:[s]).map(function(c){return Object.getOwnPropertyNames(c).reduce(function(d,h){return h!=="ctx"&&(d[h]=c[h]),d},{level:u2.INFO,msg:""})})},O2=function(s){return function(c){return s.sendPipeline([function(d,h){return h({url:s.config.url||"",data:I2(C2(d)),method:"post",contentType:"application/json",type:_2.LOG,log:d,requestConfig:{timeout:5e3},success:function(){var $=s.config.onReport;typeof $=="function"&&d.forEach(function(v){$(v)}),typeof h=="function"&&h([])}})}],_2.LOG)(c)}},t3=function(){},Z=(o2.use=function(s){o2.installedPlugins.indexOf(s)===-1&&s.aegisPlugin&&o2.installedPlugins.push(s)},o2.unuse=function(s){s=o2.installedPlugins.indexOf(s),s!==-1&&o2.installedPlugins.splice(s,1)},o2.prototype.init=function(s){this.setConfig(s);for(var c=0;c<o2.installedPlugins.length;c++)try{o2.installedPlugins[c].patch(this)}catch(d){this.sendSDKError(d)}this.lifeCycle.emit("onInited")},o2.prototype.destroy=function(s){s===void 0&&(s=!1);var c,d,h=o2.instances.indexOf(this);h!==-1&&o2.instances.splice(h,1);for(var $=o2.installedPlugins.length-1;0<=$;$--)try{o2.installedPlugins[$].unpatch(this)}catch(S){this.sendSDKError(S)}if(this.lifeCycle.emit("destroy"),this.lifeCycle.clear(),s)c=this,d=Object.getOwnPropertyDescriptors(c),Object.keys(d).forEach(function(S){d[S].writable&&(c[S]=null)}),Object.setPrototypeOf(this,null);else{for(var v=this;v.constructor!==Object&&V2(v,this),v=Object.getPrototypeOf(v););o2.instances.length===0&&(h=Object.getPrototypeOf(this).constructor,V2(h),V2(o2))}},o2.prototype.setConfig=function(A){Object.assign(this.config,A);var A=this.config,c=A.id,d=A.uin,h=A.version,$=A.ext1,v=A.ext2,S=A.ext3,I=A.aid,z=A.env,x=z===void 0?"production":z,z=A.pageUrl,A=this.bean.id!==c||this.bean.uin!==d||this.bean.aid!==I;return this.bean.id=c||"",this.bean.uin=d||"",this.bean.version=h||"1.39.1",this.bean.aid=I||"",this.bean.env=function(){switch(x){case x2.production:case x2.development:case x2.gray:case x2.pre:case x2.daily:case x2.local:case x2.test:case x2.others:return 1;default:return}}()?x:x2.others,z&&this.extendBean("from",encodeURIComponent(z.slice(0,2048))),$&&this.e
`)+d+" header "+$+": "+v:h},""):""}function b3(s,c){return s&&["null","undefined"].indexOf(s)===-1?c+": "+s:""}function y3(v,c,d){c===void 0&&(c="");var h,$,v=typeof(($=v.api)==null?void 0:$.resourceTypeHandler)=="function"?($=v.api)==null?void 0:$.resourceTypeHandler(d):"";return w.indexOf(v)===-1&&(h=c===void 0?"":c,$=(d===void 0?"":d).split("?")[0],v=f2.test($)||W.some(function(S){return String(h).indexOf(S)!==-1})?"static":"fetch"),v}function S3(s,c){return s?u2.AJAX_ERROR:c?u2.RET_ERROR:u2.API_RESPONSE}function w3(s,c){return(s=s.api)!=null&&s.usePerformanceTiming&&typeof c.url=="string"&&(s=(s=performance.getEntriesByName(c.url))==null?void 0:s.pop(),s)?{url:c.url,isHttps:T2(c.url),method:c.method,type:c.type,status:c.status,duration:Number(s.duration.toFixed(2)),nextHopProtocol:s.nextHopProtocol||"",domainLookup:P2(s.domainLookupEnd-s.domainLookupStart),connectTime:P2(s.connectEnd-s.connectStart)}:{url:c.url,isHttps:T2(c.url),method:c.method,type:c.type,status:c.status,duration:Number(c.duration.toFixed(2)),nextHopProtocol:"",domainLookup:T.number,connectTime:T.number}}var X3,X,o3,Q3,R2,R3,M3,K3=!(K.isIE=function(){return"ActiveXObject"in window}),l3=[],kl=/^\/[^/]/,gl=!1,Z2=[],Ql=(new k2({name:"reportApiSpeed"}),new k2({name:"reportApiSpeed",override:!1,onNewAegis:function(s){var c,d;this.override||(this.override=!0,(d=s.config.api)!=null&&d.injectTraceHeader&&(this.traceRequestHeader=new V(d.injectTraceHeader,(c=d==null?void 0:d.injectTraceIgnoreUrls)!=null?c:[],d==null?void 0:d.injectTraceUrls)),this.overrideFetch(s.config,s),this.overrideXhr(s.config,s))},overrideFetch:function(s,c){var d=this,h=s.api,h={name:this.name,traceRequestHeader:h!=null&&h.injectTraceHeader?this.traceRequestHeader:null,then:function(S,I,x,z){var A,M;F2(x,s.hostUrl)||(A=S.headers?S.headers.get("content-type"):"",(M=y3(s,A||"",x))==="fetch"?S.clone().text().then(function(O){var q,r2=S.status<=0||400<=S.status,G=((G=s.api)==null?void 0:G.reqHeaders)||[],i2=m3(z==null?void 0:z.headers,G,"req"),G=((G=s.api)==null?void 0:G.resHeaders)||[],e2=m3(S.headers,G,"res"),Y=P(z==null?void 0:z.headers),G=A2(O,s.api,{url:x,ctx:S,payload:z==null?void 0:z.body}),Q=G.code,l2=G.isErr,G=(G=s.api)==null?void 0:G.apiDetail,m2=G?B2(z==null?void 0:z.body,(q=s.api)==null?void 0:q.reqParamHandler,{url:x}):"",X2=G?B2(O,(q=s.api)==null?void 0:q.resBodyHandler,{url:x,ctx:S}):"";setTimeout(function(){var g2=w3(s,{url:x,duration:I,type:M,status:S.status||0,method:(z==null?void 0:z.method)||"get"}),D2=[r2?"FETCH_ERROR: "+O:"","fetch req url: "+x,"res status: "+(g2.status||0),"res duration: "+g2.duration+"ms",i2,e2,"req method: "+(g2.method||"GET"),"res retcode: "+Q,b3(m2,"req param"),b3(X2,"res data")].filter(function(h3){return h3}).join(`
`);g2.payload=z==null?void 0:z.body,g2.ret=Q,g2.isErr=+l2,d.publishNormalLog({msg:D2,level:S3(r2,l2),code:Q,trace:Y},c),d.publishSpeed(g2,c)},0)}):setTimeout(function(){var O=w3(s,{url:x,duration:I,type:M,status:S.status||0,method:(z==null?void 0:z.method)||"get"});O.type="static",O.urlQuery=S2(x,!0),d.publishSpeed(O,c)},0))},catch:function(S,I,x,z){var A,M,O,q,r2;throw F2(x,s.hostUrl)||(A=y3(s,"",x),M=((M=s.api)==null?void 0:M.reqHeaders)||[],O=m3(z==null?void 0:z.headers,M,"req"),q=P(z==null?void 0:z.headers),r2=(M=s.api)!=null&&M.apiDetail?B2(z==null?void 0:z.body,(M=s.api)==null?void 0:M.reqParamHandler,{url:x}):"",setTimeout(function(){var i2=w3(s,{url:x,duration:I,type:A,status:0,method:(z==null?void 0:z.method)||"get"}),i2=(d.publishSpeed(i2,c),"AJAX_ERROR: "+S+`
req url: `+x+`
res status: 0
res duration: `+i2.duration+`ms
req method: `+((z==null?void 0:z.method)||"get")+`
req param: `+r2+`
`+O);d.publishNormalLog({msg:i2,level:u2.AJAX_ERROR,code:-400,trace:q},c)},0)),S}},$=(this.hackFetchOptions=h,this.hackFetchOptions),v=(h=s.api)==null?void 0:h.ignoreHackReg;if(v===void 0&&(v=/\.flv(\?|$)/gi),Z2.find(function(S){return S.name===$.name}))throw new Error("name '"+$.name+"' is already in hackFetch option list");Z2.push($),!gl&&window.fetch&&(gl=!0,Q3=window.fetch,window.fetch=function(S,I){I===void 0&&(I={});var x=typeof S=="string"?S:S==null?void 0:S.url;if((O=v==null?void 0:v.test)!=null&&O.call(v,x))return Q3(x,I);kl.test(x)&&(x=""+location.origin+x);var z,A,M,O=($||{}).traceRequestHeader;O&&(z=(z=(I||{}).headers)===void 0?{}:z,A=(M=J3()).host,M=M.pathname,A=(O=O.generate(x,z,{host:A,pathname:M})||{}).name,M=O.value)&&A&&(I.headers=Object.assign(z,((O={})[A]=M,O)));for(var q=0;q<Z2.length;q++){var r2=Z2[q];try{typeof r2.beforeFetch=="function"&&r2.beforeFetch(x,I)}catch{}}var i2=Date.now();return Q3(S,I).then(function(e2){for(var Y=e2.clone(),Q=0;Q<Z2.length;Q++){var l2=Z2[Q];try{typeof l2.then=="function"&&l2.then(Y,Date.now()-i2,x,I)}catch{}}return Y}).catch(function(e2){for(var Y=0;Y<Z2.length;Y++){var Q=Z2[Y];try{typeof Q.catch=="function"&&Q.catch(e2,Date.now()-i2,x,I)}catch{}}throw e2})})},overrideXhr:function(s,c){var d,h=this,$={name:this.name,ignoreHackReg:($=s.api)==null?void 0:$.ignoreHackReg,send:function(v,S){var I,x,z=Date.now(),A=(((s==null?void 0:s.api)||{}).injectTraceHeader&&(x=(I=J3()).host,I=I.pathname,I=(x=h.traceRequestHeader.generate(v.aegisUrl,{},{host:x,pathname:I})||{}).name,x=x.value,I)&&x&&v.setRequestHeader(I,x),v.addEventListener("loadend",function(){var q,r2,i2,e2,Y=v.aegisUrl||"";F2(Y,s.hostUrl)||v.failType==="abort"||(q="",(v.failType||!v.status||400<=v.status)&&(q=v.failType||"failed"),r2=Date.now()-z,i2=v.getResponseHeader("content-type")||"",e2=y3(s,i2,Y),setTimeout(function(){var Q=w3(s,{url:Y,duration:r2,type:e2,status:v.status,method:v.aegisMethod||"get"});if(e2==="fetch"){var g2=((g2=s.api)==null?void 0:g2.reqHeaders)||[],l2=m3(v.aegisXhrReqHeader,g2,"req"),g2=((g2=s.api)==null?void 0:g2.resHeaders)||[],G=v.getAllResponseHeaders().split(`\r
`).reduce(function(N2,w2){return w2=w2.split(": "),w2[0]&&w2[1]&&(N2[w2[0]]=w2[1]),N2},{}),m2=m3(G,g2,"res"),X2=P(v.aegisXhrReqHeader),g2=(G=s.api)==null?void 0:G.apiDetail,D2=g2?B2(S,(G=s.api)==null?void 0:G.reqParamHandler,{url:Y}):"",h3=g2?B2(v.response,(G=s.api)==null?void 0:G.resBodyHandler,{url:Y}):"";try{(function(N2,w2,z2,L2){var q3,ql,W2,Ul;try{if(typeof(w2==null?void 0:w2.retCodeHandlerAsync)=="function")return w2.retCodeHandlerAsync(N2,z2==null?void 0:z2.url,z2==null?void 0:z2.ctx,function(P3){var fl=P3.code,P3=P3.isErr;L2!=null&&L2({code:fl===void 0?F:fl,isErr:P3})});if(typeof(w2==null?void 0:w2.retCodeHandler)=="function")return W2=(ql=w2.retCodeHandler(N2,z2==null?void 0:z2.url,z2==null?void 0:z2.ctx,z2==null?void 0:z2.payload)||{}).code,Ul=ql.isErr,L2!=null&&L2({code:W2===void 0?F:W2,isErr:Ul});if(!(N2=typeof N2=="string"?JSON.parse(N2):N2))return L2!=null&&L2({code:F,isErr:!1});typeof((q3=w2==null?void 0:w2.ret)==null?void 0:q3.join)=="function"&&(q2=[].concat(w2.ret.map(function(U3){return U3.toLowerCase()})));var dl=Object.getOwnPropertyNames(N2).filter(function(U3){return q2.indexOf(U3.toLowerCase())!==-1});if(dl.length)return(W2=N2[dl[0]])!=="\u672A\u77E5"&&W2!==""||(W2=F),L2!=null&&L2({code:""+W2,isErr:W2!==0&&W2!=="0"&&W2!==F});L2!=null&&L2({code:F,isErr:!1})}catch{L2!=null&&L2({code:F,isErr:!1})}})(v.response,s.api,{url:Y,ctx:v,payload:S},function(z2){var w2=z2.code,z2=z2.isErr,L2=[q?"AJAX_ERROR: request "+q:"","fetch req url: "+Y,"res status: "+(Q.status||0),"res duration: "+Q.duration+"ms",l2,m2,"req method: "+(Q.method||"GET"),"res retcode: "+w2,b3(D2,"req param"),b3(h3,"res data")].filter(function(q3){return q3}).join(`
`);Q.ret=w2,Q.isErr=+z2,Q.payload=S,h.publishNormalLog({msg:L2,level:S3(!!q,z2),code:w2,trace:X2},c),h.publishSpeed(Q,c)})}catch{Q.ret=F,h.publishSpeed(Q,c)}}else Q.type="static",Q.urlQuery=S2(Y,!0),h.publishSpeed(Q,c);v.removeEventListener("abort",A),v.removeEventListener("error",M),v.removeEventListener("timeout",O)},0))}),function(){v.failType="abort"}),M=function(){v.failType="error"},O=function(){v.failType="timeout"};v.addEventListener("abort",A),v.addEventListener("error",M),v.addEventListener("timeout",O)}};this.hackXHROptions=$,d=this.hackXHROptions,l3.find(function(v){return v.name===d.name})||(l3.push(d),!K3&&window.XMLHttpRequest&&(X3=window.XMLHttpRequest.prototype.send,X=window.XMLHttpRequest.prototype.open,o3=window.XMLHttpRequest.prototype.setRequestHeader,K3=!0,window.XMLHttpRequest.prototype.open=function(){this.aegisMethod=arguments[0];var v,S=arguments[1];if(kl.test(S)&&(S=""+location.origin+S),this.aegisUrl=S,(S=(v=d.ignoreHackReg)==null?void 0:v.test)==null||!S.call(v,this.aegisUrl))if(this.aegisXhrStartTime=Date.now(),this.sendByAegis)K.isIE()||(this.timeout=5e3);else for(var I=0;I<l3.length;I++){var x=l3[I];try{typeof x.open=="function"&&x.open(this)}catch{}}return X.apply(this,arguments)},window.XMLHttpRequest.prototype.setRequestHeader=function(){var v,S,I;return(S=(I=d.ignoreHackReg)==null?void 0:I.test)!=null&&S.call(I,this.aegisUrl)?o3.apply(this,arguments):(S=arguments[0],I=arguments[1],this.aegisXhrReqHeader=(v=this.aegisXhrReqHeader)!=null?v:{},-1<["traceparent","b3","sw8","sentry-trace"].indexOf(S)&&(this.aegisXhrReqHeader[S]||(arguments[1]=I),this.aegisXhrReqHeader[S])?void 0:(this.aegisXhrReqHeader[S]=arguments[1],o3.apply(this,arguments)))},window.XMLHttpRequest.prototype.send=function(){var v,S;if(!((S=(v=d.ignoreHackReg)==null?void 0:v.test)!=null&&S.call(v,this.aegisUrl)||this.sendByAegis))for(var I=0;I<l3.length;I++){var x=l3[I];try{typeof x.send=="function"&&x.send(this,arguments[0])}catch{}}return X3.apply(this,arguments)}))},publishSpeed:function(s){var c=this;this.$walk(function(d){var h=c.$getConfig(d);s.type!=="fetch"||typeof(h==null?void 0:h.urlHandler)!="function"?(s.url=S2(s.url),d.speedLogPipeline(s)):d.speedLogPipeline(t(t({},s),{url:S2(h.urlHandler(s.url,s.payload))}))})},publishNormalLog:function(s){this.$walk(function(c){c.normalLogPipeline(s)})},destroy:function(){var s,c,d;this.option.publishSpeed=function(){},this.option.publishNormalLog=function(){},this.option.hackXHROptions&&(s=this.option.hackXHROptions,(d=l3.findIndex(function(h){return h.name===s.name}))!==-1)&&l3.splice(d,1),this.option.hackFetchOptions&&(c=this.option.hackFetchOptions,(d=Z2.findIndex(function(h){return h.name===c.name}))!==-1)&&Z2.splice(d,1),this.option.override=!1}})),I3={},Kl=new k2({name:"reportBridgeSpeed",override:!1,onNewAegis:function(s){this.override||(this.override=!0,this.overrideBridge(s))},publishSpeed:function(s,c){this.$walk(function(d){d===c&&d.speedLogPipeline(s)})},overrideBridge:function(s){var c=this,d=s.config;d.reportBridgeSpeed&&d.h5Bridge&&d.h5BridgeFunc.length&&d.h5BridgeFunc.forEach(function(h){var $=d.h5Bridge[h];I3[h]=$,d.h5Bridge[h]=function(){for(var v=[],S=0;S<arguments.length;S++)v[S]=arguments[S];var I=v[0],x=v[1],z=v[2],A=v[3],M=Date.now();$(I,x,z,function(O){var q=A2(O,d.api),r2=q.code,q=q.isErr,r2={url:I+"-"+x,name:I+"-"+x,duration:Date.now()-M,type:"bridge",ret:r2,isErr:+q};c.publishSpeed(r2,s),A(O)})}})},unHackBridge:function(s){Object.keys(I3).forEach(function(c){I3[c]&&(s.config.h5Bridge[c]=I3[c])}),I3={}},destroy:function(s){this.option.publishSpeed=function(){},this.option.unHackBridge(s),this.option.override=!1}});(c2=R2=R2||{})[c2.unknown=100]="unknown",c2[c2.wifi=1]="wifi",c2[c2.net2g=2]="net2g",c2[c2.net3g=3]="net3g",c2[c2.net4g=4]="net4g",c2[c2.net5g=5]="net5g",c2[c2.net6g=6]="net6g",(c2=R3=R3||{})[c2.android=1]="android",c2[c2.ios=2]="ios",c2[c2.windows=3]="windows",c2[c2.macos=4]="macos",c2[c2.linux=5]="linux",c2[c2.other=100]="other",(c2=M3=M3||{})[c2.unknown=100]="unknown",c2[c2.normal=0]="normal",c2[c2.weak=1]="weak",c2[c2.disconnected=2]
`+U2(z[4]||""),level:u2.ERROR},s),x!=null&&x.call.apply(x,f([window],z))},window.addEventListener("unhandledrejection",c),window.document.addEventListener("error",d,!0),s.lifeCycle.on("destroy",function(){bl.countInstance()===0&&(window.document.removeEventListener("unhandledrejection",c),window.document.removeEventListener("error",d,!0))}),s.config.websocketHack&&(h={key:s.config.id+"-"+this.name,onErr:function(z){var A;(A=I.publishWsErrorLog)!=null&&A.call(I,z,s)},sendErr:function(z){var A;(A=I.publishWsErrorLog)!=null&&A.call(I,z,s)}},this.hackWebsocketConfig=h,h=this.hackWebsocketConfig,window.Proxy)&&window.WebSocket&&($=window.WebSocket,window&&!$.isHack&&(v=new Proxy(WebSocket,ln),$.isHack=!0,window.WebSocket=v),S=h,n3.find(function(z){return z.key===S.key})||S&&n3.push(S))},publishErrorLog:function(s,c){this.$walk(function(d){d===c&&d.normalLogPipeline(s)})},publishWsErrorLog:function($,c){var d=$.connectUrl,h=$.msg,$=$.readyState;this.publishErrorLog({msg:`WEBSOCKET_ERROR:
connect: `+d+`
readyState: `+$+`
msg: `+h,level:u2.WEBSOCKET_ERROR},c)},destroy:function(){var s,c;this.option.publishErrorLog=function(){},this.option.hackWebsocketConfig&&(s=this.option.hackWebsocketConfig,window.WebSocket=Yl,(c=n3.findIndex(function(d){return d.key===s.key}))!==-1)&&n3.splice(c,1)}}),yl=(new k2({name:"pagePerformance"}),3),Sl=new k2({name:"pagePerformance",performanceMap:{},onNewAegis:function(s){e3()&&(r3?this.publish(r3,s):this.startCalcPerformance(s))},publish:function(s,c){var d=this;this.$walk(function(h){h===c&&h.sendPipeline([function($,v){var S,I=[];for(S in $)I.push(S+"="+$[S]);var x,z=d.$getConfig(h);if(z)return x=((x=h.config.performanceUrl)==null?void 0:x.indexOf("?"))===-1?"?":"&",typeof z.urlHandler=="function"?v({url:h.config.performanceUrl+x+I.join("&")+"&from="+(encodeURIComponent(z.urlHandler())||window.location.href),beanFilter:["from"],type:_2.PERFORMANCE,log:$}):v({url:h.config.performanceUrl+x+I.join("&"),type:_2.PERFORMANCE,log:$})}],_2.PERFORMANCE)(t({},s))})},startCalcPerformance:function(s){var c=this;try{this.getFirstScreenTiming(s,function(d){var h=performance.timing;h&&(r3={dnsLookup:G2(h.domainLookupEnd-h.domainLookupStart),tcp:G2(h.connectEnd-h.connectStart),ssl:G2(h.secureConnectionStart===0?0:h.requestStart-h.secureConnectionStart),ttfb:G2(h.responseStart-h.requestStart),contentDownload:G2(h.responseEnd-h.responseStart),domParse:G2(h.domInteractive-h.domLoading,0,15e3,1070),resourceDownload:G2(h.loadEventStart-h.domInteractive,0,15e3,1070),firstScreenTiming:G2(Math.floor(d),0,15e3,15e3)},(h=s.config).extraPerformanceData&&JSON.stringify(h.extraPerformanceData)!=="{}"&&(h=(d=h.extraPerformanceData).engineInit,d=d.bundleLoad,r3=t(t({},r3),{engineInit:G2(h,0,1e4),bundleLoad:G2(d,0,1e4)})),c.publish(r3,s))})}catch{}},getFirstScreenTiming:function(s,c){var d=this;s.lifeCycle.on("destroy",function(){M&&clearTimeout(M)});var h,$=this,v=["script","style","link","br"],S=[],I={},x=(-1<((z=(z=window.PerformanceObserver)==null?void 0:z.supportedEntryTypes)==null?void 0:z.indexOf("paint"))&&(h=new PerformanceObserver(function(O){O.getEntries().forEach(function(q){var r2;q.entryType==="paint"&&q.name==="first-contentful-paint"&&0<(r2=document.querySelectorAll("[AEGIS-FIRST-SCREEN-TIMING]")).length&&(d.setFirstScreenInfo(s,q.startTime,r2[0],r2),c!=null&&c(q.startTime),x.disconnect(),h.disconnect())})})).observe({entryTypes:["paint"]}),new MutationObserver(function(O){var q={roots:[],ignores:[],rootsDomNum:[],time:performance.now()};O.forEach(function(r2){r2&&r2.addedNodes&&Array.prototype.slice.call(r2.addedNodes).forEach(function(i2){$.isEleInArray(i2,q.ignores)?q.ignores.push(i2):i2.nodeType===1&&i2.hasAttribute("AEGIS-FIRST-SCREEN-TIMING")?(Object.prototype.hasOwnProperty.apply(I,[q.time])||(I[q.time]=[]),I[q.time].push(i2)):i2.nodeType===1&&($.hasAncestorOrSelfWithAttribute(i2,"AEGIS-IGNORE-FIRST-SCREEN-TIMING")?q.ignores.push(i2):v.indexOf(i2.nodeName.toLocaleLowerCase())!==-1||$.isEleInArray(i2,q.roots)||(q.roots.push(i2),q.rootsDomNum.push($.walkAndCount(i2)||0)))})}),q.roots.length&&S.push(q)}));x.observe(document,{childList:!0,subtree:!0});var z,A=function(O){(O=O===void 0?0:O)||(q=0,(i2=Object.keys(I)).length?(O=Math.max.apply(null,i2),d.setFirstScreenInfo(s,O,(i2=I[O])==null?void 0:i2[0],I)):S.forEach(function(l2){for(var G=0;G<l2.roots.length;G++)l2.rootsDomNum[G]>q&&$.isInFirstScreen(l2.roots[G])&&(q=l2.rootsDomNum[G],O=l2.time,d.setFirstScreenInfo(s,O,l2.roots[G]))}),S.length=0,Object.keys(I).forEach(function(l2){I[l2]=I[l2].map(function(G){var m2={tagName:G.tagName},X2=G.attributes;if(!X2)return G;for(var g2=0;g2<X2.length;g2++){var D2=X2[g2];D2.name&&(m2[D2.name]=G.getAttribute(D2.name))}return m2})}));var q,i2=performance.timing,r2=i2.domInteractive-i2.domLoading,i2=i2.loadEventStart-i2.domInteractive,e2=O;M=null;for(var Y=0,Q=[r2,i2,e2];Y<Q.length;Y++)if(Q[Y]<=0&&0<yl){M=setTimeout(function(){return A(e2)},3e3);break}M?--yl:(x.disconnect(),h!=null&&h.disconnect(),c!=null&&c(O))},M=setTimeout(function(){return A()},3e3)},setFirstScreenInfo:function(s,c,d,h){var $;s.config.id&&this.per
It is recommended that you contact us for feedback and thank you for your support.`,"color: red"),v.sendSDKError(S)}return v}function Wl(){this.constructor=sl}new k2({name:"ie"}),new k2({name:"onClose"});var Vl=new k2({name:"onClose",onNewAegis:function(s){var c,d=this;K.desktop()?(c=window.onunload,window.onunload=function(){for(var h=[],$=0;$<arguments.length;$++)h[$]=arguments[$];d.publishNotReportedLog(s),c!=null&&c.call.apply(c,f([window],h))}):xl(this.publishNotReportedLog.bind(this,s),{once:!0})},publishNotReportedLog:function(s){var c=this;this.$walk(function(d){d===s&&(d.sendNow=!0,d.publishPluginsLogs(),c.publishThrottlePipeLogs(d))})},publishThrottlePipeLogs:function(s){s!=null&&s.speedLogPipeline([]),s!=null&&s.eventPipeline([]),s!=null&&s.customTimePipeline([]),s!=null&&s.normalLogPipeline([])}});return new k2({name:"aid"}),Z.use(nn),Z.use(Ql),Z.use(hl),Z.use(Sl),Z.use(Ol),Z.use(H2),Z.use(c2),Z.use(on),Z.use(Vl),Z.use(Kl),Z})})(aegis_min);const Aegis=aegis_min.exports,encodingIndexes$1={big5:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null