'use strict';
import { createContext, useContext } from 'react';
import { createError } from '../../../../fd-toolbox/errors/errors.js';

var __defProp=Object['defineProperty'],__name=(_0x380ea2,_0x216e4d)=>__defProp(_0x380ea2,'name',{'value':_0x216e4d,'configurable':!![]});const multiselectContext=createContext(void(0xb7d+-0x1cf+-0x9ae));function useMultiselect(){const _0x3644b7=useContext(multiselectContext);if(!_0x3644b7)throw createError('useMultiselect\x20must\x20be\x20used\x20within\x20MultiselectProvider');return _0x3644b7;}__name(useMultiselect,'useMultiselect');

export { multiselectContext as MultiselectContext, useMultiselect };
