import{dL as y,dM as b}from"./index-f4658ae7.js";function v(e){for(var t=-1,l=e==null?0:e.length,n={};++t{let i=!1,a=[];if(l&&(a=[...l,r],i||(i=a.includes(u))),s&&(i||(i=s(u))),!i&&a.length>0){const p=[...new Set(a)].map(m=>JSON.stringify(m)).join(", ");b(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(u)}.`)}return i}:void 0;return{type:typeof o=="object"&&Object.getOwnPropertySymbols(o).includes(d)?o[d]:o,required:!!n,default:r,validator:f,[c]:!0}}const w=e=>v(Object.entries(e).map(([t,l])=>[t,g(l,t)])),S=e=>({[d]:e}),j=e=>Object.keys(e),P=e=>e,h=["large","medium","small","mini"];export{g as buildProp,w as buildProps,h as componentSize,S as definePropType,j as keyOf,P as mutable,c as propKey};