"use strict";const e=require("../adapter-vue.js"),t=require("../../../common/assets.js"),n=require("../../../common/vendor.js"),{computed:o}=e.vue,c={components:{Icon:()=>"./customer-icon.js"},props:{payload:{type:Object,default:()=>({})}},emits:["sendMessage"],setup:(e,{emit:n})=>({content:o((()=>{var t;return(null==(t=null==e?void 0:e.payload)?void 0:t.content)||{header:void 0,items:[]}})),handleContentListItemClick:e=>{n("sendMessage",{text:e.content})},iconRight:t.iconRight})};if(!Array){n.resolveComponent("Icon")()}const r=n._export_sfc(c,[["render",function(e,t,o,c,r,s){return n.e({a:c.content.header||c.content.title},c.content.header||c.content.title?{b:n.t(c.content.header||c.content.title)}:{},{c:n.f(c.content.items,((e,t,o)=>({a:n.t(e.content),b:"00f6aa80-0-"+o,c:t,d:n.o$1((t=>c.handleContentListItemClick(e)),t)}))),d:n.p({src:c.iconRight}),e:c.content.header?"1px 0 0px 0":"0px 0 1px 0"})}]]);wx.createComponent(r);
