"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("../../../../../../../../_virtual/validate.js"),s=require("../definitions/index.js");var _;function f(){if(_)return u.__exports;_=1,Object.defineProperty(u.__exports,"__esModule",{value:!0}),u.__exports.default=d,u.__exports.validateChild=l,u.__exports.validateField=a;var n=s.__require();function d(i,r,t){if(!i)return;const e=n.NODE_FIELDS[i.type];if(!e)return;const o=e[r];a(i,r,t,o),l(i,r,t)}function a(i,r,t,e){!(e!=null&&e.validate)||e.optional&&t==null||e.validate(i,r,t)}function l(i,r,t){if(t==null)return;const e=n.NODE_PARENT_VALIDATIONS[t.type];!e||e(i,r,t)}return u.__exports}exports.__require=f;
//# sourceMappingURL=validate.js.map
