"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),o=new WeakMap,i=(t,r)=>{var n;const e=(n=c.getCurrentInstance())==null?void 0:n.proxy;if(e==null)throw new Error("provideLocal must be called in setup");o.has(e)||o.set(e,Object.create(null));const a=o.get(e);a[t]=r,c.provide(t,r)},s=(...t)=>{var r;const n=t[0],e=(r=c.getCurrentInstance())==null?void 0:r.proxy;if(e==null)throw new Error("injectLocal must be called in setup");return o.has(e)&&n in o.get(e)?o.get(e)[n]:c.inject(...t)};typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const l=Symbol("FORM_PROVIDER_CONTEXT"),u=t=>i(l,t),d=()=>s(l);exports.FORM_PROVIDER_CONTEXT=l;exports.createFormProvider=u;exports.useFormContext=d;
//# sourceMappingURL=form.js.map
