import{d as a,z as s,Y as e,o as t,c as n,w as r,b as o,au as l,an as p,r as u,a as c,k as m}from"./index.f1911d8b.js";import{_ as d}from"./u-parse.54920ba9.js";import"./plugin-vue_export-helper.21dcd24c.js";const i=a({__name:"agreement",setup(a){let i=s("");const f=s("");return e((a=>{a.type&&(i=a.type,(async a=>{const s=await l({type:a});console.log(s,"res"),f.value=s.content,p({title:s.name})})(i))})),(a,s)=>{const e=u(c("u-parse"),d),l=m;return t(),n(l,{class:""},{default:r((()=>[o(e,{html:f.value},null,8,["html"])])),_:1})}}});export{i as default};
