var messageId=function(e,r){return"".concat(e,"__").concat(r,"-message")};var assignDescription=function(e,r,s){if(!s)return;var t=messageId(e,"helper");if(r)t=messageId(e,"error");return t};var isRequired=function(e,r){if(!e||!r)return;if(r.required===true){e.checkValidity()===false?r.invalid=true:r.invalid=false}};function exposeTypeProperty(e,r){if(Object.getOwnPropertyDescriptor(e,"type"))return;Object.defineProperty(e,"type",{get:typeof r==="function"?r:function(){return r},enumerable:true,configurable:false})}var isSpecTest=function(){var e;return typeof process!=="undefined"&&((e=process.env)===null||e===void 0?void 0:e.__STENCIL_SPEC_TESTS__)==="true"};export{assignDescription as a,isRequired as b,exposeTypeProperty as e,isSpecTest as i,messageId as m};
//# sourceMappingURL=form-C3xDZBme.js.map