/*!
 * Built by ShiftSoftware
 * Copyright (c)
 */
import"./index.js";import{v as e}from"./p-Bv4XbzaY.js";const t={"part-lookup":"generated/standard-dealer/part-lookup.json","vehicle-lookup":"generated/standard-dealer/vehicle-lookup.json"},o={};async function n(n,r=""){const a=t[n];if(!a||!a.length)throw new Error(`Mock file not found for: ${n}`);const c=await async function(t,n){if(o[t])return await o[t];try{let r;r=n&&n.trim().length?n:`https://cdn.jsdelivr.net/npm/adp-web-components@${e}/dist/mocks/${t}`;const a=fetch(r).then((e=>(e.ok||delete o[t],e.json())));o[t]=a;const c=await a,s=Object.keys(c).length;return console.log(`✅ Loaded mock: ${t} (${s} items)`),console.table(Object.entries(c).map((([e,t])=>({key:e,value:t})))),o[t]=c,c}catch(e){return delete o[t],{}}}(a,r);return c}export{n as g}