/*!
 *  build: Vue  Admin Plus
 *  copyright: vue-admin-beautiful.com
 *  time: 2024-03-07 17:07:58
 */
"use strict";(self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[5969],{65969:function(e,t,o){o.r(t),o.d(t,{default:function(){return f}});var l=o(69950),a=(o(3241),o(82123),o(19615),o(57658),o(66252)),n=o(2262),s=o(3577),c=o(65781);const i={class:"timeline-container"};var r=(0,a.aZ)({__name:"generate",props:{detail:{type:Object,default:()=>{}}},setup(e){const t=e,o=(0,a.Fl)((()=>t.detail)),r=(0,a.Fl)((()=>{const e=o.value.override_settings&&o.value.override_settings.sd_model_checkpoint?o.value.override_settings.sd_model_checkpoint:"",t=[{content:"基础模型",timestamp:e,size:"large",type:"primary",icon:c.MoreFilled}];if(o.value.lora_styles&&o.value.lora_styles.length>0){const e=o.value.lora_styles.map((e=>e.name));t.push({content:"LoRA",timestamp:e.join(","),color:"#2f9bff"})}o.value.prompt_words&&t.push({content:"创意描述",timestamp:o.value.prompt_words,color:"#46a6ff"}),o.value.negative_prompt_words&&t.push({content:"排除词",timestamp:o.value.negative_prompt_words,type:"primary",hollow:!0,color:"#5db1ff"});const l=[{content:"采样算法(Sampler)",timestamp:o.value.sampler_index,color:"#74bcff"},{content:"迭代步数(Steps)",timestamp:`${o.value.num_samples}`,color:"#8cc8ff"},{content:"创意描述词相关性(CFG Scale)",timestamp:`${o.value.cfg_scale}`,color:"#a3d3ff"},{content:"随机种子(Seed)",timestamp:`${o.value.seed}`,color:"#badeff "},{content:"尺寸",timestamp:`${o.value.width}x${o.value.height}`,color:"#d1e9ff"},{content:"Clip Skip",timestamp:`${o.value.clip_skip}`,color:"#e8f4ff"}];return t.push(...l),t}));return(e,t)=>{const o=l._T,c=l.rJ;return(0,a.wg)(),(0,a.iD)("div",i,[(0,a.Wm)(c,null,{default:(0,a.w5)((()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,n.SU)(r),((e,t)=>((0,a.wg)(),(0,a.j4)(o,{key:t,icon:e.icon,type:e.type,color:e.color,size:e.size,hollow:e.hollow,timestamp:e.timestamp},{default:(0,a.w5)((()=>[(0,a.Uk)((0,s.zw)(e.content),1)])),_:2},1032,["icon","type","color","size","hollow","timestamp"])))),128))])),_:1})])}}});function p(e){e.__source="src/components/Topic/generate.vue"}var m=o(83744);"function"===typeof p&&p(r);const u=(0,m.Z)(r,[["__scopeId","data-v-625a29a1"]]);var f=u}}]);