1import{r as C,j as e}from"./vendor-react.ELhBuE2q.js";import{u as _}from"./useLoadingDelay.MF0gz2GG.js";import{n as $,a as k,b as w,z as T,F as E,B as d,E as L}from"./app-shared.CdUkAbk4.js";import{u as S}from"./vendor-i18n.DvM0XvO9.js";import{u as A}from"./vendor-router.aN8wpDPU.js";import"./vendor-ui.BSTRh9Ug.js";import"./vendor-moment.BLMuvzoS.js";import"./vendor-axios.NIGUFBhG.js";const B="ui-monospace, 'JetBrains Mono', monospace",U=({children:g})=>{var x,m,h,u;const{t:l}=S(),y=A(),f=_(1e3,y.pathname),{selectedElement:M,setSelectedElement:j}=$(),{useEditor:v}=k(),{webSetting:t,jsonSetting:r}=w(),s=T("cyberpunk"),i=E("text_glitch_cyberpunk","#FF003C");let a,n,o;try{const p=(m=(x=r.layout_login)==null?void 0:x.name)==null?void 0:m.box;o=(h=r.position_logo_login)==null?void 0:h.position,a=(p==null?void 0:p.style)||"default",n=Array.isArray(a)?a:[a],$forwardCreateCSS(a,(u=r==null?void 0:r.layout_login)==null?void 0:u.styles)}catch{console.error("forwardCreateCSS error:")}const c=C.useRef(null),N=()=>{!v||!c.current||j({styleName:"box",classStyle:a,type:"layout_login",ref:c.current})},b=()=>e.jsxs(L,{speed:1,width:450,height:420,viewBox:"0 0 400 500",backgroundColor:"#3a3a2e42",foregroundColor:"#52524366",children:[e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"400",height:"60"}),e.jsx("rect",{x:"0",y:"80",rx:"0",ry:"0",width:"400",height:"60"}),e.jsx("rect",{x:"0",y:"160",rx:"0",ry:"0",width:"400",height:"60"}),e.jsx("rect",{x:"0",y:"240",rx:"0",ry:"0",width:"400",height:"60"})]});return e.jsxs("div",{className:"layout_login_register relative",style:{background:"linear-gradient(180deg, var(--c-primary-900, #0B0B06) 0%, var(--c-primary-900, #15150C) 100%)",minHeight:"100vh"},children:[e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",style:{background:`repeating-linear-gradient(0deg, transparent 0 39px, ${s}0D 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, ${s}0D 39px 40px)`}}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute top-0 left-0 right-0 h-[3px]",style:{background:`repeating-linear-gradient(-45deg, ${s} 0 10px, transparent 10px 20px)`}}),o=="top"&&e.jsx("div",{className:"flex justify-center mt-[40px] mb-[20px]",children:e.jsx("img",{src:d(t==null?void 0:t.logo),width:"auto",className:"h-[110px]",alt:l("sample_image")})}),e.jsxs("div",{className:`${n[0]} ${n[1]} `,style:{marginTop:o==="middle"?"120px":"50px"},children:[e.jsxs("div",{"aria-hidden":"true",className:"flex items-center justify-between px-1 mb-2",style:{fontFamily:B},children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"inline-block w-2 h-2 animate-pulse",style:{background:i,boxShadow:`0 0 5px ${i}`}}),e.jsx("span",{style:{color:s,fontSize:"11px",fontWeight:"800",letterSpacing:"0.22em",textTransform:"uppercase"},children:"NC//AUTH_TERMINAL"})]}),e.jsx("span",{style:{color:`${s}99`,fontSize:"10px",fontWeight:"800",letterSpacing:"0.16em"},children:"SEC.LINK::OK"})]}),e.jsxs("div",{ref:c,onClick:N,className:n[2],children:[o=="middle"&&e.jsx("div",{className:"relative h-[50px] flex justify-center mt-[10px] mb-[30px] ",children:e.jsx("img",{src:d(t==null?void 0:t.logo),width:"auto",className:"h-[110px] absolute top-[-80px]",alt:l("sample_image")})}),o=="inside"&&e.jsx("div",{className:"flex justify-center mt-[10px] mb-[30px]",children:e.jsx("img",{src:d(t==null?void 0:t.logo),width:"auto",className:"h-[110px]",alt:l("sample_image")})}),f?e.jsx("div",{className:"p-[20px]",children:e.jsx(b,{})}):g]}),e.jsx("div",{"aria-hidden":"true",className:"mt-2 mx-1 h-[2px] pointer-events-none",style:{background:`linear-gradient(90deg, ${s} 0%, ${s} 72%, ${i} 72%, ${i} 78%, transparent 78%)`,boxShadow:`0 0 8px ${s}40`}})]})]})};export{U 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.