/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=(t,e)=>{const s=function(t,e){const s=new Map;for(const a of t){const t=a.path??[];let o=e,n="";for(let e=0;e<t.length;e++){const s=t[e];if(void 0===s)continue;const a="object"==typeof s?s.key:s,r=Number(a);Array.isArray(o)&&!Number.isNaN(r)?n+=`[${r}]`:n+=(e>0?".":"")+String(a),o="object"==typeof o&&null!==o?o[a]:void 0}s.set(n,(s.get(n)??[]).concat(a))}return Object.fromEntries(s)}(t,e);return{form:s,fields:s}},e={validate({value:e,validationSource:s},a){const o=a["~standard"].validate(e);if(o instanceof Promise)throw new Error("async function passed to sync validator");if(o.issues)return"field"===s?o.issues:t(o.issues,e)},async validateAsync({value:e,validationSource:s},a){const o=await a["~standard"].validate(e);if(o.issues)return"field"===s?o.issues:t(o.issues,e)}};exports.isStandardSchemaValidator=t=>!!t&&"~standard"in t,exports.standardSchemaValidators=e;