'use strict';
import { resourceNames } from '../../fd-toolbox/resources/resource-names.js';
import { getRelativeResourceUrl } from '../../level2/meta/services/meta-navigations.js';
import { wizardButtonIds } from '../../level2/client/components/wizard/fd-wizard-constants.js';
import { routes } from '../../fd-toolbox/routing/routes.js';
import { getUiTester } from '../ui-tester/global-ui-test.js';

var __defProp=Object['defineProperty'],__name=(_0x26ab2d,_0x28cbb0)=>__defProp(_0x26ab2d,'name',{'value':_0x28cbb0,'configurable':!![]});const redirectUrl=getRelativeResourceUrl(routes['view'],resourceNames['product']);async function accountSetupPoGoToPaymentTermsStep(){const _0x26205a=getUiTester();await _0x26205a['click'](wizardButtonIds['nextButton']+(-0x1*0xbf2+0x192e+-0xd3c));}__name(accountSetupPoGoToPaymentTermsStep,'accountSetupPoGoToPaymentTermsStep');async function accountSetupPoGoToPaymentDetailsStep(){const _0x3d1c53=getUiTester();await _0x3d1c53['click'](wizardButtonIds['nextButton']+(0x1aff*0x1+-0x1190+-0x2*0x4b7));}__name(accountSetupPoGoToPaymentDetailsStep,'accountSetupPoGoToPaymentDetailsStep');async function accountSetupPoCompleteSubscription(){const _0x1482fd=getUiTester();await _0x1482fd['click'](wizardButtonIds['nextButton']+(-0x1f*0x53+0x232*-0x2+0xe73)),await _0x1482fd['expectUrl'](redirectUrl);}__name(accountSetupPoCompleteSubscription,'accountSetupPoCompleteSubscription');

export { accountSetupPoCompleteSubscription, accountSetupPoGoToPaymentDetailsStep, accountSetupPoGoToPaymentTermsStep };
