"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("vue"),a=require("../../../../../../../@vue_shared@3.4.21/node_modules/@vue/shared/dist/shared.esm-bundler.js"),O=require("../../../../../../../lodash-es@4.17.21/node_modules/lodash-es/fromPairs.js"),n="__epPropKey",g=e=>e,f=e=>a.isObject(e)&&!!e[n],p=(e,r)=>{if(!a.isObject(e)||f(e))return e;const{values:i,required:c,default:u,type:P,validator:s}=e,d={type:P,required:!!c,validator:i||s?l=>{let t=!1,o=[];if(i&&(o=Array.from(i),a.hasOwn(e,"default")&&o.push(u),t||(t=o.includes(l))),s&&(t||(t=s(l))),!t&&o.length>0){const b=[...new Set(o)].map(v=>JSON.stringify(v)).join(", ");y.warn(`Invalid prop: validation failed${r?` for prop "${r}"`:""}. Expected one of [${b}], got value ${JSON.stringify(l)}.`)}return t}:void 0,[n]:!0};return a.hasOwn(e,"default")&&(d.default=u),d},m=e=>O.default(Object.entries(e).map(([r,i])=>[r,p(i,r)]));exports.buildProp=p;exports.buildProps=m;exports.definePropType=g;exports.epPropKey=n;exports.isEpProp=f;
