/*!
 *  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([[6299],{16299:function(e,n,a){a.r(n),a.d(n,{default:function(){return m}});var i=a(25917),t=(a(3241),a(27109),a(61684),a(57122)),s=(a(69540),a(66252)),o=a(2262);const r={class:"image-box"};var c={__name:"images",props:{images:{type:Array,default:()=>[]},imageIndex:{type:Number,default:0}},emits:["change"],setup(e,{emit:n}){const a=e,c=(0,s.Fl)((()=>a.images.length<=1?"never":"always")),u=(0,s.Fl)((()=>{const e=a.images.map((e=>e.height))||[];return Math.max(...e)}));function g(e){n("change",e)}return(n,a)=>{const l=t.F8,m=i.B6,p=i.$J;return(0,s.wg)(),(0,s.j4)(p,{height:(0,o.SU)(u)+"px",autoplay:!1,"initial-index":e.imageIndex,arrow:(0,o.SU)(c),"indicator-position":e.images.length>1?"":"none",onChange:g},{default:(0,s.w5)((()=>[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(e.images,(e=>((0,s.wg)(),(0,s.j4)(m,{key:e.id},{default:(0,s.w5)((()=>[(0,s._)("div",r,[(0,s.Wm)(l,{src:e.image},null,8,["src"])])])),_:2},1024)))),128))])),_:1},8,["height","initial-index","arrow","indicator-position"])}}};function u(e){e.__source="src/components/Topic/images.vue"}var g=a(83744);"function"===typeof u&&u(c);const l=(0,g.Z)(c,[["__scopeId","data-v-6c37c3bc"]]);var m=l}}]);