PageSourceSearch

https://vmppass.com/vault/static/js/515.34af36d0.chunk.js

js vmppass.com collected 2026-10-02 01:49:03 UTC 2,246 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkpm_vault_frontend=self.webpackChunkpm_vault_frontend||[]).push([[515],{3515(e,r,a){a.r(r),a.d(r,{default:()=>l});var t=a(5043),d=a(3216),n=a(9187),s=a(6930),o=a(7359),i=a(579);function l(){const{t:e}=(0,s.Bd)(),r=(0,d.Zp)(),a=(0,n.A)(e=>e.createOrg),[l,c]=(0,t.useState)(""),[m,g]=(0,t.useState)(!1),[b,u]=(0,t.useState)("");return(0,i.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-gray-50 dark:bg-gray-900 px-4",children:(0,i.jsxs)("div",{className:"w-full max-w-md rounded-2xl border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 p-8 shadow-lg",children:[(0,i.jsx)("h1",{className:"text-2xl font-bold text-gray-800 dark:text-white mb-2",children:e("admin.onboarding.title")}),(0,i.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400 mb-6",children:e("admin.onboarding.subtitle")}),(0,i.jsxs)("form",{onSubmit:async t=>{if(t.preventDefault(),!l.trim())return;g(!0),u("");const d=await a({orgName:l.trim()});g(!1),d.success?((0,o.u_)("console_org_created"),r("/console/dashboard",{replace:!0})):u(d.error||e("admin.onboarding.error"))},className:"space-y-4",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{htmlFor:"orgName",className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1",children:e("admin.onboarding.orgNameLabel")}),(0,i.jsx)("input",{id:"orgName",type:"text",value:l,onChange:e=>c(e.target.value),placeholder:e("admin.onboarding.orgNamePlaceholder"),className:"w-full rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 px-4 py-2.5 text-sm text-gray-800 dark:text-white placeholder-gray-400 focus:border-blue-500 focus:ring-1 focus:ring-blue-500",required:!0,autoFocus:!0})]}),b&&(0,i.jsx)("p",{className:"text-sm text-red-500",children:b}),(0,i.jsx)("button",{type:"submit",disabled:m||!l.trim(),className:"w-full rounded-lg bg-brand-primary px-4 py-2.5 text-sm font-medium text-white hover:bg-brand-primary-hover disabled:opacity-50 transition-colors",children:e(m?"admin.onboarding.creating":"admin.onboarding.create")})]}),(0,i.jsx)("p",{className:"mt-4 text-center text-xs text-gray-400",children:e("admin.onboarding.trialNote")})]})})}}}]);
2//# sourceMappingURL=515.34af36d0.chunk.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.