const e=require("../../../_util/classNames.js"),t=require("../../../_util/props-util/index.js"),n=require("../../../_util/supportsPassive.js");let r=require("vue");var i=(i,{attrs:a,slots:o})=>{let{class:s,vertical:c,reverse:l,marks:u,included:d,upperBound:f,lowerBound:p,max:m,min:h,onClickLabel:g}=a,_=Object.keys(u),v=o.mark,y=m-h,b=_.map(Number.parseFloat).sort((e,t)=>e-t).map(i=>{let a=typeof u[i]==`function`?u[i]():u[i],o=typeof a==`object`&&!t.isValidElement(a),m=o?a.label:a;if(!m&&m!==0)return null;v&&(m=v({point:i,label:m}));let _=!d&&i===f||d&&i<=f&&i>=p,b=e.default({[`${s}-text`]:!0,[`${s}-text-active`]:_}),x={marginBottom:`-50%`,[l?`top`:`bottom`]:`${(i-h)/y*100}%`},S={transform:`translateX(${l?`50%`:`-50%`})`,msTransform:`translateX(${l?`50%`:`-50%`})`,[l?`right`:`left`]:`${(i-h)/y*100}%`},C=c?x:S;return(0,r.createVNode)(`span`,{class:b,style:o?{...C,...a.style}:C,key:i,onMousedown:e=>g(e,i),[n.default?`onTouchstartPassive`:`onTouchstart`]:e=>g(e,i)},[m])});return(0,r.createVNode)(`div`,{class:s},[b])};i.inheritAttrs=!1,exports.default=i;