{"version":3,"file":"registrationEntry.obs.js","sources":["../../src/Event/RegistrationEntry/utils.partial.ts","../../src/Event/RegistrationEntry/intro.partial.obs","../../src/Event/RegistrationEntry/payment.partial.obs","../../src/Event/RegistrationEntry/feeField.partial.obs","../../src/Event/RegistrationEntry/registrantAttributeField.partial.obs","../../src/Event/RegistrationEntry/registrantPersonField.partial.obs","../../src/Event/RegistrationEntry/registrant.partial.obs","../../src/Event/RegistrationEntry/registrants.partial.obs","../../src/Event/RegistrationEntry/registrationEnd.partial.obs","../../src/Event/RegistrationEntry/registrationStart.partial.obs","../../src/Event/RegistrationEntry/sessionRenewal.partial.obs","../../src/Event/RegistrationEntry/success.partial.obs","../../src/Event/RegistrationEntry/paymentPlans.partial.ts","../../src/Event/RegistrationEntry/configurePaymentPlanModal.partial.obs","../../src/Event/RegistrationEntry/costSummary.partial.obs","../../../Rock.JavaScript.Obsidian/node_modules/style-inject/dist/style-inject.es.js","../../src/Event/RegistrationEntry/discountCodeForm.partial.obs","../../src/Event/RegistrationEntry/registrar.partial.obs","../../src/Event/RegistrationEntry/summary.partial.obs","../../src/Event/RegistrationEntry/types.partial.ts","../../src/Event/registrationEntry.obs"],"sourcesContent":["// \n// Copyright by the Spark Development Network\n//\n// Licensed under the Rock Community License (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.rockrms.com/license\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n// \n//\n\nimport { Guid } from \"@Obsidian/Types\";\nimport { CurrentPersonBag } from \"@Obsidian/ViewModels/Crm/currentPersonBag\";\nimport { newGuid } from \"@Obsidian/Utility/guid\";\nimport {\n RegistrationEntryState,\n RegistrationCostSummaryInfo,\n RegistrantBasicInfo,\n PaymentPlanConfiguration,\n PersonGuid,\n FormFieldGuid,\n FormFieldValue,\n RegistrationEntryTerminology\n} from \"./types.partial\";\nimport { ComputedRef, InjectionKey, Ref, inject, nextTick } from \"vue\";\nimport { smoothScrollToTop } from \"@Obsidian/Utility/page\";\nimport { PublicComparisonValueBag } from \"@Obsidian/ViewModels/Utility/publicComparisonValueBag\";\nimport { ComparisonValue } from \"@Obsidian/Types/Reporting/comparisonValue\";\nimport { RegistrationEntryArgsBag } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrationEntryArgsBag\";\nimport { RegistrantsSameFamily } from \"@Obsidian/Enums/Event/registrantsSameFamily\";\nimport { RegistrationPersonFieldType } from \"@Obsidian/Enums/Event/registrationPersonFieldType\";\nimport { RegistrationFieldSource } from \"@Obsidian/Enums/Event/registrationFieldSource\";\nimport { RegistrantBag } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrantBag\";\nimport { RegistrationEntryFormBag } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrationEntryFormBag\";\nimport { RegistrationEntryFormFieldBag } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrationEntryFormFieldBag\";\nimport { RegistrationEntryInitializationBox } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrationEntryInitializationBox\";\n\n/** If all registrants are to be in the same family, but there is no currently authenticated person,\n * then this guid is used as a common family guid */\nconst unknownSingleFamilyGuid = newGuid();\n\n/**\n * If there is a forced family guid because of RegistrantsSameFamily setting, then this returns that guid\n * @param currentPerson\n * @param viewModel\n */\nexport function getForcedFamilyGuid(currentPerson: CurrentPersonBag | null, viewModel: RegistrationEntryInitializationBox): string | null {\n return (currentPerson && viewModel.registrantsSameFamily === RegistrantsSameFamily.Yes) ?\n (viewModel.currentPersonFamilyGuid || unknownSingleFamilyGuid) :\n null;\n}\n\n/**\n * Get a default registrant object with the current family guid set.\n * @param currentPerson\n * @param viewModel\n * @param familyGuid\n */\nexport function getDefaultRegistrantInfo(currentPerson: CurrentPersonBag | null, viewModel: RegistrationEntryInitializationBox, familyGuid: Guid | null): RegistrantBag {\n const forcedFamilyGuid = getForcedFamilyGuid(currentPerson, viewModel);\n\n if (forcedFamilyGuid) {\n familyGuid = forcedFamilyGuid;\n }\n\n // If the family is not specified, then assume the person is in their own family.\n if (!familyGuid && viewModel.registrantsSameFamily === RegistrantsSameFamily.No) {\n familyGuid = newGuid();\n }\n\n const registrantBag: RegistrantBag = {\n cost: 0,\n isOnWaitList: false,\n familyGuid: familyGuid,\n fieldValues: {},\n feeItemQuantities: {},\n guid: newGuid(),\n personGuid: null\n };\n\n return registrantBag;\n}\n\nexport function getRegistrantBasicInfo(registrant: RegistrantBag, registrantForms: RegistrationEntryFormBag[]): RegistrantBasicInfo {\n // TODO Should Guids here be enforced?\n const fields = registrantForms?.reduce((acc, f) => acc.concat(f.fields ?? []), [] as RegistrationEntryFormFieldBag[]) || [];\n\n const firstNameGuidOrEmptyString = fields.find(f => f.personFieldType === RegistrationPersonFieldType.FirstName && f.fieldSource === RegistrationFieldSource.PersonField)?.guid || \"\";\n const lastNameGuidOrEmptyString = fields.find(f => f.personFieldType === RegistrationPersonFieldType.LastName && f.fieldSource === RegistrationFieldSource.PersonField)?.guid || \"\";\n const emailGuidOrEmptyString = fields.find(f => f.personFieldType === RegistrationPersonFieldType.Email && f.fieldSource === RegistrationFieldSource.PersonField)?.guid || \"\";\n\n return {\n firstName: (registrant?.fieldValues?.[firstNameGuidOrEmptyString] || \"\") as string,\n lastName: (registrant?.fieldValues?.[lastNameGuidOrEmptyString] || \"\") as string,\n email: (registrant?.fieldValues?.[emailGuidOrEmptyString] || \"\") as string,\n guid: registrant?.guid || \"\",\n isOnWaitList: registrant.isOnWaitList\n };\n}\n\n/** Scrolls to the top of the window after the next render. */\nexport function scrollToTopAfterNextRender(): void {\n nextTick(() => smoothScrollToTop());\n}\n\n/**\n * Injects a provided value.\n * Throws an exception if the value is undefined or not yet provided.\n */\nexport function use(key: string | InjectionKey): T {\n const result = inject(key);\n\n if (result === undefined) {\n throw `Attempted to access ${key} before a value was provided.`;\n }\n\n return result;\n}\n\nexport function convertComparisonValue(value: PublicComparisonValueBag): ComparisonValue {\n return {\n value: value.value ?? \"\",\n comparisonType: value.comparisonType\n };\n}\n\n/** An injection key to provide the registration entry state. */\nexport const CurrentRegistrationEntryState: InjectionKey = Symbol(\"registration-entry-state\");\n\n/** An injection key to provide the function that gets the args to persist the session. */\nexport const GetPersistSessionArgs: InjectionKey<() => RegistrationEntryArgsBag> = Symbol(\"get-persist-session-args\");\n\n/** An injection key to provide the function that persists the session. */\nexport const PersistSession: InjectionKey<(force?: boolean) => Promise> = Symbol(\"persist-session\");\n\n/** An injection key to provide the cost summary for the entire registration. */\nexport const RegistrationCostSummary: InjectionKey<{\n readonlyRegistrationCostSummary: Ref;\n updateRegistrationCostSummary: (newValue: Partial) => void;\n}> = Symbol(\"registration-cost-summary\");\n\n/**\n * An injection key to provide the data to configure a new payment plan.\n */\nexport const ConfigurePaymentPlan: InjectionKey<{\n wipPaymentPlanConfiguration: Ref;\n finalPaymentPlanConfiguration: Ref;\n}> = Symbol(\"registration-configure-payment-plan\");\n\n/**\n * An injection key to provide the registration entry terms.\n */\nexport const RegistrationEntryTerms: InjectionKey> = Symbol(\"registration-entry-terms\");\n\n/** An injection key to provide the original field values for each registrant. */\nexport const OriginalFormFieldValues: InjectionKey>>> = Symbol(\"original-field-values\");","\n\n","\n\n","\n\n\n\n","\n\n","\n\n","\n\n","\n\n","\n\n","\n\n","\n\n","\n\n\n","// \n// Copyright by the Spark Development Network\n//\n// Licensed under the Rock Community License (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.rockrms.com/license\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n// \n//\n\nimport { computed, ref, watch } from \"vue\";\nimport { GetNextDayOption, PaymentPlanConfiguration, PaymentPlanConfigurationOptions, PaymentPlanFrequency, TransactionFrequency } from \"./types.partial\";\nimport { RockCurrency } from \"@Obsidian/Utility/rockCurrency\";\nimport { CurrentRegistrationEntryState, RegistrationCostSummary, use } from \"./utils.partial\";\nimport { RockDateTime } from \"@Obsidian/Utility/rockDateTime\";\nimport { DefinedValue } from \"@Obsidian/SystemGuids/definedValue\";\nimport { Guid } from \"@Obsidian/Types\";\nimport { areEqual } from \"@Obsidian/Utility/guid\";\nimport { toWordFull } from \"@Obsidian/Utility/numberUtils\";\nimport { toTitleCase } from \"@Obsidian/Utility/stringUtils\";\nimport { ListItemBag } from \"@Obsidian/ViewModels/Utility/listItemBag\";\n\n// This global state must exist outside of the `useConfigurePaymentPlanFeature()` composable\n// so that the summary component can repopulate the payment plan modal with the previous data.\nconst wipPaymentPlanConfiguration = ref();\nconst finalPaymentPlanConfiguration = ref();\nconst balanceDue = ref();\n\n/**\n * Composable state for configuring a new payment plan.\n */\n// TODO Add a return type.\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type, @typescript-eslint/explicit-module-boundary-types\nexport function useConfigurePaymentPlanFeature() {\n const registrationEntryState = use(CurrentRegistrationEntryState);\n const { readonlyRegistrationCostSummary } = use(RegistrationCostSummary);\n\n const isConfigured = computed(() => {\n return !!finalPaymentPlanConfiguration.value\n && !!registrationEntryState.paymentPlan;\n });\n\n const isWorkInProgress = computed(() => {\n return !!wipPaymentPlanConfiguration.value;\n });\n\n const paymentPlanDeadlineDate = computed(() => {\n if (!registrationEntryState.viewModel.paymentDeadlineDate) {\n return null;\n }\n else {\n return RockDateTime.parseISO(registrationEntryState.viewModel.paymentDeadlineDate);\n }\n });\n\n /** Gets whether or not a payment plan can be configured for the registration. */\n const isPaymentPlanConfigurationSupported = computed(() => {\n if (!balanceDue.value) {\n return false;\n }\n\n if (!paymentPlanDeadlineDate.value) {\n return false;\n }\n\n if (!paymentPlanFrequencies.value.length) {\n return false;\n }\n\n if (balanceDue.value.isZero) {\n return false;\n }\n\n return true;\n });\n\n /** Gets the valid payment plan frequencies. */\n const paymentPlanFrequencies = computed(() => {\n const desiredStartDate = RockDateTime.now().date;\n const deadlineDate = paymentPlanDeadlineDate.value;\n const balance = balanceDue.value;\n\n if (!deadlineDate || !balance) {\n // The payment plan deadline date is required to calculate\n // the max number of payments per payment plan frequency.\n // If there is no deadline date, then return an empty array.\n return [];\n }\n\n const frequencies = (registrationEntryState.viewModel.paymentPlanFrequencies ?? [])\n .map(listItemBag => getPaymentPlanFrequency(listItemBag, desiredStartDate, deadlineDate, balance))\n // Only return frequencies that can make at least\n // two payments for the given payment plan start date.\n .filter(frequency => frequency.maxNumberOfPayments >= 2);\n\n // Sort the frequencies.\n const rank: Record = {\n [DefinedValue.TransactionFrequencyWeekly]: 1,\n [DefinedValue.TransactionFrequencyBiweekly]: 2,\n [DefinedValue.TransactionFrequencyFirstAndFifteenth]: 3,\n [DefinedValue.TransactionFrequencyTwicemonthly]: 4,\n [DefinedValue.TransactionFrequencyMonthly]: 5,\n [DefinedValue.TransactionFrequencyQuarterly]: 6,\n [DefinedValue.TransactionFrequencyTwiceyearly]: 7,\n [DefinedValue.TransactionFrequencyOneTime]: 8,\n };\n\n frequencies.sort((a, b): number => {\n const aOrder = a.listItemBag.value ? rank[a.listItemBag.value] : -1;\n const bOrder = b.listItemBag.value ? rank[b.listItemBag.value] : -1;\n\n return aOrder < bOrder ? -1 : bOrder < aOrder ? 1 : 0;\n });\n\n return frequencies;\n });\n\n /** Configures the registration with the payment plan. */\n function configure(paymentPlanConfig: PaymentPlanConfiguration): void {\n // Keep track of the configuration.\n finalPaymentPlanConfiguration.value = paymentPlanConfig;\n wipPaymentPlanConfiguration.value = null;\n\n // Add the new payment plan to the registration.\n registrationEntryState.amountToPayToday = paymentPlanConfig.amountToPayTodayPlusAdjustment.number;\n registrationEntryState.paymentPlan = {\n transactionFrequencyGuid: paymentPlanConfig.paymentPlanFrequency.transactionFrequency.definedValueGuid,\n amountPerPayment: paymentPlanConfig.amountPerPayment.number,\n numberOfPayments: paymentPlanConfig.numberOfPayments,\n transactionFrequencyText: paymentPlanConfig.paymentPlanFrequency.listItemBag.text,\n startDate: paymentPlanConfig.startDate?.toISOString(),\n };\n }\n\n /** Updates the payment plan on the registration. */\n function reconfigure(options: Partial): void {\n const finalConfig = finalPaymentPlanConfiguration.value;\n\n if (!isConfigured.value || !finalConfig) {\n // Nothing to reconfigure.\n return;\n }\n\n // `configure()` already stored the payment info prior to the payment plan,\n // so we don't need to do that in here.\n\n // Create the new payment plan configuration.\n const paymentPlanConfig = getPaymentPlanConfiguration({\n amountToPayToday: finalConfig.amountToPayToday,\n balanceDue: finalConfig.balanceDue,\n desiredAllowedPaymentPlanFrequencies: paymentPlanFrequencies.value,\n desiredNumberOfPayments: finalConfig.numberOfPayments,\n desiredPaymentPlanFrequency: finalConfig.paymentPlanFrequency,\n desiredStartDate: finalConfig.startDate ?? RockDateTime.now().date,\n endDate: finalConfig.endDate,\n minAmountToPayToday: finalConfig.minAmountToPayToday,\n\n // Override with values provided to the function.\n ...options\n });\n\n // Keep track of the configuration.\n finalPaymentPlanConfiguration.value = paymentPlanConfig;\n wipPaymentPlanConfiguration.value = paymentPlanConfig;\n\n // Add the new payment plan to the registration.\n registrationEntryState.amountToPayToday = paymentPlanConfig.amountToPayTodayPlusAdjustment.number;\n registrationEntryState.paymentPlan = {\n transactionFrequencyGuid: paymentPlanConfig.paymentPlanFrequency.transactionFrequency.definedValueGuid,\n amountPerPayment: paymentPlanConfig.amountPerPayment.number,\n numberOfPayments: paymentPlanConfig.numberOfPayments,\n transactionFrequencyText: paymentPlanConfig.paymentPlanFrequency.listItemBag.text,\n startDate: paymentPlanConfig.startDate?.toISOString(),\n };\n }\n\n /** Updates the \"work in progress\" payment plan configuration. */\n function reconfigureWorkInProgress(overrides?: Partial): void {\n const wipConfig = wipPaymentPlanConfiguration.value;\n\n if (!isWorkInProgress.value || !wipConfig) {\n // Nothing to reconfigure.\n return;\n }\n\n // Reconfigure the \"work in progress\" payment plan.\n wipPaymentPlanConfiguration.value = getPaymentPlanConfiguration({\n amountToPayToday: wipConfig.amountToPayToday,\n balanceDue: wipConfig.balanceDue,\n desiredAllowedPaymentPlanFrequencies: paymentPlanFrequencies.value,\n desiredNumberOfPayments: wipConfig.numberOfPayments,\n desiredPaymentPlanFrequency: wipConfig.paymentPlanFrequency,\n desiredStartDate: wipConfig.startDate ?? RockDateTime.now().date,\n endDate: wipConfig.endDate,\n minAmountToPayToday: wipConfig.minAmountToPayToday,\n\n // Override with values provided to the function.\n ...overrides\n });\n }\n\n /**\n * Gets a preview of a payment plan configuration\n * that modifies the current work-in-progress config with the provided options.\n */\n function previewWorkInProgress(overrides?: Partial): PaymentPlanConfiguration | null | undefined {\n const wipConfig = wipPaymentPlanConfiguration.value;\n\n if (!isWorkInProgress.value || !wipConfig) {\n // Nothing to reconfigure.\n return;\n }\n\n // Reconfigure the \"work in progress\" payment plan.\n return getPaymentPlanConfiguration({\n amountToPayToday: wipConfig.amountToPayToday,\n balanceDue: wipConfig.balanceDue,\n desiredAllowedPaymentPlanFrequencies: paymentPlanFrequencies.value,\n desiredNumberOfPayments: wipConfig.numberOfPayments,\n desiredPaymentPlanFrequency: wipConfig.paymentPlanFrequency,\n desiredStartDate: wipConfig.startDate ?? RockDateTime.now().date,\n endDate: wipConfig.endDate,\n minAmountToPayToday: wipConfig.minAmountToPayToday,\n\n // Override with values provided to the function.\n ...overrides\n });\n }\n\n /** Removes the new payment plan from the registration. */\n function cancel(): void {\n wipPaymentPlanConfiguration.value = null;\n finalPaymentPlanConfiguration.value = null;\n registrationEntryState.paymentPlan = null;\n }\n\n /**\n * Initializes the \"work in progress\" payment plan configuration from current registration values.\n *\n * @param fallbackOptions The fallback options if the current registration does not have a payment plan configured.\n */\n function initializeWorkInProgress(fallbackOptions?: Partial>): void {\n if (!balanceDue.value) {\n throw \"Cannot initialize 'work in progress' payment plan before useConfigurePaymentPlanFeature().init() is called.\";\n }\n\n const today: RockDateTime = RockDateTime.now().date;\n const endDate: RockDateTime = paymentPlanDeadlineDate.value ?? RockDateTime.now().addYears(1).date;\n const transactionFrequencyGuid: Guid | null = registrationEntryState.paymentPlan?.transactionFrequencyGuid ?? null;\n const noopPaymentPlanFrequency = getNoopPaymentPlanFrequency(today, endDate);\n\n wipPaymentPlanConfiguration.value = getPaymentPlanConfiguration({\n // Always initialize the one-time amount to the Amount To Pay Today on the registration.\n amountToPayToday: RockCurrency.create(\n registrationEntryState.amountToPayToday,\n balanceDue.value.currencyInfo\n ),\n balanceDue: balanceDue.value,\n desiredAllowedPaymentPlanFrequencies: paymentPlanFrequencies.value,\n desiredNumberOfPayments: registrationEntryState.paymentPlan?.numberOfPayments\n ?? fallbackOptions?.desiredNumberOfPayments ?? 0,\n desiredPaymentPlanFrequency: (\n transactionFrequencyGuid\n ? paymentPlanFrequencies.value.find(p => areEqual(p.listItemBag.value, transactionFrequencyGuid))\n : null\n ) ?? fallbackOptions?.desiredPaymentPlanFrequency ?? noopPaymentPlanFrequency,\n desiredStartDate: (\n registrationEntryState.paymentPlan?.startDate\n ? RockDateTime.parseISO(registrationEntryState.paymentPlan.startDate)\n : null\n ) ?? fallbackOptions?.desiredStartDate ?? today,\n endDate,\n minAmountToPayToday: RockCurrency.create(\n readonlyRegistrationCostSummary.value.minimumRemainingAmount,\n balanceDue.value.currencyInfo\n ),\n });\n }\n\n function init(balance: RockCurrency): void {\n balanceDue.value = balance;\n }\n\n watch(balanceDue, () => {\n if (isConfigured.value) {\n // Update the payment plan configuration that has been added to the registration.\n reconfigure({\n balanceDue: balanceDue.value,\n });\n }\n });\n\n return {\n // Expose the \"work in progress\" WIP payment plan configuration so it can be restored when changing tabs.\n wipPaymentPlanConfiguration,\n balanceDue: computed(() => balanceDue.value),\n isConfigured,\n isPaymentPlanConfigurationSupported,\n paymentPlanDeadlineDate,\n paymentPlanFrequencies,\n cancel,\n configure,\n init,\n initializeWorkInProgress,\n reconfigureWorkInProgress,\n previewWorkInProgress\n };\n}\n\n//#region Transaction Frequencies\n\nconst transactionFrequencyOneTime: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyOneTime;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n if (amountToPay.isZero || amountToPay.isNegative) {\n return 0;\n }\n\n const date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n\n if (date) {\n return 1;\n }\n else {\n return 0;\n }\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n firstDate = firstDate.date;\n secondDate = secondDate.date;\n desiredDate = desiredDate.date;\n const today = RockDateTime.now().date;\n const tomorrow = today.addDays(1);\n\n const earliestPossibleDate = firstDate.isLaterThan(today)\n ? firstDate // First date is in the future (including tomorrow).\n : tomorrow; // Tomorrow is the earliest date.\n\n if (desiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (desiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return desiredDate;\n }\n },\n\n getNextTransactionDate(_firstDateTime: RockDateTime, _secondDateTime: RockDateTime, _previousDate: RockDateTime): RockDateTime | null {\n // One-time frequency doesn't have a next date so return null.\n return null;\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 1;\n },\n\n getNPaymentsOfAmountMessage(_numberOfPayments: number, amount: RockCurrency): string {\n return `One Payment of ${amount}`;\n }\n};\n\nconst transactionFrequencyWeekly: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyWeekly;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n const maxNumberOfTransactionsForAmount = amountToPay.units;\n let date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n let numberOfTransactions = 0;\n\n while (date && numberOfTransactions < maxNumberOfTransactionsForAmount) {\n numberOfTransactions++;\n date = this.getNextTransactionDate(firstDateTime, secondDateTime, date);\n }\n\n return numberOfTransactions;\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n firstDate = firstDate.date;\n secondDate = secondDate.date;\n desiredDate = desiredDate.date;\n const today = RockDateTime.now().date;\n const tomorrow = today.addDays(1);\n\n const earliestPossibleDate =\n firstDate.isLaterThan(today)\n ? firstDate // First date is in the future (including tomorrow).\n : tomorrow; // Tomorrow is the earliest date.\n\n if (desiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (desiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return desiredDate;\n }\n },\n\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null {\n previousDate = previousDate.date;\n const desiredDate = previousDate.addDays(7);\n return this.getValidTransactionDate(firstDateTime, secondDateTime, desiredDate);\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 52;\n },\n\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string {\n return `${toTitleCase(toWordFull(numberOfPayments))} Weekly Payments of ${amount}`;\n }\n};\n\nconst transactionFrequencyBiWeekly: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyBiweekly;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n const maxNumberOfTransactionsForAmount = amountToPay.units;\n let date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n let numberOfTransactions = 0;\n\n while (date && numberOfTransactions < maxNumberOfTransactionsForAmount) {\n numberOfTransactions++;\n date = this.getNextTransactionDate(firstDateTime, secondDateTime, date);\n }\n\n return numberOfTransactions;\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n firstDate = firstDate.date;\n secondDate = secondDate.date;\n desiredDate = desiredDate.date;\n const today = RockDateTime.now().date;\n const tomorrow = today.addDays(1);\n\n const earliestPossibleDate =\n firstDate.isLaterThan(today)\n ? firstDate // First date is in the future (including tomorrow).\n : tomorrow; // Tomorrow is the earliest date.\n\n if (desiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (desiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return desiredDate;\n }\n },\n\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null {\n previousDate = previousDate.date;\n const desiredDate = previousDate.addDays(14);\n return this.getValidTransactionDate(firstDateTime, secondDateTime, desiredDate);\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 26;\n },\n\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string {\n return `${toTitleCase(toWordFull(numberOfPayments))} Bi-Weekly Payments of ${amount}`;\n }\n};\n\n/**\n * From the starting date, finds the next day matching one the specified days.\n *\n * If the `startingDate` matches a `potentialDay`, then `startingDate` is returned.\n * @param potentialDays Represents the days of the month; e.g., 1 is the 1st, 2 is the 2nd, etc.\n * @example\n * // Assume date is a Date object with the value 2-8-2024.\n * getNextDay(date, 13, 15, 31); // 2-13-2024\n * getNextDay(date, 1, 15); // 2-15-2024\n * getNextDay(date, 1); // 3-1-2024\n * getNextDay(date, 8); // 2-8-2024\n * getNextDay(date, \"end-of-month\"); // 2-29-2024\n */\nfunction getNextDay(startingDate: RockDateTime, ...potentialDays: (number | GetNextDayOption)[]): RockDateTime {\n let date = startingDate;\n\n potentialDays = potentialDays\n // Remove invalid days.\n .filter(day => {\n if (typeof day === \"number\") {\n if (day >= 1 && day <= 31) {\n return true;\n }\n else {\n return false;\n }\n }\n else {\n // Don't filter special options.\n }\n })\n .sort((day1, day2) => {\n const isDay1Number = typeof day1 === \"number\";\n const isDay2Number = typeof day2 === \"number\";\n if (isDay1Number && isDay2Number) {\n return day1 > day2 ? 1 : day1 < day2 ? -1 : 0;\n }\n else if (isDay1Number) {\n // Always sort numbers before special options so matching logic checks numbers first.\n return -1;\n }\n else if (isDay2Number) {\n // Always sort numbers before special options so matching logic checks numbers first.\n return 1;\n }\n else {\n // Sort special options as they were provided.\n return 0;\n }\n });\n\n // Perform the search up to 12 times: once per month for an entire year.\n let attempt = 0;\n while (attempt++ <= 12) {\n for (let i = 0; i < potentialDays.length; i++) {\n const potentialDay = potentialDays[i];\n if (typeof potentialDay === \"number\") {\n if (potentialDay === date.day) {\n // The date matches the current potential day so return it.\n return date;\n }\n else if (date.day < potentialDay) {\n // The date is before the current potential day.\n // Since the potential days are in ascending order,\n // the potential day IS the next day that should be returned.\n // Bump the date forward to the next day and return it.\n return date.addDays(potentialDay - date.day);\n }\n }\n // Check special options.\n else if (potentialDay === \"end-of-month\") {\n // The date is after all the potential days\n // and the next potential day that can be returned is the\n // end of the current month.\n // Bump the date forward to the end of the current month and return it.\n return date.endOfMonth().date;\n }\n }\n\n // If this code is reached, then all the potential days are before the current date.\n // Move to the start of the next month and try searching again.\n date = date.addDays(1 - date.day).addMonths(1);\n }\n\n // If this code is reached, then it's likely that the arguments are invalid.\n throw \"An unexpected error occurred while processing payment dates.\";\n}\n\nconst transactionFrequencyFirstAndFifteenth: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyFirstAndFifteenth;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n const maxNumberOfTransactionsForAmount = amountToPay.units;\n let date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n let numberOfTransactions = 0;\n\n while (date && numberOfTransactions < maxNumberOfTransactionsForAmount) {\n numberOfTransactions++;\n date = this.getNextTransactionDate(firstDateTime, secondDateTime, date);\n }\n\n return numberOfTransactions;\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n const earliestPossibleDate = getNextDay(firstDate.date, 1, 15);\n secondDate = secondDate.date;\n const earliestDesiredDate = getNextDay(desiredDate.date, 1, 15);\n\n if (earliestDesiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (earliestDesiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return earliestDesiredDate;\n }\n },\n\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null {\n previousDate = previousDate.date;\n const desiredDate = getNextDay(previousDate.addDays(1), ...[1, 15]);\n return this.getValidTransactionDate(firstDateTime, secondDateTime, desiredDate);\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 24;\n },\n\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string {\n return `${toTitleCase(toWordFull(numberOfPayments))} Payments of ${amount} Every First and Fifteenth`;\n }\n};\n\nconst transactionFrequencyTwiceMonthly: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyTwicemonthly;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n const maxNumberOfTransactionsForAmount = amountToPay.units;\n let date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n let numberOfTransactions = 0;\n\n while (date && numberOfTransactions < maxNumberOfTransactionsForAmount) {\n numberOfTransactions++;\n date = this.getNextTransactionDate(firstDateTime, secondDateTime, date);\n }\n\n return numberOfTransactions;\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n const earliestPossibleDate = getNextDay(firstDate.date, 1, 15);\n secondDate = secondDate.date;\n const earliestDesiredDate = getNextDay(desiredDate.date, 1, 15);\n\n if (earliestDesiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (earliestDesiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return earliestDesiredDate;\n }\n },\n\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null {\n previousDate = previousDate.date;\n const desiredDate = getNextDay(previousDate.addDays(1), ...[1, 15]);\n return this.getValidTransactionDate(firstDateTime, secondDateTime, desiredDate);\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 24;\n },\n\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string {\n return `${toTitleCase(toWordFull(numberOfPayments))} Payments of ${amount} Twice Monthly`;\n }\n};\n\nconst transactionFrequencyMonthly: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyMonthly;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n const maxNumberOfTransactionsForAmount = amountToPay.units;\n let date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n let numberOfTransactions = 0;\n\n while (date && numberOfTransactions < maxNumberOfTransactionsForAmount) {\n numberOfTransactions++;\n date = this.getNextTransactionDate(firstDateTime, secondDateTime, date);\n }\n\n return numberOfTransactions;\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n firstDate = firstDate.date;\n secondDate = secondDate.date;\n desiredDate = desiredDate.date;\n const today = RockDateTime.now().date;\n const tomorrow = today.addDays(1);\n\n const earliestPossibleDate =\n firstDate.isLaterThan(today)\n ? firstDate // First date is in the future (including tomorrow).\n : tomorrow; // Tomorrow is the earliest date.\n\n if (desiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (desiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return desiredDate;\n }\n },\n\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null {\n firstDateTime = firstDateTime.date;\n previousDate = previousDate.date;\n let desiredDate: RockDateTime;\n\n // If the first date is the last day of the month\n // then this function will increment by 1 months and\n // automatically choose the last day of the month.\n if (firstDateTime.isEqualTo(firstDateTime.endOfMonth().date)) {\n desiredDate = previousDate.addMonths(1).endOfMonth().date;\n }\n else {\n desiredDate = previousDate.addMonths(1);\n }\n\n return this.getValidTransactionDate(firstDateTime, secondDateTime, desiredDate);\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 12;\n },\n\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string {\n return `${toTitleCase(toWordFull(numberOfPayments))} Monthly Payments of ${amount}`;\n }\n};\n\nconst transactionFrequencyQuarterly: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyQuarterly;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n const maxNumberOfTransactionsForAmount = amountToPay.units;\n let date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n let numberOfTransactions = 0;\n\n while (date && numberOfTransactions < maxNumberOfTransactionsForAmount) {\n numberOfTransactions++;\n date = this.getNextTransactionDate(firstDateTime, secondDateTime, date);\n }\n\n return numberOfTransactions;\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n firstDate = firstDate.date;\n secondDate = secondDate.date;\n desiredDate = desiredDate.date;\n const today = RockDateTime.now().date;\n const tomorrow = today.addDays(1);\n\n const earliestPossibleDate =\n firstDate.isLaterThan(today)\n ? firstDate // First date is in the future (including tomorrow).\n : tomorrow; // Tomorrow is the earliest date.\n\n if (desiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (desiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return desiredDate;\n }\n },\n\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null {\n firstDateTime = firstDateTime.date;\n previousDate = previousDate.date;\n let desiredDate: RockDateTime;\n\n // If the first date is the last day of the month\n // then this function will increment by 3 months and\n // automatically choose the last day of the month.\n if (firstDateTime.isEqualTo(firstDateTime.endOfMonth().date)) {\n desiredDate = previousDate.addMonths(3).endOfMonth().date;\n }\n else {\n desiredDate = previousDate.addMonths(3);\n }\n\n return this.getValidTransactionDate(firstDateTime, secondDateTime, desiredDate);\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 4;\n },\n\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string {\n return `${toTitleCase(toWordFull(numberOfPayments))} Quarterly Payments of ${amount}`;\n }\n};\n\nconst transactionFrequencyTwiceAYear: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyTwiceyearly;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n const maxNumberOfTransactionsForAmount = amountToPay.units;\n let date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n let numberOfTransactions = 0;\n\n while (date && numberOfTransactions < maxNumberOfTransactionsForAmount) {\n numberOfTransactions++;\n date = this.getNextTransactionDate(firstDateTime, secondDateTime, date);\n }\n\n return numberOfTransactions;\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n firstDate = firstDate.date;\n secondDate = secondDate.date;\n desiredDate = desiredDate.date;\n const today = RockDateTime.now().date;\n const tomorrow = today.addDays(1);\n\n const earliestPossibleDate =\n firstDate.isLaterThan(today)\n ? firstDate // First date is in the future (including tomorrow).\n : tomorrow; // Tomorrow is the earliest date.\n\n if (desiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (desiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return desiredDate;\n }\n },\n\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null {\n firstDateTime = firstDateTime.date;\n previousDate = previousDate.date;\n let desiredDate: RockDateTime;\n\n // If the first date is the last day of the month\n // then this function will increment by 6 months and\n // automatically choose the last day of the month.\n if (firstDateTime.isEqualTo(firstDateTime.endOfMonth().date)) {\n desiredDate = previousDate.addMonths(6).endOfMonth().date;\n }\n else {\n desiredDate = previousDate.addMonths(6);\n }\n\n return this.getValidTransactionDate(firstDateTime, secondDateTime, desiredDate);\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 2;\n },\n\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string {\n return `${toTitleCase(toWordFull(numberOfPayments))} Payments of ${amount} Twice Yearly`;\n }\n};\n\nconst transactionFrequencyYearly: TransactionFrequency = {\n get definedValueGuid(): Guid {\n return DefinedValue.TransactionFrequencyYearly;\n },\n\n hasDefinedValueGuid(guid: Guid): boolean {\n return areEqual(guid, this.definedValueGuid);\n },\n\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number {\n const maxNumberOfTransactionsForAmount = amountToPay.units;\n let date = this.getValidTransactionDate(firstDateTime, secondDateTime, firstDateTime);\n let numberOfTransactions = 0;\n\n while (date && numberOfTransactions < maxNumberOfTransactionsForAmount) {\n numberOfTransactions++;\n date = this.getNextTransactionDate(firstDateTime, secondDateTime, date);\n }\n\n return numberOfTransactions;\n },\n\n getValidTransactionDate(firstDate: RockDateTime, secondDate: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n firstDate = firstDate.date;\n secondDate = secondDate.date;\n desiredDate = desiredDate.date;\n const today = RockDateTime.now().date;\n const tomorrow = today.addDays(1);\n\n const earliestPossibleDate =\n firstDate.isLaterThan(today)\n ? firstDate // First date is in the future (including tomorrow).\n : tomorrow; // Tomorrow is the earliest date.\n\n if (desiredDate.isLaterThan(secondDate)) {\n // The desired date is after the second date,\n // so there are no more valid dates.\n return null;\n }\n else if (desiredDate.isEarlierThan(earliestPossibleDate)) {\n // The desired date is before the earliest possible date (first date or tomorrow).\n // The next valid date to use is the earliest possible date.\n return earliestPossibleDate;\n }\n else {\n // The desired date is valid (falls between the first and second dates).\n return desiredDate;\n }\n },\n\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null {\n firstDateTime = firstDateTime.date;\n previousDate = previousDate.date;\n let desiredDate: RockDateTime;\n\n // If the first date is the last day of the month\n // then this function will increment by 1 year and\n // automatically choose the last day of the month.\n if (firstDateTime.isEqualTo(firstDateTime.endOfMonth().date)) {\n desiredDate = previousDate.addYears(1).endOfMonth().date;\n }\n else {\n desiredDate = previousDate.addMonths(1);\n }\n\n return this.getValidTransactionDate(firstDateTime, secondDateTime, desiredDate);\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 1;\n },\n\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string {\n return `${toTitleCase(toWordFull(numberOfPayments))} Yearly Payments of ${amount}`;\n }\n};\n\nconst transactionFrequencies: TransactionFrequency[] = [\n transactionFrequencyOneTime,\n transactionFrequencyWeekly,\n transactionFrequencyBiWeekly,\n transactionFrequencyFirstAndFifteenth,\n transactionFrequencyTwiceMonthly,\n transactionFrequencyMonthly,\n transactionFrequencyQuarterly,\n transactionFrequencyTwiceAYear,\n transactionFrequencyYearly\n];\n\nexport const noopTransactionFrequency: TransactionFrequency = {\n get definedValueGuid(): string {\n return \"\";\n },\n\n hasDefinedValueGuid(_guid: Guid): boolean {\n return false;\n },\n\n get maxNumberOfPaymentsForOneYear(): number {\n return 0;\n },\n\n getMaxNumberOfTransactionsBetweenDates(_firstDateTime: RockDateTime, _secondDateTime: RockDateTime, _amountToPay: RockCurrency): number {\n return 0;\n },\n\n getValidTransactionDate(_firstDateTime: RockDateTime, _secondDateTime: RockDateTime, desiredDate: RockDateTime): RockDateTime | null {\n // Allow the desired date to be selected.\n return desiredDate;\n },\n\n getNextTransactionDate: function (_firstDateTime: RockDateTime, _secondDateTime: RockDateTime, _previousDate: RockDateTime): RockDateTime | null {\n return null;\n },\n\n getNPaymentsOfAmountMessage(_numberOfPayments: number, _amount: RockCurrency): string {\n return \"\";\n }\n};\n\nexport function getTransactionFrequency(definedValueGuid: Guid): TransactionFrequency | null {\n const transactionFrequency = transactionFrequencies.find(a => a.hasDefinedValueGuid(definedValueGuid));\n if (transactionFrequency) {\n return transactionFrequency;\n }\n else {\n return null;\n }\n}\n\n//#endregion\n\n//#region Payment Plan Frequencies\n\nexport function getPaymentPlanFrequency(listItemBag: ListItemBag, desiredStartDate: RockDateTime, paymentDeadlineDate: RockDateTime, amountToPay: RockCurrency): PaymentPlanFrequency {\n const transactionFrequency = getTransactionFrequency(listItemBag?.value ?? \"\") ?? noopTransactionFrequency;\n\n // Although tomorrow is the earliest possible date in the current implementation,\n // keep that logic in the `getValidTransactionDate` function.\n const today = RockDateTime.now().date;\n const startPaymentDate = transactionFrequency.getValidTransactionDate(today, paymentDeadlineDate, desiredStartDate ?? today);\n\n if (startPaymentDate) {\n return {\n listItemBag: listItemBag,\n transactionFrequency,\n startPaymentDate,\n paymentDeadlineDate,\n maxNumberOfPayments: transactionFrequency.getMaxNumberOfTransactionsBetweenDates(startPaymentDate, paymentDeadlineDate, amountToPay),\n getNextTransactionDate(previousDate: RockDateTime) {\n return transactionFrequency.getNextTransactionDate(startPaymentDate, paymentDeadlineDate, previousDate);\n },\n getValidTransactionDate(desiredDate: RockDateTime) {\n return transactionFrequency.getValidTransactionDate(startPaymentDate, paymentDeadlineDate, desiredDate);\n },\n getNPaymentsOfAmountMessage(numberOfPayments: number, amountPerPayment: RockCurrency): string {\n return transactionFrequency.getNPaymentsOfAmountMessage(numberOfPayments, amountPerPayment);\n },\n };\n }\n else {\n return getNoopPaymentPlanFrequency(desiredStartDate, paymentDeadlineDate);\n }\n}\n\nexport function getNoopPaymentPlanFrequency(startPaymentDate: RockDateTime, paymentDeadlineDate: RockDateTime): PaymentPlanFrequency {\n return {\n listItemBag: {},\n transactionFrequency: noopTransactionFrequency,\n maxNumberOfPayments: 0,\n startPaymentDate,\n paymentDeadlineDate,\n getNextTransactionDate(_previousDate: RockDateTime) {\n return null;\n },\n getValidTransactionDate(_desiredDate: RockDateTime) {\n return null;\n },\n getNPaymentsOfAmountMessage(_numberOfPayments: number, _amountPerPayment: RockCurrency): string {\n return \"\";\n }\n };\n}\n\n//#endregion\n\nexport function getPaymentPlanConfiguration(options: PaymentPlanConfigurationOptions): PaymentPlanConfiguration {\n function getAllowedPaymentPlanFrequencies(prospectiveAllowedPaymentFrequencies: PaymentPlanFrequency[], startDate: RockDateTime, endDate: RockDateTime, amountForPaymentPlan: RockCurrency): PaymentPlanFrequency[] {\n return prospectiveAllowedPaymentFrequencies\n .map(prospectiveAllowedPaymentFrequency => getPaymentPlanFrequency(prospectiveAllowedPaymentFrequency.listItemBag, startDate, endDate, amountForPaymentPlan))\n .filter(prospectiveAllowedPaymentFrequency => prospectiveAllowedPaymentFrequency.maxNumberOfPayments >= 2);\n }\n\n function getAllowedPaymentPlanFrequency(allowedPaymentPlanFrequencies: PaymentPlanFrequency[], desiredPaymentPlanFrequency: PaymentPlanFrequency): PaymentPlanFrequency {\n const noopPaymentPlanFrequency = getNoopPaymentPlanFrequency(options.desiredStartDate, options.endDate);\n\n if (desiredPaymentPlanFrequency) {\n return allowedPaymentPlanFrequencies.find(allowedPaymentPlanFrequency => desiredPaymentPlanFrequency.transactionFrequency.hasDefinedValueGuid(allowedPaymentPlanFrequency.transactionFrequency.definedValueGuid)) ?? noopPaymentPlanFrequency;\n }\n else {\n return noopPaymentPlanFrequency;\n }\n }\n\n function getNumberOfPayments(desiredNumberOfPayments: number, maxNumberOfPayments: number, minNumberOfPayments: number): number {\n if (desiredNumberOfPayments > maxNumberOfPayments) {\n return Math.max(maxNumberOfPayments, minNumberOfPayments);\n }\n else {\n return Math.max(desiredNumberOfPayments, minNumberOfPayments);\n }\n }\n\n const zero = RockCurrency.create(0, options.balanceDue.currencyInfo);\n\n const minAmountToPayToday = options.minAmountToPayToday.noLessThan(zero);\n const amountToPayToday = options.amountToPayToday.noLessThan(minAmountToPayToday);\n const amountForPaymentPlan = options.balanceDue.subtract(amountToPayToday);\n\n const allowedPaymentPlanFrequencies = getAllowedPaymentPlanFrequencies(\n options.desiredAllowedPaymentPlanFrequencies,\n options.desiredStartDate,\n options.endDate,\n amountForPaymentPlan\n );\n\n const paymentPlanFrequency = getAllowedPaymentPlanFrequency(\n allowedPaymentPlanFrequencies,\n options.desiredPaymentPlanFrequency);\n\n const numberOfPayments = getNumberOfPayments(\n options.desiredNumberOfPayments,\n paymentPlanFrequency.maxNumberOfPayments,\n 0);\n\n const { quotient: amountPerPayment, remainder: amountToPayTodayAdjustment } =\n numberOfPayments !== 0\n ? amountForPaymentPlan.divide(numberOfPayments)\n : { quotient: zero, remainder: zero };\n\n const paymentPlanConfiguration: PaymentPlanConfiguration = {\n balanceDue: options.balanceDue,\n startDate: paymentPlanFrequency.startPaymentDate,\n endDate: options.endDate,\n paymentPlanFrequencies: allowedPaymentPlanFrequencies,\n paymentPlanFrequency,\n numberOfPayments,\n amountPerPayment,\n amountToPayToday,\n amountToPayTodayAdjustment,\n amountToPayTodayPlusAdjustment: amountToPayToday.add(amountToPayTodayAdjustment),\n minAmountToPayToday\n };\n\n return paymentPlanConfiguration;\n}\n","\n\n\n","\n\n\n\n\n","function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n","\n\n","\n\n","\n\n","// \n// Copyright by the Spark Development Network\n//\n// Licensed under the Rock Community License (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.rockrms.com/license\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n// \n//\n\nimport { Guid } from \"@Obsidian/Types\";\nimport { RegistrantBag } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrantBag\";\nimport { RegistrarBag } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrarBag\";\nimport { RegistrationEntryInitializationBox } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrationEntryInitializationBox\";\nimport { RegistrationEntrySuccessBag } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrationEntrySuccessBag\";\nimport { RegistrationEntryCreatePaymentPlanRequestBag } from \"@Obsidian/ViewModels/Blocks/Event/RegistrationEntry/registrationEntryCreatePaymentPlanRequestBag\";\nimport { RockCurrency } from \"@Obsidian/Utility/rockCurrency\";\nimport { RockDateTime } from \"@Obsidian/Utility/rockDateTime\";\nimport { ListItemBag } from \"@Obsidian/ViewModels/Utility/listItemBag\";\n\nexport const enum Step {\n Intro = \"intro\",\n RegistrationStartForm = \"registrationStartForm\",\n PerRegistrantForms = \"perRegistrantForms\",\n RegistrationEndForm = \"registrationEndForm\",\n Review = \"review\",\n Payment = \"payment\",\n Success = \"success\"\n}\n\nexport type RegistrantBasicInfo = {\n firstName: string;\n lastName: string;\n email: string;\n guid: Guid;\n isOnWaitList: boolean\n};\n\nexport type RegistrationCostSummaryInfo = {\n paidAmount: number;\n remainingAmount: number;\n minimumRemainingAmount: number;\n};\n\nexport type PaymentPlanFrequency = {\n transactionFrequency: TransactionFrequency;\n startPaymentDate: RockDateTime;\n paymentDeadlineDate: RockDateTime;\n maxNumberOfPayments: number;\n listItemBag: ListItemBag;\n /** Returns the desired date if it is valid; otherwise, the next valid date is returned or null if there are no valid dates. */\n getValidTransactionDate(desiredDate: RockDateTime): RockDateTime | null;\n /** Returns the next valid date following the previous date or null if there are no valid dates. */\n getNextTransactionDate(previousDate: RockDateTime): RockDateTime | null;\n getNPaymentsOfAmountMessage(numberOfPayments: number, amountPerPayment: RockCurrency): string;\n};\n\nexport type RegistrationEntryState = {\n steps: Record;\n viewModel: RegistrationEntryInitializationBox;\n currentStep: string;\n firstStep: string;\n navBack: boolean;\n currentRegistrantIndex: number;\n currentRegistrantFormIndex: number;\n registrants: RegistrantBag[];\n registrationFieldValues: Record;\n registrar: RegistrarBag;\n gatewayToken: string;\n savedAccountGuid: Guid | null;\n discountCode: string;\n discountAmount: number;\n discountPercentage: number;\n discountMaxRegistrants: number;\n successViewModel: RegistrationEntrySuccessBag | null;\n amountToPayToday: number;\n sessionExpirationDateMs: number | null;\n registrationSessionGuid: Guid;\n ownFamilyGuid: Guid;\n paymentPlan: RegistrationEntryCreatePaymentPlanRequestBag | null;\n};\n\nexport type PaymentPlanConfiguration = {\n balanceDue: RockCurrency;\n paymentPlanFrequencies: PaymentPlanFrequency[];\n paymentPlanFrequency: PaymentPlanFrequency;\n startDate: RockDateTime;\n endDate: RockDateTime;\n amountToPayToday: RockCurrency;\n amountToPayTodayAdjustment: RockCurrency;\n amountToPayTodayPlusAdjustment: RockCurrency;\n numberOfPayments: number;\n amountPerPayment: RockCurrency;\n minAmountToPayToday: RockCurrency;\n};\n\nexport type PaymentPlanConfigurationOptions = {\n balanceDue: RockCurrency;\n desiredAllowedPaymentPlanFrequencies: PaymentPlanFrequency[];\n desiredPaymentPlanFrequency: PaymentPlanFrequency;\n desiredStartDate: RockDateTime;\n endDate: RockDateTime;\n amountToPayToday: RockCurrency;\n desiredNumberOfPayments: number;\n minAmountToPayToday: RockCurrency;\n};\n\nexport type PersonGuid = Guid; // Not the registrant guid.\nexport type FormFieldGuid = Guid;\nexport type FormFieldValue = unknown;\n\nexport type TransactionFrequency = {\n readonly definedValueGuid: Guid;\n\n /** Determines if this transaction frequency matches the definedValueGuid. */\n hasDefinedValueGuid(guid: Guid): boolean;\n\n /**\n * Gets the number of transactions between the first and second dates, inclusively.\n *\n * Assuming each transaction can pay as little as 1 cent (for USD), the amountToPay will also limit the max number of transactions; e.g., an amountToPay of $0.25 can only have a maximum of 25 transactions.\n */\n getMaxNumberOfTransactionsBetweenDates(firstDateTime: RockDateTime, secondDateTime: RockDateTime, amountToPay: RockCurrency): number;\n\n /** Returns the desired date if it is valid; otherwise, the next valid date is returned or null if there are no valid dates. */\n getValidTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, desiredDate: RockDateTime): RockDateTime | null;\n\n /** Returns the next valid date following the previous date or null if there are no valid dates. */\n getNextTransactionDate(firstDateTime: RockDateTime, secondDateTime: RockDateTime, previousDate: RockDateTime): RockDateTime | null;\n\n maxNumberOfPaymentsForOneYear: number;\n\n /** Gets a string in the format, \"Two Weekly Payments of $146.50\". */\n getNPaymentsOfAmountMessage(numberOfPayments: number, amount: RockCurrency): string;\n};\n\nexport type GetNextDayOption = \"end-of-month\";\n\nexport type RegistrationEntryTerminology = {\n discountCodeSingularLowerCase: string;\n discountCodeSingularTitleCase: string;\n feePluralLowerCase: string;\n feePluralTitleCase: string;\n feeSingularLowerCase: string;\n registrantPluralLowerCase: string;\n registrantSingularLowerCase: string;\n registrantSingularTitleCase: string;\n registrationPluralLowerCase: string;\n registrationSingularLowerCase: string;\n registrationSingularTitleCase: string;\n signatureDocumentSingularTitleCase: string;\n};","\n\n\n\n"],"names":["unknownSingleFamilyGuid","newGuid","getForcedFamilyGuid","currentPerson","viewModel","registrantsSameFamily","RegistrantsSameFamily","Yes","currentPersonFamilyGuid","getDefaultRegistrantInfo","familyGuid","forcedFamilyGuid","No","registrantBag","cost","isOnWaitList","fieldValues","feeItemQuantities","guid","personGuid","getRegistrantBasicInfo","registrant","registrantForms","_fields$find","_fields$find2","_fields$find3","_registrant$fieldValu","_registrant$fieldValu2","_registrant$fieldValu3","fields","reduce","acc","f","_f$fields","concat","firstNameGuidOrEmptyString","find","personFieldType","RegistrationPersonFieldType","FirstName","fieldSource","RegistrationFieldSource","PersonField","lastNameGuidOrEmptyString","LastName","emailGuidOrEmptyString","Email","firstName","lastName","email","scrollToTopAfterNextRender","nextTick","smoothScrollToTop","use","key","result","inject","undefined","convertComparisonValue","value","_value$value","comparisonType","CurrentRegistrationEntryState","Symbol","GetPersistSessionArgs","PersistSession","RegistrationCostSummary","ConfigurePaymentPlan","RegistrationEntryTerms","OriginalFormFieldValues","store","useStore","registrationEntryState","registrationEntryTerms","showRemainingCapacity","ref","numberOfRegistrants","registrants","length","computed","state","config","spotsRemaining","_config$value$spotsRe","numberToAddToWaitlist","waitListEnabled","remainingCapacityPhrase","pluralConditional","registrantSingularLowerCase","registrantPluralLowerCase","isFull","canContinue","onNext","push","firstWaitListIndex","i","emit","watch","spots","submitPayment","provideSubmitPayment","dispatchPaymentEvent","usePaymentEvents","getRegistrationEntryBlockArgs","invokeBlockAction","useInvokeBlockAction","uniqueId","loading","gatewayErrorMessage","gatewayValidationFields","submitErrorMessage","selectedSavedAccount","gatewayControlModel","_viewModel$value$gate","gatewayControl","hasSavedAccounts","_registrationEntrySta","savedAccounts","savedAccountOptions","_registrationEntrySta2","options","text","showGateway","amountToPay","amountToPayToday","amountToPayText","toFixed","redirectReturnUrl","window","location","href","includes","registrationSessionGuid","onPrevious","_onNext","apply","arguments","_asyncToGenerator","_registrationEntrySta3","paymentPlan","amountPerPayment","savedAccountGuid","toGuidOrNull","success","submit","onGatewayControlSuccess","_x","_onGatewayControlSuccess","token","gatewayToken","onGatewayControlError","message","onGatewayControlValidation","invalidFields","getOptionUniqueId","option","_option$value$replace","_option$value","replace","getAccountImage","_option$image","image","getAccountName","_option$text","getAccountDescription","_option$description","description","_submit","type","args","isError","data","errorMessage","successViewModel","isSuccess","internalValue","_objectSpread","props","modelValue","maxValue","singleItem","countRemaining","quantityValue","checkboxValue","get","set","_internalValue$value$","dropDownValue","fee","items","_iterator","_createForOfIteratorHelper","_step","s","n","done","item","err","e","newValue","_iterator2","_step2","areEqual","updateRefValue","numberGroupValue","values","_iterator3","numberUpDownGroupOptions","_step3","_internalValue$value$2","label","_props$fee$name","getItemLabel","name","isHidden","_props$fee$items","hideWhenNoneRemaining","_internalValue$value$3","every","_internalValue$value$4","isCheckbox","allowMultiple","isNumberUpDown","isNumberUpDownGroup","isDropDown","dropDownListOptions","_props$fee$items$filt","_props$fee$items2","filter","_ref2","map","_ref3","disabled","_props$fee$items$filt2","_props$fee$items3","_ref4","_internalValue$value$5","max","min","rules","isRequired","isCheckboxDisabled","_props$fee$items4","formattedCost","toCurrencyOrNull","formattedItem","formattedRemaining","asFormattedString","_props$fee$items5","field","visibilityRules","_ref","isVisible","_props$field$visibili","_props$field$visibili2","_props$field$visibili3","_props$field$visibili4","_props$field$visibili5","_props$field$visibili6","_props$field$visibili7","_props$field$visibili8","visibilityRuleType","FilterExpressionType","GroupAll","vr","isRuleMet","formFields","GroupAllFalse","GroupAny","some","GroupAnyFalse","modifiedAttribute","attribute","fieldAttribute","rule","_comparedToFormField$","_rule$comparisonValue","_comparedToFormField$2","comparedToRegistrationTemplateFormFieldGuid","comparedToFormField","ff","fieldTypeGuid","fieldType","getFieldType","comparisonValue","doesValueMatchFilter","configurationValues","component","TextBox","MiddleName","Campus","DropDownList","EmailBox","Gender","GenderDropDownList","Birthdate","BirthdayPicker","AnniversaryDate","Address","AddressControl","MaritalStatus","ConnectionStatus","Grade","HomePhone","PhoneNumberBox","WorkPhone","MobilePhone","showSmsOptIn","PhoneNumberBoxWithSms","Race","Ethnicity","fieldControlComponentProps","_registrationEntrySta4","_registrationEntrySta5","_registrationEntrySta6","_registrationEntrySta7","_registrationEntrySta8","componentProps","campuses","maritalStatuses","connectionStatuses","grades","races","ethnicities","defaultValue","currentRegistrant","fees","_fee$items","feeItem","fieldSources","personField","personAttribute","PersonAttribute","groupMemberAttribute","GroupMemberAttribute","registrantAttribute","RegistrantAttribute","originalFormFieldValues","signatureData","signatureSource","signatureToken","formResetKey","isNextDisabled","isSignatureDrawn","showPrevious","currentRegistrantIndex","registrationAttributesStart","isFirstRegistrant","isFirstForm","currentFormIndex","isExistingRegistration","currentRegistrantFormIndex","currentForm","formsToShow","isLastForm","isDataForm","isSignatureForm","isInlineSignatureRequired","isNextVisible","_viewModel$value$regi2","_viewModel$value$regi3","isWaitList","_viewModel$value$regi","form","_form$fields","showOnWaitList","currentFormFields","_currentForm$value","currentFormFieldsAugmented","_currentFormFields$va","JSON","parse","stringify","forEach","_value$visibilityRule","_value$visibilityRule2","_value$visibilityRule3","_value$visibilityRule4","_props$currentRegistr","_props$currentRegistr2","_props$currentRegistr3","_props$currentRegistr4","preHtml","postHtml","prePostHtmlItems","_f$preHtml","_f$postHtml","slotName","familyOptions","_currentPerson$value","usedFamilyGuids","Ask","_viewModel$value$regi4","info","fullName","isFamilyMembersDropDownVisible","areCurrentFamilyMembersShown","familyMemberOptions","_viewModel$value$fami","_viewModel$value$fami2","_viewModel$value$fami3","usedFamilyMemberGuids","r","familyMembers","fm","_viewModel$value$regi5","familyMember","_viewModel$value$fami4","_viewModel$value$fami5","isFieldDisabled","isValueIn","_len","collection","Array","_key","v","hasExistingFieldValue","fieldGuid","_originalFormFieldVal","originalFieldValue","toNumber","Male","Female","GenderDescription","valueAsAddress","city","country","locality","postalCode","street1","street2","isLockedIfValuesExist","clearFormErrors","lastFormIndex","_toGuidOrNull","request","registrantGuid","emptyGuid","existingSignatureDocumentGuid","documentHtml","securityToken","console","error","updateFeeItemsRemaining","combinedFeeItemQuantities","feeItemGuid","feeItemsUsed","_iterator4","_step4","_fee$items2","_iterator5","_step5","_combinedFeeItemQuant","originalCountRemaining","usedFeeItemCount","onSigned","_onSigned","_toGuidOrNull2","signature","setRegistrantFieldValues","copyValuesFromFamilyMember","clearRegistrantFieldWhenFamilyMemberFieldEmpty","_props$currentRegistr5","newFieldValues","_iterator6","_step6","_iterator7","_step7","familyMemberValue","getFieldValues","_getFieldValues","_toGuidOrNull3","forms","_props$currentRegistr8","_iterator10","_step10","_iterator11","_step11","_props$currentRegistr9","formFieldValue","currentFormFieldValue","onUpdateRegistrantFee","_i","_Object$keys","Object","keys","onSetFamilyGuid","onSetPersonGuid","isArray","oldValue","_props$currentRegistr6","_iterator8","_step8","_iterator9","_step9","_props$currentRegistr7","clearRegistrantFieldWhenFamilyFieldEmpty","onUpdated","persistSession","hasCopiedCommonValues","_onPrevious","lastIndex","copyCommonValuesFromFirstRegistrant","firstRegistrant","isSharedValue","valueToShare","hasWaitlist","isOnWaitlist","attributeValues","registrationAttributesEnd","_a$key","_a$attributeGuid","a","registrationFieldValues","attributeGuid","attributes","attrs","_a$key2","_a2$attributeGuid","_a2$key","firstStep","steps","intro","spotsSecured","isLoading","isModalVisible","allRegistrantCount","waitlistRegistrantCount","waitlistRegistrantCountWord","toWord","nonWaitlistRegistrantCount","nonWaitlistRegistrantCountWord","restart","reload","close","requestRenewal","_requestRenewal","response","_response$data$expira","_asDate$toMillisecond","asDate","RockDateTime","parseISO","expirationDateTime","sessionExpirationDateMs","toMilliseconds","deficiency","isSessionExpired","registeredCount","waitListedCount","allRegistrantsWaitListedMessage","_registrationEntryTer","someRegistrantsWaitListedMessage","_registrationEntryTer2","registrationSingularLowerCase","instanceName","showRegistrationFullNotification","showAllRegistrantsWaitListedNotification","showSomeRegistrantsWaitListedNotification","messageHtml","gatewayGuid","transactionCode","_registrationEntrySta9","isRedirectGateway","gatewayPersonIdentifier","_registrationEntrySta10","enableSaveAccount","wipPaymentPlanConfiguration","finalPaymentPlanConfiguration","balanceDue","useConfigurePaymentPlanFeature","_use","readonlyRegistrationCostSummary","isConfigured","isWorkInProgress","paymentPlanDeadlineDate","paymentDeadlineDate","isPaymentPlanConfigurationSupported","paymentPlanFrequencies","isZero","desiredStartDate","now","date","deadlineDate","balance","frequencies","listItemBag","getPaymentPlanFrequency","frequency","maxNumberOfPayments","rank","DefinedValue","TransactionFrequencyWeekly","TransactionFrequencyBiweekly","TransactionFrequencyFirstAndFifteenth","TransactionFrequencyTwicemonthly","TransactionFrequencyMonthly","TransactionFrequencyQuarterly","TransactionFrequencyTwiceyearly","TransactionFrequencyOneTime","sort","b","aOrder","bOrder","configure","paymentPlanConfig","_paymentPlanConfig$st","amountToPayTodayPlusAdjustment","number","transactionFrequencyGuid","paymentPlanFrequency","transactionFrequency","definedValueGuid","numberOfPayments","transactionFrequencyText","startDate","toISOString","reconfigure","_finalConfig$startDat","_paymentPlanConfig$st2","finalConfig","getPaymentPlanConfiguration","desiredAllowedPaymentPlanFrequencies","desiredNumberOfPayments","desiredPaymentPlanFrequency","endDate","minAmountToPayToday","reconfigureWorkInProgress","overrides","_wipConfig$startDate","wipConfig","previewWorkInProgress","_wipConfig$startDate2","cancel","initializeWorkInProgress","fallbackOptions","_paymentPlanDeadlineD","_ref5","today","addYears","noopPaymentPlanFrequency","getNoopPaymentPlanFrequency","RockCurrency","create","currencyInfo","p","minimumRemainingAmount","init","transactionFrequencyOneTime","hasDefinedValueGuid","getMaxNumberOfTransactionsBetweenDates","firstDateTime","secondDateTime","isNegative","getValidTransactionDate","firstDate","secondDate","desiredDate","tomorrow","addDays","earliestPossibleDate","isLaterThan","isEarlierThan","getNextTransactionDate","_firstDateTime","_secondDateTime","_previousDate","maxNumberOfPaymentsForOneYear","getNPaymentsOfAmountMessage","_numberOfPayments","amount","transactionFrequencyWeekly","maxNumberOfTransactionsForAmount","units","numberOfTransactions","previousDate","toTitleCase","toWordFull","transactionFrequencyBiWeekly","getNextDay","startingDate","potentialDays","day","day1","day2","isDay1Number","isDay2Number","attempt","potentialDay","endOfMonth","addMonths","transactionFrequencyFirstAndFifteenth","earliestDesiredDate","transactionFrequencyTwiceMonthly","transactionFrequencyMonthly","isEqualTo","transactionFrequencyQuarterly","transactionFrequencyTwiceAYear","transactionFrequencyYearly","TransactionFrequencyYearly","transactionFrequencies","noopTransactionFrequency","_guid","_amountToPay","_amount","getTransactionFrequency","_getTransactionFreque","_listItemBag$value","startPaymentDate","_desiredDate","_amountPerPayment","getAllowedPaymentPlanFrequencies","prospectiveAllowedPaymentFrequencies","amountForPaymentPlan","prospectiveAllowedPaymentFrequency","getAllowedPaymentPlanFrequency","allowedPaymentPlanFrequencies","_allowedPaymentPlanFr","allowedPaymentPlanFrequency","getNumberOfPayments","minNumberOfPayments","Math","zero","noLessThan","subtract","_ref6","divide","quotient","remainder","amountToPayTodayAdjustment","paymentPlanConfiguration","add","_useConfigurePaymentP","amountToPayTodayRules","validateAmountToPayTodayRule","validateAmountToPayTodayLessThanRemaining","validateAmountToPayTodayResultsInAtLeastTwoNumberOfPayments","startDateIsoString","paymentFrequencyGuidOrEmptyString","amountToPayTodayAdjustmentCurrency","amountToPayTodayPlusAdjustmentCurrency","areAmountFieldsShown","paymentDates","getScheduledPaymentDatesRequestGuid","isPaymentFrequencyWarningShown","paymentPlanFrequencyItems","_wipPaymentPlanConfig","_wipPaymentPlanConfig2","internalIsShown","useVModelPassthrough","amountToPayTodaySuffix","_amountToPayToday$val","numberOfPaymentsItems","createRange","inclusiveStart","inclusiveEnd","range","toString","showOrHidePaymentFrequencyWarningIfChanged","paymentFrequencyGuidBefore","_wipPaymentPlanConfig3","currentPaymentFrequencyGuid","validateStartDate","_params","_wipPaymentPlanConfig4","_wipPaymentPlanConfig5","isDateValid","transDate1","earliestDate","toLocaleString","year","month","_value","_wipPaymentPlanConfig6","_wipPaymentPlanConfig7","_amountToPayToday$val2","isGreaterThan","_wipPaymentPlanConfig8","_amountToPayToday$val3","isLessThanOrEqualTo","paymentPlanConfigPreview","updateModal","_config$startDate","bag","scheduledTransactionFrequencyValueGuid","paymentStartDate","requestGuid","then","scheduledPaymentDates","isoDate","scheduledPaymentDate","onUpdateNumberOfPaymentsStringOrEmpty","numbOfPayments","_value$","onUpdateAmountToPayToday","onBlurAmountToPayToday","validationErrors","validateValue","onUpdateStartDateIsoString","_RockDateTime$parseIS","_RockDateTime$parseIS2","desiredStartDateOverride","paymentFrequencyGuidBeforeConfiguration","onUpdatePaymentFrequencyGuid","onConfigurePaymentPlan","onCancel","immediate","isShown","RegistrationCostSummaryType","updateRegistrationCostSummary","isPaymentPlanConfigured","lineItems","isConfigurePaymentPlanModalShown","isDeletePaymentPlanModalShown","deletePaymentPlanErrorMessage","decimalPlaces","symbol","augmentedLineItems","currencyInfoWithoutSymbol","li","_toCurrencyOrNull","_toCurrencyOrNull2","isFee","Fee","discountHelp","hasDiscount","discountedCost","amountFormatted","discountedAmountFormatted","total","totalFormatted","_toCurrencyOrNull3","defaultPaymentAmount","hasDefault","maxAmountCanBePaid","amountDueToday","discountedTotal","discountedTotalFormatted","_toCurrencyOrNull4","amountPreviouslyPaid","minimumPaymentAmount","amountDueTodayFormatted","_toCurrencyOrNull5","showAmountDueToday","session","previouslyPaid","amountPreviouslyPaidFormatted","_toCurrencyOrNull6","plannedPaymentAmount","activePaymentPlan","remainingPlannedAmount","maxAmountCanBePaidFormatted","_toCurrencyOrNull7","amountRemaining","actual","bounded","amountRemainingFormatted","_toCurrencyOrNull8","format","excludeGroupingSeparators","fetchCostData","_fetchCostData","paidAmount","remainingAmount","onShowPaymentPlanDeleteConfirmation","_onShowPaymentPlanDeleteConfirmation","onDeletePaymentPlan","_onDeletePaymentPlan","_result$errorMessage","onOpenConfigurePaymentPlanModal","onCancelPaymentPlanConfiguration","discountCode","styleInject","css","insertAt","document","head","getElementsByTagName","style","createElement","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","getPersistSessionArgs","discountCodeInput","discountCodeWarningMessage","discountCodeSuccessMessage","isDisabled","isDiscountCodeAllowed","isDiscountPanelVisible","hasDiscountsAvailable","registrationGuid","tryDiscountCode","_tryDiscountCode","isAutoApply","_config$value$session","code","registrantCount","discountCodeSingularTitleCase","discountAmount","discountPercentage","discountMaxRegistrants","getDiscountCodeSuccessMessage","discountPercent","discountText","discountCodeSingularLowerCase","registrantTerm","onMounted","isRegistrarPanelShown","useLoggedInPersonForRegistrar","registrarOption","RegistrarOption","UseLoggedInPerson","registrar","doShowUpdateEmailOption","forceEmailUpdate","ownFamilyGuid","prefillRegistrar","PromptForRegistrar","nickName","PrefillFirstRegistrant","UseFirstRegistrant","firstRegistrantInfo","hasAllInfo","onUpdateFamilyGuid","isMakingPayment","previousPaymentPlan","currentPaymentPlan","currentAmountToPayToday","isCurrentPaymentPlanConfigured","isPreviousPaymentPlanConfigured","totalNumberOfPayments","hasPaymentCost","usedFeeIds","feeId","hasCostFees","_f$items","registrantInfos","registrantOrRegistrantsTermLowerCase","_viewModel$value$inst","finishButtonText","hasRegistrantOnWaitList","hasRegistrantNotOnWaitList","redirectUrl","getPaymentRedirect","_getPaymentRedirect","returnUrl","Step","Intro","RegistrationStartForm","PerRegistrantForms","RegistrationEndForm","Review","Payment","Success","useConfigurationValues","notFound","registrationInstanceNotFoundMessage","notFoundMessage","hasPreAttributes","_config$registrationA","_config$registrationA2","hasPostAttributes","_config$registrationA3","_config$registrationA4","initialStep","startAtBeginning","review","maxRegistrants","isNullOrWhiteSpace","instructionsHtml","registrationStartForm","perRegistrantForms","secondsBeforeExpiration","hasSessionRenewalSuccess","currentStep","navBack","_config$session","_config$session2","_config$session3","updateEmail","_config$session4","_config$session5","_config$session6","_config$session7","_config$successViewMo","_config$session8","registrationCostSummary","mustLogin","isUnauthorized","loginRequiredToRegister","_config$isUnauthorize","progressTrackerIndex","stepsBeforePre","stepsBeforeRegistrants","stepsToCompleteRegistrants","currentRegistrantTitle","ordinal","NumberFilter","toOrdinal","registrantSingularTitleCase","terms","title","stepTitleHtml","_config$registrationA5","registrationAttributeTitleStart","_config$registrationA6","registrationAttributeTitleEnd","titleHtml","progressTrackerItems","_terms$value","registrationSingularTitleCase","subtitle","_config$registrationA7","_config$registrantFor","_config$registrationA8","isInvalidGateway","_config$fees","_config$gatewayContro","List","any","fileUrl","_config$spotsRemainin","preventNewRegistration","_registrationEntrySta11","_registrationEntrySta12","_registrationEntrySta13","_registrationEntrySta14","discountCodeTerm","toLowerCase","feePluralLowerCase","pluralFeeTerm","feePluralTitleCase","feeSingularLowerCase","feeTerm","pluralRegistrantTerm","registrationPluralLowerCase","pluralRegistrationTerm","registrationTerm","signatureDocumentSingularTitleCase","signatureDocumentTerm","_paymentPlan","_paymentPlan2","_paymentPlan3","_paymentPlan4","_config$session9","amountToPayNow","_persistSession","force","timeoutMinutes","_expirationDate$toMil","expirationDate","onSessionRenewalSuccess","setTimeout","onIntroNext","_onIntroNext","onRegistrationStartPrevious","_onRegistrationStartPrevious","onRegistrationStartNext","_onRegistrationStartNext","onRegistrantPrevious","_onRegistrantPrevious","onRegistrantNext","_onRegistrantNext","onRegistrationEndPrevious","_onRegistrationEndPrevious","onRegistrationEndNext","_onRegistrationEndNext","onSummaryPrevious","_onSummaryPrevious","_registrationEntrySta17","_registrationEntrySta18","_registrationEntrySta19","_registrationEntrySta20","lastRegistrantIndex","onSummaryNext","_registrationEntrySta15","_registrationEntrySta16","onPaymentPrevious","_onPaymentPrevious","onPaymentNext","nowMs","thenMs","diffMs","provide","readonly","round","redirectToLogin","onConfigurationValuesChanged","useReloadBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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