import{_ as Ie}from"./HelpText.js";import{c as De,u as We,_ as Ue,a as qe,b as Ke}from"./DropDown.js";import{ap as Ae,an as Te,aq as Ye,aM as Xe,B as re,H as s,bi as ze,z as Ge,c as we,r as N,j as P,s as Ve,w as He,b as ae,as as ee,ar as ne,au as a,ay as ie,ax as Le,D as xe,aC as Me,b8 as Qe,aD as Je,n as ye,l as Ce,bg as Re,av as O,at as Se,bF as Ze,aI as et,aE as ve,aG as W,aY as U,bA as me,bj as E,bh as tt,aL as pe,bm as ke,br as ot,bc as nt,bC as M,by as h,bw as B,bv as R,bo as d,bu as Y,bx as q,bG as lt,b3 as at,bt as m,E as rt,aA as it,F as X,bD as $e,k as _e,aX as st,bE as G}from"./_plugin-vue_export-helper.js";import{c as ct,f as dt,t as ut,u as ht,s as Be,a as ft}from"./main.js";import{a as gt,_ as bt}from"./Play.js";import{_ as vt}from"./op_select.js";import{u as mt}from"./Input.js";import"./Select.js";import"./Tag.js";import"./VirtualList.js";import"./Forward.js";import"./index.js";import"./get-slot.js";import"./Avatar.js";function pt(e){const{textColor2:o,modalColor:l,borderColor:i,fontSize:c,primaryColor:w}=e;return{loaderFontSize:c,loaderTextColor:o,loaderColor:l,loaderBorder:`1px solid ${i}`,loadingColor:w}}const _t=Ae({name:"Log",common:Te,peers:{Scrollbar:Ye,Code:De},self:pt});function wt(e){const{primaryColor:o,opacityDisabled:l,borderRadius:i,textColor3:c}=e;return Object.assign(Object.assign({},ct),{iconColor:c,textColor:"white",loadingColor:o,opacityDisabled:l,railColor:"rgba(0, 0, 0, .14)",railColorActive:o,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:i,railBorderRadiusMedium:i,railBorderRadiusLarge:i,buttonBorderRadiusSmall:i,buttonBorderRadiusMedium:i,buttonBorderRadiusLarge:i,boxShadowFocus:`0 0 0 2px ${Xe(o,{alpha:.2})}`})}const xt={name:"Switch",common:Te,self:wt},yt=re({name:"LogLoader",props:{clsPrefix:{type:String,required:!0}},setup(){return{locale:mt("Log").localeRef}},render(){const{clsPrefix:e}=this;return s("div",{class:`${e}-log-loader`},s(ze,{clsPrefix:e,strokeWidth:24,scale:.85}),s("span",{class:`${e}-log-loader__content`},this.locale.loading))}}),je=Ge("n-log"),kt=re({props:{line:{type:String,default:""}},setup(e){const{trimRef:o,highlightRef:l,languageRef:i,mergedHljsRef:c}=we(je),w=N(null),x=P(()=>o.value?e.line.trim():e.line);function f(){w.value&&(w.value.innerHTML=L(i.value,x.value))}function L(p,k){const{value:u}=c;return u&&p&&u.getLanguage(p)?u.highlight(k,{language:p}).value:k}return Ve(()=>{l.value&&f()}),He(ae(e,"line"),()=>{l.value&&f()}),{highlight:l,selfRef:w,maybeTrimmedLines:x}},render(){const{highlight:e,maybeTrimmedLines:o}=this;return s("pre",{ref:"selfRef"},e?null:o)}}),Ct=ee("log",`
 position: relative;
 box-sizing: border-box;
 transition: border-color .3s var(--n-bezier);
`,[ne("pre",`
 white-space: pre-wrap;
 word-break: break-word;
 margin: 0;
 `),ee("log-loader",`
 transition:
 color .3s var(--n-bezier),
 background-color .3s var(--n-bezier),
 border-color .3s var(--n-bezier);
 box-sizing: border-box;
 position: absolute;
 right: 16px;
 top: 8px;
 height: 34px;
 border-radius: 17px;
 line-height: 34px;
 white-space: nowrap;
 overflow: hidden;
 border: var(--n-loader-border);
 color: var(--n-loader-text-color);
 background-color: var(--n-loader-color);
 font-size: var(--n-loader-font-size);
 `,[dt(),a("content",`
 display: inline-block;
 vertical-align: bottom;
 line-height: 34px;
 padding-left: 40px;
 padding-right: 20px;
 white-space: nowrap;
 `),ee("base-loading",`
 color: var(--n-loading-color);
 position: absolute;
 left: 12px;
 top: calc(50% - 10px);
 font-size: 20px;
 width: 20px;
 height: 20px;
 display: inline-block;
 `)])]),Rt=Object.assign(Object.assign({},ie.props),{loading:Boolean,trim:Boolean,log:String,fontSize:{type:Number,default:14},lines:{type:Array,default:()=>[]},lineHeight:{type:Number,default:1.25},language:String,rows:{type:Number,default:15},offsetTop:{type:Number,default:0},offsetBottom:{type:Number,default:0},hljs:Object,onReachTop:Function,onReachBottom:Function,onRequireMore:Function}),St=re({name:"Log",props:Rt,setup(e){const{mergedClsPrefixRef:o,inlineThemeDisabled:l}=Le(e),i=N(!1),c=P(()=>e.language!==void 0),w=P(()=>`calc(${Math.round(e.rows*e.lineHeight*e.fontSize)}px)`),x=P(()=>{const{log:g}=e;return g?g.split(`
`):e.lines}),f=N(null),L=ie("Log","-log",Ct,_t,e,o);function p(g){const v=g.target,V=v.firstElementChild;if(i.value){ye(()=>{i.value=!1});return}const H=v.offsetHeight,_=v.scrollTop,C=V.offsetHeight,t=_,y=C-_-H;if(t<=e.offsetTop){const{onReachTop:n,onRequireMore:b}=e;b&&b("top"),n&&n()}if(y<=e.offsetBottom){const{onReachBottom:n,onRequireMore:b}=e;b&&b("bottom"),n&&n()}}const k=ut(u,300);function u(g){if(i.value){ye(()=>{i.value=!1});return}if(f.value){const{containerRef:v,contentRef:V}=f.value;if(v&&V){const H=v.offsetHeight,_=v.scrollTop,C=V.offsetHeight,t=_,y=C-_-H,n=g.deltaY;if(t===0&&n<0){const{onRequireMore:b}=e;b&&b("top")}if(y<=0&&n>0){const{onRequireMore:b}=e;b&&b("bottom")}}}}function r(g){const{value:v}=f;if(!v)return;const{silent:V,top:H,position:_}=g;V&&(i.value=!0),H!==void 0?v.scrollTo({left:0,top:H}):(_==="bottom"||_==="top")&&v.scrollTo({position:_})}function T(g=!1){Ce("log","`scrollToTop` is deprecated, please use `scrollTo({ position: 'top'})` instead."),r({position:"top",silent:g})}function z(g=!1){Ce("log","`scrollToTop` is deprecated, please use `scrollTo({ position: 'bottom'})` instead."),r({position:"bottom",silent:g})}xe(je,{languageRef:ae(e,"language"),mergedHljsRef:We(e),trimRef:ae(e,"trim"),highlightRef:c});const Q={scrollTo:r},K=P(()=>{const{self:{loaderFontSize:g,loaderTextColor:v,loaderColor:V,loaderBorder:H,loadingColor:_},common:{cubicBezierEaseInOut:C}}=L.value;return{"--n-bezier":C,"--n-loader-font-size":g,"--n-loader-border":H,"--n-loader-color":V,"--n-loader-text-color":v,"--n-loading-color":_}}),S=l?Me("log",void 0,K,e):void 0;return Object.assign(Object.assign({},Q),{mergedClsPrefix:o,scrollbarRef:f,mergedTheme:L,styleHeight:w,mergedLines:x,scrollToTop:T,scrollToBottom:z,handleWheel:k,handleScroll:p,cssVars:l?void 0:K,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender})},render(){const{mergedClsPrefix:e,mergedTheme:o,onRender:l}=this;return l==null||l(),s("div",{class:[`${e}-log`,this.themeClass],style:[{lineHeight:this.lineHeight,height:this.styleHeight},this.cssVars],onWheelPassive:this.handleWheel},[s(Qe,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,onScroll:this.handleScroll},{default:()=>s(Ue,{internalNoHighlight:!0,internalFontSize:this.fontSize,theme:o.peers.Code,themeOverrides:o.peerOverrides.Code},{default:()=>this.mergedLines.map((i,c)=>s(kt,{key:c,line:i}))})}),s(Je,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?s(yt,{clsPrefix:e}):null})])}}),$t=ee("switch",`
 height: var(--n-height);
 min-width: var(--n-width);
 vertical-align: middle;
 user-select: none;
 -webkit-user-select: none;
 display: inline-flex;
 outline: none;
 justify-content: center;
 align-items: center;
`,[a("children-placeholder",`
 height: var(--n-rail-height);
 display: flex;
 flex-direction: column;
 overflow: hidden;
 pointer-events: none;
 visibility: hidden;
 `),a("rail-placeholder",`
 display: flex;
 flex-wrap: none;
 `),a("button-placeholder",`
 width: calc(1.75 * var(--n-rail-height));
 height: var(--n-rail-height);
 `),ee("base-loading",`
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translateX(-50%) translateY(-50%);
 font-size: calc(var(--n-button-width) - 4px);
 color: var(--n-loading-color);
 transition: color .3s var(--n-bezier);
 `,[Re({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),a("checked, unchecked",`
 transition: color .3s var(--n-bezier);
 color: var(--n-text-color);
 box-sizing: border-box;
 position: absolute;
 white-space: nowrap;
 top: 0;
 bottom: 0;
 display: flex;
 align-items: center;
 line-height: 1;
 `),a("checked",`
 right: 0;
 padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));
 `),a("unchecked",`
 left: 0;
 justify-content: flex-end;
 padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));
 `),ne("&:focus",[a("rail",`
 box-shadow: var(--n-box-shadow-focus);
 `)]),O("round",[a("rail","border-radius: calc(var(--n-rail-height) / 2);",[a("button","border-radius: calc(var(--n-button-height) / 2);")])]),Se("disabled",[Se("icon",[O("rubber-band",[O("pressed",[a("rail",[a("button","max-width: var(--n-button-width-pressed);")])]),a("rail",[ne("&:active",[a("button","max-width: var(--n-button-width-pressed);")])]),O("active",[O("pressed",[a("rail",[a("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),a("rail",[ne("&:active",[a("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),O("active",[a("rail",[a("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),a("rail",`
 overflow: hidden;
 height: var(--n-rail-height);
 min-width: var(--n-rail-width);
 border-radius: var(--n-rail-border-radius);
 cursor: pointer;
 position: relative;
 transition:
 opacity .3s var(--n-bezier),
 background .3s var(--n-bezier),
 box-shadow .3s var(--n-bezier);
 background-color: var(--n-rail-color);
 `,[a("button-icon",`
 color: var(--n-icon-color);
 transition: color .3s var(--n-bezier);
 font-size: calc(var(--n-button-height) - 4px);
 position: absolute;
 left: 0;
 right: 0;
 top: 0;
 bottom: 0;
 display: flex;
 justify-content: center;
 align-items: center;
 line-height: 1;
 `,[Re()]),a("button",`
 align-items: center; 
 top: var(--n-offset);
 left: var(--n-offset);
 height: var(--n-button-height);
 width: var(--n-button-width-pressed);
 max-width: var(--n-button-width);
 border-radius: var(--n-button-border-radius);
 background-color: var(--n-button-color);
 box-shadow: var(--n-button-box-shadow);
 box-sizing: border-box;
 cursor: inherit;
 content: "";
 position: absolute;
 transition:
 background-color .3s var(--n-bezier),
 left .3s var(--n-bezier),
 opacity .3s var(--n-bezier),
 max-width .3s var(--n-bezier),
 box-shadow .3s var(--n-bezier);
 `)]),O("active",[a("rail","background-color: var(--n-rail-color-active);")]),O("loading",[a("rail",`
 cursor: wait;
 `)]),O("disabled",[a("rail",`
 cursor: not-allowed;
 opacity: .5;
 `)])]),Bt=Object.assign(Object.assign({},ie.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let Z;const Tt=re({name:"Switch",props:Bt,setup(e){Z===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?Z=CSS.supports("width","max(1px)"):Z=!1:Z=!0);const{mergedClsPrefixRef:o,inlineThemeDisabled:l}=Le(e),i=ie("Switch","-switch",$t,xt,e,o),c=Ze(e),{mergedSizeRef:w,mergedDisabledRef:x}=c,f=N(e.defaultValue),L=ae(e,"value"),p=et(L,f),k=P(()=>p.value===e.checkedValue),u=N(!1),r=N(!1),T=P(()=>{const{railStyle:t}=e;if(t)return t({focused:r.value,checked:k.value})});function z(t){const{"onUpdate:value":y,onChange:n,onUpdateValue:b}=e,{nTriggerFormInput:J,nTriggerFormChange:I}=c;y&&pe(y,t),b&&pe(b,t),n&&pe(n,t),f.value=t,J(),I()}function Q(){const{nTriggerFormFocus:t}=c;t()}function K(){const{nTriggerFormBlur:t}=c;t()}function S(){e.loading||x.value||(p.value!==e.checkedValue?z(e.checkedValue):z(e.uncheckedValue))}function g(){r.value=!0,Q()}function v(){r.value=!1,K(),u.value=!1}function V(t){e.loading||x.value||t.key===" "&&(p.value!==e.checkedValue?z(e.checkedValue):z(e.uncheckedValue),u.value=!1)}function H(t){e.loading||x.value||t.key===" "&&(t.preventDefault(),u.value=!0)}const _=P(()=>{const{value:t}=w,{self:{opacityDisabled:y,railColor:n,railColorActive:b,buttonBoxShadow:J,buttonColor:I,boxShadowFocus:A,loadingColor:se,textColor:ce,iconColor:de,[U("buttonHeight",t)]:j,[U("buttonWidth",t)]:$,[U("buttonWidthPressed",t)]:ue,[U("railHeight",t)]:F,[U("railWidth",t)]:D,[U("railBorderRadius",t)]:he,[U("buttonBorderRadius",t)]:Oe},common:{cubicBezierEaseInOut:Ee}}=i.value;let fe,ge,be;return Z?(fe=`calc((${F} - ${j}) / 2)`,ge=`max(${F}, ${j})`,be=`max(${D}, calc(${D} + ${j} - ${F}))`):(fe=me((E(F)-E(j))/2),ge=me(Math.max(E(F),E(j))),be=E(F)>E(j)?D:me(E(D)+E(j)-E(F))),{"--n-bezier":Ee,"--n-button-border-radius":Oe,"--n-button-box-shadow":J,"--n-button-color":I,"--n-button-width":$,"--n-button-width-pressed":ue,"--n-button-height":j,"--n-height":ge,"--n-offset":fe,"--n-opacity-disabled":y,"--n-rail-border-radius":he,"--n-rail-color":n,"--n-rail-color-active":b,"--n-rail-height":F,"--n-rail-width":D,"--n-width":be,"--n-box-shadow-focus":A,"--n-loading-color":se,"--n-text-color":ce,"--n-icon-color":de}}),C=l?Me("switch",P(()=>w.value[0]),_,e):void 0;return{handleClick:S,handleBlur:v,handleFocus:g,handleKeyup:V,handleKeydown:H,mergedRailStyle:T,pressed:u,mergedClsPrefix:o,mergedValue:p,checked:k,mergedDisabled:x,cssVars:l?void 0:_,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:o,checked:l,mergedRailStyle:i,onRender:c,$slots:w}=this;c==null||c();const{checked:x,unchecked:f,icon:L,"checked-icon":p,"unchecked-icon":k}=w,u=!(ve(L)&&ve(p)&&ve(k));return s("div",{role:"switch","aria-checked":l,class:[`${e}-switch`,this.themeClass,u&&`${e}-switch--icon`,l&&`${e}-switch--active`,o&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},s("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:i},W(x,r=>W(f,T=>r||T?s("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},s("div",{class:`${e}-switch__rail-placeholder`},s("div",{class:`${e}-switch__button-placeholder`}),r),s("div",{class:`${e}-switch__rail-placeholder`},s("div",{class:`${e}-switch__button-placeholder`}),T)):null)),s("div",{class:`${e}-switch__button`},W(L,r=>W(p,T=>W(k,z=>s(tt,null,{default:()=>this.loading?s(ze,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(T||r)?s("div",{class:`${e}-switch__button-icon`,key:T?"checked-icon":"icon"},T||r):!this.checked&&(z||r)?s("div",{class:`${e}-switch__button-icon`,key:z?"unchecked-icon":"icon"},z||r):null})))),W(x,r=>r&&s("div",{key:"checked",class:`${e}-switch__checked`},r)),W(f,r=>r&&s("div",{key:"unchecked",class:`${e}-switch__unchecked`},r)))))}});var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});const le=ke,zt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Vt=(0,le.createElementVNode)("path",{d:"M392 432H120a40 40 0 0 1-40-40V120a40 40 0 0 1 40-40h272a40 40 0 0 1 40 40v272a40 40 0 0 1-40 40z",fill:"currentColor"},null,-1),Ht=[Vt];var Lt=Fe.default=(0,le.defineComponent)({name:"Stop",render:function(o,l){return(0,le.openBlock)(),(0,le.createElementBlock)("svg",zt,Ht)}}),Ne={};Object.defineProperty(Ne,"__esModule",{value:!0});const te=ke,Mt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20"},jt=(0,te.createElementVNode)("g",{fill:"none"},[(0,te.createElementVNode)("path",{d:"M10.5 8.826l.874.998a.5.5 0 0 0 .752-.658l-1.75-2a.5.5 0 0 0-.752 0l-1.75 2a.5.5 0 0 0 .752.658l.874-.998v3.679a.5.5 0 0 0 1 0v-3.68zM4 16a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4zm-1-2a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9h-3.834a1.495 1.495 0 0 0-.287-.493L12.435 8H17V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v2h4.565l-.444.507c-.13.15-.226.317-.287.493H3v5z",fill:"currentColor"})],-1),Ft=[jt];var Nt=Ne.default=(0,te.defineComponent)({name:"PanelTopContract20Regular",render:function(o,l){return(0,te.openBlock)(),(0,te.createElementBlock)("svg",Mt,Ft)}}),Pe={};Object.defineProperty(Pe,"__esModule",{value:!0});const oe=ke,Pt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20"},Ot=(0,oe.createElementVNode)("g",{fill:"none"},[(0,oe.createElementVNode)("path",{d:"M10.5 11.174l.874-.998a.5.5 0 0 1 .752.658l-1.75 2a.5.5 0 0 1-.752 0l-1.75-2a.5.5 0 1 1 .752-.658l.874.998V7.495a.5.5 0 0 1 1 0v3.68zM4 16a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4zm-1-2a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9h-5.5V8H17V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v2h5.5v1H3v5z",fill:"currentColor"})],-1),Et=[Ot];var It=Pe.default=(0,oe.defineComponent)({name:"PanelTopExpand20Regular",render:function(o,l){return(0,oe.openBlock)(),(0,oe.createElementBlock)("svg",Pt,Et)}});const Dt={class:"home-container"},Wt=["rowspan"],Ut={key:1},qt={colspan:2},Kt={class:"action-container"},At={class:"scroll-container"},Yt={key:0,class:"scroll-label"},Xt={__name:"Log",setup(e){lt(y=>({"470f50d6":d(_)}));const o=ht(),{log:l,log_mobile:i,running:c,log_lines:w,task_list:x,waiting:f,get_task_id:L}=Be(o),{get_tasks:p}=o,k=we("axios"),u=we("mobile"),r=N(!0);function T(){ye(()=>{var y;(y=document.querySelector("pre:last-child"))==null||y.scrollIntoView()})}function z(){r.value&&T()}He(()=>[l,x],()=>{z()},{deep:!0}),Ve(()=>{p()}),nt(()=>{clearTimeout(L.value)});function Q(){c.value=!0,w.value=[],k.get("/start"),p()}function K(){f.value=!0,k.get("/stop").then(y=>{c.value=!y.data,f.value=!1})}const S=N(!0),g=N(!1),v=N(!0);xe("show_task",g),xe("add_task",v);const V=ft(),{conf:H}=Be(V),_=P(()=>H.value.theme=="light"?.2:.3);function C(){k.get("/stop-maa")}const t=[{label:"停止Maa",key:"maa"}];return(y,n)=>{const b=vt,J=St,I=st,A=at,se=qe,ce=Ke,de=Ie,j=Tt;return m(),M("div",Dt,[n[6]||(n[6]=h("div",{class:"log-bg"},null,-1)),B(b,{class:"task-table",size:"small","single-line":!1},{default:R(()=>[n[3]||(n[3]=h("thead",null,[h("tr",null,[h("th",null,"时间"),h("th",{colspan:2},"任务")])],-1)),rt(h("tbody",null,[(m(!0),M(X,null,$e(d(x),$=>(m(),M(X,null,[Object.keys($.plan).length?(m(!0),M(X,{key:0},$e($.plan,(ue,F,D)=>(m(),M("tr",null,[D==0?(m(),M("td",{key:0,rowspan:Object.keys($.plan).length},G($.time.split("T")[1].split(".")[0]),9,Wt)):q("",!0),h("td",null,G(F),1),h("td",null,G(ue.map(he=>he||"_").join(", ")),1)]))),256)):(m(),M("tr",Ut,[h("td",null,G($.time.split("T")[1].split(".")[0]),1),h("td",qt,G($.meta_data)+G($.type.display_value),1)]))],64))),256))],512),[[it,!d(u)||S.value]])]),_:1}),B(J,{class:"log",log:d(u)?d(i):d(l),language:"mower",style:{"user-select":"text"}},null,8,["log"]),h("div",Kt,[d(c)?(m(),Y(se,{key:0,select:C,options:t,type:"error",up:!0},{default:R(()=>[B(A,{type:"error",onClick:K,loading:d(f),disabled:d(f)},{icon:R(()=>[B(I,null,{default:R(()=>[B(d(Lt))]),_:1})]),default:R(()=>[d(u)?q("",!0):(m(),M(X,{key:0},[_e("立即停止")],64))]),_:1},8,["loading","disabled"])]),_:1})):(m(),Y(A,{key:1,type:"primary",onClick:Q,loading:d(f),disabled:d(f)},{icon:R(()=>[B(I,null,{default:R(()=>[B(d(gt))]),_:1})]),default:R(()=>[d(u)?q("",!0):(m(),M(X,{key:0},[_e("开始执行")],64))]),_:1},8,["loading","disabled"])),B(ce),B(A,{type:"warning",onClick:n[0]||(n[0]=$=>g.value=!0)},{icon:R(()=>[B(I,null,{default:R(()=>[B(d(bt))]),_:1})]),default:R(()=>[d(u)?q("",!0):(m(),M(X,{key:0},[_e("新增任务")],64))]),_:1}),d(u)?q("",!0):(m(),Y(de,{key:2},{default:R(()=>n[4]||(n[4]=[h("div",null,"目前只糊了一个勉强能用的版本，其他功能敬请期待",-1),h("div",null,"只开放了空任务/专精任务",-1),h("div",null,"只能增，不能删！！谨慎填写任务",-1),h("div",null,"如果 mower 休息到 00:30，新增的 00:15 的任务是不会被执行的，因为此时在休息",-1),h("div",null,"所以最好在 00:00 mower运行的时候添加 00:15 的任务了，考验手速的时候到了",-1),h("div",null,"空任务，请确保任务房间名字，干员数量正确（没有判定）",-1),h("div",null,"专精任务，UI有详细说明；新增完毕，UI上面的表会实时反馈",-1),h("div",null,"在Q群或者频道提以上问题，看心情踢人",-1)])),_:1})),n[5]||(n[5]=h("div",{class:"expand"},null,-1)),h("div",At,[B(j,{value:r.value,"onUpdate:value":n[1]||(n[1]=$=>r.value=$)},null,8,["value"]),d(u)?q("",!0):(m(),M("span",Yt,"自动滚动"))])]),d(u)?(m(),Y(A,{key:0,class:"toggle-table-collapse-btn",size:"small",onClick:n[2]||(n[2]=$=>S.value=!S.value),focusable:!1},{icon:R(()=>[B(I,null,{default:R(()=>[S.value?(m(),Y(d(Nt),{key:0})):(m(),Y(d(It),{key:1}))]),_:1})]),_:1})):q("",!0)])}}},uo=ot(Xt,[["__scopeId","data-v-dbf82bf4"]]);export{uo as default};
