import { Component, ChangeDetectionStrategy, OnInit } from '@angular/core';
import { ApplicationService } from '@core/application';
import { map } from 'rxjs/operators';

@Component({
  selector: 'page-checkout',
  templateUrl: 'page-checkout.component.html',
  styleUrls: ['page-checkout.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
  standalone: false,
})
export class PageCheckoutComponent implements OnInit {
  readonly breadcrumbKey$ = this.applicationService.activatedProcessId$.pipe(map((processId) => String(processId)));

  constructor(private applicationService: ApplicationService) {}

  ngOnInit() {}
}
