1/*! LICENSE: 3307.39feca9ffc.js.LICENSE.txt */ 2"use strict";(self.rspackChunknewapi_web=self.rspackChunknewapi_web||[]).push([[3307],{10032(e,s,a){a.d(s,{y:()=>c});var t=a(72361),r=a(68413),i=a(92429),n=a(5333),l=a(81204),d=a(46775),o=a(54023);function c(e){let{className:s,disabled:a,ref:c,...m}=e,[u,x]=r.useState(!1);return(0,t.jsxs)("div",{className:(0,l.cn)("relative rounded-md",s),children:[(0,t.jsx)(o.p,{type:u?"text":"password",ref:c,disabled:a,...m}),(0,t.jsx)(d.$,{type:"button",size:"icon",variant:"ghost",disabled:a,className:"text-muted-foreground absolute end-1 top-1/2 h-6 w-6 -translate-y-1/2 rounded-md",onClick:()=>x(e=>!e),"aria-label":"Toggle password visibility",children:u?(0,t.jsx)(i.A,{size:18,"aria-hidden":"true"}):(0,t.jsx)(n.A,{size:18,"aria-hidden":"true"})})]})}},92964(e,s,a){a.d(s,{C:()=>o,z:()=>d});var t=a(72361),r=a(7649),i=a(70435),n=a(61409),l=a(81204);function d(e){let{className:s,...a}=e;return(0,t.jsx)(n.z,{"data-slot":"radio-group",className:(0,l.cn)("grid w-full gap-2",s),...a})}function o(e){let{className:s,...a}=e;return(0,t.jsx)(r.U,{"data-slot":"radio-group-item",className:(0,l.cn)("group/radio-group-item peer border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary relative flex aspect-square size-4 shrink-0 rounded-full border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3",s),...a,children:(0,t.jsx)(i.T,{"data-slot":"radio-group-indicator",className:"flex size-4 items-center justify-center",children:(0,t.jsx)("span",{className:"bg-primary-foreground absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full"})})})}},64390(e,s,a){a.r(s),a.d(s,{component:()=>ee});var t=a(72361),r=a(68413),i=a(86832),n=a(96962),l=a(53540),d=a(55667),o=a(82799),c=a(6702),m=a(20598),u=a(81204),x=a(38610),h=a(31005),p=a(97077),g=a(18434),y=a(96855),f=a(46775),j=a(15648),b=a(20769);function v(e){let{t:s}=(0,c.Bd)(),a=e.icon??y.A;return(0,t.jsx)(b._A,{children:(0,t.jsxs)(j.Sv,{className:(0,u.cn)("min-h-[300px]",e.className),children:[(0,t.jsxs)(j.FT,{children:[(0,t.jsx)(j.Kr,{variant:"icon",children:(0,t.jsx)(a,{className:"text-destructive size-6"})}),(0,t.jsx)(j.cz,{children:e.title??s("Oops! Something went wrong")}),null!=e.description&&(0,t.jsx)(j.Ou,{children:e.description})]}),(0,t.jsxs)(j.HY,{children:[null!=e.onRetry&&(0,t.jsx)(f.$,{variant:"outline",size:"sm",onClick:e.onRetry,children:s("Retry")}),e.action]})]})})}var N=a(78576),w=a(55724);let k={sm:"size-4",md:"size-6",lg:"size-8"};function z(e){let{t:s}=(0,c.Bd)(),a=k[e.size??"md"];return e.inline?(0,t.jsxs)("span",{className:(0,u.cn)("inline-flex items-center gap-2",e.className),children:[(0,t.jsx)(w.A,{className:(0,u.cn)(a,"animate-spin")}),null!=e.message&&(0,t.jsx)("span",{className:"text-muted-foreground text-sm",children:e.message})]}):(0,t.jsxs)("div",{className:(0,u.cn)("flex min-h-[200px] flex-col items-center justify-center gap-3",e.className),children:[(0,t.jsx)("div",{className:"animate-spin",children:(0,t.jsx)(w.A,{className:a})}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:e.message??s("Loading...")})]})}var M=a(43923),C=a(73606),S=a(77405),A=a(54023),K=a(10032);function V(e){let{form:s,rootInitialized:a}=e,{t:r}=(0,c.Bd)();return a?(0,t.jsx)(S.Fc,{className:"border-sky-200 bg-sky-50 dark:border-sky-900/60 dark:bg-sky-950/40",children:(0,t.jsxs)(S.TN,{className:"flex items-start gap-2",children:[(0,t.jsx)(C.A,{className:"mt-0.5 size-4 text-sky-500"}),r("The administrator account is already initialized. You can keep your existing credentials and continue to the next step.")]})}):(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsx)(p.zB,{control:s.control,name:"username",render:e=>{let{field:a}=e;return(0,t.jsxs)(p.eI,{children:[(0,t.jsx)(p.lR,{children:r("Administrator username")}),(0,t.jsx)(p.MJ,{children:(0,t.jsx)(A.p,{...a,placeholder:r("Choose a username"),autoComplete:"username",onChange:e=>{s.clearErrors("username"),a.onChange(e)}})}),(0,t.jsx)(p.C5,{})]})}}),(0,t.jsx)(p.zB,{control:s.control,name:"password",render:e=>{let{field:a}=e;return(0,t.jsxs)(p.eI,{children:[(0,t.jsx)(p.lR,{children:r("Password")}),(0,t.jsx)(p.MJ,{children:(0,t.jsx)(K.y,{...a,placeholder:r("Set a secure password (min. 8 characters)"),autoComplete:"new-password",onChange:e=>{s.clearErrors("password"),a.onChange(e)}})}),(0,t.jsx)(p.C5,{})]})}}),(0,t.jsx)(p.zB,{control:s.control,name:"confirmPassword",render:e=>{let{field:a}=e;return(0,t.jsxs)(p.eI,{className:"sm:col-span-2",children:[(0,t.jsx)(p.lR,{children:r("Confirm password")}),(0,t.jsx)(p.MJ,{children:(0,t.jsx)(K.y,{...a,placeholder:r("Repeat the administrator password"),autoComplete:"new-password",onChange:e=>{s.clearErrors("confirmPassword"),a.onChange(e)}})}),(0,t.jsx)(p.C5,{})]})}})]})}var P=a(85949),R=a(72690),E=a(3088);let L={external:"External operations mode",self:"Personal use mode",demo:"Demo site mode"},B={sqlite:"warning",mysql:"success",postgres:"success"};function D(e){let{status:s,values:a}=e,{t:r}=(0,c.Bd)(),i=L[a.usageMode],n=s?.database_type??"Unknown",l=B[n.toLowerCase()]??"neutral";return(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6 text-center",children:[(0,t.jsx)("div",{className:"rounded-2xl bg-emerald-500/10 p-4 text-emerald-600 dark:bg-emerald-500/20 dark:text-emerald-300",children:(0,t.jsx)(P.A,{className:"size-8"})}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:r("Ready to initialize")}),(0,t.jsx)("p",{className:"text-muted-foreground max-w-lg text-sm sm:text-base",children:r("Double check the configuration below. Your system will be locked until initialization is complete.")})]}),(0,t.jsx)("div",{className:"bg-card w-full rounded-xl border p-6 text-left shadow-sm sm:p-8",children:(0,t.jsxs)("dl",{className:"grid gap-6",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)("dt",{className:"text-muted-foreground text-xs font-medium tracking-wide uppercase",children:r("Database")}),(0,t.jsxs)("dd",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm font-semibold",children:n}),(0,t.jsx)(E.Wh,{label:n,variant:l,copyable:!1})]})]}),(0,t.jsx)(R.w,{}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)("dt",{className:"text-muted-foreground text-xs font-medium tracking-wide uppercase",children:r("Administrator account")}
2),(0,t.jsx)("dd",{className:"text-sm font-semibold",children:s?.root_init?r("Existing account will be reused"):a.username||r("Not set yet")})]}),(0,t.jsx)(R.w,{}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)("dt",{className:"text-muted-foreground text-xs font-medium tracking-wide uppercase",children:r("Usage mode")}),(0,t.jsx)("dd",{className:"text-sm font-semibold",children:r(i)})]})]})})]})}var T=a(11397),q=a(9781);let F=(0,q.A)("hard-drive",[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]]);var _=a(95227);let Q={sqlite:{label:"SQLite",descriptionKey:"SQLite stores all data in a single file. Make sure that file is persisted when running in containers.",variant:"warning"},mysql:{label:"MySQL",descriptionKey:"MySQL is a production-ready relational database. Keep your credentials secure.",variant:"success"},postgres:{label:"PostgreSQL",descriptionKey:"PostgreSQL offers advanced reliability and data integrity for production workloads.",variant:"success"}};function I(e){var s;let{status:a}=e,{t:r}=(0,c.Bd)(),i=(s=a?.database_type)?Q[s.toLowerCase()]??{label:s,descriptionKey:"Custom database driver detected.",variant:"info"}:null,n="u">typeof window?window?.electron:void 0,l=!!n?.isElectron,d=n?.dataDir;return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"bg-card flex items-center justify-between rounded-lg border p-4",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("p",{className:"text-muted-foreground text-sm font-medium",children:r("Detected database")}),(0,t.jsx)("p",{className:"text-foreground text-base font-semibold",children:i?.label??r("Unknown")}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:r(i?.descriptionKey??"The setup wizard will use this database during initialization.")})]}),(0,t.jsx)(E.Wh,{label:i?.label??r("Unknown"),variant:i?.variant??"info",className:"cursor-default",copyable:!1,icon:T.A})]}),a?.database_type==="sqlite"&&(0,t.jsxs)(S.Fc,{className:"border-amber-200 bg-amber-50 dark:border-amber-900/60 dark:bg-amber-950/40",children:[(0,t.jsxs)(S.XL,{className:"flex items-center gap-2",children:[(0,t.jsx)(F,{className:"size-4 text-amber-500"}),r("Persist your data file")]}),(0,t.jsxs)(S.TN,{children:[(0,t.jsx)("p",{children:r("When running in containers or ephemeral environments, ensure the SQLite file is mapped to persistent storage to avoid data loss on restart.")}),l&&d&&(0,t.jsxs)("p",{className:"mt-3 rounded-md bg-amber-100/70 px-3 py-2 font-mono text-xs text-amber-800 dark:bg-amber-900/30 dark:text-amber-200",children:[r("Data directory:")," ",d]}),l&&!d&&(0,t.jsx)("p",{className:"text-muted-foreground mt-3 text-xs",children:r("Data is stored locally on this device. Use system backups to keep a safe copy.")})]})]}),a?.database_type==="mysql"&&(0,t.jsxs)(S.Fc,{className:"border-emerald-200 bg-emerald-50 dark:border-emerald-900/60 dark:bg-emerald-950/40",children:[(0,t.jsxs)(S.XL,{className:"flex items-center gap-2",children:[(0,t.jsx)(_.A,{className:"size-4 text-emerald-500"}),r("MySQL detected")]}),(0,t.jsx)(S.TN,{children:r("MySQL is production ready. Ensure automated backups and a dedicated user with the minimal required privileges are configured.")})]}),a?.database_type==="postgres"&&(0,t.jsxs)(S.Fc,{className:"border-sky-200 bg-sky-50 dark:border-sky-900/60 dark:bg-sky-950/40",children:[(0,t.jsxs)(S.XL,{className:"flex items-center gap-2",children:[(0,t.jsx)(_.A,{className:"size-4 text-sky-500"}),r("PostgreSQL detected")]}),(0,t.jsx)(S.TN,{children:r("PostgreSQL offers strong reliability guarantees. Double check your maintenance window and retention policies before going live.")})]})]})}function U(e){let{currentStep:s,totalSteps:a,onBack:r,onNext:i,onSubmit:n,isSubmitting:l=!1}=e,{t:d}=(0,c.Bd)(),o=s===a-1;return(0,t.jsxs)("div",{className:"flex w-full flex-col gap-3 sm:flex-row sm:items-center",children:[(0,t.jsx)("div",{className:"flex justify-end gap-2 sm:justify-start",children:0!==s&&(0,t.jsx)(f.$,{type:"button",variant:"outline",onClick:r,children:d("Back")})}),(0,t.jsxs)("div",{className:"flex flex-1 justify-end gap-2",children:[!
2o&&(0,t.jsx)(f.$,{type:"button",onClick:i,children:d("Next")}),o&&(0,t.jsx)(f.$,{type:"button",onClick:n,disabled:l,children:l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.A,{className:"mr-2 size-4 animate-spin"}),d("Initializingâ¦")]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P.A,{className:"mr-2 size-4"}),d("Initialize system")]})})]})]})}var $=a(18727);let H=(0,q.A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]),J=(0,q.A)("presentation",[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]]);var W=a(61309),Y=a(92964);let O=[{value:"external",titleKey:"External operations",descriptionKey:"Serve multiple users or teams with billing and quota control.",icon:$.A},{value:"self",titleKey:"Personal use",descriptionKey:"Best for single-tenant deployments. Pricing and billing options stay hidden.",icon:H},{value:"demo",titleKey:"Demo site",descriptionKey:"Showcase core capabilities with demo credentials and limited access.",icon:J}];function X(e){let{form:s}=e,{t:a}=(0,c.Bd)();return(0,t.jsx)(p.zB,{control:s.control,name:"usageMode",render:e=>{let{field:r}=e;return(0,t.jsxs)(p.eI,{children:[(0,t.jsx)(p.lR,{children:a("How will you use the platform?")}),(0,t.jsx)(p.MJ,{children:(0,t.jsx)(Y.z,{value:r.value,onValueChange:e=>{s.clearErrors("usageMode"),r.onChange(e)},className:"grid gap-3 sm:grid-cols-3",children:O.map(e=>{let{value:s,titleKey:r,descriptionKey:i,icon:n}=e;return(0,t.jsx)(W.J,{htmlFor:`usage-mode-${s}`,className:(0,u.cn)("hover:border-primary/40 focus-within:border-primary/50 has-data-[checked]:border-primary has-data-[checked]:ring-primary/20 group bg-card border-muted flex cursor-pointer flex-col gap-3 rounded-xl border p-4 font-normal transition-all has-data-[checked]:ring-2"),children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(Y.C,{id:`usage-mode-${s}`,value:s,className:"mt-1"}),(0,t.jsxs)("div",{children:[(0,t.jsx)(W.J,{htmlFor:`usage-mode-${s}`,className:"text-base leading-none font-semibold",children:a(r)}),(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm",children:a(i)})]}),(0,t.jsx)(n,{className:"text-muted-foreground/70 group-hover:text-primary group-focus-within:text-primary group-has-data-[checked]:text-primary ml-auto size-5 shrink-0 transition"})]})},s)})})}),(0,t.jsx)(p.C5,{})]})}})}let Z=[{titleKey:"Database check",descriptionKey:"Verify your database connection"},{titleKey:"Administrator account",descriptionKey:"Create credentials for the root user"},{titleKey:"Usage mode",descriptionKey:"Choose how the platform will operate"},{titleKey:"Review & initialize",descriptionKey:"Confirm settings and finish setup"}],G={username:"",password:"",confirmPassword:"",usageMode:"external"},ee=function(){let{t:e}=(0,c.Bd)(),s=(0,o.Z)(),a=(0,n.jE)(),{systemName:y,logo:f,loading:j}=(0,x.R)(),[b,w]=(0,r.useState)(0),[k,C]=(0,r.useState)(),S=(0,i.mN)({defaultValues:G,mode:"onBlur"}),A=S.watch(),{data:K,isLoading:P,isError:R,refetch:E}=(0,l.I)({queryKey:["setup-status"],queryFn:M.YA,retry:!1}),L=(0,d.n)({mutationKey:["setup-submit"],mutationFn:M.OF,onSuccess:async t=>{t.success?(m.oR.success(e("System initialized successfully! Redirectingâ¦")),await a.invalidateQueries({queryKey:["setup-status"]}),setTimeout(()=>{s({to:"/"})},1200)):m.oR.error(t.message||e("Initialization failed, please try again."))},onError:()=>{m.oR.error(e("Failed to initialize system"))}});(0,r.useEffect)(()=>{if(!K)return;if(!K.success)return void m.oR.error(K.message||e("Failed to load setup status"));let a=K.data;if(a){if(a.status)return void s({to:"/"});C(a),w(0),a.SelfUseModeEnabled?S.setValue("usageMode","self",{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1}):a.DemoSiteEnabled?S.setValue("usageMode","demo",{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1}):S.setValue("usageMode","external",{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1})}},[K,s,S]),(0,r.useEffect)(()=>{k&&k.root_init&&(S.setValue("username","",{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1}),S.setValue("password","",{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1}),S.setValue("confirmPassword","",{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1}))},[k,S]);let B=(0,r.useMemo)(()=>0===b?(0,t.jsx)(I,{status:k}):1===b?(0,t.jsx)(V,{form:S,rootInitialized:!!k?.root_init}):2===b?(0,t.jsx)(X,{form:S}):(0,t.jsx)(D,{status:k,values:A}),[b,k,S,A]),T=()=>{if(k?.root_init)return!0;let s=S.getValues("username")?.trim(),a=S.getValues("password")?.trim(),t=S.getValues("confirmPassword")?.trim();return s?!a||a.length<8?(S.setError("password",{type:"manual",message:e("Password must be at least 8 characters long")}),m.oR.error(e("Password must be at least 8 characters long")),!1):a===t||(S.setError("confirmPassword",{type:"manual",message:e("Passwords do not match")}),m.oR.error(e("Passwords do not match")),!1):(S.setError("username",{type:"manual",message:e("Please enter an administrator username")}),m.oR.error(e("Please enter an administrator username")),!1)},q=()=>!!S.getValues("usageMode")||(S.setError("usageMode",{type:"manual",message:e("Select a usage mode to continue")}),m.oR.error(e("Select a usage mode to continue")),!1),F=async()=>{let e=T(),s=q();if(!e||!s)return;let a=(0,M.s_)(S.getValues(),!!k?.root_init);L.mutate(a)};return(0,t.jsxs)("div",{className:"bg-muted/40 relative min-h-svh py-10",children:[(0,t.jsx)("div",{className:"absolute top-4 right-4 sm:top-6 sm:right-6",children:(0,t.jsx)(N.c,{})}),(0,t.jsxs)("div",{className:"container mx-auto flex max-w-5xl flex-col gap-8 px-4 sm:px-6",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[(0,t.jsx)("div",{className:"relative h-12 w-12",children:j?(0,t.jsx)(g.E,{className:"absolute inset-0 rounded-full"}):(0,t.jsx)("img",{src:f,alt:e("System logo"),className:"h-12 w-12 rounded-full object-cover shadow-sm"})}),j?(0,t.jsx)(g.E,{className:"h-7 w-40"}):(0,t.jsxs)("h1",{className:"text-2xl font-semibold tracking-tight",children:[e("Initialize")," ",y]}),(0,t.jsx)("p",{className:"text-muted-foreground text-center text-sm sm:text-base",children:e("Follow the guided steps to prepare your workspace before the first login.")})]}),(0,t.jsxs)(h.Zp,{className:"shadow-lg",children:[(0,t.jsxs)(h.aR,{className:"space-y-2",children:[(0,t.jsx)(h.ZB,{className:"text-xl font-semibold",children:e("System setup wizard")}),(0,t.jsx)(h.BT,{children:e("Complete these steps to finish the initial installation.")})]}),(0,t.jsxs)(h.Wu,{className:"space-y-6",children:[(0,t.jsx)("ol",{className:"grid gap-3 sm:grid-cols-4",children:Z.map((s,a)=>{let r=b===a,i=b>a;return(0,t.jsx)("li",{className:(0,u.cn)("rounded-xl border p-3",r?"border-primary ring-primary/20 ring-2":i?"border-primary/40 bg-primary/5":"border-muted bg-card"),children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("span",{className:(0,u.cn)("flex size-6 items-center justify-center rounded-md border text-xs font-semibold",r||i?"border-primary bg-primary text-primary-foreground":"border-muted-foreground
2/40 text-muted-foreground"),children:a+1}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("p",{className:"text-sm font-semibold",children:e(s.titleKey)}),(0,t.jsx)("p",{className:"text-muted-foreground text-xs",children:e(s.descriptionKey)})]})]})},s.titleKey)})}),P?(0,t.jsx)(z,{message:e("Loading setup statusâ¦")}):R?(0,t.jsx)(v,{title:e("We could not load the setup status."),onRetry:()=>E()}):(0,t.jsx)(p.lV,{...S,children:(0,t.jsx)("form",{className:"space-y-6",onSubmit:e=>e.preventDefault(),children:B})})]}),!P&&!R&&(0,t.jsx)(h.wL,{className:"w-full justify-end border-t",children:(0,t.jsx)(U,{currentStep:b,totalSteps:Z.length,onBack:()=>{w(e=>Math.max(e-1,0))},onNext:()=>{1===b&&!T()||(2!==b||q())&&w(e=>Math.min(e+1,Z.length-1))},onSubmit:F,isSubmitting:L.isPending})})]})]})]})}},18727(e,s,a){a.d(s,{A:()=>t});let t=(0,a(9781).A)("building-2",[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]])},95227(e,s,a){a.d(s,{A:()=>t});let t=(0,a(9781).A)("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]])},73606(e,s,a){a.d(s,{A:()=>t});let t=(0,a(9781).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])}}]);
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.