PageSourceSearch

https://www.inet.fi/_next/static/chunks/84e0eee74156e096.js

js inet.fi collected 2026-09-24 18:19:29 UTC 92,356 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99133,e=>{e.v({className:"inter_1b545fac-module__b8QJrq__className",variable:"inter_1b545fac-module__b8QJrq__variable"})},54881,e=>{e.v({className:"geist_90222e5-module__AE2Uqq__className",variable:"geist_90222e5-module__AE2Uqq__variable"})},21613,24781,33711,e=>{"use strict";let t,r,a,n,i;var s,o,d,u,l,c,f,h,p,m,g=e.i(10077),v=e.i(32908),b=e.i(53012);(s=l||(l={})).assertEqual=e=>e,s.assertIs=function(e){},s.assertNever=function(e){throw Error()},s.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},s.getValidEnumValues=e=>{let t=s.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let a of t)r[a]=e[a];return s.objectValues(r)},s.objectValues=e=>s.objectKeys(e).map(function(t){return e[t]}),s.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},s.find=(e,t)=>{for(let r of e)if(t(r))return r},s.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,s.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},s.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(c||(c={})).mergeShapes=(e,t)=>({...e,...t});let _=l.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),y=e=>{switch(typeof e){case"undefined":return _.undefined;case"string":return _.string;case"number":return isNaN(e)?_.nan:_.number;case"boolean":return _.boolean;case"function":return _.function;case"bigint":return _.bigint;case"symbol":return _.symbol;case"object":if(Array.isArray(e))return _.array;if(null===e)return _.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return _.promise;if("u">typeof Map&&e instanceof Map)return _.map;if("u">typeof Set&&e instanceof Set)return _.set;if("u">typeof Date&&e instanceof Date)return _.date;return _.object;default:return _.unknown}}
1,k=l.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 x extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},a=e=>{for(let n of e.issues)if("invalid_union"===n.code)n.unionErrors.map(a);else if("invalid_return_type"===n.code)a(n.returnTypeError);else if("invalid_arguments"===n.code)a(n.argumentsError);else if(0===n.path.length)r._errors.push(t(n));else{let e=r,a=0;for(;a<n.path.length;){let r=n.path[a];a===n.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(n))):e[r]=e[r]||{_errors:[]},e=e[r],a++}}};return a(this),r}static assert(e){if(!(e instanceof x))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,l.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},r=[];for(let a of this.issues)a.path.length>0?(t[a.path[0]]=t[a.path[0]]||[],t[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}x.create=e=>new x(e);let C=(e,t)=>{let r;switch(e.code){case k.invalid_type:r=e.received===_.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case k.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,l.jsonStringifyReplacer)}`;break;case k.unrecognized_keys:r=`Unrecognized key(s) in object: ${l.joinValues(e.keys,", ")}`;break;case k.invalid_union:r="Invalid input";break;case k.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${l.joinValues(e.options)}`;break;case k.invalid_enum_value:r=`Invalid enum value. Expected ${l.joinValues(e.options)}, received '${e.received}'`;break;case k.invalid_arguments:r="Invalid function arguments";break;case k.invalid_return_type:r="Invalid function return type";break;case k.invalid_date:r="Invalid date";break;case k.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:l.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case k.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case k.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case k.custom:r="Invalid input";break;case k.invalid_intersection_types:r="Intersection results could not be merged";break;case k.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case k.not_finite:r="Number must be finite";break;default:r=t.defaultError,l.assertNever(e)}return{message:r}},w=C;function A(){return w}let F=e=>{let{data:t,path:r,errorMaps:a,issueData:n}=e,i=[...r,...n.path||[]],s={...n,path:i};if(void 0!==n.message)return{...n,path:i,message:n.message};let o="";for(let e of a.filter(e=>!!e).slice().reverse())o=e(s,{data:t,defaultError:o}).message;return{...n,path:i,message:o}};function E(e,t){let r=A(),a=F({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===C?void 0:C].filter(e=>!!e)});e.common.issues.push(a)}class T{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let a of t){if("aborted"===a.status)return S;"dirty"===a.status&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,a=await e.value;r.push({key:t,value:a})}return T.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let a of t){let{key:t,value:n}=a;if("aborted"===t.status||"aborted"===n.status)return S;"dirty"===t.status&&e.dirty(),"dirty"===n.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==n.value||a.alwaysSet)&&(r[t.value]=n.value)}return{status:e.value,value:r}}}let S=Object.freeze({status:"aborted"}),P=e=>({status:"dirty",value:e}
1),O=e=>({status:"valid",value:e}),D=e=>"aborted"===e.status,N=e=>"dirty"===e.status,Z=e=>"valid"===e.status,I=e=>"u">typeof Promise&&e instanceof Promise;function R(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)}function j(e,t,r,a,n){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!n)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?n.call(e,r):n?n.value=r:t.set(e,r),r}"function"==typeof SuppressedError&&SuppressedError,(o=f||(f={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},o.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class B{constructor(e,t,r,a){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let L=(e,t)=>{if(Z(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new x(e.common.issues);return this._error=t,this._error}}};function $(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:a,description:n}=e;if(t&&(r||a))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:n}:{errorMap:(t,n)=>{var i,s;let{message:o}=e;return"invalid_enum_value"===t.code?{message:null!=o?o:n.defaultError}:void 0===n.data?{message:null!=(i=null!=o?o:a)?i:n.defaultError}:"invalid_type"!==t.code?{message:n.defaultError}:{message:null!=(s=null!=o?o:r)?s:n.defaultError}},description:n}}class M{get description(){return this._def.description}_getType(e){return y(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:y(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new T,ctx:{common:e.parent.common,data:e.data,parsedType:y(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(I(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let a={common:{issues:[],async:null!=(r=null==t?void 0:t.async)&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:y(e)},n=this._parseSync({data:e,path:a.path,parent:a});return L(a,n)}"~validate"(e){var t,r;let a={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:y(e)};if(!this["~standard"].async)try{let t=this._parseSync({data:e,path:[],parent:a});return Z(t)?{value:t.value}:{issues:a.common.issues}}catch(e){(null==(r=null==(t=null==e?void 0:e.message)?void 0:t.toLowerCase())?void 0:r.includes("encountered"))&&(this["~standard"].async=!0),a.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:a}).then(e=>Z(e)?{value:e.value}:{issues:a.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:y(e)},a=this._parse({data:e,path:r.path,parent:r});return L(r,await (I(a)?a:Promise.resolve(a)))}refine(e,t){return this._refinement((r,a)=>{let n=e(r),i=()=>a.addIssue({code:k.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(r):t});return"u">typeof Promise&&n instanceof Promise?n.then(e=>!!e||(i(),!1)):!!n||(i(),!1)})}refinement(e,t){return this._refinement((r,a)=>!!e(r)||(a.addIssue("function"==typeof t?t(r,a):t),!1))}_refinement(e){return new eI({schema:this,typeName:m.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:e=>this["~validate"](e)}}optional(){return eR.create(this,this._def)}nullable(){return ej.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return eb.create(this)}promise(){return eZ.create(this,this._def)}or(e){return ey.create([this,e],this._def)}and(e){return eC.create(this,e,this._def)}transform(e){return new eI({...$(this._def),schema:this,typeName:m.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eB({...$(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:m.ZodDefault})}brand(){return new eU({typeName:m.ZodBranded,type:this,...$(this._def)})}catch(e){return new eL({...$(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:m.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return ez.create(this,e)}readonly(){return eV.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let U=/^c[^\s-]{8,}
1$/i,z=/^[0-9a-z]+$/,V=/^[0-9A-HJKMNP-TV-Z]{26}$/i,K=/^[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,q=/^[a-z0-9_-]{21}$/i,G=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,X=/^[-+]?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)?)??$/,W=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,H=/^(?:(?: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])$/,J=/^(?:(?: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])$/,Y=/^(([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]))$/,Q=/^(([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])$/,ee=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,et=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,er="((\\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])))",ea=RegExp(`^${er}$`);function en(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function ei(e){let t=`${er}T${en(e)}`,r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,RegExp(`^${t}$`)}class es extends M{_parse(e){var r,a,n,i;let s;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==_.string){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.string,received:t.parsedType}),S}let o=new T;for(let d of this._def.checks)if("min"===d.kind)e.data.length<d.value&&(E(s=this._getOrReturnCtx(e,s),{code:k.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),o.dirty());else if("max"===d.kind)e.data.length>d.value&&(E(s=this._getOrReturnCtx(e,s),{code:k.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),o.dirty());else if("length"===d.kind){let t=e.data.length>d.value,r=e.data.length<d.value;(t||r)&&(s=this._getOrReturnCtx(e,s),t?E(s,{code:k.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}):r&&E(s,{code:k.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}),o.dirty())}else if("email"===d.kind)W.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"email",code:k.invalid_string,message:d.message}),o.dirty());else if("emoji"===d.kind)t||(t=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),t.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"emoji",code:k.invalid_string,message:d.message}),o.dirty());else if("uuid"===d.kind)K.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"uuid",code:k.invalid_string,message:d.message}),o.dirty());else if("nanoid"===d.kind)q.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"nanoid",code:k.invalid_string,message:d.message}),o.dirty());else if("cuid"===d.kind)U.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"cuid",code:k.invalid_string,message:d.message}),o.dirty());else if("cuid2"===d.kind)z.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"cuid2",code:k.invalid_string,message:d.message}),o.dirty());else if("ulid"===d.kind)V.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"ulid",code:k.invalid_string,message:d.message}),o.dirty());else if("url"===d.kind)try{new URL(e.data)}catch(t){E(s=this._getOrReturnCtx(e,s),{validation:"url",code:k.invalid_string,message:d.message}),o.dirty()}else"regex"===d.kind?(d.regex.lastIndex=0,d.regex.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"regex",code:k.invalid_string,message:d.message}),o.dirty())):"trim"===d.kind?e.data=e.data.trim():"includes"===d.kind?e.data.includes(d.value,d.position)||(E(s=this._getOrReturnCtx(e,s),{code:k.invalid_string,validation:{includes:d.value,position:d.position},message:d.message}),o.dirty()):"toLowerCase"===d.kind?e.data=e.data.toLowerCase():"toUpperCase"===d.kind?e.data=e.data.toUpperCase():"startsWith"===d.kind?e.data.startsWith(d.value)||(E(s=this._getOrReturnCtx(e,s),{code:k.invalid_string,validation:{startsWith:d.value},message:d.message}),o.dirty()):"endsWith"===d.kind?e.data.endsWith(d.value)||(E(s=this._getOrReturnCtx(e,s),{code:k.invalid_string,validation:{endsWith:d.value},message:d.message}),o.dirty()):"datetime"===d.kind?ei(d).test(e.data)||(E(s=this._getOrReturnCtx(e,s),{code:k.invalid_string,validation:"datetime",message:d.message}),o.dirty()):"date"===d.kind?ea.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{code:k.invalid_string,validation:"date",message:d.message}),o.dirty()):"time"===d.kind?RegExp(`^${en(d)}$`).test(e.data)||(E(s=this._getOrReturnCtx(e,s),{code:k.invalid_string,validation:"time",message:d.message}),o.dirty()):"duration"===d.kind?X.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"duration",code:k.invalid_string,message:d.message}),o.dirty()):"ip"===d.kind?(r=e.data,!(("v4"===(a=d.version)||!a)&&H.test(r)||("v6"===a||
1!a)&&Y.test(r))&&1&&(E(s=this._getOrReturnCtx(e,s),{validation:"ip",code:k.invalid_string,message:d.message}),o.dirty())):"jwt"===d.kind?!function(e,t){if(!G.test(e))return!1;try{let[r]=e.split("."),a=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),n=JSON.parse(atob(a));if("object"!=typeof n||null===n||!n.typ||!n.alg||t&&n.alg!==t)return!1;return!0}catch(e){return!1}}(e.data,d.alg)&&(E(s=this._getOrReturnCtx(e,s),{validation:"jwt",code:k.invalid_string,message:d.message}),o.dirty()):"cidr"===d.kind?(n=e.data,!(("v4"===(i=d.version)||!i)&&J.test(n)||("v6"===i||!i)&&Q.test(n))&&1&&(E(s=this._getOrReturnCtx(e,s),{validation:"cidr",code:k.invalid_string,message:d.message}),o.dirty())):"base64"===d.kind?ee.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"base64",code:k.invalid_string,message:d.message}),o.dirty()):"base64url"===d.kind?et.test(e.data)||(E(s=this._getOrReturnCtx(e,s),{validation:"base64url",code:k.invalid_string,message:d.message}),o.dirty()):l.assertNever(d);return{status:o.value,value:e.data}}_regex(e,t,r){return this.refinement(t=>e.test(t),{validation:t,code:k.invalid_string,...f.errToObj(r)})}_addCheck(e){return new es({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...f.errToObj(e)})}url(e){return this._addCheck({kind:"url",...f.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...f.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...f.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...f.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...f.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...f.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...f.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...f.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...f.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...f.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...f.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...f.errToObj(e)})}datetime(e){var t,r;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!=(t=null==e?void 0:e.offset)&&t,local:null!=(r=null==e?void 0:e.local)&&r,...f.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...f.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...f.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...f.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...f.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...f.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...f.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...f.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...f.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...f.errToObj(t)})}nonempty(e){return this.min(1,f.errToObj(e))}trim(){return new es({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new es({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new es({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}
1get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}es.create=e=>{var t;return new es({checks:[],typeName:m.ZodString,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...$(e)})};class eo extends M{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==_.number){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.number,received:t.parsedType}),S}let r=new T;for(let a of this._def.checks)"int"===a.kind?l.isInteger(e.data)||(E(t=this._getOrReturnCtx(e,t),{code:k.invalid_type,expected:"integer",received:"float",message:a.message}),r.dirty()):"min"===a.kind?(a.inclusive?e.data<a.value:e.data<=a.value)&&(E(t=this._getOrReturnCtx(e,t),{code:k.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),r.dirty()):"max"===a.kind?(a.inclusive?e.data>a.value:e.data>=a.value)&&(E(t=this._getOrReturnCtx(e,t),{code:k.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),r.dirty()):"multipleOf"===a.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,a=(t.toString().split(".")[1]||"").length,n=r>a?r:a;return parseInt(e.toFixed(n).replace(".",""))%parseInt(t.toFixed(n).replace(".",""))/Math.pow(10,n)}(e.data,a.value)&&(E(t=this._getOrReturnCtx(e,t),{code:k.not_multiple_of,multipleOf:a.value,message:a.message}),r.dirty()):"finite"===a.kind?Number.isFinite(e.data)||(E(t=this._getOrReturnCtx(e,t),{code:k.not_finite,message:a.message}),r.dirty()):l.assertNever(a);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,f.toString(t))}gt(e,t){return this.setLimit("min",e,!1,f.toString(t))}lte(e,t){return this.setLimit("max",e,!0,f.toString(t))}lt(e,t){return this.setLimit("max",e,!1,f.toString(t))}setLimit(e,t,r,a){return new eo({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:f.toString(a)}]})}_addCheck(e){return new eo({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:f.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:f.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:f.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:f.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:f.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:f.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:f.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:f.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:f.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&l.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value);return Number.isFinite(t)&&Number.isFinite(e)}}eo.create=e=>new eo({checks:[],typeName:m.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...$(e)});class ed extends M{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}if(this._getType(e)!==_.bigint)return this._getInvalidInput(e);let r=new T;for(let a of this._def.checks)"min"===a.kind?(a.inclusive?e.data<a.value:e.data<=a.value)&&(E(t=this._getOrReturnCtx(e,t),{code:k.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),r.dirty()):"max"===a.kind?(a.inclusive?e.data>a.value:e.data>=a.value)&&(E(t=this._getOrReturnCtx(e,t),{code:k.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),r.dirty()):"multipleOf"===a.kind?e.data%a.value!==BigInt(0)&&(E(t=this._getOrReturnCtx(e,t),{code:k.not_multiple_of,multipleOf:a.value,message:a.message}),r.dirty()):l.assertNever(a);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.bigint,received:t.parsedType}),S}gte(e,t){return this.setLimit("min",e,!0,f.toString(t))}gt(e,t){return this.setLimit("min",e,!1,f.toString(t))}lte(e,t){return this.setLimit("max",e,!0,f.toString(t))}lt(e,t){return this.setLimit("max",e,!1,f.toString(t))}setLimit(e,t,r,a){return new ed({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:f.toString(a)}]})}_addCheck(e){return new ed({...this._def,checks:[...this._def.checks,e]})}
1positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:f.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:f.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:f.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:f.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:f.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}ed.create=e=>{var t;return new ed({checks:[],typeName:m.ZodBigInt,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...$(e)})};class eu extends M{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==_.boolean){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.boolean,received:t.parsedType}),S}return O(e.data)}}eu.create=e=>new eu({typeName:m.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...$(e)});class el extends M{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==_.date){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.date,received:t.parsedType}),S}if(isNaN(e.data.getTime()))return E(this._getOrReturnCtx(e),{code:k.invalid_date}),S;let r=new T;for(let a of this._def.checks)"min"===a.kind?e.data.getTime()<a.value&&(E(t=this._getOrReturnCtx(e,t),{code:k.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):"max"===a.kind?e.data.getTime()>a.value&&(E(t=this._getOrReturnCtx(e,t),{code:k.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):l.assertNever(a);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new el({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:f.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:f.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}el.create=e=>new el({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:m.ZodDate,...$(e)});class ec extends M{_parse(e){if(this._getType(e)!==_.symbol){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.symbol,received:t.parsedType}),S}return O(e.data)}}ec.create=e=>new ec({typeName:m.ZodSymbol,...$(e)});class ef extends M{_parse(e){if(this._getType(e)!==_.undefined){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.undefined,received:t.parsedType}),S}return O(e.data)}}ef.create=e=>new ef({typeName:m.ZodUndefined,...$(e)});class eh extends M{_parse(e){if(this._getType(e)!==_.null){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.null,received:t.parsedType}),S}return O(e.data)}}eh.create=e=>new eh({typeName:m.ZodNull,...$(e)});class ep extends M{constructor(){super(...arguments),this._any=!0}_parse(e){return O(e.data)}}ep.create=e=>new ep({typeName:m.ZodAny,...$(e)});class em extends M{constructor(){super(...arguments),this._unknown=!0}_parse(e){return O(e.data)}}em.create=e=>new em({typeName:m.ZodUnknown,...$(e)});class eg extends M{_parse(e){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.never,received:t.parsedType}),S}}eg.create=e=>new eg({typeName:m.ZodNever,...$(e)});class ev extends M{_parse(e){if(this._getType(e)!==_.undefined){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.void,received:t.parsedType}),S}return O(e.data)}}ev.create=e=>new ev({typeName:m.ZodVoid,...$(e)});class eb extends M{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),a=this._def;if(t.parsedType!==_.array)return E(t,{code:k.invalid_type,expected:_.array,received:t.parsedType}),S;if(null!==a.exactLength){let e=t.data.length>
1a.exactLength.value,n=t.data.length<a.exactLength.value;(e||n)&&(E(t,{code:e?k.too_big:k.too_small,minimum:n?a.exactLength.value:void 0,maximum:e?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(null!==a.minLength&&t.data.length<a.minLength.value&&(E(t,{code:k.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),null!==a.maxLength&&t.data.length>a.maxLength.value&&(E(t,{code:k.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>a.type._parseAsync(new B(t,e,t.path,r)))).then(e=>T.mergeArray(r,e));let n=[...t.data].map((e,r)=>a.type._parseSync(new B(t,e,t.path,r)));return T.mergeArray(r,n)}get element(){return this._def.type}min(e,t){return new eb({...this._def,minLength:{value:e,message:f.toString(t)}})}max(e,t){return new eb({...this._def,maxLength:{value:e,message:f.toString(t)}})}length(e,t){return new eb({...this._def,exactLength:{value:e,message:f.toString(t)}})}nonempty(e){return this.min(1,e)}}eb.create=(e,t)=>new eb({type:e,minLength:null,maxLength:null,exactLength:null,typeName:m.ZodArray,...$(t)});class e_ extends M{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=l.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==_.object){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.object,received:t.parsedType}),S}let{status:t,ctx:r}=this._processInputParams(e),{shape:a,keys:n}=this._getCached(),i=[];if(!(this._def.catchall instanceof eg&&"strip"===this._def.unknownKeys))for(let e in r.data)n.includes(e)||i.push(e);let s=[];for(let e of n){let t=a[e],n=r.data[e];s.push({key:{status:"valid",value:e},value:t._parse(new B(r,n,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof eg){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of i)s.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)i.length>0&&(E(r,{code:k.unrecognized_keys,keys:i}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of i){let a=r.data[t];s.push({key:{status:"valid",value:t},value:e._parse(new B(r,a,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of s){let r=await t.key,a=await t.value;e.push({key:r,value:a,alwaysSet:t.alwaysSet})}return e}).then(e=>T.mergeObjectSync(t,e)):T.mergeObjectSync(t,s)}get shape(){return this._def.shape()}strict(e){return f.errToObj,new e_({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var a,n,i,s;let o=null!=(i=null==(n=(a=this._def).errorMap)?void 0:n.call(a,t,r).message)?i:r.defaultError;return"unrecognized_keys"===t.code?{message:null!=(s=f.errToObj(e).message)?s:o}:{message:o}}}:{}})}strip(){return new e_({...this._def,unknownKeys:"strip"})}passthrough(){return new e_({...this._def,unknownKeys:"passthrough"})}extend(e){return new e_({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new e_({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:m.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new e_({...this._def,catchall:e})}pick(e){let t={};return l.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new e_({...this._def,shape:()=>t})}omit(e){let t={};return l.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new e_({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof e_){let r={};for(let a in t.shape){let n=t.shape[a];r[a]=eR.create(e(n))}return new e_({...t._def,shape:()=>r})}if(t instanceof eb)return new eb({...t._def,type:e(t.element)});if(t instanceof eR)return eR.create(e(t.unwrap()));if(t instanceof ej)return ej.create(e(t.unwrap()));if(t instanceof ew)return ew.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};return l.objectKeys(this.shape).forEach(r=>{let a=this.shape[r];e&&!e[r]?t[r]=a:t[r]=a.optional()}),new e_({...this._def,shape:()=>t})}required(e){let t={};return l.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof eR;)e=e._def.innerType;t[r]=e}}),new e_({...this._def,shape:()=>t})}keyof(){return eO(l.objectKeys(this.shape))}}e_.create=(e,t)=>
1new e_({shape:()=>e,unknownKeys:"strip",catchall:eg.create(),typeName:m.ZodObject,...$(t)}),e_.strictCreate=(e,t)=>new e_({shape:()=>e,unknownKeys:"strict",catchall:eg.create(),typeName:m.ZodObject,...$(t)}),e_.lazycreate=(e,t)=>new e_({shape:e,unknownKeys:"strip",catchall:eg.create(),typeName:m.ZodObject,...$(t)});class ey extends M{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new x(e.ctx.common.issues));return E(t,{code:k.invalid_union,unionErrors:r}),S});{let e,a=[];for(let n of r){let r={...t,common:{...t.common,issues:[]},parent:null},i=n._parseSync({data:t.data,path:t.path,parent:r});if("valid"===i.status)return i;"dirty"!==i.status||e||(e={result:i,ctx:r}),r.common.issues.length&&a.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let n=a.map(e=>new x(e));return E(t,{code:k.invalid_union,unionErrors:n}),S}}get options(){return this._def.options}}ey.create=(e,t)=>new ey({options:e,typeName:m.ZodUnion,...$(t)});let ek=e=>{if(e instanceof eS)return ek(e.schema);if(e instanceof eI)return ek(e.innerType());if(e instanceof eP)return[e.value];if(e instanceof eD)return e.options;if(e instanceof eN)return l.objectValues(e.enum);else if(e instanceof eB)return ek(e._def.innerType);else if(e instanceof ef)return[void 0];else if(e instanceof eh)return[null];else if(e instanceof eR)return[void 0,...ek(e.unwrap())];else if(e instanceof ej)return[null,...ek(e.unwrap())];else if(e instanceof eU)return ek(e.unwrap());else if(e instanceof eV)return ek(e.unwrap());else if(e instanceof eL)return ek(e._def.innerType);else return[]};class ex extends M{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==_.object)return E(t,{code:k.invalid_type,expected:_.object,received:t.parsedType}),S;let r=this.discriminator,a=t.data[r],n=this.optionsMap.get(a);return n?t.common.async?n._parseAsync({data:t.data,path:t.path,parent:t}):n._parseSync({data:t.data,path:t.path,parent:t}):(E(t,{code:k.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),S)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let a=new Map;for(let r of t){let t=ek(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let n of t){if(a.has(n))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`);a.set(n,r)}}return new ex({typeName:m.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:a,...$(r)})}}class eC extends M{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),a=(e,a)=>{if(D(e)||D(a))return S;let n=function e(t,r){let a=y(t),n=y(r);if(t===r)return{valid:!0,data:t};if(a===_.object&&n===_.object){let a=l.objectKeys(r),n=l.objectKeys(t).filter(e=>-1!==a.indexOf(e)),i={...t,...r};for(let a of n){let n=e(t[a],r[a]);if(!n.valid)return{valid:!1};i[a]=n.data}return{valid:!0,data:i}}if(a===_.array&&n===_.array){if(t.length!==r.length)return{valid:!1};let a=[];for(let n=0;n<t.length;n++){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1};a.push(i.data)}return{valid:!0,data:a}}if(a===_.date&&n===_.date&&+t==+r)return{valid:!0,data:t};return{valid:!1}}(e.value,a.value);return n.valid?((N(e)||N(a))&&t.dirty(),{status:t.value,value:n.data}):(E(r,{code:k.invalid_intersection_types}),S)};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(([e,t])=>a(e,t)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}eC.create=(e,t,r)=>new eC({left:e,right:t,typeName:m.ZodIntersection,...$(r)});class ew extends M{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==_.array)return E(r,{code:k.invalid_type,expected:_.array,received:r.parsedType}),S;if(r.data.length<this._def.items.length)return E(r,{code:k.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),S;!this._def.rest&&r.data.length>this._def.items.length&&(E(r,{code:k.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let a=[...r.data].map((e,t)=>{let a=this._def.items[t]||this._def.rest;return a?a._parse(new B(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(a).then(e=>T.mergeArray(t,e)):T.mergeArray(t,a)}get items(){return this._def.items}rest(e){return new ew({...this._def,rest:e})}}ew.create=(e,t)=>
1{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ew({items:e,typeName:m.ZodTuple,rest:null,...$(t)})};class eA extends M{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==_.object)return E(r,{code:k.invalid_type,expected:_.object,received:r.parsedType}),S;let a=[],n=this._def.keyType,i=this._def.valueType;for(let e in r.data)a.push({key:n._parse(new B(r,e,r.path,e)),value:i._parse(new B(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?T.mergeObjectAsync(t,a):T.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,r){return new eA(t instanceof M?{keyType:e,valueType:t,typeName:m.ZodRecord,...$(r)}:{keyType:es.create(),valueType:e,typeName:m.ZodRecord,...$(t)})}}class eF extends M{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==_.map)return E(r,{code:k.invalid_type,expected:_.map,received:r.parsedType}),S;let a=this._def.keyType,n=this._def.valueType,i=[...r.data.entries()].map(([e,t],i)=>({key:a._parse(new B(r,e,r.path,[i,"key"])),value:n._parse(new B(r,t,r.path,[i,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of i){let a=await r.key,n=await r.value;if("aborted"===a.status||"aborted"===n.status)return S;("dirty"===a.status||"dirty"===n.status)&&t.dirty(),e.set(a.value,n.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of i){let a=r.key,n=r.value;if("aborted"===a.status||"aborted"===n.status)return S;("dirty"===a.status||"dirty"===n.status)&&t.dirty(),e.set(a.value,n.value)}return{status:t.value,value:e}}}}eF.create=(e,t,r)=>new eF({valueType:t,keyType:e,typeName:m.ZodMap,...$(r)});class eE extends M{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==_.set)return E(r,{code:k.invalid_type,expected:_.set,received:r.parsedType}),S;let a=this._def;null!==a.minSize&&r.data.size<a.minSize.value&&(E(r,{code:k.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),t.dirty()),null!==a.maxSize&&r.data.size>a.maxSize.value&&(E(r,{code:k.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());let n=this._def.valueType;function i(e){let r=new Set;for(let a of e){if("aborted"===a.status)return S;"dirty"===a.status&&t.dirty(),r.add(a.value)}return{status:t.value,value:r}}let s=[...r.data.values()].map((e,t)=>n._parse(new B(r,e,r.path,t)));return r.common.async?Promise.all(s).then(e=>i(e)):i(s)}min(e,t){return new eE({...this._def,minSize:{value:e,message:f.toString(t)}})}max(e,t){return new eE({...this._def,maxSize:{value:e,message:f.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eE.create=(e,t)=>new eE({valueType:e,minSize:null,maxSize:null,typeName:m.ZodSet,...$(t)});class eT extends M{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==_.function)return E(t,{code:k.invalid_type,expected:_.function,received:t.parsedType}),S;function r(e,r){return F({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,A(),C].filter(e=>!!e),issueData:{code:k.invalid_arguments,argumentsError:r}})}function a(e,r){return F({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,A(),C].filter(e=>!!e),issueData:{code:k.invalid_return_type,returnTypeError:r}})}let n={errorMap:t.common.contextualErrorMap},i=t.data;if(this._def.returns instanceof eZ){let e=this;return O(async function(...t){let s=new x([]),o=await e._def.args.parseAsync(t,n).catch(e=>{throw s.addIssue(r(t,e)),s}),d=await Reflect.apply(i,this,o);return await e._def.returns._def.type.parseAsync(d,n).catch(e=>{throw s.addIssue(a(d,e)),s})})}{let e=this;return O(function(...t){let s=e._def.args.safeParse(t,n);if(!s.success)throw new x([r(t,s.error)]);let o=Reflect.apply(i,this,s.data),d=e._def.returns.safeParse(o,n);if(!d.success)throw new x([a(o,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eT({...this._def,args:ew.create(e).rest(em.create())})}returns(e){return new eT({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new eT({args:e||ew.create([]).rest(em.create()),returns:t||em.create(),typeName:m.ZodFunction,...$(r)})}}class eS extends M{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}eS.create=(e,t)=>
1new eS({getter:e,typeName:m.ZodLazy,...$(t)});class eP extends M{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return E(t,{received:t.data,code:k.invalid_literal,expected:this._def.value}),S}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eO(e,t){return new eD({values:e,typeName:m.ZodEnum,...$(t)})}eP.create=(e,t)=>new eP({value:e,typeName:m.ZodLiteral,...$(t)});class eD extends M{constructor(){super(...arguments),h.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return E(t,{expected:l.joinValues(r),received:t.parsedType,code:k.invalid_type}),S}if(R(this,h,"f")||j(this,h,new Set(this._def.values),"f"),!R(this,h,"f").has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return E(t,{received:t.data,code:k.invalid_enum_value,options:r}),S}return O(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return eD.create(e,{...this._def,...t})}exclude(e,t=this._def){return eD.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}h=new WeakMap,eD.create=eO;class eN extends M{constructor(){super(...arguments),p.set(this,void 0)}_parse(e){let t=l.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==_.string&&r.parsedType!==_.number){let e=l.objectValues(t);return E(r,{expected:l.joinValues(e),received:r.parsedType,code:k.invalid_type}),S}if(R(this,p,"f")||j(this,p,new Set(l.getValidEnumValues(this._def.values)),"f"),!R(this,p,"f").has(e.data)){let e=l.objectValues(t);return E(r,{received:r.data,code:k.invalid_enum_value,options:e}),S}return O(e.data)}get enum(){return this._def.values}}p=new WeakMap,eN.create=(e,t)=>new eN({values:e,typeName:m.ZodNativeEnum,...$(t)});class eZ extends M{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==_.promise&&!1===t.common.async?(E(t,{code:k.invalid_type,expected:_.promise,received:t.parsedType}),S):O((t.parsedType===_.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eZ.create=(e,t)=>new eZ({type:e,typeName:m.ZodPromise,...$(t)});class eI extends M{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===m.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),a=this._def.effect||null,n={addIssue:e=>{E(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(n.addIssue=n.addIssue.bind(n),"preprocess"===a.type){let e=a.transform(r.data,n);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return S;let a=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===a.status?S:"dirty"===a.status||"dirty"===t.value?P(a.value):a});{if("aborted"===t.value)return S;let a=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===a.status?S:"dirty"===a.status||"dirty"===t.value?P(a.value):a}}if("refinement"===a.type){let e=e=>{let t=a.refinement(e,n);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?S:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===a.status?S:("dirty"===a.status&&t.dirty(),e(a.value),{status:t.value,value:a.value})}}if("transform"===a.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>Z(e)?Promise.resolve(a.transform(e.value,n)).then(e=>({status:t.value,value:e})):e);else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Z(e))return e;let i=a.transform(e.value,n);if(i instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:i}}l.assertNever(a)}}eI.create=(e,t,r)=>new eI({schema:e,typeName:m.ZodEffects,effect:t,...$(r)}),eI.createWithPreprocess=(e,t,r)=>new eI({schema:t,effect:{type:"preprocess",transform:e},typeName:m.ZodEffects,...$(r)});class eR extends M{_parse(e){return this._getType(e)===_.undefined?O(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eR.create=(e,t)=>
1new eR({innerType:e,typeName:m.ZodOptional,...$(t)});class ej extends M{_parse(e){return this._getType(e)===_.null?O(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ej.create=(e,t)=>new ej({innerType:e,typeName:m.ZodNullable,...$(t)});class eB extends M{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===_.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eB.create=(e,t)=>new eB({innerType:e,typeName:m.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...$(t)});class eL extends M{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return I(a)?a.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new x(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===a.status?a.value:this._def.catchValue({get error(){return new x(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}eL.create=(e,t)=>new eL({innerType:e,typeName:m.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...$(t)});class e$ extends M{_parse(e){if(this._getType(e)!==_.nan){let t=this._getOrReturnCtx(e);return E(t,{code:k.invalid_type,expected:_.nan,received:t.parsedType}),S}return{status:"valid",value:e.data}}}e$.create=e=>new e$({typeName:m.ZodNaN,...$(e)});let eM=Symbol("zod_brand");class eU extends M{_parse(e){let{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 ez extends M{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?S:"dirty"===e.status?(t.dirty(),P(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?S:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new ez({in:e,out:t,typeName:m.ZodPipeline})}}class eV extends M{_parse(e){let t=this._def.innerType._parse(e),r=e=>(Z(e)&&(e.value=Object.freeze(e.value)),e);return I(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}function eK(e,t){let r="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof r?{message:r}:r}
1function eq(e,t={},r){return e?ep.create().superRefine((a,n)=>{var i,s;let o=e(a);if(o instanceof Promise)return o.then(e=>{var i,s;if(!e){let e=eK(t,a),o=null==(s=null!=(i=e.fatal)?i:r)||s;n.addIssue({code:"custom",...e,fatal:o})}});if(!o){let e=eK(t,a),o=null==(s=null!=(i=e.fatal)?i:r)||s;n.addIssue({code:"custom",...e,fatal:o})}}):ep.create()}eV.create=(e,t)=>new eV({innerType:e,typeName:m.ZodReadonly,...$(t)});let eG={object:e_.lazycreate};(d=m||(m={})).ZodString="ZodString",d.ZodNumber="ZodNumber",d.ZodNaN="ZodNaN",d.ZodBigInt="ZodBigInt",d.ZodBoolean="ZodBoolean",d.ZodDate="ZodDate",d.ZodSymbol="ZodSymbol",d.ZodUndefined="ZodUndefined",d.ZodNull="ZodNull",d.ZodAny="ZodAny",d.ZodUnknown="ZodUnknown",d.ZodNever="ZodNever",d.ZodVoid="ZodVoid",d.ZodArray="ZodArray",d.ZodObject="ZodObject",d.ZodUnion="ZodUnion",d.ZodDiscriminatedUnion="ZodDiscriminatedUnion",d.ZodIntersection="ZodIntersection",d.ZodTuple="ZodTuple",d.ZodRecord="ZodRecord",d.ZodMap="ZodMap",d.ZodSet="ZodSet",d.ZodFunction="ZodFunction",d.ZodLazy="ZodLazy",d.ZodLiteral="ZodLiteral",d.ZodEnum="ZodEnum",d.ZodEffects="ZodEffects",d.ZodNativeEnum="ZodNativeEnum",d.ZodOptional="ZodOptional",d.ZodNullable="ZodNullable",d.ZodDefault="ZodDefault",d.ZodCatch="ZodCatch",d.ZodPromise="ZodPromise",d.ZodBranded="ZodBranded",d.ZodPipeline="ZodPipeline",d.ZodReadonly="ZodReadonly";let eX=es.create,eW=eo.create,eH=e$.create,eJ=ed.create,eY=eu.create,eQ=el.create,e0=ec.create,e1=ef.create,e2=eh.create,e4=ep.create,e5=em.create,e3=eg.create,e9=ev.create,e8=eb.create,e7=e_.create,e6=e_.strictCreate,te=ey.create,tt=ex.create,tr=eC.create,ta=ew.create,tn=eA.create,ti=eF.create,ts=eE.create,to=eT.create,td=eS.create,tu=eP.create,tl=eD.create,tc=eN.create,tf=eZ.create,th=eI.create,tp=eR.create,tm=ej.create,tg=eI.createWithPreprocess,tv=ez.create;var tb=Object.freeze({__proto__:null,defaultErrorMap:C,setErrorMap:function(e){w=e},getErrorMap:A,makeIssue:F,EMPTY_PATH:[],addIssueToContext:E,ParseStatus:T,INVALID:S,DIRTY:P,OK:O,isAborted:D,isDirty:N,isValid:Z,isAsync:I,get util(){return l},get objectUtil(){return c},ZodParsedType:_,getParsedType:y,ZodType:M,datetimeRegex:ei,ZodString:es,ZodNumber:eo,ZodBigInt:ed,ZodBoolean:eu,ZodDate:el,ZodSymbol:ec,ZodUndefined:ef,ZodNull:eh,ZodAny:ep,ZodUnknown:em,ZodNever:eg,ZodVoid:ev,ZodArray:eb,ZodObject:e_,ZodUnion:ey,ZodDiscriminatedUnion:ex,ZodIntersection:eC,ZodTuple:ew,ZodRecord:eA,ZodMap:eF,ZodSet:eE,ZodFunction:eT,ZodLazy:eS,ZodLiteral:eP,ZodEnum:eD,ZodNativeEnum:eN,ZodPromise:eZ,ZodEffects:eI,ZodTransformer:eI,ZodOptional:eR,ZodNullable:ej,ZodDefault:eB,ZodCatch:eL,ZodNaN:e$,BRAND:eM,ZodBranded:eU,ZodPipeline:ez,ZodReadonly:eV,custom:eq,Schema:M,ZodSchema:M,late:eG,get ZodFirstPartyTypeKind(){return m},coerce:{string:e=>es.create({...e,coerce:!0}),number:e=>eo.create({...e,coerce:!0}),boolean:e=>eu.create({...e,coerce:!0}),bigint:e=>ed.create({...e,coerce:!0}),date:e=>el.create({...e,coerce:!0})},any:e4,array:e8,bigint:eJ,boolean:eY,date:eQ,discriminatedUnion:tt,effect:th,enum:tl,function:to,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>eq(t=>t instanceof e,t),intersection:tr,lazy:td,literal:tu,map:ti,nan:eH,nativeEnum:tc,never:e3,null:e2,nullable:tm,number:eW,object:e7,oboolean:()=>eY().optional(),onumber:()=>eW().optional(),optional:tp,ostring:()=>eX().optional(),pipeline:tv,preprocess:tg,promise:tf,record:tn,set:ts,strictObject:e6,string:eX,symbol:e0,transformer:th,tuple:ta,undefined:e1,union:te,unknown:e5,void:e9,NEVER:S,ZodIssueCode:k,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:x});e.s(["object",()=>e7,"z",()=>tb],24781);let t_=(r="object"==typeof(u={server:{HCAPTCHA_SECRET:tb.string().min(1,"Required"),HCAPTCHA_SITEKEY:tb.string().min(1,"Required"),REVALIDATE_SECRET:tb.string().min(1,"Required"),ZD_API:tb.string().optional(),ZD_EMAIL_ADDR:tb.string().email("Invalid email").optional(),ZD_TOKEN:tb.string().optional(),SG_FROM_ADDRESS:tb.string().email("Invalid email").optional(),SG_TO_ADDRESS:tb.string().email("Invalid email").optional(),SG_TOKEN:tb.string().optional(),SITE_URL:tb.string().url("Invalid URL").min(1,"Required"),SMTP_HOST:tb.string().min(1,"Required"),IMAP_HOST:tb.string().min(1,"Required"),NEXTJS_DEBUG:tb.string(),TG_BOT_TOKEN:tb.string(),TG_CHAT_ID:tb.string(),STRATEGY:tb.enum(["zendesk","sendgrid"])},client:{NEXT_PUBLIC_SIGN_IN_LINK:tb.string().url("Invalid URL").min(1,"Required"),NEXT_PUBLIC_STRAPI_STATUS_ENDPOINT:tb.string().url("Invalid URL").min(1,"Required"),NEXT_PUBLIC_STRAPI_ENDPOINT:tb.string().url("Invalid URL").min(1,"Required"),NEXT_PUBLIC_BRAND:tb.string().min(1,"Required"),NEXT_PUBLIC_DEFAULT_LOCALE:tb.string().min(1,"Required"),NEXT_PUBLIC_LOCALES:tb.string().transform(e=>e.split(","))},runtimeEnv:{HCAPTCHA_SECRET:b.default.env.HCAPTCHA_SECRET,HCAPTCHA_SITEKEY:b.default.env.HCAPTCHA_SITEKEY,REVALIDATE_SECRET:b.default.env.REVALIDATE_SECRET,STRATEGY:b.default.env.STRATEGY,ZD_API:b.default.env.ZD_API,ZD_EMAIL_ADDR:b.default.env.ZD_EMAIL_ADDR,ZD_TOKEN:b.default.env.ZD_TOKEN,SG_FROM_ADDRESS:b.default.env.SG_FROM_ADDRESS,SG_TO_ADDRESS:b.default.env.SG_TO_ADDRESS,SG_TOKEN:b.default.env.SG_TOKEN,NEXT_PUBLIC_SIGN_IN_LINK:"https://app.inet.fi",SITE_URL:b.default.env.SITE_URL,NEXT_PUBLIC_STRAPI_ENDPOINT:"https://strapi.inet.fi",NEXT_PUBLIC_STRAPI_STATUS_ENDPOINT:"https://status.fjordmail.no",NEXT_PUBLIC_LOCALES:"fi",NEXT_PUBLIC_DEFAULT_LOCALE:"fi",NEXT_PUBLIC_BRAND:"Inet.f
1i",SMTP_HOST:b.default.env.SMTP_HOST,IMAP_HOST:b.default.env.IMAP_HOST,NEXTJS_DEBUG:b.default.env.NEXTJS_DEBUG,TG_BOT_TOKEN:b.default.env.TG_BOT_TOKEN,TG_CHAT_ID:b.default.env.TG_CHAT_ID}}).client?u.client:{},a="object"==typeof u.server?u.server:{},n=u.shared,i=u.runtimeEnv?u.runtimeEnv:{...b.default.env,...u.experimental__runtimeEnv},function(e){let t=e.runtimeEnvStrict??e.runtimeEnv??b.default.env;if(e.emptyStringAsUndefined)for(let[e,r]of Object.entries(t))""===r&&delete t[e];if(e.skipValidation)return t;let r="object"==typeof e.client?e.client:{},a="object"==typeof e.server?e.server:{},n="object"==typeof e.shared?e.shared:{},i=e7(r),s=e7(a),o=e7(n),d=e.isServer??("u"<typeof window||"Deno"in window),u=i.merge(o),l=s.merge(o).merge(i),c=d?l.safeParse(t):u.safeParse(t),f=e.onValidationError??(e=>{throw console.error("❌ Invalid environment variables:",e.flatten().fieldErrors),Error("Invalid environment variables")}),h=e.onInvalidAccess??(e=>{throw Error("❌ Attempted to access a server-side environment variable on the client")});if(!1===c.success)return f(c.error);let p=(e.extends??[]).reduce((e,t)=>Object.assign(e,t),{});return new Proxy(Object.assign(c.data,p),{get(t,r){if("string"==typeof r&&"__esModule"!==r&&"$$typeof"!==r)return d||e.clientPrefix&&(r.startsWith(e.clientPrefix)||r in o.shape)?Reflect.get(t,r):h(r)}})}({...u,shared:n,client:r,server:a,clientPrefix:"NEXT_PUBLIC_",runtimeEnv:i}));e.s(["env",0,t_],33711);var ty=e.i(99133);let tk={className:ty.default.className,style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"}};null!=ty.default.variable&&(tk.variable=ty.default.variable);var tx=e.i(54881);let tC={className:tx.default.className,style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"}};null!=tx.default.variable&&(tC.variable=tx.default.variable);let tw={breakpoints:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em",lineshift:"576px"},font:tk.variable,fontChosings:{heading:"inter",subText:"inter"},colors:{button:{base:"#4299E1",hover:"#3182CE",textColor:"#FFFFFF"},background:{base:"#F7FAFC"},text:{base:"#1A202C",link:"#3182CE"},navbar:{active:"#3182CE",link:{base:"#4A5568",hover:"#1A202C"},background:"#FFFFFF"},footer:{background:"#2D3748",border:"#1A202C",text:"#FFFFFF"},errorPages:{title:"#3182CE",button:{base:"#4299E1",hover:"#3182CE"}},contactPage:{focusRing:"#3182CE"},faq:{accordion:{background:{base:"#FFFFFF",hover:"#F7FAFC",opened:"#EBF8FF"},bottomBorder:"#3182CE",content:{background:"#FFFFFF"}},contactField:{background:"#3182CE",text:"#FFFFFF",border:"#2C5282",button:{base:"#2C5282",hover:"#2A4365",textColor:"#FFFFFF"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#FFFFFF"}},helpCenter:{card:{background:"#FFFFFF",border:"#3182CE",iconColor:"#4299E1",text:{heading:"#2D3748",description:"#718096"}}},welcome:{header:{background:"#FFFFFF"},content:{background:"#FFFFFF"}}}};function tA(e){return{...tw,...e,colors:{...tw.colors,...e.colors}}}let tF=tA({domain:"citromail.hu",googleSiteVerification:"Ry1zuidrOXlZVj4vP1C_YTlX_LC3SvjpmS6imiKWOWY",images:{footer:{logo:"/images/citromail/white-logo.svg",height:332,width:1459},navbar:{logo:"/images/citromail/logo.png",height:30,width:154},welcome:"/images/citromail/main-logo.svg",favicon:"/images/citromail/favicon.svg",errorImg404:"/images/citromail/404-title.png",errorBg:"/images/citromail/404-bg.png"},fontChosings:{heading:"changa",subText:"changa"},colors:{button:{base:"#7b4",hover:"#8c6",textColor:"#fff"},background:{base:"#F7FAFC"},text:{base:"#000",link:"#7b4"},navbar:{active:"#38A169",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"},footer:{background:"#212831",border:"#101418",text:"#fff"},errorPages:{title:"#7b4",button:{base:"#3be",hover:"#4cf"}},contactPage:{focusRing:"#7b4"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#8c6"},bottomBorder:"#8c6",content:{background:"#fff"}},contactField:{background:"#48BB78",text:"#fff",border:"#000",button:{base:"#25302D",hover:"#28332F",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#7b4",iconColor:"#8c6",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#fff"},content:{background:"#fff"}}}}),tE=tA({googleSiteVerification:"bNMGM7Rt-FtdBJXQdPnyjDuhqgZrD9YCGico1DUWAsc",domain:"webmail.co.za",images:{footer:{logo:"/images/webmail/footer.png",height:332,width:1459},navbar:{logo:"/images/webmail/logo.png",width:218.18,height:30},welcome:"/images/webmail/welcome.png",favicon:"/images/webmail/favicon.png"},fontChosings:{heading:"changa",subText:"changa"},colors:{button:{base:"#F7BD39",hover:"#f4b219",textColor:"#fff"},background:{base:"#EDF0ED"},text:{base:"#000",link:"#fcaf3b"},navbar:{active:"#B7791F",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"}
1,footer:{background:"#25302D",border:"#f7be39",text:"#EDF2F7"},errorPages:{title:"#F7BD39",button:{base:"#F7BD39",hover:"#f4b219"}},contactPage:{focusRing:"#F7BD39"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#F7BD39"},bottomBorder:"#F7BD39",content:{background:"#F6F5F3"}},contactField:{background:"#F7BD39",text:"#fff",border:"#000",button:{base:"#25302D",hover:"#28332F",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#F7BD39",iconColor:"#F7BC3A",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#F7BD39"},content:{background:"#f4f4f4"}}}}),tT=tA({googleSiteVerification:"-hN4gzoXTnkFJU0wo8AJ3AoXlpqLehaBYLvaxCSFTek",domain:"wemail.no",images:{footer:{logo:"/images/wemail/logo-w.svg",height:332,width:1459},navbar:{logo:"/images/wemail/logo.png",width:96,height:30},welcome:"/images/wemail/logo-w.svg",favicon:"/images/wemail/favicon.svg"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#288D90",hover:"#0B505A",textColor:"#fff"},background:{base:"#F5F3F5"},text:{base:"#000",link:"#8F3985"},navbar:{active:"#0C4F5A",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"},footer:{background:"#094049",border:"#073036",text:"#EDF2F7"},errorPages:{title:"#0C505A",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#0C505A"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#8F3985"},bottomBorder:"#8F3985",content:{background:"#FFF"}},contactField:{background:"#288D90",text:"#fff",border:"#0C505A",button:{base:"#25302D",hover:"#28332F",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#0C505A",iconColor:"#116F7E",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#0C4F5A"},content:{background:"#fff"}}}}),tS=tA({googleSiteVerification:"7zgAgZykimOOn1UTJqz9NFsqWNoFe1W8Q1E3zkCXYzo",domain:"mailia.no",images:{footer:{logo:"/images/mailia/logo-w.svg",height:332,width:1459},navbar:{logo:"/images/mailia/logo.png",width:119,height:30},welcome:"/images/mailia/logo-w.svg",favicon:"/images/mailia/favicon.svg"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#288D90",hover:"#0B505A",textColor:"#fff"},background:{base:"#F5F3F5"},text:{base:"#000",link:"#8F3985"},navbar:{active:"#0C4F5A",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"},footer:{background:"#094049",border:"#073036",text:"#EDF2F7"},errorPages:{title:"#0C505A",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#0C505A"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#8F3985"},bottomBorder:"#8F3985",content:{background:"#FFF"}},contactField:{background:"#288D90",text:"#fff",border:"#0C505A",button:{base:"#25302D",hover:"#28332F",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#0C505A",iconColor:"#116F7E",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#0C4F5A"},content:{background:"#fff"}}}}),tP=tA({googleSiteVerification:"s8byX3EhI58_l3hJHKHiJj4LVQXJLgjg86GymZNeRRA",domain:"sol.dk",images:{footer:{logo:"/images/sol/white.svg",height:332,width:1459},navbar:{logo:"/images/sol/main.png",width:75.41,height:30},welcome:"/images/sol/white.svg",favicon:"/images/sol/favicon.svg"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#EF233C",hover:"#D80032",textColor:"#fff"},background:{base:"#EDF2F4"},text:{base:"#000",link:"#F14156"},navbar:{active:"#F14156",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"},footer:{background:"#2B2D42",border:"#073036",text:"#EDF2F7"},errorPages:{title:"#EF233C",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#8D99AE"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#CC0030"},bottomBorder:"#CC0030",content:{background:"#FFF"}},contactField:{background:"#EE1B34",text:"#fff",border:"#BE0E23",button:{base:"#7A001D",hover:"#660018",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#660018",iconColor:"#BE0E23",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#BE0E23"},content:{background:"#fff"}}}}),tO=tA({googleSiteVerification:"caBPGWwgYjKZxA2sJen1e1Prlf-pcHxXG7jMcSX0yh8",domain:"online.ee",images:{footer:{logo:"/images/online/footer.png",height:267,width:822},navbar:{logo:"/images/online/logo.png",width:140.37,height:30},welcome:"/images/online/footer.png",favicon:"/images/inbox/favicon.png"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#44A1D9",hover:"#2A8DCB",textColor:"#fff"},background:{base:"#F5F3F5"},text:{base:"#000",link:"#42AAE0"},navbar:{active:"#2681BA",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"}
1,footer:{background:"#0E112B",border:"#073036",text:"#EDF2F7"},errorPages:{title:"#0E112B",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#0E112B"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#2681BA"},bottomBorder:"#2681BA",content:{background:"#FFF"}},contactField:{background:"#1C5E87",text:"#fff",border:"#1C5E87",button:{base:"#2C9FDD",hover:"#3EA7E0",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#2681BA",iconColor:"#2681BA",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#0E112B"},content:{background:"#fff"}}}}),tD=tA({googleSiteVerification:"VlxsnjRqkVyZK9ebl1jikTc-XsGpltRl93z1_dOksCk",domain:"jubii.dk",images:{footer:{logo:"/images/jubii/white.svg",height:37.5,width:164.7975},navbar:{logo:"/images/jubii/logo.png",width:47.62,height:30},welcome:"/images/jubii/white.svg",favicon:"/images/jubii/favicon.png"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#FE7E00",hover:"#F57A00",textColor:"#fff"},background:{base:"#F5F3F5"},text:{base:"#000",link:"#147c5f"},navbar:{active:"#1E2A33",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"}
1,footer:{background:"#157C5F",border:"#157C5F",text:"#EDF2F7"},errorPages:{title:"#2D3F4D",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#F57A00"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#4C9F70"},bottomBorder:"#4C9F70",content:{background:"#FFF"}},contactField:{background:"#157C5F",text:"#fff",border:"#1E2A33",button:{base:"#25302D",hover:"#28332F",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#126950",iconColor:"#157C5F",text:{heading:"#0A0B0A",description:"#0A0B0A"}}},welcome:{header:{background:"#2D3F4D"},content:{background:"#fff"}}}}),tN=tA({googleSiteVerification:"Bjmud8dt-Ro9h4tTmN9ikDXVaLUsspwfH8lTb1d9eLA",domain:"inet.fi",images:{footer:{logo:"/images/inet/logo-w.svg",height:332,width:1459},navbar:{logo:"/images/inet/logo.png",width:131,height:30},welcome:"/images/inet/logo-w.svg",favicon:"/images/inet/favicon.svg"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#02A9EA",hover:"#02A0DE",textColor:"#fff"},background:{base:"#FFFFFF"},text:{base:"#000",link:"#0291CA"},navbar:{active:"#0DB9FD",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"},footer:{background:"#232C33",border:"#232C33",text:"#EDF2F7"},errorPages:{title:"#232C33",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#0274A2"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#32DE8A"},bottomBorder:"#32DE8A",content:{background:"#FFF"}},contactField:{background:"#1FC173",text:"#fff",border:"#0C505A",button:{base:"#232C33",hover:"#28332F",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#F5F5F5"}},helpCenter:{card:{background:"#fff",border:"#232C33",iconColor:"#0274A2",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#0C4F5A"},content:{background:"#F5F5F5"}}}}),tZ=tA({googleSiteVerification:"RRw-xEL7tcTiVzTLjpfG5JLJUqoTLJkA2KLjAONeiJs",domain:"luukku.com",images:{footer:{logo:"/images/luukku/white.svg",height:332,width:1459},navbar:{logo:"/images/luukku/main.png",width:49.32,height:30},welcome:"/images/luukku/white.svg",favicon:"/images/luukku/favicon.svg"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#B6244F",hover:"#AA224B",textColor:"#fff"},background:{base:"#FCFCFC"},text:{base:"#000",link:"#7D83FF"},navbar:{active:"#0C4F5A",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"},footer:{background:"#2D3342",border:"#2D3342",text:"#EDF2F7"},errorPages:{title:"#2D3342",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#881B3C"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#7077FF"},bottomBorder:"#7077FF",content:{background:"#FFF"}},contactField:{background:"#5C64FF",text:"#fff",border:"#0C505A",button:{base:"#2D3342",hover:"#292F3D",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#881B3C",iconColor:"#AA224B",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#2D3342"},content:{background:"#fff"}}}}),tI=tA({domain:"email.it",googleSiteVerification:"-AbuEQmXj7BlD-m6cigmCYXEM8va_fIikiJNSb73Rzw",images:{footer:{logo:"/images/email.it/logo-w.svg",height:332,width:1459},navbar:{logo:"/images/email.it/logo.png",width:127,height:30},welcome:"/images/email.it/logo-w.svg",favicon:"/images/email.it/favicon.svg"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#005D82",hover:"#2C7DA0",textColor:"#fff"},background:{base:"#e1ecf0"},text:{base:"#000",link:"#005D82"},navbar:{active:"#005D82",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"},footer:{background:"#2A2A2A",border:"#000",text:"#EDF2F7"},errorPages:{title:"#3596C0",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#3596C0"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#005D82"},bottomBorder:"#005D82",content:{background:"#FFF"}},contactField:{background:"#3596C0",text:"#fff",border:"#000",button:{base:"#25302D",hover:"#28332F",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#2C7DA0",iconColor:"#3596C0",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#3596C0"},content:{background:"#fff"}}}}),tR=tA({googleSiteVerification:"eQeSI1qV7wTeyf1zO0HmpMYNx0eocfpreYn3EBtMfG4",domain:"indamail.hu",images:{footer:{logo:"/images/indamail/logo-w.svg",height:332,width:1459},navbar:{logo:"/images/indamail/logo.png",width:119,height:30},welcome:"/images/indamail/logo-w.svg",favicon:"/images/indamail/favicon.svg"},fontChosings:{heading:"inter",subText:"roboto"},colors:{button:{base:"#2B8BC3",hover:"#2577A7",textColor:"#fff"},background:{base:"#DEF0F7"},text:{base:"#000",link:"#005D82"},navbar:{active:"#005D82",link:{base:"#4A5568",hover:"#1A202C"},background:"#fff"}
1,footer:{background:"#13293D",border:"#0E1F2F",text:"#EDF2F7"},errorPages:{title:"#21496E",button:{base:"#005D82",hover:"#2C7DA0"}},contactPage:{focusRing:"#21496E"},faq:{accordion:{background:{base:"#fff",hover:"#f4f4f4",opened:"#21496E"},bottomBorder:"#21496E",content:{background:"#FFF"}},contactField:{background:"#295D8E",text:"#fff",border:"#25537E",button:{base:"#25302D",hover:"#28332F",textColor:"#fff"}}},status:{statuses:{success:"#48BB78",error:"#F56565",warning:"#ECC94B"},card:{background:"#fff"}},helpCenter:{card:{background:"#fff",border:"#25537E",iconColor:"#295D8E",text:{heading:"#25302D",description:"#7A7A7A"}}},welcome:{header:{background:"#132A3F"},content:{background:"#fff"}}}}),tj="webmail",tB={citromail:tF,webmail:tE,wemail:tT,mailia:tS,sol:tP,online:tO,jubii:tD,inet:tN,luukku:tZ,emailit:tI,indamail:tR},tL={"webmail.co.za":"webmail","citromail.hu":"citromail","email.it":"emailit","indamail.hu":"indamail",mailia:"mailia",wemail:"wemail","inet.fi":"inet","online.ee":"online","sol.dk":"sol","luukku.com":"luukku","jubii.dk":"jubii"};function t$(e){return Object.keys(tL).includes(e)}function tM(e){3===(e=e.replace("#","")).length&&(e=e.split("").map(e=>e+e).join(""));let t=parseInt(e.substring(0,2),16)/255,r=parseInt(e.substring(2,4),16)/255,a=parseInt(e.substring(4,6),16)/255,n=Math.max(t,r,a),i=Math.min(t,r,a),s=0,o=0,d=(n+i)/2;if(n!==i){let e=n-i;o=d>.5?e/(2-n-i):e/(n+i),n===t?s=(r-a)/e+6*(r<a):n===r?s=(a-t)/e+2:n===a&&(s=(t-r)/e+4),s/=6}s=Math.round(360*s),o=Math.round(100*o);let u=Math.round(100*d);return`${s} ${o}% ${u}%`}let tU=(0,v.createContext)(void 0);function tz({children:e,themeId:t}){var r,a;let n,i=t?(r=t)?t$(r)?tB[tL[r]]:(console.warn(`Theme "${r}" not found in Strapi mapping, using default (${tj})`),tB[tj]):(console.warn(`No theme ID provided, using default (${tj})`),tB[tj]):(n=t_.NEXT_PUBLIC_BRAND)?(a=n,Object.keys(tB).includes(a))?tB[n]:t$(n)?tB[tL[n]]:(console.warn(`Theme "${n}" not found, using default (${tj})`),tB[tj]):(console.warn(`No theme specified in environment, using default (${tj})`),tB[tj]);return(0,v.useEffect)(()=>{let e=()=>{console.warn(`Favicon for ${t} not found, using default`);let e=document.querySelector('link[rel="icon"]');e&&e.setAttribute("href","/images/webmail/favicon.svg")},r=document.querySelector('link[rel="icon"]');if(r)return r.addEventListener("error",e),()=>{r.removeEventListener("error",e)}},[t]),(0,v.useEffect)(()=>{let e="theme-webmail";"webmail.co.za"===t?e="theme-webmail":"citromail.hu"===t?e="theme-citromail":"email.it"===t?e="theme-email":"indamail.hu"===t?e="theme-indamail":"mailia"===t?e="theme-mailia":"wemail"===t?e="theme-wemail":"inet.fi"===t?e="theme-inet":"online.ee"===t?e="theme-online":"sol.dk"===t?e="theme-sol":"luukku.com"===t?e="theme-luukku":"jubii.dk"===t&&(e="theme-jubii"),document.body.classList.forEach(e=>{e.startsWith("theme-")&&document.body.classList.remove(e)}),document.body.classList.add(e);let r=document.documentElement;return r.style.setProperty("--theme-button-base",tM(i.colors.button.base)),r.style.setProperty("--theme-button-hover",tM(i.colors.button.hover)),r.style.setProperty("--theme-button-textColor",tM(i.colors.button.textColor)),r.style.setProperty("--theme-background-base",tM(i.colors.background.base)),r.style.setProperty("--theme-text-base",tM(i.colors.text.base)),r.style.setProperty("--theme-text-link",tM(i.colors.text.link)),r.style.setProperty("--theme-navbar-active",tM(i.colors.navbar.active)),r.style.setProperty("--theme-navbar-link-base",tM(i.colors.navbar.link.base)),r.style.setProperty("--theme-navbar-link-hover",tM(i.colors.navbar.link.hover)),r.style.setProperty("--theme-navbar-background",tM(i.colors.navbar.background)),r.style.setProperty("--theme-footer-background",tM(i.colors.footer.background)),r.style.setProperty("--theme-footer-border",tM(i.colors.footer.border)),r.style.setProperty("--theme-footer-text",tM(i.colors.footer.text)),r.style.setProperty("--theme-status-statuses-success",tM(i.colors.status.statuses.success)),r.style.setProperty("--theme-status-statuses-error",tM(i.colors.status.statuses.error)),r.style.setProperty("--theme-status-statuses-warning",tM(i.colors.status.statuses.warning)),r.style.setProperty("--primary",tM(i.colors.button.base)),r.style.setProperty("--primary-foreground",tM(i.colors.button.textColor)),r.style.setProperty("--background",tM(i.colors.background.base)),r.style.setProperty("--foreground",tM(i.colors.text.base)),r.style.setProperty("--accent",tM(i.colors.navbar.active)),r.style.setProperty("--accent-foreground",tM(i.colors.text.base)),r.style.setProperty("--muted",tM(i.colors.footer.background)),r.style.setProperty("--muted-foreground",tM(i.colors.footer.text)),()=>{document.body.classList.remove(e)}},[i,t]),(0,g.jsx)(tU.Provider,{value:{theme:i},children:e})}e.s(["ThemeProvider",()=>tz,"useTheme",0,()=>{let e=(0,v.useContext)(tU);if(!e)throw Error("useTheme must be used within a ThemeProvider");return e}],21613)},8321,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0});var a={assign:function(){return d},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return o}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});function i(e){let t={};for(let[r,a]of e.entries()){let e=t[r];void 0===e?t[r]=a:Array.isArray(e)?e.push(a):t[r]=[e,a]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,a]of Object.entries(e))if(Array.isArray(a))for(let e of a)t.append(r,s(e));else t.set(r,s(a));return t}function d(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,a]of r.entries())e.append(t,a)}return e}},83066,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={formatUrl:function(){return o},formatWithValidation:function(){return u},urlObjectKeys:function(){return d}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let i=e.r(2139)._(e.r(8321)),s=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,a=e.protocol||"",n=e.pathname||"",o=e.hash||"",d=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),d&&"object"==typeof d&&(d=String(i.urlQueryToSearchParams(d)));let l=e.search||d&&`?${d}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||s.test(a))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),o&&"#"!==o[0]&&(o="#"+o),l&&"?"!==l[0]&&(l="?"+l),n=n.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),`${a}${u}${n}${l}${o}`}let d=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return o(e)}},27884,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let a=e.r(32908);function n(e,t){let r=(0,a.useRef)(null),n=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=i(e,a)),t&&(n.current=i(t,a))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},31714,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return k},MissingStaticPage:function(){return y},NormalizeError:function(){return b},PageNotFoundError:function(){return _},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return i},execOnce:function(){return s},getDisplayName:function(){return c},getLocationOrigin:function(){return u},getURL:function(){return l},isAbsoluteUrl:function(){return d},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return x}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...a)=>(r||(r=!0,t=e(...a)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,d=e=>o.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function l(){let{href:e}=window.location,t=u();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let a=await e.getInitialProps(t);if(r&&f(r))return a;if(!a)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${a}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class b extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class k extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},47237,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let a=e.r(31714),n=e.r(3033);function i(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},12768,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},55236,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return v},useLinkStatus:function(){return _}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let i=e.r(2139),s=e.r(10077),o=i._(e.r(32908)),d=e.r(83066),u=e.r(58703),l=e.r(27884),c=e.r(31714),f=e.r(56905);e.r(98846);let h=e.r(13126),p=e.r(47237),m=e.r(44679);function g(e){return"string"==typeof e?e:(0,d.formatUrl)(e)}function v(t){var r;let a,n,i,[d,v]=(0,o.useOptimistic)(h.IDLE_LINK_STATUS),_=(0,o.useRef)(null),{href:y,as:k,children:x,prefetch:C=null,passHref:w,replace:A,shallow:F,scroll:E,onClick:T,onMouseEnter:S,onTouchStart:P,legacyBehavior:O=!1,onNavigate:D,ref:N,unstable_dynamicOnHover:Z,...I}=t;a=x,O&&("string"==typeof a||"number"==typeof a)&&(a=(0,s.jsx)("a",{children:a}));let R=o.default.useContext(u.AppRouterContext),j=!1!==C,B=!1!==C?null===(r=C)||"auto"===r?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:L,as:$}=o.default.useMemo(()=>{let e=g(y);return{href:e,as:k?g(k):e}},[y,k]);if(O){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=o.default.Children.only(a)}let M=O?n&&"object"==typeof n&&n.ref:N,U=o.default.useCallback(e=>(null!==R&&(_.current=(0,h.mountLinkInstance)(e,L,R,B,j,v)),()=>{_.current&&((0,h.unmountLinkForCurrentNavigation)(_.current),_.current=null),(0,h.unmountPrefetchableInstance)(e)}),[j,L,R,B,v]),z={ref:(0,l.useMergedRef)(U,M),onClick(t){O||"function"!=typeof T||T(t),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),!R||t.defaultPrevented||function(t,r,a,n,i,s,d){if("u">typeof window){let u,{nodeName:l}=t.currentTarget;if("A"===l.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),d){let e=!1;if(d({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:c}=e.r(3173);o.default.startTransition(()=>{c(a||r,i?"replace":"push",s??!0,n.current)})}}(t,L,$,_,A,E,D)},onMouseEnter(e){O||"function"!=typeof S||S(e),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),R&&j&&(0,h.onNavigationIntent)(e.currentTarget,!0===Z)},onTouchStart:function(e){O||"function"!=typeof P||P(e),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),R&&j&&(0,h.onNavigationIntent)(e.currentTarget,!0===Z)}};return(0,c.isAbsoluteUrl)($)?z.href=$:O&&!w&&("a"!==n.type||"href"in n.props)||(z.href=(0,f.addBasePath)($)),i=O?o.default.cloneElement(n,z):(0,s.jsx)("a",{...I,...z,children:a}),(0,s.jsx)(b.Provider,{value:d,children:i})}e.r(12768);let b=(0,o.createContext)(h.IDLE_LINK_STATUS),_=()=>(0,o.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.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.