1import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-DEAHbL4P.js";import{Li as n,O as r,Ri as i,V as a,Vi as o,W as s,Xn as c,Zn as l,b as u,cr as d,en as f,on as p,v as m}from"./RyuPad-YFdtvlQG.js";import{t as h}from"./jsx-runtime-CFwixLRt.js";import{V as g,jt as _}from"./RyuSearchableListView-CcVYBuUq.js";import{a as v,i as y}from"./extends-BG5hghNP.js";import{r as b}from"./StripedPattern-Dag76SGT.js";import{i as ee}from"./mixins-ChIF6bWF.js";import{t as x}from"./RyuFlex-BS71dsHZ.js";import{t as S}from"./RyuActionList-Dr9zbkxc.js";var C=e(t()),w=h();function T({label:e,to:t,href:n,tooltipContent:r,tooltipPosition:i=`top-start`,onClick:a,isBack:o,size:c=`s`,truncate:l=!o,"aria-current":u}){return r?d():(0,w.jsx)(s,{content:e,children:d});function d(s){return(0,w.jsx)(E,{to:t,href:n,color:`hushed`,size:c,variant:o?`arrow-left`:void 0,$maxWidth:l,"aria-current":u,onClick:a,...s||{tooltipContent:r,tooltipPosition:i},children:e})}}var E=v(a).withConfig({displayName:`RyuBreadcrumbRoot`})([``,` `,``],d,e=>e.$maxWidth&&y([`max-width:10rem;`]));function D({breadcrumbs:e,size:t,...r}){return(0,w.jsx)(`nav`,{"aria-label":n(`c766e665`)`Breadcrumb`,children:(0,w.jsx)(x,{gapSizeHorizontal:.25,alignItems:`center`,wrap:!0,...r,children:e.length===1?(0,w.jsx)(T,{isBack:!0,...e[0],size:t}):e.map((n,r)=>{let i=r===e.length-1,a=i&&!n.to&&!n.href&&!n.onClick;return(0,w.jsxs)(x,{gapSizeHorizontal:.25,alignItems:`center`,children:[(0,C.createElement)(T,{...n,key:r,size:t,truncate:!i,"aria-current":a?`page`:void 0}),!i&&(0,w.jsx)(p,{type:`chevron-right`,color:`hushed`})]},r)})})})}var te=v(r.span).withConfig({displayName:`RyuPageHeadingBadgeCount`})([``,``],l({$extraSpace:`left`,$numSpace:4})),ne={s:`s`,m:`m`,l:`l`,xl:`xl`,xxl:`xl`},O={s:`s`,m:`m`,l:`m`,xl:`l`,xxl:`l`},k={s:`m`,m:`m`,l:`m`,xl:`l`,xxl:`l`},A={s:`xs`,m:`s`,l:`m`,xl:`l`,xxl:`xl`},j={s:`xs`,m:`xs`,l:`s`,xl:`s`,xxl:`s`},M={s:`xs`,m:`xs`,l:`s`,xl:`m`,xxl:`m`};function N({children:e,color:t=`primary`,description:n,size:a=`xxl`,paddingHorizontal:s=`none`,makeSpaceForBreadcrumbs:c=!1,bottomBorder:l=!1,as:d,productTitle:p,breadcrumbs:h,avatar:v,badgeCount:y,actions:C=[],menuItems:T=[],menuProps:E={},menuTooltipContent:N,breakSize:F=`xs`,visibleActions:I,...ie}){let{formatNumber:R}=o(),z=u({maxWidth:`tablet`}),B=u({maxWidth:`phablet`}),V=C.filter(_),H=T.filter(_),U=!!h?.length,W=!!p&&!U,G=f(),K=typeof y==`number`&&y>0,q=z?O[a]:ne[a],J=v&&(0,w.jsx)(g,{hasBorder:!0,size:q,...v}),Y=M[a],X=H.length>0,ae=V.length>1||V.length>0&&X,oe=B||ae,Z=V.length>0||X,Q=B&&(!!J||!!n),$=a===`s`||a===`m`?`s`:`m`;return(0,w.jsxs)(ee,{background:`transparent`,padding:[0,s,l?4:0,s],borderBottom:l?`lightShade`:void 0,...ie,children:[(U||W||c)&&(0,w.jsxs)(w.Fragment,{children:[U&&(0,w.jsx)(D,{breadcrumbs:h,size:$}),W&&(0,w.jsx)(r.div,{id:G,color:`hushed`,size:$,children:p}),c&&!U&&!W&&(0,w.jsx)(r.div,{color:`hushed`,size:$,children:`â`}),(0,w.jsx)(b,{size:j[a]})]}),(0,w.jsxs)(x,{gapSize:Y,alignItems:`center`,justifyContent:`spaceBetween`,wrap:oe,noExtraFlexItems:!0,children:[(0,w.jsx)(re,{grow:1,children:(0,w.jsx)(r.h,{level:d?parseInt(d.replace(`h`,``),10):void 0,size:a,color:t,paddingVertical:`none`,"aria-describedby":p?G:void 0,textWrap:`pretty`,children:(0,w.jsxs)(x,{alignItems:`flexStart`,gapSize:Y,gapSizeVertical:`xs`,noExtraFlexItems:!0,wrap:z,children:[J&&(0,w.jsx)(L,{$size:a,children:J}),(0,w.jsx)(P,{grow:1,children:(0,w.jsxs)(`span`,{children:[e,K&&(0,w.jsxs)(te,{size:A[a],color:`hushed`,children:[(0,w.jsxs)(m,{children:[...i(`c14d398e`,`Count: `)]}),R(y,{compact:!0})]})]})})]})})}),!Q&&Z&&(0,w.jsx)(x.Item,{shrink:0,children:(0,w.jsx)(S,{actions:V,size:k[a],_wrap:!1,grow:0,menuSide:B?`right`:`left`,menuItems:H,visibleItems:I,menuProps:{size:k[a],...E,position:`bottom-end`,buttonProps:{tooltipContent:N,tooltipPosition:`left`,...E.buttonProps}}})})]}),n&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(b,{size:F}),(0,w.jsx)(r.div,{color:`hushed`,children:n})]}),Q&&Z&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(b,{size:j[a]}),(0,w.jsx)(S,{actions:V,size:k[a],_wrap:!1,fullWidth:V.length>1,grow:0,menuSide:B?`right`:`left`,menuItems:H,visibleItems:I,menuProps:{size:k[a],...E,position:`bottom-end`,buttonProps:{tooltipContent:N,tooltipPosition:`left`,...E.buttonProps}}})]})]})}var P=v(x.Item).withConfig({displayName:`RyuPageHeadingTitle`})([`max-width:fit-content;flex-basis:400px;`]),re=v(x.Item).withConfig({displayName:`RyuPageHeadingGroup`})([`max-width:fit-content;`,``],c({"flex-basis":{mobile:`640px`,tablet:`400px`}})),F={s:`0.1em`,m:`0`,l:`.25rem`,xl:`-.25rem`,xxl:`.25rem`},I={s:`.05rem`,m:`0`,l:`0`,xl:`-.25rem`,xxl:`0`},L=v(x.Item).withConfig({displayName:`RyuPageHeadingAvatar`})(e=>y([``,``],c({"margin-block-start":{mobile:F[e.$size],tablet:I[e.$size]}})));export{N 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.