1import{Et as e,Tt as t,c as n,h as r,kt as i,nt as a,pt as o,rt as s}from"./Button-DjOpppeO.js";import{V as c,Z as l,et as u,rt as d}from"./mediawiki-Be-TfMdb.js";var f=/^(\d|\.)+$/,p=/(\d|\.)+/;function m(e,{c:t=1,offset:n=0,attachPx:r=!0}={}){if(typeof e==`number`){let r=(e+n)*t;return r===0?`0`:`${r}px`}else if(typeof e==`string`)if(f.test(e)){let i=(Number(e)+n)*t;return r?i===0?`0`:`${i}px`:`${i}`}else{let r=p.exec(e);return r?e.replace(p,String((Number(r[0])+n)*t)):e}return e}function h(e){let{textColorBase:t,opacity1:n,opacity2:r,opacity3:i,opacity4:a,opacity5:o}=e;return{color:t,opacity1Depth:n,opacity2Depth:r,opacity3Depth:i,opacity4Depth:a,opacity5Depth:o}}var g={name:`Icon`,common:n,self:h},_=e(`icon`,` 2 height: 1em; 3 width: 1em; 4 line-height: 1em; 5 text-align: center; 6 display: inline-block; 7 position: relative; 8 fill: currentColor; 9`,[i(`color-transition`,{transition:`color .3s var(--n-bezier)`}),i(`depth`,{color:`var(--n-color)`},[t(`svg`,{opacity:`var(--n-opacity)`,transition:`opacity .3s var(--n-bezier)`})]),t(`svg`,{height:`1em`,width:`1em`})]),v=l({_n_icon__:!0,name:`Icon`,inheritAttrs:!1,props:Object.assign(Object.assign({},r.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:n}=s(e),i=r(`Icon`,`-icon`,_,g,e,t),o=c(()=>{let{depth:t}=e,{common:{cubicBezierEaseInOut:n},self:r}=i.value;if(t!==void 0){let{color:e,[`opacity${t}Depth`]:i}=r;return{"--n-bezier":n,"--n-color":e,"--n-opacity":i}}return{"--n-bezier":n,"--n-color":``,"--n-opacity":``}}),l=n?a(`icon`,c(()=>`${e.depth||`d`}`),o,e):void 0;return{mergedClsPrefix:t,mergedStyle:c(()=>{let{size:t,color:n}=e;return{fontSize:m(t),color:n}}),cssVars:n?void 0:o,themeClass:l?.themeClass,onRender:l?.onRender}},render(){let{$parent:e,depth:t,mergedClsPrefix:n,component:r,onRender:i,themeClass:a}=this;return e?.$options?._n_icon__&&o(`icon`,"don't wrap `n-icon` inside `n-icon`"),i?.(),u(`i`,d(this.$attrs,{role:`img`,class:[`${n}-icon`,a,{[`${n}-icon--depth`]:t,[`${n}-icon--color-transition`]:t!==void 0}],style:[this.cssVars,this.mergedStyle]}),r?u(r):this.$slots)}});export{m as i,g as n,h as r,v as t};
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.