1import{E as u,V as d,I as p,C as r,c,o as l,F as o,m as v,_ as b,ab as h,l as $,w as y,W as f,D as m}from"./D2G4-NGQ.js";import{s as T}from"./9iqK8ldb.js";var P={root:function(a){var i=a.instance;return["p-tabpanel",{"p-tabpanel-active":i.active}]}},k=u.extend({name:"tabpanel",classes:P}),C={name:"BaseTabPanel",extends:T,props:{value:{type:[String,Number],default:void 0},as:{type:[String,Object],default:"DIV"},asChild:{type:Boolean,default:!1},header:null,headerStyle:null,headerClass:null,headerProps:null,headerActionProps:null,contentStyle:null,contentClass:null,contentProps:null,disabled:Boolean},style:k,provide:function(){return{$pcTabPanel:this,$parentInstance:this}}},S={name:"TabPanel",extends:C,inheritAttrs:!1,inject:["$pcTabs"],computed:{active:function(){var a;return p((a=this.$pcTabs)===null||a===void 0?void 0:a.d_value,this.value)},id:function(){var a;return"".concat((a=this.$pcTabs)===null||a===void 0?void 0:a.$id,"_tabpanel_").concat(this.value)},ariaLabelledby:function(){var a;return"".concat((a=this.$pcTabs)===null||a===void 0?void 0:a.$id,"_tab_").concat(this.value)},attrs:function(){return d(this.a11yAttrs,this.ptmi("root",this.ptParams))},a11yAttrs:function(){var a;return{id:this.id,tabindex:(a=this.$pcTabs)===null||a===void 0?void 0:a.tabindex,role:"tabpanel","aria-labelledby":this.ariaLabelledby,"data-pc-name":"tabpanel","data-p-active":this.active}},ptParams:function(){return{context:{active:this.active}}}}};function _(e,a,i,A,B,t){var s,n;return t.$pcTabs?(l(),c(o,{key:1},[e.asChild?r(e.$slots,"default",{key:1,class:m(e.cx("root")),active:t.active,a11yAttrs:t.a11yAttrs}):(l(),c(o,{key:0},[!((s=t.$pcTabs)!==null&&s!==void 0&&s.lazy)||t.active?b((l(),$(f(e.as),d({key:0,class:e.cx("root")},t.attrs),{default:y(function(){return[r(e.$slots,"default")]}),_:3},16,["class"])),[[h,(n=t.$pcTabs)!==null&&n!==void 0&&n.lazy?!0:t.active]]):v("",!0)],64))],64)):r(e.$slots,"default",{key:0})}S.render=_;export{S 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.