1import{r as v,j as e}from"./vendor-react.ELhBuE2q.js";import{b as y,n as f,z as S,o as j,A as w,am as k}from"./app-shared.h8CQ8Dik.js";import{a as C,c as N,G as I,d as z}from"./BlackNoir.BmqRGaRU.js";import"./vendor-ui.BSTRh9Ug.js";import"./vendor-i18n.DvM0XvO9.js";import"./vendor-router.aN8wpDPU.js";import"./vendor-moment.BLMuvzoS.js";import"./vendor-axios.NIGUFBhG.js";function M({data:r,onClose:m,children:x}){var c,p,d;const{jsonSetting:a}=y(),{setSelectedElement:b}=f(),o=S("blacknoir"),[s,n]=v.useState(!1),u=(r==null?void 0:r.type)==="LogRegisModal",g=(typeof $web_name<"u"&&$web_name?$web_name:"BLACK NOIR").toUpperCase(),i="base_blacknoir";let l;try{const t=j(a,"modal",i)||((p=(c=a.modal)==null?void 0:c.name)==null?void 0:p.base);l=(t==null?void 0:t.style)||"default",$forwardCreateCSS(l,(d=a==null?void 0:a.modal)==null?void 0:d.styles)}catch{console.error("forwardCreateCSS error:")}const h=t=>{t.stopPropagation(),b({styleName:i,classStyle:l,type:"modal",ref:t.target})};return e.jsx(e.Fragment,{children:e.jsxs("div",{className:`relative mx-auto base-modal-style blacknoir-modal ${l||""}`,style:{overflow:"visible",maxWidth:"min(560px, 100%)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"},children:[e.jsx(C,{}),e.jsx("div",{"aria-hidden":"true",className:"absolute pointer-events-none",style:{inset:"6px",border:"1px solid rgba(var(--c-primary-rgb, 212, 175, 55),0.16)",zIndex:2}}),e.jsx("div",{"aria-hidden":"true",className:"absolute pointer-events-none",style:{top:"6px",left:"6px",right:"6px",height:"1px",background:"linear-gradient(90deg, transparent 0%, rgba(var(--c-primary-rgb, 212, 175, 55),0.75) 50%, transparent 100%)",boxShadow:"0 0 10px rgba(var(--c-primary-rgb, 212, 175, 55),0.45)",zIndex:3}}),!u&&e.jsxs("div",{className:"relative text-center",style:{zIndex:4,margin:"0 auto 16px auto",maxWidth:"260px",width:"100%"},children:[e.jsx("div",{className:"blacknoir-gold",style:{fontFamily:N,fontSize:"13px",fontWeight:700,letterSpacing:"0.34em",textIndent:"0.34em",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:g}),e.jsx("div",{style:{maxWidth:"150px",margin:"8px auto 0 auto"},children:e.jsx(I,{})}),e.jsx("div",{style:{marginTop:"7px",fontFamily:z,fontSize:"8px",fontWeight:500,letterSpacing:"0.40em",textIndent:"0.40em",textTransform:"uppercase",color:"var(--c-primary-300, #8F8672)"},children:"members only"})]}),e.jsx(w,{onClick:h,className:"!right-auto !left-1"}),r.events.showCloseButton&&e.jsx("button",{type:"button","aria-label":"close",className:"absolute top-[18px] right-[18px] z-[1000] flex items-center justify-center rounded-full cursor-pointer transition-all duration-200",onClick:()=>m(r.id),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),onFocus:()=>n(!0),onBlur:()=>n(!1),style:{width:"40px",height:"40px",color:s?"var(--c-accent, #8A2233)":o,border:s?"1px solid rgba(var(--c-accent-rgb, 138, 34, 51),0.85)":`1px solid ${o}59`,background:s?"rgba(var(--c-accent-rgb, 138, 34, 51),0.18)":"rgba(10, 9, 8, 0.55)",boxShadow:s?"0 0 20px rgba(var(--c-accent-rgb, 138, 34, 51),0.5)":`0 0 18px ${o}2e, inset 0 0 14px ${o}14`},children:e.jsx(k,{size:17,strokeWidth:1.5})}),e.jsx("div",{className:"relative",style:{zIndex:4},children:x})]})})}export{M as default};
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.