PageSourceSearch

https://someplace.social/packs/alert-CwkcaV0D.js

js someplace.social collected 2026-10-05 06:12:06 UTC 1,188 bytes, 2 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./jsx-runtime-D3F0h15I.js";import{c as n}from"./react-intl-CZJDGRhA.js";import{k as r}from"./chevron_right-D4gnplrj.js";import{t as i}from"./classnames-CfLRLWYq.js";import{B as a,K as o}from"./poll-B7YBr8xg.js";var s=e(i()),c=t(),l=({title:e,message:t,action:i,onActionClick:l,onDismiss:u,isActive:d,isLoading:f,animateFrom:p=`side`})=>{let m=n(),h=!!(i&&l);return(0,c.jsxs)(`div`,{className:(0,s.default)(`notification-bar`,{"notification-bar--active":d,"from-side":p===`side`,"from-below":p===`below`}),children:[(0,c.jsxs)(`span`,{className:`notification-bar__content`,children:[!!e&&(0,c.jsx)(`span`,{className:`notification-bar__title`,children:e}),t]}),h&&(0,c.jsx)(`button`,{className:`notification-bar__action`,onClick:l,type:`button`,"aria-hidden":`true`,children:i}),f&&(0,c.jsx)(`span`,{className:`notification-bar__loading-indicator`,children:(0,c.jsx)(o,{})}),u&&!f&&(0,c.jsx)(a,{title:m.formatMessage({id:`dismissable_banner.dismiss`,defaultMessage:`Dismiss`}),icon:`times`,iconComponent:r,className:`notification-bar__dismiss-button`,onClick:u})]})};export{l as t};
2//# sourceMappingURL=alert-CwkcaV0D.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.