PageSourceSearch

https://cdn.airia.ai/2.995.4/assets/PageContentLayout-B9awWCem.js

js airia.ai collected 2026-10-05 11:49:24 UTC 4,622 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:{};e.SENTRY_RELEASE={id:`2.995.4`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`a5de3cf0-182c-47ca-9eeb-1b28bb6d5fdc`,e._sentryDebugIdIdentifier=`sentry-dbid-a5de3cf0-182c-47ca-9eeb-1b28bb6d5fdc`)}catch{}})();import{o as e}from"./rolldown-runtime-Zxr0Kps3.js";import{a as t}from"./vendor-auth-CZ8FLrTd.js";import{t as n}from"./vendor-react-CH1Xpkpz.js";import{i as r}from"./vendor-i18n-BV09nu9i.js";import{HX as i,uM as a}from"./vendor-lucide-icons-BoQnD_A_.js";import{Af as o,Cf as s,Ds as c,Tf as l,bf as u,xf as d}from"./vendor-ui-xpIZtKXP.js";import{l as f,m as p,p as m,u as h}from"./pageCrumb-_igiWFlj.js";import{n as g}from"./AppShellPageFrame-BfeS_DTb.js";import{t as _}from"./HeaderStore-C1Sz42nC.js";var v=e(t(),1),y=n(),b=({description:e,tutorial:t,label:n,testId:i})=>{let{t:c}=r(),[f,p]=(0,v.useState)(!1),m=(0,v.useRef)(!1);return!e&&!t?null:(0,y.jsx)(u,{"data-sentry-element":`TooltipProvider`,"data-sentry-component":`PageInfoButton`,"data-sentry-source-file":`PageInfoButton.tsx`,children:(0,y.jsxs)(o,{open:f,onOpenChange:e=>{e&&m.current||p(e)},"data-sentry-element":`Tooltip`,"data-sentry-source-file":`PageInfoButton.tsx`,children:[(0,y.jsx)(s,{asChild:!0,"data-sentry-element":`TooltipTrigger`,"data-sentry-source-file":`PageInfoButton.tsx`,children:(0,y.jsx)(d,{type:`button`,variant:`ghost`,size:`iconSm`,"aria-label":t?.label??n??c(`description`),className:`text-muted-foreground`,"data-testid":i??`page-info-trigger`,onPointerEnter:()=>{m.current=!1},onBlur:()=>{t?.isOpen||(m.current=!1)},onClick:e=>{e.preventDefault(),t?(p(!1),m.current=!0,t.open()):p(!0)},"data-sentry-element":`Button`,"data-sentry-source-file":`PageInfoButton.tsx`,children:(0,y.jsx)(a,{"aria-hidden":`true`,className:`size-4`,"data-sentry-element":`Info`,"data-sentry-source-file":`PageInfoButton.tsx`})})}),(0,y.jsxs)(l,{className:`max-w-sm`,"data-sentry-element":`TooltipContent`,"data-sentry-source-file":`PageInfoButton.tsx`,children:[e&&(0,y.jsx)(`p`,{children:e}),t&&(0,y.jsx)(`p`,{className:e?`mt-1 text-muted-foreground`:void 0,children:t.label})]})]})})};function x(e,t){let{setHeaderHeight:n}=_();(0,v.useEffect)(()=>{if(!t)return;let r=S(e.current);if(!r){n(0);return}let i=new ResizeObserver(e=>{for(let t of e){let e=t.borderBoxSize[0]?.blockSize??r.offsetHeight;e>0&&n(e)}});return i.observe(r),()=>{i.disconnect(),n(0)}},[t,e,n])}function S(e){let t=e?.firstElementChild?.firstElementChild?.firstElementChild?.firstElementChild;return t instanceof HTMLElement&&t.querySelector(`h1, h2, h3`)?t:null}var C=(0,v.createContext)({display:`hidden`}),w=C.Provider;function T(e,t,n){let{display:r,InfoButton:i=b}=(0,v.useContext)(C),a=t??r;return{subtitle:a===`inline`?e:void 0,titleEndAdornment:(0,y.jsxs)(y.Fragment,{children:[n,(0,y.jsx)(i,{description:a===`tooltip`?e:void 0})]})}}var E=({crumbLabel:e,crumbAncestors:t,subtitleDisplay:n,...r})=>{let a=f(),o=h(),s=T(r.subtitle,n,r.titleEndAdornment),{InfoButton:l=b}=(0,v.useContext)(C);p(o?r.title:void 0,r.subtitle);let u=(0,v.useRef)(null);x(u,!!r.collapsibleHeader&&!o);let _=!!(r.backButtonLabel||r.onBackButtonClick),S=e===void 0?r.title:e,w=a&&_&&!!S;if(m(w&&S?{label:S,onBack:r.onBackButtonClick,ancestors:t}:null),o){let e=_&&!w?(0,y.jsxs)(d,{type:`button`,variant:`link`,size:`sm`,onClick:()=>r.onBackButtonClick?.(),className:`m-0 flex gap-2 self-start ps-0 no-underline`,children:[(0,y.jsx)(i,{className:`size-4`,"aria-hidden":`true`}),r.backButtonLabel]}):void 0;return(0,y.jsx)(g,{title:r.title,headingLevel:r.titleHeadingLevel,backButton:e,headerContentSlot:r.headerContentSlot,stickyHeader:r.stickyHeader,maxWidthClassName:typeof r.maxWidthClassName==`string`?r.maxWidthClassName:r.constrainMaxWidth?`max-w-screen-2xl`:void 0,actions:(0,y.jsxs)(y.Fragment,{children:[r.titleEndAdornment,(0,y.jsx)(l,{}),r.actionSlot,r.supportiveActionLabel&&(0,y.jsx)(d,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>
1r.onSupportiveActionClick?.(),children:r.supportiveActionLabel}),r.mainActionLabel&&(0,y.jsx)(d,{type:`button`,size:`sm`,onClick:()=>r.onMainActionClick?.(),children:r.mainActionLabel})]}),children:r.children})}let{backButtonLabel:E,onBackButtonClick:D,...O}=r,k=(0,y.jsx)(c,{...w?O:r,...s});return r.collapsibleHeader?(0,y.jsx)(`div`,{ref:u,className:`contents`,"data-sentry-component":`PageContentLayout`,"data-sentry-source-file":`PageContentLayout.tsx`,children:k}):k};export{b as i,w as n,T as r,E as t};
2//# sourceMappingURL=PageContentLayout-B9awWCem.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.