1import{a7 as s,f as d,m as e,o as c,d as n,w as r,a8 as l,r as p,a as o,q as i,a9 as u,aa as m,ab as A,ac as h}from"./2fLglP_K.js";var v={root:"p-accordioncontent",contentWrapper:"p-accordioncontent-wrapper",content:"p-accordioncontent-content"},f=s.extend({name:"accordioncontent",classes:v}),y={name:"BaseAccordionContent",extends:d,props:{as:{type:[String,Object],default:"DIV"},asChild:{type:Boolean,default:!1}},style:f,provide:function(){return{$pcAccordionContent:this,$parentInstance:this}}},P={name:"AccordionContent",extends:y,inheritAttrs:!1,inject:["$pcAccordion","$pcAccordionPanel"],computed:{id:function(){return"".concat(this.$pcAccordion.$id,"_accordioncontent_").concat(this.$pcAccordionPanel.value)},ariaLabelledby:function(){return"".concat(this.$pcAccordion.$id,"_accordionheader_").concat(this.$pcAccordionPanel.value)},attrs:function(){return e(this.a11yAttrs,this.ptmi("root",this.ptParams))},a11yAttrs:function(){return{id:this.id,role:"region","aria-labelledby":this.ariaLabelledby,"data-pc-name":"accordioncontent","data-p-active":this.$pcAccordionPanel.active}},ptParams:function(){return{context:{active:this.$pcAccordionPanel.active}}}}};function $(a,b,C,B,k,t){return a.asChild?i(a.$slots,"default",{key:1,class:h(a.cx("root")),active:t.$pcAccordionPanel.active,a11yAttrs:t.a11yAttrs}):(c(),n(A,e({key:0,name:"p-collapsible"},a.ptm("transition",t.ptParams)),{default:r(function(){return[!t.$pcAccordion.lazy||t.$pcAccordionPanel.active?l((c(),n(p(a.as),e({key:0,class:a.cx("root")},t.attrs),{default:r(function(){return[o("div",e({class:a.cx("contentWrapper")},a.ptm("contentWrapper",t.ptParams)),[o("div",e({class:a.cx("content")},a.ptm("content",t.ptParams)),[i(a.$slots,"default")],16)],16)]}),_:3},16,["class"])),[[u,t.$pcAccordion.lazy?!0:t.$pcAccordionPanel.active]]):m("",!0)]}),_:3},16))}P.render=$;export{P as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.