var{defineProperty:I,getOwnPropertyNames:L,getOwnPropertyDescriptor:N}=Object,O=Object.prototype.hasOwnProperty;function P(j){return this[j]}var W=(j)=>{var z=(K??=new WeakMap).get(j),D;if(z)return z;if(z=I({},"__esModule",{value:!0}),j&&typeof j==="object"||typeof j==="function"){for(var G of L(j))if(!O.call(z,G))I(z,G,{get:P.bind(j,G),enumerable:!(D=N(j,G))||D.enumerable})}return K.set(j,z),z},K;var Q=(j)=>j;function T(j,z){this[j]=Q.bind(null,z)}var X=(j,z)=>{for(var D in z)I(j,D,{get:z[D],enumerable:!0,configurable:!0,set:T.bind(z,D)})};var Y=(j,z)=>()=>(j&&(z=j(j=0)),z);function _(j,z){let D=[],G=[];for(let E of j){let J=z.get(E.key);if(!J){G.push({key:E.key,version:E.version}),D.push(`Required feature "${E.key}" not found in registry`);continue}let H=J.meta.version;if(H&&E.version&&H!==E.version)D.push(`Feature "${E.key}" version mismatch: required ${E.version}, registered ${H}`)}return{valid:D.length===0,errors:D,missing:G}}export{_ as validateBundleRequires};
