import $_$ from './$_$.js';$_$();import{defineComponent as i,useAttrs as u,useSlots as f,useNuxtApp as d,h_a82cbf as p}from"../../../../shared-assets/Desktop/__shared_base-app_9100f09beb.js";var b=Object.defineProperty,s=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,n=(t,e,r)=>e in t?b(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,l=(t,e)=>{for(var r in e||(e={}))_.call(e,r)&&n(t,r,e[r]);if(s)for(var r of s(e))h.call(e,r)&&n(t,r,e[r]);return t};const v=["h1","h2","h3","h4","h5","h6","b","em","i","small","strong","sub","sup","ins","del","mark","code","kbd","samp","var","pre","abbr","bdo","blockquote","q","cite","dfn","p","br","hr"],y=new Set(["br","hr"]),P=Object.fromEntries(v.map(t=>[t,e=>$_$() && y.has(t)?p(t):p(t,void 0,e)])),w=i({props:{tmp:{type:String,default:void 0},template:{type:String,default:""}},setup(t){$_$();const e=u(),r=f(),o=d().vueApp.config.globalProperties.$dictionaryInstance;return()=>{const a=t.tmp&&o.getTemplate(t.tmp)||t.template,m=o.getTemplateParams(a,e),c=o.updateTemplateParams(m,l(l({},P),r));return o.buildTemplate(a,c)}}});export{w as _sfc_main};