import { ZSpaceIsSupportedPM } from "../PM/ZSpaceIsSupportedPM";
export const zSpaceIsSupportedAdapter = {
    defaultVM: false,
    subscribe: (appObjects, setVM) => {
        const pm = ZSpaceIsSupportedPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("zSpaceIsSupportedAdapter", "Unable to find ZSpaceIsSupportedPM");
            return;
        }
        pm.addView(setVM);
    },
    unsubscribe: (appObjects, setVM) => {
        const pm = ZSpaceIsSupportedPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("zSpaceIsSupportedAdapter", "Unable to find ZSpaceIsSupportedPM");
            return;
        }
        pm.removeView(setVM);
    },
};
//# sourceMappingURL=zSpaceIsSupportedAdapter.js.map