PageSourceSearch

https://blog.layer3.press/assets/confirm-action-C85pmD9O.js

js layer3.press collected 2026-09-25 22:30:06 UTC 2,007 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="28a5dad8-e60a-541e-b7b4-7f4eeca9da02")}catch(e){}}();
3import{j as e}from"./jsx-runtime-DZVU9X6G.js";import{T as r,B as o}from"./menu-BoPGRoWb.js";import"./components-CYeFwWov.js";import"./errorBoundaries-TFHxOvUH.js";import{A as h,a as n,b as u,c as g,d as j,e as y,f as w}from"./alert-dialog-D6V7HZZz.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"press@5ae8b8a03469b0351f567aff43f11e4df5cb5424"}}catch{}})();const b="/assets/alert-BP2fBOE3.png";function N({onClose:t,onAction:l,trigger:a,title:d,description:c,open:m,children:s,isDestructive:i=!1,confirmLabel:p="OK",cancelLabel:x="Cancel",variant:f=i?"destructive":"primary"}){return e.jsxs(h,{open:m,children:[a&&e.jsx(n,{asChild:!0,children:a}),s&&e.jsx(n,{asChild:!0,children:s}),e.jsxs(u,{children:[e.jsxs(g,{children:[e.jsx(j,{asChild:!0,children:e.jsxs("div",{className:"min-w-0",children:[e.jsx("img",{className:"p-2 mb-2 ml-[-8px]",src:b,alt:"Alert Icon",width:80,height:80}),e.jsx(r.Title1,{"data-text-color":"primary","data-text-emphasized":!0,className:"min-w-0 w-full max-w-[17rem]",style:{textWrap:"pretty"},children:d})]})}),e.jsx(y,{asChild:!0,children:e.jsx("div",{className:"min-w-0",style:{marginTop:12},children:e.jsx(r.Title3,{className:"min-w-0 w-full max-w-[17rem]","data-text-color":"secondary",style:{textWrap:"pretty"},children:c})})})]}),e.jsxs(w,{children:[e.jsx(o,{variant:"outline",style:{borderRadius:"999px"},size:"lg",onClick:()=>t?.(),children:x}),e.jsx(o,{variant:f,size:"lg",onClick:()=>l(),style:{borderRadius:"999px"},"data-testid":"confirm-delete-button",children:i?"Delete":p})]})]})]})}export{N as C};
4
5//# debugId=28a5dad8-e60a-541e-b7b4-7f4eeca9da02

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.