1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./jsx-runtime-D3F0h15I.js";import{a as n}from"./react-intl-D77hBoiN.js";import{Lt as r,Sn as i}from"./poll-Cel6hXZh.js";import{t as a}from"./classnames-CfLRLWYq.js";import{t as o}from"./X.es-rjmvQV_A.js";var s=e(a()),c={modal:`_comp_modal_shell_redesign__modal`,modalElevated:`_comp_modal_shell_redesign__modalElevated`,titleWrapper:`_comp_modal_shell_redesign__titleWrapper`,title:`_comp_modal_shell_redesign__title`,closeButton:`_comp_modal_shell_redesign__closeButton`,actions:`_comp_modal_shell_redesign__actions`,actionsLeft:`_comp_modal_shell_redesign__actionsLeft`,actionsRight:`_comp_modal_shell_redesign__actionsRight`,actionsVertical:`_comp_modal_shell_redesign__actionsVertical`},l=t(),u=({as:e,elevation:t,className:n,children:r,maxWidth:i,style:a,...o})=>(0,l.jsx)(e??`div`,{...o,className:(0,s.default)(n,c.modal,t===2&&c.modalElevated),style:{maxWidth:i?`${i}px`:void 0,...a},children:r}),d=({level:e=1,children:t,className:a,onClose:u,noFocus:d,...f})=>{let p=`h${e}`,m=(0,l.jsx)(i,{as:p,...f,className:(0,s.default)(a,c.title),children:t});return d&&(m=(0,l.jsx)(p,{...f,className:(0,s.default)(a,c.title),children:t})),u?(0,l.jsxs)(`header`,{className:c.titleWrapper,children:[m,(0,l.jsx)(r,{variant:`ghost`,icon:o,onClick:u,className:c.closeButton,children:(0,l.jsx)(n,{id:`lightbox.close`,defaultMessage:`Close`})})]}):m},f=({align:e,as:t,children:n,className:r,...i})=>(0,l.jsx)(t??`div`,{...i,className:(0,s.default)(r,c.actions,e===`left`&&c.actionsLeft,e===`right`&&c.actionsRight,e===`vertical`&&c.actionsVertical),children:n});export{u as n,d as r,f as t}; 2//# sourceMappingURL=redesign-BocrwoxT.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.