import{i as d,y}from"./dom-context-hooks.module-50442785.js";import{_}from"./index.module-b23fdad8.js";var REGISTRATION_FORM_STATE_CONTEXT="sq:registration-form-state";var REGISTRATION_FORM_STATE_CONTEXT_INTERNAL="sq:registration-form-state-internal";function useRegistrationForm(){var T=d(REGISTRATION_FORM_STATE_CONTEXT_INTERNAL);var t=d(REGISTRATION_FORM_STATE_CONTEXT);if(!T)return[undefined,undefined];return[t,T[1]]}function useRegistrationFormState(T){var t=_();var r=y(t,REGISTRATION_FORM_STATE_CONTEXT,T),e=r[0],R=r[1];y(t,REGISTRATION_FORM_STATE_CONTEXT_INTERNAL,[e,R]);return{registrationFormState:e,setRegistrationFormState:R}}export{REGISTRATION_FORM_STATE_CONTEXT as R,useRegistrationForm as a,useRegistrationFormState as u};