| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))n(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function s(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(l){if(l.ep)return;l.ep=!0;const i=s(l);fetch(l.href,i)}})();/**
- * @vue/shared v3.5.43
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function kn(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const dt={},Ee=[],le=()=>{},Ol=()=>!1,Ls=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),qs=t=>t.startsWith("onUpdate:"),wt=Object.assign,Sn=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},Vi=Object.prototype.hasOwnProperty,lt=(t,e)=>Vi.call(t,e),G=Array.isArray,ye=t=>ds(t)==="[object Map]",ws=t=>ds(t)==="[object Set]",Un=t=>ds(t)==="[object Date]",Y=t=>typeof t=="function",_t=t=>typeof t=="string",ie=t=>typeof t=="symbol",ct=t=>t!==null&&typeof t=="object",Al=t=>(ct(t)||Y(t))&&Y(t.then)&&Y(t.catch),Pl=Object.prototype.toString,ds=t=>Pl.call(t),zi=t=>ds(t).slice(8,-1),Dl=t=>ds(t)==="[object Object]",Mn=t=>_t(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Xe=kn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fs=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},Gi=/-\w/g,zt=Fs(t=>t.replace(Gi,e=>e.slice(1).toUpperCase())),Yi=/\B([A-Z])/g,De=Fs(t=>t.replace(Yi,"-$1").toLowerCase()),Hl=Fs(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ys=Fs(t=>t?`on${Hl(t)}`:""),ne=(t,e)=>!Object.is(t,e),Js=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},jl=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Ji=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Vn;const Is=()=>Vn||(Vn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vt(t){if(G(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],l=_t(n)?to(n):vt(n);if(l)for(const i in l)e[i]=l[i]}return e}else if(_t(t)||ct(t))return t}const Zi=/;(?![^(]*\))/g,Xi=/:([^]+)/,Qi=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function to(t){const e={};return t.replace(Qi,s=>s.startsWith("/*")?"":s).split(Zi).forEach(s=>{if(s){const n=s.split(Xi);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Et(t){let e="";if(_t(t))e=t;else if(G(t))for(let s=0;s<t.length;s++){const n=Et(t[s]);n&&(e+=n+" ")}else if(ct(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const eo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",so=kn(eo);function Ll(t){return!!t||t===""}function no(t,e,s){if(t.length!==e.length)return!1;let n=!0;for(let l=0;n&&l<t.length;l++)n=Rs(t[l],e[l],s);return n}function zn(t,e,s){if(t.size!==e.size)return!1;const n=Array.from(e),l=new Uint8Array(n.length);for(const i of t){let c=-1;for(let a=0;a<n.length;a++)if(!l[a]&&Rs(i,n[a],s)){c=a;break}if(c<0)return!1;l[c]=1}return!0}function lo(t,e,s){let n=ye(t),l=ye(e);if(n||l||(n=ws(t),l=ws(e),n||l))return n&&l?zn(t,e,s):!1;const i=Object.keys(t).length,c=Object.keys(e).length;if(i!==c)return!1;for(const a in t){const u=t.hasOwnProperty(a),m=e.hasOwnProperty(a);if(u&&!m||!u&&m||!Rs(t[a],e[a],s))return!1}return String(t)===String(e)}function Gn(t,e,s,n){s||(s=[new Map,new Map]);const[l,i]=s;if(l.has(t)||i.has(e))return l.get(t)===e&&i.get(e)===t;l.set(t,e),i.set(e,t);const c=n(t,e,s);return l.delete(t),i.delete(e),c}function Rs(t,e,s){if(t===e)return!0;let n=Un(t),l=Un(e);return n||l?n&&l?t.getTime()===e.getTime():!1:(n=ie(t),l=ie(e),n||l?t===e:(n=G(t),l=G(e),n||l?n&&l?Gn(t,e,s,no):!1:(n=ct(t),l=ct(e),n||l?!n||!l?!1:Gn(t,e,s,lo):String(t)===String(e))))}const ql=t=>!!(t&&t.__v_isRef===!0),d=t=>_t(t)?t:t==null?"":G(t)||ct(t)&&(t.toString===Pl||!Y(t.toString))?ql(t)?d(t.value):JSON.stringify(t,Fl,2):String(t),Fl=(t,e)=>ql(e)?Fl(t,e.value):ye(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,l],i)=>(s[Zs(n,i)+" =>"]=l,s),{})}:ws(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>Zs(s))}:ie(e)?Zs(e):ct(e)&&!G(e)&&!Dl(e)?String(e):e,Zs=(t,e="")=>{var s;return ie(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/**
- * @vue/reactivity v3.5.43
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let xt;class io{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&xt&&(xt.active?(this.parent=xt,this.index=(xt.scopes||(xt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes){const n=this.scopes.slice();for(e=0,s=n.length;e<s;e++)n[e].pause()}for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes){const l=this.scopes.slice();for(e=0,s=l.length;e<s;e++)l[e].resume()}const n=this.effects.slice();for(e=0,s=n.length;e<s;e++)n[e].resume()}}run(e){if(this._active){const s=xt;try{return xt=this,e()}finally{xt=s}}}on(){++this._on===1&&(this.prevScope=xt,xt=this)}off(){if(this._on>0&&--this._on===0){if(xt===this)xt=this.prevScope;else{let e=xt;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const l=this.scopes.slice();for(s=0,n=l.length;s<n;s++)l[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.parent=void 0}}}function oo(){return xt}let ft;const Xs=new WeakSet;class Il{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,xt&&(xt.active?xt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xs.has(this)&&(Xs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Nl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Yn(this),Bl(this);const e=ft,s=Gt;ft=this,Gt=!0;try{return this.fn()}finally{Wl(this),ft=e,Gt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)En(e);this.deps=this.depsTail=void 0,Yn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){pn(this)&&this.run()}get dirty(){return pn(this)}}let Rl=0,Qe,ts;function Nl(t,e=!1){if(t.flags|=8,e){t.next=ts,ts=t;return}t.next=Qe,Qe=t}function Tn(){Rl++}function Cn(){if(--Rl>0)return;if(ts){let e=ts;for(ts=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Qe;){let e=Qe;for(Qe=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function Bl(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Wl(t){let e,s=t.depsTail,n=s;for(;n;){const l=n.prevDep;n.version===-1?(n===s&&(s=l),En(n),ro(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=l}t.deps=e,t.depsTail=s}function pn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Kl(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Kl(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===is)||(t.globalVersion=is,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!pn(t))))return;t.flags|=2;const e=t.dep,s=ft,n=Gt;ft=t,Gt=!0;try{Bl(t);const l=t.fn(t._value);(e.version===0||ne(l,t._value))&&(t.flags|=128,t._value=l,e.version++)}catch(l){throw e.version++,l}finally{ft=s,Gt=n,Wl(t),t.flags&=-3}}function En(t,e=!1){const{dep:s,prevSub:n,nextSub:l}=t;if(n&&(n.nextSub=l,t.prevSub=void 0),l&&(l.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)En(i,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function ro(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Gt=!0;const Ul=[];function fe(){Ul.push(Gt),Gt=!1}function he(){const t=Ul.pop();Gt=t===void 0?!0:t}function Yn(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ft;ft=void 0;try{e()}finally{ft=s}}}let is=0;class ao{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class On{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!ft||!Gt||ft===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ft)s=this.activeLink=new ao(ft,this),ft.deps?(s.prevDep=ft.depsTail,ft.depsTail.nextDep=s,ft.depsTail=s):ft.deps=ft.depsTail=s,Vl(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ft.depsTail,s.nextDep=void 0,ft.depsTail.nextDep=s,ft.depsTail=s,ft.deps===s&&(ft.deps=n)}return s}trigger(e){this.version++,is++,this.notify(e)}notify(e){Tn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Cn()}}}function Vl(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Vl(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const fn=new WeakMap,Oe=Symbol(""),hn=Symbol(""),os=Symbol("");function kt(t,e,s){if(Gt&&ft){let n=fn.get(t);n||fn.set(t,n=new Map);let l=n.get(s);l||(n.set(s,l=new On),l.map=n,l.key=s),l.track()}}function ue(t,e,s,n,l,i){const c=fn.get(t);if(!c){is++;return}const a=u=>{u&&u.trigger()};if(Tn(),e==="clear")c.forEach(a);else{const u=G(t),m=u&&Mn(s);if(u&&s==="length"){const f=Number(n);c.forEach((g,_)=>{(_==="length"||_===os||!ie(_)&&_>=f)&&a(g)})}else switch((s!==void 0||c.has(void 0))&&a(c.get(s)),m&&a(c.get(os)),e){case"add":u?m&&a(c.get("length")):(a(c.get(Oe)),ye(t)&&a(c.get(hn)));break;case"delete":u||(a(c.get(Oe)),ye(t)&&a(c.get(hn)));break;case"set":ye(t)&&a(c.get(Oe));break}}Cn()}function qe(t){const e=nt(t);return e===t||(kt(e,"iterate",os),Wt(t))?e:oe(t)?$e(t)?e.map(s=>xe(Kt(s))):e.map(xe):e.map(Kt)}function Ns(t){return kt(t=nt(t),"iterate",os),t}function ee(t,e){return oe(t)?xe($e(t)?Kt(e):e):Kt(e)}const co={__proto__:null,[Symbol.iterator](){return Qs(this,Symbol.iterator,t=>ee(this,t))},concat(...t){return qe(this).concat(...t.map(e=>G(e)?qe(e):e))},entries(){return Qs(this,"entries",t=>(t[1]=ee(this,t[1]),t))},every(t,e){return re(this,"every",t,e,void 0,arguments)},filter(t,e){return re(this,"filter",t,e,s=>s.map(n=>ee(this,n)),arguments)},find(t,e){return re(this,"find",t,e,s=>ee(this,s),arguments)},findIndex(t,e){return re(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return re(this,"findLast",t,e,s=>ee(this,s),arguments)},findLastIndex(t,e){return re(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return re(this,"forEach",t,e,void 0,arguments)},includes(...t){return tn(this,"includes",t)},indexOf(...t){return tn(this,"indexOf",t)},join(t){return qe(this).join(t)},lastIndexOf(...t){return tn(this,"lastIndexOf",t)},map(t,e){return re(this,"map",t,e,void 0,arguments)},pop(){return Ve(this,"pop")},push(...t){return Ve(this,"push",t)},reduce(t,...e){return Jn(this,"reduce",t,e)},reduceRight(t,...e){return Jn(this,"reduceRight",t,e)},shift(){return Ve(this,"shift")},some(t,e){return re(this,"some",t,e,void 0,arguments)},splice(...t){return Ve(this,"splice",t)},toReversed(){return qe(this).toReversed()},toSorted(t){return qe(this).toSorted(t)},toSpliced(...t){return qe(this).toSpliced(...t)},unshift(...t){return Ve(this,"unshift",t)},values(){return Qs(this,"values",t=>ee(this,t))}};function Qs(t,e,s){const n=Ns(t),l=n[e]();return n!==t&&!Wt(t)&&(l._next=l.next,l.next=()=>{const i=l._next();return i.done||(i.value=s(i.value)),i}),l}const uo=Array.prototype;function re(t,e,s,n,l,i){const c=Ns(t),a=c!==t&&!Wt(t),u=c[e];if(u!==uo[e]){const g=u.apply(t,i);return a?Kt(g):g}let m=s;c!==t&&(a?m=function(g,_){return s.call(this,ee(t,g),_,t)}:s.length>2&&(m=function(g,_){return s.call(this,g,_,t)}));const f=u.call(c,m,n);return a&&l?l(f):f}function Jn(t,e,s,n){const l=Ns(t),i=l!==t&&!Wt(t);let c=s,a=!1;l!==t&&(i?(a=n.length===0,c=function(m,f,g){return a&&(a=!1,m=ee(t,m)),s.call(this,m,ee(t,f),g,t)}):s.length>3&&(c=function(m,f,g){return s.call(this,m,f,g,t)}));const u=l[e](c,...n);return a?ee(t,u):u}function tn(t,e,s){const n=nt(t);kt(n,"iterate",os);const l=n[e](...s);return(l===-1||l===!1)&&Dn(s[0])?(s[0]=nt(s[0]),n[e](...s)):l}function Ve(t,e,s=[]){fe(),Tn();const n=nt(t)[e].apply(t,s);return Cn(),he(),n}const po=kn("__proto__,__v_isRef,__isVue"),zl=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ie));function fo(t){ie(t)||(t=String(t));const e=nt(this);return kt(e,"has",t),e.hasOwnProperty(t)}class Gl{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const l=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!l;if(s==="__v_isReadonly")return l;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(l?i?wo:Xl:i?Zl:Jl).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=G(e);if(!l){let u;if(c&&(u=co[s]))return u;if(s==="hasOwnProperty")return fo}const a=Reflect.get(e,s,St(e)?e:n);if((ie(s)?zl.has(s):po(s))||(l||kt(e,"get",s),i))return a;if(St(a)){const u=c&&Mn(s)?a:a.value;return l&&ct(u)?_n(u):u}return ct(a)?l?_n(a):ps(a):a}}class Yl extends Gl{constructor(e=!1){super(!1,e)}set(e,s,n,l){let i=e[s];const c=G(e)&&Mn(s);if(!this._isShallow){const m=oe(i);if(!Wt(n)&&!oe(n)&&(i=nt(i),n=nt(n)),!c&&St(i)&&!St(n))return m||(i.value=n),!0}const a=c?Number(s)<e.length:lt(e,s),u=Reflect.set(e,s,n,St(e)?e:l);return e===nt(l)&&u&&(a?ne(n,i)&&ue(e,"set",s,n):ue(e,"add",s,n)),u}deleteProperty(e,s){const n=lt(e,s);e[s];const l=Reflect.deleteProperty(e,s);return l&&n&&ue(e,"delete",s,void 0),l}has(e,s){const n=Reflect.has(e,s);return(!ie(s)||!zl.has(s))&&kt(e,"has",s),n}ownKeys(e){return kt(e,"iterate",G(e)?"length":Oe),Reflect.ownKeys(e)}}class ho extends Gl{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const mo=new Yl,_o=new ho,vo=new Yl(!0);const mn=t=>t,_s=t=>Reflect.getPrototypeOf(t);function go(t,e,s){return function(...n){const l=this.__v_raw,i=nt(l),c=ye(i),a=t==="entries"||t===Symbol.iterator&&c,u=t==="keys"&&c,m=l[t](...n),f=s?mn:e?xe:Kt;return!e&&kt(i,"iterate",u?hn:Oe),wt(Object.create(m),{next(){const{value:g,done:_}=m.next();return _?{value:g,done:_}:{value:a?[f(g[0]),f(g[1])]:f(g),done:_}}})}}function vs(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function bo(t,e){const s={get(l){const i=this.__v_raw,c=nt(i),a=nt(l);t||(ne(l,a)&&kt(c,"get",l),kt(c,"get",a));const{has:u}=_s(c),m=e?mn:t?xe:Kt;if(u.call(c,l))return m(i.get(l));if(u.call(c,a))return m(i.get(a));i!==c&&i.get(l)},get size(){const l=this.__v_raw;return!t&&kt(nt(l),"iterate",Oe),l.size},has(l){const i=this.__v_raw,c=nt(i),a=nt(l);return t||(ne(l,a)&&kt(c,"has",l),kt(c,"has",a)),l===a?i.has(l):i.has(l)||i.has(a)},forEach(l,i){const c=this,a=c.__v_raw,u=nt(a),m=e?mn:t?xe:Kt;return!t&&kt(u,"iterate",Oe),a.forEach((f,g)=>l.call(i,m(f),m(g),c))}};return wt(s,t?{add:vs("add"),set:vs("set"),delete:vs("delete"),clear:vs("clear")}:{add(l){const i=nt(this),c=_s(i),a=nt(l),u=!e&&!Wt(l)&&!oe(l)?a:l;return c.has.call(i,u)||ne(l,u)&&c.has.call(i,l)||ne(a,u)&&c.has.call(i,a)||(i.add(u),ue(i,"add",u,u)),this},set(l,i){!e&&!Wt(i)&&!oe(i)&&(i=nt(i));const c=nt(this),{has:a,get:u}=_s(c);let m=a.call(c,l);m||(l=nt(l),m=a.call(c,l));const f=u.call(c,l);return c.set(l,i),m?ne(i,f)&&ue(c,"set",l,i):ue(c,"add",l,i),this},delete(l){const i=nt(this),{has:c,get:a}=_s(i);let u=c.call(i,l);u||(l=nt(l),u=c.call(i,l)),a&&a.call(i,l);const m=i.delete(l);return u&&ue(i,"delete",l,void 0),m},clear(){const l=nt(this),i=l.size!==0,c=l.clear();return i&&ue(l,"clear",void 0,void 0),c}}),["keys","values","entries",Symbol.iterator].forEach(l=>{s[l]=go(l,t,e)}),s}function An(t,e){const s=bo(t,e);return(n,l,i)=>l==="__v_isReactive"?!t:l==="__v_isReadonly"?t:l==="__v_raw"?n:Reflect.get(lt(s,l)&&l in n?s:n,l,i)}const yo={get:An(!1,!1)},$o={get:An(!1,!0)},xo={get:An(!0,!1)};const Jl=new WeakMap,Zl=new WeakMap,Xl=new WeakMap,wo=new WeakMap;function ko(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ps(t){return oe(t)?t:Pn(t,!1,mo,yo,Jl)}function So(t){return Pn(t,!1,vo,$o,Zl)}function _n(t){return Pn(t,!0,_o,xo,Xl)}function Pn(t,e,s,n,l){if(!ct(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const i=l.get(t);if(i)return i;const c=ko(zi(t));if(c===0)return t;const a=new Proxy(t,c===2?n:s);return l.set(t,a),a}function $e(t){return oe(t)?$e(t.__v_raw):!!(t&&t.__v_isReactive)}function oe(t){return!!(t&&t.__v_isReadonly)}function Wt(t){return!!(t&&t.__v_isShallow)}function Dn(t){return t?!!t.__v_raw:!1}function nt(t){const e=t&&t.__v_raw;return e?nt(e):t}function Mo(t){return!lt(t,"__v_skip")&&Object.isExtensible(t)&&jl(t,"__v_skip",!0),t}const Kt=t=>ct(t)?ps(t):t,xe=t=>ct(t)?_n(t):t;function St(t){return t?t.__v_isRef===!0:!1}function Tt(t){return To(t,!1)}function To(t,e){return St(t)?t:new Co(t,e)}class Co{constructor(e,s){this.dep=new On,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:nt(e),this._value=s?e:Kt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Wt(e)||oe(e);e=n?e:nt(e),ne(e,s)&&(this._rawValue=e,this._value=n?e:Kt(e),this.dep.trigger())}}function p(t){return St(t)?t.value:t}const Eo={get:(t,e,s)=>e==="__v_raw"?t:p(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const l=t[e];return St(l)&&!St(s)?(l.value=s,!0):Reflect.set(t,e,s,n)}};function Ql(t){return $e(t)?t:new Proxy(t,Eo)}class Oo{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new On(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=is-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ft!==this)return Nl(this,!0),!0}get value(){const e=this.dep.track();return Kl(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ao(t,e,s=!1){let n,l;return Y(t)?n=t:(n=t.get,l=t.set),new Oo(n,l,s)}const gs={},ks=new WeakMap;let Te;function Po(t,e=!1,s=Te){if(s){let n=ks.get(s);n||ks.set(s,n=[]),n.push(t)}}function Do(t,e,s=dt){const{immediate:n,deep:l,once:i,scheduler:c,augmentJob:a,call:u}=s,m=P=>l?P:Wt(P)||l===!1||l===0?de(P,1):de(P);let f,g,_,b,S=!1,k=!1;if(St(t)?(g=()=>t.value,S=Wt(t)):$e(t)?(g=()=>m(t),S=!0):G(t)?(k=!0,S=t.some(P=>$e(P)||Wt(P)),g=()=>t.map(P=>{if(St(P))return P.value;if($e(P))return m(P);if(Y(P))return u?u(P,2):P()})):Y(t)?e?g=u?()=>u(t,2):t:g=()=>{if(_){fe();try{_()}finally{he()}}const P=Te;Te=f;try{return u?u(t,3,[b]):t(b)}finally{Te=P}}:g=le,e&&l){const P=g,I=l===!0?1/0:l;g=()=>de(P(),I)}const j=oo(),$=()=>{f.stop(),j&&j.active&&Sn(j.effects,f)};if(i&&e){const P=e;e=(...I)=>{const Z=P(...I);return $(),Z}}let M=k?new Array(t.length).fill(gs):gs;const q=P=>{if(!(!(f.flags&1)||!f.dirty&&!P))if(e){const I=f.run();if(P||l||S||(k?I.some((Z,z)=>ne(Z,M[z])):ne(I,M))){_&&_();const Z=Te;Te=f;try{const z=[I,M===gs?void 0:k&&M[0]===gs?[]:M,b];M=I,u?u(e,3,z):e(...z)}finally{Te=Z}}}else f.run()};return a&&a(q),f=new Il(g),f.scheduler=c?()=>c(q,!1):q,b=P=>Po(P,!1,f),_=f.onStop=()=>{const P=ks.get(f);if(P){if(u)u(P,4);else for(const I of P)I();ks.delete(f)}},e?n?q(!0):M=f.run():c?c(q.bind(null,!0),!0):f.run(),$.pause=f.pause.bind(f),$.resume=f.resume.bind(f),$.stop=$,$}function de(t,e=1/0,s){if(e<=0||!ct(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,St(t))de(t.value,e,s);else if(G(t))for(let n=0;n<t.length;n++)de(t[n],e,s);else if(ws(t)||ye(t))t.forEach(n=>{de(n,e,s)});else if(Dl(t)){for(const n in t)de(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&de(t[n],e,s)}return t}/**
- * @vue/runtime-core v3.5.43
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function fs(t,e,s,n){try{return n?t(...n):t()}catch(l){Bs(l,e,s)}}function Yt(t,e,s,n){if(Y(t)){const l=fs(t,e,s,n);return l&&Al(l)&&l.catch(i=>{Bs(i,e,s)}),l}if(G(t)){const l=[];for(let i=0;i<t.length;i++)l.push(Yt(t[i],e,s,n));return l}}function Bs(t,e,s,n=!0){const l=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:c}=e&&e.appContext.config||dt;if(e){let a=e.parent;const u=e.proxy,m=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const f=a.ec;if(f){for(let g=0;g<f.length;g++)if(f[g](t,u,m)===!1)return}a=a.parent}if(i){fe(),fs(i,null,10,[t,u,m]),he();return}}Ho(t,s,l,n,c)}function Ho(t,e,s,n=!0,l=!1){if(l)throw t;console.error(t)}const Ct=[];let te=-1;const Ie=[];let ge=null,Fe=0;const ti=Promise.resolve();let Ss=null;function jo(t){const e=Ss||ti;return t?e.then(this?t.bind(this):t):e}function Lo(t){let e=te+1,s=Ct.length;for(;e<s;){const n=e+s>>>1,l=Ct[n],i=rs(l);i<t||i===t&&l.flags&2?e=n+1:s=n}return e}function Hn(t){if(!(t.flags&1)){const e=rs(t),s=Ct[Ct.length-1];!s||!(t.flags&2)&&e>=rs(s)?Ct.push(t):Ct.splice(Lo(e),0,t),t.flags|=1,ei()}}function ei(){Ss||(Ss=ti.then(ni))}function qo(t){if(!G(t))ge&&t.id===-1?ge.splice(Fe+1,0,t):t.flags&1||(Ie.push(t),t.flags|=1);else for(let e=0;e<t.length;e++)Ie.push(t[e]);ei()}function Zn(t,e,s=te+1){for(;s<Ct.length;s++){const n=Ct[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ct.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function si(t){if(Ie.length){const e=[...new Set(Ie)].sort((s,n)=>rs(s)-rs(n));if(Ie.length=0,ge){for(let s=0;s<e.length;s++)ge.push(e[s]);return}for(ge=e,Fe=0;Fe<ge.length;Fe++){const s=ge[Fe];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ge=null,Fe=0}}const rs=t=>t.id==null?t.flags&2?-1:1/0:t.id;function ni(t){try{for(te=0;te<Ct.length;te++){const e=Ct[te];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),fs(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;te<Ct.length;te++){const e=Ct[te];e&&(e.flags&=-2)}te=-1,Ct.length=0,si(),Ss=null,(Ct.length||Ie.length)&&ni()}}let Bt=null,li=null;function Ms(t){const e=Bt;return Bt=t,li=t&&t.type.__scopeId||null,e}function Fo(t,e=Bt,s){if(!e||t._n)return t;const n=(...l)=>{n._d&&cl(-1);const i=Ms(e),c=Ae.length;let a;try{a=t(...l)}finally{for(let u=Ae.length;u>c;u--)Ei();Ms(i),n._d&&cl(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Xn(t,e){if(Bt===null)return t;const s=Gs(Bt),n=t.dirs||(t.dirs=[]);for(let l=0;l<e.length;l++){let[i,c,a,u=dt]=e[l];i&&(Y(i)&&(i={mounted:i,updated:i}),i.deep&&de(c),n.push({dir:i,instance:s,value:c,oldValue:void 0,arg:a,modifiers:u}))}return t}function Se(t,e,s,n){const l=t.dirs,i=e&&e.dirs;for(let c=0;c<l.length;c++){const a=l[c];i&&(a.oldValue=i[c].value);let u=a.dir[n];u&&(fe(),Yt(u,s,8,[t.el,a,t,e]),he())}}function Io(t,e){if(Ot){let s=Ot.provides;const n=Ot.parent&&Ot.parent.provides;n===s&&(s=Ot.provides=Object.create(n)),s[t]=e}}function ys(t,e,s=!1){const n=jr();if(n||Re){let l=Re?Re._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(l&&t in l)return l[t];if(arguments.length>1)return s&&Y(e)?e.call(n&&n.proxy):e}}const Ro=Symbol.for("v-scx"),No=()=>ys(Ro);function es(t,e,s){return ii(t,e,s)}function ii(t,e,s=dt){const{immediate:n,deep:l,flush:i,once:c}=s,a=wt({},s),u=e&&n||!e&&i!=="post";let m;if(us){if(i==="sync"){const b=No();m=b.__watcherHandles||(b.__watcherHandles=[])}else if(!u){const b=()=>{};return b.stop=le,b.resume=le,b.pause=le,b}}const f=Ot;a.call=(b,S,k)=>Yt(b,f,S,k);let g=!1;i==="post"?a.scheduler=b=>{Pt(b,f&&f.suspense)}:i!=="sync"&&(g=!0,a.scheduler=(b,S)=>{S?b():Hn(b)}),a.augmentJob=b=>{e&&(b.flags|=4),g&&(b.flags|=2,f&&(b.id=f.uid,b.i=f))};const _=Do(t,e,a);return us&&(m?m.push(_):u&&_()),_}function Bo(t,e,s){const n=this.proxy,l=_t(t)?t.includes(".")?oi(n,t):()=>n[t]:t.bind(n,n);let i;Y(e)?i=e:(i=e.handler,s=e);const c=hs(this),a=ii(l,i.bind(n),s);return c(),a}function oi(t,e){const s=e.split(".");return()=>{let n=t;for(let l=0;l<s.length&&n;l++)n=n[s[l]];return n}}const Wo=Symbol("_vte"),Ws=t=>t.__isTeleport,en=Symbol("_leaveCb");function Ko(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==me){e=s;break}}return e}function ri(t){if(!Ln(t))return Ws(t.type)&&t.children?Ko(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&Y(s.default))return s.default()}}function jn(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const s=t.component.subTree;jn(Ws(s.type)&&ri(s)||s,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ht(t,e){return Y(t)?wt({name:t.name},e,{setup:t}):t}function ai(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Qn(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const Ts=new WeakMap;function ss(t,e,s,n,l=!1){if(G(t)){t.forEach((k,j)=>ss(k,e&&(G(e)?e[j]:e),s,n,l));return}if(ns(n)&&!l){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ss(t,e,s,n.component.subTree);return}const i=n.shapeFlag&4?Gs(n.component):n.el,c=l?null:i,{i:a,r:u}=t,m=e&&e.r,f=a.refs===dt?a.refs={}:a.refs,g=a.setupState,_=nt(g),b=g===dt?Ol:k=>Qn(f,k)?!1:lt(_,k),S=(k,j)=>!(j&&Qn(f,j));if(m!=null&&m!==u){if(tl(e),_t(m))f[m]=null,b(m)&&(g[m]=null);else if(St(m)){const k=e;S(m,k.k)&&(m.value=null),k.k&&(f[k.k]=null)}}if(Y(u))fs(u,a,12,[c,f]);else{const k=_t(u),j=St(u);if(k||j){const $=()=>{if(t.f){const M=k?b(u)?g[u]:f[u]:S()||!t.k?u.value:f[t.k];if(l)G(M)&&Sn(M,i);else if(G(M))M.includes(i)||M.push(i);else if(k)f[u]=[i],b(u)&&(g[u]=f[u]);else{const q=[i];S(u,t.k)&&(u.value=q),t.k&&(f[t.k]=q)}}else k?(f[u]=c,b(u)&&(g[u]=c)):j&&(S(u,t.k)&&(u.value=c),t.k&&(f[t.k]=c))};if(c){const M=()=>{$(),Ts.delete(t)};M.id=-1,Ts.set(t,M),Pt(M,s)}else tl(t),$()}}}function tl(t){const e=Ts.get(t);e&&(e.flags|=8,Ts.delete(t))}Is().requestIdleCallback;Is().cancelIdleCallback;const ns=t=>!!t.type.__asyncLoader,Ln=t=>t.type.__isKeepAlive;function Uo(t,e){ci(t,"a",e)}function Vo(t,e){ci(t,"da",e)}function ci(t,e,s=Ot){const n=t.__wdc||(t.__wdc=()=>{let l=s;for(;l;){if(l.isDeactivated)return;l=l.parent}return t()});if(Ks(e,n,s),s){let l=s.parent;for(;l&&l.parent;)Ln(l.parent.vnode)&&zo(n,e,s,l),l=l.parent}}function zo(t,e,s,n){const l=Ks(e,t,n,!0);di(()=>{Sn(n[e],l)},s)}function Ks(t,e,s=Ot,n=!1){if(s){const l=s[t]||(s[t]=[]),i=e.__weh||(e.__weh=(...c)=>{fe();const a=hs(s),u=Yt(e,s,t,c);return a(),he(),u});return n?l.unshift(i):l.push(i),i}}const ve=t=>(e,s=Ot)=>{(!us||t==="sp")&&Ks(t,(...n)=>e(...n),s)},Go=ve("bm"),Us=ve("m"),Yo=ve("bu"),Jo=ve("u"),ui=ve("bum"),di=ve("um"),Zo=ve("sp"),Xo=ve("rtg"),Qo=ve("rtc");function tr(t,e=Ot){Ks("ec",t,e)}const er=Symbol.for("v-ndc");function et(t,e,s,n){let l;const i=s,c=G(t);if(c||_t(t)){const a=c&&$e(t);let u=!1,m=!1;a&&(u=!Wt(t),m=oe(t),t=Ns(t)),l=new Array(t.length);for(let f=0,g=t.length;f<g;f++)l[f]=e(u?m?xe(Kt(t[f])):Kt(t[f]):t[f],f,void 0,i)}else if(typeof t=="number"){l=new Array(t);for(let a=0;a<t;a++)l[a]=e(a+1,a,void 0,i)}else if(ct(t))if(t[Symbol.iterator])l=Array.from(t,(a,u)=>e(a,u,void 0,i));else{const a=Object.keys(t);l=new Array(a.length);for(let u=0,m=a.length;u<m;u++){const f=a[u];l[u]=e(t[f],f,u,i)}}else l=[];return l}const vn=t=>t?Di(t)?Gs(t):vn(t.parent):null,ls=wt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>vn(t.parent),$root:t=>vn(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>fi(t),$forceUpdate:t=>t.f||(t.f=()=>{Hn(t.update)}),$nextTick:t=>t.n||(t.n=jo.bind(t.proxy)),$watch:t=>Bo.bind(t)}),sn=(t,e)=>t!==dt&&!t.__isScriptSetup&<(t,e),sr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:l,props:i,accessCache:c,type:a,appContext:u}=t;if(e[0]!=="$"){const _=c[e];if(_!==void 0)switch(_){case 1:return n[e];case 2:return l[e];case 4:return s[e];case 3:return i[e]}else{if(sn(n,e))return c[e]=1,n[e];if(l!==dt&<(l,e))return c[e]=2,l[e];if(lt(i,e))return c[e]=3,i[e];if(s!==dt&<(s,e))return c[e]=4,s[e];gn&&(c[e]=0)}}const m=ls[e];let f,g;if(m)return e==="$attrs"&&kt(t.attrs,"get",""),m(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(s!==dt&<(s,e))return c[e]=4,s[e];if(g=u.config.globalProperties,lt(g,e))return g[e]},set({_:t},e,s){const{data:n,setupState:l,ctx:i}=t;return sn(l,e)?(l[e]=s,!0):n!==dt&<(n,e)?(n[e]=s,!0):lt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:l,props:i,type:c}},a){let u;return!!(s[a]||t!==dt&&a[0]!=="$"&<(t,a)||sn(e,a)||lt(i,a)||lt(n,a)||lt(ls,a)||lt(l.config.globalProperties,a)||(u=c.__cssModules)&&u[a])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:lt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function el(t){return G(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let gn=!0;function nr(t){const e=fi(t),s=t.proxy,n=t.ctx;gn=!1,e.beforeCreate&&sl(e.beforeCreate,t,"bc");const{data:l,computed:i,methods:c,watch:a,provide:u,inject:m,created:f,beforeMount:g,mounted:_,beforeUpdate:b,updated:S,activated:k,deactivated:j,beforeDestroy:$,beforeUnmount:M,destroyed:q,unmounted:P,render:I,renderTracked:Z,renderTriggered:z,errorCaptured:tt,serverPrefetch:bt,expose:It,inheritAttrs:we,components:He,directives:Rt,filters:Be}=e;if(m&&lr(m,n,null),c)for(const pt in c){const ot=c[pt];Y(ot)&&(n[pt]=ot.bind(s))}if(l){const pt=l.call(s,s);ct(pt)&&(t.data=ps(pt))}if(gn=!0,i)for(const pt in i){const ot=i[pt],Ut=Y(ot)?ot.bind(s,s):Y(ot.get)?ot.get.bind(s,s):le,ke=!Y(ot)&&Y(ot.set)?ot.set.bind(s):le,R=O({get:Ut,set:ke});Object.defineProperty(n,pt,{enumerable:!0,configurable:!0,get:()=>R.value,set:U=>R.value=U})}if(a)for(const pt in a)pi(a[pt],n,s,pt);if(u){const pt=Y(u)?u.call(s):u;Reflect.ownKeys(pt).forEach(ot=>{Io(ot,pt[ot])})}f&&sl(f,t,"c");function yt(pt,ot){G(ot)?ot.forEach(Ut=>pt(Ut.bind(s))):ot&&pt(ot.bind(s))}if(yt(Go,g),yt(Us,_),yt(Yo,b),yt(Jo,S),yt(Uo,k),yt(Vo,j),yt(tr,tt),yt(Qo,Z),yt(Xo,z),yt(ui,M),yt(di,P),yt(Zo,bt),G(It))if(It.length){const pt=t.exposed||(t.exposed={});It.forEach(ot=>{Object.defineProperty(pt,ot,{get:()=>s[ot],set:Ut=>s[ot]=Ut,enumerable:!0})})}else t.exposed||(t.exposed={});I&&t.render===le&&(t.render=I),we!=null&&(t.inheritAttrs=we),He&&(t.components=He),Rt&&(t.directives=Rt),bt&&ai(t)}function lr(t,e,s=le){G(t)&&(t=bn(t));for(const n in t){const l=t[n];let i;ct(l)?"default"in l?i=ys(l.from||n,l.default,!0):i=ys(l.from||n):i=ys(l),St(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):e[n]=i}}function sl(t,e,s){Yt(G(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function pi(t,e,s,n){let l=n.includes(".")?oi(s,n):()=>s[n];if(_t(t)){const i=e[t];Y(i)&&es(l,i)}else if(Y(t))es(l,t.bind(s));else if(ct(t))if(G(t))t.forEach(i=>pi(i,e,s,n));else{const i=Y(t.handler)?t.handler.bind(s):e[t.handler];Y(i)&&es(l,i,t)}}function fi(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:l,optionsCache:i,config:{optionMergeStrategies:c}}=t.appContext,a=i.get(e);let u;return a?u=a:!l.length&&!s&&!n?u=e:(u={},l.length&&l.forEach(m=>Cs(u,m,c,!0)),Cs(u,e,c)),ct(e)&&i.set(e,u),u}function Cs(t,e,s,n=!1){const{mixins:l,extends:i}=e;i&&Cs(t,i,s,!0),l&&l.forEach(c=>Cs(t,c,s,!0));for(const c in e)if(!(n&&c==="expose")){const a=ir[c]||s&&s[c];t[c]=a?a(t[c],e[c]):e[c]}return t}const ir={data:nl,props:ll,emits:ll,methods:Je,computed:Je,beforeCreate:Mt,created:Mt,beforeMount:Mt,mounted:Mt,beforeUpdate:Mt,updated:Mt,beforeDestroy:Mt,beforeUnmount:Mt,destroyed:Mt,unmounted:Mt,activated:Mt,deactivated:Mt,errorCaptured:Mt,serverPrefetch:Mt,components:Je,directives:Je,watch:rr,provide:nl,inject:or};function nl(t,e){return e?t?function(){return wt(Y(t)?t.call(this,this):t,Y(e)?e.call(this,this):e)}:e:t}function or(t,e){return Je(bn(t),bn(e))}function bn(t){if(G(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Mt(t,e){return t?[...new Set([].concat(t,e))]:e}function Je(t,e){return t?wt(Object.create(null),t,e):e}function ll(t,e){return t?G(t)&&G(e)?[...new Set([...t,...e])]:wt(Object.create(null),el(t),el(e??{})):e}function rr(t,e){if(!t)return e;if(!e)return t;const s=wt(Object.create(null),t);for(const n in e)s[n]=Mt(t[n],e[n]);return s}function hi(){return{app:null,config:{isNativeTag:Ol,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ar=0;function cr(t,e){return function(n,l=null){Y(n)||(n=wt({},n)),l!=null&&!ct(l)&&(l=null);const i=hi(),c=new WeakSet,a=[];let u=!1;const m=i.app={_uid:ar++,_component:n,_props:l,_container:null,_context:i,_instance:null,version:Nr,get config(){return i.config},set config(f){},use(f,...g){return c.has(f)||(f&&Y(f.install)?(c.add(f),f.install(m,...g)):Y(f)&&(c.add(f),f(m,...g))),m},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),m},component(f,g){return g?(i.components[f]=g,m):i.components[f]},directive(f,g){return g?(i.directives[f]=g,m):i.directives[f]},mount(f,g,_){if(!u){const b=m._ceVNode||ht(n,l);return b.appContext=i,_===!0?_="svg":_===!1&&(_=void 0),t(b,f,_),u=!0,m._container=f,f.__vue_app__=m,Gs(b.component)}},onUnmount(f){a.push(f)},unmount(){u&&(Yt(a,m._instance,16),t(null,m._container),delete m._container.__vue_app__)},provide(f,g){return i.provides[f]=g,m},runWithContext(f){const g=Re;Re=m;try{return f()}finally{Re=g}}};return m}}let Re=null;const ur=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${zt(e)}Modifiers`]||t[`${De(e)}Modifiers`];function dr(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||dt;let l=s;const i=e.startsWith("update:"),c=i&&ur(n,e.slice(7));c&&(c.trim&&(l=s.map(f=>_t(f)?f.trim():f)),c.number&&(l=l.map(Ji)));let a,u=n[a=Ys(e)]||n[a=Ys(zt(e))];!u&&i&&(u=n[a=Ys(De(e))]),u&&Yt(u,t,6,l);const m=n[a+"Once"];if(m){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Yt(m,t,6,l)}}const pr=new WeakMap;function mi(t,e,s=!1){const n=s?pr:e.emitsCache,l=n.get(t);if(l!==void 0)return l;const i=t.emits;let c={},a=!1;if(!Y(t)){const u=m=>{const f=mi(m,e,!0);f&&(a=!0,wt(c,f))};!s&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!i&&!a?(ct(t)&&n.set(t,null),null):(G(i)?i.forEach(u=>c[u]=null):wt(c,i),ct(t)&&n.set(t,c),c)}function Vs(t,e){return!t||!Ls(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),lt(t,e[0].toLowerCase()+e.slice(1))||lt(t,De(e))||lt(t,e))}function il(t){const{type:e,vnode:s,proxy:n,withProxy:l,propsOptions:[i],slots:c,attrs:a,emit:u,render:m,renderCache:f,props:g,data:_,setupState:b,ctx:S,inheritAttrs:k}=t,j=Ms(t);let $,M;try{if(s.shapeFlag&4){const P=l||n,I=P;$=se(m.call(I,P,f,g,b,_,S)),M=a}else{const P=e;$=se(P.length>1?P(g,{attrs:a,slots:c,emit:u}):P(g,null)),M=e.props?a:fr(a)}}catch(P){Ae.length=0,Bs(P,t,1),$=ht(me)}let q=$;if(M&&k!==!1){const P=Object.keys(M),{shapeFlag:I}=q;P.length&&I&7&&(i&&P.some(qs)&&(M=hr(M,i)),q=Ne(q,M,!1,!0))}if(s.dirs&&(q=Ne(q,null,!1,!0),q.dirs=q.dirs?q.dirs.concat(s.dirs):s.dirs),s.transition){const P=Ws(q.type)&&ri(q)||q;jn(P,s.transition)}return $=q,Ms(j),$}const fr=t=>{let e;for(const s in t)(s==="class"||s==="style"||Ls(s))&&((e||(e={}))[s]=t[s]);return e},hr=(t,e)=>{const s={};for(const n in t)(!qs(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function mr(t,e,s){const{props:n,children:l,component:i}=t,{props:c,children:a,patchFlag:u}=e,m=i.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?ol(n,c,m):!!c;if(u&8){const f=e.dynamicProps;for(let g=0;g<f.length;g++){const _=f[g];if(_i(c,n,_)&&!Vs(m,_))return!0}}}else return(l||a)&&(!a||!a.$stable)?!0:n===c?!1:n?c?ol(n,c,m):!0:!!c;return!1}function ol(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let l=0;l<n.length;l++){const i=n[l];if(_i(e,t,i)&&!Vs(s,i))return!0}return!1}function _i(t,e,s){const n=t[s],l=e[s];return s==="style"&&ct(n)&&ct(l)?!Rs(n,l):n!==l}function _r({vnode:t,parent:e,suspense:s},n){for(;e;){const l=e.subTree;if(l.suspense&&l.suspense.activeBranch===t&&(l.suspense.vnode.el=l.el=n,t=l),l===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const vi={},gi=()=>Object.create(vi),bi=t=>Object.getPrototypeOf(t)===vi;function vr(t,e,s,n=!1){const l={},i=gi();t.propsDefaults=Object.create(null),yi(t,e,l,i);for(const c in t.propsOptions[0])c in l||(l[c]=void 0);s?t.props=n?l:So(l):t.type.props?t.props=l:t.props=i,t.attrs=i}function gr(t,e,s,n){const{props:l,attrs:i,vnode:{patchFlag:c}}=t,a=nt(l),[u]=t.propsOptions;let m=!1;if((n||c>0)&&!(c&16)){if(c&8){const f=t.vnode.dynamicProps;for(let g=0;g<f.length;g++){let _=f[g];if(Vs(t.emitsOptions,_))continue;const b=e[_];if(u)if(lt(i,_))b!==i[_]&&(i[_]=b,m=!0);else{const S=zt(_);l[S]=yn(u,a,S,b,t,!1)}else b!==i[_]&&(i[_]=b,m=!0)}}}else{yi(t,e,l,i)&&(m=!0);let f;for(const g in a)(!e||!lt(e,g)&&((f=De(g))===g||!lt(e,f)))&&(u?s&&(s[g]!==void 0||s[f]!==void 0)&&(l[g]=yn(u,a,g,void 0,t,!0)):delete l[g]);if(i!==a)for(const g in i)(!e||!lt(e,g))&&(delete i[g],m=!0)}m&&ue(t.attrs,"set","")}function yi(t,e,s,n){const[l,i]=t.propsOptions;let c=!1,a;if(e)for(let u in e){if(Xe(u))continue;const m=e[u];let f;l&<(l,f=zt(u))?!i||!i.includes(f)?s[f]=m:(a||(a={}))[f]=m:Vs(t.emitsOptions,u)||(!(u in n)||m!==n[u])&&(n[u]=m,c=!0)}if(i){const u=nt(s),m=a||dt;for(let f=0;f<i.length;f++){const g=i[f];s[g]=yn(l,u,g,m[g],t,!lt(m,g))}}return c}function yn(t,e,s,n,l,i){const c=t[s];if(c!=null){const a=lt(c,"default");if(a&&n===void 0){const u=c.default;if(c.type!==Function&&!c.skipFactory&&Y(u)){const{propsDefaults:m}=l;if(s in m)n=m[s];else{const f=hs(l);n=m[s]=u.call(null,e),f()}}else n=u;l.ce&&l.ce._setProp(s,n)}c[0]&&(i&&!a?n=!1:c[1]&&(n===""||n===De(s))&&(n=!0))}return n}const br=new WeakMap;function $i(t,e,s=!1){const n=s?br:e.propsCache,l=n.get(t);if(l)return l;const i=t.props,c={},a=[];let u=!1;if(!Y(t)){const f=g=>{u=!0;const[_,b]=$i(g,e,!0);wt(c,_),b&&a.push(...b)};!s&&e.mixins.length&&e.mixins.forEach(f),t.extends&&f(t.extends),t.mixins&&t.mixins.forEach(f)}if(!i&&!u)return ct(t)&&n.set(t,Ee),Ee;if(G(i))for(let f=0;f<i.length;f++){const g=zt(i[f]);rl(g)&&(c[g]=dt)}else if(i)for(const f in i){const g=zt(f);if(rl(g)){const _=i[f],b=c[g]=G(_)||Y(_)?{type:_}:wt({},_),S=b.type;let k=!1,j=!0;if(G(S))for(let $=0;$<S.length;++$){const M=S[$],q=Y(M)&&M.name;if(q==="Boolean"){k=!0;break}else q==="String"&&(j=!1)}else k=Y(S)&&S.name==="Boolean";b[0]=k,b[1]=j,(k||lt(b,"default"))&&a.push(g)}}const m=[c,a];return ct(t)&&n.set(t,m),m}function rl(t){return t[0]!=="$"&&!Xe(t)}const qn=t=>t==="_"||t==="_ctx"||t==="$stable",Fn=t=>G(t)?t.map(se):[se(t)],yr=(t,e,s)=>{if(e._n)return e;const n=Fo((...l)=>Fn(e(...l)),s);return n._c=!1,n},xi=(t,e,s)=>{const n=t._ctx;for(const l in t){if(qn(l))continue;const i=t[l];if(Y(i))e[l]=yr(l,i,n);else if(i!=null){const c=Fn(i);e[l]=()=>c}}},wi=(t,e)=>{const s=Fn(e);t.slots.default=()=>s},ki=(t,e,s)=>{for(const n in e)(s||!qn(n))&&(t[n]=e[n])},$r=(t,e,s)=>{const n=t.slots=gi();if(t.vnode.shapeFlag&32){const l=e._;l?(ki(n,e,s),s&&jl(n,"_",l,!0)):xi(e,n)}else e&&wi(t,e)},xr=(t,e,s)=>{const{vnode:n,slots:l}=t;let i=!0,c=dt;if(n.shapeFlag&32){const a=e._;a?s&&a===1?i=!1:ki(l,e,s):(i=!e.$stable,xi(e,l)),c=e}else e&&(wi(t,e),c={default:1});if(i)for(const a in l)!qn(a)&&c[a]==null&&delete l[a]},Pt=Tr;function wr(t){return kr(t)}function kr(t,e){const s=Is();s.__VUE__=!0;const{insert:n,remove:l,patchProp:i,createElement:c,createText:a,createComment:u,setText:m,setElementText:f,parentNode:g,nextSibling:_,setScopeId:b=le,insertStaticContent:S}=t,k=(h,v,x,A=null,T=null,E=null,L=void 0,H=null,D=!!v.dynamicChildren)=>{if(h===v)return;h&&!ze(h,v)&&(A=Vt(h),U(h,T,E,!0),h=null),v.patchFlag===-2&&(D=!1,v.dynamicChildren=null),v.dynamicChildren&&h&&h.dynamicChildren&&h.dynamicChildren.hasOnce&&(v.dynamicChildren===Ee&&(v.dynamicChildren=[]),v.dynamicChildren.hasOnce=!0);const{type:C,ref:W,shapeFlag:F}=v;switch(C){case zs:j(h,v,x,A);break;case me:$(h,v,x,A);break;case $s:h==null&&M(v,x,A,L);break;case K:He(h,v,x,A,T,E,L,H,D);break;default:F&1?I(h,v,x,A,T,E,L,H,D):F&6?Rt(h,v,x,A,T,E,L,H,D):(F&64||F&128)&&C.process(h,v,x,A,T,E,L,H,D,Le)}W!=null&&T?ss(W,h&&h.ref,E,v||h,!v):W==null&&h&&h.ref!=null&&ss(h.ref,null,E,h,!0)},j=(h,v,x,A)=>{if(h==null)n(v.el=a(v.children),x,A);else{const T=v.el=h.el;v.children!==h.children&&m(T,v.children)}},$=(h,v,x,A)=>{h==null?n(v.el=u(v.children||""),x,A):v.el=h.el},M=(h,v,x,A)=>{[h.el,h.anchor]=S(h.children,v,x,A,h.el,h.anchor)},q=({el:h,anchor:v},x,A)=>{let T;for(;h&&h!==v;)T=_(h),n(h,x,A),h=T;n(v,x,A)},P=({el:h,anchor:v})=>{let x;for(;h&&h!==v;)x=_(h),l(h),h=x;l(v)},I=(h,v,x,A,T,E,L,H,D)=>{if(v.type==="svg"?L="svg":v.type==="math"&&(L="mathml"),h==null)Z(v,x,A,T,E,L,H,D);else{const C=h.el&&h.el._isVueCE?h.el:null;try{C&&C._beginPatch(),bt(h,v,T,E,L,H,D)}finally{C&&C._endPatch()}}},Z=(h,v,x,A,T,E,L,H)=>{let D,C;const{props:W,shapeFlag:F,transition:N,dirs:V}=h;if(D=h.el=c(h.type,E,W&&W.is,W),F&8?f(D,h.children):F&16&&tt(h.children,D,null,A,T,nn(h,E),L,H),V&&Se(h,null,A,"created"),z(D,h,h.scopeId,L,A),W){for(const ut in W)ut!=="value"&&!Xe(ut)&&i(D,ut,null,W[ut],E,A);"value"in W&&i(D,"value",null,W.value,E),(C=W.onVnodeBeforeMount)&&Qt(C,A,h)}V&&Se(h,null,A,"beforeMount");const Q=Sr(T,N);Q&&N.beforeEnter(D),n(D,v,x),((C=W&&W.onVnodeMounted)||Q||V)&&Pt(()=>{try{C&&Qt(C,A,h),Q&&N.enter(D),V&&Se(h,null,A,"mounted")}finally{}},T)},z=(h,v,x,A,T)=>{if(x&&b(h,x),A)for(let E=0;E<A.length;E++)b(h,A[E]);if(T){let E=T.subTree;if(v===E||Ci(E.type)&&(E.ssContent===v||E.ssFallback===v)){const L=T.vnode;z(h,L,L.scopeId,L.slotScopeIds,T.parent)}}},tt=(h,v,x,A,T,E,L,H,D=0)=>{for(let C=D;C<h.length;C++){const W=h[C]=H?ce(h[C]):se(h[C]);k(null,W,v,x,A,T,E,L,H)}},bt=(h,v,x,A,T,E,L)=>{const H=v.el=h.el;let{patchFlag:D,dynamicChildren:C,dirs:W}=v;D|=h.patchFlag&16;const F=h.props||dt,N=v.props||dt;let V;if(x&&Me(x,!1),(V=N.onVnodeBeforeUpdate)&&Qt(V,x,v,h),W&&Se(v,h,x,"beforeUpdate"),x&&Me(x,!0),C&&(!h.dynamicChildren||h.dynamicChildren.length!==C.length)&&(D=0,L=!1,C=null),(F.innerHTML&&N.innerHTML==null||F.textContent&&N.textContent==null)&&f(H,""),C?It(h.dynamicChildren,C,H,x,A,nn(v,T),E):L||ot(h,v,H,null,x,A,nn(v,T),E,!1),D>0){if(D&16)we(H,F,N,x,T);else if(D&2&&F.class!==N.class&&i(H,"class",null,N.class,T),D&4&&i(H,"style",F.style,N.style,T),D&8){const Q=v.dynamicProps;for(let ut=0;ut<Q.length;ut++){const rt=Q[ut],gt=F[rt],$t=N[rt];($t!==gt||rt==="value")&&i(H,rt,gt,$t,T,x)}}D&1&&h.children!==v.children&&f(H,v.children)}else!L&&C==null&&we(H,F,N,x,T);((V=N.onVnodeUpdated)||W)&&Pt(()=>{V&&Qt(V,x,v,h),W&&Se(v,h,x,"updated")},A)},It=(h,v,x,A,T,E,L)=>{for(let H=0;H<v.length;H++){const D=h[H],C=v[H],W=D.el&&(D.type===K||!ze(D,C)||D.shapeFlag&198)?g(D.el):x;k(D,C,W,null,A,T,E,L,!0)}},we=(h,v,x,A,T)=>{if(v!==x){if(v!==dt)for(const E in v)!Xe(E)&&!(E in x)&&i(h,E,v[E],null,T,A);for(const E in x){if(Xe(E))continue;const L=x[E],H=v[E];L!==H&&E!=="value"&&i(h,E,H,L,T,A)}"value"in x&&i(h,"value",v.value,x.value,T)}},He=(h,v,x,A,T,E,L,H,D)=>{const C=v.el=h?h.el:a(""),W=v.anchor=h?h.anchor:a("");let{patchFlag:F,dynamicChildren:N,slotScopeIds:V}=v;V&&(H=H?H.concat(V):V),h==null?(n(C,x,A),n(W,x,A),tt(v.children||[],x,W,T,E,L,H,D)):F>0&&F&64&&N&&h.dynamicChildren&&h.dynamicChildren.length===N.length?(It(h.dynamicChildren,N,x,T,E,L,H),(v.key!=null||T&&v===T.subTree)&&Si(h,v,!0)):ot(h,v,x,W,T,E,L,H,D)},Rt=(h,v,x,A,T,E,L,H,D)=>{v.slotScopeIds=H,h==null?v.shapeFlag&512?T.ctx.activate(v,x,A,L,D):Be(v,x,A,T,E,L,D):ms(h,v,D)},Be=(h,v,x,A,T,E,L)=>{const H=h.component=Hr(h,A,T);if(Ln(h)&&(H.ctx.renderer=Le),Lr(H,!1,L),H.asyncDep){if(T&&T.registerDep(H,yt,L),!h.el){const D=H.subTree=ht(me);$(null,D,v,x),h.placeholder=D.el}}else yt(H,h,v,x,T,E,L)},ms=(h,v,x)=>{const A=v.component=h.component;if(mr(h,v,x))if(A.asyncDep&&!A.asyncResolved){v.el=h.el,pt(A,v,x);return}else A.next=v,A.update();else v.el=h.el,A.vnode=v},yt=(h,v,x,A,T,E,L)=>{const H=()=>{if(h.isMounted){let{next:F,bu:N,u:V,parent:Q,vnode:ut}=h;{const Zt=Mi(h);if(Zt){F&&(F.el=ut.el,pt(h,F,L)),Zt.asyncDep.then(()=>{Pt(()=>{h.isUnmounted||C()},T)});return}}let rt=F,gt;Me(h,!1),F?(F.el=ut.el,pt(h,F,L)):F=ut,N&&Js(N),(gt=F.props&&F.props.onVnodeBeforeUpdate)&&Qt(gt,Q,F,ut),Me(h,!0);const $t=il(h),Jt=h.subTree;h.subTree=$t,k(Jt,$t,g(Jt.el),Vt(Jt),h,T,E),F.el=$t.el,rt===null&&_r(h,$t.el),V&&Pt(V,T),(gt=F.props&&F.props.onVnodeUpdated)&&Pt(()=>Qt(gt,Q,F,ut),T)}else{let F;const{el:N,props:V}=v,{bm:Q,m:ut,parent:rt,root:gt,type:$t}=h,Jt=ns(v);Me(h,!1),Q&&Js(Q),!Jt&&(F=V&&V.onVnodeBeforeMount)&&Qt(F,rt,v),Me(h,!0);{gt.ce&>.ce._hasShadowRoot()&>.ce._injectChildStyle($t,h.parent?h.parent.type:void 0);const Zt=h.subTree=il(h);k(null,Zt,x,A,h,T,E),v.el=Zt.el}if(ut&&Pt(ut,T),!Jt&&(F=V&&V.onVnodeMounted)){const Zt=v;Pt(()=>Qt(F,rt,Zt),T)}(v.shapeFlag&256||rt&&ns(rt.vnode)&&rt.vnode.shapeFlag&256)&&h.a&&Pt(h.a,T),h.isMounted=!0,v=x=A=null}};h.scope.on();const D=h.effect=new Il(H);h.scope.off();const C=h.update=D.run.bind(D),W=h.job=D.runIfDirty.bind(D);W.i=h,W.id=h.uid,D.scheduler=()=>Hn(W),Me(h,!0),C()},pt=(h,v,x)=>{v.component=h;const A=h.vnode.props;h.vnode=v,h.next=null,gr(h,v.props,A,x),xr(h,v.children,x),fe(),Zn(h),he()},ot=(h,v,x,A,T,E,L,H,D=!1)=>{const C=h&&h.children,W=h?h.shapeFlag:0,F=v.children,{patchFlag:N,shapeFlag:V}=v;if(N>0){if(N&128){ke(C,F,x,A,T,E,L,H,D);return}else if(N&256){Ut(C,F,x,A,T,E,L,H,D);return}}V&8?(W&16&&At(C,T,E),F!==C&&f(x,F)):W&16?V&16?ke(C,F,x,A,T,E,L,H,D):At(C,T,E,!0):(W&8&&f(x,""),V&16&&tt(F,x,A,T,E,L,H,D))},Ut=(h,v,x,A,T,E,L,H,D)=>{h=h||Ee,v=v||Ee;const C=h.length,W=v.length,F=Math.min(C,W);let N;for(N=0;N<F;N++){const V=v[N]=D?ce(v[N]):se(v[N]);k(h[N],V,x,null,T,E,L,H,D)}C>W?At(h,T,E,!0,!1,F):tt(v,x,A,T,E,L,H,D,F)},ke=(h,v,x,A,T,E,L,H,D)=>{let C=0;const W=v.length;let F=h.length-1,N=W-1;for(;C<=F&&C<=N;){const V=h[C],Q=v[C]=D?ce(v[C]):se(v[C]);if(ze(V,Q))k(V,Q,x,null,T,E,L,H,D);else break;C++}for(;C<=F&&C<=N;){const V=h[F],Q=v[N]=D?ce(v[N]):se(v[N]);if(ze(V,Q))k(V,Q,x,null,T,E,L,H,D);else break;F--,N--}if(C>F){if(C<=N){const V=N+1,Q=V<W?v[V].el:A;for(;C<=N;)k(null,v[C]=D?ce(v[C]):se(v[C]),x,Q,T,E,L,H,D),C++}}else if(C>N)for(;C<=F;)U(h[C],T,E,!0),C++;else{const V=C,Q=C,ut=new Map;for(C=Q;C<=N;C++){const Lt=v[C]=D?ce(v[C]):se(v[C]);Lt.key!=null&&ut.set(Lt.key,C)}let rt,gt=0;const $t=N-Q+1;let Jt=!1,Zt=0;const Ue=new Array($t);for(C=0;C<$t;C++)Ue[C]=0;for(C=V;C<=F;C++){const Lt=h[C];if(gt>=$t){U(Lt,T,E,!0);continue}let Xt;if(Lt.key!=null)Xt=ut.get(Lt.key);else for(rt=Q;rt<=N;rt++)if(Ue[rt-Q]===0&&ze(Lt,v[rt])){Xt=rt;break}Xt===void 0?U(Lt,T,E,!0):(Ue[Xt-Q]=C+1,Xt>=Zt?Zt=Xt:Jt=!0,k(Lt,v[Xt],x,null,T,E,L,H,D),gt++)}const Bn=Jt?Mr(Ue):Ee;for(rt=Bn.length-1,C=$t-1;C>=0;C--){const Lt=Q+C,Xt=v[Lt],Wn=v[Lt+1],Kn=Lt+1<W?Wn.el||Ti(Wn):A;Ue[C]===0?k(null,Xt,x,Kn,T,E,L,H,D):Jt&&(rt<0||C!==Bn[rt]?R(Xt,x,Kn,2):rt--)}}},R=(h,v,x,A,T=null)=>{const{el:E,type:L,transition:H,children:D,shapeFlag:C}=h;if(C&6){R(h.component.subTree,v,x,A);return}if(C&128){h.suspense.move(v,x,A);return}if(C&64){L.move(h,v,x,Le);return}if(L===K){n(E,v,x);for(let F=0;F<D.length;F++)R(D[F],v,x,A);n(h.anchor,v,x);return}if(L===$s){q(h,v,x);return}if(A!==2&&C&1&&H)if(A===0)H.persisted&&!E[en]?n(E,v,x):(H.beforeEnter(E),n(E,v,x),Pt(()=>H.enter(E),T));else{const{leave:F,delayLeave:N,afterLeave:V}=H,Q=()=>{h.ctx.isUnmounted?l(E):n(E,v,x)},ut=()=>{const rt=E._isLeaving||!!E[en];E._isLeaving&&E[en](!0),H.persisted&&!rt?Q():F(E,()=>{Q(),V&&V()})};N?N(E,Q,ut):ut()}else n(E,v,x)},U=(h,v,x,A=!1,T=!1)=>{const{type:E,props:L,ref:H,children:D,dynamicChildren:C,shapeFlag:W,patchFlag:F,dirs:N,cacheIndex:V,memo:Q}=h;if((F===-2||C&&C.hasOnce)&&(T=!1),H!=null&&(fe(),ss(H,null,x,h,!0),he()),V!=null&&(!h.ctx||h.ctx===v)&&(v.renderCache[V]=void 0),W&256){v.ctx.deactivate(h);return}const ut=W&1&&N,rt=!ns(h);let gt;if(rt&&(gt=L&&L.onVnodeBeforeUnmount)&&Qt(gt,v,h),W&6)je(h.component,x,A);else{if(W&128){h.suspense.unmount(x,A);return}ut&&Se(h,null,v,"beforeUnmount"),W&64?h.type.remove(h,v,x,Le,A):C&&!C.hasOnce&&(E!==K||F>0&&F&64)?At(C,v,x,!1,!0):(E===K&&F&384||!T&&W&16)&&At(D,v,x),A&&X(h)}const $t=Q!=null&&V==null;(rt&&(gt=L&&L.onVnodeUnmounted)||ut||$t)&&Pt(()=>{gt&&Qt(gt,v,h),ut&&Se(h,null,v,"unmounted"),$t&&(h.el=null)},x)},X=h=>{const{type:v,el:x,anchor:A,transition:T}=h;if(v===K){Nt(x,A);return}if(v===$s){P(h),T&&!T.persisted&&T.afterLeave&&T.afterLeave();return}const E=()=>{l(x),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(h.shapeFlag&1&&T&&!T.persisted){const{leave:L,delayLeave:H}=T,D=()=>L(x,E);H?H(h.el,E,D):D()}else E()},Nt=(h,v)=>{let x;for(;h!==v;)x=_(h),l(h),h=x;l(v)},je=(h,v,x)=>{const{bum:A,scope:T,job:E,subTree:L,um:H,m:D,a:C}=h;al(D),al(C),A&&Js(A),T.stop(),E?(E.flags|=8,U(L,h,v,x)):h.vnode.el&&L&&(L.transition=h.vnode.transition,U(L,h,v,x)),H&&Pt(H,v),Pt(()=>{h.isUnmounted=!0},v)},At=(h,v,x,A=!1,T=!1,E=0)=>{for(let L=E;L<h.length;L++)U(h[L],v,x,A,T)},Vt=h=>{if(h.shapeFlag&6)return Vt(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const v=_(h.anchor||h.el),x=v&&v[Wo];return x?_(x):v};let We=!1;const Ke=(h,v,x)=>{let A;h==null?v._vnode&&(U(v._vnode,null,null,!0),A=v._vnode.component):k(v._vnode||null,h,v,null,null,null,x),v._vnode=h,We||(We=!0,Zn(A),si(),We=!1)},Le={p:k,um:U,m:R,r:X,mt:Be,mc:tt,pc:ot,pbc:It,n:Vt,o:t};return{render:Ke,hydrate:void 0,createApp:cr(Ke)}}function nn({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function Me({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Sr(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Si(t,e,s=!1){const n=t.children,l=e.children;if(G(n)&&G(l))for(let i=0;i<n.length;i++){const c=n[i];let a=l[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=l[i]=ce(l[i]),a.el=c.el),!s&&a.patchFlag!==-2&&Si(c,a)),a.type===zs&&(a.patchFlag===-1&&(a=l[i]=ce(a)),a.el=c.el),a.type===me&&!a.el&&(a.el=c.el)}}function Mr(t){const e=t.slice(),s=[0];let n,l,i,c,a;const u=t.length;for(n=0;n<u;n++){const m=t[n];if(m!==0){if(l=s[s.length-1],t[l]<m){e[n]=l,s.push(n);continue}for(i=0,c=s.length-1;i<c;)a=i+c>>1,t[s[a]]<m?i=a+1:c=a;m<t[s[i]]&&(i>0&&(e[n]=s[i-1]),s[i]=n)}}for(i=s.length,c=s[i-1];i-- >0;)s[i]=c,c=e[c];return s}function Mi(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Mi(e)}function al(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ti(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ti(e.subTree):null}const Ci=t=>t.__isSuspense;function Tr(t,e){e&&e.pendingBranch?G(t)?e.effects.push(...t):e.effects.push(t):qo(t)}const K=Symbol.for("v-fgt"),zs=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),$s=Symbol.for("v-stc"),Ae=[];let Ft=null;function y(t=!1){Ae.push(Ft=t?null:[])}function Ei(){Ae.pop(),Ft=Ae[Ae.length-1]||null}let as=1;function cl(t,e=!1){as+=t,t<0&&Ft&&e&&(Ft.hasOnce=!0)}function Oi(t){return t.dynamicChildren=as>0?Ft||Ee:null,Ei(),as>0&&Ft&&Ft.push(t),t}function w(t,e,s,n,l,i){return Oi(r(t,e,s,n,l,i,!0))}function qt(t,e,s,n,l){return Oi(ht(t,e,s,n,l,!0))}function Ai(t){return t?t.__v_isVNode===!0:!1}function ze(t,e){return t.type===e.type&&t.key===e.key}const Pi=({key:t})=>t??null,xs=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?_t(t)||St(t)||Y(t)?{i:Bt,r:t,k:e,f:!!s}:t:null);function r(t,e=null,s=null,n=0,l=null,i=t===K?0:1,c=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Pi(e),ref:e&&xs(e),scopeId:li,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:Bt};return a?(Es(u,s),i&128&&t.normalize(u)):s&&(u.shapeFlag|=_t(s)?8:16),as>0&&!c&&Ft&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Ft.push(u),u}const ht=Cr;function Cr(t,e=null,s=null,n=0,l=null,i=!1){if((!t||t===er)&&(t=me),Ai(t)){const a=Ne(t,e,!0);return s&&Es(a,s),as>0&&!i&&Ft&&(a.shapeFlag&6?Ft[Ft.indexOf(t)]=a:Ft.push(a)),a.patchFlag=-2,a}if(Rr(t)&&(t=t.__vccOpts),e){e=Er(e);let{class:a,style:u}=e;a&&!_t(a)&&(e.class=Et(a)),ct(u)&&(Dn(u)&&!G(u)&&(u=wt({},u)),e.style=vt(u))}const c=_t(t)?1:Ci(t)?128:Ws(t)?64:ct(t)?4:Y(t)?2:0;return r(t,e,s,n,l,c,i,!0)}function Er(t){return t?Dn(t)||bi(t)?wt({},t):t:null}function Ne(t,e,s=!1,n=!1){const{props:l,ref:i,patchFlag:c,children:a,transition:u}=t,m=e?Ar(l||{},e):l,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:m,key:m&&Pi(m),ref:e&&e.ref?s&&i?G(i)?i.concat(xs(e)):[i,xs(e)]:xs(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==K?c===-1?16:c|16:c,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ne(t.ssContent),ssFallback:t.ssFallback&&Ne(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce,cacheIndex:t.cacheIndex};return u&&n&&jn(f,u.clone(f)),f}function B(t=" ",e=0){return ht(zs,null,t,e)}function Or(t,e){const s=ht($s,null,t);return s.staticCount=e,s}function st(t="",e=!1){return e?(y(),qt(me,null,t)):ht(me,null,t)}function se(t){return t==null||typeof t=="boolean"?ht(me):G(t)?ht(K,null,t.slice()):Ai(t)?ce(t):ht(zs,null,String(t))}function ce(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ne(t)}function Es(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(G(e))s=16;else if(typeof e=="object")if(n&65){const l=e.default;l&&(l._c&&(l._d=!1),Es(t,l()),l._c&&(l._d=!0));return}else{s=32;const l=e._;!l&&!bi(e)?e._ctx=Bt:l===3&&Bt&&(Bt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(Y(e)){if(n&65){Es(t,{default:e});return}e={default:e,_ctx:Bt},s=32}else e=String(e),n&64?(s=16,e=[B(e)]):s=8;t.children=e,t.shapeFlag|=s}function Ar(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const l in n)if(l==="class")e.class!==n.class&&(e.class=Et([e.class,n.class]));else if(l==="style")e.style=vt([e.style,n.style]);else if(Ls(l)){const i=e[l],c=n[l];c&&i!==c&&!(G(i)&&i.includes(c))?e[l]=i?[].concat(i,c):c:c==null&&i==null&&!qs(l)&&(e[l]=c)}else l!==""&&(e[l]=n[l])}return e}function Qt(t,e,s,n=null){Yt(t,e,7,[s,n])}const Pr=hi();let Dr=0;function Hr(t,e,s){const n=t.type,l=(e?e.appContext:t.appContext)||Pr,i={uid:Dr++,vnode:t,type:n,parent:e,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new io(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(l.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:$i(n,l),emitsOptions:mi(n,l),emit:null,emitted:null,propsDefaults:dt,inheritAttrs:n.inheritAttrs,ctx:dt,data:dt,props:dt,attrs:dt,slots:dt,refs:dt,setupState:dt,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=e?e.root:i,i.emit=dr.bind(null,i),t.ce&&t.ce(i),i}let Ot=null;const jr=()=>Ot||Bt;let Os,cs;{const t=Is(),e=(s,n)=>{let l;return(l=t[s])||(l=t[s]=[]),l.push(n),i=>{l.length>1?l.forEach(c=>c(i)):l[0](i)}};Os=e("__VUE_INSTANCE_SETTERS__",s=>Ot=s),cs=e("__VUE_SSR_SETTERS__",s=>us=s)}const hs=t=>{const e=Ot;return Os(t),t.scope.on(),()=>{t.scope.off(),Os(e)}},ul=()=>{Ot&&Ot.scope.off(),Os(null)};function Di(t){return t.vnode.shapeFlag&4}let us=!1;function Lr(t,e=!1,s=!1){e&&cs(e);const{props:n,children:l}=t.vnode,i=Di(t);vr(t,n,i,e),$r(t,l,s||e);const c=i?qr(t,e):void 0;return e&&cs(!1),c}function qr(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,sr);const{setup:n}=s;if(n){fe();const l=t.setupContext=n.length>1?Ir(t):null,i=hs(t),c=fs(n,t,0,[t.props,l]),a=Al(c);if(he(),i(),(a||t.sp)&&!ns(t)&&ai(t),a){if(c.then(ul,ul),e)return c.then(u=>{cs(!0);try{dl(t,u,e)}finally{cs(!1)}}).catch(u=>{Bs(u,t,0)});t.asyncDep=c}else dl(t,c)}else Hi(t)}function dl(t,e,s){Y(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ct(e)&&(t.setupState=Ql(e)),Hi(t)}function Hi(t,e,s){const n=t.type;t.render||(t.render=n.render||le);{const l=hs(t);fe();try{nr(t)}finally{he(),l()}}}const Fr={get(t,e){return kt(t,"get",""),t[e]}};function Ir(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Fr),slots:t.slots,emit:t.emit,expose:e}}function Gs(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ql(Mo(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in ls)return ls[s](t)},has(e,s){return s in e||s in ls}})):t.proxy}function Rr(t){return Y(t)&&"__vccOpts"in t}const O=(t,e)=>Ao(t,e,us),Nr="3.5.43";/**
- * @vue/runtime-dom v3.5.43
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let $n;const pl=typeof window<"u"&&window.trustedTypes;if(pl)try{$n=pl.createPolicy("vue",{createHTML:t=>t})}catch{}const ji=$n?t=>$n.createHTML(t):t=>t,Br="http://www.w3.org/2000/svg",Wr="http://www.w3.org/1998/Math/MathML",ae=typeof document<"u"?document:null,fl=ae&&ae.createElement("template"),Kr={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const l=e==="svg"?ae.createElementNS(Br,t):e==="mathml"?ae.createElementNS(Wr,t):s?ae.createElement(t,{is:s}):ae.createElement(t);return t==="select"&&n&&n.multiple!=null&&l.setAttribute("multiple",n.multiple),l},createText:t=>ae.createTextNode(t),createComment:t=>ae.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ae.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,l,i){const c=s?s.previousSibling:e.lastChild;if(l&&(l===i||l.nextSibling))for(;e.insertBefore(l.cloneNode(!0),s),!(l===i||!(l=l.nextSibling)););else{fl.innerHTML=ji(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=fl.content;if(n==="svg"||n==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}e.insertBefore(a,s)}return[c?c.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Ur=Symbol("_vtc");function Vr(t,e,s){const n=t[Ur];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const As=Symbol("_vod"),Li=Symbol("_vsh"),hl={name:"show",beforeMount(t,{value:e},{transition:s}){t[As]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):Ge(t,e)},mounted(t,{value:e},{transition:s}){s&&e&&s.enter(t)},updated(t,{value:e,oldValue:s},{transition:n}){!e!=!s&&(n?e?(n.beforeEnter(t),Ge(t,!0),n.enter(t)):n.leave(t,()=>{Ge(t,!1)}):Ge(t,e))},beforeUnmount(t,{value:e}){Ge(t,e)}};function Ge(t,e){t.style.display=e?t[As]:"none",t[Li]=!e}const zr=Symbol(""),Gr=/(?:^|;)\s*display\s*:/;function Yr(t,e,s){const n=t.style,l=_t(s);let i=!1;if(s&&!l){if(e)if(_t(e))for(const c of e.split(";")){const a=c.slice(0,c.indexOf(":")).trim();s[a]==null&&Ze(n,a,"")}else for(const c in e)s[c]==null&&Ze(n,c,"");for(const c in s){c==="display"&&(i=!0);const a=s[c];a!=null?Zr(t,c,!_t(e)&&e?e[c]:void 0,a)||Ze(n,c,a):Ze(n,c,"")}}else if(l){if(e!==s){const c=n[zr];c&&(s+=";"+c),n.cssText=s,i=Gr.test(s)}}else e&&t.removeAttribute("style");As in t&&(t[As]=i?n.display:"",t[Li]&&(n.display="none"))}const bs=/\s*!important$/;function Ze(t,e,s){if(G(s))s.forEach(n=>Ze(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))bs.test(s)?t.setProperty(e,s.replace(bs,""),"important"):t.setProperty(e,s);else{const n=Jr(t,e);bs.test(s)?t.setProperty(De(n),s.replace(bs,""),"important"):t[n]=s}}const ml=["Webkit","Moz","ms"],ln={};function Jr(t,e){const s=ln[e];if(s)return s;let n=zt(e);if(n!=="filter"&&n in t)return ln[e]=n;n=Hl(n);for(let l=0;l<ml.length;l++){const i=ml[l]+n;if(i in t)return ln[e]=i}return e}function Zr(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&_t(n)&&s===n}const _l="http://www.w3.org/1999/xlink";function vl(t,e,s,n,l,i=so(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(_l,e.slice(6,e.length)):t.setAttributeNS(_l,e,s):s==null||i&&!Ll(s)?t.removeAttribute(e):t.setAttribute(e,i?"":ie(s)?String(s):s)}function gl(t,e,s,n,l){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?ji(s):s);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?t.getAttribute("value")||"":t.value,u=s==null?t.type==="checkbox"?"on":"":String(s);(a!==u||!("_value"in t))&&(t.value=u),s==null&&t.removeAttribute(e),t._value=s;return}let c=!1;if(s===""||s==null){const a=typeof t[e];a==="boolean"?s=Ll(s):s==null&&a==="string"?(s="",c=!0):a==="number"&&(s=0,c=!0)}try{t[e]=s}catch{}c&&t.removeAttribute(l||e)}function Xr(t,e,s,n){t.addEventListener(e,s,n)}function Qr(t,e,s,n){t.removeEventListener(e,s,n)}const bl=Symbol("_vei");function ta(t,e,s,n,l=null){const i=t[bl]||(t[bl]={}),c=i[e];if(n&&c)c.value=n;else{const[a,u]=na(e);if(n){const m=i[e]=oa(n,l);Xr(t,a,m,u)}else c&&(Qr(t,a,c,u),i[e]=void 0)}}const ea=/(Once|Passive|Capture)$/,sa=/^on:?(?:Once|Passive|Capture)$/;function na(t){let e,s;for(;(s=t.match(ea))&&!sa.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):De(t.slice(2)),e]}let on=0;const la=Promise.resolve(),ia=()=>on||(la.then(()=>on=0),on=Date.now());function oa(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const l=s.value;if(G(l)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const c=l.slice(),a=[n];for(let u=0;u<c.length&&!n._stopped;u++){const m=c[u];m&&Yt(m,e,5,a)}}else Yt(l,e,5,[n])};return s.value=t,s.attached=ia(),s}const yl=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ra=(t,e,s,n,l,i)=>{const c=l==="svg";e==="class"?Vr(t,n,c):e==="style"?Yr(t,s,n):Ls(e)?qs(e)||ta(t,e,s,n,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):aa(t,e,n,c))?(gl(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&vl(t,e,n,c,i,e!=="value")):t._isVueCE&&(ca(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!_t(n)))?gl(t,zt(e),n,i,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),vl(t,e,n,c))};function aa(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&yl(e)&&Y(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const l=t.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return yl(e)&&_t(s)?!1:e in t}function ca(t,e){const s=t._def.props;if(!s)return!1;const n=zt(e);return Array.isArray(s)?s.some(l=>zt(l)===n):Object.keys(s).some(l=>zt(l)===n)}const ua=wt({patchProp:ra},Kr);let $l;function da(){return $l||($l=wr(ua))}const pa=((...t)=>{const e=da().createApp(...t),{mount:s}=e;return e.mount=n=>{const l=ha(n);if(!l)return;const i=e._component;!Y(i)&&!i.render&&!i.template&&(i.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const c=s(l,!1,fa(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),c},e});function fa(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function ha(t){return _t(t)?document.querySelector(t):t}const qi={fleet:"/api/fleet",curves:"/api/curves",channels:"/api/channels",facts:"/api/facts",maintSurvey:"/api/maint_survey",maintStd:"/api/maint_std",maintFramework:"/api/maint_framework",dqFindings:"/api/dq_findings",ontList:"/api/ont_list",askStatus:"/api/ask_status",askModels:"/api/ask_models",vibcms:"/api/vibcms",algoHealth:"/algorithm/healthz",algoEndpoints:"/algorithm/api/endpoints",algoMatrix:"/algorithm/api/matrix",algoReliability:"/algorithm/api/reliability",algoPurity:"/algorithm/api/curves_check"};async function Fi(t,e){const s=qi[t],n=performance.now();try{const l=await fetch(s,{headers:{Accept:"application/json",...e?.body?{"Content-Type":"application/json"}:{}},...e}),i=await l.text();let c=i;try{c=JSON.parse(i)}catch{}return{name:t,path:s,ok:l.ok,status:l.status,ms:Math.round(performance.now()-n),data:c}}catch(l){return{name:t,path:s,ok:!1,status:0,ms:Math.round(performance.now()-n),error:l instanceof Error?l.message:String(l)}}}const rn=["facts","maintSurvey","ontList","askStatus","channels","dqFindings","algoHealth","algoEndpoints","algoMatrix","algoReliability","algoPurity"],ma={class:"card"},_a={class:"hint"},va=["disabled"],ga={class:"hint"},ba=Ht({__name:"ContractSmoke",setup(t){const e=Tt([]),s=Tt(!1),n=Tt(0);function l(c){return Array.isArray(c)?`list[${c.length}]`:c&&typeof c=="object"?Object.keys(c).slice(0,8).join(", "):typeof c}async function i(){s.value=!0,e.value=[],n.value=0;for(const c of rn){const a=await Fi(c);e.value.push({name:c,path:a.path,ok:a.ok,status:a.status,ms:a.ms,keys:l(a.data),error:a.error}),n.value+=1}s.value=!1}return Us(i),(c,a)=>(y(),w("section",ma,[a[3]||(a[3]=r("h2",null,[B("契约自检 "),r("small",null,"(后端结构与算法服务可达性;对拍基准见 docs/接口契约_前后端_v0.1.md)")],-1)),r("p",_a,[B(" 进度 "+d(n.value)+"/"+d(p(rn).length)+' · 只判"通不通",不比数据值(值随数据变,锚点在 Python 侧的门禁里) ',1),r("button",{class:"re",disabled:s.value,onClick:i},"重跑",8,va)]),r("table",null,[a[0]||(a[0]=r("thead",null,[r("tr",null,[r("th",null,"接口"),r("th",null,"路径"),r("th",null,"状态"),r("th",null,"耗时"),r("th",null,"顶层键 / 形状")])],-1)),r("tbody",null,[(y(!0),w(K,null,et(e.value,u=>(y(),w("tr",{key:u.name,class:Et({bad:!u.ok})},[r("td",null,d(u.name),1),r("td",null,[r("code",null,d(u.path),1)]),r("td",null,d(u.status),1),r("td",null,d(u.ms)+" ms",1),r("td",null,d(u.error||u.keys),1)],2))),128))])]),r("p",ga,[B(" 契约登记接口合计 "+d(Object.keys(p(qi)).length)+" 条(本页抽样 "+d(p(rn).length)+" 条); 全量 42 条由 ",1),a[1]||(a[1]=r("code",null,"python scripts/http_contract_audit.py",-1)),a[2]||(a[2]=B(" 在线复核。 ",-1))])]))}}),ya={"app.brand":"观澜","app.build":"最新完成构建","app.lang_en":"英文","app.lang_zh":"中文","app.subtitle":"海上风电场","app.title":"观澜 · 风电数据分析与决策支持","ask.common_q":"{cat} · 常用问题 (点即问, 或下方自由输入)","ask.done_meta":"模型 {m} · 用时 {s} 秒 · {n} 步","ask.elapsed":"{s} 秒","ask.empty":"问题为空","ask.en_qa_failed":"英文质检未通过: 已拦截这次模型回答, 请重新提问。","ask.error":"出错: {e}","ask.go":"提问","ask.grounding":"答案句句带 [对象id] 溯源 + 数据回抓校验核验; 判级只转述本体原文带审级, 模型零判级权。","ask.idle":"空闲 — 点常用问题或输入后提问。串行一次一问。","ask.local_down":"本机模型未启动 (Ollama 127.0.0.1:11434 未响应); 离线版不转云","ask.model":"模型","ask.no_models":"无可用模型","ask.offline":"离线版: 模型问答需连接系统。","ask.partial":"初答 · 27B 复核中","ask.placeholder":"自由提问 ({cat})","ask.question":"问题: {q}","ask.refined":"已复核 (默认档 {m} 未过成文校验, 由更强模型重答)","ask.refs.none":"无匹配契约条目 (契约 {sha}): 本回答未被结构化事实契约背书, 按模型输出对待","ask.refs.title":"契约引用 ({n} 条, 契约 {sha}) — 按问题/回答匹配的可交付结论, 引文来自 qa_refs","ask.review":"交叉审核 · {m}","ask.review_err":"审核未完成: {e}","ask.review_note":"由另一模型基于同一份证据复核上述答案。溯源核验仅校验数字与机组号是否越界, 本项校验结论是否有证据支撑。","ask.running":"推理中…","ask.verify_bad":"溯源核验未全过 (引用 {n})","ask.verify_ok":"溯源核验 {n}/{n} 全真","ask.xrev":"交叉审核","ask.xrev_note":"(DeepSeek 14B 互审, +约 1 分钟)","ask.xrev_title":"由另一模型基于同一份证据复核; 同一模型自审无法构成独立校验","asst.alarm_type":"告警类型 {t}","asst.cause_counts":"手册 {r} 次 · 工单 {w} 次 · 涉码 {c}","asst.causes":"← 可能原因 (手册排查方向 + 工单实证)","asst.check":"查什么","asst.code_placeholder":"报警码, 如 3225 / 3130 / 13902","asst.common":"常见","asst.corrective":"抢修","asst.corrective_flow":"报警码 → 失效模式 → 手册分步处置 → 历史工单","asst.drawings":"对应图纸","asst.failmodes":"指向的失效模式","asst.faulttree":"故障树","asst.faulttree_flow":"按证据量排序的系统失效模式 + 部件级成因","asst.fm_counts":"该类本场报警 {a} 条 / 工单 {w} 条","asst.head":"检修助手 — 确定性本体查询","asst.head_note":"结果逐字取自手册与工单, 不经模型","asst.identity":"系统 {sys} · 本场 {n} 条","asst.interval":"周期 {i}","asst.known_tags":"该系统手册出现过的位号 (对图纸时参考):","asst.no_causes":"(手册无该类排查条目 — 原因层待补)","asst.no_name":"(码表未收录)","asst.no_steps":"本码无手册处置条目 (手册覆盖本场 161/322 码) — 需查图纸或联系厂商支持。","asst.node":"节点","asst.nodes":"应检节点 · {c}","asst.nodes_note":"手册此步未给位号 → 按回路构成展开, 逐点查","asst.prev_empty":"(该系统无匹配的年度维护条目 — 维护作业指导书按位置代号编排, 未必逐系统对齐)","asst.prev_fm":"失效模式 (按本场报警量)","asst.prev_head":"{sys} 预防链 · 失效模式 {f} 类 · 预防性任务 {n} 项","asst.prev_tasks":"年度任务","asst.preventive":"预防性维护","asst.preventive_flow":"系统 → 失效模式 → 年度任务 → 作业指导步骤","asst.qty":"量: {q}","asst.query_failed":"查询失败: {e}","asst.querying":"查询中…","asst.spec_name":"名称","asst.spec_no":"参数号","asst.spec_range":"允许范围","asst.spec_val":"整定值","asst.specs":"判定规范 (实机参数表)","asst.step_n":"第 {n} 步","asst.steps":"现场处置 {n} 步","asst.steps_note":"节点部件 = 手册原文元件位号 (确定); 判定规范 = 实机参数表按物理量匹配的候选判据, 非厂商绑定 — 现场以铭牌与图纸复核。","asst.tags":"节点部件","asst.tree_codes":"征兆码 {c}","asst.tree_counts":"本场报警 {a} 条 · 工单 {w} 条","asst.tree_empty":"该系统无失效模式记录","asst.tree_head":"{sys} 故障树 · {n} 个失效模式","asst.tree_note":"一层 = 系统 × 失效类 (归纳自本场码表与工单) · 二层 = 手册排查方向归一 + 工单原因计数; 条长按实证量 (报警条数 + 工单 × 10), 因果来自手册与工单原文非推断, 树深两层不外推。","asst.unassigned":"未归属","asst.wi_steps":"WI {n} 步","asst.wo_action":"处置","asst.wo_fault":"故障","asst.wo_head":"现场实际怎么修的 ({sys} 历史工单 {n} 条, 台账 2020~2024)","asst.wo_note":'工单时间窗止 2024-11-21; 2025–26 现场未提供 ⇒ "0 条" 是记录缺失非未修过。',"attr.变桨与液压":"变桨与液压","attr.塔架/结构":"塔架/结构","attr.无记录停机":"无记录停机","attr.未归类":"未归类","attr.电网/供电(外部)":"电网/供电(外部)","attr.轮毂/叶片":"轮毂/叶片","attr.运维操作":"运维操作","attr.风况(外部)":"风况(外部)","cat.equip":"设备类","cat.equip.hint":"设备状态 / 机制 / 判级 — 从机组档案、对象查询与机制检索取证","cat.equip.q1":"29号机组现在什么状态、为什么、该怎么办?","cat.equip.q2":"全场哪些机组有报警级或定论级判级?逐台列出并注明审级","cat.equip.q3":"失效机制库里有哪些机制族?各涉及哪些机组、状态如何?","cat.loss":"损失分析","cat.loss.hint":"当前 3 个月损失 / 未来损失 — ont_loss / ont_scenario 取证, 金额带电价区间统计方法","cat.loss.q1":"近3个月全场损失结构如何?分状态和分机组说, 电量与金额都给","cat.loss.q2":"29号如果拖到主轴承失效, 未来损失量级是多少?与现在修对比","cat.loss.q3":"限电常态化对检修机会成本有什么影响?","cat.risk":"安全风险预测","cat.risk.hint":"风险敞口 / 劣化趋势 / 盲区 — ont_risk / ont_mechanism_search 取证, 未列 ≠ 正常","cat.risk.q1":"当前哪些机组风险在上升需要重点盯?联动监视读数如何?","cat.risk.q2":'监测有哪些盲区?哪些"没报警"不等于正常?',"cat.risk.q3":"29号轴承正在承受金属接触, 风险敞口怎么评估?","cat.sched":"检修排程决策","cat.sched.hint":"排期沙盘 / 天气窗 / 验收树 — ont_scenario / ont_get 取证","cat.sched.q1":"29号修泵什么时候做最合适?对比各情景的损失与风险","cat.sched.q2":"未来几个月哪些月份适合安排CTV检修和吊装作业?依据历史可作业窗","cat.sched.q3":"29号修好之后按什么判据验收?三分支分别是什么条件?","ch.attrib.none":"无记录 {h}h ({p}%)","ch.attrib.ok":"已归因到部件 {h}h ({p}%)","ch.attrib.uncls":"未归类 {h}h","ch.beta.median":"全场中位 {v}°","ch.blame.d1":"限电与调度令, 不进设备责任","ch.blame.d2":"故障与检修停机, 唯一进设备考核","ch.blame.d3":"正常发电欠发与低风待机","ch.blame.n1":"交易与调度侧","ch.blame.n2":"设备侧","ch.blame.n3":"运行侧","ch.blame.title":"损失 {tot} MWh 按责任归属","ch.cap.legend":"圆内数字 = 台数, 圆面积 ∝ 台数","ch.cap.median":"中位 {v}","ch.cap.p":"满发封顶","ch.cap.w":"转速封顶","ch.ml.legend":"— {s}","ch.pareto.cum80":"累计 80%","ch.pareto.cumtip":"{k} · 累计 {p}%","ch.pareto.key":"关键少数: 前 {k} 项占 80%","ch.pareto.none":"时间窗内无数据","ch.pareto.top3":"前三: ","ch.pareto.total":"共 {n} 项, 合计 {tot}{unit}","ch.pareto.xlab":"报警码 (悬停看全名)","ch.quad.few":"时间窗内码数不足, 不作四象限","ch.quad.q1":"低频长时 · 硬故障","ch.quad.q1s":"备件与检修窗","ch.quad.q2":"高频长时 · 重点治理","ch.quad.q2s":"优先派工","ch.quad.q3":"低频短时 · 本底","ch.quad.q3s":"不单独处置","ch.quad.q4":"高频短时 · 重复触发","ch.quad.q4s":"调整参数或屏蔽, 非硬件故障","ch.quad.tip":"{n} 条 · 单次中位 {med}s · 累计 {h}h · {nt} 台","ch.quad.xlab":"发生条数 (对数)","ch.quad.ylab":"单次中位时长 (对数)","ch.ram.area":"圆面积 = 累计停机时长","ch.ram.equip":"设备类","ch.ram.ext":"外部类","ch.ram.few":"部件数不足, 不作象限","ch.ram.median":"虚线 = 本场中位分界","ch.ram.q1":"常坏且难修","ch.ram.q1s":"最高优先级","ch.ram.q2":"罕发难修","ch.ram.q2s":"备件与作业窗","ch.ram.q3":"频发易修","ch.ram.q3s":"查根因, 换件无用","ch.ram.q4":"少发好修","ch.ram.q4s":"维持","ch.ram.tip":"{p}: 平均无故障间隔(MTBF){mtbf}h · 单次停机时长(MDT){mdt}h · 停机 {h}h · {n}起 · {u}台","ch.ram.tip_ext":" · 外部类不计设备可靠性","ch.ram.xlab":"平均无故障间隔(MTBF,h,对数)→ 越右越可靠","ch.ram.ylab":"单次停机时长(MDT,h)→ 越上越难修","ch.rate.days":"仅{d}天","ch.rate.month":"{m}月","ch.rate.n":"{n}条","ch.rate.tip":"{m}: {v} 条/日 (总 {n} 条, 数据覆盖 {cov}%)","ch.rate.ylab":"条/日","ch.ruler.norm":"正态期望 3.7σ","ch.ruler.row":"{r}σ σ = {s}","ch.wf.act":"实际上网","ch.wf.theo":"理论可发","ch.wf.tip":"{nm}: 损失 {loss} MWh, 占理论 {pct}%, 时长 {h}h","chain.gb":"齿轮箱","chain.gde":"发电机DE","chain.gen":"发电机","chain.gnde":"发电机NDE","chain.hss":"高速","chain.ims":"中间","chain.mba":"主轴承后","chain.mbf":"主轴承前","chain.ps":"行星","cmp.alarm_n":"报警 {a}","cmp.alarm_units":"报警机组","cmp.basis":"依据","cmp.by_system":"按系统查看","cmp.cards_note":"点系统卡 → 该系统全场机组与依据; 九系统 = 交付九分册一一对应; 叶片与叶根 / 塔架与基础无 SCADA 轴 (分册蓝本取 CMS / 巡检)","cmp.counts":"报警 {a} · 不可判 {u} · 良好 {g} · 优秀 {e}","cmp.cross_eyebrow":"多系统交叉机组","cmp.detail":"详情","cmp.detail_head":"{sys} · 全场 {n} 台","cmp.external":"外部","cmp.fleet_n":" · 全场 {n} 台","cmp.fusion_moved":"振动线结论与四源融合已移至独立板块 →","cmp.fusion_n":"({n} 台次收录)","cmp.good_units":"良好 {n} 台 (轻微偏离, 周期观察 — 点开看逐台依据)","cmp.grading_pending":"正在按所选时间窗重算判级…","cmp.grading_pending_why":"时间窗 {span}:变桨/偏航/蓄能/温度四个判级面正按该时间窗重算(首次约 25 秒),下面的系统卡暂时还是上一份统计方法 —— 算完会自动刷新,不会静默混用。","cmp.hit_sys":"命中系统","cmp.n_sys":"系统数","cmp.n_units":"({n} 台)","cmp.none":"本系统全场无非常态。","cmp.problem_page":"该问题页 →","cmp.rel_ev":"事件","cmp.rel_eyebrow":"部件可靠性 · 时间窗 {win}","cmp.rel_fm":"典型失效模式 (按时长)","cmp.rel_h":"停机时长","cmp.rel_head":"部件停机贡献与可靠性","cmp.rel_mdt":"单次停机时长(MDT,h)","cmp.rel_meta":"总停机 {t}h = 设备类 {a} + 外部类 {b}","cmp.rel_mtbo":"平均停机间隔(MTBO,h)","cmp.rel_note":'统计方法 ≥1h 停机段, 不含调度令 — 与"电量算账"里的停机时长{h} 不同, 差额是短于 1h 的停机段 (本页按段做可靠性指标须成段, 能量账按逐条工况态算电量): 两个数都对, 不可互相相减。',"cmp.rel_part":"部件","cmp.rel_units":"影响机组","cmp.unk_n":" · 不可判 {u}","cmp.unk_units":"不可判 (监测/数据不足, ≠ 正常)","cmp.watch_head":"关注机组 (≥2 系统交叉, {n} 台; 点机组号 → 该台独立页)","dec.classic":"维护标准 / 维护框架 / 数据质量三块尚未迁入新版 —","dec.head":"检修决策 · 本体问答 (推理无界, 结论须过校验)","en.balance":"电量平衡","en.blame":"损失责任分账","en.blame_note":'最大一笔是限电不是故障。进设备考核的只有"故障与检修停机" {n} MWh; 限电属交易与调度侧, 2026 起交易策略主导, 少发未必是弃风。',"en.cap_fail":"不通过","en.cap_note":"能量守恒核 · 理论 {op} 全额定上限 {cap}","en.cap_pass":"通过","en.kpi_act":"实际上网 · 等效满发 {h} h","en.kpi_loss":"损失率 · {v} MWh","en.kpi_theo":"理论可发 (实际+损失)","en.loss_mwh":"损失 MWh","en.share":"时长占比","en.state":"工况态","en.states":"工况态明细","en.states_note":"控制参数一致性与曲线欠发筛查在固定干净窗判, 已迁入「发电性能」页 — 本页只出当期电量账。","en.win":"窗 {win}","fig.fleet_median":"全场中位","fig.point":"测点","fig.quartile":"四分位","fig.this_unit":"本台","fig.trend":"趋势","fig.vibbar_note":"条为本台与全场中位之比; 色按 z (稳健离群度): 绿 <2 · 橙 2~3 · 红 ≥3","fig.x_median":"×中位","flt.alarm_face":"报警面","flt.alarm_meta":"{n} 条 · {c} 个码 · 时间窗 {win}","flt.attrib_note":'归因覆盖: "无记录停机" {h}h 是全场最大单项, 因不给 MTBF 而在上图中不出现 — 它不是"没有故障", 是"没归上因"。统计方法为段起点 ±30min 首发码。缺口成因待定: 此前写的"98% 的段在前 72h 内有报警 ⇒ 长停远窗"不成立 — 前 72h 有报警不等于该报警与本段停机有因果 (双模审 2026-08-28 逮)。要定成因须改判"段起止是否落在某条报警的持续区间内", 未做之前只报缺口不报原因。',"flt.block_err":"本块未算出 ({k}): {e}","flt.eyebrow":"故障统计与可靠性","flt.pareto_d":"帕累托 · 按持续时长","flt.pareto_d_note":"时长 = 闩锁统计方法 (复位 − 激活), 只作排序参考不作停机时长","flt.pareto_n":"帕累托 · 按发生条数","flt.pareto_n_note":"条数 = 发生频次, 不反映影响程度 — 高频短时报警码 (信号抖动或重复触发) 排序靠前","flt.per_t":"台级分布 · 报警条数 top{n}","flt.per_t_note":"全场合计 {n} 条 · 单台占比高须先核查是否为单一报警码重复触发","flt.per_t_share":"占全场","flt.quad":"故障模式四象限 · 条数 × 单次时长","flt.quad_note":"时间窗内共 {n} 个码, 图上为条数前 {m} 个。","flt.quad_note2":"点面积表示影响机组数, 大点为批次共性、小点为单台; 竖分界取条数中位, 横分界取 10min (一个 SCADA 采样格)。右下角的码不要按条数排优先级 — 属重复触发, 非硬件故障。上面两张帕累托对照看即此图的两条投影。","flt.quad_partial":"窗含不满月 {m} (覆盖 {c}%), 条数为原始累计未按天归一。","flt.ram":"可靠性 × 可维修性 · 部件象限","flt.ram_note":'按停机时长排序的表看不出这层结构: 同样 500h 的停机, "频发易修"要查根因、"罕发难修"要备件, 处置相反。设备类停机 {a}h / 外部类 {b}h (外部 = 电网·风况·运维操作, 不计设备可靠性)。海上机组 MDT 普遍偏高是交通窗口决定的, 不等于维修本身慢 — 跨场比 MDT 须同为海上。',"flt.rate":"月度故障率","flt.rate_example":"实测: {m} 总数最低但日均 {v} 条/日 = 全时间窗前列。","flt.rate_full":"各月覆盖完整。","flt.rate_note":"柱高 = 日均条数, 不是月总数","flt.rate_partial":"本时间窗 {m} 数据不满月 (灰虚线柱), 直接比月总数会读反。","flt.seasonal":"故障季节性 · top 报警族 × 月","flt.seasonal_note":"全程 19 个月 (跨 2 冬 1 夏); 未做 χ² 显著性检验前为【参考级】, 只看形态不作季节归因","flt.seasonal_unit":"条/月","flt.seasonal_x":"月","flt.stop_face":"停机面","flt.stop_h":"停机时长","flt.stop_meta":"{h}h · {n} 起 · 统计方法 ≥1h 段, 不含调度令","flt.stop_n":"次数","flt.stop_pareto":"停机归因帕累托","flt.stop_pareto_note":"按停机时长; 事件次数见悬停","flt.stop_units":"台级停机 top{n}","flt.stop_units_note":"停机时长高 ≠ 设备差 — 须先看归因里外部类占比 (调度令已剔除)","fus.alarm_n":"{n} 条","fus.alarm_rank":" · 第 {r}/{t}","fus.burst":"⚠ {p}% 是码 {c} 抖动","fus.burst_tip":"⚠ 单码 {c} 占 {p}%, 中位 {m} 秒/次 — 条数被抖动灌满","fus.clear":"× 清除","fus.cms_act":"行动","fus.cms_action":"需行动机组 (报警 / 不可判)","fus.cms_basis":"统计方法说明","fus.cms_basis_note":"本表 = windcms 状态管理判级 (含标量趋势与数据可判性); 融合矩阵 / 逐台结论 = 振动线确诊链转录 (候选以上)。两统计方法差异台: 仅本表列 {a} (多为标量发作 / 数据不可判, 未到确诊链); 仅确诊链列 {b} (预警级在察, 状态管理未升)。","fus.cms_chain":"部件状态链","fus.cms_chain_note":"(主承前 · 主承后 · 齿轮箱 · 发电机; 悬停看逐件等级)","fus.cms_evidence":"证据强度","fus.cms_focus":"状态焦点","fus.cms_focus_note":"(传动链: 主承前 · 主承后 · 齿轮箱 · 发电机两端)","fus.cms_grades":"38 台部件等级一览","fus.cms_head":"振动状态评估 (windcms 报告 {d} 结果转录)","fus.cms_link":"谱图 · 波形 · 判据 · 工作台等分析功能在独立 windcms 系统 →","fus.cms_loading":"载入振动评估结果…","fus.cms_note":"状态管理判级, 不代表确诊数量; 判据/谱线/计算过程不在本页 — 深潜走底部独立系统。","fus.cms_open":"打开 windcms ↗","fus.cms_overall":"综合","fus.cms_static":"(未启动时用静态版)","fus.cms_window":'数据窗 {r} —— 本时间窗**实算**覆盖区间 (窗名只是起始日代号); 页面上的图谱与"末窗"状态取自时间窗内最新记录, 故多显示末期日期。',"fus.col.alarm":"报警","fus.col.claim":"证据时间窗","fus.col.claim_axis":"26-01 → 09","fus.col.display_only":" · 只展示","fus.col.fixed":" · 不随本时间窗","fus.col.lub":"润滑柱塞","fus.col.oil":"油样","fus.col.part":"部件","fus.col.signal":"振动信号","fus.col.state_concl":"设备状态 / 振动结论","fus.col.temp":"温度","fus.col.tempaxis":"温度轴","fus.col.tempaxis_note":"±6 K","fus.col.vib":"振动","fus.col.wo":"工单","fus.ev_code":"码","fus.ev_dur":"累计时长 h","fus.ev_head":"{c} — 报警 {an} 条 / {au} 台 · 工单 {wn} 条 / {wu} 台 (时间窗内)","fus.ev_min":"时长 min","fus.ev_no_alarm":"时间窗内无该部件报警","fus.ev_no_wo":"时间窗内无该部件工单 (工单数据止 2024-11, 2026 类窗必空 = 数据边界)","fus.ev_recent":"最近 {n} 条明细","fus.ev_text":"报警内容","fus.ev_time":"时间","fus.ev_top":"台分布 top: ","fus.ev_units":"台数","fus.ev_win":"时间窗 {win} · 顶部选择器可换","fus.ev_wo_act":"处理","fus.ev_wo_cause":"原因","fus.ev_wo_name":"故障名称","fus.eval_head":"评价体系 (规范化定义 — 两轴并存, 不可互相替代)","fus.eval_meaning":"含义","fus.eval_note":'设备状态答"这台设备现在怎么样" (危险 > 报警 > 良好 > 优秀 > 不可判); 证据状态答"这个判断有多可信" (定论 → INSUFFICIENT)。设备状态一律取自振动线的判级栏这一个来源。本页判级为转录, 不产新判级; 标注为参照同型机组/频谱信号级 (未定位到具体零件)/测量链/未对应到具体部件的行不作部件级结论消费; claim_window = 该结论的证据时间窗, 窗外状态该结论不背书。',"fus.eval_state":"设备状态 (业主统计方法)","fus.eval_tier":"证据状态 (可信度)","fus.eyebrow":"振动与 SCADA 证据视图 · 展示振动结论、SCADA 指标、报警与工单线索","fus.fam_tip":"{n} 条 · 全场最多 {m} 条","fus.legend_note":'两轴不可互相替代: "候选"说的是可信度不是设备好坏; "良好"说的是设备状态不是证据强度。设备状态只取自振动线的判级栏这一个来源。',"fus.legend_state":"格子颜色 = 设备状态 (业主统计方法, 与 windcms 报告同一套):","fus.legend_tier":"徽章 = 证据状态 (可信度, windcms 九枚举):","fus.loop_ba":"换前 → 换后 (同标尺)","fus.loop_bound":"数据边界: {b}","fus.loop_closed":"已闭环 · 换件后恢复 ({n} 例)","fus.loop_date":"换件日","fus.loop_el":"早期 → 近期 (同标尺)","fus.loop_head":"维修后验证案例 (检出 → 换件 → 恢复)","fus.loop_item":"事项","fus.loop_neg":"负面对照: 工单后持平 {n} 例 (换件 ≠ 必然回落, 说明回落非巧合)。","fus.loop_none":"暂无端到端闭环证据:现场提交的振动数据包里没有「报警→检修→复测」的成对记录","fus.loop_note":"有换件记录且同一统计方法指标回落, 可作为检测链已闭合的案例; 指标仍在上升但缺少可匹配工单的机组, 需现场或台账确认后再关闭。","fus.loop_ratio":"恢复比","fus.loop_rising":"未闭环 · 指标上升待现场/工单确认 ({n} 台)","fus.loop_state":"状态","fus.loop_verdict":"判","fus.loop_x":"倍比","fus.lub_now":"润滑柱塞现状","fus.lv.bad":"定论/报警级","fus.lv.note":"候选/监视/观察级","fus.lv.ok":"销案/无新证","fus.lv.warn":"预警级","fus.m.bad":"异常严重, 建议尽快停机检查","fus.m.bad_e":"证据: 已定案","fus.m.ex":"未见异常, 保持常规监视","fus.m.ex_e":"证据: 仅记录 / 已取消","fus.m.ok":"轻微偏离, 记录观察","fus.m.ok_e":"证据: 待现场核实 / 已记为基线下窗观察","fus.m.unk":"数据不足或监测中断 — 不等于正常","fus.m.unk_e":"证据: 数据不足","fus.m.warn":"存在需现场核实或处置的异常","fus.m.warn_e":"证据: 基本确认 / 新出现待核实","fus.matrix_foot":'润滑柱塞各台设定本就不同 (全场单次循环 22~961 秒), 所以此列只展示不判级, 只有已定案的机制链才标色; 油液多数台末次取样距今超 12 个月, 此列看的是"样够不够新", 不代表当前状态。',"fus.matrix_head":"全场融合矩阵 (38 台 × 6 个证据面)","fus.matrix_note1":'各列取数窗口不同 (见列头) — 不同窗的两格同时发红不等于"同时发生", 不可当共时印证。',"fus.matrix_note2":'每格右侧曲线 = 逐月记忆轨迹 ({n} 个月, {m0} 起; 实心点 = 现窗) — 现窗快照会丢形态, 轨迹才看得见"塌→回升→翻转"类机制签名。',"fus.no_alarm":"时间窗内无报警","fus.none_word":"无","fus.oil_fresh":"近共时","fus.oil_none":"无样","fus.oil_stale":"stale > 12 个月","fus.rule1":"① 同一失效机制的多个观测面 ≠ 多源印证 — 融合禁按源数加权 (29# 柱塞/温度/振动稳态/振动瞬态 = 四个观测面一条机制链)。","fus.rule2":'② "没报警" ≠ "正常" — 在已知盲区上, 缺报警只说明监测面无效, 不说明设备无恙。',"fus.rules_head":"两条判读纪律 (随板块常显)","fus.short.nodata":"数据不足","fus.short.normal":"正常","fus.short.nosample":"未取样","fus.short.stale":"样龄过期","fus.short.uneval":"未评估","fus.short.unlisted":"未收录","fus.sub.cms":"振动分析","fus.sub.events":"报警工单","fus.sub.loop":"端到端闭环","fus.sub.matrix":"融合矩阵","fus.sub.units":"逐台情况","fus.temp_now":"温度轴现状","fus.tip_state":" — 设备状态 {s}","fus.tip_tier":" / 证据状态 {e}","fus.unavailable":"融合面数据不可用: {e}","fus.units_filter":" · 筛选: {l}","fus.units_head":'逐台情况 (全场 {u} 台 / {n} 台次{f}; 深入谱图/波形 → "振动分析")',"fus.unlisted_head":"未列机组 {n} 台 (振动线未收录 — 未列 ≠ 正常)","fus.unlisted_link":"未列 {n} 台","fus.win_n":"{n} 个窗段","fus.win_none":"未标窗","fus.wo_n":"{n} 单","fus.wo_none":"时间窗内无传动链工单","gen.beta":"桨距调度同档差","gen.beta_note":"同一功率档下的桨角与全场中位之差。{units} 偏离达中位的 {k} 倍 → {v}","gen.cands":"曲线欠发筛查","gen.cands_meta":"{note} · σ = {s}%","gen.cap":"封顶参数落位","gen.cap_note":"台数落在几个离散位置上, 不是连成一片 — 这是配置/版本差异的形状; 磨损或工况引起的会是连续散布。两轴各自成组且分组不同台 ⇒ 参数级差异, 成因须配置台账。","gen.ctrl":"控制参数一致性","gen.ctrl_win":"窗 {win}","gen.eyebrow":"特性曲线与控制参数","gen.figs":"七个镜头 · 逐档中位与同型机群残差","gen.fixed_win":"随上方时间窗 · 按时间窗重算","gen.loading":"正在计算七个镜头 (剥限电 · 逐档中位 · 同型机群残差)…","gen.no_cands":"无候选","gen.recomputing":"正在按所选时间窗重算七镜头…","gen.recomputing_short":"正在按窗重算…","gen.ruler":"尺子巡检 · 极差 ÷ σ","gen.ruler_note":"判据自身的分辨力。38 台正态抽样的极差期望约 3.7σ, 明显超出即分布非单峰 — 与左图的分组互为印证; 落在期望附近的轴 (额定桨角) 则是连续分布。","gen.win_range":"时间窗 {span}","gen.win_why":'七镜头与月度时序都按所选时间窗重算(含自定义起止日期)。提示:2025-07 ~ 2025-12 是"限电前干净判别窗"——2026 起交易策略主导,曲线含策略性少发,作设备判据时须注意;选到含 2026 的窗时该影响存在但不再遮掩。',"kpi.alarm_units":"九系统有报警的台数 / 全场","kpi.alarm_units.hint":"统计方法: 九系统 (叶片与叶根/变桨/偏航/齿轮箱/发电机/主轴承/变流器/塔架与基础/主控与传感网) 中任一被判「报警」即计一台。与下方「全场状态」格的统计方法不同 —— 那里按每台 振动/温度/润滑/油液/报警/工单 六列取最严一级, 所以两处数字可以不同, 不是矛盾。","kpi.avail":"时间可用率 (不含调度令) · {win}","kpi.curtail":"限电·绑定 电量损失","kpi.downtime":"停机时长 · {n} 起","kpi.loss":"停机电量损失 · {win}","kpi.loss_dispatch":"另调度令 {n}","kpi.mtbo":"平均停机间隔(MTBO;非行业 MTBF)","loss.curtail_bound":"限电 (命令与实际功率对得上)","loss.curtail_unbound":"限电命令期 · 功率未被压制","loss.dispatch":"调度令停机","loss.lowwind":"低风待机","loss.normal":"正常发电时的欠发","loss.stop":"故障与检修停机","mdl.cloud":"云端","mdl.deepseek-chat.nm":"DeepSeek","mdl.deepseek-chat.t":"约 3 到 10 秒","mdl.deepseek-r1:14b.nm":"本机 DeepSeek 14B · 审核档","mdl.deepseek-r1:14b.t":"约 1 到 3 分钟","mdl.deepseek-r1:32b.nm":"本机 DeepSeek 32B","mdl.deepseek-r1:32b.t":"约 3 到 8 分钟","mdl.deepseek-v4-pro.nm":"云端 DS","mdl.deepseek-v4-pro.t":"约 2 到 6 分钟","mdl.kimi-fast.nm":"Kimi","mdl.kimi-fast.t":"约 5 到 20 秒","mdl.local":"本地","mdl.outbound_warn":"内容会外发到模型厂商, 场名与台号已去标识化","mdl.qwen-plus.nm":"通义千问","mdl.qwen-plus.t":"约 5 到 20 秒","mdl.qwen3.8:27b.nm":"标准 27B · 复杂题","mdl.qwen3.8:27b.t":"约 2 到 4 分钟","mdl.qwen3:30b-a3b.nm":"快 30B (a3b)","mdl.qwen3:30b-a3b.t":"约 20 到 60 秒","mdl.qwen3:8b.nm":"轻量 8B · 默认","mdl.qwen3:8b.t":"约 30 到 60 秒","mdl.unknown_warn":"未知档位, 按内容会外发处理","mdl.zero_outbound":"全程零外发","mt.cov":"当前覆盖","mt.eyebrow":"系统维护 · 数据输入与更新端口","mt.fail":"盘点失败: {e}","mt.freq":"频率","mt.head":"数据维护面 · {n} 个源","mt.how":"补数据怎么做","mt.last":"末次更新","mt.layer_data":"数据层","mt.layer_data_note":"随运营滚动 — 新数据到位后跑摄入, 本体与判级自动刷新","mt.layer_mech":"机理层","mt.layer_mech_note":"相对稳定 — 换厂商资料或现场反馈修正时才动; 它是判据的地基, 变更须过审","mt.note":'每个源给出: 当前覆盖 / 末次更新 / 约定位置 / 摄入命令 / 更新频率 / 责任方。要补数据就把新文件放到"约定位置"再跑"摄入命令"。',"mt.put":"放到:","mt.resp":"责任","mt.rows_n":" ({n} 条)","mt.run":"跑:","mt.src":"源","mt.surveying":"盘点中…","ov.all_steps_done":"已走完(待验收)","ov.attention":"需要关注","ov.attention_n":"{n} 台","ov.basis_fusion":"本台依据来自融合面(九系统判级无「报警」行):部件 {part} · 链路走到第 {done}/{n} 步 · 卡在「{stuck}」 · 证据源 {srcs}","ov.caveat":"限定","ov.evidence":"查看完整依据","ov.fus_gap_hint":"这一面(需要关注 / 全场状态)取数来自融合面;缺件时如实为空,不从交付包补齐。在本机放好原始件后跑一次重算即会由观澜自己的生成端补上(scripts/rudong_fusion_handoff.py,见 docs 的「源代码化清单」)。","ov.illustrative":"示意数据","ov.no_srcs":"无(该台无外部证据源)","ov.quiet":"其余 {n} 台未进入优先关注清单;设备状态请查看全场状态评估。","ov.quiet_all":"当前优先关注清单为空;{n} 台机组的设备状态请查看全场状态评估。","ov.ranked_by":"按 设备状态 × 证据量 排序","ov.strip":"全场状态","ov.strip_hint":"一格一台 · 点格定位","ov.systems":"九系统","ov.systems_hint":"点系统看逐台依据","pop.acts":"动作统计","pop.close":"关闭","pop.loading":"载入中…","pop.none":"本时间窗无记录","pop.o_act":"处置","pop.o_cause":"原因","pop.o_check":"排查","pop.o_date":"日期","pop.o_fault":"故障","pop.o_kind":"类别","pop.orders":"工单 {n} 单","pop.orders_none":"时间窗内无工单","pop.orders_one":"工单 1 单","pop.problem":"{u} · {sys}","pop.unit":"{u} · 全部问题","rpt.attrib.note":'"无记录停机"不是没有故障, 是没归上因。',"rpt.attrib.title":"归因覆盖","rpt.aud_in":"场站内部 (全量)","rpt.aud_up":"上报集团 (脱敏)","rpt.b.attrib.d":"已归因 vs 无记录停机的占比 — 无记录不等于没有故障","rpt.b.attrib.nm":"归因覆盖","rpt.b.blame.d":'交易调度侧 / 设备侧 / 运行侧 三段占比 — 回答"谁的责任"',"rpt.b.blame.nm":"损失责任分账","rpt.b.caliber.d":"统计期 / 残月 / 工单时间窗 / 判级性质 — 建议常驻, 没有边界的数字堆不能作汇报依据","rpt.b.caliber.nm":"统计方法与适用边界","rpt.b.chain.d":"证据→机制→判级→排期→动作→验收 六步的瓶颈分布","rpt.b.chain.nm":"决策链进度","rpt.b.emon.d":"逐月上网 / 损失 / 损失率 / 等效满发, 含数据覆盖率","rpt.b.emon.nm":"逐月发电表","rpt.b.frate.d":"按天归一的日均条数, 数据不满月单独标注","rpt.b.frate.nm":"月度故障率","rpt.b.kpi.d":"六个核心数: 上网电量 / 等效满发 / 可用率 / 损失率 / 停机间隔 / 需行动台","rpt.b.kpi.nm":"一级指标","rpt.b.loop.d":"检出 → 换件 → 复测回落的历史例证, 证明这条链是通的","rpt.b.loop.nm":"闭环实证","rpt.b.narr.d":"模型基于实测数据生成的运行总结 — 为图表补充文字结论, 供汇报使用","rpt.b.narr.nm":"运行总结","rpt.b.pareto.d":"按条数降序 + 累计 80% 线, 找关键少数","rpt.b.pareto.nm":"故障帕累托","rpt.b.parts.d":"逐部件停机时长 / 事件数 / 平均无故障间隔(MTBF)/ 单次停机时长(MDT)/ 影响机组数","rpt.b.parts.nm":"部件停机表","rpt.b.plan.d":"由数据推出的行动项, 不是套话","rpt.b.plan.nm":"下期建议","rpt.b.quad.d":"条数 × 单次时长, 区分重复触发与实际停机 — 按条数排序会误定优先级","rpt.b.quad.nm":"故障四象限","rpt.b.ram.d":'平均无故障间隔(MTBF)× 单次停机时长(MDT)部件象限, 分出"频发易修"与"罕发难修", 处置方向相反',"rpt.b.ram.nm":"可靠性象限","rpt.b.units.d":"需跟踪台的部件 / 证据源 / 六步进度 / 卡在哪一步","rpt.b.units.nm":"重点机组","rpt.b.water.d":"理论可发 → 逐段扣损 → 实际上网, 用于定位电量流向","rpt.b.water.nm":"能量瀑布","rpt.blame.cal":"工况态分解 + 限电命令面绑定判别; 平均出力=实发÷台时, 用作风资源代理量","rpt.blame.note":'进设备考核的只有"故障与检修停机"; 限电属交易与调度侧。',"rpt.blame.note2":'限电不是"低风时段收到的空令": 限电·绑定时段平均出力 1.435 MW, 正常发电时段 1.412 MW, 比值 1.02 — 风况相同而出力被压, 说明限电是真压制; 但"限电命令期·功率未被压制"那一档平均出力仅 0.724 MW (18% 额定), 确属低风时段收令。',"rpt.blame.title":"损失责任分账","rpt.cal.deid":"脱敏","rpt.cal.deid_d":"上报版隐去判据门槛与特征频率","rpt.cal.denom":"可用率与损失率分母不同","rpt.cal.denom_d":'可用率分母剔除低风待机与调度令(问"该发时能不能发"), 损失率分母含全部时段(问"理论能发多少"); 同一低风时段在可用率里不计时间、在损失率里计入基数 — 这是两个指标的设计差异不是错, 但两者不可直接相乘或互推。低风待机对损失的贡献仅 118 MWh(0.5%)',"rpt.cal.partial":" — {m} 数据不满月(覆盖 {c}%), 月度已按天归一","rpt.cal.period":"统计期","rpt.cal.rating":"判级","rpt.cal.rating_d":"由振动/温度/润滑/油液四源融合得出; 行动等级由综合报告出具","rpt.cal.stop":"停机","rpt.cal.stop_d":"可靠性统计方法 ≥1h 段, 电量账为逐条工况态 — 两个数都对, 不可相减","rpt.cal.title":"统计方法与数据边界","rpt.cal.wo":"工单","rpt.cal.wo_d":"台账 2020~2024-11, 本报告不对本期检修执行下结论","rpt.caliber_lbl":"统计方法: ","rpt.chain.cal":"「动作」一列不可判 — {b}","rpt.chain.note":"六步: 证据 → 机制 → 判级 → 排期 → 动作 → 验收。当前 {s}。","rpt.chain.title":"决策链进度","rpt.chapters":"{n} 个章节","rpt.cloud_note":"; 内容会外发到模型厂商","rpt.compose":"生成","rpt.compose_fail":"生成失败: {e}","rpt.composed":"已按需求编排 {n} 块{narr} · {m} 用时 {s}s","rpt.composing":"模型编排中… 挑组件 + 写总结","rpt.emon.act":"上网 MWh","rpt.emon.cal":"覆盖率<50% 的月不参与环比","rpt.emon.cov":"覆盖","rpt.emon.eflh":"等效满发 h","rpt.emon.loss":"损失 MWh","rpt.emon.m":"月","rpt.emon.partial":" 不满月","rpt.emon.pct":"损失率","rpt.emon.title":"逐月发电","rpt.empty_canvas":"画布是空的 — 先从组件库选内容","rpt.export_docx":"导出 Word","rpt.export_xlsx":"导出 Excel","rpt.eyebrow":"汇报定制 · 画布","rpt.facts.agg":"聚合层","rpt.facts.sub":"{n} 条, 契约 {sha}; 数据/时间窗/结论只经契约更新","rpt.facts.sys":"系统","rpt.facts.text":"结论","rpt.facts.title":"可交付级结论 · 契约生成","rpt.facts.verdict":"裁决","rpt.foot_asof":"出件 {d}","rpt.foot_deid":"判据门槛与特征频率已脱敏","rpt.foot_src":"数据源 SCADA 10min · 报警事件 · 工单台账 · CMS 振动 · 油液化验","rpt.foot_trace":"结论可回溯至本体对象","rpt.frate.cal":"不满月按天归一","rpt.frate.note":"柱高=日均条数, 不是月总数。","rpt.frate.title":"月度故障率","rpt.g.end":"收尾","rpt.g.flt":"故障","rpt.g.gen":"发电","rpt.g.rel":"可靠性","rpt.g.unit":"机组","rpt.grounded":"数字全部接地","rpt.hint_idle":"悬停查看组件说明 · 已选组件再次点击移出 · 右侧 ↑↓ 调整顺序","rpt.kpi.act":"上网电量","rpt.kpi.action":"需行动机组","rpt.kpi.action_n":"定论 {a} · 预警 {b} · 候选 {c}","rpt.kpi.annual":"年化约 {v} h","rpt.kpi.avail":"时间可用率","rpt.kpi.avail_n":"不含调度令与低风待机","rpt.kpi.eflh":"等效满发小时","rpt.kpi.loss":"损失率","rpt.kpi.mom":"环比 {v}%","rpt.kpi.mom_na":"环比不可比(末月不满)","rpt.kpi.mtbo":"平均停机间隔","rpt.kpi.mtbo_n":"停机 {n} 起 · 单次均 {h}h","rpt.kpi.theo":"理论可发 {v}","rpt.library":"组件库","rpt.library_note":"点击加入报告, 再次点击移出 · 画布里已有 {n} 块","rpt.local_note":"; 数据不出本地","rpt.loop.cal":"振动标量前后对比","rpt.loop.comp":"部件","rpt.loop.date":"换件日期","rpt.loop.note":"这几台正是算法当初的检出台 ⇒ 故障前能看见、换件后能看见恢复。","rpt.loop.post":"换后","rpt.loop.pre":"换前","rpt.loop.ratio":"比值","rpt.loop.title":"端到端闭环实证","rpt.narr.cal":"模型 {m} 生成 · 数字取自系统实测摘要 · 数据回抓校验{g}","rpt.narr.empty":"还没有生成 — 在上面的交互窗输入报告要求。","rpt.narr.g_n":"报 {n} 处待核","rpt.narr.g_ok":"全通过","rpt.narr.title":"运行总结","rpt.narr.ungr":"⚠ 以下数值由模型自行推算, 不在原始数据摘要中, 引用前须核对: {v}","rpt.narr_plus":" + 一段运行总结","rpt.need_empty":"先输入报告要求","rpt.need_head":"输入报告要求","rpt.need_hint":"模型依据需求选取组件, 并基于实测数据生成运行总结","rpt.need_ph":"例如: 上报集团月报, 侧重设备可靠性与重点机组","rpt.no_compose":"本部署未启用编排接口, 画布仍可手动拼装","rpt.no_models":"本部署未配置任何模型密钥, 编排不可用","rpt.paper_sub":"统计期 {win} | {n} 台","rpt.paper_title":"运行分析报告","rpt.pareto.cal":"报警事件表","rpt.pareto.title":"故障帕累托","rpt.parts.cal":"归因=段起点±30min 首发码","rpt.parts.ev":"事件","rpt.parts.ext":" (外部)","rpt.parts.h":"停机h","rpt.parts.mdt":"单次停机时长(MDT,h)","rpt.parts.mtbf":"平均无故障间隔(MTBF,h)","rpt.parts.part":"部件","rpt.parts.title":"部件停机","rpt.parts.units":"影响机组","rpt.plan.1":'补机制定性 — {n} 台停在"判了级但根因未定", 是当前最大单一瓶颈',"rpt.plan.2":"回收 25~26 工单 — 台账止 2024-11, 本期检修执行与闭环无法自动判定","rpt.plan.3":"油液采样节奏 — 四源里油液长期 stale, 只能作回测锚","rpt.plan.4":"限电侧 — 损失六成在交易与调度侧, 设备侧改善空间有限","rpt.plan.cal":"建议级 — 排期与动作须经审批","rpt.plan.title":"下期计划与建议","rpt.preset.blank":"空白画布","rpt.preset.month":"月度运行分析","rpt.preset.topic":"设备专题","rpt.preset.week":"周报","rpt.preset.year":"年度总结","rpt.presets":"预设","rpt.preview_empty":"文档预览窗 — 从上面的组件库点选内容, 此处显示报告预览","rpt.print":"打印 / 存 PDF","rpt.quad.cal":"纵界=10min(一个SCADA采样格)","rpt.quad.note":"右下角报警码属重复触发, 不应按条数排定优先级。","rpt.quad.title":"故障模式四象限","rpt.ram.cal":"SCADA ≥1h 停机段, 不含调度令; 海上 MDT 含交通窗口","rpt.ram.note":"设备类 {a}h / 外部类 {b}h (电网·风况·运维操作不计设备可靠性)","rpt.ram.title":"可靠性 × 可维修性","rpt.ungrounded_n":"{n} 个数字待核","rpt.units.at":"卡在","rpt.units.cal":"四源融合判级","rpt.units.clear":"全通","rpt.units.ev":"部件与证据","rpt.units.head":"需跟踪 {n} 台 / {tot} | 瓶颈 ","rpt.units.prog":"进度","rpt.units.rising":"在升 {r}×","rpt.units.state":"状态","rpt.units.stuck":"{n} 台卡在「{s}」","rpt.units.title":"重点机组与处置","rpt.up_note":"上报版 — 判据门槛与特征频率已脱敏","rpt.up_tag":"上报版","rpt.water.cal":"SCADA 10min 工况态分解; 损失=同工况理论出力与实测之差。量级自检为防虚高的下限校验, 不是风资源判据","rpt.water.cap_bad":"量级自检: 理论 ≥ 全额定上限 {cap} MWh ✗ 数字不可信","rpt.water.cap_ok":"量级自检: 理论低于全额定上限 {cap} MWh ✔","rpt.water.note":"理论可发 {theo} = 上网 {act} + 损失 {loss} MWh ({pct}%)","rpt.water.title":"发电完成情况","rv.advci":"AdvCI","rv.dual":"双模型审","rv.lite":"lite","rv.none":"未审","st.bad":"危险","st.excellent":"优秀","st.ok":"良好","st.ok_excellent":"良好 / 优秀","st.unk":"不可判","st.warn":"报警","step.acceptance":"验收","step.action":"动作","step.evidence":"证据","step.mechanism":"机制","step.rating":"判级","step.schedule":"排期","step.site_records":"现场记录","step.stuck_at":"卡在「{step}」","sys.blade":"叶片与叶根","sys.control":"主控与传感网","sys.converter":"变流器","sys.gearbox":"齿轮箱","sys.generator":"发电机","sys.main_bearing":"主轴承","sys.other":"其他","sys.pitch":"变桨","sys.tower":"塔架与基础","sys.yaw":"偏航","tab.assistant":"检修助手","tab.component":"部件问题","tab.decision":"检修决策","tab.energy":"电量算账","tab.fault":"故障统计","tab.generation":"发电性能","tab.ontology":"本体","tab.overview":"总览","tab.report":"汇报定制","tab.system":"系统维护","tab.vibration":"振动融合分析","tier.candidate":"候选","tier.candidate.s":"候选","tier.candidate_baseline":"候选·记基线","tier.candidate_baseline.s":"候选·记基线","tier.candidate_new":"候选·新发","tier.candidate_new.s":"候选·新发","tier.confirmed":"定论","tier.confirmed.s":"定论","tier.detail.不可判":"不可判","tier.detail.仲裁输入":"仲裁输入","tier.detail.优":"优","tier.detail.优秀":"优秀","tier.detail.传感器项":"传感器项","tier.detail.候选":"候选","tier.detail.候选·监视(复发)":"候选·监视(复发)","tier.detail.候选·跟踪":"候选·跟踪","tier.detail.危险":"危险","tier.detail.可降":"可降","tier.detail.复发候选(两轴合并)":"复发候选(两轴合并)","tier.detail.定论":"定论","tier.detail.弱同向新证":"弱同向新证","tier.detail.报":"报","tier.detail.报警":"报警","tier.detail.本体无新证":"本体无新证","tier.detail.正常":"正常","tier.detail.正样本":"正样本","tier.detail.温度单轴保留":"温度单轴保留","tier.detail.监视":"监视","tier.detail.监视(不开箱)":"监视(不开箱)","tier.detail.良":"良","tier.detail.良好":"良好","tier.detail.蓄能失效候选(定向查)":"蓄能失效候选(定向查)","tier.detail.观察":"观察","tier.detail.观察(发电机侧)":"观察(发电机侧)","tier.detail.记基线观察":"记基线观察","tier.detail.销案(定论)":"销案(定论)","tier.detail.降观察":"降观察","tier.detail.预警":"预警","tier.detail.预警·处置升急":"预警·处置升急","tier.detail.预警·处置规划":"预警·处置规划","tier.insufficient":"不足","tier.insufficient.s":"不足","tier.near":"准定论·预警","tier.near.s":"准定论","tier.normal":"正常","tier.normal.s":"正常","tier.reference":"参考","tier.reference.s":"参考","tier.withdrawn":"撤回","tier.withdrawn.s":"撤回","ui.all":"全部","ui.back_portal":"← 返回门户","ui.back_to":"← 返回{tab}","ui.collapse":"收起","ui.count":"条数","ui.data_hidden":"({n} 处数据文本尚无英文,需复核)","ui.date":"日期","ui.empty":"无数据","ui.error":"出错了","ui.expand":"展开","ui.loading":"载入中…","ui.not_ported":"本页尚未迁入新版。","ui.not_recorded":"台账未填","ui.open":"查看 →","ui.open_classic":"在经典版打开 →","ui.query":"查询","ui.reselect":"重新选择机组 / 测点","ui.retry":"重试","ui.system":"系统","ui.unit":"机组","ui.units":"机组","ui.verbatim":"原始记录 (中文)","ui.verbatim_note":"{n} 处为手册/工单原文, 无英文译本, 按原文转录。","unit.h":"h","unit.n":" 条","unit.units":"台","vp.(振动线未收录)":"(振动线未收录)","vp.主轴承(后)+集中润滑泵":"主轴承(后)+集中润滑泵","vp.发电机(引用同族, 见族主台)":"发电机(无本台独立证据, 参照同型机组)","vp.发电机(未映射)":"发电机(未对应到具体部件)","vp.发电机DE":"发电机DE","vp.发电机DE+NDE(两端)":"发电机DE+NDE(两端)","vp.发电机NDE":"发电机NDE","vp.齿轮箱(未映射)":"齿轮箱(未对应到具体部件)","vp.齿轮箱(测量链问题, 非部件)":"齿轮箱(测量链问题, 非部件)","vp.齿轮箱(谱线级, 未映射到部件)":"齿轮箱(频谱信号级 (未定位到具体零件), 未对应到具体部件)","vp.齿轮箱中间轴":"齿轮箱中间轴","vp.齿轮箱二级行星内齿圈":"齿轮箱二级行星内齿圈","vp.齿轮箱高速轴":"齿轮箱高速轴","win.2025H2":"2025H2","win.2026":"2026年","win.2026H1":"2026H1","win.30d":"近30日","win.90d":"近90日","win.all":"全程","win.apply":"应用","win.bad_order":"开始日期不能晚于结束日期","win.banner":"时间窗 {win} · 本页全部数字随上方时间窗切换","win.custom":"自定义","win.custom_hint":"自定义起止日期(含两端)。日粒度件(判级/停机台账/曲线)按日精确;月度聚合件按所跨月份取整,图上会写明。","win.custom_sel":"自定义 {a} ~ {b}","win.from":"开始日期(含)","win.label":"时间窗","win.months":"按月","win.need_both":"请把开始与结束日期都选上","win.partial":"时间窗内 {m} 数据不满月 (覆盖 {c}%), 月度图已按天归一","win.presets":"预设时间窗","win.through":"至{date}","win.to":"结束日期(含)"};function o(t,e){let s=ya[t]??t;if(e)for(const[n,l]of Object.entries(e))s=s.split(`{${n}}`).join(String(l));return s}const $a=["overview","energy","component","vibration","generation","fault","decision","assistant","report","system"],an=["overview","energy","component","fault","vibration","generation","decision","assistant","system","report"],xa={危险:"bad",报警:"warn",不可判:"unk",良好:"ok",优秀:"ex"},wa={critical:"bad",alarm:"warn",undeterminable:"unk",indeterminate:"unk","not evaluable":"unk",good:"ok",excellent:"ex",warn:"warn",bad:"bad",ok:"ok",unk:"unk",ex:"ex"},Ps=t=>xa[String(t)]||wa[String(t)],xl={证据:"evidence",机制:"mechanism",判级:"rating",排期:"schedule",动作:"action",验收:"acceptance"},xn=t=>"st."+(t==="ex"?"excellent":t),mt=t=>String(t).replace("WTG","").replace(/^0/,"")+"#",at=(t,e=0)=>{if(t==null||typeof t=="number"&&isNaN(t))return"—";const s=Number(t);return isNaN(s)?"—":s.toLocaleString("zh-CN",{maximumFractionDigits:e,minimumFractionDigits:e})},wl=t=>{const e=Ps(t);return e?o(xn(e)):String(t??"")},ka=["振动","温度","润滑","油液","报警","工单"];function kl(t){const e=ka.map(n=>Ps((t?.[n]||{}).ostate)).filter(Boolean);if(!e.length)return"unk";if(e.includes("bad"))return"bad";if(e.includes("warn"))return"warn";const s=e.filter(n=>n!=="unk");return s.length?s.includes("ok")?"ok":"ex":"unk"}const Sl={bad:"critical",warn:"warning",unk:"unknown",ok:"good",ex:"excellent"},_e=t=>String(t??""),In=["叶片与叶根","变桨","偏航","齿轮箱","发电机","主轴承","变流器","塔架与基础","主控与传感网"],Ds={叶片与叶根:"blade",变桨:"pitch",偏航:"yaw",齿轮箱:"gearbox",发电机:"generator",主轴承:"main_bearing",变流器:"converter",塔架与基础:"tower",主控与传感网:"control",主轴:"main_bearing",其他:"other"},Ii=(()=>{const t={};for(const e of In)t[Ds[e]]=e;for(const[e,s]of Object.entries(Ds))s in t||(t[s]=e);return t})(),Hs=t=>Ds[String(t)]||String(t),Ml=t=>Ii[String(t)]||String(t),pe=t=>{const e=Ds[String(t)]||String(t);return Ii[e]?o("sys."+e):String(t??"")},js=t=>pe(t),Sa={key:0},Ma={class:"small"},Ta={href:"#tab=component","data-back":"1"},Ca={class:"panel mb"},Ea={style:{display:"flex",height:"12px","border-radius":"4px",overflow:"hidden",margin:"8px 0 4px"}},Oa={class:"small muted"},Aa={class:"tblwrap"},Pa={style:{width:"74px"}},Da={class:"r",style:{width:"96px"}},Ha=["href"],ja={class:"small"},La={class:"r"},qa=["href"],Fa={key:0,class:"panel mb"},Ia={style:{cursor:"pointer","font-weight":"600"}},Ra={class:"tblwrap"},Na={style:{"margin-top":"10px"}},Ba={style:{width:"74px"}},Wa={class:"small"},Ka={key:1,class:"panel"},Ua={class:"small"},Va={key:0},za={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},Ga={class:"eyebrow"},Ya={class:"panel mb"},Ja={style:{display:"grid","grid-template-columns":"repeat(auto-fit,minmax(170px,1fr))",gap:"10px"}},Za=["data-sys"],Xa={class:"t"},Qa={class:"bar"},tc={class:"small muted"},ec=["innerHTML"],sc={class:"small muted",style:{"margin-top":"8px"}},nc={key:1},lc={class:"panel mb",style:{"border-left":"3px solid var(--critical)"}},ic={class:"small"},oc={key:2},rc={class:"eyebrow"},ac={class:"panel mb"},cc={class:"small muted",style:{"font-weight":"400"}},uc={class:"small muted",style:{margin:"-2px 0 8px"}},dc={class:"tblwrap"},pc={class:"r"},fc={class:"r"},hc={class:"r"},mc={class:"r"},_c={key:0},vc={class:"badge"},gc={class:"num small"},bc={class:"r"},yc={class:"r"},$c={class:"r"},xc={class:"r"},wc={class:"small"},kc={class:"small muted"},Sc={key:3},Mc={class:"panel mb"},Tc={class:"small"},Cc={href:"#tab=vibration"},Ec={class:"eyebrow"},Oc={class:"panel mb"},Ac={class:"tblwrap"},Pc={class:"r"},Dc=["href"],Hc={class:"r"},jc=["innerHTML"],Lc={class:"small"},qc=Ht({__name:"Component",props:{d:{},sys:{}},setup(t){const e=t,s=O(()=>e.d?.sysdist||{}),n=O(()=>e.d?.rel&&!e.d.rel.err?e.d.rel:null),l=O(()=>e.sys?Ml(e.sys):null),i=O(()=>In.filter(f=>s.value[f]).map(f=>{const g=s.value[f],_=g.报警||0,b=g.不可判||0,S=Object.values(g).reduce((j,$)=>j+$,0)||1,k=_>=8?"var(--critical)":_>=3?"var(--warning)":_?"var(--accent)":"var(--good)";return{s:f,dist:g,a:_,u:b,N:S,col:k}}));function c(f){return(f.syss||[]).map(g=>`<a href="/problem/${f.t}/${encodeURIComponent(Ml(g)||g)}">${pe(g)}</a>`).join(" · ")}const a=O(()=>{const g=(((e.d?.control||{}).energy||{}).items||[]).filter(_=>_.k==="停机").map(_=>_.h)[0];return g??null}),u=O(()=>{const f=n.value?.表||[],g=Math.max(1,...f.map(_=>_.停机时长h));return f.map(_=>({r:_,maxH:g,sev:_.部件==="无记录停机"?"var(--unknown)":_.外部?"var(--accent)":_.占停机>=.06?"var(--critical)":_.占停机>=.03?"var(--warning)":"var(--good)"}))}),m=O(()=>{const f=l.value;if(!f)return null;const g=(e.d?.systems||{})[f]||[],_=s.value[f]||{},b=(e.d?.systems||{})[f+"·良好"]||[],S=j=>_[j]||0,k=Object.values(_).reduce((j,$)=>j+$,0)||1;return{s:f,N:k,gd:b,cnt:S,al:g.filter(j=>j.st==="报警"),un:g.filter(j=>j.st==="不可判"),dist:_}});return(f,g)=>m.value?(y(),w("section",Sa,[r("p",Ma,[r("a",Ta,d(p(o)("ui.back_to",{tab:p(o)("tab.component")})),1)]),r("div",Ca,[r("h3",null,d(p(o)("cmp.detail_head",{sys:p(pe)(m.value.s),n:m.value.N})),1),r("div",Ea,[(y(),w(K,null,et([["报警","critical"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],([_,b])=>r("i",{key:_,style:vt(`width:${(m.value.cnt(_)/m.value.N*100).toFixed(1)}%;background:var(--${b})`)},null,4)),64))]),r("div",Oa,d(p(o)("cmp.counts",{a:m.value.cnt("报警"),u:m.value.cnt("不可判"),g:m.value.cnt("良好"),e:m.value.cnt("优秀")})),1)]),(y(!0),w(K,null,et([m.value.al,m.value.un],(_,b)=>Xn((y(),w("div",{key:b,class:"panel mb"},[r("h3",null,d(b===0?p(o)("cmp.alarm_units"):p(o)("cmp.unk_units"))+" "+d(p(o)("cmp.n_units",{n:_.length})),1),r("div",Aa,[r("table",null,[r("tr",null,[r("th",Pa,d(p(o)("ui.unit")),1),r("th",null,d(p(o)("cmp.why")),1),r("th",Da,d(p(o)("cmp.detail")),1)]),(y(!0),w(K,null,et(_,S=>(y(),w("tr",{key:S.t},[r("td",null,[r("a",{href:`/turbine/${S.t}`},[r("b",null,d(p(mt)(S.t)),1)],8,Ha)]),r("td",ja,d(S.why),1),r("td",La,[r("a",{class:"small",href:`/problem/${S.t}/${encodeURIComponent(m.value.s)}`},d(p(o)("cmp.detail_link")),9,qa)])]))),128))])])])),[[hl,_.length]])),128)),m.value.gd.length?(y(),w("details",Fa,[r("summary",Ia,d(p(o)("cmp.good_units",{n:m.value.gd.length})),1),r("div",Ra,[r("table",Na,[r("tr",null,[r("th",Ba,d(p(o)("ui.unit")),1),r("th",null,d(p(o)("cmp.why")),1)]),(y(!0),w(K,null,et(m.value.gd,_=>(y(),w("tr",{key:_.t},[r("td",null,[r("b",null,d(p(mt)(_.t)),1)]),r("td",Wa,d(_.why),1)]))),128))])])])):st("",!0),!m.value.al.length&&!m.value.un.length&&!m.value.gd.length?(y(),w("div",Ka,[r("p",Ua,d(p(o)("cmp.none")),1)])):st("",!0)])):(y(),w(K,{key:1},[t.d.sysmx_pending?(y(),w("section",Va,[r("div",za,[r("b",null,d(p(o)("cmp.grading_pending")),1),B(" "+d(p(o)("cmp.grading_pending_why",{span:t.d.sysmx_span||""})),1)])])):st("",!0),r("section",null,[r("div",Ga,d(p(o)("cmp.by_system")),1),r("div",Ya,[r("div",Ja,[(y(!0),w(K,null,et(i.value,_=>(y(),w("div",{key:_.s,class:"sysc",role:"button",tabindex:"0","data-sys":p(Hs)(_.s),style:vt(`cursor:pointer;border-left:3px solid ${_.col}`)},[r("div",Xa,[r("b",null,d(p(pe)(_.s)),1)]),r("div",Qa,[(y(),w(K,null,et([["报警","critical"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],([b,S])=>Xn(r("i",{key:b,style:vt(`width:${(_.dist[b]/_.N*100).toFixed(1)}%;background:var(--${S})`)},null,4),[[hl,_.dist[b]]])),64))]),r("div",tc,[r("span",{innerHTML:p(o)("cmp.alarm_n",{a:`<b style="color:${_.col}">${_.a}</b>`})},null,8,ec),B(d((_.u?p(o)("cmp.unk_n",{u:_.u}):"")+p(o)("cmp.fleet_n",{n:_.N})),1)])],12,Za))),128))]),r("p",sc,d(p(o)("cmp.cards_note")),1)])]),t.d.rel&&t.d.rel.err?(y(),w("section",nc,[r("div",lc,[r("p",ic,d(p(o)("flt.block_err",{k:"rel",e:t.d.rel.err})),1)])])):n.value?(y(),w("section",oc,[r("div",rc,d(p(o)("cmp.rel_eyebrow",{win:n.value.窗})),1),r("div",ac,[r("h3",null,[B(d(p(o)("cmp.rel_head"))+" ",1),r("span",cc,d(p(o)("cmp.rel_meta",{t:n.value.总停机h,a:n.value.设备类停机h,b:n.value.外部类停机h})),1)]),r("p",uc,d(p(o)("cmp.rel_note",{h:a.value==null?"":" "+p(at)(a.value)+"h"})),1),r("div",dc,[r("table",null,[r("tr",null,[r("th",null,d(p(o)("cmp.rel_part")),1),r("th",null,d(p(o)("cmp.rel_h")),1),r("th",pc,d(p(o)("cmp.rel_ev")),1),r("th",fc,d(p(o)("cmp.rel_mtbo")),1),r("th",hc,d(p(o)("cmp.rel_mdt")),1),r("th",mc,d(p(o)("cmp.rel_units")),1),r("th",null,d(p(o)("cmp.rel_fm")),1)]),(y(!0),w(K,null,et(u.value,_=>(y(),w("tr",{key:_.r.部件},[r("td",null,[r("b",null,d(p(js)(_.r.部件)),1),_.r.外部?(y(),w("span",_c,[g[0]||(g[0]=B(d(" "),-1)),r("span",vc,d(p(o)("cmp.external")),1)])):st("",!0)]),r("td",null,[r("i",{class:"bar",style:vt(`width:${Math.round(_.r.停机时长h/_.maxH*72)}px;background:${_.sev}`)},null,4),r("span",gc,d(_.r.停机时长h)+"h · "+d((_.r.占停机*100).toFixed(1))+"%",1)]),r("td",bc,d(_.r.事件数),1),r("td",yc,d(_.r.外部?"—":_.r.MTBF_h||"—"),1),r("td",$c,d(_.r.MDT_h),1),r("td",xc,d(_.r.影响台数),1),r("td",wc,d(_.r.典型失效模式||"—"),1)]))),128))])]),r("p",kc,d(n.value.口径),1)])])):st("",!0),t.d.fus&&!t.d.fus.err?(y(),w("section",Sc,[r("div",Mc,[r("p",Tc,[B(d(p(o)("cmp.fusion_moved"))+" ",1),r("a",Cc,[r("b",null,d(p(o)("tab.vibration")),1)]),B(" "+d(p(o)("cmp.fusion_n",{n:(t.d.fus.表||[]).length})),1)])])])):st("",!0),r("section",null,[r("div",Ec,d(p(o)("cmp.cross_eyebrow")),1),r("div",Oc,[r("h3",null,d(p(o)("cmp.watch_head",{n:(t.d.watch||[]).length})),1),r("div",Ac,[r("table",null,[r("tr",null,[r("th",null,d(p(o)("ui.unit")),1),r("th",Pc,d(p(o)("cmp.n_sys")),1),r("th",null,d(p(o)("cmp.hit_sys")),1),r("th",null,d(p(o)("cmp.basis")),1)]),(y(!0),w(K,null,et(t.d.watch||[],_=>(y(),w("tr",{key:_.t},[r("td",null,[r("a",{href:`/turbine/${_.t}`},[r("b",null,d(p(mt)(_.t)),1)],8,Dc)]),r("td",Hc,d(_.n),1),r("td",{class:"small",innerHTML:c(_)},null,8,jc),r("td",Lc,d(_.why),1)]))),128))])])])])],64))}}),Fc="modulepreload",Ic=function(t,e){return new URL(t,e).href},Tl={},Rc=function(e,s,n){let l=Promise.resolve();if(s&&s.length>0){let c=function(f){return Promise.all(f.map(g=>Promise.resolve(g).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};const a=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),m=u?.nonce||u?.getAttribute("nonce");l=c(s.map(f=>{if(f=Ic(f,n),f in Tl)return;Tl[f]=!0;const g=f.endsWith(".css"),_=g?'[rel="stylesheet"]':"";if(!!n)for(let k=a.length-1;k>=0;k--){const j=a[k];if(j.href===f&&(!g||j.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${_}`))return;const S=document.createElement("link");if(S.rel=g?"stylesheet":Fc,g||(S.as="script"),S.crossOrigin="",S.href=f,m&&S.setAttribute("nonce",m),document.head.appendChild(S),g)return new Promise((k,j)=>{S.addEventListener("load",k),S.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${f}`)))})}))}function i(c){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=c,window.dispatchEvent(a),!a.defaultPrevented)throw c}return l.then(c=>{for(const a of c||[])a.status==="rejected"&&i(a.reason);return e().catch(i)})},Nc=["data-chart"],Bc=Ht({__name:"EChart",props:{option:{},height:{}},setup(t){const e=t,s=Tt(null);let n=null;async function l(){if(!s.value)return;const i=await Rc(()=>import("./index-BAPDkhe3.js"),[],import.meta.url);n||(n=i.init(s.value,void 0,{renderer:"canvas"})),n.setOption(e.option,!0)}return Us(l),es(()=>e.option,l,{deep:!0}),ui(()=>{n&&(n.dispose(),n=null)}),(i,c)=>(y(),w("div",{class:"echart","data-chart":JSON.stringify(t.option),style:vt(`height:${t.height||"260px"}`),ref_key:"el",ref:s},null,12,Nc))}}),Ri=(t,e)=>{const s=t.__vccOpts||t;for(const[n,l]of e)s[n]=l;return s},Dt=Ri(Bc,[["__scopeId","data-v-999bee15"]]),Wc={key:0},Kc={class:"panel"},Uc={class:"small muted"},Vc={key:1},zc={class:"kpis",style:{"margin-bottom":"12px"}},Gc={key:0},Yc={class:"grid2"},Jc={class:"panel span2"},Zc={class:"small muted",style:{"font-weight":"400"}},Xc={class:"panel"},Qc={style:{"font-weight":"600"}},tu={class:"num"},eu={class:"small muted"},su={class:"small muted",style:{"margin-top":"6px"}},nu={class:"panel"},lu={class:"small muted",style:{"font-weight":"400"}},iu={class:"tblwrap"},ou={class:"r",style:{width:"90px"}},ru={class:"small"},au={class:"num small"},cu={class:"r small"},uu={class:"small muted",style:{"margin-top":"6px"}},du=Ht({__name:"Energy",props:{d:{}},setup(t){const e=t,s=O(()=>(e.d?.control||{}).energy),n=O(()=>(e.d?.control||{}).states||[]),l={"限电·绑定":"loss.curtail_bound","限电命令·未绑定":"loss.curtail_unbound","停机(调度令)":"loss.dispatch",停机:"loss.stop",正常发电:"loss.normal",低风待机:"loss.lowwind"},i=_=>l[_]?o(l[_]):_,c=O(()=>{const _=s.value||{};return[{v:at(_.theo),u:"MWh",l:o("en.kpi_theo"),k:""},{v:at(_.act),u:"MWh",l:o("en.kpi_act",{h:at(_.eflh)}),k:"ok"},{v:at(_.loss_pct,1),u:"%",l:o("en.kpi_loss",{v:at(_.loss)}),k:_.loss_pct>=10?"warn":""},{v:_.cap_ok?o("en.cap_pass"):o("en.cap_fail"),u:"",l:o("en.cap_note",{op:_.cap_ok?"<":"≥",cap:at(_.cap)}),k:_.cap_ok?"ok":"bad"}]}),a=_=>_.indexOf("限电")>=0||_.indexOf("调度")>=0?0:_==="停机"?1:2,u=O(()=>{const _=[0,0,0];for(const b of s.value?.items||[])_[a(b.k)]+=b.loss;return _}),m=O(()=>{const _=s.value||{},b=(_.items||[]).filter($=>$.loss>0).map($=>({name:$.k,value:Math.round($.loss)})),S=u.value,k=S.reduce(($,M)=>$+M,0)||1,j=S.map($=>Math.round($/k*100)).filter(($,M)=>S[M]/k*500>46);return{title:{text:o("en.balance"),left:"center",textStyle:{fontSize:13}},tooltip:{trigger:"axis"},grid:{left:70,right:20,top:44,bottom:40},xAxis:{type:"category",data:b.map($=>$.name)},yAxis:{type:"value",name:"MWh"},series:[{type:"bar",data:b.map($=>$.value),itemStyle:{color:"#0b5fa5"}}],__data__:[Math.round(_.theo),Math.round(_.act),Math.round(b.reduce(($,M)=>$+M.value,0)),...b.map($=>$.value),...j]}}),f=O(()=>{const _=u.value;return{grid:{left:90,right:24,top:20,bottom:30},xAxis:{type:"value",name:"MWh"},yAxis:{type:"category",data:[o("ch.blame.n1"),o("ch.blame.n2"),o("ch.blame.n3")]},series:[{type:"bar",data:_.map(b=>Math.round(b)),itemStyle:{color:"#2f7dbf"}}],__data__:[]}}),g=O(()=>Math.max(1,...n.value.map(_=>_.pct)));return(_,b)=>s.value?(y(),w("section",Vc,[r("div",zc,[(y(!0),w(K,null,et(c.value,(S,k)=>(y(),w("div",{key:k,class:Et(["kpi",S.k])},[r("b",null,[B(d(S.v),1),S.u?(y(),w("small",Gc,d(S.u),1)):st("",!0)]),r("span",null,d(S.l),1)],2))),128))]),r("div",Yc,[r("div",Jc,[r("h3",null,[B(d(p(o)("en.balance"))+" ",1),r("span",Zc,d(p(o)("en.win",{win:p(_e)(t.d.win)})),1)]),ht(Dt,{option:m.value,height:"280px"},null,8,["option"])]),r("div",Xc,[r("h3",null,d(p(o)("en.blame")),1),ht(Dt,{option:f.value,height:"240px"},null,8,["option"]),(y(!0),w(K,null,et(u.value,(S,k)=>(y(),w("div",{key:k,style:{display:"flex","align-items":"baseline",gap:"7px","margin-top":"5px"}},[r("i",{style:vt(`flex:none;width:9px;height:9px;border-radius:2px;background:${["var(--accent)","var(--critical)","var(--muted)"][k]};opacity:.55`)},null,4),r("span",Qc,d(p(o)(["ch.blame.n1","ch.blame.n2","ch.blame.n3"][k])),1),r("span",tu,d(p(at)(Math.round(S)))+" MWh",1),r("span",eu,d(p(o)(["ch.blame.d1","ch.blame.d2","ch.blame.d3"][k])),1)]))),128)),r("p",su,d(p(o)("en.blame_note",{n:p(at)(Math.round(((s.value.items||[]).find(S=>S.k==="停机")||{}).loss||0))})),1)]),r("div",nu,[r("h3",null,[B(d(p(o)("en.states"))+" ",1),r("span",lu,d(p(o)("en.win",{win:p(_e)(t.d.win)})),1)]),r("div",iu,[r("table",null,[r("tr",null,[r("th",null,d(p(o)("en.state")),1),r("th",null,d(p(o)("en.share")),1),r("th",ou,d(p(o)("en.loss_mwh")),1)]),(y(!0),w(K,null,et(n.value,S=>(y(),w("tr",{key:S.k},[r("td",ru,d(i(S.k)),1),r("td",null,[r("i",{class:"bar",style:vt(`width:${Math.round(S.pct/g.value*84)}px;background:${S.k.indexOf("停机")>=0&&S.k.indexOf("调度")<0?"var(--critical)":"var(--accent)"}`)},null,4),r("span",au,d(S.pct)+"% · "+d(p(at)(Math.round(S.h)))+"h",1)]),r("td",cu,d(p(at)(Math.round(S.loss))),1)]))),128))])]),r("p",uu,[B(d(t.d.control.anchors||""),1),b[0]||(b[0]=r("br",null,null,-1)),B(d(p(o)("en.states_note")),1)])])])])):(y(),w("section",Wc,[r("div",Kc,[r("p",Uc,d(p(o)("ui.empty")),1)])]))}}),pu={class:"eyebrow"},fu={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},hu={style:{color:"var(--warning)"}},mu={class:"grid2"},_u={class:"eyebrow",style:{"grid-column":"1/-1","margin-top":"4px"}},vu={style:{"text-transform":"none","letter-spacing":"0",color:"var(--muted)"}},gu={class:"panel span2"},bu={class:"small muted",style:{"margin-top":"6px"}},yu={class:"panel"},$u=["innerHTML"],xu={class:"panel"},wu=["innerHTML"],ku={class:"panel span2"},Su={class:"small muted",style:{"margin-top":"6px"}},Mu={key:0,style:{color:"var(--warning)"}},Tu={class:"panel"},Cu={class:"tblwrap"},Eu={style:{width:"70px"}},Ou={class:"r",style:{width:"80px"}},Au={class:"num small"},Pu={class:"r small"},Du={class:"small muted",style:{"margin-top":"6px"}},Hu={key:0,class:"panel",style:{"border-left":"3px solid var(--critical)"}},ju={class:"small"},Lu={key:1,class:"panel"},qu={class:"small muted",style:{"font-weight":"400"}},Fu={class:"legend",style:{"margin-top":"6px","flex-wrap":"wrap"}},Iu={class:"small muted",style:{"margin-top":"6px"}},Ru={class:"eyebrow",style:{"grid-column":"1/-1","margin-top":"4px"}},Nu={style:{"text-transform":"none","letter-spacing":"0",color:"var(--muted)"}},Bu={key:0,class:"panel span2"},Wu={class:"small muted",style:{"margin-top":"6px"}},Ku={style:{"margin-top":"12px"}},Uu={class:"small muted",style:{"margin-top":"2px"}},Vu={class:"panel"},zu=["innerHTML"],Gu={class:"small muted",style:{"margin-top":"4px"}},Yu={class:"panel"},Ju={class:"tblwrap"},Zu={style:{width:"64px"}},Xu={class:"r",style:{width:"56px"}},Qu={class:"num small"},td={class:"r small"},ed={class:"small muted",style:{"margin-top":"6px"}},sd=Ht({__name:"Fault",props:{d:{}},setup(t){const e=t,s=O(()=>e.d?.faults||{}),n=O(()=>s.value.partial||[]),l=O(()=>e.d?.m8&&!e.d.m8.err?e.d.m8.mtbf:null),i=O(()=>s.value.monthly||{months:[],vals:[]}),c=O(()=>i.value.per_day||[]),a=O(()=>n.value.length?(i.value.months||[]).indexOf(n.value[0]):-1),u=O(()=>{const R=n.value.length?o("flt.rate_partial",{m:n.value.join("/")}):o("flt.rate_full"),U=a.value>=0&&!!i.value.per_day;return R+(U?" "+o("flt.rate_example",{m:n.value[0],v:m.value}):"")}),m=O(()=>{const R=a.value;return R>=0&&i.value.per_day?i.value.per_day[R]:null}),f=O(()=>n.value.length?o("win.partial",{m:n.value.join("/"),c:Math.round((s.value.cov_min||0)*100)}):""),g={grid:{left:60,right:20,top:24,bottom:46},tooltip:{trigger:"axis"},yAxis:{type:"value"}},_=O(()=>({...g,xAxis:{type:"category",data:i.value.months||[]},series:[{type:"bar",data:c.value.map(R=>R==null?null:Math.round(R*100)/100),itemStyle:{color:"#0b5fa5"}}],__data__:c.value.filter(R=>R!=null)}));function b(R){const U=(R||[]).filter(X=>X&&X.v>0);return{...g,xAxis:{type:"category",data:U.map(X=>X.k)},series:[{type:"bar",data:U.map(X=>X.v),itemStyle:{color:"#2f7dbf"}}],__data__:[]}}const S=R=>{const U=String(R).match(/^([0-9]+)/);return U?U[1]:String(R).slice(0,4)},k=R=>String(R??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""");function j(R,U,X){const Nt=(R||[]).filter(jt=>jt&&jt.v>0);if(!Nt.length)return k(o("ch.pareto.none"));const je=Nt.reduce((jt,h)=>jt+h.v,0);let At=0,Vt=null;for(let jt=0;jt<Nt.length;jt++)At+=Nt[jt].v,Vt===null&&je&&At/je>=.8&&(Vt=jt+1);const We=Nt.slice(0,3).map(jt=>`<b>${k(S(jt.k))}</b> ${k(String(jt.k).replace(/^[0-9]+ */,"").slice(0,18))}`).join(" · "),Ke=o("ch.pareto.total",{n:Nt.length,tot:at(Math.round(je)),unit:U});return(Vt?`<b>${k(o("ch.pareto.key",{k:Vt}))}</b> (${k(Ke)})`:k(Ke))+"<br>"+k(o("ch.pareto.top3"))+We+(X?"<br>"+k(X):"")}const $=O(()=>j(s.value.pareto_n||[],o("unit.n"),o("flt.pareto_n_note"))),M=O(()=>j(s.value.pareto_d||[]," h",o("flt.pareto_d_note"))),q=O(()=>j(pt.value," h",o("flt.stop_pareto_note"))),P=O(()=>b(s.value.pareto_n||[])),I=O(()=>b(s.value.pareto_d||[])),Z=O(()=>{const R=(s.value.quad||[]).filter(U=>U&&U.n>0&&U.med>0);return{grid:{left:60,right:24,top:24,bottom:46},xAxis:{type:"log",name:"MTBF(h)"},yAxis:{type:"value",name:"MDT(h)"},series:[{type:"scatter",data:R.map(U=>[U.mtbf??U.n,U.med]),symbolSize:U=>Math.min(28,6+Math.sqrt(Math.max(U[0]||1,1))),itemStyle:{color:"#b42318",opacity:.6}}],__data__:[]}}),z=O(()=>s.value.per_t||[]),tt=O(()=>Math.max(1,...z.value.map(R=>R.v))),bt=O(()=>l.value&&e.d?.m8?.seasonal?e.d.m8.seasonal:[]),It=["var(--accent)","#D48A1E","#2E8B6A","#7C5295"],we=O(()=>bt.value.slice(0,4).map(R=>String(R.name).slice(0,16))),He=O(()=>{const R=bt.value.slice(0,4),U=R.length?R[0].months:[];return{...g,xAxis:{type:"category",data:U},legend:{top:0,textStyle:{fontSize:10}},series:R.map(X=>({name:String(X.name).slice(0,16),type:"line",data:X.vals,connectNulls:!1})),__data__:[]}}),Rt=O(()=>e.d?.rel&&!e.d.rel.err?e.d.rel:null),Be=O(()=>{const R=Rt.value?.表||[];return{grid:{left:60,right:24,top:24,bottom:40},xAxis:{type:"value",name:"MTBF(h)"},yAxis:{type:"value",name:"MDT(h)"},series:[{type:"scatter",data:R.filter(U=>!U.外部&&U.MTBF_h).map(U=>[U.MTBF_h,U.MDT_h]),symbolSize:8,itemStyle:{color:"#2f7dbf",opacity:.5}}],__data__:[]}}),ms=O(()=>{const R=Rt.value?.表||[],U=(R.find(At=>At.部件==="无记录停机")||{}).停机时长h||0,X=R.filter(At=>At.部件==="未归类").reduce((At,Vt)=>At+Vt.停机时长h,0);return{ok:(Rt.value?.总停机h||0)-U-X,unk:U,un2:X}}),yt=O(()=>{const R=ms.value;return{xAxis:{type:"value"},yAxis:{type:"category",data:[o("ch.attrib.ok",{h:Math.round(R.ok),p:""}),o("ch.attrib.none",{h:Math.round(R.unk),p:""}),o("ch.attrib.uncls",{h:Math.round(R.un2)})]},series:[{type:"bar",data:[Math.round(R.ok),Math.round(R.unk),Math.round(R.un2)],itemStyle:{color:"#0b5fa5"}}],__data__:[Math.round(R.ok),Math.round(R.unk),Math.round(R.un2)]}}),pt=O(()=>(e.d?.m8?.stop_pareto||[]).map(R=>({k:String(R.k).split(";")[0].slice(0,26),v:R.h}))),ot=O(()=>b(pt.value)),Ut=O(()=>l.value?.台级top||[]),ke=O(()=>Math.max(1,...Ut.value.map(R=>R.时长h)));return(R,U)=>(y(),w("section",null,[r("div",pu,d(p(o)("flt.eyebrow")),1),r("div",fu,[r("b",null,d(p(o)("win.banner",{win:p(_e)(t.d.win)})),1),f.value?(y(),w(K,{key:0},[U[0]||(U[0]=B(" | ",-1)),r("span",hu,d(f.value),1)],64)):st("",!0)]),r("div",mu,[r("div",_u,[B(d(p(o)("flt.alarm_face"))+" ",1),r("span",vu,d(p(o)("flt.alarm_meta",{n:p(at)(s.value.total),c:s.value.n_codes,win:p(_e)(t.d.win)})),1)]),r("div",gu,[r("h3",null,d(p(o)("flt.rate")),1),ht(Dt,{option:_.value,height:"250px"},null,8,["option"]),r("p",bu,[r("b",null,d(p(o)("flt.rate_note")),1),B(" — "+d(u.value),1)])]),r("div",yu,[r("h3",null,d(p(o)("flt.pareto_n")),1),ht(Dt,{option:P.value,height:"240px"},null,8,["option"]),r("p",{class:"small muted",style:{"margin-top":"5px","line-height":"1.6"},innerHTML:$.value},null,8,$u)]),r("div",xu,[r("h3",null,d(p(o)("flt.pareto_d")),1),ht(Dt,{option:I.value,height:"240px"},null,8,["option"]),r("p",{class:"small muted",style:{"margin-top":"5px","line-height":"1.6"},innerHTML:M.value},null,8,wu)]),r("div",ku,[r("h3",null,d(p(o)("flt.quad")),1),ht(Dt,{option:Z.value,height:"300px"},null,8,["option"]),r("p",Su,[B(d(p(o)("flt.quad_note",{n:s.value.n_codes,m:(s.value.quad||[]).length}))+" ",1),n.value.length?(y(),w("span",Mu,d(p(o)("flt.quad_partial",{m:n.value.join("/"),c:Math.round((s.value.cov_min||0)*100)})),1)):st("",!0),B(" "+d(p(o)("flt.quad_note2")),1)])]),r("div",Tu,[r("h3",null,d(p(o)("flt.per_t",{n:z.value.length})),1),r("div",Cu,[r("table",null,[r("tr",null,[r("th",Eu,d(p(o)("ui.unit")),1),r("th",null,d(p(o)("ui.count")),1),r("th",Ou,d(p(o)("flt.per_t_share")),1)]),(y(!0),w(K,null,et(z.value,X=>(y(),w("tr",{key:X.k},[r("td",null,[r("b",null,d(p(mt)(X.k)),1)]),r("td",null,[r("i",{class:"bar",style:vt(`width:${Math.round(X.v/tt.value*90)}px;background:${X.v/tt.value>.6?"var(--critical)":"var(--accent)"}`)},null,4),r("span",Au,d(p(at)(X.v)),1)]),r("td",Pu,d((X.v/s.value.total*100).toFixed(1))+"%",1)]))),128))])]),r("p",Du,d(p(o)("flt.per_t_note",{n:p(at)(s.value.total)})),1)]),t.d.m8&&t.d.m8.err?(y(),w("div",Hu,[r("p",ju,d(p(o)("flt.block_err",{k:"m8",e:t.d.m8.err})),1)])):st("",!0),l.value&&bt.value.length?(y(),w("div",Lu,[r("h3",null,[B(d(p(o)("flt.seasonal"))+" ",1),r("span",qu,"("+d(p(o)("flt.seasonal_unit"))+")",1)]),ht(Dt,{option:He.value,height:"260px"},null,8,["option"]),r("div",Fu,[(y(!0),w(K,null,et(we.value,(X,Nt)=>(y(),w("span",{key:Nt},[r("i",{style:vt(`background:${It[Nt%4]}`)},null,4),B(d(X),1)]))),128))]),r("p",Iu,d(p(o)("flt.seasonal_note")),1)])):st("",!0),l.value?(y(),w(K,{key:2},[r("div",Ru,[B(d(p(o)("flt.stop_face"))+" ",1),r("span",Nu,d(p(o)("flt.stop_meta",{h:p(at)(l.value.停机总时长h),n:p(at)(l.value.停机事件数)})),1)]),Rt.value?(y(),w("div",Bu,[r("h3",null,d(p(o)("flt.ram")),1),ht(Dt,{option:Be.value,height:"300px"},null,8,["option"]),r("p",Wu,d(p(o)("flt.ram_note",{a:Rt.value.设备类停机h,b:Rt.value.外部类停机h})),1),r("div",Ku,[ht(Dt,{option:yt.value,height:"160px"},null,8,["option"])]),r("p",Uu,d(p(o)("flt.attrib_note",{h:((Rt.value.表||[]).find(X=>X.部件==="无记录停机")||{}).停机时长h||0})),1)])):st("",!0),r("div",Vu,[r("h3",null,d(p(o)("flt.stop_pareto")),1),ht(Dt,{option:ot.value,height:"240px"},null,8,["option"]),r("p",{class:"small muted",style:{"margin-top":"5px","line-height":"1.6"},innerHTML:q.value},null,8,zu),r("p",Gu,d(l.value.口径),1)]),r("div",Yu,[r("h3",null,d(p(o)("flt.stop_units",{n:Ut.value.length})),1),r("div",Ju,[r("table",null,[r("tr",null,[r("th",Zu,d(p(o)("ui.unit")),1),r("th",null,d(p(o)("flt.stop_h")),1),r("th",Xu,d(p(o)("flt.stop_n")),1)]),(y(!0),w(K,null,et(Ut.value,X=>(y(),w("tr",{key:X.t},[r("td",null,[r("b",null,d(p(mt)(X.t)),1)]),r("td",null,[r("i",{class:"bar",style:vt(`width:${Math.round(X.时长h/ke.value*90)}px;background:${X.时长h/ke.value>.6?"var(--critical)":"var(--accent)"}`)},null,4),r("span",Qu,d(p(at)(X.时长h)),1),U[1]||(U[1]=B("h",-1))]),r("td",td,d(X.次),1)]))),128))])]),r("p",ed,d(p(o)("flt.stop_units_note")),1)])],64)):st("",!0)])]))}}),nd=[[/DE[/]NDE/g,"驱动端与非驱动端"],[/GenDE/g,"发电机驱动端"],[/GenNDE/g,"发电机非驱动端"],[/HS_gen2?/g,"高速轴发电机侧"],[/HS_rot/g,"高速轴转子侧"],[/IMS/g,"中间轴"],[/(?<![A-Za-z])NDE(?![A-Za-z])/g,"非驱动端"],[/(?<![A-Za-z])DE(?![A-Za-z])/g,"驱动端"],[/内圈BPFI/g,"内圈特征频率"],[/外圈BPFO/g,"外圈特征频率"],[/BPFI/g,"内圈特征频率"],[/BPFO/g,"外圈特征频率"],[/FTF/g,"保持架特征频率"],[/BSF/g,"滚动体特征频率"],[/TD_1R/g,"时域单转指标"],[/Peak/g,"冲击峰值"],[/Rms/gi,"有效值"],[/([0-9]+(?:[.][0-9]+)?)[ ]*阶/g,"$1 倍轴频"],[/[(]o([0-9]+(?:[.][0-9]+)?)[)]/g,"(轴频 $1 倍)"],[/×p90/g,"×全场90分位"],[/×fleet/g,"×全场中位"],[/六窗/g,"六个观测窗"],[/([0-9])窗/g,"$1 个观测窗"],[/宽带/g,"宽频带总量"],[/台阶/g,"阶跃上升"],[/缓升/g,"缓慢上升"],[/回落/g,"回落至"],[/全净|六窗全净/g,"各窗均干净"],[/清洁/g,"干净"],[/回归/g,"回到常态"],[/同族/g,"同批次共性 (见该批主台)"],[/族第([^ ]+)台/g,"同批次第$1台"],[/族/g,"批次共性组"],[/gain异常/g,"测点增益异常"],[/gain/g,"测点增益"],[/[(]销[)]/g,"(已销案)"],[/梯度/g,"沿链梯度最高点"],[/周期主导/g,"周期成分主导"],[/急性事件/g,"突发事件"],[/慢性/g,"长期"],[/主异常在/g,"主要异常位于"]],J=t=>String(t??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),Ni=t=>String(t??""),it=t=>J(t),ld={危险:"bad",报警:"warn",不可判:"unk",良好:"ok",优秀:"ex"},id={critical:"bad",alarm:"warn",undeterminable:"unk",indeterminate:"unk","not evaluable":"unk",good:"ok",excellent:"ex",warn:"warn",bad:"bad",ok:"ok",unk:"unk",ex:"ex"},Rn=t=>ld[String(t)]||id[String(t)],Bi={bad:"var(--critical)",warn:"var(--warning)",unk:"var(--unknown)",ok:"var(--good)",ex:"var(--excellent)"},Wi={优秀:"var(--excellent)",良好:"var(--good)",报警:"var(--warning)",危险:"var(--critical)",不可判:"var(--unknown)",监测不可用:"var(--unknown)",无监测:"var(--unknown)"},Ki={bad:"var(--critical)",warn:"var(--warning)",note:"var(--muted)",ok:"var(--good)",unlisted:"var(--muted)",stale:"var(--muted)",meta:"var(--muted)"},od={定论:"confirmed","准定论·预警":"near","候选·新发":"candidate_new",候选:"candidate","候选·记基线":"candidate_baseline",参考:"reference",INSUFFICIENT:"insufficient",正常:"normal",撤回:"withdrawn"},Nn=t=>"st."+(t==="ex"?"excellent":t),be=t=>{const e=Rn(t);return e?o(Nn(e)):it(t)},cn=t=>{const e=od[String(t)],s="tier."+e;return e?o(s):String(t)==="—"?"—":it(t)},Ui=(t,e,s)=>`<span class="duo" style="--c:${s}"><span class="st">${t}</span><span class="ev">${e}</span></span>`,Pe=t=>{let e=String(t??"");for(const[s,n]of nd)e=e.replace(s,n);return e},un=t=>Pe(t),rd=(t,e)=>{if(!t||t.filter(g=>g!=null).length<3)return"";const s=t.filter(g=>g!=null),n=Math.min(...s),l=Math.max(...s),i=l-n||1,c=84,a=22,u=t.length;let m="",f=null;return t.forEach((g,_)=>{if(g==null)return;const b=_/(u-1)*c,S=a-2-(g-n)/i*(a-4);m+=(m?"L":"M")+b.toFixed(1)+" "+S.toFixed(1),f=[b,S]}),`<svg width="${c}" height="${a}" style="vertical-align:middle;margin-left:6px"><path d="${m}" fill="none" stroke="${e}" stroke-width="1.2" opacity=".75"/><circle cx="${f[0]}" cy="${f[1]}" r="2.4" fill="${e}"/></svg>`},ad={齿轮箱:"#8A6D3B",发电机:"#4A6FA5",主轴承:"#2E7D6B",变桨叶片:"#4A6FA5",偏航:"#2E7D6B",测风:"#7C5295",其他:"#5A6470"},cd=(t,e,s)=>{if(!e)return`<span class="small muted">${o("fus.no_alarm")}</span>`;const n=118,l=Math.max(6,Math.round(e/Math.max(s||e,1)*n));return`<div title="${J(o("fus.fam_tip",{n:e,m:s||e}))}" style="display:flex;height:9px;border-radius:3px;overflow:hidden;width:${l}px">${(t||[]).map(i=>`<i title="${J(pe(i.k))} ${i.n}" style="width:${(i.n/e*100).toFixed(1)}%;background:${ad[i.k]||"#5A6470"}"></i>`).join("")}</div><div class="small muted" style="margin-top:3px">${(t||[]).slice(0,2).map(i=>pe(i.k)+" "+i.n).join(" · ")}</div>`};function ud(t){const e=(t.列窗||{}).months||[];let s=`<div class="panel mb" style="border-left:3px solid var(--warning)"><b>${o("fus.rules_head")}</b><p class="small" style="margin-top:4px">${o("fus.rule1")}<br>${o("fus.rule2")}</p></div>`;s+=`<div class="panel mb"><h3>${o("fus.matrix_head")}</h3><p class="small muted">${o("fus.matrix_note1")}</p><p class="small">${o("fus.matrix_note2",{n:e.length,m0:e[0]||"?"})}</p>
- <div class="small muted" style="margin:6px 0 12px;line-height:2"><div><b>${o("fus.legend_state")}</b> ${["bad","warn","ok","ex","unk"].map(_=>`<span style="display:inline-flex;align-items:center;gap:4px;margin-right:12px"><i style="width:10px;height:10px;border-radius:2px;background:${Bi[_]}"></i>${o(Nn(_))}</span>`).join("")}</div>
- <div><b>${o("fus.legend_tier")}</b> ${["定论","准定论·预警","候选·新发","候选","候选·记基线","参考","INSUFFICIENT"].map(_=>`<span style="display:inline-flex;align-items:center;gap:4px;margin-right:12px"><i style="width:10px;height:10px;border-radius:2px;background:${(t.色标||{})[_]||"#ccc"}"></i>${cn(_)}</span>`).join("")}</div><div>${o("fus.legend_note")}</div></div>`;const n=_=>{const b=String(_||""),S=b.match(/20[0-9][0-9]-[0-9][0-9](?:~20[0-9][0-9]-[0-9][0-9])?|至[ ]*20[0-9][0-9]-[0-9][0-9]|20[0-9][0-9]~20[0-9][0-9]/);return S?S[0].startsWith("至")?o("win.through",{date:S[0].replace(/^至\s*/,"")}):S[0]:b.slice(0,14)},l=(_,b,S)=>`<th title="${J(b||"")}${S||""}"><div>${_}</div><div class="small muted" style="font-weight:400">${it(n(b))}${S||""}</div></th>`,i=t.列窗||{};s+=`<div class="tblwrap"><table class="fmx" style="table-layout:fixed;width:100%;min-width:900px"><colgroup><col style="width:7%">${'<col style="width:15.5%">'.repeat(6)}</colgroup><tr><th>${o("ui.unit")}</th>${l(o("fus.col.vib"),i.振动,o("fus.col.fixed"))}${l(o("fus.col.temp"),i.温度)}${l(o("fus.col.lub"),i.润滑,o("fus.col.display_only"))}${l(o("fus.col.oil"),i.油液)}${l(o("fus.col.alarm"),i.报警)}${l(o("fus.col.wo"),i.工单)}</tr>`;const c=t.矩阵||[],a=Math.max(1,...c.map(_=>(_.报警||{}).n||0)),u=Math.max(1,...c.map(_=>(_.工单||{}).n||0)),m=t.色标||{},f=_=>{if(_.ostate&&_.ostate!=="不可判")return be(_.ostate);const b=String(_.note||"");return/数据不足|不可判|nsufficient/.test(b)?o("fus.short.nodata"):/未评估|ot assessed/.test(b)?o("fus.short.uneval"):/无样|未取样|o sample/.test(b)?o("fus.short.nosample"):/样龄|stale/.test(b)?o("fus.short.stale"):{ok:o("fus.short.normal"),unlisted:o("fus.short.unlisted"),stale:o("fus.short.stale")}[_.level]||"—"},g=_=>{const b=_||{},S=Wi[b.ostate]||m[b.wlevel]||Ki[b.level]||"var(--muted)",k=Pe(b.note),j=["bad","warn","note"].includes(b.level),$=J(k)+o("fus.tip_state",{s:be(b.ostate||"?")});if(!j)return`<td class="small" title="${$}" style="border-left:3px solid ${S};color:var(--muted)">${f(b)}</td>`;const M=k.split(/[::]/),q=(M.length>1?M.slice(1).join(":"):k).trim(),P=/^[ ]*(评估报告|两口径差异|⚠|ssessment)/.test(q)||q.length>16?"":q,I=P?it(P):b.ostate&&b.ostate!=="不可判"?"":f(b),Z=b.wlevel&&b.wlevel!=="—"&&b.wlevel!=="正常"&&b.ostate?Ui(be(b.ostate),cn(b.wlevel),S):"";return`<td class="small" title="${$}${o("fus.tip_tier",{e:cn(b.wlevel||"?")})}" style="border-left:3px solid ${S};overflow:hidden"><div><div style="color:${S};font-weight:${["bad","warn"].includes(b.level)?600:400}">${I}</div>${Z}</div>${rd(b.hist,b.level==="bad"?"var(--critical)":b.level==="warn"?"var(--warning)":"var(--muted)")}</td>`};return c.forEach(_=>{const b=_.报警||{n:0,fam:[]},S=_.工单||{n:0,acts:[]},k=b.rank&&b.rank<=5?"var(--warning)":"var(--line)",j=b.burst,$=J((b.items||[]).map(M=>`${M.code} ${Pe(M.text)} — ${M.n} (${M.first}~${M.last})`).join(`
- `))+(j?`
- `+J(o("fus.burst_tip",{c:j.code,p:(j.share*100).toFixed(0),m:j.med_s})):"");s+=`<tr><td><a href="/turbine/${_.turbine}"><b>${mt(_.turbine)}</b></a></td>${g(_.振动)}${g(_.温度)}${g(_.润滑)}${g(_.油液)}
- <td title="${$}" style="border-left:3px solid ${j?"var(--unknown)":k}"><b class="small num" style="color:${b.rank&&b.rank<=10?"var(--ink)":"var(--muted)"}">${o("fus.alarm_n",{n:b.n})}</b>${b.rank?`<span class="small muted">${o("fus.alarm_rank",{r:b.rank,t:b.tot})}</span>`:""}${j?`<div class="small" style="color:var(--unknown)">${o("fus.burst",{p:(j.share*100).toFixed(0),c:j.code})}</div>`:""}${b.rank&&b.rank<=10||j?cd(b.fam,b.n,a):""}</td>
- <td title="${J((S.items||[]).map(M=>`${M.date} ${un(M.name)} → ${un(M.act)}${M.part?" "+un(M.part):""}`).join(`
- `)||o("fus.wo_none"))}" style="min-width:110px">${S.n?`<b class="small">${o("fus.wo_n",{n:S.n})}</b>${S.last?`<span class="small muted"> · ${J(S.last)}</span>`:""}<div style="height:7px;border-radius:3px;background:var(--muted);opacity:.5;margin-top:4px;width:${Math.max(6,Math.round(S.n/u*90))}px"></div><div class="small muted" style="margin-top:3px">${(S.acts||[]).slice(0,2).map(M=>it(M.k)+"×"+M.n).join(" · ")}</div>`:'<span class="small muted">—</span>'}</td></tr>`}),s+`</table></div><p class="small muted" style="margin-top:8px">${o("fus.matrix_foot")}</p></div>`}const Cl=(t,e,s)=>{const n=Math.max(t,e,7),l=120,i=c=>Math.max(2,c/n*(l-4));return`<svg class="dt" viewBox="0 0 ${l} 26" style="width:${l}px;height:26px"><rect x="2" y="2" width="${i(t).toFixed(1)}" height="9" rx="2" fill="var(--muted)" fill-opacity=".55"/><rect x="2" y="15" width="${i(e).toFixed(1)}" height="9" rx="2" fill="${s}" fill-opacity=".9"/></svg>`},wn=(t,e)=>{const s=String(t||"").replace(/main bearing[, ]*[(]?(?:rear|back)[)]?/ig,"主轴承后").replace(/main bearing[, ]*[(]?(?:front|forward)[)]?/ig,"主轴承前").replace(/main bearing/ig,"主轴承").replace(/generator[, ]*(?:NDE|non-drive[- ]end)/ig,"发电机NDE").replace(/generator[, ]*(?:DE|drive[- ]end)/ig,"发电机DE").replace(/generator/ig,"发电机").replace(/gearbox/ig,"齿轮箱").replace(/planetary/ig,"行星").replace(/intermediate[- ](?:speed[- ])?shaft/ig,"中间轴").replace(/high[- ]speed shaft/ig,"高速轴"),n=/齿轮箱/.test(s)&&!/行星|中间轴|中速|高速轴/.test(s);return`<span class="chain" title="${J(Ni(t))}">${_d.map(([l,i])=>{const c=i.test(s)||n&&["ps","ims","hss"].includes(l);return`<i class="${c?"on":""}" style="${c?`background:${e};border-color:${e}`:""}" title="${o("chain."+l)}"></i>`}).join("")}</span>`};function dd(t){const e=t.能力&&t.能力.loop&&t.能力.loop["换件闭环 (检出→换件→恢复)"]?t.能力.loop:null;if(!e)return`<div class="panel mb"><p class="small">${o("fus.loop_none")}</p></div>`;const s=e["换件闭环 (检出→换件→恢复)"]||[],n=e["当前在升 (无工单可对)"]||[],l=e["负面对照 (工单后持平)"];return`<div class="panel mb"><h3>${o("fus.loop_head")}</h3><p class="small">${o("fus.loop_note")}</p>
- <h3 style="margin-top:8px">${o("fus.loop_closed",{n:s.length})}</h3><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.col.part")}</th><th>${o("fus.loop_item")}</th><th>${o("fus.loop_date")}</th><th>${o("fus.loop_ba")}</th><th class="r">${o("fus.loop_ratio")}</th><th>${o("fus.loop_verdict")}</th></tr>
- ${s.map(i=>`<tr><td><b>${mt(i.turbine)}</b></td><td>${wn(i.component+(i.title||""),"var(--good)")} <span class="small">${js(i.component)}</span></td><td class="small">${it(i.title)}</td><td>${J(i.replace_date)}</td><td>${Cl(i.pre,i.post,"var(--good)")}<span class="small muted">${i.pre} → ${i.post}</span></td><td class="r"><b style="color:var(--good)">${i.ratio}×</b></td><td><span class="chip ok">${it(i.verdict)}</span></td></tr>`).join("")}</table></div>
- <p class="small" style="margin-top:6px">${o("fus.loop_neg",{n:l})}</p>
- <h3 style="margin-top:14px">${o("fus.loop_rising",{n:n.length})}</h3><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.col.part")}</th><th>${o("fus.loop_el")}</th><th class="r">${o("fus.loop_x")}</th><th>${o("fus.loop_state")}</th></tr>
- ${n.map(i=>`<tr><td><b>${mt(i.turbine)}</b></td><td>${wn(i.component,"var(--warning)")} <span class="small">${js(i.component)}</span></td><td>${Cl(i.early,i.late,"var(--warning)")}<span class="small muted">${i.early} → ${i.late}</span></td><td class="r"><b style="color:var(--warning)">${i.ratio}×</b></td><td><span class="chip warn">${o("rpt.units.rising",{r:i.ratio})}</span></td></tr>`).join("")}</table></div>
- <p class="small muted" style="margin-top:8px">${o("fus.loop_bound",{b:it(String(e["★数据边界"]||"").split("**").join(""))})}</p></div>`}const pd=(t,e,s,n)=>{if(e==null)return`<span class="small">${it(Ni(n).slice(0,30))}</span>`;const l=6,i=104,c=i/2,a=Math.max(-1,Math.min(1,e/l)),u=Math.abs(a)*(c-8),f=Math.abs(e)>=3?/候选|andidate/.test(s||"")?"var(--warning)":/记基线|aseline/.test(s||"")?"var(--accent)":/不可判|返服|ndeterm/.test(s||"")?"var(--unknown)":"var(--muted)":"var(--muted)",g=Math.abs(e)>l;return`<div title="${J(n||"")}" style="display:flex;align-items:center;gap:7px"><svg class="dt" viewBox="0 0 ${i} 18" style="width:${i}px;height:18px;flex:none"><line x1="4" y1="9" x2="${i-4}" y2="9" stroke="var(--line)" stroke-opacity=".7"/><line x1="${c}" y1="1" x2="${c}" y2="17" stroke="var(--muted)" stroke-opacity=".6"/><rect x="${e>=0?c:c-u}" y="4" width="${Math.max(u,1.5)}" height="10" rx="2" fill="${f}" fill-opacity=".9"/>${g?`<path d="M${e>0?i-5:5},9 l${e>0?-5:5},-4 v8 z" fill="${f}"/>`:""}</svg><b class="small num" style="color:${f}">${e>0?"+":""}${e}K</b></div><div class="small muted" style="margin-top:1px">${J(t||"")}</div>`},fd=(t,e)=>{if(!t||!t.length)return`<span class="small" title="${J(e||"")}">${o("fus.win_none")}</span>`;const s=Date.parse("2026-01-01"),n=Date.parse("2026-09-01"),l=118,i=c=>3+Math.max(0,Math.min(1,(Date.parse(c)-s)/(n-s)))*(l-6);return`<div title="${J(e||"")}"><svg class="dt" viewBox="0 0 ${l} 18" style="width:${l}px;height:18px"><rect x="3" y="4" width="${l-6}" height="10" rx="2" fill="var(--line)" fill-opacity=".5"/>${t.map(([c,a])=>{const u=i(c),m=i(a);return`<rect x="${u.toFixed(1)}" y="4" width="${Math.max(m-u,2.5).toFixed(1)}" height="10" rx="2" fill="var(--accent)" fill-opacity=".8"/>`}).join("")}</svg><div class="small muted">${o("fus.win_n",{n:t.length})}</div></div>`},hd=(t,e,s)=>`<div title="${J(s||"")}" style="display:flex;align-items:center;gap:6px"><i style="width:9px;height:9px;border-radius:50%;flex:none;background:${e?"var(--good)":"var(--unknown)"}"></i><span class="small num">${J(t||o("fus.oil_none"))}</span></div><div class="small muted">${t?o(e?"fus.oil_fresh":"fus.oil_stale"):"—"}</div>`,Ce=(t,e)=>{const s=Rn(t);return s?`<span class="chip ${s} ">${o(Nn(s))}</span>`:t?`<span class="chip">${J(t)}</span>`:""};function md(t,e){const s=t.表||[],n=t.矩阵||[];let l=s,c=`<div class="panel mb"><h3>${o("fus.units_head",{u:new Set(s.map(a=>a.turbine)).size,n:l.length+"",f:""})}</h3>
- <div style="display:flex;gap:8px;margin:8px 0 12px;flex-wrap:wrap">${["bad","warn","note","ok"].map(a=>`<button class="pill ${e===a?"on":""}" data-ffilter="${a}">${o("fus.lv."+a)}</button>`).join("")}<button class="pill " data-ffilter="unlisted">${o("fus.unlisted_link",{n:n.filter(a=>(a.振动||{}).level==="unlisted").length})}</button></div>
- <div class="panel" style="border-left:3px solid var(--accent);margin-bottom:12px"><b class="small">${o("fus.eval_head")}</b><div class="tblwrap"><table style="margin-top:8px"><tr><th style="width:30%">${o("fus.eval_state")}</th><th style="width:30%">${o("fus.eval_tier")}</th><th>${o("fus.eval_meaning")}</th></tr>
- <tr><td>${Ce("危险")}</td><td><span class="tier confirmed">${o("tier.confirmed.s")}</span></td><td class="small">${o("fus.m.bad")} <span class="muted">(${o("fus.m.bad_e")})</span></td></tr>
- <tr><td>${Ce("报警")}</td><td><span class="tier near">${o("tier.near")}</span> / <span class="tier candidate">${o("tier.candidate_new")}</span></td><td class="small">${o("fus.m.warn")} <span class="muted">(${o("fus.m.warn_e")})</span></td></tr>
- <tr><td>${Ce("良好")}</td><td><span class="tier candidate">${o("tier.candidate")}</span> / <span class="tier candidate">${o("tier.candidate_baseline")}</span></td><td class="small">${o("fus.m.ok")} <span class="muted">(${o("fus.m.ok_e")})</span></td></tr>
- <tr><td>${Ce("优秀")}</td><td><span class="tier reference">${o("tier.reference")}</span> / <span class="tier reference">${o("tier.normal")}</span> / <span class="tier withdrawn">${o("tier.withdrawn")}</span></td><td class="small">${o("fus.m.ex")} <span class="muted">(${o("fus.m.ex_e")})</span></td></tr>
- <tr><td>${Ce("不可判")}</td><td><span class="tier insufficient">${o("tier.insufficient")}</span></td><td class="small">${o("fus.m.unk")} <span class="muted">(${o("fus.m.unk_e")})</span></td></tr></table></div><p class="small muted" style="margin-top:7px">${o("fus.eval_note")}</p></div>
- <div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.col.part")}</th><th>${o("fus.col.state_concl")}</th><th>${o("fus.col.claim")} <span class="small muted" style="font-weight:400">${o("fus.col.claim_axis")}</span></th><th>${o("fus.col.signal")}</th><th>${o("fus.col.tempaxis")} <span class="small muted" style="font-weight:400">${o("fus.col.tempaxis_note")}</span></th><th>${o("fus.col.oil")}</th></tr>`;return l.forEach(a=>{const u=Ki[a.级]||"var(--accent)",m=Wi[a.设备状态]||"var(--muted)";c+=`<tr><td><a href="/turbine/${a.turbine}"><b>${mt(a.turbine)}</b></a></td><td style="min-width:200px">${wn(a.部件,u)} <span class="small">${js(a.部件)}</span></td>
- <td title="${J(Pe(a.振动结论))}">${Ui(be(a.设备状态||"—"),it(a.振动结论),m)}</td><td style="min-width:130px">${fd(a.窗区间,a.claim_window)}</td>
- <td class="small" title="${J(a.振动信号||"")}">${it(Pe(a.振动信号))}</td><td style="min-width:158px">${pd(a.温度通道,a.温度dev,a.温度判,a.温度轴)}</td><td style="min-width:112px">${hd(a.油末样,a.油新鲜,a.油样轴)}</td></tr>`}),c+"</table></div></div>"}const _d=[["mbf",/主轴承[((]前|主轴承前|主轴承[++]|主轴承(?![((前后])/],["mba",/主轴承[((]后|主轴承后/],["ps",/行星|二级行星/],["ims",/中间轴|中速/],["hss",/高速轴|高速(?!.*发电)/],["gde",/发电机DE|发电机[((]|发电机(?!NDE)/],["gnde",/发电机NDE|NDE/]],Ye=t=>Bi[Rn(t)]||null,El=t=>`<span class="chain">${Object.entries(t).map(([e,s])=>`<i class="${s?"on":""}" style="${s?`background:${s};border-color:${s}`:""}" title="${o("chain."+e)}"></i>`).join("")}</span>`,vd=t=>{const e=String(t||""),s=/准定论|near[- ](?:conf|establish)/i.test(e)?3:/确诊|onfirmed/.test(e)?4:/定论|ettled|stablished/.test(e)?3:/候选|andidate/.test(e)?2:/参考|eference/.test(e)?1:0,n=s>=4?"var(--critical)":s===3?"var(--warning)":s===2?"var(--accent)":s===1?"var(--muted)":"var(--unknown)";return`<div style="display:flex;align-items:center;gap:7px"><svg class="dt" viewBox="0 0 62 20" style="width:62px;height:20px;flex:none">${[0,1,2,3].map(l=>`<rect x="${2+l*15}" y="${12-l*3}" width="11" height="${6+l*3}" rx="1.5" fill="${l<s?n:"none"}" fill-opacity=".9" stroke="${n}" stroke-opacity="${l<s?1:.4}" ${l>=s?'stroke-dasharray="2 1.5"':""}/>`).join("")}</svg><span class="small" style="color:${n}">${it(e)}</span></div>`};function gd(t,e){if(!t.事件)return`<div class="panel mb"><p class="small muted">${o("ui.empty")}</p></div>`;let s=`<div class="panel mb"><p class="small muted"><b>${o("fus.ev_win",{win:_e(e.win)})}</b></p></div>`;for(const[n,l]of Object.entries(t.事件)){const i=l,c=i.报警||{},a=i.工单||{};s+=`<div class="panel mb"><h3>${o("fus.ev_head",{c:pe(n),an:c.总条数||0,au:c.台数||0,wn:a.总条数||0,wu:a.台数||0})}</h3>`,c.总条数>0?s+=`<div class="tblwrap"><table><tr><th>${o("fus.ev_code")}</th><th>${o("fus.ev_text")}</th><th class="r">${o("ui.count")}</th><th class="r">${o("fus.ev_units")}</th><th class="r">${o("fus.ev_dur")}</th></tr>${(c.码统计||[]).map(u=>`<tr><td>${J(u.code)}</td><td class="small">${it(Pe(u.text))}</td><td class="r">${u.条数}</td><td class="r">${u.台数}</td><td class="r">${u.时长h}</td></tr>`).join("")}</table></div>
- <p class="small">${o("fus.ev_top")}${Object.entries(c.top台||{}).map(([u,m])=>`<a href="/turbine/${u}">${mt(u)}</a>×${m}`).join(" · ")}</p>
- <details><summary class="small">${o("fus.ev_recent",{n:(c.近况||[]).length})}</summary><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.ev_time")}</th><th>${o("fus.ev_code")}</th><th>${o("fus.ev_text")}</th><th class="r">${o("fus.ev_min")}</th></tr>${(c.近况||[]).map(u=>`<tr><td>${mt(u.t)}</td><td class="small">${J(u.on)}</td><td>${J(u.code)}</td><td class="small">${it(Pe(u.text))}</td><td class="r">${u.dur_min??"—"}</td></tr>`).join("")}</table></div></details>`:s+=`<p class="small">${o("fus.ev_no_alarm")}</p>`,a.总条数>0?s+=`<div class="tblwrap"><table style="margin-top:8px"><tr><th>${o("ui.unit")}</th><th>${o("ui.date")}</th><th>${o("fus.ev_wo_name")}</th><th>${o("fus.ev_wo_act")}</th><th>${o("fus.ev_wo_cause")}</th></tr>${(a.明细||[]).map(u=>`<tr><td>${mt(u.t)}</td><td class="small">${J(u.date)}</td><td class="small">${it(u.name)}</td><td class="small">${it(u.act)}</td><td class="small">${it(u.cause)}</td></tr>`).join("")}</table></div>`:s+=`<p class="small">${o("fus.ev_no_wo")}</p>`,s+="</div>"}return s}function bd(t,e){if(!t)return`<div class="panel mb"><p class="small muted">${o("fus.cms_loading")}</p></div>`;if(t.error)return`<div class="panel mb"><p class="small" style="color:var(--critical)">${it(t.error)}</p></div>`;const s={主轴承前:"mbf",主轴承后:"mba",齿轮箱:"gb",发电机:"gen",发电机DE:"gde",发电机NDE:"gnde","Main bearing, front":"mbf","Main bearing, rear":"mba",Gearbox:"gb",Generator:"gen","Generator DE":"gde","Generator NDE":"gnde"};return`<div class="panel mb"><h3>${o("fus.cms_head",{d:J(t.date||"")})}</h3>
- ${t.时间范围?`<p class="small" style="margin:2px 0 6px">${o("fus.cms_window",{r:J(t.时间范围)})}</p>`:""}
- <p class="small">${it(t.overall||"")} ${o("fus.cms_note")}</p>
- <h3 style="margin-top:10px">${o("fus.cms_action")}</h3><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.loop_state")}</th><th>${o("fus.cms_focus")} <span class="small muted" style="font-weight:400">${o("fus.cms_focus_note")}</span></th><th>${o("fus.cms_evidence")}</th><th>${o("fus.cms_act")}</th></tr>
- ${(t.action||[]).map(n=>{const l={};return String(n[2]).split(/[;;]/).forEach(i=>{const c=i.split(/[::]/);if(c.length>1){const a=s[c[0].trim()]||null;a&&(l[a]=Ye(c[1].trim()))}}),`<tr><td><b>${mt(n[0])}</b></td><td>${Ce(n[1])}</td><td title="${J(n[2])}">${El(l)} <span class="small muted">${it(n[2])}</span></td><td style="min-width:150px">${vd(n[3])}</td><td>${/P0/.test(n[4])?`<b style="color:var(--critical)">${J(n[4])}</b>`:J(n[4])}</td></tr>`}).join("")}</table></div>
- <h3 style="margin-top:14px">${o("fus.cms_grades")}</h3><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.cms_chain")} <span class="small muted" style="font-weight:400">${o("fus.cms_chain_note")}</span></th><th>${o("fus.cms_overall")}</th><th>${o("fus.cms_act")}</th></tr>
- ${(t.grades||[]).map(n=>`<tr><td><b>${mt(n.t)}</b></td><td title="${o("chain.mbf")} ${be(n.主轴承前)} · ${o("chain.mba")} ${be(n.主轴承后)} · ${o("chain.gb")} ${be(n.齿轮箱)} · ${o("chain.gen")} ${be(n.发电机)}">${El({mbf:Ye(n.主轴承前),mba:Ye(n.主轴承后),gb:Ye(n.齿轮箱),gen:Ye(n.发电机)})}</td><td>${Ce(n.综合)}</td><td class="small">${J(n.行动)}</td></tr>`).join("")}</table></div>
- <div class="small" style="margin-top:12px;padding:10px;border:1px solid var(--line);border-radius:8px"><b>${o("fus.cms_basis")}</b> ${o("fus.cms_basis_note",{a:((t.diff||{}).only_cms||[]).map(mt).join(", ")||o("fus.none_word"),b:((t.diff||{}).only_vibration_package||(t.diff||{}).only_handoff||[]).map(mt).join(", ")||o("fus.none_word")})}</div>
- <p class="small muted" style="margin-top:10px">${o("fus.cms_link")} <a href="http://localhost:8030/index.html" target="_blank" rel="noopener">${o("fus.cms_open")}</a> <a href="/windcms/index.html" target="_blank" rel="noopener">${o("fus.cms_static")}</a></p></div>`}const yd=["matrix","loop","units","events","cms"],$d={class:"eyebrow"},xd={style:{display:"flex",gap:"8px","margin-bottom":"14px","flex-wrap":"wrap"}},wd=["data-fsub","onClick"],kd=["innerHTML"],Sd=Ht({__name:"Vibration",props:{d:{},sub:{},cms:{}},emits:["sub"],setup(t,{emit:e}){const s=t,n=e,l=O(()=>s.sub||"matrix"),i=O(()=>s.d?.fus),c=O(()=>{const a=i.value;return!a||a.err?`<section><div class="panel"><p>${o("fus.unavailable",{e:String(a&&a.err||"")})}</p></div></section>`:l.value==="matrix"?ud(a):l.value==="loop"?dd(a):l.value==="units"?md(a,null):l.value==="events"?gd(a,s.d):l.value==="cms"?bd(s.cms??null):`<div class="panel mb"><p class="small muted">子视图「${o("fus.sub."+l.value)}」尚未迁移到 Vue(迁移中)。</p></div>`});return(a,u)=>(y(),w("section",null,[r("div",$d,d(p(o)("fus.eyebrow")),1),r("div",xd,[(y(!0),w(K,null,et(p(yd),m=>(y(),w("button",{key:m,class:Et(["pill",{on:m===l.value}]),"data-fsub":m,onClick:f=>n("sub",m)},d(p(o)("fus.sub."+m)),11,wd))),128))]),r("div",{innerHTML:c.value},null,8,kd)]))}}),Md={class:"eyebrow"},Td={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},Cd={class:"muted",style:{"margin-top":"3px"}},Ed={key:0,class:"panel mb",style:{"border-left":"3px solid var(--critical)"}},Od={class:"small"},Ad={class:"small muted",style:{"font-weight":"400"}},Pd={key:0,class:"chip"},Dd={style:{display:"flex","flex-wrap":"wrap",gap:"18px"}},Hd={style:{flex:"1 1 300px","min-width":"280px"}},jd={class:"small",style:{"font-weight":"600","margin-bottom":"4px"}},Ld={class:"small muted",style:{"margin-top":"4px"}},qd={style:{flex:"1 1 300px","min-width":"280px"}},Fd={class:"small",style:{"font-weight":"600","margin-bottom":"4px"}},Id=["innerHTML"],Rd={class:"small",style:{"font-weight":"600",margin:"12px 0 4px"}},Nd={class:"small muted",style:{"margin-top":"4px"}},Bd={key:2,class:"panel mb"},Wd={class:"small muted",style:{"font-weight":"400"}},Kd=["innerHTML"],Ud={class:"eyebrow"},Vd={key:3,class:"panel",style:{"border-left":"3px solid var(--critical)"}},zd={class:"small"},Gd={key:4,class:"panel",style:{"border-left":"3px solid var(--accent)"}},Yd={class:"small"},Jd={key:5,class:"panel"},Zd={class:"small muted"},Xd={key:6,class:"grid2"},Qd={key:0},tp={class:"small muted",style:{"font-weight":"400"}},ep={class:"legend",style:{"margin-top":"6px","flex-wrap":"wrap"}},sp={key:0,class:"small muted",style:{"margin-top":"6px"}},np=Ht({__name:"Generation",props:{d:{},curves:{},pending:{type:Boolean}},setup(t){const e=t,s=O(()=>e.d?.m9&&!e.d.m9.err?e.d.m9:null),n=O(()=>e.d?.control||null),l=O(()=>e.curves||null),i=O(()=>(e.d?.sysmx_span||[]).join(" ~ ")||""),c=M=>{const q=Object.entries(M?.分组||{}).map(([Z,z])=>({v:parseFloat(Z),n:z,raw:Z}));if(!q.length)return null;const P=q.map(Z=>Z.v).sort((Z,z)=>Z-z),I=P.length%2?P[(P.length-1)/2]:(P[P.length/2-1]+P[P.length/2])/2;return{gs:q,med:I}},a=O(()=>({p:c(s.value?.P封顶),w:c(s.value?.ω封顶)})),u=O(()=>{const M=a.value.p,q=a.value.w,P=[];return M&&P.push({name:o("ch.cap.p"),type:"scatter",data:M.gs.map(I=>[I.v,1]),symbolSize:10,itemStyle:{color:"#0b5fa5",opacity:.6}}),q&&P.push({name:o("ch.cap.w"),type:"scatter",data:q.gs.map(I=>[I.v,0]),symbolSize:10,itemStyle:{color:"#b45309",opacity:.6}}),{grid:{left:56,right:36,top:20,bottom:24},xAxis:{type:"value"},yAxis:{type:"value",min:-.5,max:1.5,show:!1},series:P,__data__:[]}}),m=O(()=>s.value?.β_schedule?.离群||[]),f=O(()=>s.value?.β_schedule?.全场同档差中位||0),g=O(()=>({grid:{left:56,right:60,top:20,bottom:24},xAxis:{type:"value"},yAxis:{type:"category",data:m.value.map(M=>mt(M.t))},series:[{type:"bar",data:m.value.map(M=>M.平均偏),itemStyle:{color:"#0b5fa5"}}],__data__:[]})),_=O(()=>{const M=n.value?.curve?.cands||[];return M.length?M.map(q=>`<a href="/turbine/${q.t}">${mt(q.t)}</a> ${q.dev}% ${it(q.判)}`).join(" | "):o("gen.no_cands")}),b=O(()=>o("gen.beta_note",{units:m.value.map(M=>`<a href="/turbine/${M.t}">${mt(M.t)}</a>`).join(" / "),k:m.value.length?Math.round(Math.max(...m.value.map(M=>M.平均偏))/Math.max(f.value||0,.01)):"—",v:it(s.value?.β_schedule?.判)})),S=O(()=>Object.entries(s.value?.尺子||{}).map(([M,q])=>({k:M,r:q.极差/q.σ}))),k=O(()=>({grid:{left:100,right:80,top:20,bottom:24},xAxis:{type:"value"},yAxis:{type:"category",data:S.value.map(M=>M.k)},series:[{type:"bar",data:S.value.map(M=>M.r),itemStyle:{color:"#0b5fa5"}}],__data__:[]})),j=O(()=>l.value?.figs||[]);function $(M){const q=M.months||M.x||[];return{grid:{left:56,right:20,top:28,bottom:40},legend:{top:0,textStyle:{fontSize:10}},xAxis:{type:"category",data:q},yAxis:{type:"value",scale:!0},series:(M.series||[]).map(P=>({name:String(P.name),type:"line",data:P.vals,connectNulls:!1})),__data__:[]}}return(M,q)=>(y(),w("section",null,[r("div",Md,d(p(o)("gen.eyebrow")),1),r("div",Td,[r("b",null,d(p(o)("gen.fixed_win")),1),B(" "+d(i.value?p(o)("gen.win_range",{span:i.value}):"")+" ",1),r("div",Cd,d(p(o)("gen.win_why")),1)]),t.d.m9&&t.d.m9.err?(y(),w("div",Ed,[r("p",Od,d(p(o)("flt.block_err",{k:"m9",e:p(it)(t.d.m9.err)})),1)])):st("",!0),s.value?(y(),w("div",{key:1,class:"panel mb",style:vt(t.pending?"border-left:3px solid var(--accent)":"")},[r("h3",null,[B(d(p(o)("gen.ctrl"))+" ",1),r("span",Ad,d(p(o)("gen.ctrl_win",{win:p(it)(s.value.窗)})),1),t.pending?(y(),w("span",Pd,d(p(o)("gen.recomputing_short")),1)):st("",!0)]),r("div",Dd,[r("div",Hd,[r("div",jd,d(p(o)("gen.cap")),1),ht(Dt,{option:u.value,height:"170px"},null,8,["option"]),r("p",Ld,d(p(o)("gen.cap_note")),1)]),r("div",qd,[r("div",Fd,d(p(o)("gen.beta")),1),ht(Dt,{option:g.value,height:"170px"},null,8,["option"]),r("p",{class:"small muted",style:{"margin-top":"4px"},innerHTML:b.value},null,8,Id),r("div",Rd,d(p(o)("gen.ruler")),1),ht(Dt,{option:k.value,height:"170px"},null,8,["option"]),r("p",Nd,d(p(o)("gen.ruler_note")),1)])])],4)):st("",!0),n.value&&n.value.curve?(y(),w("div",Bd,[r("h3",null,[B(d(p(o)("gen.cands"))+" ",1),r("span",Wd,d(p(o)("gen.cands_meta",{note:p(it)(n.value.curve.note||""),s:t.d.sigma||n.value.curve.sigma})),1)]),r("p",{class:"small",innerHTML:_.value},null,8,Kd)])):st("",!0),r("div",Ud,d(p(o)("gen.figs")),1),l.value&&l.value.err?(y(),w("div",Vd,[r("p",zd,d(p(J)(l.value.err)),1)])):l.value&&l.value.building?(y(),w("div",Gd,[r("p",Yd,[r("b",null,d(p(o)("gen.recomputing")),1),B(" "+d(p(it)(l.value.curves?.note||"")),1)]),q[0]||(q[0]=r("div",{class:"skel",style:{width:"60%","margin-top":"10px"}},null,-1)),q[1]||(q[1]=r("div",{class:"skel",style:{width:"80%","margin-top":"8px"}},null,-1))])):l.value?(y(),w("div",Xd,[(y(!0),w(K,null,et(j.value,(P,I)=>(y(),w("div",{key:I,class:"panel"},[r("h3",null,[B(d(p(it)(P.title||"")),1),P.unit?(y(),w("span",Qd,[r("span",tp,"("+d(p(it)(P.unit))+")",1)])):st("",!0)]),ht(Dt,{option:$(P),height:"260px"},null,8,["option"]),r("div",ep,[(y(!0),w(K,null,et(P.series||[],(Z,z)=>(y(),w("span",{key:z},[r("i",{style:vt(`background:${["var(--accent)","#D48A1E","#2E8B6A","#7C5295"][z%4]}`)},null,4),B(d(String(Z.name)),1)]))),128))]),P.note?(y(),w("p",sp,d(p(it)(P.note)),1)):st("",!0)]))),128))])):(y(),w("div",Jd,[r("p",Zd,d(p(o)("gen.loading")),1),q[2]||(q[2]=r("div",{class:"skel",style:{width:"60%","margin-top":"10px"}},null,-1)),q[3]||(q[3]=r("div",{class:"skel",style:{width:"80%","margin-top":"8px"}},null,-1))]))]))}}),lp={class:"eyebrow"},ip={class:"small muted"},op=["href"],rp=["innerHTML"],ap={class:"panel mb"},cp={class:"small muted"},up=["innerHTML"],dp={style:{display:"flex",gap:"8px","flex-wrap":"wrap",margin:"10px 0","align-items":"center"}},pp=["placeholder","value"],fp={class:"small muted",for:"askm"},hp=["innerHTML"],mp=["innerHTML"],_p=["title"],vp={class:"muted"},gp={class:"btn",id:"askgo"},bp={id:"askout",class:"small"},yp=Ht({__name:"Decision",props:{d:{},apis:{}},setup(t){const e=t,s=[["equip","设备类"],["sched","检修排程决策"],["loss","损失分析"],["risk","安全风险预测"]],n={"qwen3:8b":"local","qwen3.8:27b":"local","qwen3:30b-a3b":"local","deepseek-r1:14b":"local","deepseek-r1:32b":"local","deepseek-chat":"cloud","kimi-fast":"cloud","qwen-plus":"cloud","deepseek-v4-pro":"cloud"},l=Tt("equip"),i=Tt(""),c=Tt(""),a=Tt(""),u=O(()=>e.apis?.["/detail/api/ask_models"]??e.apis?.["/api/ask_models"]??null),m=O(()=>u.value?u.value.models||{}:null),f=O(()=>!!u.value?.offline||!!u.value?.LOCAL_AI_DOWN),g=O(()=>o("cat."+l.value)),_=O(()=>s.map(([I])=>`<button class="pill ${I===l.value?"on":""}" data-cat="${I}">${o("cat."+I)}</button>`).join("")),b=O(()=>[1,2,3].map(I=>`<div class="qitem" data-q="${J(o("cat."+l.value+".q"+I))}">${o("cat."+l.value+".q"+I)}</div>`).join("")),S=(I,Z)=>o("mdl."+I+"."+Z),k=I=>(S(I,"nm")||I)+(n[I]?" · "+o("mdl."+n[I]):"")+(S(I,"t")?" · "+S(I,"t"):""),j=I=>n[I]?n[I]==="local"?o("mdl.zero_outbound"):`<span style="color:var(--warning)">${o("mdl.outbound_warn")}</span>`:`<span style="color:var(--warning)">${o("mdl.unknown_warn")}</span>`,$=O(()=>{const I=m.value;if(I===null)return c.value;const Z=Object.keys(I);return!c.value||!Z.includes(c.value)?Z[0]||"":c.value}),M=O(()=>{const I=m.value;return I===null?'<option value="">…</option>':Object.keys(I).length?Object.keys(I).map(Z=>`<option value="${J(Z)}" ${Z===$?"selected":""}>${J(k(Z))}</option>`).join(""):`<option value="">${f.value?o("ask.local_down"):o("ask.no_models")}</option>`}),q=O(()=>`/?lang=zh&win=${encodeURIComponent(String(e.d?.win||""))}`),P=O(()=>$.value?j($.value):"");return(I,Z)=>(y(),w("section",null,[r("div",lp,d(p(o)("dec.head")),1),r("p",ip,[B(d(p(o)("dec.classic"))+" ",1),r("a",{href:q.value},d(p(o)("ui.open_classic")),9,op)]),r("div",{style:{display:"flex",gap:"8px",margin:"10px 0 12px","flex-wrap":"wrap"},innerHTML:_.value},null,8,rp),r("div",ap,[r("h3",null,d(p(o)("ask.common_q",{cat:g.value})),1),r("p",cp,d(p(o)("cat."+l.value+".hint"))+d("。")+d(p(o)("ask.grounding")),1),r("div",{innerHTML:b.value},null,8,up),r("div",dp,[r("input",{id:"askq",type:"text",placeholder:p(J)(p(o)("ask.placeholder",{cat:g.value})),value:i.value,style:{flex:"1","min-width":"280px"}},null,8,pp),r("label",fp,d(p(o)("ask.model")),1),r("select",{id:"askm",innerHTML:M.value},null,8,hp),r("span",{id:"mdlnote",class:"small",innerHTML:P.value},null,8,mp),r("label",{class:"small",style:{cursor:"pointer","white-space":"nowrap"},title:p(J)(p(o)("ask.xrev_title"))},[Z[0]||(Z[0]=r("input",{type:"checkbox",id:"askxrev"},null,-1)),B(" "+d(p(o)("ask.xrev"))+" ",1),r("span",vp,d(p(o)("ask.xrev_note")),1)],8,_p),r("button",gp,d(p(o)("ask.go")),1)]),r("div",bp,d(a.value||p(o)("ask.idle")),1)])]))}}),$p={class:"eyebrow"},xp={class:"panel mb"},wp={class:"small muted",style:{"font-weight":"400"}},kp=["placeholder","value"],Sp={class:"btn","data-asst":"fault"},Mp={class:"small muted"},Tp=["innerHTML"],Cp={id:"asstOut_fault",style:{"margin-top":"10px"}},Ep={class:"panel mb"},Op={class:"small muted",style:{"font-weight":"400"}},Ap=["innerHTML"],Pp={class:"btn","data-asst":"prev"},Dp={id:"asstOut_prev",style:{"margin-top":"10px"}},Hp={class:"panel mb"},jp={class:"small muted",style:{"font-weight":"400"}},Lp=["innerHTML"],qp={class:"btn","data-asst":"tree"},Fp={id:"asstOut_tree",style:{"margin-top":"10px"}},dn="display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px",Ip=Ht({__name:"Assistant",setup(t){const e=["变桨","偏航","主轴承","齿轮箱","发电机","变流器","塔架与基础","主控与传感网","叶片与叶根"],s=["3225","3130","13902","10105","3224"],n=ps({fault:"",prev:"pitch",tree:"pitch",out:{fault:"",prev:"",tree:""}}),l=c=>e.map(a=>`<option value="${Hs(a)}" ${n[c]===Hs(a)?"selected":""}>${pe(a)}</option>`).join(""),i=O(()=>s.map(c=>`<a href="#" data-code="${c}">${c}</a>`).join(" · "));return(c,a)=>(y(),w("section",null,[r("div",$p,d(p(o)("asst.head"))+" — "+d(p(o)("asst.head_note")),1),r("div",xp,[r("h3",null,[B(d(p(o)("asst.corrective"))+" ",1),r("span",wp,d(p(o)("asst.corrective_flow")),1)]),r("div",{style:dn},[r("input",{id:"asstIn_fault",placeholder:p(J)(p(o)("asst.code_placeholder")),value:n.fault,style:{flex:"1 1 220px"}},null,8,kp),r("button",Sp,d(p(o)("ui.query")),1),r("span",Mp,[B(d(p(o)("asst.common"))+" ",1),r("span",{innerHTML:i.value},null,8,Tp)])]),r("div",Cp,d(n.out.fault),1)]),r("div",Ep,[r("h3",null,[B(d(p(o)("asst.preventive"))+" ",1),r("span",Op,d(p(o)("asst.preventive_flow")),1)]),r("div",{style:dn},[r("select",{id:"asstIn_prev",style:{flex:"1 1 200px"},innerHTML:l("prev")},null,8,Ap),r("button",Pp,d(p(o)("ui.query")),1)]),r("div",Dp,d(n.out.prev),1)]),r("div",Hp,[r("h3",null,[B(d(p(o)("asst.faulttree"))+" ",1),r("span",jp,d(p(o)("asst.faulttree_flow")),1)]),r("div",{style:dn},[r("select",{id:"asstIn_tree",style:{flex:"1 1 200px"},innerHTML:l("tree")},null,8,Lp),r("button",qp,d(p(o)("ui.query")),1)]),r("div",Fp,d(n.out.tree),1)])]))}}),Rp={class:"eyebrow"},Np={key:0,class:"panel"},Bp={class:"small muted"},Wp={key:1,class:"panel"},Kp={class:"small",style:{color:"var(--critical)"}},Up={class:"panel mb"},Vp={class:"small muted"},zp={class:"small muted"},Gp={class:"tblwrap"},Yp={style:{"margin-top":"10px"}},Jp={style:{width:"18%"}},Zp={style:{width:"20%"}},Xp={style:{width:"13%"}},Qp={style:{width:"10%"}},tf={style:{width:"11%"}},ef={class:"small"},sf={class:"small num"},nf={key:0,class:"muted"},lf={class:"small muted"},of={class:"small"},rf={class:"small"},af={class:"small"},cf={class:"muted"},uf={style:{"margin-top":"3px"}},df={class:"muted",style:{"margin-top":"3px"}},pf=Ht({__name:"System",props:{apis:{}},setup(t){const e=t,s=a=>String(a??""),n=O(()=>e.apis?.["/detail/api/maint_survey"]??e.apis?.["/api/maint_survey"]??null),l=[[["数据","Data"],"mt.layer_data","mt.layer_data_note","var(--accent)"],[["机理","Domain model","Mechanism"],"mt.layer_mech","mt.layer_mech_note","var(--warning)"]],i=O(()=>n.value?.rows||[]),c=O(()=>l.map(([a,u,m,f])=>({kn:u,kd:m,col:f,rs:i.value.filter(g=>a.includes(String(g.层)))})).filter(a=>a.rs.length));return(a,u)=>(y(),w("section",null,[r("div",Rp,d(p(o)("mt.eyebrow")),1),n.value?n.value.error?(y(),w("div",Wp,[r("p",Kp,d(p(it)(n.value.error)),1)])):(y(),w(K,{key:2},[r("div",Up,[r("h3",null,d(p(o)("mt.head",{n:i.value.length})),1),r("p",Vp,d(p(o)("mt.note")),1)]),(y(!0),w(K,null,et(c.value,m=>(y(),w("div",{key:m.kn,class:"panel mb",style:vt(`border-left:3px solid ${m.col}`)},[r("h3",null,d(p(o)(m.kn))+" ("+d(m.rs.length)+")",1),r("p",zp,d(p(o)(m.kd)),1),r("div",Gp,[r("table",Yp,[r("tr",null,[r("th",Jp,d(p(o)("mt.src")),1),r("th",Zp,d(p(o)("mt.cov")),1),r("th",Xp,d(p(o)("mt.last")),1),r("th",Qp,d(p(o)("mt.freq")),1),r("th",tf,d(p(o)("mt.resp")),1),r("th",null,d(p(o)("mt.how")),1)]),(y(!0),w(K,null,et(m.rs,(f,g)=>(y(),w("tr",{key:g},[r("td",ef,[r("b",null,d(f.存在?"":"✗ ")+d(s(f.名)),1)]),r("td",sf,[B(d(s(f.覆盖)),1),f.条数?(y(),w("span",nf,d(p(o)("mt.rows_n",{n:p(at)(f.条数)})),1)):st("",!0)]),r("td",lf,d(p(J)(f.末次更新||"—")),1),r("td",of,d(s(f.频率)),1),r("td",rf,d(s(f.责任)),1),r("td",af,[r("div",cf,[B(d(p(o)("mt.put"))+" ",1),r("code",null,d(s(f.位置)),1)]),r("div",uf,[B(d(p(o)("mt.run"))+" ",1),r("code",null,d(s(f.摄入)),1)]),r("div",df,d(s(f.说明)),1)])]))),128))])])],4))),128))],64)):(y(),w("div",Np,[r("p",Bp,d(p(o)("mt.surveying")),1)]))]))}}),ff={class:"eyebrow"},hf={class:"panel mb noprint"},mf={style:{display:"flex",gap:"10px","align-items":"center","flex-wrap":"wrap","margin-bottom":"10px"}},_f={class:"small",style:{"font-weight":"600"}},vf=["data-preset"],gf={id:"rptaud"},bf=["selected"],yf=["selected"],$f={class:"btn quiet",id:"rptprint"},xf={class:"btn quiet","data-export":"docx"},wf={class:"btn quiet","data-export":"xlsx"},kf={key:0,class:"small",style:{color:"var(--warning)","flex-basis":"100%"}},Sf={class:"small",style:{"font-weight":"600","margin-bottom":"7px"}},Mf={style:{"font-weight":"400",color:"var(--muted)"}},Tf=["innerHTML"],Cf={id:"rpthint",class:"small muted",style:{"margin-top":"9px","padding-top":"8px","border-top":"1px solid var(--line)","min-height":"19px"}},Ef={style:{"margin-top":"11px","padding-top":"10px","border-top":"1px solid var(--line)"}},Of={class:"small",style:{"font-weight":"600","margin-bottom":"6px"}},Af=["innerHTML"],Pf={style:{display:"flex",gap:"8px","align-items":"center","flex-wrap":"wrap"}},Df=["placeholder","value"],Hf=["innerHTML"],jf=["disabled"],Lf={id:"rptout",class:"small muted",style:{"margin-top":"7px"}},qf={key:0,class:"paper",style:{"text-align":"center",padding:"56px 40px"}},Ff={class:"small muted"},If={key:1,class:"paper"},Rf={class:"paper-hd"},Nf={class:"paper-ti"},Bf={class:"small muted",style:{"margin-top":"3px"}},Wf={class:"small muted",style:{"text-align":"right"}},Kf={key:0,class:"noprint",style:{display:"flex",gap:"3px","justify-content":"flex-end","margin-bottom":"-6px",position:"relative","z-index":"2"}},Uf=["data-k","disabled"],Vf=["data-k","disabled"],zf=["data-k"],Gf=["innerHTML"],Yf=["innerHTML"],Jf={class:"paper-ft"},Zf=Ht({__name:"Report",props:{d:{},apis:{}},setup(t){const e=t,s={month:["kpi","water","emon","blame","ram","pareto","units","plan","caliber"],week:["kpi","frate","units","plan","caliber"],topic:["units","chain","ram","loop","caliber"],year:["kpi","water","emon","ram","loop","caliber"],blank:[]},n={kpi:"gen",water:"gen",emon:"gen",blame:"gen",ram:"rel",parts:"rel",attrib:"rel",pareto:"flt",quad:"flt",frate:"flt",units:"unit",chain:"unit",loop:"unit",plan:"end",caliber:"end",narr:"end"},l={kpi:"▦",water:"▤",emon:"▥",blame:"◧",ram:"◈",parts:"▤",attrib:"▬",pareto:"▮",quad:"◇",frate:"▪",units:"☰",chain:"⛓",loop:"✓",plan:"✎",caliber:"⚑",narr:"✍"},i={"qwen3:8b":"local","qwen3.8:27b":"local","qwen3:30b-a3b":"local","deepseek-r1:14b":"local","deepseek-r1:32b":"local","deepseek-chat":"cloud","kimi-fast":"cloud","qwen-plus":"cloud","deepseek-v4-pro":"cloud"},c=["gen","rel","flt","unit","end"],a=ps({canvas:[],aud:"in",need:"",model:"",models:null,compose:null,narr:null,out:""}),u=O(()=>e.apis?.["/detail/api/ask_models"]??e.apis?.["/api/ask_models"]??null),m=O(()=>u.value?u.value.models||{}:a.models),f=O(()=>!!u.value?.offline),g=(z,tt)=>o("mdl."+z+"."+tt),_=z=>(g(z,"nm")||z)+(i[z]?" · "+o("mdl."+i[z]):"")+(g(z,"t")?" · "+g(z,"t"):""),b=z=>a.canvas.includes(z),S=O(()=>a.compose===!0&&!!m.value&&Object.keys(m.value).length>0),k=O(()=>{const z=m.value;return z===null?'<option value="">…</option>':Object.keys(z).length?Object.keys(z).map(tt=>`<option value="${J(tt)}" ${tt===q?"selected":""}>${J(_(tt))}</option>`).join(""):`<option value="">${f.value?o("ask.local_down"):o("ask.no_models")}</option>`}),j=O(()=>c.map(z=>`<div class="small muted" style="text-align:right;white-space:nowrap">${o("rpt.g."+z)}</div><div style="display:flex;gap:6px;flex-wrap:wrap">`+Object.keys(n).filter(tt=>n[tt]===z).map(tt=>`<button class="pill ${b(tt)?"on":""}" data-block="${tt}" style="border-radius:7px;padding:5px 11px;font-size:12.5px;opacity:${b(tt)?1:.8}">${l[tt]} ${o("rpt.b."+tt+".nm")}${b(tt)?" ✓":""}</button>`).join("")+"</div>").join("")),$=O(()=>""),M=z=>"",q=O(()=>{const z=m.value;if(z===null)return a.model;const tt=Object.keys(z);return!a.model||!tt.includes(a.model)?tt[0]||"":a.model}),P=O(()=>o("rpt.need_hint")+(q.value?i[q.value]==="local"?o("rpt.local_note"):`<span style="color:var(--warning)">${o("rpt.cloud_note")}</span>`:"")),I=O(()=>a.out?a.out:a.compose===!1?o("rpt.no_compose"):m.value&&!Object.keys(m.value).length?f.value?o("ask.local_down"):o("rpt.no_models"):""),Z=O(()=>(String(e.d?.fus?.数据时点||"").match(/\d{4}-\d{2}-\d{2}/)||[""])[0]);return(z,tt)=>(y(),w("section",null,[r("div",ff,d(p(o)("rpt.eyebrow")),1),r("div",hf,[r("div",mf,[r("span",_f,d(p(o)("rpt.presets")),1),(y(!0),w(K,null,et(Object.keys(s),bt=>(y(),w("button",{key:bt,class:"pill","data-preset":bt},d(p(o)("rpt.preset."+bt)),9,vf))),128)),tt[0]||(tt[0]=r("span",{style:{flex:"1"}},null,-1)),r("select",gf,[r("option",{value:"in",selected:a.aud==="in"},d(p(o)("rpt.aud_in")),9,bf),r("option",{value:"up",selected:a.aud==="up"},d(p(o)("rpt.aud_up")),9,yf)]),r("button",$f,d(p(o)("rpt.print")),1),r("button",xf,d(p(o)("rpt.export_docx")),1),r("button",wf,d(p(o)("rpt.export_xlsx")),1),a.aud==="up"?(y(),w("span",kf,d(p(o)("rpt.up_note")),1)):st("",!0)]),r("div",Sf,[B(d(p(o)("rpt.library"))+" ",1),r("span",Mf,d(p(o)("rpt.library_note",{n:a.canvas.length})),1)]),r("div",{style:{display:"grid","grid-template-columns":"auto 1fr",gap:"6px 12px","align-items":"center"},innerHTML:j.value},null,8,Tf),r("div",Cf,d(p(o)("rpt.hint_idle")),1),r("div",Ef,[r("div",Of,[B(d(p(o)("rpt.need_head"))+" ",1),r("span",{id:"rptmdlnote",style:{"font-weight":"400",color:"var(--muted)"},innerHTML:P.value},null,8,Af)]),r("div",Pf,[r("input",{id:"rptneed",placeholder:p(J)(p(o)("rpt.need_ph")),value:a.need,style:{flex:"1 1 300px","min-width":"220px"}},null,8,Df),r("select",{id:"rptmdl",innerHTML:k.value},null,8,Hf),r("button",{class:"btn",id:"rptgo",disabled:!S.value},d(p(o)("rpt.compose")),9,jf)]),r("div",Lf,d(I.value),1)])]),a.canvas.length?(y(),w("div",If,[r("div",Rf,[r("div",null,[r("div",Nf,d(p(o)("app.brand"))+" · "+d(p(o)("rpt.paper_title")),1),r("div",Bf,d(p(o)("rpt.paper_sub",{win:p(_e)(t.d.win),n:(t.d.kpi||{}).全场||38}))+d(a.aud==="up"?" | "+p(o)("rpt.up_tag"):""),1)]),r("div",Wf,d(p(o)("rpt.chapters",{n:a.canvas.length})),1)]),(y(!0),w(K,null,et(a.canvas,(bt,It)=>(y(),w(K,{key:bt},[n[bt]?(y(),w("div",Kf,[r("button",{class:"pill","data-mv":"up","data-k":bt,disabled:It===0,style:{padding:"1px 8px","font-size":"11px",opacity:".7"}},"↑",8,Uf),r("button",{class:"pill","data-mv":"down","data-k":bt,disabled:It===a.canvas.length-1,style:{padding:"1px 8px","font-size":"11px",opacity:".7"}},"↓",8,Vf),r("button",{class:"pill","data-mv":"del","data-k":bt,style:{padding:"1px 8px","font-size":"11px",opacity:".7"}},"×",8,zf)])):st("",!0),n[bt]?(y(),w("div",{key:1,innerHTML:M()},null,8,Gf)):st("",!0)],64))),128)),r("div",{innerHTML:$.value},null,8,Yf),r("div",Jf,[r("span",null,d(p(o)("rpt.foot_src"))+d(Z.value?" | "+p(o)("rpt.foot_asof",{d:Z.value}):""),1),r("span",null,d(p(o)("rpt.foot_trace"))+d(a.aud==="up"?" | "+p(o)("rpt.foot_deid"):""),1)])])):(y(),w("div",qf,[r("div",Ff,d(p(o)("rpt.preview_empty")),1)]))]))}}),Xf={class:"kpis"},Qf=["title"],th=["innerHTML"],eh={key:1},sh={key:0},nh={class:"sechead"},lh={class:"meta"},ih={class:"meta"},oh={key:0,class:"card mb",style:{"margin-bottom":"10px"}},rh={class:"small",style:{color:"var(--warning)"}},ah={class:"small muted"},ch={class:"cards"},uh=["id"],dh={class:"head"},ph=["href"],fh={class:"sys"},hh={class:"evidence-detail"},mh={class:"why"},_h={class:"evid"},vh={key:1,class:"rv"},gh={key:0,class:"caveat"},bh={class:"sechead"},yh={class:"meta"},$h={class:"legend"},xh={class:"cells"},wh=["data-u","title"],kh={key:1,class:"quiet",style:{padding:"10px"}},Sh={class:"nums"},Mh={class:"quiet"},Th={class:"sechead"},Ch={class:"meta"},Eh={class:"systems"},Oh={class:"t"},Ah=["href"],Ph={class:"bar"},Dh={class:"cnt"},Hh=Ht({__name:"Overview",props:{d:{}},setup(t){const e=t,s=O(()=>e.d?.fus||{}),n=O(()=>e.d?.m8?.mtbf||{}),l=O(()=>e.d?.control||{}),i=O(()=>{const k={};for(const j of l.value.states||[])k[j.k]=j.loss;return k}),c=O(()=>{const k=l.value,j=o("kpi.loss",{win:_e(e.d?.win)})+(i.value["停机(调度令)"]!=null?` · ${o("kpi.loss_dispatch",{n:at(i.value["停机(调度令)"])})}`:"");return[{v:at(k.avail,1),u:"%",l:o("kpi.avail",{win:_e(e.d?.win)}),k:k.avail>=95?"ok":"warn",ti:""},{v:at(n.value.停机总时长h),u:"h",l:o("kpi.downtime",{n:at(n.value.停机事件数)}),k:"warn",ti:""},{v:at(n.value.MTBF_h),u:"h",l:o("kpi.mtbo"),k:"",ti:""},{v:at(i.value.停机),u:"MWh",l:j,k:"",ti:""},{v:at(i.value["限电·绑定"]),u:"MWh",l:o("kpi.curtail"),k:"",ti:""},{vRaw:`${at(e.d?.kpi?.报警台)} <small>/ ${at(e.d?.kpi?.全场)}</small>`,u:"",l:o("kpi.alarm_units"),k:e.d?.kpi?.报警台?"warn":"ok",ti:o("kpi.alarm_units.hint"),vHtml:!0}]}),a=O(()=>{const k={};for(const j of e.d?.watch||[])k[j.t]=j.why;return k}),u=O(()=>((s.value.链盘||{}).rows||[]).filter(k=>k.lvl==="bad"||k.lvl==="warn"));function m(k){const j=(a.value[k.t]||"").trim();if(j)return j;const $=xl[k.stuck]||String(k.stuck||"").toLowerCase(),M=o($==="evidence"?"step.site_records":"step."+($||"evidence"));return o("ov.basis_fusion",{part:k.part||"—",done:k.done==null?"—":k.done,n:(k.steps||[]).length||"—",stuck:k.stuck?M:o("ov.all_steps_done"),srcs:(k.srcs||[]).join(" / ")||o("ov.no_srcs")})}function f(k){if(!k.stuck)return"";const j=xl[k.stuck]||String(k.stuck||"").toLowerCase(),$=o(j==="evidence"?"step.site_records":"step."+(j||"evidence"));return o("step.stuck_at",{step:$})}const g=[["危险","critical"],["报警","warning"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],_=O(()=>{const k=e.d?.sysdist||{};return In.map(j=>{const $=k[j]||{},M=Object.values($).reduce((q,P)=>q+P,0)||1;return{name:pe(j),slug:Hs(j),dist:$,n:M,seg:g.filter(([q])=>$[q]).map(([q,P])=>({k:q,v:P}))}})}),b=O(()=>s.value.矩阵||[]),S=O(()=>new Set(u.value.map(k=>k.t)));return(k,j)=>(y(),w(K,null,[r("section",null,[r("div",Xf,[(y(!0),w(K,null,et(c.value,($,M)=>(y(),w("div",{key:M,class:Et(["kpi",$.k]),title:$.ti||void 0},[$.vHtml?(y(),w("b",{key:0,innerHTML:$.vRaw},null,8,th)):(y(),w("b",eh,[B(d($.v),1),$.u?(y(),w("small",sh,d($.u),1)):st("",!0)])),r("span",null,d($.l),1)],10,Qf))),128))])]),r("section",null,[r("div",nh,[r("h2",null,d(p(o)("ov.attention")),1),r("span",lh,d(p(o)("ov.attention_n",{n:u.value.length})),1),r("span",ih,d(p(o)("ov.ranked_by")),1)]),s.value.gap?(y(),w("div",oh,[r("p",rh,d(s.value.gap),1),r("p",ah,d(p(o)("ov.fus_gap_hint")),1)])):st("",!0),r("div",ch,[(y(!0),w(K,null,et(u.value,$=>(y(),w("div",{key:$.t,class:"card",id:`u-${$.t}`,style:vt(`--sev:var(--${p(Sl)[p(Ps)($.ostate)||($.lvl==="bad"?"bad":"warn")]})`)},[r("div",dh,[r("a",{class:"unit",href:`/turbine/${$.t}`},d(p(mt)($.t)),9,ph),r("span",fh,d($.part||""),1),r("span",{class:Et(["chip",p(Ps)($.ostate)||($.lvl==="bad"?"bad":"warn")])},d(p(wl)($.ostate||($.lvl==="bad"?"危险":"报警"))),3)]),r("details",hh,[r("summary",null,d(p(o)("ov.evidence")),1),r("div",mh,d(m($)),1)]),r("div",_h,[$.estate?(y(),w("span",{key:0,class:Et(["tier",$.estate])},d(p(wl)($.estate)),3)):st("",!0),$.srcs&&$.srcs.length?(y(),w("span",vh,d($.srcs.length)+" sources",1)):st("",!0)]),f($)||$.next?(y(),w("div",gh,[r("b",null,d(p(o)("ov.caveat")),1),B(d(f($))+d(f($)&&$.next?" — ":"")+d($.next||""),1)])):st("",!0)],12,uh))),128))])]),r("section",null,[r("div",bh,[r("h2",null,d(p(o)("ov.strip")),1),r("span",yh,d(p(o)("ov.strip_hint")),1),r("div",$h,[(y(),w(K,null,et(["bad","warn","unk","ok","ex"],$=>r("span",{key:$},[r("i",{style:vt(`background:var(--${p(Sl)[$]})`)},null,4),B(d(p(o)(p(xn)($))),1)])),64))])]),r("div",{class:"strip",style:vt(`--n:${b.value.length||38}`)},[r("div",xh,[b.value.length?(y(!0),w(K,{key:0},et(b.value,$=>(y(),w("div",{key:$.turbine,class:Et(["cell",[p(kl)($),S.value.has($.turbine)?"hot":""]]),"data-u":$.turbine,title:`${p(mt)($.turbine)} ${p(o)(p(xn)(p(kl)($)))}`},null,10,wh))),128)):(y(),w("div",kh,d(s.value.gap||p(o)("ov.fus_gap_hint")),1))]),r("div",Sh,[(y(!0),w(K,null,et(b.value,$=>(y(),w("span",{key:`n-${$.turbine}`,class:Et(S.value.has($.turbine)?"hot":"")},d(p(mt)($.turbine).replace("#","")),3))),128))]),r("div",Mh,d(u.value.length?p(o)("ov.quiet",{n:Math.max(0,(b.value.length||38)-u.value.length)}):p(o)("ov.quiet_all",{n:b.value.length||38})),1)],4)]),r("section",null,[r("div",Th,[r("h2",null,d(p(o)("ov.systems")),1),r("span",Ch,d(p(o)("ov.systems_hint")),1)]),r("div",Eh,[(y(!0),w(K,null,et(_.value,$=>(y(),w("div",{key:$.name,class:"sysc"},[r("div",Oh,[r("b",null,d($.name),1),r("a",{href:`#tab=component&sys=${encodeURIComponent($.slug)}`},d(p(o)("ui.open")),9,Ah)]),r("div",Ph,[(y(!0),w(K,null,et($.seg,M=>(y(),w("i",{key:M.k,style:vt(`width:${($.dist[M.k]/$.n*100).toFixed(1)}%;background:var(--${M.v})`)},null,4))),128))]),r("div",Dh,[(y(!0),w(K,null,et($.seg,M=>(y(),w("span",{key:`c-${M.k}`},[r("i",{style:vt(`background:var(--${M.v})`)},null,4),B(d($.dist[M.k]),1)]))),128))])]))),128))])])],64))}}),jh={class:"wb-tabs"},Lh=["onClick"],qh={key:0,class:"todo"},Fh={class:"page-head"},Ih={class:"window-badge"},Rh={key:10,class:"card"},Nh={class:"hint"},Bh=Ht({__name:"Workbench",props:{d:{},tab:{},sys:{},sub:{},cms:{},curves:{},apis:{}},emits:["tab","sub"],setup(t,{emit:e}){const s=t,n=e,l=O(()=>!an.includes(s.tab));return(i,c)=>(y(),w(K,null,[r("nav",jh,[(y(!0),w(K,null,et(p($a),a=>(y(),w("button",{key:a,class:Et({on:a===t.tab}),onClick:u=>n("tab",a)},[B(d(p(o)("tab."+a)),1),p(an).includes(a)?st("",!0):(y(),w("sup",qh,"迁移中"))],10,Lh))),128))]),r("div",Fh,[r("h1",null,d(p(o)("tab."+t.tab)),1),r("span",Ih,d(p(o)("win.label"))+" · "+d(p(_e)(t.d?.win)),1)]),t.tab==="overview"?(y(),qt(Hh,{key:0,d:t.d},null,8,["d"])):t.tab==="energy"?(y(),qt(du,{key:1,d:t.d},null,8,["d"])):t.tab==="component"?(y(),qt(qc,{key:2,d:t.d,sys:t.sys},null,8,["d","sys"])):t.tab==="fault"?(y(),qt(sd,{key:3,d:t.d},null,8,["d"])):t.tab==="vibration"?(y(),qt(Sd,{key:4,d:t.d,sub:t.sub,cms:t.cms,onSub:c[0]||(c[0]=a=>n("sub",a))},null,8,["d","sub","cms"])):t.tab==="generation"?(y(),qt(np,{key:5,d:t.d,curves:t.curves,pending:!!t.d.m9_pending},null,8,["d","curves","pending"])):t.tab==="decision"?(y(),qt(yp,{key:6,d:t.d,apis:t.apis},null,8,["d","apis"])):t.tab==="assistant"?(y(),qt(Ip,{key:7,d:t.d},null,8,["d"])):t.tab==="system"?(y(),qt(pf,{key:8,apis:t.apis},null,8,["apis"])):t.tab==="report"?(y(),qt(Zf,{key:9,d:t.d,apis:t.apis},null,8,["d","apis"])):l.value?(y(),w("section",Rh,[r("h2",null,[B(d(p(o)("tab."+t.tab))+" ",1),c[1]||(c[1]=r("small",null,"(本页签尚未迁移到 Vue)",-1))]),r("p",Nh,[c[2]||(c[2]=B(" 迁移纪律:页签逐个搬,每搬一个就用 ",-1)),c[3]||(c[3]=r("code",null,"tools/render_parity.mjs",-1)),c[4]||(c[4]=B(" 与重构前页面 (现网 ",-1)),c[5]||(c[5]=r("code",null,"/detail/v2",-1)),B(")对拍文案/数值/类名序列,**通过后**才删对应的 Python 前端源码。 当前已迁移:"+d(p(an).join("、"))+"。 ",1)])])):st("",!0)],64))}}),Wh=Ri(Bh,[["__scopeId","data-v-57d828dd"]]),Kh={class:"top"},Uh={key:0,class:"hint",style:{padding:"0 18px"}},Vh={key:1,class:"hint",style:{padding:"0 18px",color:"var(--bad)"}},zh={key:2,class:"card"},Gh=Ht({__name:"App",setup(t){const e=Tt("workbench"),s=Tt("overview"),n=Tt(null),l=Tt(null),i=Tt(""),c=Tt(!1),a=Tt("");async function u(){c.value=!0,a.value="";const m=i.value?`?win=${encodeURIComponent(i.value)}`:"",f=await Fi("fleet",{method:"GET"});if(m)try{const g=await fetch("/api/fleet"+m);l.value=await g.json()}catch(g){a.value=g instanceof Error?g.message:String(g)}else f.ok?(l.value=f.data,l.value?.win&&(i.value=l.value.win)):a.value=f.error||`HTTP ${f.status}`;c.value=!1}return es(i,m=>{m&&m!==l.value?.win&&u()}),Us(u),(m,f)=>(y(),w(K,null,[r("header",Kh,[f[5]||(f[5]=r("div",{class:"brand"},"观澜 · 风电数据分析与决策支持",-1)),r("nav",null,[r("button",{class:Et({on:e.value==="workbench"}),onClick:f[0]||(f[0]=g=>e.value="workbench")},"工作台",2),r("button",{class:Et({on:e.value==="smoke"}),onClick:f[1]||(f[1]=g=>e.value="smoke")},"契约自检",2),r("button",{class:Et({on:e.value==="about"}),onClick:f[2]||(f[2]=g=>e.value="about")},"关于本前端",2)])]),r("main",null,[e.value==="workbench"?(y(),w(K,{key:0},[c.value?(y(),w("p",Uh,"取数中(/api/fleet)…")):a.value?(y(),w("p",Vh,"取数失败:"+d(a.value),1)):l.value?(y(),qt(Wh,{key:2,d:l.value,tab:s.value,sub:n.value,onTab:f[3]||(f[3]=g=>s.value=g),onSub:f[4]||(f[4]=g=>n.value=g)},null,8,["d","tab","sub"])):st("",!0)],64)):e.value==="smoke"?(y(),qt(ba,{key:1})):(y(),w("section",zh,[...f[6]||(f[6]=[Or("<h2>关于本前端</h2><ul><li>技术栈:<b>Vue 3 + Vite + TypeScript + Node.js</b>(用户令 2026-09-29)</li><li>与后端交互:只走网关一个源站,路径与形状以 <code>app_backEnd/app_backEnd_guanlan/contract/http_api_v1.json</code> 冻契约为准</li><li>数据来源:与重构前 <code>/detail/v2</code> 同一个接口 <code>/api/fleet?win=</code></li><li>迁移纪律:页签逐个搬,与重构前页面对拍通过后才删对应 Python 源码</li></ul>",2)])]))])],64))}});pa(Gh).mount("#app");
|