1import{s as p}from"./Cr3uJePm.js";import{af as v,v as a,g as l,ae as s,ag as c,n as u}from"./Wbye8ACx.js";import{f as y}from"./ZhWAdK_X.js";var f=` 2 .p-divider-horizontal { 3 display: flex; 4 width: 100%; 5 position: relative; 6 align-items: center; 7 margin: dt('divider.horizontal.margin'); 8 padding: dt('divider.horizontal.padding'); 9 } 10 11 .p-divider-horizontal:before { 12 position: absolute; 13 display: block; 14 inset-block-start: 50%; 15 inset-inline-start: 0; 16 width: 100%; 17 content: ''; 18 border-block-start: 1px solid dt('divider.border.color'); 19 } 20 21 .p-divider-horizontal .p-divider-content { 22 padding: dt('divider.horizontal.content.padding'); 23 } 24 25 .p-divider-vertical { 26 min-height: 100%; 27 display: flex; 28 position: relative; 29 justify-content: center; 30 margin: dt('divider.vertical.margin'); 31 padding: dt('divider.vertical.padding'); 32 } 33 34 .p-divider-vertical:before { 35 position: absolute; 36 display: block; 37 inset-block-start: 0; 38 inset-inline-start: 50%; 39 height: 100%; 40 content: ''; 41 border-inline-start: 1px solid dt('divider.border.color'); 42 } 43 44 .p-divider.p-divider-vertical .p-divider-content { 45 padding: dt('divider.vertical.content.padding'); 46 } 47 48 .p-divider-content { 49 z-index: 1; 50 background: dt('divider.content.background'); 51 color: dt('divider.content.color'); 52 } 53 54 .p-divider-solid.p-divider-horizontal:before { 55 border-block-start-style: solid; 56 } 57 58 .p-divider-solid.p-divider-vertical:before { 59 border-inline-start-style: solid; 60 } 61 62 .p-divider-dashed.p-divider-horizontal:before { 63 border-block-start-style: dashed; 64 } 65 66 .p-divider-dashed.p-divider-vertical:before { 67 border-inline-start-style: dashed; 68 } 69 70 .p-divider-dotted.p-divider-horizontal:before { 71 border-block-start-style: dotted; 72 } 73 74 .p-divider-dotted.p-divider-vertical:before { 75 border-inline-start-style: dotted; 76 } 77 78 .p-divider-left:dir(rtl), 79 .p-divider-right:dir(rtl) { 80 flex-direction: row-reverse; 81 } 82`,b={root:function(i){var t=i.props;return{justifyContent:t.layout==="horizontal"?t.align==="center"||t.align===null?"center":t.align==="left"?"flex-start":t.align==="right"?"flex-end":null:null,alignItems:t.layout==="vertical"?t.align==="center"||t.align===null?"center":t.align==="top"?"flex-start":t.align==="bottom"?"flex-end":null:null}}},g={root:function(i){var t=i.props;return["p-divider p-component","p-divider-"+t.layout,"p-divider-"+t.type,{"p-divider-left":t.layout==="horizontal"&&(!t.align||t.align==="left")},{"p-divider-center":t.layout==="horizontal"&&t.align==="center"},{"p-divider-right":t.layout==="horizontal"&&t.align==="right"},{"p-divider-top":t.layout==="vertical"&&t.align==="top"},{"p-divider-center":t.layout==="vertical"&&(!t.align||t.align==="center")},{"p-divider-bottom":t.layout==="vertical"&&t.align==="bottom"}]},content:"p-divider-content"},m=v.extend({name:"divider",style:f,classes:g,inlineStyles:b}),h={name:"BaseDivider",extends:p,props:{align:{type:String,default:null},layout:{type:String,default:"horizontal"},type:{type:String,default:"solid"}},style:m,provide:function(){return{$pcDivider:this,$parentInstance:this}}};function n(e){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(e)}function o(e,i,t){return(i=z(i))in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function z(e){var i=S(e,"string");return n(i)=="symbol"?i:i+""}function S(e,i){if(n(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,i);if(n(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(e)}var k={name:"Divider",extends:h,inheritAttrs:!1,computed:{dataP:function(){return y(o(o(o({},this.align,this.align),this.layout,this.layout),this.type,this.type))}}}
82,P=["aria-orientation","data-p"],x=["data-p"];function $(e,i,t,r,w,d){return a(),l("div",s({class:e.cx("root"),style:e.sx("root"),role:"separator","aria-orientation":e.layout,"data-p":d.dataP},e.ptmi("root")),[e.$slots.default?(a(),l("div",s({key:0,class:e.cx("content"),"data-p":d.dataP},e.ptm("content")),[c(e.$slots,"default")],16,x)):u("",!0)],16,P)}k.render=$;export{k 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.