PageSourceSearch

https://static.functionhealth.com/assets/Compact-DmAlu6se.js

js functionhealth.com collected 2026-10-02 04:17:19 UTC 3,915 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9cfef2c7-14d0-47df-8a29-0aa0cf0cfbee`,e._sentryDebugIdIdentifier=`sentry-dbid-9cfef2c7-14d0-47df-8a29-0aa0cf0cfbee`)}catch(e){}})();import{o as e}from"./rolldown-runtime-BqCAy3LS.js";import{n as t}from"./jsx-runtime-TTevM2bl.js";import{C as n,D as r,Lt as i,Pt as a,d as o,j as s}from"./UnstableContext-Dmu0sTlb.js";var c=e(i()),l=e(t());function u(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return l.Children.forEach(e,function(e){e==null&&!t.keepEmpty||(Array.isArray(e)?n=n.concat(u(e)):a(e)&&e.props?n=n.concat(u(e.props.children,t)):n.push(e))}),n}function d(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(e){delete n[e]}),n}var f=e=>{let t=l.useContext(r);return l.useMemo(()=>e?typeof e==`string`?e==null?t:e:typeof e==`function`?e(t):t:t,[e,t])},p=e=>{let{componentCls:t}=e;return{[t]:{"&-block":{display:`flex`,width:`100%`},"&-vertical":{flexDirection:`column`}}}},m=e=>{let{componentCls:t,antCls:n}=e;return{[t]:{display:`inline-flex`,"&-rtl":{direction:`rtl`},"&-vertical":{flexDirection:`column`},"&-align":{flexDirection:`column`,"&-center":{alignItems:`center`},"&-start":{alignItems:`flex-start`},"&-end":{alignItems:`flex-end`},"&-baseline":{alignItems:`baseline`}},[`${t}-item:empty`]:{display:`none`},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:`block`}}}},h=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},g=o(`Space`,e=>{let t=n(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[m(t),h(t),p(t)]},()=>({}),{resetStyle:!1}),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},v=l.createContext(null),y=(e,t)=>{let n=l.useContext(v),r=l.useMemo(()=>{if(!n)return``;let{compactDirection:r,isFirstItem:i,isLastItem:a}=n,o=r===`vertical`?`-vertical-`:`-`;return(0,c.default)(`${e}-compact${o}item`,{[`${e}-compact${o}first-item`]:i,[`${e}-compact${o}last-item`]:a,[`${e}-compact${o}item-rtl`]:t===`rtl`})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},b=e=>{let{children:t}=e;return l.createElement(v.Provider,{value:null},t)},x=e=>{let{children:t}=e,n=_(e,[`children`]);return l.createElement(v.Provider,{value:l.useMemo(()=>n,[n])},t)},S=e=>{let{getPrefixCls:t,direction:n}=l.useContext(s),{size:r,direction:i,block:a,prefixCls:o,className:d,rootClassName:p,children:m}=e,h=_(e,[`size`,`direction`,`block`,`prefixCls`,`className`,`rootClassName`,`children`]),y=f(e=>r==null?e:r),b=t(`space-compact`,o),[S,C]=g(b),w=(0,c.default)(b,C,{[`${b}-rtl`]:n===`rtl`,[`${b}-block`]:a,[`${b}-vertical`]:i===`vertical`},d,p),T=l.useContext(v),E=u(m),D=l.useMemo(()=>E.map((e,t)=>{let n=(e==null?void 0:e.key)||`${b}-item-${t}`;return l.createElement(x,{key:n,compactSize:y,compactDirection:i,isFirstItem:t===0&&(!T||(T==null?void 0:T.isFirstItem)),isLastItem:t===E.length-1&&(!T||(T==null?void 0:T.isLastItem))},e)}),[r,E,T]);return E.length===0?null:S(l.createElement(`div`,Object.assign({className:w},h),D))};export{f as a,g as i,b as n,d as o,y as r,u as s,S as t};
2//# sourceMappingURL=Compact-DmAlu6se.js.map

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.