PageSourceSearch

https://xterns.ai/assets/PodSponsorship-CblYYbnK.js

js xterns.ai collected 2026-10-05 13:23:26 UTC 88,004 bytes, 16 lines download raw bytes

1import{c as we,j as i,r as P,t as he,v as et,w as tt,L as fe,B as $,A as Y,d as st,U as Ce,C as pe,h as T,m as I,T as rt,x as ne,y as at,p as nt,I as z,s as Se,g as Te}from"./index-DLd_kDlx.js";import{S as it}from"./Seo-Diny__Ix.js";import{g as ye,s as xe,a as ot,F as lt,C as dt,b as ct,u as ut}from"./index.esm-ebI4J_C1.js";import{L as ht}from"./label-D4-ENrYn.js";import{S as mt,a as ft,b as pt,c as xt,d as gt}from"./select-RSrodAEw.js";import{m as h}from"./proxy-D0Q57V63.js";import{S as yt}from"./shield-T2sbDX4y.js";import{C as vt}from"./circle-x-C4PFt3c3.js";import{M as _t}from"./message-square-CtxeCfRz.js";import{E as bt}from"./eye-CRDofLPH.js";import{S as Ie}from"./star-BH1OFEcs.js";import{H as jt}from"./heart-CmTva1zz.js";import{M as kt}from"./monitor-CcmP4yDI.js";import"./index-BdQq_4o_.js";import"./index-Deh-4PO1.js";import"./chevron-down-DpJJsCer.js";import"./chevron-up-M4SAwIjf.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const wt=we("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const Nt=we("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
vendor: 3,741 bytes, lines 11-16
11],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
12 * @license lucide-react v0.462.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const Ct=we("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),St="/assets/xterns-logo-BvojXTXZ.svg",Ee=(s,e,t)=>{if(s&&"reportValidity"in s){const r=ye(t,e);s.setCustomValidity(r&&r.message||""),s.reportValidity()}},Xe=(s,e)=>{for(const t in e.fields){const r=e.fields[t];r&&r.ref&&"reportValidity"in r.ref?Ee(r.ref,t,s):r.refs&&r.refs.forEach(n=>Ee(n,t,s))}},Tt=(s,e)=>{e.shouldUseNativeValidation&&Xe(s,e);const t={};for(const r in s){const n=ye(e.fields,r),a=Object.assign(s[r]||{},{ref:n&&n.ref});if(It(e.names||Object.keys(s),r)){const o=Object.assign({},ye(t,r));xe(o,"root",a),xe(t,r,o)}else xe(t,r,a)}return t},It=(s,e)=>s.some(t=>t.startsWith(e+"."));var Et=function(s,e){for(var t={};s.length;){var r=s[0],n=r.code,a=r.message,o=r.path.join(".");if(!t[o])if("unionErrors"in r){var l=r.unionErrors[0].errors[0];t[o]={message:l.message,type:l.code}}else t[o]={message:a,type:n};if("unionErrors"in r&&r.unionErrors.forEach(function(_){return _.errors.forEach(function(X){return s.push(X)})}),e){var u=t[o].types,f=u&&u[r.code];t[o]=ot(o,e,t,n,f?[].concat(f,r.message):r.message)}s.shift()}return t},Ot=function(s,e,t){return t===void 0&&(t={}),function(r,n,a){try{return Promise.resolve((function(o,l){try{var u=Promise.resolve(s[t.mode==="sync"?"parse":"parseAsync"](r,e)).then(function(f){return a.shouldUseNativeValidation&&Xe({},a),{errors:{},values:t.raw?r:f}})}catch(f){return l(f)}return u&&u.then?u.then(void 0,l):u})(0,function(o){if((function(l){return Array.isArray(l==null?void 0:l.errors)})(o))return{values:{},errors:Tt(Et(o.errors,!a.shouldUseNativeValidation&&a.criteriaMode==="all"),a)};throw o}))}catch(o){return Promise.reject(o)}}},j;(function(s){s.assertEqual=n=>{};function e(n){}s.assertIs=e;function t(n){throw new Error}s.assertNever=t,s.arrayToEnum=n=>{const a={};for(const o of n)a[o]=o;return a},s.getValidEnumValues=n=>{const a=s.objectKeys(n).filter(l=>typeof n[n[l]]!="number"),o={};for(const l of a)o[l]=n[l];return s.objectValues(o)},s.objectValues=n=>s.objectKeys(n).map(function(a){return n[a]}),s.objectKeys=typeof Object.keys=="function"?n=>Object.keys(n):n=>{const a=[];for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&a.push(o);return a},s.find=(n,a)=>{for(const o of n)if(a(o))return o},s.isInteger=typeof Number.isInteger=="function"?n=>Number.isInteger(n):n=>typeof n=="number"&&Number.isFinite(n)&&Math.floor(n)===n;function r(n,a=" | "){return n.map(o=>typeof o=="string"?`'${o}'`:o).join(a)}s.joinValues=r,s.jsonStringifyReplacer=(n,a)=>typeof a=="bigint"?a.toString():a})(j||(j={}));var Oe;(function(s){s.mergeShapes=(e,t)=>({...e,...t})})(Oe||(Oe={}));const m=j.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),D=s=>{switch(typeof s){case"undefined":return m.undefined;case"string":return m.string;case"number":return Number.isNaN(s)?m.nan:m.number;case"boolean":return m.boolean;case"function":return m.function;case"bigint":return m.bigint;case"symbol":return m.symbol;case"object":return Array.isArray(s)?m.array:s===null?m.null:s.then&&typeof s.then=="function"&&s.catch&&typeof s.catch=="function"?m.promise:typeof Map<"u"&&s instanceof Map?m.map:typeof Set<"u"&&s instanceof Set?m.set:typeof Date<"u"&&s instanceof Date?m.date:m.object;default:return m.unknown}}
vendor: 4,673 bytes, line 16
16,d=j.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class F extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(a){return a.message},r={_errors:[]},n=a=>{for(const o of a.issues)if(o.code==="invalid_union")o.unionErrors.map(n);else if(o.code==="invalid_return_type")n(o.returnTypeError);else if(o.code==="invalid_arguments")n(o.argumentsError);else if(o.path.length===0)r._errors.push(t(o));else{let l=r,u=0;for(;u<o.path.length;){const f=o.path[u];u===o.path.length-1?(l[f]=l[f]||{_errors:[]},l[f]._errors.push(t(o))):l[f]=l[f]||{_errors:[]},l=l[f],u++}}};return n(this),r}static assert(e){if(!(e instanceof F))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,j.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){const t={},r=[];for(const n of this.issues)if(n.path.length>0){const a=n.path[0];t[a]=t[a]||[],t[a].push(e(n))}else r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}F.create=s=>new F(s);const ve=(s,e)=>{let t;switch(s.code){case d.invalid_type:s.received===m.undefined?t="Required":t=`Expected ${s.expected}, received ${s.received}`;break;case d.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(s.expected,j.jsonStringifyReplacer)}`;break;case d.unrecognized_keys:t=`Unrecognized key(s) in object: ${j.joinValues(s.keys,", ")}`;break;case d.invalid_union:t="Invalid input";break;case d.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${j.joinValues(s.options)}`;break;case d.invalid_enum_value:t=`Invalid enum value. Expected ${j.joinValues(s.options)}, received '${s.received}'`;break;case d.invalid_arguments:t="Invalid function arguments";break;case d.invalid_return_type:t="Invalid function return type";break;case d.invalid_date:t="Invalid date";break;case d.invalid_string:typeof s.validation=="object"?"includes"in s.validation?(t=`Invalid input: must include "${s.validation.includes}"`,typeof s.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${s.validation.position}`)):"startsWith"in s.validation?t=`Invalid input: must start with "${s.validation.startsWith}"`:"endsWith"in s.validation?t=`Invalid input: must end with "${s.validation.endsWith}"`:j.assertNever(s.validation):s.validation!=="regex"?t=`Invalid ${s.validation}`:t="Invalid";break;case d.too_small:s.type==="array"?t=`Array must contain ${s.exact?"exactly":s.inclusive?"at least":"more than"} ${s.minimum} element(s)`:s.type==="string"?t=`String must contain ${s.exact?"exactly":s.inclusive?"at least":"over"} ${s.minimum} character(s)`:s.type==="number"?t=`Number must be ${s.exact?"exactly equal to ":s.inclusive?"greater than or equal to ":"greater than "}${s.minimum}`:s.type==="bigint"?t=`Number must be ${s.exact?"exactly equal to ":s.inclusive?"greater than or equal to ":"greater than "}${s.minimum}`:s.type==="date"?t=`Date must be ${s.exact?"exactly equal to ":s.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(s.minimum))}`:t="Invalid input";break;case d.too_big:s.type==="array"?t=`Array must contain ${s.exact?"exactly":s.inclusive?"at most":"less than"} ${s.maximum} element(s)`:s.type==="string"?t=`String must contain ${s.exact?"exactly":s.inclusive?"at most":"under"} ${s.maximum} character(s)`:s.type==="number"?t=`Number must be ${s.exact?"exactly":s.inclusive?"less than or equal to":"less than"} ${s.maximum}`:s.type==="bigint"?t=`BigInt must be ${s.exact?"exactly":s.inclusive?"less than or equal to":"less than"} ${s.maximum}`:s.type==="date"?t=`Date must be ${s.exact?"exactly":s.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(s.maximum))}`:t="Invalid input";break;case d.custom:t="Invalid input";break;case d.invalid_intersection_types:t="Intersection results could not be merged";break;case d.not_multiple_of:t=`Number must be a multiple of ${s.multipleOf}`;break;case d.not_finite:t="Number must be finite";break;default:t=e.defaultError,j.assertNever(s)}return{message:t}};let At=ve;function Rt(){return At}const Zt=s=>
vendor: 28,958 bytes, line 16
16{const{data:e,path:t,errorMaps:r,issueData:n}=s,a=[...t,...n.path||[]],o={...n,path:a};if(n.message!==void 0)return{...n,path:a,message:n.message};let l="";const u=r.filter(f=>!!f).slice().reverse();for(const f of u)l=f(o,{data:e,defaultError:l}).message;return{...n,path:a,message:l}};function c(s,e){const t=Rt(),r=Zt({issueData:e,data:s.data,path:s.path,errorMaps:[s.common.contextualErrorMap,s.schemaErrorMap,t,t===ve?void 0:ve].filter(n=>!!n)});s.common.issues.push(r)}class C{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const r=[];for(const n of t){if(n.status==="aborted")return g;n.status==="dirty"&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const r=[];for(const n of t){const a=await n.key,o=await n.value;r.push({key:a,value:o})}return C.mergeObjectSync(e,r)}static mergeObjectSync(e,t){const r={};for(const n of t){const{key:a,value:o}=n;if(a.status==="aborted"||o.status==="aborted")return g;a.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),a.value!=="__proto__"&&(typeof o.value<"u"||n.alwaysSet)&&(r[a.value]=o.value)}return{status:e.value,value:r}}}const g=Object.freeze({status:"aborted"}),te=s=>({status:"dirty",value:s}),S=s=>({status:"valid",value:s}),Ae=s=>s.status==="aborted",Re=s=>s.status==="dirty",J=s=>s.status==="valid",oe=s=>typeof Promise<"u"&&s instanceof Promise;var p;(function(s){s.errToObj=e=>typeof e=="string"?{message:e}:e||{},s.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(p||(p={}));class W{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Ze=(s,e)=>{if(J(e))return{success:!0,data:e.value};if(!s.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new F(s.common.issues);return this._error=t,this._error}}};function v(s){if(!s)return{};const{errorMap:e,invalid_type_error:t,required_error:r,description:n}=s;if(e&&(t||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:n}:{errorMap:(o,l)=>{const{message:u}=s;return o.code==="invalid_enum_value"?{message:u??l.defaultError}:typeof l.data>"u"?{message:u??r??l.defaultError}:o.code!=="invalid_type"?{message:l.defaultError}:{message:u??t??l.defaultError}},description:n}}class b{get description(){return this._def.description}_getType(e){return D(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:D(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new C,ctx:{common:e.parent.common,data:e.data,parsedType:D(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(oe(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){const r={common:{issues:[],async:(t==null?void 0:t.async)??!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:D(e)},n=this._parseSync({data:e,path:r.path,parent:r});return Ze(r,n)}"~validate"(e){var r,n;const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:D(e)};if(!this["~standard"].async)try{const a=this._parseSync({data:e,path:[],parent:t});return J(a)?{value:a.value}:{issues:t.common.issues}}catch(a){(n=(r=a==null?void 0:a.message)==null?void 0:r.toLowerCase())!=null&&n.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(a=>J(a)?{value:a.value}:{issues:t.common.issues})}async parseAsync(e,t){const r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){const r={common:{issues:[],contextualErrorMap:t==null?void 0:t.errorMap,async:!0},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:D(e)},n=this._parse({data:e,path:r.path,parent:r}),a=await(oe(n)?n:Promise.resolve(n));return Ze(r,a)}refine(e,t){const r=n=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(n):t;return this._refinement((n,a)=>{const o=e(n),l=()=>a.addIssue({code:d.custom,...r(n)});return typeof Promise<"u"&&o instanceof Promise?o.then(u=>u?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(e,t){return this._refinement((r,n)=>e(r)?!0:(n.addIssue(typeof t=="function"?t(r,n):t),!1))}_refinement(e){return new K({schema:this,typeName:y.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:t=>this["~validate"](t)}}optional(){return U.create(this,this._def)}nullable(){return ee.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return V.create(this)}promise(){return ue.create(this,this._def)}or(e){return de.create([this,e],this._def)}and(e){return ce.create(this,e,this._def)}transform(e){return new K({...v(this._def),schema:this,typeName:y.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new be({...v(this._def),innerType:this,defaultValue:t,typeName:y.ZodDefault})}brand(){return new rs({typeName:y.ZodBranded,type:this,...v(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new je({...v(this._def),innerType:this,catchValue:t,typeName:y.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Ne.create(this,e)}readonly(){return ke.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Vt=/^c[^\s-]{8,}$/i,Pt=/^[0-9a-z]+$/,$t=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Mt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Ft=/^[a-z0-9_-]{21}$/i,zt=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Lt=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Dt=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Bt="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let ge;const Ut=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Wt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,qt=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Xt=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Ht=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Yt=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,He="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Gt=new RegExp(`^${He}$`);function Ye(s){let e="[0-5]\\d";s.precision?e=`${e}\\.\\d{${s.precision}}`:s.precision==null&&(e=`${e}(\\.\\d+)?`);const t=s.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${t}`}function Jt(s){return new RegExp(`^${Ye(s)}$`)}function Qt(s){let e=`${He}T${Ye(s)}`;const t=[];return t.push(s.local?"Z?":"Z"),s.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function Kt(s,e){return!!((e==="v4"||!e)&&Ut.test(s)||(e==="v6"||!e)&&qt.test(s))}function es(s,e){if(!zt.test(s))return!1;try{const[t]=s.split(".");if(!t)return!1;const r=t.replace(/-/g,"+").replace(/_/g,"/").padEnd(t.length+(4-t.length%4)%4,"="),n=JSON.parse(atob(r));return!(typeof n!="object"||n===null||"typ"in n&&(n==null?void 0:n.typ)!=="JWT"||!n.alg||e&&n.alg!==e)}catch{return!1}}function ts(s,e){return!!((e==="v4"||!e)&&Wt.test(s)||(e==="v6"||!e)&&Xt.test(s))}class B extends b{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==m.string){const a=this._getOrReturnCtx(e);return c(a,{code:d.invalid_type,expected:m.string,received:a.parsedType}),g}const r=new C;let n;for(const a of this._def.checks)if(a.kind==="min")e.data.length<a.value&&(n=this._getOrReturnCtx(e,n),c(n,{code:d.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")e.data.length>a.value&&(n=this._getOrReturnCtx(e,n),c(n,{code:d.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const o=e.data.length>a.value,l=e.data.length<a.value;(o||l)&&(n=this._getOrReturnCtx(e,n),o?c(n,{code:d.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):l&&c(n,{code:d.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")Dt.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"email",code:d.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")ge||(ge=new RegExp(Bt,"u")),ge.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"emoji",code:d.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")Mt.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"uuid",code:d.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")Ft.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"nanoid",code:d.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")Vt.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"cuid",code:d.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")Pt.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"cuid2",code:d.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")$t.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"ulid",code:d.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),c(n,{validation:"url",code:d.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"regex",code:d.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?e.data=e.data.trim():a.kind==="includes"?e.data.includes(a.value,a.position)||(n=this._getOrReturnCtx(e,n),c(n,{code:d.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?e.data=e.data.toLowerCase():a.kind==="toUpperCase"?e.data=e.data.toUpperCase():a.kind==="startsWith"?e.data.startsWith(a.value)||(n=this._getOrReturnCtx(e,n),c(n,{code:d.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?e.data.endsWith(a.value)||(n=this._getOrReturnCtx(e,n),c(n,{code:d.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?Qt(a).test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{code:d.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?Gt.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{code:d.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?Jt(a).test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{code:d.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?Lt.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"duration",code:d.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?Kt(e.data,a.version)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"ip",code:d.invalid_string,message:a.message}),r.dirty()):a.kind==="jwt"?es(e.data,a.alg)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"jwt",code:d.invalid_string,message:a.message}),r.dirty()):a.kind==="cidr"?ts(e.data,a.version)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"cidr",code:d.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?Ht.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"base64",code:d.invalid_string,message:a.message}),r.dirty()):a.kind==="base64url"?Yt.test(e.data)||(n=this._getOrReturnCtx(e,n),c(n,{validation:"base64url",code:d.invalid_string,message:a.message}),r.dirty()):j.assertNever(a);return{status:r.value,value:e.data}}_regex(e,t,r){return this.refinement(n=>e.test(n),{validation:t,code:d.invalid_string,...p.errToObj(r)})}_addCheck(e){return new B({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...p.errToObj(e)})}url(e){return this._addCheck({kind:"url",...p.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...p.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...p.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...p.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...p.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...p.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...p.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...p.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...p.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...p.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...p.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...p.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(e==null?void 0:e.offset)??!1,local:(e==null?void 0:e.local)??!1,...p.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...p.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...p.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...p.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...p.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...p.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...p.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...p.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...p.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...p.errToObj(t)})}nonempty(e){return this.min(1,p.errToObj(e))}trim(){return new B({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new B({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new B({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}B.create=s=>new B({checks:[],typeName:y.ZodString,coerce:(s==null?void 0:s.coerce)??!1,...v(s)});function ss(s,e){const t=(s.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,n=t>r?t:r,a=Number.parseInt(s.toFixed(n).replace(".","")),o=Number.parseInt(e.toFixed(n).replace(".",""));return a%o/10**n}class se extends b{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==m.number){const a=this._getOrReturnCtx(e);return c(a,{code:d.invalid_type,expected:m.number,received:a.parsedType}),g}let r;const n=new C;for(const a of this._def.checks)a.kind==="int"?j.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),c(r,{code:d.invalid_type,expected:"integer",received:"float",message:a.message}),n.dirty()):a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(r=this._getOrReturnCtx(e,r),c(r,{code:d.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),n.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(r=this._getOrReturnCtx(e,r),c(r,{code:d.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),n.dirty()):a.kind==="multipleOf"?ss(e.data,a.value)!==0&&(r=this._getOrReturnCtx(e,r),c(r,{code:d.not_multiple_of,multipleOf:a.value,message:a.message}),n.dirty()):a.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),c(r,{code:d.not_finite,message:a.message}),n.dirty()):j.assertNever(a);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,p.toString(t))}gt(e,t){return this.setLimit("min",e,!1,p.toString(t))}lte(e,t){return this.setLimit("max",e,!0,p.toString(t))}lt(e,t){return this.setLimit("max",e,!1,p.toString(t))}setLimit(e,t,r,n){return new se({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:p.toString(n)}]})}_addCheck(e){return new se({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:p.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:p.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:p.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:p.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:p.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:p.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:p.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:p.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:p.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&j.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(t===null||r.value>t)&&(t=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(t)&&Number.isFinite(e)}}se.create=s=>new se({checks:[],typeName:y.ZodNumber,coerce:(s==null?void 0:s.coerce)||!1,...v(s)});class re extends b{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==m.bigint)return this._getInvalidInput(e);let r;const n=new C;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(r=this._getOrReturnCtx(e,r),c(r,{code:d.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),n.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(r=this._getOrReturnCtx(e,r),c(r,{code:d.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),n.dirty()):a.kind==="multipleOf"?e.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),c(r,{code:d.not_multiple_of,multipleOf:a.value,message:a.message}),n.dirty()):j.assertNever(a);return{status:n.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return c(t,{code:d.invalid_type,expected:m.bigint,received:t.parsedType}),g}gte(e,t){return this.setLimit("min",e,!0,p.toString(t))}gt(e,t){return this.setLimit("min",e,!1,p.toString(t))}lte(e,t){return this.setLimit("max",e,!0,p.toString(t))}lt(e,t){return this.setLimit("max",e,!1,p.toString(t))}setLimit(e,t,r,n){return new re({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:p.toString(n)}]})}_addCheck(e){return new re({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:p.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:p.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:p.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:p.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:p.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}re.create=s=>new re({checks:[],typeName:y.ZodBigInt,coerce:(s==null?void 0:s.coerce)??!1,...v(s)});class Ve extends b{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==m.boolean){const r=this._getOrReturnCtx(e);return c(r,{code:d.invalid_type,expected:m.boolean,received:r.parsedType}),g}return S(e.data)}}Ve.create=s=>new Ve({typeName:y.ZodBoolean,coerce:(s==null?void 0:s.coerce)||!1,...v(s)});class le extends b{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==m.date){const a=this._getOrReturnCtx(e);return c(a,{code:d.invalid_type,expected:m.date,received:a.parsedType}),g}if(Number.isNaN(e.data.getTime())){const a=this._getOrReturnCtx(e);return c(a,{code:d.invalid_date}),g}const r=new C;let n;for(const a of this._def.checks)a.kind==="min"?e.data.getTime()<a.value&&(n=this._getOrReturnCtx(e,n),c(n,{code:d.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?e.data.getTime()>a.value&&(n=this._getOrReturnCtx(e,n),c(n,{code:d.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):j.assertNever(a);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new le({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:p.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:p.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e!=null?new Date(e):null}}le.create=s=>new le({checks:[],coerce:(s==null?void 0:s.coerce)||!1,typeName:y.ZodDate,...v(s)});class Pe extends b{_parse(e){if(this._getType(e)!==m.symbol){const r=this._getOrReturnCtx(e);return c(r,{code:d.invalid_type,expected:m.symbol,received:r.parsedType}),g}return S(e.data)}}Pe.create=s=>new Pe({typeName:y.ZodSymbol,...v(s)});class $e extends b{_parse(e){if(this._getType(e)!==m.undefined){const r=this._getOrReturnCtx(e);return c(r,{code:d.invalid_type,expected:m.undefined,received:r.parsedType}),g}return S(e.data)}}$e.create=s=>new $e({typeName:y.ZodUndefined,...v(s)});class Me extends b{_parse(e){if(this._getType(e)!==m.null){const r=this._getOrReturnCtx(e);return c(r,{code:d.invalid_type,expected:m.null,received:r.parsedType}),g}return S(e.data)}}Me.create=s=>new Me({typeName:y.ZodNull,...v(s)});class Fe extends b{constructor(){super(...arguments),this._any=!0}_parse(e){return S(e.data)}}Fe.create=s=>new Fe({typeName:y.ZodAny,...v(s)});class ze extends b{constructor(){super(...arguments),this._unknown=!0}_parse(e){return S(e.data)}}ze.create=s=>new ze({typeName:y.ZodUnknown,...v(s)});class q extends b{_parse(e){const t=this._getOrReturnCtx(e);return c(t,{code:d.invalid_type,expected:m.never,received:t.parsedType}),g}}q.create=s=>new q({typeName:y.ZodNever,...v(s)});class Le extends b{_parse(e){if(this._getType(e)!==m.undefined){const r=this._getOrReturnCtx(e);return c(r,{code:d.invalid_type,expected:m.void,received:r.parsedType}),g}return S(e.data)}}Le.create=s=>new Le({typeName:y.ZodVoid,...v(s)});class V extends b{_parse(e){const{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==m.array)return c(t,{code:d.invalid_type,expected:m.array,received:t.parsedType}),g;if(n.exactLength!==null){const o=t.data.length>n.exactLength.value,l=t.data.length<n.exactLength.value;(o||l)&&(c(t,{code:o?d.too_big:d.too_small,minimum:l?n.exactLength.value:void 0,maximum:o?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),r.dirty())}if(n.minLength!==null&&t.data.length<n.minLength.value&&(c(t,{code:d.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),r.dirty()),n.maxLength!==null&&t.data.length>n.maxLength.value&&(c(t,{code:d.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((o,l)=>n.type._parseAsync(new W(t,o,t.path,l)))).then(o=>C.mergeArray(r,o));const a=[...t.data].map((o,l)=>n.type._parseSync(new W(t,o,t.path,l)));return C.mergeArray(r,a)}
vendor: 4,379 bytes, line 16
16get element(){return this._def.type}min(e,t){return new V({...this._def,minLength:{value:e,message:p.toString(t)}})}max(e,t){return new V({...this._def,maxLength:{value:e,message:p.toString(t)}})}length(e,t){return new V({...this._def,exactLength:{value:e,message:p.toString(t)}})}nonempty(e){return this.min(1,e)}}V.create=(s,e)=>new V({type:s,minLength:null,maxLength:null,exactLength:null,typeName:y.ZodArray,...v(e)});function G(s){if(s instanceof k){const e={};for(const t in s.shape){const r=s.shape[t];e[t]=U.create(G(r))}return new k({...s._def,shape:()=>e})}else return s instanceof V?new V({...s._def,type:G(s.element)}):s instanceof U?U.create(G(s.unwrap())):s instanceof ee?ee.create(G(s.unwrap())):s instanceof H?H.create(s.items.map(e=>G(e))):s}class k extends b{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),t=j.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==m.object){const f=this._getOrReturnCtx(e);return c(f,{code:d.invalid_type,expected:m.object,received:f.parsedType}),g}const{status:r,ctx:n}=this._processInputParams(e),{shape:a,keys:o}=this._getCached(),l=[];if(!(this._def.catchall instanceof q&&this._def.unknownKeys==="strip"))for(const f in n.data)o.includes(f)||l.push(f);const u=[];for(const f of o){const _=a[f],X=n.data[f];u.push({key:{status:"valid",value:f},value:_._parse(new W(n,X,n.path,f)),alwaysSet:f in n.data})}if(this._def.catchall instanceof q){const f=this._def.unknownKeys;if(f==="passthrough")for(const _ of l)u.push({key:{status:"valid",value:_},value:{status:"valid",value:n.data[_]}});else if(f==="strict")l.length>0&&(c(n,{code:d.unrecognized_keys,keys:l}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const _ of l){const X=n.data[_];u.push({key:{status:"valid",value:_},value:f._parse(new W(n,X,n.path,_)),alwaysSet:_ in n.data})}}return n.common.async?Promise.resolve().then(async()=>{const f=[];for(const _ of u){const X=await _.key,Ke=await _.value;f.push({key:X,value:Ke,alwaysSet:_.alwaysSet})}return f}).then(f=>C.mergeObjectSync(r,f)):C.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(e){return p.errToObj,new k({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,r)=>{var a,o;const n=((o=(a=this._def).errorMap)==null?void 0:o.call(a,t,r).message)??r.defaultError;return t.code==="unrecognized_keys"?{message:p.errToObj(e).message??n}:{message:n}}}:{}})}strip(){return new k({...this._def,unknownKeys:"strip"})}passthrough(){return new k({...this._def,unknownKeys:"passthrough"})}extend(e){return new k({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new k({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:y.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new k({...this._def,catchall:e})}pick(e){const t={};for(const r of j.objectKeys(e))e[r]&&this.shape[r]&&(t[r]=this.shape[r]);return new k({...this._def,shape:()=>t})}omit(e){const t={};for(const r of j.objectKeys(this.shape))e[r]||(t[r]=this.shape[r]);return new k({...this._def,shape:()=>t})}deepPartial(){return G(this)}partial(e){const t={};for(const r of j.objectKeys(this.shape)){const n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()}return new k({...this._def,shape:()=>t})}required(e){const t={};for(const r of j.objectKeys(this.shape))if(e&&!e[r])t[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof U;)a=a._def.innerType;t[r]=a}return new k({...this._def,shape:()=>t})}keyof(){return Ge(j.objectKeys(this.shape))}}k.create=(s,e)=>new k({shape:()=>s,unknownKeys:"strip",catchall:q.create(),typeName:y.ZodObject,...v(e)});k.strictCreate=(s,e)=>new k({shape:()=>s,unknownKeys:"strict",catchall:q.create(),typeName:y.ZodObject,...v(e)});k.lazycreate=(s,e)=>new k({shape:s,unknownKeys:"strip",catchall:q.create(),typeName:y.ZodObject,...v(e)});class de extends b{_parse(e){const{ctx:t}=this._processInputParams(e),r=this._def.options;function n(a){for(const l of a)if(l.result.status==="valid")return l.result;for(const l of a)if(l.result.status==="dirty")return t.common.issues.push(...l.ctx.common.issues),l.result;
vendor: 5,596 bytes, line 16
16const o=a.map(l=>new F(l.ctx.common.issues));return c(t,{code:d.invalid_union,unionErrors:o}),g}if(t.common.async)return Promise.all(r.map(async a=>{const o={...t,common:{...t.common,issues:[]},parent:null};return{result:await a._parseAsync({data:t.data,path:t.path,parent:o}),ctx:o}})).then(n);{let a;const o=[];for(const u of r){const f={...t,common:{...t.common,issues:[]},parent:null},_=u._parseSync({data:t.data,path:t.path,parent:f});if(_.status==="valid")return _;_.status==="dirty"&&!a&&(a={result:_,ctx:f}),f.common.issues.length&&o.push(f.common.issues)}if(a)return t.common.issues.push(...a.ctx.common.issues),a.result;const l=o.map(u=>new F(u));return c(t,{code:d.invalid_union,unionErrors:l}),g}}get options(){return this._def.options}}de.create=(s,e)=>new de({options:s,typeName:y.ZodUnion,...v(e)});function _e(s,e){const t=D(s),r=D(e);if(s===e)return{valid:!0,data:s};if(t===m.object&&r===m.object){const n=j.objectKeys(e),a=j.objectKeys(s).filter(l=>n.indexOf(l)!==-1),o={...s,...e};for(const l of a){const u=_e(s[l],e[l]);if(!u.valid)return{valid:!1};o[l]=u.data}return{valid:!0,data:o}}else if(t===m.array&&r===m.array){if(s.length!==e.length)return{valid:!1};const n=[];for(let a=0;a<s.length;a++){const o=s[a],l=e[a],u=_e(o,l);if(!u.valid)return{valid:!1};n.push(u.data)}return{valid:!0,data:n}}else return t===m.date&&r===m.date&&+s==+e?{valid:!0,data:s}:{valid:!1}}class ce extends b{_parse(e){const{status:t,ctx:r}=this._processInputParams(e),n=(a,o)=>{if(Ae(a)||Ae(o))return g;const l=_e(a.value,o.value);return l.valid?((Re(a)||Re(o))&&t.dirty(),{status:t.value,value:l.data}):(c(r,{code:d.invalid_intersection_types}),g)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,o])=>n(a,o)):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ce.create=(s,e,t)=>new ce({left:s,right:e,typeName:y.ZodIntersection,...v(t)});class H extends b{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==m.array)return c(r,{code:d.invalid_type,expected:m.array,received:r.parsedType}),g;if(r.data.length<this._def.items.length)return c(r,{code:d.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),g;!this._def.rest&&r.data.length>this._def.items.length&&(c(r,{code:d.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const a=[...r.data].map((o,l)=>{const u=this._def.items[l]||this._def.rest;return u?u._parse(new W(r,o,r.path,l)):null}).filter(o=>!!o);return r.common.async?Promise.all(a).then(o=>C.mergeArray(t,o)):C.mergeArray(t,a)}get items(){return this._def.items}rest(e){return new H({...this._def,rest:e})}}H.create=(s,e)=>{if(!Array.isArray(s))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new H({items:s,typeName:y.ZodTuple,rest:null,...v(e)})};class De extends b{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==m.map)return c(r,{code:d.invalid_type,expected:m.map,received:r.parsedType}),g;const n=this._def.keyType,a=this._def.valueType,o=[...r.data.entries()].map(([l,u],f)=>({key:n._parse(new W(r,l,r.path,[f,"key"])),value:a._parse(new W(r,u,r.path,[f,"value"]))}));if(r.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const u of o){const f=await u.key,_=await u.value;if(f.status==="aborted"||_.status==="aborted")return g;(f.status==="dirty"||_.status==="dirty")&&t.dirty(),l.set(f.value,_.value)}return{status:t.value,value:l}})}else{const l=new Map;for(const u of o){const f=u.key,_=u.value;if(f.status==="aborted"||_.status==="aborted")return g;(f.status==="dirty"||_.status==="dirty")&&t.dirty(),l.set(f.value,_.value)}return{status:t.value,value:l}}}}De.create=(s,e,t)=>new De({valueType:e,keyType:s,typeName:y.ZodMap,...v(t)});class ae extends b{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==m.set)return c(r,{code:d.invalid_type,expected:m.set,received:r.parsedType}),g;const n=this._def;n.minSize!==null&&r.data.size<n.minSize.value&&(c(r,{code:d.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),t.dirty()),n.maxSize!==null&&r.data.size>n.maxSize.value&&(c(r,{code:d.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());const a=this._def.valueType;function o(u){const f=new Set;for(const _ of u){if(_.status==="aborted")return g;_.status==="dirty"&&t.dirty(),f.add(_.value)}return{status:t.value,value:f}}const l=[...r.data.values()].map((u,f)=>a._parse(new W(r,u,r.path,f)));return r.common.async?Promise.all(l).then(u=>o(u)):o(l)}min(e,t){return new ae({...this._def,minSize:{value:e,message:p.toString(t)}})}max(e,t){return new ae({...this._def,maxSize:{value:e,message:p.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ae.create=(s,e)=>new ae({valueType:s,minSize:null,maxSize:null,typeName:y.ZodSet,...v(e)});class Be extends b{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}Be.create=(s,e)=>new Be({getter:s,typeName:y.ZodLazy,...v(e)});class Ue extends b{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return c(t,{received:t.data,code:d.invalid_literal,expected:this._def.value}),g}
vendor: 5,096 bytes, line 16
16return{status:"valid",value:e.data}}get value(){return this._def.value}}Ue.create=(s,e)=>new Ue({value:s,typeName:y.ZodLiteral,...v(e)});function Ge(s,e){return new Q({values:s,typeName:y.ZodEnum,...v(e)})}class Q extends b{_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),r=this._def.values;return c(t,{expected:j.joinValues(r),received:t.parsedType,code:d.invalid_type}),g}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const t=this._getOrReturnCtx(e),r=this._def.values;return c(t,{received:t.data,code:d.invalid_enum_value,options:r}),g}return S(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Q.create(e,{...this._def,...t})}exclude(e,t=this._def){return Q.create(this.options.filter(r=>!e.includes(r)),{...this._def,...t})}}Q.create=Ge;class We extends b{_parse(e){const t=j.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==m.string&&r.parsedType!==m.number){const n=j.objectValues(t);return c(r,{expected:j.joinValues(n),received:r.parsedType,code:d.invalid_type}),g}if(this._cache||(this._cache=new Set(j.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const n=j.objectValues(t);return c(r,{received:r.data,code:d.invalid_enum_value,options:n}),g}return S(e.data)}get enum(){return this._def.values}}We.create=(s,e)=>new We({values:s,typeName:y.ZodNativeEnum,...v(e)});class ue extends b{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==m.promise&&t.common.async===!1)return c(t,{code:d.invalid_type,expected:m.promise,received:t.parsedType}),g;const r=t.parsedType===m.promise?t.data:Promise.resolve(t.data);return S(r.then(n=>this._def.type.parseAsync(n,{path:t.path,errorMap:t.common.contextualErrorMap})))}}ue.create=(s,e)=>new ue({type:s,typeName:y.ZodPromise,...v(e)});class K extends b{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===y.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null,a={addIssue:o=>{c(r,o),o.fatal?t.abort():t.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),n.type==="preprocess"){const o=n.transform(r.data,a);if(r.common.async)return Promise.resolve(o).then(async l=>{if(t.value==="aborted")return g;const u=await this._def.schema._parseAsync({data:l,path:r.path,parent:r});return u.status==="aborted"?g:u.status==="dirty"||t.value==="dirty"?te(u.value):u});{if(t.value==="aborted")return g;const l=this._def.schema._parseSync({data:o,path:r.path,parent:r});return l.status==="aborted"?g:l.status==="dirty"||t.value==="dirty"?te(l.value):l}}if(n.type==="refinement"){const o=l=>{const u=n.refinement(l,a);if(r.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?g:(l.status==="dirty"&&t.dirty(),o(l.value),{status:t.value,value:l.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>l.status==="aborted"?g:(l.status==="dirty"&&t.dirty(),o(l.value).then(()=>({status:t.value,value:l.value}))))}if(n.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!J(o))return g;const l=n.transform(o.value,a);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:l}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>J(o)?Promise.resolve(n.transform(o.value,a)).then(l=>({status:t.value,value:l})):g);j.assertNever(n)}}K.create=(s,e,t)=>new K({schema:s,typeName:y.ZodEffects,effect:e,...v(t)});K.createWithPreprocess=(s,e,t)=>new K({schema:e,effect:{type:"preprocess",transform:s},typeName:y.ZodEffects,...v(t)});class U extends b{_parse(e){return this._getType(e)===m.undefined?S(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}U.create=(s,e)=>new U({innerType:s,typeName:y.ZodOptional,...v(e)});class ee extends b{_parse(e){return this._getType(e)===m.null?S(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ee.create=(s,e)=>new ee({innerType:s,typeName:y.ZodNullable,...v(e)});class be extends b{_parse(e){const{ctx:t}=this._processInputParams(e);let r=t.data;return t.parsedType===m.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}be.create=(s,e)=>new be({innerType:s,typeName:y.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...v(e)});
vendor: 4,598 bytes, line 16
16class je extends b{_parse(e){const{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return oe(n)?n.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new F(r.common.issues)},input:r.data})})):{status:"valid",value:n.status==="valid"?n.value:this._def.catchValue({get error(){return new F(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}je.create=(s,e)=>new je({innerType:s,typeName:y.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...v(e)});class qe extends b{_parse(e){if(this._getType(e)!==m.nan){const r=this._getOrReturnCtx(e);return c(r,{code:d.invalid_type,expected:m.nan,received:r.parsedType}),g}return{status:"valid",value:e.data}}}qe.create=s=>new qe({typeName:y.ZodNaN,...v(s)});class rs extends b{_parse(e){const{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class Ne extends b{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?g:a.status==="dirty"?(t.dirty(),te(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const n=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return n.status==="aborted"?g:n.status==="dirty"?(t.dirty(),{status:"dirty",value:n.value}):this._def.out._parseSync({data:n.value,path:r.path,parent:r})}}static create(e,t){return new Ne({in:e,out:t,typeName:y.ZodPipeline})}}class ke extends b{_parse(e){const t=this._def.innerType._parse(e),r=n=>(J(n)&&(n.value=Object.freeze(n.value)),n);return oe(t)?t.then(n=>r(n)):r(t)}unwrap(){return this._def.innerType}}ke.create=(s,e)=>new ke({innerType:s,typeName:y.ZodReadonly,...v(e)});var y;(function(s){s.ZodString="ZodString",s.ZodNumber="ZodNumber",s.ZodNaN="ZodNaN",s.ZodBigInt="ZodBigInt",s.ZodBoolean="ZodBoolean",s.ZodDate="ZodDate",s.ZodSymbol="ZodSymbol",s.ZodUndefined="ZodUndefined",s.ZodNull="ZodNull",s.ZodAny="ZodAny",s.ZodUnknown="ZodUnknown",s.ZodNever="ZodNever",s.ZodVoid="ZodVoid",s.ZodArray="ZodArray",s.ZodObject="ZodObject",s.ZodUnion="ZodUnion",s.ZodDiscriminatedUnion="ZodDiscriminatedUnion",s.ZodIntersection="ZodIntersection",s.ZodTuple="ZodTuple",s.ZodRecord="ZodRecord",s.ZodMap="ZodMap",s.ZodSet="ZodSet",s.ZodFunction="ZodFunction",s.ZodLazy="ZodLazy",s.ZodLiteral="ZodLiteral",s.ZodEnum="ZodEnum",s.ZodEffects="ZodEffects",s.ZodNativeEnum="ZodNativeEnum",s.ZodOptional="ZodOptional",s.ZodNullable="ZodNullable",s.ZodDefault="ZodDefault",s.ZodCatch="ZodCatch",s.ZodPromise="ZodPromise",s.ZodBranded="ZodBranded",s.ZodPipeline="ZodPipeline",s.ZodReadonly="ZodReadonly"})(y||(y={}));const L=B.create;q.create;V.create;const as=k.create;de.create;ce.create;H.create;const ns=Q.create;ue.create;U.create;ee.create;const is=lt,Je=P.createContext({}),M=({...s})=>i.jsx(Je.Provider,{value:{name:s.name},children:i.jsx(dt,{...s})}),me=()=>{const s=P.useContext(Je),e=P.useContext(Qe),{getFieldState:t,formState:r}=ct(),n=t(s.name,r);if(!s)throw new Error("useFormField should be used within <FormField>");const{id:a}=e;return{id:a,name:s.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...n}},Qe=P.createContext({}),O=P.forwardRef(({className:s,...e},t)=>{const r=P.useId();return i.jsx(Qe.Provider,{value:{id:r},children:i.jsx("div",{ref:t,className:he("space-y-2",s),...e})})});O.displayName="FormItem";const A=P.forwardRef(({className:s,...e},t)=>{const{error:r,formItemId:n}=me();return i.jsx(ht,{ref:t,className:he(r&&"text-destructive",s),htmlFor:n,...e})});A.displayName="FormLabel";const R=P.forwardRef(({...s},e)=>{const{error:t,formItemId:r,formDescriptionId:n,formMessageId:a}=me();return i.jsx(et,{ref:e,id:r,"aria-describedby":t?`${n} ${a}`:`${n}`,"aria-invalid":!!t,...s})});R.displayName="FormControl";const os=P.forwardRef(({className:s,...e},t)=>{const{formDescriptionId:r}=me();return i.jsx("p",{ref:t,id:r,className:he("text-sm text-muted-foreground",s),...e})});os.displayName="FormDescription";const Z=P.forwardRef(({className:s,children:e,...t},r)=>{const{error:n,formMessageId:a}=me(),o=n?String(n==null?void 0:n.message):e;return o?i.jsx("p",{ref:r,id:a,className:he("text-sm font-medium text-destructive",s),...t,children:o}):null});Z.displayName="FormMessage";const ie="https://outlook.office.com/book/[email protected]/?ism
16saljsauthenabled=true",x={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},w={visible:{transition:{staggerChildren:.12}}},ls=[{value:"xtern_fusion",label:"Xtern Fusion"},{value:"xtern_vanguard",label:"Xtern Vanguard"},{value:"xtern_portfolio",label:"Xtern Portfolio"}],ds=as({company_name:L().trim().min(1,"Company name is required").max(200),industry:L().trim().min(1,"Industry is required").max(200),company_size:L().trim().min(1,"Company size is required").max(100),company_location:L().trim().min(1,"Company location is required").max(200),pod_type:ns(["xtern_fusion","xtern_vanguard","xtern_portfolio"]),full_name:L().trim().min(1,"Full name is required").max(200),email:L().trim().email("Invalid email address").max(255),phone:L().trim().min(7,"Phone number is required").max(20),job_title:L().trim().min(1,"Job title is required").max(200)}),E="uppercase tracking-[0.25em] text-xs font-semibold text-primary",N="font-['Instrument_Serif'] leading-tight",cs="font-['DM_Sans']",Ts=()=>{const[s,e]=tt.useState(!1),t=ut({resolver:Ot(ds),defaultValues:{company_name:"",industry:"",company_size:"",company_location:"",pod_type:"xtern_vanguard",full_name:"",email:"",phone:"",job_title:""}}),r=async a=>{e(!0);const o={company_name:a.company_name,industry:a.industry,company_size:a.company_size,company_location:a.company_location,pod_type:a.pod_type,full_name:a.full_name,email:a.email,phone:a.phone,job_title:a.job_title},{error:l}=await Se.from("pod_sponsorship_inquiries").insert([o]);if(l){e(!1),Te.error("Something went wrong. Please try again.");return}Se.functions.invoke("notify-sponsorship-inquiry",{body:o}).catch(u=>console.error("Notification failed:",u)),e(!1),Te.success("Thank you! Redirecting to schedule a call…"),t.reset(),window.location.href=ie},n=a=>{var o;(o=document.getElementById(a))==null||o.scrollIntoView({behavior:"smooth"})};return i.jsxs("div",{className:`flex flex-col min-h-screen bg-background ${cs}`,children:[i.jsx(it,{title:"Pod Sponsorship | Xterns",description:"Sponsor a pod of rising tech talent. Engage with verified Xterns and back hands-on, project-based learning.",canonical:"/pod-sponsorship"}),i.jsx("header",{className:"sticky top-0 z-50 bg-background/80 backdrop-blur-md border-b border-border",children:i.jsxs("div",{className:"container mx-auto px-6 h-16 flex items-center justify-between",children:[i.jsx(fe,{to:"/",children:i.jsx("img",{src:St,alt:"Xterns",className:"h-7"})}),i.jsxs("nav",{className:"hidden md:flex items-center gap-8 text-sm font-medium text-muted-foreground",children:[i.jsx("button",{onClick:()=>n("what-is-pod"),className:"hover:text-foreground transition-colors",children:"What Is a Pod"}),i.jsx("button",{onClick:()=>n("models"),className:"hover:text-foreground transition-colors",children:"Sponsorship Models"}),i.jsx("button",{onClick:()=>n("tracks"),className:"hover:text-foreground transition-colors",children:"Tracks"}),i.jsx("button",{onClick:()=>n("sponsor-form"),className:"hover:text-foreground transition-colors",children:"Contact"})]}),i.jsxs($,{size:"sm",onClick:()=>n("sponsor-form"),children:["Sponsor a Pod ",i.jsx(Y,{className:"h-3 w-3 ml-1"})]})]})}),i.jsxs("main",{className:"flex-grow",children:[i.jsx("section",{className:"py-20 md:py-28 bg-background",children:i.jsxs("div",{className:"container grid lg:grid-cols-2 gap-14 items-center",children:[i.jsxs(h.div,{initial:"hidden",animate:"visible",variants:w,children:[i.jsx(h.p,{variants:x,className:E,children:"Engineering Talent, Reimagined"}),i.jsxs(h.h1,{variants:x,className:`${N} text-4xl md:text-5xl lg:text-6xl text-foreground mt-4`,children:["Sponsor a Pod.",i.jsx("br",{}),"Build Your Future ",i.jsx("span",{className:`${N} italic text-primary`,children:"Tech Team."})]}),i.jsx(h.p,{variants:x,className:"mt-6 text-lg text-muted-foreground max-w-lg",children:"Hiring technical teams shouldn't feel like gambling. At XTERN.ai, you evaluate engineers through real work, before making a single full-time offer."}),i.jsxs(h.div,{variants:x,className:"mt-8 flex flex-wrap gap-4",children:[i.jsxs($,{size:"lg",onClick:()=>n("sponsor-form"),className:"font-semibold text-base px-8",children:["Sponsor a Pod ",i.jsx(Y,{className:"h-4 w-4 ml-1"})]}),i.jsx($,{size:"lg",variant:"outline",asChild:!0,className:"font-semibold text-base px-8",children:i.jsx("a",{href:ie,target:"_blank",rel:"noopener noreferrer",children:"Talk to Partnerships"})})]})]}),i.jsxs(h.div,{initial:{opacity:0,y:40}
16,animate:{opacity:1,y:0},transition:{delay:.3,duration:.7},className:"space-y-5",children:[i.jsx("div",{className:"rounded-2xl bg-gradient-to-r from-primary to-accent p-6 text-primary-foreground grid grid-cols-3 gap-4 text-center",children:[{val:"6–8",sub:"Weeks of real evaluation"},{val:"20",sub:"Engineers per Vanguard Pod"},{val:"0",sub:"Blind hires"}].map((a,o)=>i.jsxs("div",{children:[i.jsx("p",{className:"text-3xl font-bold",children:a.val}),i.jsx("p",{className:"text-xs mt-1 opacity-80",children:a.sub})]},o))}),i.jsx("div",{className:"grid grid-cols-2 gap-4",children:[{icon:st,title:"Performance Dashboards",desc:"Live visibility into every engineer's progress and Signal Score."},{icon:Ce,title:"Team Collaboration",desc:"Engineers work in structured teams, like real company environments."},{icon:yt,title:"Verified Signal Score",desc:"A transparent, performance-backed score for every engineer."},{icon:pe,title:"Real Code Output",desc:"Engineers execute on real deliverables — not contrived problems."}].map((a,o)=>i.jsx(T,{className:"border border-border hover:shadow-md transition-shadow",children:i.jsxs(I,{className:"p-5",children:[i.jsx(a.icon,{className:"h-6 w-6 text-primary mb-2"}),i.jsx("p",{className:"font-semibold text-sm text-foreground",children:a.title}),i.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:a.desc})]})},o))})]})]})}),i.jsx("section",{className:"py-20 bg-muted/40",children:i.jsxs("div",{className:"container",children:[i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},className:"text-center mb-14",children:[i.jsx(h.p,{variants:x,className:E,children:"The Problem"}),i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl text-foreground mt-3`,children:"Hiring Engineers Shouldn't Be Guesswork"}),i.jsx(h.p,{variants:x,className:"mt-4 text-muted-foreground text-lg max-w-2xl mx-auto",children:"Traditional methods rarely show how engineers actually perform in real work environments."})]}),i.jsx(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid md:grid-cols-3 gap-6",children:[{title:"CV Screening",desc:"Resumes don't reveal real engineering capability or team fit — they just show what candidates want you to see."},{title:"Theoretical Interviews",desc:"Whiteboard sessions test memorisation, not practical delivery. Great engineers often fail them."},{title:"One-Time Technical Tests",desc:"Snapshot assessments miss consistency, communication, and ownership — everything that matters on the job."}].map((a,o)=>i.jsx(h.div,{variants:x,children:i.jsx(T,{className:"border-l-4 border-l-destructive/60 bg-destructive/5 h-full",children:i.jsxs(I,{className:"p-8",children:[i.jsx(vt,{className:"h-8 w-8 text-destructive mb-4"}),i.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:a.title}),i.jsx("p",{className:"text-sm text-muted-foreground",children:a.desc})]})})},o))}),i.jsxs(h.div,{initial:{opacity:0}
16,whileInView:{opacity:1},viewport:{once:!0},className:"flex flex-col items-center mt-14 gap-3",children:[i.jsx("div",{className:"w-px h-12 bg-gradient-to-b from-destructive/40 to-primary/60"}),i.jsx("span",{className:"px-4 py-1.5 rounded-full bg-primary/10 text-primary text-xs font-semibold tracking-wide uppercase",children:"There's a Better Way"}),i.jsx("div",{className:"w-px h-12 bg-gradient-to-b from-primary/60 to-primary/20"})]})]})}),i.jsx("section",{id:"what-is-pod",className:"py-20 bg-background",children:i.jsx("div",{className:"container",children:i.jsxs("div",{className:"rounded-3xl bg-gradient-to-br from-primary via-primary/90 to-accent p-10 md:p-16 text-primary-foreground",children:[i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},className:"text-center mb-12",children:[i.jsx(h.p,{variants:x,className:"uppercase tracking-[0.25em] text-xs font-semibold opacity-80",children:"The Xternship Model"}),i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl mt-3`,children:"Evaluate Engineers Through Real Work"}),i.jsx(h.p,{variants:x,className:"mt-4 opacity-80 text-lg max-w-2xl mx-auto",children:"A 6–8 week structured engineering evaluation program where companies observe engineers working on real projects. Each engineer builds a verified performance record and a Signal Score."}),i.jsxs(h.div,{variants:x,className:"mt-6 inline-flex items-center gap-3 bg-white/10 backdrop-blur rounded-full px-6 py-3",children:[i.jsx("span",{className:"text-2xl font-bold",children:"940"}),i.jsx("span",{className:"text-sm opacity-80",children:"Signal Score · Verified Performance"})]}),i.jsx(h.p,{variants:x,className:"mt-3 text-xs opacity-60",children:"6–8 weeks · Structured · Real projects"})]}),i.jsx(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid md:grid-cols-3 gap-6",children:[{icon:pe,title:"Technical Output",desc:"Observe how engineers ship real features — code quality, delivery, and architecture over weeks, not hours."},{icon:Ce,title:"Collaboration",desc:"See how candidates engage with your team, handle feedback, and grow within your actual culture."},{icon:_t,title:"Communication",desc:"Evaluate written updates, async clarity — the invisible skills that make or break real teams."}].map((a,o)=>i.jsx(h.div,{variants:x,children:i.jsxs("div",{className:"bg-white/10 backdrop-blur-sm rounded-xl p-6 h-full border border-white/10",children:[i.jsx(a.icon,{className:"h-7 w-7 mb-3 opacity-90"}),i.jsx("h3",{className:"font-semibold text-lg mb-2",children:a.title}),i.jsx("p",{className:"text-sm opacity-75",children:a.desc})]})},o))})]})})}),i.jsx("section",{className:"py-20 bg-muted/40",children:i.jsxs("div",{className:"container",children:[i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},className:"text-center mb-14",children:[i.jsx(h.p,{variants:x,className:E,children:"Why It Works"}),i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl text-foreground mt-3`,children:"Four Reasons to Sponsor a Pod"}),i.jsx(h.p,{variants:x,className:"mt-4 text-muted-foreground text-lg max-w-xl mx-auto",children:"Replace guesswork with evidence. Replace competition with your own pipeline."})]}),i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[i.jsx(h.div,{variants:x,className:"md:col-span-2",children:i.jsx(T,{className:"h-full",children:i.jsxs(I,{className:"p-8",children:[i.jsx(bt,{className:"h-7 w-7 text-primary mb-3"}),i.jsx("h3",{className:"text-lg font-semibold text-foreground mb-1",children:"Replace Interviews With Evidence"}),i.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Stop Guessing. Start Hiring on Proof."}),i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b border-border",children:[i.jsx("th",{className:"text-left py-2 font-semibold text-muted-foreground",children:"Traditional Hiring"}),i.jsx("th",{className:"text-left py-2 font-semibold text-primary",children:"XTERN.ai Model"})]})}),i.jsx("tbody",{className:"divide-y divide-border",children:[["CV screening","Live project execution"],["Theoretical interviews","Measurable output"],["One-time technical tests","Continuous evaluation"],["Gut-feel decisions","Performance dashboards"]].map(([a,o],l)=>i.jsxs("tr",{children:[i.jsx("td",{className:"py-2.5 text-muted-foreground",children:a}),i.jsx("td",{className:"py-2.5 font-medium text-foreground",children:o})]},l))})]})})]})})}),[{icon:rt,title:"Build a Pre-Vetted Talent Pipeline",desc:"At the end of the cycle, you have 10 or 20 fully evaluated engineers — a performance-backed shortlist, ready to hire."},{icon:Ie,title:"Branded Innovation & Project Execution",desc:"Submit real company challenges. Have 10–20 engineers work on your problem, building solutions."},{icon:jt,title:"Strategic Social Impact",desc:"Position your organisation as a builder of emerging tech talent and a leader in sustainable hiring."}].map((a,o)=>i.jsx(h.div,{variants:x,children:i.jsx(T,{className:"h-full hover:shadow-md transition-shadow",children:i.jsxs(I,{className:"p-8",children:[i.jsx(a.icon,{className:"h-7 w-7 text-primary mb-3"}),i.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:a.title}),i.jsx("p",{className:"text-sm text-muted-foreground",children:a.desc})]})})},o))]})]})}),i.jsx("section",{className:"py-20 bg-background",children:i.jsxs("div",{className:"container",children:[i.jsxs(h.div,{variants:w,initial:"hidden",
16whileInView:"visible",viewport:{once:!0,amount:.3},className:"text-center mb-14",children:[i.jsx(h.p,{variants:x,className:E,children:"Hiring Pathway"}),i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl text-foreground mt-3`,children:"From Xternship to Full-Time Hire"}),i.jsx(h.p,{variants:x,className:"mt-4 text-muted-foreground text-lg max-w-2xl mx-auto",children:"A structured, risk-reduced process that turns evaluation into employment — on your terms."})]}),i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"relative",children:[i.jsx("div",{className:"hidden md:block absolute top-7 left-[10%] right-[10%] h-0.5 bg-gradient-to-r from-primary via-accent to-primary rounded-full"}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 md:gap-4",children:[{step:"01",title:"Sponsor a Pod",desc:"Select your pod size. Define your project or use a pre-built case study."},{step:"02",title:"6–8 Week Xternship",desc:"Engineers execute on real deliverables. You observe via dashboards and Signal Scores."},{step:"03",title:"Select Top Performers",desc:"Review the full performance record. Choose engineers who fit your team and needs."},{step:"04",title:"Hire with Confidence",desc:"Retain top performers full-time — or select alternatives from your sponsored pool."}].map((a,o)=>i.jsxs(h.div,{variants:x,className:"flex flex-col items-center text-center relative z-10",children:[i.jsx("div",{className:"h-14 w-14 rounded-full bg-primary text-primary-foreground flex items-center justify-center text-sm font-bold shadow-lg",children:a.step}),i.jsx("h3",{className:"font-semibold text-foreground mt-4 text-sm",children:a.title}),i.jsx("p",{className:"text-xs text-muted-foreground mt-1 max-w-[180px]",children:a.desc})]},o))})]})]})}),i.jsx("section",{id:"models",className:"py-20 bg-muted/40",children:i.jsxs("div",{className:"container",children:[i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},className:"text-center mb-14",children:[i.jsx(h.p,{variants:x,className:E,children:"Sponsorship Models"}),i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl text-foreground mt-3`,children:"Choose Your Pod Structure"}),i.jsx(h.p,{variants:x,className:"mt-4 text-muted-foreground text-lg max-w-xl mx-auto",children:"Three models designed for different team sizes, budgets, and hiring goals."})]}),i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid md:grid-cols-3 gap-8",children:[i.jsx(h.div,{variants:x,children:i.jsx(T,{className:"h-full border-2 hover:border-primary/30 transition-colors",children:i.jsxs(I,{className:"p-8 flex flex-col h-full",children:[i.jsx("p",{className:`${E} mb-1`,children:"Fusion Pod"}),i.jsx("h3",{className:"text-xl font-bold text-foreground",children:"XTERN Fusion"}),i.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"10 Engineers · 2 Co-Sponsors"}),i.jsx("p",{className:"text-3xl font-bold text-foreground mt-4",children:"₦2,000,000"}),i.jsx("p",{className:"text-xs text-muted-foreground",children:"per sponsoring company"}),i.jsx("ul",{className:"mt-6 space-y-3 flex-1",children:["10 mid-to-senior engineers, shared across 2 sponsors","Each company contributes a distinct project layer","Performance dashboards & Signal Scores","Priority hiring access from the full pool"].map((a,o)=>i.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[i.jsx(ne,{className:"h-4 w-4 text-primary mt-0.5 shrink-0"}),a]},o))}),i.jsxs($,{onClick:()=>n("sponsor-form"),className:"mt-8 w-full",children:["Get Started ",i.jsx(Y,{className:"h-3 w-3 ml-1"})]})]})})}),i.jsx(h.div,{variants:x,children:i.jsxs(T,{className:"h-full border-2 border-primary shadow-lg relative",children:[i.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 bg-primary text-primary-foreground text-xs font-semibold px-4 py-1 rounded-full",children:"Most Popular"}),i.jsxs(I,{className:"p-8 flex flex-col h-full",children:[i.jsx("p",{className:`${E} mb-1`,children:"Vanguard Pod"}),i.jsx("h3",{className:"text-xl font-bold text-foreground",children:"XTERN Vanguard"}),i.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"20 Engineers · Exclusive"}),i.jsx("p",{className:"text-3xl font-bold text-foreground mt-4",children:"₦3,500,000"}),i.jsx("p",{className:"text-xs text-muted-foreground",children:"exclusive to one sponsor"}),i.jsx("ul",{className:"mt-6 space-y-3 flex-1",children:["20 engineers dedicated exclusively to your build","You own and define the case study","Full performance visibility & dashboards","Ready-made 20-person hiring pipeline","First right of refusal on all top performers"].map((a,o)=>i.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[i.jsx(ne,{className:"h-4 w-4 text-primary mt-0.5 shrink-0"}),a]},o))}),i.jsxs($,{onClick:()=>n("sponsor-form"),className:"mt-8 w-full",children:["Sponsor Exclusively ",i.jsx(Y,{className:"h-3 w-3 ml-1"})]})]})]})}),i.jsx(h.div,{variants:x,children:i.jsx(T,{className:"h-full border-2 hover:border-primary/30 transition-colors",children:i.jsxs(I,{className:"p-8 flex flex-col h-full",children:[i.jsx("p",{className:`${E} mb-1`,children:"Portfolio Pod"}),i.jsx("h3",{className:"text-xl font-bold text-foreground",children:"XTERN Portfolio"}),i.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Flexible Multi-Track"}),i.jsx("p",{className:"text-3xl font-bold text-foreground mt-4",children:"Custom"}),i.jsx("p",{className:"text-xs text-muted-foreground",children:"based on tracks selected"}),i.jsx("ul",{className:"mt-6 space-y-3 flex-1",children:["Sponsor up to 2 engineers per active track","Diversify across DevOps, Security, Data, Engineering","Evaluation visibility across disciplines","Performance dashboards & Signal Scores","Ideal for cross-functional team building"].map((a,o)=>i.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[i.jsx(ne,{className:"h-4 w-4 text-primary mt-0.5 shrink-0"}),a]},o))}),i.jsxs($,{onClick:()=>n("sponsor-form"),variant:"outline",className:"mt-8 w-full",children:["Discuss Tracks ",i.jsx(Y,{className:"h-3 w-3 ml-1"})]})]})})})]})]})}),i.jsx("section",{id:"tracks",className:"py-20 bg-background",children:i.jsxs("div",{className:"container",children:[i.jsxs(h.div,{variants:w,initial:"hidden",
16whileInView:"visible",viewport:{once:!0,amount:.3},className:"text-center mb-14",children:[i.jsx(h.p,{variants:x,className:E,children:"Technical Tracks"}),i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl text-foreground mt-3`,children:"Available Engineering Pathways"}),i.jsx(h.p,{variants:x,className:"mt-4 text-muted-foreground text-lg max-w-xl mx-auto",children:"Sponsor pods across the disciplines that matter most to your roadmap."})]}),i.jsx(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{icon:at,label:"DevOps Engineering",sub:"Infrastructure, CI/CD, cloud automation"},{icon:pe,label:"Software Engineering",sub:"Frontend, Backend, Full-Stack"},{icon:Ct,label:"Data Analysis & BI",sub:"Analytics, dashboards, data pipelines"},{icon:nt,label:"Cybersecurity",sub:"Security engineering, threat analysis"},{icon:Nt,label:"AI & Machine Learning",sub:"Model training, MLOps, AI systems"},{icon:wt,label:"Cloud Engineering",sub:"AWS, GCP, Azure architecture"},{icon:kt,label:"Technical & Product Ops",sub:"Structured around your specific needs"},{icon:Ie,label:"Custom Pod",sub:"Tailored to your organisation"}].map((a,o)=>i.jsx(h.div,{variants:x,children:i.jsx(T,{className:"hover:shadow-md transition-shadow h-full",children:i.jsxs(I,{className:"p-6 flex flex-col items-center text-center gap-2",children:[i.jsx(a.icon,{className:"h-8 w-8 text-primary"}),i.jsx("span",{className:"text-sm font-semibold text-foreground",children:a.label}),i.jsx("span",{className:"text-xs text-muted-foreground",children:a.sub})]})})},o))})]})}),i.jsx("section",{className:"py-20 bg-muted/40",children:i.jsxs("div",{className:"container",children:[i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},className:"text-center mb-14",children:[i.jsx(h.p,{variants:x,className:E,children:"Who This Is For"}),i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl text-foreground mt-3`,children:"Built for Teams Where Talent Is Critical"})]}),i.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 max-w-5xl mx-auto",children:[i.jsx(h.ul,{initial:"hidden",whileInView:"visible",variants:w,viewport:{once:!0},className:"space-y-4",children:["Technology startups scaling engineering teams","Fintechs expanding technical infrastructure","Enterprises modernising internal systems","Organisations building AI capability","Companies seeking structured internship pipelines","Teams reducing bad-hire costs","Fast-scaling companies needing validated engineers"].map((a,o)=>i.jsxs(h.li,{variants:x,className:"flex items-center gap-3 text-foreground",children:[i.jsx(ne,{className:"h-5 w-5 text-primary shrink-0"}),i.jsx("span",{className:"text-sm",children:a})]},o))}),i.jsxs(h.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},children:[i.jsx(T,{className:"border-l-4 border-l-primary bg-primary/5",children:i.jsx(I,{className:"p-8",children:i.jsx("p",{className:`${N} italic text-xl text-foreground leading-relaxed`,children:'"If talent is critical to your growth, structured evaluation is critical to your hiring strategy."'})})}),i.jsx(T,{className:"mt-4 bg-primary/5",children:i.jsx(I,{className:"p-6",children:i.jsxs("p",{className:"text-sm text-muted-foreground",children:["Traditional hiring puts the risk on you. You invest time, money, and onboarding resources before you truly know if someone is the right fit. XTERN.ai flips that."," ",i.jsx("strong",{className:"text-foreground",children:"You see the proof first, then you decide."})]})})})]})]})]})}),i.jsx("section",{id:"sponsor-form",className:"py-20 bg-background",children:i.jsx("div",{className:"container max-w-xl",children:i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},children:[i.jsx(h.p,{variants:x,className:`${E} text-center`,children:"Get Started"}),i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl text-foreground text-center mt-3 mb-4`,children:"Sponsor a Pod"}),i.jsx(h.p,{variants:x,className:"text-muted-foreground text-center mb-10",children:"Fill in your details and our partnerships team will reach out to you."}),i.jsx(h.div,{variants:x,children:i.jsx(T,{children:i.jsx(I,{className:"p-8",children:i.jsx(is,{...t,children:i.jsxs("form",{onSubmit:t.handleSubmit(r),className:"space-y-8",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsx("h3",{className:"text-base font-semibold text-foreground border-b border-border pb-2",children:"Company Information"}),i.jsx(M,{control:t.control,name:"company_name",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Company Name"}),i.jsx(R,{children:i.jsx(z,{placeholder:"Acme Corp",...a})}),i.jsx(Z,{})]})}),i.jsx(M,{control:t.control,name:"industry",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Industry"}),i.jsx(R,{children:i.jsx(z,{placeholder:"e.g. FinTech, Healthcare, SaaS",...a})}),i.jsx(Z,{})]})}),i.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[i.jsx(M,{control:t.control,name:"company_
16size",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Company Size"}),i.jsx(R,{children:i.jsx(z,{placeholder:"e.g. 50–200 employees",...a})}),i.jsx(Z,{})]})}),i.jsx(M,{control:t.control,name:"company_location",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Company Location"}),i.jsx(R,{children:i.jsx(z,{placeholder:"e.g. Lagos, Nigeria",...a})}),i.jsx(Z,{})]})})]}),i.jsx(M,{control:t.control,name:"pod_type",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Pod Type"}),i.jsxs(mt,{onValueChange:a.onChange,defaultValue:a.value,children:[i.jsx(R,{children:i.jsx(ft,{children:i.jsx(pt,{placeholder:"Select a pod type"})})}),i.jsx(xt,{children:ls.map(o=>i.jsx(gt,{value:o.value,children:o.label},o.value))})]}),i.jsx(Z,{})]})})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsx("h3",{className:"text-base font-semibold text-foreground border-b border-border pb-2",children:"Contact Information"}),i.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[i.jsx(M,{control:t.control,name:"full_name",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Full Name"}),i.jsx(R,{children:i.jsx(z,{placeholder:"Jane Doe",...a})}),i.jsx(Z,{})]})}),i.jsx(M,{control:t.control,name:"job_title",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Job Title"}),i.jsx(R,{children:i.jsx(z,{placeholder:"e.g. VP of Engineering",...a})}),i.jsx(Z,{})]})})]}),i.jsx(M,{control:t.control,name:"email",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Email"}),i.jsx(R,{children:i.jsx(z,{type:"email",placeholder:"[email protected]",...a})}),i.jsx(Z,{})]})}),i.jsx(M,{control:t.control,name:"phone",render:({field:a})=>i.jsxs(O,{children:[i.jsx(A,{children:"Phone Number"}),i.jsx(R,{children:i.jsx(z,{type:"tel",placeholder:"+234 800 000 0000",...a})}),i.jsx(Z,{})]})})]}),i.jsx($,{type:"submit",className:"w-full",disabled:s,children:s?"Submitting…":"Submit Application"})]})})})})})]})})}),i.jsx("section",{className:"py-20",children:i.jsx("div",{className:"container",children:i.jsx("div",{className:"rounded-3xl bg-gradient-to-br from-primary via-primary/90 to-accent p-12 md:p-20 text-primary-foreground text-center",children:i.jsxs(h.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[i.jsx(h.h2,{variants:x,className:`${N} text-3xl md:text-4xl mb-3`,children:"You Don't Compete for Engineers."}),i.jsx(h.h2,{variants:x,className:`${N} italic text-3xl md:text-4xl mb-6`,children:"You Build Them."}),i.jsx(h.p,{variants:x,className:"text-lg opacity-80 max-w-xl mx-auto mb-8",children:"Sponsor a pod, evaluate real performance, and hire with complete confidence, before making a single full-time offer."}),i.jsxs(h.div,{variants:x,className:"flex flex-wrap justify-center gap-4",children:[i.jsxs($,{size:"lg",onClick:()=>n("sponsor-form"),className:"bg-background text-primary hover:bg-background/90 font-semibold text-base px-8",children:["Sponsor a Pod ",i.jsx(Y,{className:"h-4 w-4 ml-1"})]}),i.jsx($,{size:"lg",asChild:!0,className:"border-2 border-primary-foreground bg-transparent text-primary-foreground hover:bg-primary-foreground/10 font-semibold text-base px-8",children:i.jsx("a",{href:ie,target:"_blank",rel:"noopener noreferrer",children:"Speak to Our Partnerships Team"})})]})]})})})})]}),i.jsx("footer",{className:"bg-foreground text-background py-10",children:i.jsx("div",{className:"container mx-auto px-6",children:i.jsxs("div",{className:"flex flex-col items-center gap-4",children:[i.jsxs("p",{className:`${N} text-xl font-bold`,children:["XTERN",i.jsx("span",{className:"text-primary",children:".ai"})]}),i.jsx("p",{className:"text-sm opacity-60",children:"Build your future tech team — before you hire."}),i.jsxs("div",{className:"flex flex-wrap justify-center gap-6 md:gap-10 text-sm mt-2",children:[i.jsx(fe,{to:"/about",className:"hover:text-primary transition-colors",children:"About XTERN.ai"}),i.jsx("a",{href:"mailto:[email protected]",className:"hover:text-primary transition-colors",children:"Contact"}),i.jsx("a",{href:ie,target:"_blank",rel:"noopener noreferrer",className:"hover:text-primary transition-colors",children:"Partnerships"}
16),i.jsx("a",{href:"https://www.linkedin.com/company/xtern-ai",target:"_blank",rel:"noopener noreferrer",className:"hover:text-primary transition-colors",children:"LinkedIn"}),i.jsx(fe,{to:"/terms",className:"hover:text-primary transition-colors",children:"Legal"})]}),i.jsxs("p",{className:"text-xs opacity-40 mt-4",children:["© ",new Date().getFullYear()," XTERN.ai. All rights reserved."]})]})})})]})};export{Ts 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.