{"version":3,"sources":["C:/vsts_agent/_work/24/s/src/app/core/modules/cart/cart-popup.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/wizzard.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/nl-be.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bg.js","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tet.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-nopadding.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isPromise.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/md5.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/pairwise.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/id.js","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mt.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeTo.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-dz.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ss.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ne.js","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.actions.ts","C:/vsts_agent/_work/24/s/node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/rabbit-legacy.js","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/hi.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/mergeAll.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pbkdf2.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/throwError.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/te.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sw.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/aes.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/eo.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/catchError.js","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.actions.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev-button.shared.component.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/identity.js","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-tn.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-iso10126.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/gom-latn.js","C:/vsts_agent/_work/24/s/node_modules/@angular/animations/__ivy_ngcc__/fesm2015/browser.js","C:/vsts_agent/_work/24/s/node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/animations.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/concatMap.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Subscriber.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-cfb.js","C:/vsts_agent/_work/24/s/src/app/core/directives/drawCollapse/draw-expand.shared.resolver.ts","C:/vsts_agent/_work/24/s/src/app/core/directives/drawCollapse/draw-collapse.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/empty.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/uk.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/lt.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tzm.js","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha1.js","C:/vsts_agent/_work/24/s/src/app/core/services/modals.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-ctr.js","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/share.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/pl.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fa.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/af.js","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fo.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/tap.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isNumeric.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/timer.js","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.interface.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/observeOn.js","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/he.js","C:/vsts_agent/_work/24/s/src/app/core/controllers/appSettings/app-settings.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/cart/cart.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/creditCards/credit-cards.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/filters/filters.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/geolocation/geolocation.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/historyOrders/history-orders.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/images/images.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/ingredients/ingredients.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/locations/locations.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/loyalty/loyalty.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/members/members.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/menuFlows/menu-flows.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/modals/modals.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/onlineMenu/online-menu.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/onlineOrders/online-orders.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/payment/payment.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/routes/routes.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/transactions/transactions.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/wizzard/wizzard.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/controllers.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/index.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ka.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/de.js","C:/vsts_agent/_work/24/s/src/app/core/components/subNav/sub-nav.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/delay.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isDate.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/BehaviorSubject.js","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev.shared.component.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev.shared.component.html","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mr.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/se.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/evpkdf.js","C:/vsts_agent/_work/24/s/node_modules/tslib/tslib.es6.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/pt.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Scheduler.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.effects.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/distinct.js","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.effects.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/iif.js","C:/vsts_agent/_work/24/s/src/app/state/members/members.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.effects.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/takeWhile.js","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/pickupTimeValidate/pickup-time-validate.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/state/state.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/meta-reducers.ts","C:/vsts_agent/_work/24/s/src/app/state/dev/dev.meta-reducers.ts","C:/vsts_agent/_work/24/s/src/app/state/reset/reset.meta-reducers.ts","C:/vsts_agent/_work/24/s/src/app/state/state/state.meta-reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/cartPopup/cart-popup.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/members/members.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuFilters/online-menu-filters.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/cartPopup/cart-popup.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/members/members.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modals.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuFilters/online-menu-filters.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment-demo.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/pickupTimeValidate/pickup-time-validate.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/state/state.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/state.shared.module.ts","C:/vsts_agent/_work/24/s/src/app/state/index.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bs.js","C:/vsts_agent/_work/24/s/node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/hu.js","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/Action.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha3.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/async.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/vi.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tr.js","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isArray.js","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.interface.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.interface.ts","C:/vsts_agent/_work/24/s/src/app/state/interface.ts","C:/vsts_agent/_work/24/s/src/app/core/services/jwt.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/cookie.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/session.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/auth.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/loyalty-app.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/app-settings.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/cart.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/members.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/locations.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/online-menu.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/location-details.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/filters.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/geolocation.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/google-analytics.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/images.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/pickups.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/online-orders.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/menu-flows.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/products.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/venue-images.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/init.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/api/v2/base-service.ts","C:/vsts_agent/_work/24/s/src/app/api/v2/apiv-2configuration.ts","C:/vsts_agent/_work/24/s/src/app/api/v2/services/members.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/paymentProviders/converge.payment-provider.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/paymentProviders/card-connect.payment-provider.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/paymentProviders/payment-express.payment-provider.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/credit-cards.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/payments.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/transactions.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/index.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/gd.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/es.js","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.actions.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/from.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isIterable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-ly.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/combineLatest.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/skipWhile.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/config.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-au.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isFunction.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-zeropadding.js","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Observable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/toSubscriber.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/canReportError.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ug-cn.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/take.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/zh-hk.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/multicast.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ky.js","C:/vsts_agent/_work/24/s/src/app/core/services/route.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/cv.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/cs.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sk.js","C:/vsts_agent/_work/24/s/src/app/core/services/crypto.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/animations/fade-in-out.animations.ts","C:/vsts_agent/_work/24/s/src/app/core/animations/index.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/fromEvent.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-ecb.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/uz-latn.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/my.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/hy-am.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale sync ^\\.\\/.*$","C:/vsts_agent/_work/24/s/node_modules/moment/locale/gl.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.actions.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/arrays.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/colors.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/credit-cards.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/strings.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/numbers.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/dates.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/devices.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/forms.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/http.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/images.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/inputs.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/pricing.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/spread.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/menu-flows.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/items.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/messages.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/meta.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/mobile-phone.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/objects.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/online-order.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/products.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/storage.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/redirect.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/scroll.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/validators.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/xml.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/index.ts","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sr.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/core.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ga.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/es-us.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/enc-utf16.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/pa-in.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/th.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/hr.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/de-at.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/forkJoin.js","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sr-cyrl.js","C:/vsts_agent/_work/24/s/src/app/core/directives/heightAdjust/height-adjust.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js","C:/vsts_agent/_work/24/s/src/app/core/services/query-params.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha256.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tg.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/rabbit.js","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/yo.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sl.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ur.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-ansix923.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bo.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/rc4.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/es-do.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mn.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/of.js","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ku.js","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.reducer.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fr-ch.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-kw.js","C:/vsts_agent/_work/24/s/src/app/core/components/dev/devConsole/dev-console.shared.module.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev.module.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/index.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/scan.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fy.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-il.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/switchMap.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/si.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bm.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/km.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/pipe.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/is.js","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuFilters/online-menu-filters.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tl-ph.js","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/members/members.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/EmptyError.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/x-pseudo.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sv.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/lib-typedarrays.js","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/members/members.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuFilters/online-menu-filters.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/cartPopup/cart-popup.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/selectors.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-ctr-gladman.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isObject.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fr.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/lv.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/tripledes.js","C:/vsts_agent/_work/24/s/src/app/core/directives/maxOnScreenHeight/max-on-screen-height.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/da.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/format-hex.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/map.js","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ko.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/et.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Subject.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/az.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/hmac.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-ca.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.state.module.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bn.js","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.actions.ts","(webpack)/buildin/module.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ro.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/zh-cn.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Subscription.js","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-SG.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/mergeMap.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tlh.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/fromArray.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/me.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ms.js","C:/vsts_agent/_work/24/s/src/app/core/tokens/config.tokens.ts","C:/vsts_agent/_work/24/s/src/app/core/tokens/env.tokens.ts","C:/vsts_agent/_work/24/s/src/app/core/tokens/index.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ta.js","C:/vsts_agent/_work/24/s/node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sd.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isArrayLike.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ru.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ml.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-gb.js","C:/vsts_agent/_work/24/s/node_modules/@angular/animations/__ivy_ngcc__/fesm2015/animations.js","C:/vsts_agent/_work/24/s/src/app/core/components/dev/devConsole/dev-console.shared.component.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/devConsole/dev-console.shared.component.html","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tzl.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/gu.js","C:/vsts_agent/_work/24/s/node_modules/js-cookie/src/js.cookie.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mk.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/combineLatest.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/it-ch.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/merge.js","C:/vsts_agent/_work/24/s/src/app/state/cartPopup/cart-popup.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isScheduler.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/lo.js","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.selectors.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/nb.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-ma.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/de-ch.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/uz.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/kn.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mi.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/cipher-core.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/enc-base64.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/refCount.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/hostReportError.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/defer.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-nz.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/kk.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/br.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/startWith.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/first.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ja.js","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/nl.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/eu.js","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/be.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/queue.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/noop.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-iso97971.js","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.actions.ts","C:/vsts_agent/_work/24/s/src/app/core/directives/scroll/scroll.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/jv.js","C:/vsts_agent/_work/24/s/src/app/core/resolvers/selective-preloading-strategy.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/resolvers/index.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/concatAll.js","C:/vsts_agent/_work/24/s/src/app/core/decorators/common.shared.decorator.ts","C:/vsts_agent/_work/24/s/src/app/core/decorators/auto-unsubscribe.shared.decorator.ts","C:/vsts_agent/_work/24/s/src/app/core/decorators/meta.shared.decorator.ts","C:/vsts_agent/_work/24/s/src/app/core/decorators/index.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/nn.js","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.actions.ts","C:/vsts_agent/_work/24/s/node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha384.js","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/audit.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/OuterSubscriber.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tzm-latn.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/auditTime.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/symbol/observable.js","C:/vsts_agent/_work/24/s/src/app/core/directives/drawCollapse/draw-collapse.shared.resolver.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha224.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/concat.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/InnerSubscriber.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/ripemd160.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Observer.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/never.js","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/finalize.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Notification.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/takeLast.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/last.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/every.js","C:/vsts_agent/_work/24/s/node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/reduce.js","C:/vsts_agent/_work/24/s/node_modules/@ngrx/store/__ivy_ngcc__/fesm2015/store.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/pluck.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/symbol/iterator.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/cy.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fr-ca.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ms-my.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/el.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-sa.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/pt-br.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sq.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fi.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ca.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/lb.js","C:/vsts_agent/_work/24/s/node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/dv.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/x64-core.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/index.js","C:/vsts_agent/_work/24/s/src/app/core/guards/app-mode-loyalty.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/app-mode-ordering.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/app-mode-root.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/authorization.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/checkout.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/dynamic-paths.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/guid.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/unique-code.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/index.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-ofb.js","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/moment.js","C:/vsts_agent/_work/24/s/src/app/core/directives/menuFlowPages/menu-flow-pages.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/zh-tw.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/it.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/filter.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-ie.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/SubjectSubscription.js","C:/vsts_agent/_work/24/s/src/app/state/dev/dev.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/state/state.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/materialize.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/groupBy.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/dematerialize.js","C:/vsts_agent/_work/24/s/node_modules/@ngrx/effects/__ivy_ngcc__/fesm2015/effects.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha512.js","src/environments/environment.ts","src/environments/environment.build.ts","src/app/config.ts","C:/vsts_agent/_work/24/s/node_modules/@angular/service-worker/__ivy_ngcc__/fesm2015/service-worker.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/publish.js","C:/vsts_agent/_work/24/s/node_modules/@ngrx/router-store/__ivy_ngcc__/fesm2015/router-store.js","src/app/state/state.reducers.ts","src/app/state/state.effects.ts","src/app/state/state.meta-reducers.ts","src/app/state/state.module.ts","src/app/routes-root.module.ts","C:/vsts_agent/_work/24/s/src/app/core/enums/error-codes.shared.enums.ts","C:/vsts_agent/_work/24/s/src/app/core/interceptors/errors.shared.interceptor.ts","C:/vsts_agent/_work/24/s/src/app/core/interceptors/api.shared.interceptor.ts","C:/vsts_agent/_work/24/s/src/app/shared-providers.module.ts","src/app/app.component.ts","src/app/app.component.html","src/app/app.module.ts","src/main.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.actions.ts","$_lazy_route_resource lazy namespace object","C:/vsts_agent/_work/24/s/src/app/core/modules/forms/forms.shared.service.ts"],"names":["CartPopupService","offset","coordsRegistry","Map","targetCoords$","elem","this","set","getClientRects","next","get","delete","WizzardService","store","routeService","_onContentScrollInit$","_onContentScroll$","_navClickListener$","index","$event","menuFlow","wizzardMenuFlow","errorId","Date","getTime","Math","floor","random","errors","Pages","forEach","wizzardPage","PageMinQuantity","PageMaxQuantity","find","page","PageIdentifier","wizzardPageTotalQuantity","Products","reduce","acc","product","Quantity","push","id","pageIdentifier","error","REQUIRED","OVERFLOW","moment","monthsShortWithDots","split","monthsShortWithoutDots","monthsParse","monthsRegex","defineLocale","months","monthsShort","m","format","test","month","monthsShortRegex","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","weekdays","weekdaysShort","weekdaysMin","weekdaysParseExact","longDateFormat","LT","LTS","L","LL","LLL","LLLL","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","relativeTime","future","past","s","ss","mm","h","hh","d","dd","M","MM","y","yy","dayOfMonthOrdinalParse","ordinal","number","week","dow","doy","day","lastDigit","last2Digits","LoyaltyMessagesRequest","LoyaltyMessagesSuccessRequest","LoyaltyMessagesErrorRequest","b","CryptoJS","module","exports","pad","NoPadding","unpad","isPromise","value","subscribe","then","C","C_lib","lib","WordArray","Hasher","C_algo","algo","T","i","abs","sin","MD5","extend","_doReset","_hash","init","_doProcessBlock","offset_i","M_offset_i","H","words","M_offset_0","M_offset_1","M_offset_2","M_offset_3","M_offset_4","M_offset_5","M_offset_6","M_offset_7","M_offset_8","M_offset_9","M_offset_10","M_offset_11","M_offset_12","M_offset_13","M_offset_14","M_offset_15","a","c","FF","GG","HH","II","_doFinalize","data","_data","dataWords","nBitsTotal","_nDataBytes","nBitsLeft","sigBytes","nBitsTotalH","nBitsTotalL","length","_process","hash","H_i","clone","call","x","t","n","_createHelper","HmacMD5","_createHmacHelper","pairwise","source","lift","PairwiseOperator","subscriber","PairwiseSubscriber","destination","super","hasPrev","pair","prev","meridiemParse","meridiemHour","hour","meridiem","hours","minutes","isLower","PaymentReset","PaymentInitAramark","creditCard","member","PaymentInit","PaymentClearErrors","PaymentStepValidateGuestData","PaymentStepValidateGuestCardToken","PaymentStepValidateMemberCardToken","PaymentStepCreateOrder","__DEMO__PaymentStepCreateOrder","PaymentStepPay","__DEMO__PaymentStepPay","PaymentStepPaymentStatusCheck","__DEMO__PaymentStepPaymentStatusCheck","PaymentStepComplete","PaymentStepFailed","Message","Id","subscribeTo","result","obj","obs","TypeError","isArrayLike","subscribeToArray","promise","closed","complete","err","hostReportError","iterable","iterator","item","done","return","add","isObject","rxSubscriber","Symbol","symbolMap","numberMap","monthsParseExact","preparse","string","replace","match","postformat","minute","ReorderSetup","ReorderUnmount","ReorderCalculateRequest","ReorderCalculateSuccessRequest","ReorderCalculateErrorRequest","ReorderSelectItem","ReorderDeselectItem","ReorderDeselectAll","_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","DOCUMENT","PlatformLocation","ɵfac","ɵprov","factory","useBrowserPlatformLocation","token","providedIn","BrowserPlatformLocation","LOCATION_INITIALIZED","_doc","_init","location","getLocation","_history","getHistory","getBaseHref","fn","getGlobalEventTarget","addEventListener","href","protocol","hostname","port","pathname","search","newPath","state","title","url","supportsState","pushState","replaceState","forward","back","createBrowserPlatformLocation","window","history","joinWithSlash","start","end","slashes","endsWith","startsWith","substring","stripTrailingSlash","pathEndIdx","slice","normalizeQueryParams","params","LocationStrategy","provideLocationStrategy","platformLocation","PathLocationStrategy","origin","APP_BASE_HREF","_platformLocation","getBaseHrefFromDOM","Error","_baseHref","onPopState","onHashChange","internal","includeHash","queryParams","externalUrl","prepareExternalUrl","HashLocationStrategy","path","Location","platformStrategy","_subject","_urlChangeListeners","_platformStrategy","browserBaseHref","_stripIndexHtml","ev","emit","type","normalize","getState","query","baseHref","_notifyUrlChangeListeners","v","onNext","onThrow","onReturn","createLocation","CURRENCIES_EN","undefined","NumberFormatStyle","Decimal","Percent","Currency","Scientific","Plural","Zero","One","Two","Few","Many","Other","FormStyle","Format","Standalone","TranslationWidth","Narrow","Abbreviated","Wide","Short","FormatWidth","Medium","Long","Full","NumberSymbol","Group","List","PercentSign","PlusSign","MinusSign","Exponential","SuperscriptingExponent","PerMille","Infinity","NaN","TimeSeparator","CurrencyDecimal","CurrencyGroup","getLocaleDateFormat","locale","width","getLastDefinedValue","DateFormat","getLocaleTimeFormat","TimeFormat","getLocaleDateTimeFormat","DateTimeFormat","getLocaleNumberSymbol","symbol","res","NumberSymbols","getLocalePluralCase","checkFullData","ExtraData","LocaleId","extractTime","time","ISO8601_DATE_REGEX","NAMED_FORMATS","DATE_FORMATS_SPLIT","ZoneWidth","ShortGMT","Extended","DateType","FullYear","Month","Hours","Minutes","Seconds","FractionalSeconds","Day","TranslationType","DayPeriods","Days","Months","Eras","formatDateTime","str","opt_values","key","padNumber","num","digits","minusSign","trim","negWrap","neg","strNum","String","substr","dateGetter","name","size","date","part","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","getDay","localeMinus","dateStrGetter","form","extended","formStyle","MonthsFormat","MonthsStandalone","days","DaysFormat","DaysStandalone","currentHours","currentMinutes","rules","map","rule","dayPeriods","Array","isArray","hoursFrom","minutesFrom","hoursTo","minutesTo","amPm","DayPeriodsFormat","DayPeriodsStandalone","timeZoneGetter","zone","ceil","weekGetter","monthBased","nbDaysBefore1stDayOfMonth","today","firstThurs","year","firstDayOfYear","THURSDAY","diff","datetime","round","DATE_FORMATS","timezoneToOffset","timezone","fallback","requestedTimezoneOffset","parse","isNaN","isDate","valueOf","NUMBER_FORMAT_REGEXP","parseIntAutoRadix","text","parseInt","NgLocalization","NgLocaleLocalization","parseCookieValue","cookieStr","encodeURIComponent","cookie","eqIndex","indexOf","cookieName","cookieValue","decodeURIComponent","NgClass","_iterableDiffers","_keyValueDiffers","_ngEl","_renderer","_iterableDiffer","_keyValueDiffer","_initialClasses","_rawClass","_removeClasses","_applyClasses","create","iterableChanges","_applyIterableChanges","keyValueChanges","_applyKeyValueChanges","changes","forEachAddedItem","record","_toggleClass","currentValue","forEachChangedItem","forEachRemovedItem","previousValue","rawClassVal","Set","klass","Object","keys","enabled","addClass","nativeElement","removeClass","ɵdir","selectors","inputs","ngClass","NgForOfContext","$implicit","ngForOf","count","even","NgForOf","_viewContainer","_template","_differs","_ngForOf","_ngForOfDirty","_differ","console","warn","JSON","stringify","_trackByFn","ngForTrackBy","_a","_applyChanges","insertTuples","forEachOperation","adjustedPreviousIndex","currentIndex","previousIndex","view","createEmbeddedView","tuple","RecordViewTuple","remove","move","_perViewChange","ilen","viewRef","context","forEachIdentityChange","dir","ctx","ngForTemplate","NgIf","templateRef","_context","NgIfContext","_thenTemplateRef","_elseTemplateRef","_thenViewRef","_elseViewRef","condition","ngIf","_updateView","assertTemplate","clear","ngIfThen","ngIfElse","property","SwitchView","_viewContainerRef","_templateRef","_created","created","destroy","NgSwitch","_defaultUsed","_caseCount","_lastCaseCheckIndex","_lastCasesMatched","newValue","_ngSwitch","_updateDefaultCases","_defaultViews","matched","useDefault","enforceState","ngSwitch","NgSwitchCase","viewContainer","_addCase","_view","_matchCase","ngSwitchCase","NgSwitchDefault","_addDefault","NgStyle","_ngStyle","values","nameAndUnit","unit","setStyle","removeStyle","_setStyle","ngStyle","NgTemplateOutlet","_viewRef","ngTemplateOutletContext","ngTemplateOutlet","_shouldRecreateView","viewContainerRef","_updateExistingContext","ctxChange","_hasContextShapeChanged","prevCtxKeys","currCtxKeys","propName","features","invalidPipeArgumentError","ObservableStrategy","async","updateLatestValue","e","subscription","unsubscribe","PromiseStrategy","_promiseStrategy","_observableStrategy","AsyncPipe","_ref","_latestValue","_latestReturnedValue","_subscription","_obj","_strategy","_dispose","transform","wrap","_subscribe","_selectStrategy","createSubscription","_updateLatestValue","dispose","markForCheck","ɵpipe","pure","LowerCasePipe","toLowerCase","UpperCasePipe","toUpperCase","DatePipe","parsedNb","parseFloat","val","tzHour","tzMin","dateSetter","setUTCFullYear","setFullYear","timeSetter","setUTCHours","setHours","Number","ms","getNamedFormat","localeId","formatValue","shortTime","shortDate","mediumTime","mediumDate","longTime","longDate","fullTime","fullDate","parts","exec","concat","pop","dateTimezoneOffset","getTimezoneOffset","reverse","setMinutes","dateFormatter","formatter","message","JsonPipe","CurrencyPipe","_locale","_defaultCurrencyCode","currencyCode","display","digitsInfo","currency","code","Currencies","symbolNarrow","pattern","p","minInt","minFrac","maxFrac","posPre","posSuf","negPre","negSuf","gSize","lgSize","patternParts","positive","negative","positiveParts","lastIndexOf","integer","fraction","ch","charAt","groups","trunkLen","pos","NumberFormats","groupSymbol","decimalSymbol","isPercent","formattedText","isZero","isFinite","parsedNumber","integerLen","j","zeros","numStr","exponent","splice","MAX_DIGITS","fractionLen","minFraction","maxFraction","minIntPart","minFractionPart","maxFractionPart","fractionSize","min","max","roundAt","digit","k","unshift","dropTrailingZeros","minLen","carry","reduceRight","decimals","every","join","CommonModule","ɵmod","ɵinj","providers","provide","useClass","PLATFORM_BROWSER_ID","isPlatformBrowser","platformId","ViewportScroller","BrowserViewportScroller","document","errorHandler","supportScrollRestoration","scrollX","scrollY","position","scrollTo","anchor","CSS","escape","elSelectedById","querySelector","scrollToElement","elSelectedByName","handleError","scrollRestoration","el","rect","getBoundingClientRect","left","pageXOffset","top","pageYOffset","StreamCipher","S","C_","G","RabbitLegacy","K","_key","iv","cfg","X","_X","_C","_b","nextState","IV","IV_0","IV_1","i0","i2","i1","i3","blockSize","ivSize","gx","ga","gb","CurrentLocationValidationRequest","CurrentLocationValidationSuccessRequest","CurrentLocationValidationErrorRequest","CurrentLocationValidationReset","CurrentLocationReset","CurrentLocationSet","CurrentLocationPickupTimeSet","pickupTime","CurrentLocationFiltersPickupTimeSync","CurrentLocationPickupTimeRestore","mergeAll","concurrent","POSITIVE_INFINITY","Base","HMAC","PBKDF2","keySize","hasher","SHA1","iterations","compute","password","salt","hmac","derivedKey","blockIndex","derivedKeyWords","blockIndexWords","block","update","finalize","reset","blockWords","blockWordsLength","intermediate","intermediateWords","throwError","scheduler","schedule","dispatch","BlockCipher","SBOX","INV_SBOX","SUB_MIX_0","SUB_MIX_1","SUB_MIX_2","SUB_MIX_3","INV_SUB_MIX_0","INV_SUB_MIX_1","INV_SUB_MIX_2","INV_SUB_MIX_3","xi","sx","x2","x4","x8","RCON","AES","_nRounds","_keyPriorReset","keyWords","ksRows","keySchedule","_keySchedule","ksRow","invKeySchedule","_invKeySchedule","invKsRow","encryptBlock","_doCryptBlock","decryptBlock","nRounds","s0","s1","s2","s3","t0","t1","t2","t3","isPM","input","catchError","selector","operator","CatchOperator","caught","CatchSubscriber","isStopped","err2","_unsubscribeAndRecycle","innerSubscriber","innerSubscription","LocationImagesRequest","ids","imageType","height","LocationImagesSuccessRequest","LocationImagesErrorRequest","DevButtonComponent","identity","IngredientsRequest","IngredientsSuccessRequest","IngredientsErrorRequest","Iso10126","blockSizeBytes","nPaddingBytes","processRelativeTime","withoutSuffix","isFuture","llll","period","isNode","process","toString","optimizeGroupPlayer","players","normalizeKeyframes","driver","normalizer","element","keyframes","preStyles","postStyles","normalizedKeyframes","previousOffset","previousKeyframe","kf","isSameOffset","normalizedKeyframe","prop","normalizedProp","normalizedValue","normalizePropertyName","normalizeStyleValue","LINE_START","listenOnPlayer","player","eventName","event","callback","onStart","copyAnimationEvent","onDone","onDestroy","phaseName","totalTime","makeAnimationEvent","triggerName","fromState","toState","disabled","getOrSetAsInMap","defaultValue","parseTimelineCommand","command","separatorPos","_contains","elm1","elm2","_matches","_query","multi","_isNode","Element","contains","prototype","matches","proto","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","apply","results","querySelectorAll","elm","_CACHED_BODY","_IS_WEBKIT","validateStyleProperty","body","style","matchesElement","containsElement","invokeQuery","hypenatePropsObject","object","newObj","newProp","NoopAnimationDriver","duration","delay","easing","previousPlayers","scrubberAccessRequested","AnimationDriver","NOOP","resolveTimingValue","_convertTimeValueToMS","resolveTiming","timings","allowNegativeValues","hasOwnProperty","exp","delayMatch","easingVal","containsErrors","startIndex","copyObj","copyStyles","styles","readPrototype","getStyleAttributeString","writeStyleAttribute","styleAttrValue","getPropertyValue","setAttribute","setStyles","formerStyles","camelProp","dashCaseToCamelCase","eraseStyles","normalizeAnimationEntry","steps","PARAM_REGEX","RegExp","extractStyleParams","lastIndex","interpolateParams","original","_","varName","localVal","iteratorToArray","arr","DASH_CASE_REGEXP","allowPreviousPlayerStylesMerge","balancePreviousStylesIntoKeyframes","previousStyles","previousStyleProps","startingKeyframe","missingStyleProps","computeStyle","visitDslNode","visitor","node","visitTrigger","visitState","visitTransition","visitSequence","visitGroup","visitAnimate","visitKeyframes","visitStyle","visitReference","visitAnimateChild","visitAnimateRef","visitQuery","visitStagger","getComputedStyle","parseTransitionExpr","transitionValue","expressions","eventStr","alias","separator","makeLambdaFromStates","TRUE_BOOLEAN_VALUES","FALSE_BOOLEAN_VALUES","lhs","rhs","LHS_MATCH_BOOLEAN","has","RHS_MATCH_BOOLEAN","lhsMatch","rhsMatch","SELF_TOKEN_REGEX","buildAnimationAst","metadata","build","_driver","AnimationAstBuilderContext","_resetContextStyleTimingState","currentQuerySelector","collectedStyles","currentTime","queryCount","depCount","states","transitions","definitions","def","stateDef","transition","options","styleAst","astParams","containsDynamicStyles","missingSubs","stylesObj","sub","missingSubsArr","animation","matchers","expr","normalizeAnimationOptions","furthestTime","step","innerAst","timingAst","makeTimingAst","strValue","some","ast","dynamic","currentAnimateTimings","styleMetadata","isEmpty","newStyleData","_styleAst","isEmptyStep","_makeStyleAst","_validateStyleAst","styleTuple","collectedEasing","styleData","styleMap","endTime","startTime","collectedEntry","updateCollectedStyle","totalKeyframesWithOffsets","offsets","offsetsOutOfOrder","keyframesOutOfRange","offsetVal","generatedOffset","limit","animateDuration","durationUpToThisFrame","parentSelector","currentQuery","includeSelf","hasAmpersand","NG_TRIGGER_SELECTOR","optional","originalSelector","currentTransition","createTimelineInstruction","preStyleProps","postStyleProps","subTimeline","ElementInstructionMap","_map","instructions","existingInstructions","ENTER_TOKEN_REGEX","LEAVE_TOKEN_REGEX","buildAnimationTimelines","rootElement","enterClassName","leaveClassName","startingStyles","finalStyles","subInstructions","AnimationTimelineBuilderVisitor","buildKeyframes","AnimationTimelineContext","currentTimeline","timelines","filter","timeline","containsAnimation","tl","allowOnlyTimelineStyles","elementInstructions","consume","innerContext","createSubContext","_visitSubInstructions","transformIntoNewTimeline","previousNode","instruction","instructionTimings","appendInstructionToTimeline","updateOptions","subContextCount","snapshotCurrentStyles","DEFAULT_NOOP_PREVIOUS_NODE","delayNextStep","applyStylesToKeyframe","innerTimelines","mergeTimelineCollectedStyles","_visitTiming","incrementTime","getCurrentStyleProperties","forwardFrame","applyEmptyStep","innerTimeline","forwardTime","elms","currentQueryTotal","sameElementTimeline","currentQueryIndex","parentContext","maxTime","currentStaggerTime","startingTime","_enterClassName","_leaveClassName","initialTimeline","skipIfExists","newOptions","optionsToUpdate","newParams","paramsToUpdate","oldParams","newTime","target","fork","_copyOptions","updatedTimings","builder","SubTimelineBuilder","stretchStartingKeyframe","elements","_elementTimelineStylesLookup","_previousKeyframe","_currentKeyframe","_keyframes","_styleSummary","_pendingStyles","_backFill","_currentEmptyStepKeyframe","_localTimelineStyles","_globalTimelineStyles","_loadKeyframe","hasPreStyleStep","allStyles","allProperties","_updateStyle","props","properties","details0","details1","finalKeyframes","keyframe","finalKeyframe","preProps","postProps","kf0","kf1","_stretchStartingKeyframe","newKeyframes","startingGap","newFirstKeyframe","oldFirstKeyframe","roundOffset","decimalPoints","mult","pow","AnimationStyleNormalizer","WebAnimationsStyleNormalizer","propertyName","userProvidedProperty","normalizedProperty","strVal","DIMENSIONAL_PROP_MAP","valAndSuffixMatch","createTransitionInstruction","isRemovalTransition","fromStyles","toStyles","queriedElements","EMPTY_OBJECT","AnimationTransitionFactory","_triggerName","_stateStyles","currentState","matchFns","stateName","backupStateStyler","stateStyler","backupStyles","buildStyles","currentOptions","nextOptions","skipAstBuild","transitionAnimationParams","currentStateStyles","nextAnimationParams","nextStateStyles","preStyleMap","postStyleMap","isRemoval","animationOptions","assign","queriedElementsList","AnimationStateStyles","defaultParams","combinedParams","styleObj","AnimationTrigger","transitionFactories","balanceProperties","fallbackTransition","f","key1","key2","EMPTY_INSTRUCTION_MAP","bodyNode","_normalizer","_animations","_playersById","animate","autoStylesMap","inst","_buildPlayer","_getPlayer","baseEvent","args","register","play","pause","restart","finish","setPosition","EMPTY_PLAYER_ARRAY","NULL_REMOVAL_STATE","namespaceId","setForRemoval","setForMove","hasAnimation","removedBeforeQueried","NULL_REMOVED_QUERIED_STATE","StateValue","isObj","DEFAULT_STATE_VALUE","AnimationTransitionNamespace","hostElement","_engine","_triggers","_queue","_elementListeners","_hostClassName","phase","listeners","triggersWithStates","statesByElement","NG_TRIGGER_CLASSNAME","afterFlush","trigger","defaultToFallback","_getTrigger","absorbOptions","k1","k2","matchStyles","reportError","playersOnElement","playersByElement","queued","matchTransition","isFallbackTransition","totalQueuedPlayers","stateMap","entry","elementPlayers","namespaces","fetchNamespacesByElement","ns","triggerLeaveAnimation","clearElementCache","afterFlushAnimationsDone","destroyAfterComplete","triggerStates","markElementAsRemoved","processLeaveNode","visitedTriggers","listener","engine","childElementCount","_signalRemovalForInnerTriggers","containsPotentialParentTransition","totalAnimations","currentPlayers","playersByQueriedElement","parent","parentNode","prepareLeaveAnimationListeners","removalFlag","destroyInnerAnimations","_onRemovalComplete","microtaskId","destroyed","markedForDestroy","sort","d0","d1","containsData","newHostElements","disabledNodes","_namespaceLookup","_namespaceList","_flushFns","_whenQuietFns","namespacesByHostElement","collectedEnterElements","collectedLeaveElements","onRemovalComplete","_balanceNamespaceList","collectEnterElement","found","createNamespace","_fetchNamespace","elementStates","nsId","isElementNode","insertBefore","details","insertNode","isHostElement","removeNode","hostNS","listen","subTimelines","skipBuildAst","containerElement","destroyActiveAnimationsForElement","finishActiveQueriedAnimationOnElement","Promise","resolve","markElementAsDisabled","cleanupFns","_flushAnimations","quietFns","skippedPlayers","skippedPlayersMap","queuedInstructions","allPreStyleElements","allPostStyleElements","disabledElementsSet","nodesThatAreDisabled","allTriggerElements","from","enterNodeMap","buildRootMap","enterNodeMapIds","nodes","root","className","allLeaveNodes","mergedLeaveNodes","leaveNodesWithoutAnimations","leaveNodeMapIds","leaveNodeMap","allPlayers","erroneousTransitions","drainQueuedTransitions","nodeIsOrphaned","_buildInstruction","append","stringMap","setVal","allPreviousPlayersMap","animationElementMap","_beforeAnimationBuild","_getPreviousPlayers","prevPlayer","replaceNodes","replacePostStylesAsPre","postStylesMap","cloakAndComputeStyles","preStylesMap","post","pre","rootPlayers","subPlayers","NO_PARENT_ANIMATION_ELEMENT_DETECTED","overrideTotalTime","parentWithAnimation","parentsToAdd","detectedParent","innerPlayer","_buildAnimation","setRealPlayer","parentPlayers","parentPlayer","playersForElement","syncPlayerEvents","queriedPlayerResults","queriedInnerElements","queriedPlayers","activePlayers","removeNodesAfterAnimationDone","elementContainsData","isQueriedElement","toStateValue","queriedElementPlayers","isRemovalAnimation","targetNameSpaceId","targetTriggerName","timelineInstruction","realPlayer","getRealPlayer","beforeDestroy","allQueriedPlayers","allConsumedElements","allSubElements","allNewPlayers","finalPlayers","_flattenGroupPlayersRecur","wrappedPlayer","currentValues","_player","_containsRealPlayer","_queuedCallbacks","triggerCallback","_queueEvent","hasStarted","getPosition","cloakElement","oldValue","valuesMap","elementPropsMap","defaultStyle","cloakVals","failedElements","roots","rootMap","nodeSet","localRootMap","getRoot","classList","classes","postEntry","preEntry","AnimationEngine","_triggerCache","_transitionEngine","_timelineEngine","componentId","cacheKey","registerTrigger","disable","action","eventPhase","flush","whenRenderingDone","packageNonAnimatableStyles","startStyles","endStyles","filterNonAnimatableStyles","SpecialCasedStyles","_element","_startStyles","_endStyles","_state","initialStyles","initialStylesByElement","_initialStyles","WeakMap","isNonAnimatableStyle","ElementAnimationStyleHandler","_name","_duration","_delay","_easing","_fillMode","_onDoneFn","_finished","_destroyed","_startTime","_position","_eventFn","_handleCallback","anim","getAnimationStyle","char","setAnimationStyle","addRemoveAnimationEvent","now","playPauseAnimation","findIndexForAnimation","timestamp","_ngTestManualTimestamp","elapsedTime","toFixed","animationName","tokens","findMatchingTokenIndex","status","searchToken","doRemove","removeEventListener","CssKeyframesPlayer","_finalStyles","_specialStyles","_onDoneFns","_onStartFns","_onDestroyFns","_started","currentSnapshot","_buildStyler","_styler","_flushStartFns","_flushDoneFns","resume","methods","finished","_startingStyles","__initialized","_styles","setProperty","removeProperty","CssKeyframesDriver","_count","_head","_warningIssued","keyframeStr","tab","kfElm","createElement","innerHTML","_notifyFaultyScrubber","previousCssKeyframePlayers","flatKeyframes","buildKeyframeElement","appendChild","specialStyles","removeChild","WebAnimationsPlayer","_initialized","_preparePlayerBeforeStart","domPlayer","_triggerWebAnimation","_finalKeyframe","_onFinish","_resetDomPlayerState","cancel","WebAnimationsDriver","_isNativeImpl","getElementAnimateFn","_cssKeyframesDriver","supported","playerOptions","fill","previousWebAnimationPlayers","BrowserAnimationBuilder","rootRenderer","doc","_nextAnimationId","createRenderer","encapsulation","None","issueAnimationCommand","_id","RendererAnimationPlayer","_command","_listen","renderer","AnimationRendererFactory","delegate","_zone","_currentId","_microtaskId","_animationCallbacksBuffer","_rendererCache","_cdRecurDepth","BaseAnimationRenderer","AnimationRenderer","begin","run","runOutsideAngular","_scheduleCountTask","destroyNode","namespace","createComment","createText","newChild","onInsert","refChild","oldChild","onRemove","selectorOrNode","preserveContent","selectRootElement","nextSibling","removeAttribute","flags","disableAnimations","setValue","dotIndex","scheduleListenerCallback","InjectableAnimationEngine","ANIMATION_MODULE_TYPE","BROWSER_ANIMATIONS_PROVIDERS","useFactory","useValue","deps","BrowserAnimationsModule","imports","concatMap","project","resultSelector","Subscriber","destinationOrNext","syncErrorValue","syncErrorThrown","syncErrorThrowable","arguments","SafeSubscriber","_next","_error","_complete","_parentOrParents","_parentSubscriber","observerOrNext","bind","useDeprecatedSynchronousErrorHandling","__tryOrSetError","__tryOrUnsub","wrappedComplete","mode","CFB","BlockCipherMode","generateKeystreamAndEncrypt","cipher","_iv","keystream","_prevBlock","Encryptor","processBlock","_cipher","Decryptor","thisBlock","DrawExpandResolver","drawCollapseService","route","hasInitialized","tempUnlockScrollOnToggle","toggleDraw","setTimeout","transitionTime","DrawCollapseService","_progress","contentMinimumHeightObjects","totalOffsetObjects","totalOffsetMobileObjects","minimalHeight","maximumHeight","mediaBreakPoint","progressBreakPoint","mobileScrollPoint","currentHeight","expand","preventOnWindowScrolled","drawDirectiveInit$","drawCurrentHeight$","drawExpand$","drawOffset$","drawMobileOffset$","drawIsCollapsed$","drawProgress$","drawDifference$","minHeightContent$","drawBreakPoint$","drawNavBarCollapseHeight$","drawContentMargin$","pipe","innerWidth","sumMapValues","margin","progress","difference","hasInit","timeout","MenuFlowDefaultActivationRequest","MenuFlowDefaultActivationSuccessRequest","MenuFlowDefaultActivationErrorRequest","EMPTY","empty","relativeTimeWithPlural","forms","processHoursFunction","units","translateSingular","special","translate","standalone","isFormat","l","ll","lll","OnlineMenuProductsImagesRequest","OnlineMenuProductsImagesSuccessRequest","OnlineMenuProductsImagesErrorRequest","W","HmacSHA1","ModalsService","router","wizzardService","_modalContainer$","_bgDropClick$","onWizzardScroll$","_wizzardScrollListener$","contentScrollListener$","modalContainer","modalsList$","modals","modalId","isLoading","modal","IN","close","typesExcludedFromClosing","OUT","navigate","itemId","queryParamsHandling","unmountWizzard","removeQueryParams","removeURLQueryParams","CTR","counter","_counter","geolocationPositionRequest","geolocationPositionSuccessRequest","geolocationPositionErrorRequest","shareSubjectFactory","share","monthsNominative","monthsSubjective","plural","momentToFormat","SetApplicationInitFlag","SetApplicationMode","SetDeviceType","AppSettingsRequest","AppSettingsSuccessRequest","AppSettingsErrorRequest","AppSettingsSetOnlineStatus","tap","nextOrObserver","DoOperator","TapSubscriber","_tapNext","_tapError","_tapComplete","isNumeric","timer","dueTime","periodOrScheduler","isScheduler","Observable","due","CartPickupTimeUpdate","CartSetup","CartSetupWithMultipleItems","locationNo","menuFlows","simpleItems","CartTransferItemRequest","CartActiveOrderContinue","CartActiveOrderStartNew","CartLoad","CartSetLocationNo","CartSetOnlineMenu","CartSetPickupTime","CartReset","CartRemoveAllItems","CartEditItem","CartSimpleItemAdd","CartSimpleItemUpdate","CartSimpleItemDecrement","tempItemId","changeValue","CartSimpleItemIncrement","CartSimpleItemRemove","CartMenuFlowAdd","CartMenuFlowAddWithMerge","CartMenuFlowUpdate","CartMenuFlowDecrement","tempId","CartMenuFlowIncrement","CartMenuFlowRemove","ALERT_ANIMATION","observeOn","ObserveOnOperator","ObserveOnSubscriber","arg","notification","observe","ObserveOnMessage","scheduleMessage","createNext","createError","createComplete","ProductImagesRequest","ProductImagesSuccessRequest","ProductImagesErrorRequest","AppSettingsController","_config","_store","appMode","links","take","settings","AppSettings","TermsAndConditionsUrl","termsAndConditionsUrl","open","focus","PrivacyPolicyUrl","includes","extractLink","dynamicLinks","staticLinks","distinctUntilChanged","dynamiLinks","appSettingsLinksFromConfig","appLocationMode$","CartController","_routeService","popupTimeout","isCheckoutPage","activeOrderContinue","navigateToCartsLocation","activeOrderStartNew","cart","actions","menuFlowId","productId","prefix","createPickupLabelName","pickups","futureOrders","IsAsap","MinutesFromNow","isLocationDetails","MenuFlowId","UnitTotalValue","UnitPrice","_Id","IsUpsell","DisplayName","PosDisplay","cartMenuFlowDescription$","combineLatest","cartTotalQuantity$","device","total","shouldRemove","convertedItem","convertToSanitizedSimpleItem","CreditCardsController","shouldShowForm","formIsAddingFlag","isMakingRequests$","isLoadingCardsFirstTime$","isAccountChargeSet$","isMakingRequests","isLoadingCardsFirstTime","hasAccount","showAddCardForm","showPaymentFormForGuest$","showForm","showPaymentFormForMember$","isUnsavedCardSelected","containsUnsavedCard","config","isCardSelected","isGuest","cardRetry","cardChange","isCardSelected$","isSelected","guestMode","cardsState","validation","hasFailed","_ValidationStatus","hasCardsDefined","activeCardRedirectUrl","isLoadingFirstTime","hasCards$","hasDownloadedCards$","hasCards","hasDownloaded","hasAccountPaymentMethod","cardData","isAdding","activeToken","activeCardToken","Token","card","isPaying","cardId","isDownloading","withLatestFrom","isAuthorized","FiltersController","_modalsService","_pickupModes","Name","MinimumPickupTime","auditTime","includeDayName","isSchedule","periodId","pickupTimeId","periods","switchMap","IsToday","pickupTimesListForAllLocations$","pickupTimesListForAllLocationsForPeriod$","modeId","pickupModes","_dispatchLocationsFiltersActions","option","processName","clearPickupFilters","processedOption","onLocationsFilterChange","term","show","GeolocationController","coords","userCoordsState$","latitude","longitude","distance","getDistanceFromTo","localization","kilometersToMiles","HistoryOrdersController","withState","filterByLocationNos","orders","order","PickupLocation","reducedOrders","_orderWithStateMapper","orderId","mapOnlineOrderProducts","transformHours","PickUpDate","isActive","isLoading$","historyOrders$","loading","activeOrders$","isLoadingFirstTime$","hasOrders$","hasOrders","getHistoryOrder$","MemberId","Subtotal","TotalNettValue","Tax","TotalTaxes","Value","Total","TotalGrossValue","Surcharges","includeLocationName","isActiveOrder","isOrderActive","Status","locationName","LocationFriendlyName","descriptionDate","active","locationNos","ImagesController","orderTypeId","select","pageId","dietaryTags","image","venueId","venue","of","isLocationDetailsPage","isErrorPage","isAccountPage","isLoyaltyPage","appLocationMode","ImageUrl","venueImage$","hasSucceeded","freeProductId","freeProduct","getImageForFreeProduct$","ProductId","IngredientsController","LocationNo","getIngredientsForWizzardProduct","ingredient","LocationsController","prefixes","isVenueSet","locations","foundLocation","OnlineOrderingStatus","LocationOLOIsActive","currentLocationNoByRoute$","urlLocationNo","currentLocationNo","sortTag","filterParams","locationsListBy","byOpenStatus","byPickupTime","bySearch","locationDetails$","StreetAddress","Suburb","PostCode","locationAddress$","address","shortHour","isFullHour","LocationNotes","sunday","DayOfWeek","locationImage$","img","cartLocationNo","canNavigate","LoyaltyController","_loyaltyAppService","memberId","barcodeType","ui","loyalty","heroText","memberCard","MemberCardNumber","feel","pages","requestLoyaltyIntroductionPages","images","PageId","model","Title","Description","Text","ImgURL","items","DateIssued","getRewardsForMember$","isLoadingLoyaltyInfoForMember$","rewards","getFreeProduct$","OnlineName","POSDisplay","memberCardImage","MembersController","memberCardNumber","memberEmail","getAccountBalance$","balance","AvailableBalance","accountCharge","balanceDisplayThreshold","uniqueCode","redirect","resetCart","memberData","userModel","closeAllWithAnimation","setSignUpStep","resetValidation","resetValidationState","defaultLabel","isAuthorized$","MemberName","isGuestModeEnabled","authorizationType","accountLogin","MobilePhone","unverifiedEmailQuickLogin","canOmmit","guestData","includeUniqueCode","memberDetails","email","EmailAddress","cellNumber","authorizationStep","restoreStatusTimeout","isMemberLoading$","loadingStatusAutoChange$","verifyMobilePhoneStatus$","tokenMobilePhoneStatus$","status1","status2","loadingProperty","successProperty","failedProperty","observer","loadingState","extractSubValue","successState","failedState","success","clearTimeout","verifyLinkRewardsAccount","partialMemberSignUpError","signIn","incorrectPassword","tokenForPhone","isSending","tokenForEmail","guidToken","NewPassword","forgotPassword","login","flag","resetMemberDataFields","memberState","accountId","resetVerifyFlags","restoreEmailVerificationFlags","phoneNo","reject","MenuFlowsController","_pageMockContainer","PageNo","PageName","SpecialPriceQuantity","SpecialPrice","SpecialPriceSelection","PriceChangeMode","PriceChangeValue","UpsellText","HideFromKiosk","skipWhile","activations","whatsIncludedPage","suggestedExtrasPage","_OriginalPage","MenuFlowItems","activation","PLU","Plu","MenuFlowPageId","menuFlowDetails$","ModalsController","OnlineMenuController","OnlineOrdersController","formValues","orderType","Details","labelToName","CustomerFriendlyName","_Value","getOrderTypesForCartsLocation$","types","forceRecalculate","orderTypes","isDisabled","orderSummary$","summary","statePickupTime","getReorder$","reorder","OrderId","PickupTime","reorderItemsMappedFromOrder$","orderItems","itemsMenuFlow","itemsSimple","orderItem","PaymentController","paymentProvider","RoutesController","_queryParamsService","_cryptoService","navigateToLocationsSearchView","navigateToProfileView","navigateToProfileLoyaltyHome","navigateToHomeView","isHomePage$","isLoyaltyHomePage$","orderingHome","loyaltyHome","Url","link","extraOptions","excludeWithIds","commonPages","accountPagesList","filtered","accountPages$","freeValidProducts","Counter","customMap","defaultMap","mappedName","targetMap","isAccountPage$","getCurrentRouteQueryParams$","decrypt","decryptOrderData","extractOrderConfirmationQueryParams$","extractLocationFromQueryParams$","extractOrderDetailsFromQueryParams$","extractLocationFriendlyNameFromQueryParams$","guid","TransactionsController","transactionId","getTransaction$","transaction","TaxTotal","TotalGross","transactions","TransactionProducts","downloadedDate","WizzardController","isMenuFlow","wizzardMenuFlow$","wizzardSimpleItem$","includeHidden","label","curr","customLabels","labels","edit","no","wizzardMenuFlowTotalSelectedProducts$","totalSelected","wizzardMenuFlowTotalValue$","totalValue","MenuFlowNotes","PosDescription","productState","isPageOneAllowed$","isPageLimitReached$","productQty","pageLimitReached","isPageOneAllowed","isClickable","menuFlowProductQuantity$","nextProductPrice$","quantity","nextPrice","productWizzardQuantity$","pageWizzardQuantity$","isMenuFlowProductSelectable$","canSelect","Ingredients","Modifiers","modifier","ModifierID","ModifierName","selected","qty","limitReached","isProductDisabledByPageLimit$","isProductSelected$","isPageLimitReached","State","isOneAllowed","minPageQty","maxPageQty","wizzardPageTotalQuantity$","wizzardQty","isMenuFlowPageQuantityValid$","isComplete","defaultPrefix","wizzardCollapsePageTitlePrefix$","wizzardAllProductsForMenuFlowPage$","selectedProducts","ProductName","getWizzardErrors$","wizzardProductSpecialInstructions$","wizzardMenuFlowSpecialInstructions$","wizzard","SpecialInstructions","specialInstructionsPipe","Tags","tag","showSpecialInstructionsForProducts","showSpecialInstructionsForMenuFlows","wizzardMenuFlowAddToCart","clearQueryParams","recalculatePrices","decision","IngredientsChanges","IngredientsModified","IngredientsAdded","IngredientsRemoved","IngredientsSwapped","MaximumQuantity","setProductWizzardInstructions","setMenuFlowWizzardInstructions","Controllers","appSettings","creditCards","filters","geolocation","historyOrders","ingredients","members","onlineMenu","onlineOrders","payment","routes","SubNavService","scrollingTime","activationThreshold","isScrolling","targetRegistry","currentRegistry","currentTargets$","heightUpdate$","registryId","targetId","setDefault","setCurrent","registry","smoothScrollTo","offsetTop","drawCanvasExpandedHeight","delayFor","DelayOperator","queue","errored","shift","DelayMessage","_schedule","scheduleNotification","Notification","BehaviorSubject","_value","getValue","hasError","thrownError","DevComponent","_envBuildToken","_memberService","HIDDEN","MINIMIZED","VISIBLE","devBoxVisibility","stateFilter$","textFilter","sticky","charCode","nodeName","current","_getStore","hide","maximize","production","getItem","state$","filteredState","autoRestoreState","setRedirect","minimize","restoreState","setProps","unsetRedirect","FirstName","LastName","Email","MobileNumber","cardNo","expDate","save","getUserData","signUp","isSigningUp","reload","relativeTimeMr","output","EvpKDF","__decorate","decorators","desc","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__metadata","metadataKey","metadataValue","__awaiter","thisArg","_arguments","P","generator","fulfilled","rejected","Scheduler","SchedulerAction","work","scheduled","execute","AppSettingsEffects","_actions$","requestApiSettings$","apiGetLoyaltyAppInfo","payload","ex","AvailablePickupsEffects","onLocationSuccessRequestDataCalculate$","calculateAvailablePickupOptionsForLocation","openingHours","orderInfo","generatePickupTimesList","asapPickupMins","orderTimeoutBufferMins","startBufferMins","nextTick","CartEffects","_wizzardService","_cartService","onTransferItemToCartValidateAndSetBasicCartProperties$","cartLocationFriendlyName","currentPickupTime","menuFlowDetails","validateWizzardItems","isEditing","cartIsEmpty","isCartLocationNoSet","isCartPickupTimeSet","isOnlineMenuTimeSet","StartTime","EndTime","isAddingToCartFromDifferentLocation","isCurrentPickupTimeDifferentThanCartPickupTime","isCartOnlineMenuTimeDifferentThanCurrent","showEmptyWarningModal","forceCartReset","dispatchActions","extraActions","convertToSanitizedMenuFlowItem","simpleItem","modalParams","swap","activeOrderDecision","addItemToCartAndCheckForAnyUpsells$","fromWizzardMenuFlow","isInteger","productWithId","bundleActions","isNew","showUpsellModal","UpsellMenuFlowId","findDuplicatedMenuFlowAndMerge$","cartMenuFlows","newItem","foundSimilarInCart","isSimilar","Page","foundPage","Product","foundProduct","OriginalPrice","OverridedPrice","PageProductIdentifier","ProductDescription","foundIngredients","productIngredients","ExtraPrice","IngredientPLU","ID","NewIngredientPLU","OldIngredientPLU","OrderItemId","markedHidden","_HideFromKiosk","isMobile","showPopup","closeActiveOrderPromptWhenUsingReorder$","audit","_IsReorder","never","setupWizzardOnCartItemEdit$","saveCartContentsInStorage$","encrypt","removeCartDataFromStorage$","recalculateCartContents$","isCheckout","resetCartOnLastItemRemoved$","CreditCardEffects","_creditCardsService","_paymentExpressPaymentProviderService","requestCardToken$","cardType","detectCardType","cardNumber","expiryDate","dateToApiFormat","demoMode","requestCardTokenForDefaultPaymentProvider","redirectUrl","isDefaultPaymentMethod","successData","saveCard","createCardModel","validateCardOnAfterRedirect$","sessionToken","getCardDetails","appId","response","checkCardsToSaveCardAfterSuccessfulRedirectReturn$","cards","payloadToken","CardId","_SaveAwait","saveCardAfterSuccessfulRedirectReturnCheck$","addMemberCard","NiceName","CardType","ExpirationDate","IsDefault","newCard","onGetTokenSuccessSaveOrSetupCardStateForPayment$","onCreditCardAddRequest$","onCreditCardAddRequestSuccess$","onCreditCardsRequest$","getCardItems","freshCardsList","Items","selectDefaultPaymentMethod$","hasAccountAvailable","activeCardId","defaultCard","firstAvailableCard","onCreditCardRemove$","removeMemberCardRequest","__DEMO__requestConvergeCardToken$","__DEMO__onGetConvergeTokenSuccessSaveOrSetupCardStateForPayment$","setErrorValidationFlagToCardsAwaitingValidationStatusSuccess$","DistinctOperator","keySelector","flushes","OuterSubscriber","subscribeToResult","outerValue","innerValue","outerIndex","innerIndex","innerSub","_useKeySelector","_finalizeNext","CurrentLocationEffects","onCartPickupTimeUpdateForceUpdateCurrentLocationPickupTime$","removeLocalStorageDataOnReset$","savePickupTimeInLocalStorage$","PlaceOrderTimeout","onLocationSetSaveItToLocalStorage$","DietaryTagsImagesEffects","_imagesService","onOnlineMenuSuccessRequest$","DietaryTags","dietaryTagIds","onRequestProductImages$","mergeMap","getDietaryTagsImages","FreeProductsImagesEffects","onFreeProductsSuccessGetImages$","requestFreeProductImage$","innerHeight","getImageForMemberFreeProduct","GeolocationEffects","_geolocationService","requestGeolocationCoordsBasedOnLocationMode$","getUserGeolocation$","getUserCoords","HistoryOrdersEffects","_onlineOrdersService","requestSingleHistoryOrder$","getOnlineOrder","onRequestHistoryOrders$","getOnlineOrders","memberIds","IngredientsEffects","_productsService","onMenuFlowSuccessRequest$","productIds","onRequestIngredient$","getIngredientsForLocationExtended","LatestTransactionsEffects","_transactionsService","resetLoyaltyProgramOnSignOut$","requestLatestTransactions$","getLatestTransactionsForMember","LoaderEffects","LocationsEffects","_locationsService","requestLocations$","getLocationsWithOnlineOrdering","LocationFiltersEffects","onRestoreCurrentLocationDetailsRestoreFilters$","locationMode","updateModeOnPickupTimeSet$","onCartSelectedNewActiveOrder$","LocationsImagesEffects","onSuccessLocationsRequestGetImages$","webWidth","webHeight","thumbSizeRation","requestImagesForLocations$","targetImageType","toImageTypeString","imagesFiltered","downloaded","required","getImagesForLocationsByType","predownloadImages","forLocations","forkJoin","preloadImageInMemory","LoyaltyIntroductionPagesEffects","requestIntroductionPages$","apiGetLoyaltyIntroductionPages","DisplayIndex","LoyaltyIntroductionPagesImagesEffects","onLoyaltyIntroductionPagesSuccessRequestGetImages$","requestIntroductionPagesImages$","getImageForLoyaltyIntroductionPage","LoyaltyMessagesEffects","requestMessagesOnSettingsDownloaded$","requestMessages$","apiGetMessages","LoyaltyProductProgramsEffects","requestLoyaltyInfoForCurrentMemberOnAppInit$","hasRequestedPrograms","requestParams","programName","requestLoyaltyProductPrograms$","apiGetLoyaltyProductPrograms","MemberCardBarcodesImagesEffects","requestMemberBarcodeImage$","getMemberCardBarcode","iif","trueResult","falseResult","defer","MembersEffects","_membersService","_authService","_sessionService","_jwtService","verifyLinkRewardsAccount$","getMembers","onVerifyLinkRequestMemberDataToUpdateStep$","requestUserDataSuccess$","IsOnlineRegistered","IsEmailValidated","IsMobileValidated","updateHasSucceeded","accountPassword","_getPasswordForQuickLogin","simulateEmailVerifyRequests$","checkGuestMemberToCompleteAccountSetup$","revalidateAndSetGuestData$","phone","memberSignOut$","signOut","initUpdateMemberProfile$","updateMemberProfileData$","validateUserNewProfileData","updateUser","revalidateEmailAndCellAfterProfileUpdate$","isCellValidated","isEmailValidated","signOutIfUserWontValidateDataAfterUpdate$","validateConfirmEmailToken$","validateMemberConfirmEmailToken","confirmEmailAddress$","confirmEmailAddress","validateResetPasswordToken$","validateMemberPasswordResetToken","resetForgottenPassword$","resetForgottenPassword","requestUserData$","quickLoginRequest$","Login","Password","LoginType","sessionKey","quickLoginOnSuccessSetup$","linkRewardsAccountInit$","changeMemberPassword","extractedMobile","MemberGroupId","defaultMemberGroupId","countries","foundCountry","PhonePrefix","hasUpdated","onSuccessLinkingAccountVerifyPhone$","requestUpdateUserData$","onSuccessfulMemberUpdateShowOk$","requestPasswordChange$","OldPassword","updatePasswordRequest","initAuthorization$","loginType","requestLoginValidation$","validateLogin","loginValidationSuccess$","signUpRewardsAccountLinking","returnedActions","requestMemberLogin$","credentials","_storePasswordForQuickLogin","requestJWTLogin$","reqestJWToken","requestMemberLoginSuccess$","validatePhone$","validateMemberByProperty","validateEmail$","requestForgotPassword$","resendForgotPasswordConfirmation","setMemberNewPassword$","initializePartialMemberSignUpProcess$","setPassword","isSetting","newMemberModel","RecievePromo","updateResponse","resendTemporaryVerificationCode","initializeSignUpProcess$","initialState","validatePhone","isValidating","validateEmail","existingMember","requestRegisterMember$","existingMemberChecked","requestRegisterMemberSuccess$","addData","requestSendPhoneVeryficationCode$","verifyPhoneNumber","requestVerifyPhoneCode$","verifyPhoneNumberToken","requestPhoneVeryficationSuccess$","requestVerifyEmail$","isUpdating","log","resendEmailConfirmation","MemberEmail","createSession$","_clearPasswordForQuickLogin","createSession","checkUserSessionOnAppInit$","getSession","validateSession","isValid","SessionKey","AccountId","AuthorizationType","setSessionFlags","removeSessionDataOnError$","session","removeSession","onLoyaltyProductSuccessRequestGetInfoAboutMemberProducts$","actionsBundle","freeProducts","loyaltyProducts","requestFeeProducts$","apiGetFreeProductsForMemberRequest","requestLoyaltyProducts$","apiGetLoyaltyProductsForMemberRequest","requestMemberCodeCheck$","memberCode","checkMemberUniqueCode","setStepAfterUniqueCodeRequest$","showBirthdayPopupOnSignIn$","birthdayRewards","Birthday","triggerRequestAccountBalanceForMemberAfterSuccessTransaction$","isMemberAuthorized","hasPaidWithAccountCharge","triggerRequestAccountBalanceForMemberWhenAuthorized$","HasAccount","accountBalance","requestAccountBalance$","apiGetMemberAccountBalance","storage","MenuFlowDefaultActivationsEffects","_menuFlowsService","requestDefaultActivationOnMenuFlowDetailsForCartEditItem$","cartOnlineMenu","requireDefaultActivation","requestDefaultActivationOnMenuFlowDetailsSuccessRequest$","onlineMenuItem","onMenuFlowDefaultActivationsRequest$","getDefaultActivation","MenuFlowImagesEffects","first","filterMenuFlowsIds","menuFlowIds","onRequestMenuFlowImages$","getMenuFlowImages","MenuFlowsEffects","onRequestMenuFlowDetails$","getMenuFlowDetailsForLocation","onMenuFlowSuccessRequestGetUpsell$","upsellMenuFlow","upsell","TakeWhileOperator","predicate","inclusive","nextOrComplete","predicateResult","Boolean","ModalEffects","_modalsSharedService","_animationTimeout","animateTimeout","closeAllModalsWithExeptionTypes$","onModalAnyAction$","preventGlobalScroll","modalContainer$","container","isScrollVisible","clientHeight","overflowY","bodyWidth","clientWidth","outerWidth","paddingRight","onModalCloseRequest$","onModalAnimateOut$","onModalBackgroundClick$","bgClickClose","OnlineMenuEffects","_onlineMenuService","onPickupTimeSetGetOnlineMenu$","isOnLocationDetailsPage","pickupTimeIsSet","pickupTimeMatchesOnlineMenuRange","isHourInTimeRange","Hour","isSameDay","DateLocalISO","pickupDate","getLocalISOFormatDate","requestOnlineMenu$","getMenuPages","menuDate","OnlineMenuPagesImagesEffects","onOnlineMenuSuccessGetPagesImages$","imageTypeName","pageIds","foundImg","imgFound","requestOnlineMenuPagesImages$","getImagesForOnlineMenuPages","OnlineMenuProductsImagesEffects","_imgParams","onCartItemEditRequestImageForItem$","onPageImagesRequest$","getImagesForOnlineMenuPageProducts","OnlineOrdersEffects","onOnlineOrderCreateRequest$","calculatedOrder","isRecalculating","orderState","LoyaltyAppId","sendAutoReceiptEmail","PartialMember","extendWithOrderTypeSurcharges","createNewOnlineOrder","onOnlineOrderSendConfirmationEmail$","sendEmailWithOrderConfirmation","onOnlineOrderRecalculateRequest$","cartTotalValue","_tempOrderModel","convertCart","saleName","OrderTypeId","OnlineOrderType","RemoveModifiers","allowModifiers","orderModel","recalculateOnlineOrder","onlineOrderRequest$","sendOrderReceipt$","sendOnlineOrderReceipt","OrderTypesEffects","_loylatyAppService","requestOrderTypeForLocation$","requestOrderTypes$","apiGetOrderTypes","OrderTypesImagesEffects","onSuccessOrderTypeRequestImages$","filterOut","orderTypesIds","requestImagesForOrderTypes$","getImageForOrderType","PaymentsEffects","_paymentsService","paymentInitWithPrevalidatedCard$","cardState","paymentHasErrors","paymentState","TransactionId","paymentInitAramarkFlow$","stepValidateGuestData$","mobilePhoneNumber","byPhone","byEmail","nextStep","memberByPhone","memberByEmail","updatedModel","stepValidateGuestCardTokens$","isGettingToken","stepCreateOrder$","canPostOnlineOrder","isPaymentProcessValid","stepPay$","createRequest","isCreating","onlineOrder","cardDetails","isAccountChargeSelected","isCalculating","calculated","payWithAccountCharge","Amount","SetOrderAsValidatedOnSuccess","PaymentMethod","TotalLeftToPay","PaymentAccountId","PaymentProvider","dateToISOString","pay","stepPaymentStatusCheck$","getPaymentStatus","cleanUpOnSuccessfulPayment$","sendAutoConfirmationEmail","PickupTimeValidateEffects","_pickupsService","validateCartPickupTimeAndOnlineMenuTime$","cartObj","isPickupOrderTimeValid$","closeAll","NONE","showButton","orderingTimeInfo","validateSelectedPickupTimeObjForOnlineMenu","ProductImagesEffects","requestProductsImagesForMountedMenuFlow$","getProductImages","ReorderEffects","_activeModalsWithReordersRegistry","setupModalAndRequestDataForReorder$","reorderInitCalculations","requestDataForReorder$","menuFlowsDetails","includePrices","menuFlowsRequests","relevantMenuFlowsIds","MenuFlowActivations","menuFlowActivation","finalPayload","covertOrderToCart","upsellMenuflowsRequsts","MenuFlow","upsellsMenuFlowDetails","currentMenuFlowProductIds","getFlatProductsFromMenuFlow","unduplicatedProductIds","cleanupAfterReorderModalsIsClosed$","RouterEffects","redirectToHomeOnSuccessfulSignIn$","isEmailConfrimationPage","isResetPasswordPage","isError404Page","isLoyaltyModeOnly","StateEffects","saveState$","restoreSavedState$","stateEncrypted","exit","stateDecrypted","currentLocation","availablePickups","pickup","TopBarEffects","onRouteChange$","isOnLocationPage","showOrderMore","showCartIcon","urlAfterRedirects","isVisible","VenueImagesEffects","requestImagesForVenues$","exhaustMap","getVenueImagesByType","forVenue","WizzardEffects","_queryModalIds","cancelWizzard$","initWizzardFlow$","showModalForSimpleItem$","stepInitMenuFlowWizzard$","modalMenuFlowPreSetup","stepSilentInitMenuFlowWizzard$","stepRequestData$","stepActivateMenuFlowProducts$","downloadingIngredients","downloadingActivations","defaultActivations","modifiers","menuFlowItem","createMenuFlowItemFromMenuFlowDetailsModel","MinQty","Kilojoules","KioskAutoAddQty","targetPage","canUseModifiers","generateWizzardMenuFlowItem","_AutoAddProducts","stepMountMenuFlow$","extractType","wizzardMenuFlowDetails","onUpsellSetupRequest$","isDownloadingAnyMenuFlowDefaultActivation","isDownloadingAnyIngredientModifiers","MenuFlowDescription","MenuFlowName","OverridePrice","setWizzardForUpsell$","onWizzardProductSelectedActivateDefaultModifier$","requestPricesUpdateWizzardMenuFlowPricesOnChange$","updatePricesWizzardMenuFlowDetaisl$","priceObj","calculatePricesFroMenuFlow","HasErrors","validateErrorsOnWizzardChange$","openWizzardByUrlParams$","canOrder","isLocationDetailsView","transformedParams","param","menuflowid","productid","pageProduct","removeQueryParamsOnQueryModalClose$","stateMetaReducers","reducer","isOnline","deviceType","apiSettings","appSettingsReducer","online","availablePickupsReducerFn","calculatedDate","availablePickupsReducer","cartReducerFn","json","newItemsArray","cartReducer","cartPopupReducer","download","isRemoving","removedDate","creditCardReducerFn","isNewDefault","creditCardReducer","currentLocationReducerFn","currentLocationReducer","dietaryTagsImagesReducerFn","newToConcat","foundItem","newImage","ParentId","dietaryTagsImagesReducer","freeProductsImagesReducerFn","recalculatedState","freeProductsImagesReducer","isRequesting","geolocationReducer","historyOrdersReducerFn","mapIds","oldToUpdate","newToAdd","foundOrder","historyOrdersReducer","ingredientsReducerFn","foundIngredientObj","ProductID","_LocationNo","ingredientsReducer","latestTransactionsReducerFn","latestTransactionsReducer","loaderReducer","locationsReducerFn","locationsReducer","pickupMode","locationsFiltersReducerFn","locationsFiltersReducer","locationImagesReducerFn","default","forList","forDetails","forWeb","forWebThumb","forMobile","imagesType","newImages","previousImage","locationImagesReducer","loyaltyIntroductionPagesReducerFn","loyaltyIntroductionPagesReducer","loyaltyIntroductionPagesImagesReducerFn","loyaltyIntroductionPagesImagesReducer","loyaltyMessagesReducerFn","loyaltyMessagesReducer","loyaltyProductProgramsReducerFn","ProgramName","loyaltyProductProgramsReducer","memberCardBarcodesImagesReducerFn","memberCardBarcodesImagesReducer","forgottenPasswordReset","isResetting","emailConfirm","isConfirming","updateHasFailed","changePassword","isChanging","isSigningIn","signUpPartialMember","jwt","verifyPhone","isVerifying","verifyEmail","linkRewardsAccount","isLinking","linkedDate","memberReducerFn","accountIsValid","memberReducer","menuFlowDefaultActivationsReducerFn","menuFlowDefaultActivationsReducer","menuFlowImagesReducerFn","menuFlowImagesReducer","menuFlowsReducerFn","foundIndex","findIndex","menuFlowsReducer","modalReducerFn","modalReducer","onlineMenuReducerFn","onlineMenuReducer","onlineMenuFiltersReducerFn","onlineMenuFiltersReducer","onlineMenuPagesImagesReducerFn","stateAcc","o","onlineMenuPagesImagesReducer","onlineMenuProductsImagesReducerFn","onlineMenuProductsImagesReducer","updateRequest","downloadRequest","recalculateRequest","sendEmailReceipt","onlineOrdersReducerFn","onlineOrdersReducer","orderTypesReducerFn","orderTypesReducer","orderTypesImagesReducerFn","orderTypesImagesReducer","Errors","PaymentStepStatus","paymentsReducerFn","paymentsReducer","productImagesReducerFn","productImagesReducer","reorderReducerFn","_IsSelected","reorderReducer","routeReducerFn","previous","routerState","firstChild","fragment","routeReducer","topBarReducerFn","isSticky","isCartVisible","isBackToLandingVisible","isBackToStoreVisible","topBarReducer","venueImagesReducerFn","notExistingImages","venueImagesReducer","wizzardReducerFn","specialInstruction","pageFromPriceObj","productFromPriceObj","TotalValue","_IsOptional","mod","specialInstructions","wizzardReducer","AppSettingsStateModule","forFeature","AvailablePickupsStateModule","CartStateModule","CartPopupStateModule","CreditCardsStateModule","CurrentLocationStateModule","DietaryTagsImagesStateModule","FreeProductsImagesStateModule","GeolocationStateModule","HistoryOrdersStateModule","IngredientsStateModule","LatestTransactionsStateModule","LoaderStateModule","LocationsStateModule","LocationsFiltersStateModule","LocationsImagesStateModule","LoyaltyIntroductionPagesStateModule","LoyaltyIntroductionPagesImagesStateModule","LoyaltyMessagesStateModule","LoyaltyProductProgramsStateModule","MemberCardBarcodesImagesStateModule","MembersStateModule","MenuFlowDefaultActivationsStateModule","MenuFlowImagesStateModule","MenuFlowsStateModule","ModalsStateModule","OnlineMenuStateModule","OnlineMenuFiltersStateModule","OnlineMenuPagesImagesStateModule","OnlineMenuProductsImagesStateModule","OnlineOrderStateModule","OrderTypesStateModule","OrderTypesImagesStateModule","PaymentsDemoEffects","__DEMO__stepCreateOrderFor$","__DEMO__stepPay$","__DEMO__stepPaymentStatusCheck$","PaymentStateModule","PickupTimeValidateStateModule","ProductImagesStateModule","ReorderStateModule","RouterStateModule","metaReducers","AppStateStateModule","TopBarStateModule","VenuesImagesStateModule","WizzardStateModule","stateModules","StateSharedModule","FreeProductImageRequest","FreeProductImageSuccessRequest","FreeProductImageErrorRequest","noSideEffects","makeParamDecorator","parentClass","metaCtor","ParamDecoratorFactory","annotationInstance","ParamDecorator","annotation","cls","unusedKey","parameters","ngMetadataName","annotationCls","Inject","Optional","Self","SkipSelf","InjectFlags","getClosureSafeProperty","objWithPropertyToExtract","fillProperties","ɵɵdefineInjectable","opts","ɵɵdefineInjector","getInjectableDef","getOwnDefinition","NG_PROV_DEF","NG_INJECTABLE_DEF","getInjectorDef","NG_INJ_DEF","NG_INJECTOR_DEF","NG_PROV_DEF_FALLBACK","ɵprovFallback","ngInjectableDef","ngInjectorDef","overriddenName","newLineIndex","concatStringsWithSpace","before","after","__forward_ref__","forwardRef","forwardRefFn","resolveForwardRef","isForwardRef","__globalThis","globalThis","__window","__self","self","WorkerGlobalScope","__global","global","_global","NG_COMP_DEF","ɵcmp","NG_DIR_DEF","NG_PIPE_DEF","NG_MOD_DEF","NG_LOC_ID_DEF","ɵloc","NG_FACTORY_DEF","NG_ELEMENT_ID","__NG_ELEMENT_ID__","InjectionToken","_desc","INJECTOR","THROW_IF_NOT_FOUND","NEW_LINE","USE_VALUE","_injectImplementation","_currentInjector","setCurrentInjector","injector","former","setInjectImplementation","impl","injectInjectorOnly","Default","injectRootLimpMode","ɵɵinject","inject","notFoundValue","injectableDef","injectArgs","meta","NullInjector","NgModuleRef","NgModuleFactory","deepForEach","addToArray","removeFromArray","newArray","list","keyValueArraySet","keyValueArray","keyValueArrayIndexOf","array","value1","value2","keyValueArrayGet","middle","ChangeDetectionStrategy","OnPush","ViewEncapsulation$1","Emulated","Native","ShadowDom","EMPTY_OBJ","EMPTY_ARRAY","_renderCompCount","ɵɵdefineComponent","componentDefinition","typePrototype","declaredInputs","providersResolver","decls","vars","template","consts","ngContentSelectors","hostBindings","hostVars","hostAttrs","contentQueries","outputs","exportAs","onChanges","onInit","ngOnInit","doCheck","ngDoCheck","afterContentInit","ngAfterContentInit","afterContentChecked","ngAfterContentChecked","afterViewInit","ngAfterViewInit","afterViewChecked","ngAfterViewChecked","ngOnDestroy","onPush","changeDetection","directiveDefs","pipeDefs","viewQuery","setInput","schemas","tView","directiveTypes","feature","pipeTypes","invertObject","extractDirectiveDef","extractPipeDef","getComponentDef","autoRegisterModuleById","ɵɵdefineNgModule","bootstrap","declarations","transitiveCompileScopes","ɵɵsetNgModuleScope","scope","ngModuleDef","getNgModuleDef","secondary","newLookup","minifiedKey","publicName","declaredName","ɵɵdefineDirective","ɵɵdefinePipe","pipeDef","getFactoryDef","throwNotFound","isLView","isLContainer","isContentQueryHost","tNode","isComponentHost","isDirectiveHost","isComponentDef","isRootView","setDocument","getDocument","isProceduralRenderer","domRendererFactory3","rendererType","unwrapRNode","getNativeByIndex","lView","getNativeByTNode","getTNode","load","getComponentLViewByIndex","nodeIndex","hostView","slotValue","readPatchedLView","isCreationMode","viewAttachedToChangeDetector","getConstant","resetPreOrderHookFlags","updateTransplantedViewCount","lContainer","amount","viewOrContainer","instructionState","lFrame","createLFrame","bindingsEnabled","checkNoChangesMode","getBindingsEnabled","getLView","getTView","ɵɵrestoreView","viewToRestore","contextLView","getPreviousOrParentTNode","previousOrParentTNode","setPreviousOrParentTNode","isParent","getIsParent","setIsNotParent","getCheckNoChangesMode","setCheckNoChangesMode","getBindingRoot","bindingRootIndex","bindingStartIndex","getBindingIndex","bindingIndex","nextBindingIndex","incrementBindingIndex","setBindingRootForHostBindings","currentDirectiveIndex","setCurrentDirectiveIndex","getCurrentDirectiveDef","tData","getCurrentQueryIndex","setCurrentQueryIndex","enterDI","newView","newLFrame","allocLFrame","enterView","currentLFrame","childLFrame","child","selectedIndex","elementDepthCount","currentNamespace","currentSanitizer","leaveViewLight","oldLFrame","leaveDI","leaveView","getSelectedIndex","setSelectedIndex","getSelectedTNode","ɵɵnamespaceSVG","ɵɵnamespaceHTML","registerPostOrderHooks","directiveStart","directiveEnd","directiveDef","contentHooks","contentCheckHooks","viewHooks","viewCheckHooks","destroyHooks","executeCheckHooks","hooks","callHooks","executeInitAndCheckHooks","initPhase","incrementInitPhaseFlags","currentView","currentNodeIndex","nodeIndexLimit","lastNodeIndexFound","callHook","isInitHook","hook","directive","NodeInjectorFactory","isViewProvider","injectImplementation","resolving","canSeeViewProviders","injectImpl","setUpAttributes","native","attrs","isProc","namespaceURI","attrName","attrVal","setAttributeNS","isAnimationProp","isNameOnlyAttributeMarker","marker","charCodeAt","mergeHostAttrs","dst","src","srcMarker","mergeHostAttribute","markerInsertPosition","dstValue","hasParentInjector","parentLocation","getParentInjectorIndex","getParentInjectorViewOffset","getParentInjectorView","startView","viewOffset","parentView","renderStringify","stringifyForError","defaultScheduler","requestAnimationFrame","ɵɵresolveWindow","ownerDocument","defaultView","ɵɵresolveDocument","maybeUnwrapFn","Function","includeViewProviders","setIncludeViewProviders","nextNgElementId","getOrCreateNodeInjectorForNode","existingInjectorIndex","getInjectorIndex","firstCreatePass","injectorIndex","insertBloom","blueprint","parentLoc","getParentInjectorLocation","parentIndex","parentLView","parentData","footer","hostTNode","diPublicInInjector","bloomBit","BLOOM_SIZE","mask","b6","b5","getOrCreateInjectable","bloomHash","tokenId","NodeInjector","previousTView","hostTElementNode","Host","shouldSearchParent","bloomHasToken","instance","searchTokensOnInjector","NOT_FOUND","moduleInjector","previousInjectImplementation","currentTView","injectableIdx","locateDirectiveOrProvider","getNodeInjectable","canAccessViewProviders","isHostSpecialCase","nodeProviderIndexes","providerIndexes","tInjectables","injectablesStart","directivesStart","cptViewProvidersCount","endIndex","providerTokenOrDef","dirDef","previousIncludeViewProviders","directiveIndex","preOrderHooks","preOrderCheckHooks","injectorView","isFirstHostTNode","_tNode","_lView","ɵɵgetInheritedFactory","getPrototypeOf","ɵɵgetFactoryOf","typeAny","injectorDef","getDebugContext","getOriginalError","defaultErrorLogger","ErrorHandler","_console","originalError","_findOriginalError","_findContext","errorLogger","SafeValueImpl","changingThisBreaksApplicationSecurity","SafeHtmlImpl","SafeStyleImpl","SafeScriptImpl","SafeUrlImpl","SafeResourceUrlImpl","unwrapSafeValue","allowSanitizationBypassAndThrow","actualType","getSanitizationBypassType","getTypeName","bypassSanitizationTrustHtml","trustedHtml","bypassSanitizationTrustStyle","trustedStyle","bypassSanitizationTrustScript","trustedScript","bypassSanitizationTrustUrl","trustedUrl","bypassSanitizationTrustResourceUrl","trustedResourceUrl","_devMode","_runModeLocked","isDevMode","enableProdMode","InertBodyHelper","defaultDoc","inertDocument","implementation","createHTMLDocument","inertBodyElement","inertHtml","getInertBodyElement","DOMParser","getInertBodyElement_DOMParser","getInertBodyElement_InertDocument","getInertBodyElement_XHR","html","encodeURI","xhr","XMLHttpRequest","responseType","send","parseFromString","templateEl","inertBody","documentMode","stripCustomNsAttrs","elAttrs","attributes","childNode","nodeType","Node","ELEMENT_NODE","SAFE_URL_PATTERN","DATA_URL_PATTERN","_sanitizeUrl","tagSet","tags","merge","sets","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","OPTIONAL_END_TAG_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","SRCSET_ATTRS","VALID_ATTRS","SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS","SanitizingHtmlSerializer","sanitizedSomething","buf","traverseContent","startElement","TEXT_NODE","chars","endElement","checkClobberedElement","tagName","elAttr","lower","srcset","encodeEntities","nextNode","compareDocumentPosition","DOCUMENT_POSITION_CONTAINED_BY","outerHTML","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","inertBodyHelper","_sanitizeHtml","unsafeHtmlInput","unsafeHtml","mXSSAttempts","parsedHtml","sanitizer","safeHtml","sanitizeChildren","getTemplateContent","content","SecurityContext","HTML","STYLE","SCRIPT","URL","RESOURCE_URL","SAFE_STYLE_VALUE","URL_RE","_sanitizeStyle","urlMatch","outsideSingle","outsideDouble","ɵɵsanitizeHtml","getSanitizer","sanitize","ɵɵsanitizeStyle","unsafeStyle","ɵɵsanitizeUrl","unsafeUrl","ɵɵdefaultStyleSanitizer","doSanitizeValue","attachPatchData","throwMultipleComponentError","throwMixedMultiProviderError","classIndexOf","classToSearch","startingIndex","isCssClassMatching","cssClassToMatch","isProjectionMode","isInlineTemplate","hasTagAndTypeMatch","currentSelector","isNodeMatchingSelector","nodeAttrs","nameOnlyMarkerIdx","skipToNextSelector","isPositive","selectorAttrValue","attrIndexInNode","findAttrIndexInNode","nodeAttrValue","compareAgainstClassName","bindingsMode","maybeAttrName","attr","isNodeMatchingSelectorList","isSelectorInSelectorList","selectorListLoop","currentSelectorInList","maybeWrapInNotSelector","isNegativeMode","chunk","stringifyCSSSelector","currentChunk","valueOrMarker","attrValue","NO_CHANGE","getLViewParent","getFirstLContainer","getNearestLContainer","getNextLContainer","ɵɵadvance","delta","selectIndexInternal","toTStylingRange","getTStylingRangePrev","tStylingRange","setTStylingRangePrevDuplicate","getTStylingRangeNext","setTStylingRangeNext","setTStylingRangeNextDuplicate","refreshContentQueries","queryStartIdx","directiveDefIdx","elementCreate","createElementNS","createLView","host","tHostNode","rendererFactory","getOrCreateTNode","adjustedIndex","createTNode","renderView","executeViewQueryFn","templateFn","executeTemplate","staticContentQueries","staticViewQueries","components","hostLView","renderComponent","incompleteFirstPass","refreshView","hooksInitPhaseCompleted","movedViews","movedLView","insertionLContainer","embeddedLView","embeddedTView","expandoInstructions","expandoStartIndex","currentElementIndex","refreshComponent","firstUpdatePass","renderComponentOrTemplate","normalExecutionPath","creationModeIsActive","rf","prevSelectedIndex","executeContentQueries","createDirectivesInstances","initialInputs","isComponent","addComponentLogic","setInputsFromAttrs","expando","elementIndex","dirIndex","invokeHostBindingsInCreationMode","saveResolvedLocalsInData","viewData","localRefExtractor","localNames","localIndex","getOrCreateTComponentView","createTView","viewIndex","directives","pipes","initialViewLength","queries","cleanup","directiveRegistry","pipeRegistry","tParent","directiveStylingLast","propertyBindings","mergedAttrs","tViews","projectionNext","projection","stylesWithoutHost","residualStyles","classesWithoutHost","residualClasses","classBindings","styleBindings","generatePropertyAliases","inputAliasMap","propStore","internalName","elementPropertyInternal","nativeOnly","dataValue","inputData","setInputsForProperty","childComponentLView","resolveDirectives","localRefs","hasDirectives","markAsComponentHost","exportsMap","totalDirectiveHostVars","initTNodeFlags","generateExpandoInstructionBlock","preOrderHooksFound","preOrderCheckHooksFound","baseResolveDirective","saveNameToExportMap","addHostBindingsToExpandoInstructions","defs","tNodeAttrs","inputsFromAttrs","inputsStore","outputsStore","directiveInputs","generateInitialInputs","growHostVarsSpace","directiveCount","providerCount","numberOfDirectives","directiveFactory","nodeInjectorFactory","componentView","addToViewTree","initialInputData","privateName","inputsToStore","createLContainer","hostNative","componentHostIdx","refreshContainsDirtyView","componentTView","lViewOrLContainer","markViewDirty","detectChangesInternal","detectChangesInRootView","rootContext","rootComponent","viewQueryFn","component","CLEAN_PROMISE","getLCleanup","getTViewCleanup","loadComponentRenderer","currentDef","textBindingInternal","textContent","getLContainer","embeddedView","getContainerRenderParent","tViewNode","nativeParentNode","applyToElementOrContainer","lNodeToHandle","beforeNode","rNode","nativeAppendChild","nativeInsertBefore","nativeParent","renderParent","applyView","addRemoveViewFromContainer","insertMode","detachMovedView","declarationContainer","declarationViewIndex","detachView","removeIndex","indexInContainer","viewToDetach","declarationLContainer","removedLView","lQueries","destroyLView","rootView","cleanUpView","firstView","getParentState","toCall","tCleanup","lCleanup","idxOrTargetGetter","useCaptureOrSubIdx","getRenderParent","parentTNode","nativeAppendOrInsertBefore","getNativeAnchorNode","getBeforeNodeForView","childEl","childTNode","anchorNode","viewIndexInContainer","nextViewIndex","firstTNodeOfView","getFirstNativeNode","tNodeType","elIcuContainerChild","rNodeOrLContainer","componentHost","firstProjectedTNode","applyNodes","isProjection","rawSlotValue","applyProjectionRecursive","tProjectionNode","componentLView","nodeToProjectOrRNodes","writeDirectStyle","cssText","writeDirectClass","ViewRef","_cdRefInjectingView","_appRef","collectNativeNodes","lNode","lViewInAContainer","lViewFirstChildTNode","nodesInSlot","detach","cleanupFn","vcRef","appRef","RootViewRef","R3ElementRef","R3TemplateRef","R3ViewContainerRef","createElementRef","ElementRefToken","createTemplateRef","TemplateRefToken","_declarationView","_declarationTContainer","elementRef","declarationViewLQueries","createContainerRef","ViewContainerRefToken","_lContainer","_hostTNode","_hostView","startTNode","insert","componentFactory","projectableNodes","ngModuleRef","contextInjector","parentInjector","ngModule","componentRef","allocateContainerIfNeeded","prevIdx","prevLContainer","prevVCRef","adjustedIdx","_adjustIndex","containerLength","insertView","attachToViewContainerRef","newIndex","viewRefsArr","detachedView","commentNode","injectChangeDetectorRef","isPipe","ChangeDetectorRef","SWITCH_CHANGE_DETECTOR_REF_FACTORY","INJECTOR_SCOPE","NOT_YET","CIRCULAR","EMPTY_ARRAY$2","NULL_INJECTOR","getNullInjector","createInjectorWithoutInjectorInstances","defType","additionalProviders","R3Injector","records","injectorDefTypes","dedupStack","provider","processProvider","processInjectorType","makeRecord","assertNotDestroyed","service","previousInjector","injectableDefInScope","injectableDefOrInjectorDefFactory","hydrate","injectorErrorName","tokenPath","defOrWrappedDef","parents","isDuplicate","importTypesWithProviders","imported","defProviders","injectorType","ngModuleType","isTypeProvider","isValueProvider","providerToFactory","existing","multiRecord","paramLength","inheritedInjectableDef","typeName","unwrappedProvider","useExisting","classRef","ngModuleDetail","INJECTOR_IMPL","_resolveInjectorDefTypes","Injector","NULL","ANALYZE_FOR_ENTRY_COMPONENTS","componentResourceResolutionQueue","componentDefPendingResolution","unwrapResponse","computeStaticStyling","writeToHost","_symbolIterator","getSymbolIterator","getOwnPropertyNames","looseIdentical","WrappedValue","wrapped","isWrapped","isListLikeIterable$1","isJsObject$1","updateBinding","getBinding","bindingUpdated","is","bindingUpdated2","exp1","exp2","different","bindingUpdated3","exp3","bindingUpdated4","exp4","ɵɵattribute","interpolation1","v0","suffix","interpolation2","v1","interpolation3","v2","ɵɵtemplate","attrsIndex","localRefsIndex","tViewConsts","embeddedTViewNode","comment","ɵɵreference","ɵɵdirectiveInject","ɵɵinjectAttribute","attrNameToInject","attrsLength","ɵɵinvalidFactory","ɵɵproperty","setDirectiveInputsWhichShadowsStyling","isClassBased","ɵɵelementStart","elementStart","ɵɵelementEnd","elementEnd","ɵɵelement","ɵɵelementContainerStart","ɵɵelementContainerEnd","ɵɵelementContainer","ɵɵgetCurrentView","isObservable","ɵɵlistener","listenerFn","useCapture","eventTargetResolver","listenerInternal","ɵɵcomponentHostSyntheticListener","isTNodeDirectiveHost","processOutputs","resolved","lCleanupIndex","existingListener","tNodeIdx","cleanupEventName","listenerIdxInLCleanup","__ngLastListenerFn__","__ngNextListenerFn__","wrapListener","propsLength","idx","executeListenerWithErrorHandling","wrapWithPreventDefault","wrapListenerIn_markDirtyAndPreventDefault","nextListenerFn","preventDefault","returnValue","ɵɵnextContext","level","nestingLevel","matchingProjectionSlotIndex","projectionSlots","wildcardNgContentIndex","ngProjectAsAttrVal","ngProjectAsAttrIdx","ɵɵprojectionDef","componentNode","projectionHeads","tails","componentChild","slotIndex","ɵɵprojection","selectorIndex","ɵɵpropertyInterpolate","ɵɵpropertyInterpolate1","interpolatedValue","ɵɵpropertyInterpolate2","ɵɵpropertyInterpolate3","EMPTY_ARRAY$3","markDuplicates","tStylingKey","isPrevDir","isClassBinding","tStylingAtIndex","isMap","cursor","foundDuplicate","tStyleRangeAtCursor","isStylingMatch","tStylingKeyCursor","parserState","textEnd","keyEnd","valueEnd","getLastParsedKey","parseClassNameNext","consumeWhitespace","ɵɵstyleProp","checkStylingProperty","ɵɵclassProp","classStringParser","suffixOrSanitizer","stylingFirstUpdatePass","styleSanitizer","updateStyling","checkStylingMap","stringParser","hasStylingInputShadow","isInHostBindings","staticPrefix","oldKeyValueArray","newKeyValueArray","oldIndex","oldKey","newKey","setKey","styleKeyValueArray","unwrappedValue","isHostBindings","stylingKey","hostDirectiveDef","residual","collectStylingFromTAttrs","collectStylingFromDirectives","templateStylingKey","bindings","tStylingKeyWithStatic","isHostBinding","tBindings","tmplHead","tmplTail","isKeyDuplicateOfStatic","staticKeyValueArray","currentDirective","desiredMarker","currentMarker","tRange","isStylingValuePresent","findStylingValue","isProcedural","isPrevDirection","rawKey","containsStatics","isStylingMap","valueAtLViewIndex","ɵɵtext","textNative","createTextNode","ɵɵtextInterpolate","ɵɵtextInterpolate1","interpolated","ɵɵtextInterpolate2","ɵɵtextInterpolate3","ɵɵclassMapInterpolate1","ɵɵclassMapInterpolate2","ɵɵclassMapInterpolate3","ɵɵclassMapInterpolate4","v3","ɵɵclassMapInterpolate5","v4","ɵɵclassMapInterpolate6","i4","v5","ɵɵhostProperty","ɵɵupdateSyntheticHostBinding","LifecycleHooksFeature","rootTView","ɵɵInheritDefinitionFeature","definition","superType","constructor","shouldInheritFields","inheritanceChain","superDef","writeableDef","maybeUnwrapEmpty","superHostBindings","inheritHostBindings","superViewQuery","superContentQueries","inheritViewQuery","inheritContentQueries","defData","ngInherit","prevViewQuery","prevContentQueries","prevHostBindings","SimpleChange","firstChange","ɵɵNgOnChangesFeature","ngOnChanges","ngOnChangesSetInput","simpleChangesStore","getSimpleChangesStore","previousChange","resolveProvider$1","lInjectablesBlueprint","providerFactory","beginIndex","existingFactoryIndex","registerDestroyHooksIfSupported","existingProvidersFactoryIndex","existingViewProvidersFactoryIndex","doesProvidersFactoryExist","doesViewProvidersFactoryExist","factoryFn","componentProviders","multiFactoryAdd","multiViewProvidersFactoryResolver","multiProvidersFactoryResolver","contextIndex","indexInFactory","providerIsTypeProvider","existingCallbacksIndex","multiFactory","isComponentProvider","lData","multiResolve","factories","componentCount","multiProviders","ɵɵProvidersFeature","viewProviders","processProvidersFn","ComponentFactory","_NullComponentFactoryResolver","ComponentFactoryResolver","ElementRef","SWITCH_ELEMENT_REF_FACTORY","RendererFactory2","RendererStyleFlags2","Important","DashCase","Renderer2","SWITCH_RENDERER2_FACTORY","nodeAtIndex","Sanitizer","Version","full","major","minor","patch","VERSION","DefaultIterableDifferFactory","trackByFn","DefaultIterableDiffer","trackByIdentity","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","nextIt","nextRemove","addRemoveOffset","moveOffsets","getPreviousIndex","adjPreviousIndex","_nextRemoved","localMovePreviousIndex","localCurrentIndex","_nextPrevious","_nextAdded","_nextMoved","_nextIdentityChange","collection","check","_reset","itemTrackBy","mayBeDirty","trackById","_verifyReinsertion","_addIdentityChange","_mismatch","_truncate","isDirty","nextRecord","previousRecord","_prev","_remove","_moveAfter","_reinsertAfter","_addAfter","IterableChangeRecord_","reinsertRecord","_addToMoves","_addToRemovals","_unlink","prevRecord","_prevRemoved","_insertAfter","_DuplicateMap","put","toIndex","_prevDup","_nextDup","_DuplicateItemRecordList","_tail","atOrAfterIndex","duplicates","recordList","moveOffset","DefaultKeyValueDifferFactory","DefaultKeyValueDiffer","_records","_mapHead","_appendAfter","_previousMapHead","_changesHead","_changesTail","_nextChanged","_forEach","_maybeAddToChanges","_getOrCreateRecordForKey","_insertBeforeOrAppend","KeyValueChangeRecord_","_addToAdditions","_addToChanges","IterableDiffers","copied","supports","KeyValueDiffers","kv","keyValDiff","defaultIterableDiffers","defaultKeyValueDiffers","TemplateRef","SWITCH_TEMPLATE_REF_FACTORY","ViewContainerRef","SWITCH_VIEW_CONTAINER_REF_FACTORY","NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR","ComponentFactoryResolver$1","componentDef","ComponentFactory$1","toRefArray","nonMinified","templateName","SCHEDULER","componentType","isBoundToModule","rootSelectorOrNode","rootViewInjector","hostRenderer","elementName","hostRNode","elementOrSelector","rElement","rootFlags","isIsolated","clean","playerHandler","rootLView","tElementNode","viewRenderer","createRootComponentView","nodesforSlot","hostFeatures","rootTNode","ComponentRef$1","_rootLView","destroyCbs","changeDetectorRef","tParentNode","u","localeEn","LOCALE_DATA","registerLocaleData","extraData","LocaleDataIndex","findLocaleData","normalizedLocale","getLocaleData","parentLocale","getLocaleCurrencyCode","CurrencyCode","PluralCase","ng","common","locales","FirstDayOfWeek","WeekendRange","CurrencySymbol","CurrencyName","Directionality","LOCALE_ID","setLocaleId","actual","msg","expected","comparison","modules","NgModuleRef$1","_parent","_bootstrapComponents","componentFactoryResolver","ngLocaleIdDef","_r3Injector","injectFlags","NgModuleFactory$1","moduleType","registerNgModuleType","incoming","ɵɵpureFunction1","slotOffset","pureFn","pureFunction1Internal","ɵɵpureFunction2","pureFunction2Internal","ɵɵpureFunction3","pureFunction3Internal","ɵɵpureFunction4","bindingRoot","getPureFunctionReturnValue","ɵɵpureFunction5","exp5","ɵɵpureFunction6","exp6","ɵɵpureFunctionV","exps","pureFunctionVInternal","returnValueIndex","lastReturnValue","ɵɵpipe","pipeName","pipeFactory","pipeInstance","ɵɵpipeBind1","unwrapValue$1","isPure","ɵɵpipeBind2","ɵɵpipeBind3","ɵɵpipeBindV","unwrap","EventEmitter","isAsync","__isAsync","generatorOrNext","schedulerFn","errorFn","completeFn","sink","symbolIterator","QueryList","dirty","_results","resultsTree","flatten","last","LQuery_","queryList","setDirty","LQueries_","tQueries","noOfInheritedQueries","viewLQueries","tQuery","getByIndex","indexInDeclarationView","dirtyQueriesWithMatches","getTQuery","TQueryMetadata_","descendants","isStatic","read","TQueries_","queriesForTemplateRef","childQueryIndex","tqueryClone","tquery","TQuery_","crossesNgTemplate","_appliesToNextNode","_declarationNodeIndex","isApplyingToNode","matchTNode","addMatch","declarationNodeIdx","matchTNodeWithReadOption","getIdxOfMatchingSelector","typePredicate","nodeMatchIdx","directiveOrProviderIdx","matchIdx","createResultForNode","matchingIdx","materializeViewResults","queryIndex","lQuery","tViewData","tQueryMatches","matchedNodeIdx","ɵɵqueryRefresh","collectQueryResults","lViewResults","embeddedLViews","notifyOnChanges","ɵɵstaticViewQuery","descend","viewQueryInternal","ɵɵviewQuery","createTQuery","createLQuery","ɵɵcontentQuery","contentQueryInternal","ɵɵstaticContentQuery","tViewContentQueries","ɵɵloadQuery","track","ɵɵtemplateRefExtractor","ɵɵinjectPipeChangeDetectorRef","APP_INITIALIZER","ApplicationInitStatus","appInits","initialized","donePromise","rej","asyncInitPromises","initResult","all","catch","APP_ID","APP_ID_RANDOM_PROVIDER","_randomChar","fromCharCode","PLATFORM_INITIALIZER","PLATFORM_ID","APP_BOOTSTRAP_LISTENER","Console","LOCALE_ID$1","DEFAULT_CURRENCY_CODE","ModuleWithComponentFactories","ngModuleFactory","componentFactories","Compiler_compileModuleSync__POST_R3__","Compiler_compileModuleSync","Compiler_compileModuleAsync","Compiler_compileModuleAndAllComponentsSync__POST_R3__","declaration","Compiler_compileModuleAndAllComponentsSync","Compiler_compileModuleAndAllComponentsAsync","Compiler","compileModuleSync","compileModuleAsync","compileModuleAndAllComponentsSync","compileModuleAndAllComponentsAsync","COMPILER_OPTIONS","scheduleMicroTask","Zone","NgZone","enableLongStackTrace","shouldCoalesceEventChangeDetection","hasPendingMacrotasks","hasPendingMicrotasks","isStable","onUnstable","onMicrotaskEmpty","onStable","onError","assertZonePatched","_nesting","_outer","_inner","lastRequestAnimationFrameId","nativeRequestAnimationFrame","nativeCancelAnimationFrame","unpatchedRequestAnimationFrame","__symbol__","unpatchedCancelAnimationFrame","maybeDelayChangeDetection","updateMicroTaskStatus","checkStable","onInvokeTask","task","applyThis","applyArgs","onEnter","invokeTask","onLeave","onInvoke","invoke","onHasTask","hasTaskState","hasTask","change","_hasPendingMicrotasks","microTask","macroTask","onHandleError","isInAngularZone","scheduleEventTask","EMPTY_PAYLOAD","noop$1","runTask","cancelTask","runGuarded","NoopNgZone","Testability","_ngZone","_pendingCount","_isZoneStable","_didWork","_callbacks","taskTrackingZone","_watchAngularEvents","assertNotInAngularZone","_runCallbacksIfReady","cb","timeoutId","doneCb","pending","getPendingTasks","updateCb","macroTasks","creationLocation","addCallback","using","exactMatch","TestabilityRegistry","_applications","_testabilityGetter","addToWindow","testability","findInAncestors","findTestabilityInTree","_NoopGetTestability","setTestabilityGetter","getter","_platform","compileNgModuleFactory","compilerOptions","moduleFactory","compilerProviders","compiler","globalNg","ɵcompilerFacade","resourceLoader","ResourceLoader","resourceResolver","componentResolved","urlMap","cachedResourceResolve","resp","promises","templateUrl","styleUrls","styleOffset","styleUrl","fullyResolved","ALLOW_MULTIPLE_PLATFORMS","NgProbeToken","createPlatformFactory","parentPlatformFactory","extraProviders","platform","getPlatform","injectedProviders","PlatformRef","inits","requiredToken","_injector","_modules","_destroyListeners","ngZone","ngZoneOption","ngZoneEventCoalescing","ngZoneInjector","moduleRef","exceptionHandler","initStatus","runInitializers","_moduleDoBootstrap","optionsReducer","bootstrapModuleFactory","ApplicationRef","ngDoBootstrap","objs","_exceptionHandler","_componentFactoryResolver","_initStatus","_bootstrapListeners","_views","_runningTick","_enforceNoNewChanges","_stable","componentTypes","tick","isCurrentlyStable","stableSub","unstableSub","assertInAngularZone","componentOrFactory","resolveComponentFactory","compRef","_unloadComponent","registerApplication","_loadComponent","detectChanges","checkNoChanges","attachToAppRef","detachFromAppRef","attachView","NgModuleFactoryLoader","SystemJsNgModuleLoaderConfig","DEFAULT_CONFIG","factoryPathPrefix","factoryPathSuffix","SystemJsNgModuleLoader","_compiler","loadAndCompile","exportName","checkNotEmpty","factoryClassSuffix","modulePath","getDebugNodeR2","_nativeNode","platformCore","APPLICATION_MODULE_PROVIDERS","$localize","ApplicationModule","weekEndings","ModalRequestClose","ModalOpen","ModalClose","ModalCloseAll","ModalAnimate","ModalBackgroundClicked","ModalSetLoading","ModalSwap","Subscription","recycleAsyncId","requestAsyncId","setInterval","clearInterval","_execute","errorValue","X64Word","x64","Word","RHO_OFFSETS","PI_INDEXES","ROUND_CONSTANTS","newY","LFSR","roundConstantMsw","roundConstantLsw","bitPosition","SHA3","outputLength","nBlockSizeLanes","M2i","M2i1","lane","high","low","tMsw","tLsw","Tx","Tx4","Tx1","Tx1Msw","Tx1Lsw","laneIndex","laneMsw","laneLsw","rhoOffset","TPiLane","T0","state0","TLane","Tx1Lane","Tx2Lane","roundConstant","blockSizeBits","outputLengthBytes","outputLengthLanes","hashWords","HmacSHA3","suffixes","1","5","8","70","80","2","7","20","50","3","4","100","6","9","10","30","60","90","DietaryTagsImagesRequest","DietaryTagsImagesSuccessRequest","DietaryTagsImagesErrorRequest","LocationsRequest","LocationsSuccessRequest","LocationsErrorRequest","MODAL_ANIMATION","WIZZARD_ERROR","JWTService","httpClient","cryptoService","apiBaseUrl","api","base","apiKey","__enableLogging","_jwtLifeTime","_jwtRefreshTokenLifeTime","memberCredentials","switchApi","_setupTokens","_checkIfAccessTokenIsValid","checkIfCanRefresh","_checkIfRefreshIsPossible","currentTokens","_getTokens","_refreshJWToken","AccessToken","RefreshToken","refreshedTokens","currentJWToken","refreshToken","clientAppKey","removeQuotesChars","headers","_storeTokens","_encrypt","_validateTokens","clearTokens","encrypted","_getEncryptedTokens","_decrypt","CookieService","defaults","expires","_mergeOptions","cookiesObject","SessionService","cookieService","_sessionTTLInDays","_saveSessionDataInUnsafeStorage","_saveSecuredSessionKey","_compareStoredSessionKeys","sessionData","_getSessionDataFromUnsafeStorage","_removeSessionDataFromUnsafeStorage","_removeSecureSessionKey","onRefreshRequestStart","onRefreshRequestFinish","secureSessionKey","_createSecureSessionKey","realSecureSessionkey","_getSecureSessionKey","unsafeSessionKey","unsafeAccountId","unsafeAuthorizationType","hashMachineStampKeyp","authType","AuthService","jwtService","sessionService","_whiteList","getCurrentTokens","stateAuthorized","postModel","overwriteProps","SexId","existingVal","PhoneNumber","softSignOut","LoyaltyAppService","DisplayOrder","AppSettingsService","loyaltyAppService","requestLoyaltyAppInfo","isOnline$","setAppMode","setDeviceType","CartService","cartPopup","MembersService","object2string","duplicatedPhoneNo","memberModel","passwordModel","queryProperty","modelProperty","validatedProperty","paramFieldKey","request","userLoginType","loginValue","countryId","country","prefixResponse","redeemed","LocationsService","customParams","fromObject","isAvailableInLoyaltyApps","locationOLOIsActive","OrderingTimeInfo","timeInfo","PickupTimes","From","createHoursIntFromDate","OpeningTime","To","ClosingTime","daysNames","_DayName","dateToCheck","idsToStringParams","orderingTime","dateObj","createDate","setDate","currDay","localISODate","_Date","getDayName","venueNo","OnlineMenuService","menu","products","filterPickup","locationDetails","currentPickup","matchedPickupTime","datesMatchByDayCallback","isFuturePickupTimeValid","FutureOrderingMinDaysAhead","FutureOrderingMaxDaysAhead","matchedCartPickupTime","matchedCurrentPickupTime","LocationDetailsService","actions$","locationsService","onlineMenuService","modalsService","buttonLabel","accessDenied","canEnterLocation","FiltersService","_resetOnlineMenuSearchTermFilterListener","Subject","GeolocationService","deg","PI","coordsFrom","coordsTo","dLat","deg2rad","dLng","cos","atan2","sqrt","closestLocation","Latitude","Longitude","currentPosition","navigator","getCurrentPosition","altitude","accuracy","altitudeAccuracy","heading","speed","GoogleAnalyticsService","googleAnalytics","_ga","extraParams","isConfigured","gtag","page_path","eventNames","account","send_to","ImagesService","rendererFactory2","imgUrl","holder","imgElem","onload","onerror","stringParams","getImageForLocation","imageUrl","locationIds","paginatedResult","paginatedResults","venueIds","PickupsService","createScheduleModel","pickupTimeObj","onlineMenuTimes","openHours","locationUpdatedPickupTimeObj","isToday","hasExceededPlaceOrderTimeoutForPickupTime","isPickupTimeInOnlineMenuTimeRange","isPickupTimeInLocationOpenRange","locationClosingHour","newPickupTime","newPickupTimeHour","nowHours","hoursFromDate","isNowInOnlineMenuRange","isOpenNow","isHourInHoursRange","willBeOpenToday","allowClosedLocationOrders","isUpdatedPickupTimeInLocationOpenHoursRange","onlineMenuHasChanged","newPickupTimeDate","overrdrivePickupTimeObjToAsap","onlineOrderState","orderingTimeInfoObj","timeInfoObj","preperationTimeObj","isCartValid","preTitle","requestLocations","OnlineOrdersService","pickupsService","isDownloading$","OnlineOrderItemId","receiptEmails","discounts","enable","OnlineDiscounts","OnlineOrderId","addEmailReceiptNotificationDetailsWithOrderReturned","toISOString","onlineOrderModelFix","statuses","validateCartWithPopup","membersState","recalcOrder","emails","NotificationEmailAddress","apiPutEmailReceiptNotificationDetails","LoyaltyMobileAppId","_IsDisabled","MenuFlowsService","BackgroundColor","hexToRGBA","prevPage","nextPage","ProductsService","generatedProductIds","getIngredientsForLocation","productIngredient","ingredientsExtended","_ProductId","_ProductPLU","Swaps","getIngredients","VenueImagesService","InitService","appSettingsService","venueImagesService","cleanSessionRedirect","setTags","isRedirecting","requestVenueImage","cartData","setInitAppInitFlag","PARAMETER_CODEC","APIv2Configuration","rootUrl","http","_rootUrl","encoder","__params","__headers","req","_r","membersGetMemberCardsResponse","__body","membersCreateMemberCardResponse","membersSetPaymentAccountAsDefaultResponse","membersRemoveMemberCardResponse","membersGetMemberAccountBalanceResponse","membersClearMemberPersonalDataResponse","membersGetMemberCardsPath","membersCreateMemberCardPath","membersSetPaymentAccountAsDefaultPath","membersRemoveMemberCardPath","membersGetMemberAccountBalancePath","membersClearMemberPersonalDataPath","ConvergePaymentProviderService","_injectedScript","scriptTag","allFields","ssl_add_token","targetFields","ssl_card_number","ssl_exp_date","ssl_merchant_id","ssl_pin","ssl_transaction_type","ssl_txn_auth_token","ssl_user_id","ConvergeEmbeddedPayment","onDeclined","onApproval","_attachVendorScriptHTMLTag","ApiUrl","isLoaded","MechantId","Pin","UserId","ssl_vendor_id","VendorId","SessionToken","defaultSettings","getConvergeSettingsForLocation","authSettings","_request","convertAPIConvergeSettingsToAuthModelAsync","defaultAuthSettings","CardConnectPaymentProviderService","apiUrl","processCardNumber","xmlString2Json","getCardConnectSettings","cardConnectSecureCard","cardsecure","PaymentExpressPaymentProviderService","getSettingsForLocation","CreditCardsService","apiV2Services","convergePaymentProviderService","cardConnectPaymentProviderService","paymentExpressPaymentProviderService","DefaultConvergeSettings","requestCardToken","convergeResponse","ssl_token","DefaultCardConnectSettings","cardConnectResponse","DefaultPaymentExpressSettings","paymentExpressResponse","fixedDateMode","PaymentsService","requestModel","TransactionsService","monthsShortDot","LocationsFiltersReset","LocationsFiltersSetPickupMode","LocationsFiltersSetPickupTime","LocationsFiltersRestorePickupTime","LocationsFiltersSyncPickupTime","LocationsFiltersSetSearch","DevService","observable","scheduleArray","pluralForm","plurals","pluralize","observables","CombineLatestOperator","CombineLatestSubscriber","len","toRespond","unused","_tryResultSelector","SkipWhileOperator","SkipWhileSubscriber","skipping","tryCallPredicate","_enable_super_gross_mode_that_will_cause_bad_things","stack","isFunction","ZeroPadding","clamp","CreditCardsStateReset","CreditCardsResetError","CreditCardsRequest","CreditCardsSuccessRequest","CreditCardsErrorRequest","GetCreditCardToken","GetCreditCardTokenWithRedirect","__DEMO__getCardToken","CreditCardsSuccessRequestToken","CreditCardsSuccessRequestTokenWithRedirect","__DEMO__CreditCardsSuccessRequestToken","CreditCardsErrorRequestToken","CreditCardsErrorRequestTokenWithRedirect","CreditCardsAddRequest","CreditCardsAddAfterRedirectRequest","CreditCardsAddSuccessRequest","CreditCardsAddAfterRedirectSuccessRequest","CreditCardsAddErrorRequest","CreditCardsAddAfterRedirectErrorRequest","CreditCardShowForm","SelectActiveCreditCardId","SelectActiveCreditCardToken","AddCardToState","CreditCardTokenDataReset","CreditCardsRemoveRequest","CreditCardsRemoveSuccessRequest","CreditCardsRemoveErrorRequest","CreditCardsValidateReset","CreditCardsValidateRequest","CreditCardsValidateSuccessRequest","CreditCardsValidateErrorRequest","CreditCardsRemoveUnsavedCard","CreditCardsClearAllUnsavedCards","CreditCardsSetErrorValidationStatusToValidatingCards","_isScalar","_trySubscribe","promiseCtor","getPromiseCtor","operations","hm","TakeOperator","TakeSubscriber","subjectFactory","_refCount","_isComplete","getSubject","subject","connection","_connection","connectableObservableDescriptor","connectableProto","writable","connect","refCount","connectable","_unsubscribe","multicast","subjectOrSubjectFactory","MulticastOperator","0","40","RouteService","queryParamsService","LOCATION_DETAILS_REGEXP","extras","locationRootUrl","targetUrl","canOrderFromLocation","toPromise","locationFriendlyName","navigateToLocation","encr","encryptOrderData","CryptoService","screen","_privateKey","_simpleDictionary","_chars","_getPrivateKey","userAgent","vendor","productSub","language","simpleKey","encryption","simpleEncrypt","btoa","encryptedString","simpleDecrypt","atob","enc","Utf8","HmacSHA256","_getMachineStamp","generateMachineStampKey","fakeInitChars","initial","randomIndex","letter","upperCase1","upperCase2","encryptedChar1","encryptedChar2","fadeInOut","opacity","fromEvent","setupSubscription","sourceObj","handler","on","off","addListener","removeListener","ECB","webpackContext","webpackContextResolve","__webpack_require__","ObjectUnsubscribedError","ObjectUnsubscribedErrorImpl","VenueImagesRequest","VenueImagesSuccessRequest","VenueImagesErrorRequest","OnlineOrderStateReset","OnlineOrderClearPostOrderRequestFlags","OnlineOrderCreateRequest","OnlineOrderCreateSuccessRequest","OnlineOrderCreateErrorRequest","OnlineOrderUpdateRequest","OnlineOrderUpdateSuccessRequest","OnlineOrderUpdateErrorRequest","OnlineOrderRequest","OnlineOrderSuccessRequest","OnlineOrderErrorRequest","OnlineOrderRecalculateRequest","OnlineOrderRecalculateSuccessRequest","OnlineOrderRecalculateErrorRequest","OnlineOrderSendConfrimationEmailRequest","OnlineOrderSendConfrimationEmailSuccessRequest","OnlineOrderSendConfrimationEmailErrorRequest","OnlineOrderTypeSelect","OnlineOrderTypeUpdateValues","OnlineOrderResetOrderTypeValues","OnlineOrderSendEmailReceiptRequest","OnlineOrderSendEmailReceiptSuccessRequest","OnlineOrderSendEmailReceiptErrorRequest","OnlineOrderSendEmailReceiptReset","Arrays","newArr","item1","item2","direction","Colors","hex","chunkSize","hexStr","alpha","isValidHex","hexArr","getChunksFromString","g","convertHexUnitTo256","getAlphafloat","CreditCards","f1","f2","f3","detectFormat","cardPatterns","Visa","MasterCard","AmericanExpress","DinersClub","Discover","JCB","enumId","preprocessString","cardNoToProcess","cardHolderName","CardHolderName","CardNumber","cvv","Cvc2","ExpiryMonth","ExpiryYear","isDefault","Strings","fullName","nameIndex","surname","targetStr","toLowercaseCompare","searchIn","termInput","propsToSearch","stringContains","Numbers","Dates","datesDiffInDays","d2","utc1","UTC","utc2","meridemiSeparator","newHour","includeYear","capitalizeFirstChar","minAge","maxAge","age","millis","newDate","closingTime","checkDate","threshold","isClosing","toMilliseconds","minsToMiliseconds","meridemi","timeString","hoursConverted","dayNo","seconds","milliseconds","weekDay","zulu","currDate","decomposeDate","leadingZero","nowYear","includeZ","miliseconds","stringDate","toCheck","to","equal","newMins","dateCopy","mins","strArr","pickupHour","startTimeNo","stringHourToNumber","endTimeNo","pickupHourNo","localDate","openingHourObj","byDate","byDayOfWeek","openingDateRaw","totalMinimumPickupMins","closeTime","minimumPickupTime","maximumPickupTime","minimumPickupTimeForAsap","setSeconds","arrDate","arrHoursOpen","arrHoursClose","locationOpenHour","locationCloseHour","nowHour","isOpen","locationWillBeOpenToday","DayName","IsOpen","MinimumPickupTimeForAsap","MaximumPickupTime","initialAsapPickupValue","calcInitialTimesObj","asapPickup","Index","displayFormat","ShortName","DayNo","initialLaterPickupValue","nextLaterPickup","roundToNearestQuarter","nextLaterPlaceOrderTimeout","createTimeObj","startDate","endDate","roundToNearestHour","nextDate","isAsap","asapMinutesFromNow","daysDiff","minutesFromNow","forDate","edgeDate","asapPickupTime","placeOrderTimeout","asapDate","createAsapTimeObj","futureOrdersMinDay","futureOrdersMaxDay","targetDate","isInLocationTimeRange","isDateInFutureOrdersTimeRange","dateToCompare","isFutureOrderingAllowed","isTodayAllowed","Devices","orientation","iDevices","ua","msie","rv","Forms","controls","controlName","urlString","rawParams","tempArr","paramName","urls","toDownload","downloadingRequests","setRequestHeader","onreadystatechange","readyState","getResponseHeader","Uint8Array","abort","Inputs","lckey","neturalKeys","isSave","keyCode","ctrlKey","metaKey","negativeKeys","selectionStart","selectionEnd","isKeyNeutral","isKeyNegative","regex","canType","maxLength","currentValLength","isTextSelected","pageDetails","productsList","contents","totalValueMenuFlowProducts","pagesArr","sortDetails","flattenProducsByQuantity","processed","menuFlowItemPageProductsByQuantity","sortByProp","processedProducts","ungrouppedProductsPricingArr","productUnitPrice","ExcludeFromSpecialPricing","MenuFlowID","productsGroupped","existingItemIndex","existingItem","newQuantity","newTotal","newUnitPrice","MenuFlows","tagsArr","modalType","menuFlowType","override","modifierToAdd","optionalParams","createMenuFlowItemPagesFromMenuFlowDetailsModel","generatedPages","DisplayDescription","converted","Price","isSingleProductPage","productsDesc","productAcc","productIndex","generateIngredientsDescriptionForProduct","ingredientsWithSpace","productsArrDesc","exists","ommitPrefix","Messages","messageType","requiredLength","originalValue","titleTag","head","metaTag","PATTERN","foundReplacer","innerText","currCountry","configuredCountries","raw","countryPrefixId","Objects","substate","isPrimitive","freeze","getType","uberDeepFreez","extendItemsModel","baseModel","OrderTypeDetails","DetailsDefinitionId","ValueProvided","Medias","OrderSurchargeDefinitionId","foundMenuFlowActivation","foundSurcharge","surcharge","newOrder","menuFlowProducts","IsHiddenFromUser","modifiersDescription","accM","itemM","indexM","MenuFlowProducts","description","descBuilder","TransactionMenuFlows","fixedOrder","unduplicateOrderItems","fixMenuFlowActivationsDescriptions","general","baseOnlineMenuPage","hasErrors","baseMenuFlowDetails","IsActive","menuFlowProduct","basePageForProduct","baseMenuFlowProduct","pageToFetch","OnlineOrderMenuFlowActivationId","extendIngredients","freashIngredient","productForPage","newMenuFlowActivation","createMenuFlowItemFromOnlineOrder","menuFlowActivationItemsDescription","updateMenuFlowItemPrices","baseProduct","innerAcc","createSimpleItemFromOnlineOrderItemModel","orderPickupTime","PickupObj","createdDate","SaleName","OrderedDate","IsDelivery","SendToKMS","Type","modifierPropsTrimmer","trimmedArray","newModifierObj","fixMenuFlowDescriptions","distinctMenuFlowProducts","generateDescriptionForMenuFlowActivationItem","singleItem","storageType","setItem","removeItem","Scroll","onwheel","onmousewheel","ontouchmove","onkeydown","preventDefaultForScrollKeys","scrollHeight","offsetHeight","documentElement","easings","linear","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","performance","windowHeight","getElementsByTagName","documentHeight","destinationOffset","destinationOffsetToScroll","scroll","timeFunction","rangeMin","rangeMax","targetDestination","targetElement","compensation","startY","scrollTop","startX","scrollLeft","topOffset","changeY","changeX","offsetLeft","posX","posY","37","38","39","ValidatorsUtils","fieldName","control","findControl","group","XML","xmlString","xml","children","xml2json","old","stringToXmlDoc","AlertMessageOpen","AlertMessageClose","AlertMessageEdit","AlertMessageSetBulk","messages","translator","correctGrammaticalCase","wordKey","F","subtype","overrides","mixIn","$super","Hex","wordArray","thisWords","thatWords","thisSigBytes","thatSigBytes","nBytes","rcache","m_w","m_z","C_enc","hexChars","bite","hexStrLength","Latin1","latin1Chars","latin1Str","latin1StrLength","utf8Str","unescape","BufferedBlockAlgorithm","_append","doFlush","dataSigBytes","nBlocksReady","nWordsReady","_minBufferSize","nBytesReady","processedWords","messageUpdate","swapEndian","word","Utf16","Utf16BE","utf16Chars","utf16Str","utf16StrLength","Utf16LE","codePoint","compare","DistinctUntilChangedOperator","DistinctUntilChangedSubscriber","hasKey","sources","forkJoinInternal","completed","emitted","hasValue","LoyaltyProductProgramsRequest","LoyaltyProductProgramsSuccessRequest","LoyaltyProductProgramsErrorRequest","LoyaltyProductProgramsReset","HeightAdjustService","recalculateAll","offsetElements","offsetAdditional","_createEntry","_setKey","_addToArray","_removeFromArray","totalHeight","recalculateHeight","ArgumentOutOfRangeError","ArgumentOutOfRangeErrorImpl","QueryParamsService","decrypted","extracted","urlArr","isPrime","sqrtN","factor","getFractionalBits","nPrime","SHA256","gamma0x","gamma1x","maj","12","13","Rabbit","OnlineMenuPagesImagesRequest","OnlineMenuPagesImagesSuccessRequest","OnlineMenuPagesImagesErrorRequest","AnsiX923","lastBytePos","Ansix923","RC4","keySigBytes","_S","keyByteIndex","_i","_j","generateKeystreamWord","keystreamWord","RC4Drop","drop","MenuFlowsDetailsRequest","MenuFlowsDetailsSuccessRequest","MenuFlowsDetailsErrorRequest","OnlineMenuPagesRequest","OnlineMenuPagesSuccessRequest","OnlineMenuPageErrorRequest","alertMessagesReducerFn","alertMessagesReducer","DevConsoleModule","DevModule","scan","accumulator","seed","hasSeed","ScanOperator","ScanSubscriber","_seed","_tryNext","ii","SwitchMapOperator","SwitchMapSubscriber","_innerSub","fns","pipeFromArray","OnlineMenuFiltersReset","OnlineMenuFiltersSetSearch","LoyaltyIntroductionPagesRequest","LoyaltyIntroductionPagesSuccessRequest","LoyaltyIntroductionPagesErrorRequest","MemberStateReset","MemberUnsetAddData","MemberUnsetAccountCredentials","MemberUnsetUpdateAndValidation","MemberSignOut","MemberQuickLoginRequest","MemberQuickLoginSuccessRequest","MemberQuickLoginErrorRequest","MemberDataRequest","MemberDataSuccessRequest","MemberDataErrorRequest","MemberValidateLoginRequest","MemberValidateLoginSuccessRequest","MemberValidateLoginErrorRequest","MemberSignInDataRequest","MemberSignInDataResponseSuccess","MemberSignInDataResponseError","MemberAuthorizationInit","MemberAuthorizationSetFlag","MemberAuthorizationSetStep","MemberGuestModeSet","MemberGuestDataRevalidateAndSet","MemberGuestDataSet","MemberGuestDataReset","MemberJwtDataRequest","MemberJwtDataResponseSuccess","MemberJwtDataResponseError","MemberValidatePhoneRequest","MemberValidatePhoneSuccessRequest","MemberValidatePhoneDataResponseError","MemberValidateEmailDataRequest","MemberValidateEmailDataResponseSuccess","MemberValidateEmailDataResponseError","CreateMemberSession","MemberSessionRequest","MemberSessionSuccessRequest","MemberSessionErrorRequest","MemberSignUpProcessInit","MemberSignUpRequest","MemberSignUpSuccessRequest","MemberSignUpErrorRequest","MemberProfileUpdateInit","MemberProfileUpdateRequest","MemberProfileUpdateSuccessRequest","MemberProfileUpdateErrorRequest","MemberUpdateRequest","MemberUpdateSuccessRequest","MemberUpdateErrorRequest","MemberRestoreUpdateFlags","MemberPasswordChangeRequest","MemberPasswordChangeSuccessRequest","MemberPasswordChangeErrorRequest","MemberPasswordChangeRestoreFlags","MemberForgotPasswordDataRequest","MemberForgotPasswordDataResponseSuccess","MemberForgotPasswordDataResponseError","MemberForgotPasswordRestoreFlags","MemberSendPhoneVerificationCodeDataRequest","MemberSendPhoneVerificationCodeDataResponseSuccess","MemberSendPhoneVerificationCodeDataResponseError","MemberVerifyPhoneDataRequest","MemberVerifyPhoneDataSuccessRequest","MemberVerifyPhoneDataErrorRequest","MemberVerifyPhoneRestoreFlags","MemberSendEmailVeryficationRequest","MemberSendEmailVeryficationSuccessRequest","MemberSendEmailVeryficationDataResponseError","MemberVerifyEmailRestoreFlags","MemberValidatePasswordResetTokenRequest","MemberValidatePasswordResetTokenSuccessRequest","MemberValidatePasswordResetTokenErrorRequest","MemberValidatePasswordResetTokenReset","MemberForgottenPasswordResetRequest","MemberForgottenPasswordResetSuccessRequest","MemberForgottenPasswordResetErrorRequest","MemberConfirmEmailTokenRequest","MemberConfirmEmailTokenSuccessRequest","MemberConfirmEmailTokenErrorRequest","MemberConfirmEmailRequest","MemberConfirmEmailSuccessRequest","MemberConfirmEmailErrorRequest","MemberConfirmEmailReset","MemberCompleteAccountSetupGuestCheck","MemberVerifyEmailRequest","MemberVerifyEmailSuccessRequest","MemberVerifyEmailErrorRequest","MemberVerifyEmaiResetFlags","MemberPartialSignUpRequest","MemberPartialSignUpSuccessRequest","MemberPartialSignUpErrorRequest","MemberPartialSignUpResetState","MemberPasswordSetRequest","MemberPasswordSetSuccessRequest","MemberPasswordSetErrorRequest","MemberPasswordSetResetState","MemberFreeProductsRequest","MemberFreeProductsSuccessRequest","MemberFreeProductsErrorRequest","MemberLoyaltyProductsRequest","MemberLoyaltyProductsSuccessRequest","MemberLoyaltyProductsErrorRequest","MemberUniqueCodeCheckRequest","MemberUniqueCodeCheckSuccessRequest","MemberUniqueCodeCheckErrorRequest","MemberUniqueCodeCheckReset","MemberAccountBalanceRequest","MemberAccountBalanceSuccessRequest","MemberAccountBalanceErrorRequest","MemberAccountBalanceReset","MemberLinkRewardsAccountVerifyRequest","MemberLinkRewardsAccountVerifySuccessRequest","MemberLinkRewardsAccountVerifyErrorRequest","MemberLinkRewardsAccountVerifyReset","MemberLinkRewardsAccountRequest","MemberLinkRewardsAccountSuccessRequest","MemberLinkRewardsAccountErrorRequest","EmptyError","EmptyErrorImpl","ArrayBuffer","superInit","typedArray","Int8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","buffer","byteOffset","byteLength","typedArrayByteLength","getDeviceType","isDeviceMobile","getAppLocationMode","isInVenueMode","hasAppInitialized","getAppSettingsLinks","ContactUsUrl","UserAgreementUrl","getLoyaltyAppSettings","isOnlineMapped","mapErrors","offline","getLoyaltyAppId","getAvailablePickupTimesForLocation","getAvailablePickupTimesForAllLocations","isCalculatingAvailablePickups","getCart","getCartPickupTime","getCartPickupTimeName","getCartLocationNo","getCartTotalQuantity","getCartTotalValue","getCartSimpleItems","getCartSimpleItemById","getCartMenuFlows","getCartMenuFlowById","isCartEmpty","getCartAllItems","getCartOnlineMenuItemById","getCards","getCardState","isAddingCardRequest","isLoadingCards","getActiveCardRedirectUrl","getActiveCardId","getActiveCardToken","getSessionToken","getActiveCardDetails","activeId","shouldShowCreditCardForm","isDownloadingCardsList","hasCreditCardsDefined","isRequestingCardsFirstTime","hasDownloadedCards","isRemovingCard","removeFailedForCard","isPaymentDisabledForCards","cardsLoading","getCurrentLocationNo","getCurrentPickupTime","getCurrentLocationValidationState","currentLocationIsValid","currentLocationIsValidating","getDietaryTagImages","dietaryTagsImages","getDietaryTagsByTags","tagParams","tagImg","getLocationsState","getLocations","getLocationDetails","hasRequestedLocations","hasLocations","getOrderingTimeInfoByLocationNo","filterAvailable","getFilteredOrderingTimeInfo","getMinimumPickupTimesForAllLocationsByDate","baseObj","foundDay","foundCurrentPickupTime","getMinimumPickupTimeForLocation","minimumPickups","getOrderInfoCompleteForLocationsByDate","minimumPickupTimeForDay","getOrderInfoCompleteForLocationByDate","locationsOrderInfo","getMinimumPickupTimeForLocationAndDate","foundObj","findDay","isLocationOpenNowByOrderingTimeInfoObj","getLocationOpenStatus","todayInfo","getClosedTimeFromHourString","openingTime","closingDiff","openDiff","getAllLocationsPeriods","locationIsConfiguredForFutureOrders","existingObj","isAnyDateWithFutureOrderingConfigured","createPeriodObject","generatedFiltersPickupTimesForAllLocations","minimumPickupTimes","tempObj","tempOpen","tempClose","edgeCases","asapModel","createAsapModel","scheduleModel","generatedPickupTimesForAllLocationsForPeriod","orderingObj","generatePickupTimesFutureList","getLocationFilters","locationsFilters","getLocationFiltersPickupMode","getLocationFilterSelectedPickupTime","getLocationFiltersSearchInput","getAllLocationImages","locationsImages","getLocationImage","getLoyaltyProductPrograms","loyaltyProductPrograms","getAllValidLoyaltyPrograms","programStateModel","EndDate","StartDate","isDownloadingAnyProgram","hasRequestedLoyaltyProductPrograms","getMemberResetForgottenPasswordState","getMemberEmailConfirmState","getCurrentMember","getGuestData","getMemberState","getAuthorizationStep","isMemberPhoneVeryficationCodeInvalid","isMemberAuthorizedJWT","isMemberLoading","getMemberFullName","phoneRegex","initials","MemberSurname","memberName","memberPhone","getObfuscatedMemberEmail","obfuscateEmail","getObfuscatedForgotMemberEmail","getMemberPhoneNo","mobilePhone","getObfuscatedMemberPhoneNo","obfuscateMobilePhone","hasGuestSignedUp","canCompleteAccountSetup","passwordChangeError","isCheckingTokensForEmailConfirmation","isEmailGUIDTokenValid","isEmailConfirmationSuccess","canOmmitEmailVerification","configCanOmmit","partialMemberSignUpFailed","isDownloadingLoyaltyProducts","isDownloadingFreeProducts","ExpiryDate","IsRedeemed","getFreeProduct","FreeProductId","showAccountPaymentMethod","getAccountBalance","showAccountBalance","isAccountSet","getMenuFlowImagesState","menuFlowImages","getMenuFlows","getMenuFlow","getMenuFlowPages","getOnlineMenu","getOnlineMenuData","getOnlineMenuPages","getOnlineMenuItemById","getOnlineMenuFiltersSearchInput","onlineMenuFilters","getOnlineMenuPagesImages","onlineMenuPagesImages","getImageForOnlineMenuPageProduct","pageProductId","pageImages","isDownloadingAnyOnlineMenuPageImages","getOnlineOrderState","getOnlineOrderTotalTax","tax","sum","getOnlineOrderRecalcData","isOnlineOrderRecalculating","hasRecalculateFailed","hasRecalculateFailedErrorMapped","apiCommunication","getSelectedOrderType","isOrderTypeValid","hasRequired","IsRequired","field","isOrderTypeValidForPosting","isSendingEmailReceipt","hasMetMinimumOrderValueCriteria","MinimumOrderValue","isPaymentDisabledForOnlineOrderValidation","isValidOrderType","orderValueValid","onlineOrderErrorsMapped","hasMetValueCriteria","minimumOrderValue","getOrderTypesForLocation","getOrderTypesForAllLocations","isDownloadingAnyOrderTypes","getPaymentState","getPaymentStepsStatus","isPaymentComplete","getPaymentErrors","isPaymentDisabledForPayments","paymentStatus","isPayingFlag","getPaymentErrorsMapped","previousTransaction","processingPayment","getCurrentRoute","getCurrentRouteQueryParams","isCurrentRouteHome","isCurrentRouteLoyalty","isEmailConfirmationPage","getWizzard","getWizzardMenuFlow","getWizzardSimpleItem","getWizzardSimpleItemUnitPrice","getWizzardMenuFlowQuantity","getWizzardSimpleItemQuantity","getWizzardMenuFlowTotalValue","getWizzardSimpleItemTotalValue","getWizzardTotalSelectedProducts","getWizzardMenuFlowPageItemsTotalQuantity","getWizzardMenuFlowProductTotalQuantity","getWizzardMenuFlowProduct","getWizzardErrors","isWizzardPageQuantityValid","isWizzardPageQuantityMaxedOut","wizzardPageHasSelectedAnyProduct","getWizzardMenuFlowAllProductsForPage","getWizzardMenuFlowFirstProductForPage","getWizzardSelectedModifierForMenuFlowProduct","wizzardRecalculatePricesObj","isCartPopupVisible","cartPopupAnimation","getFreeProductsImageImage","freeProductsImages","getGeolocationState","orderSortFunc","getHistoryOrdersStatus","getHistoryOrders","isOrderFinalized","getHistoryActiveOrders","getHistoryOrder","isLoadingAnyHistoryOrder","hasDownloadedHistoryOrders","isRequestingHistoryOrderFirstTime","hasAnyHistoryOrder","historyOrderIsActive","historyOrderIsFinalized","canShowHistoryOrders","getIngredientsForProduct","getIngredientsByLocationNo","latestTransactions","isDownloadingAnyTransaction","getTransactionById","loader","getLoyaltyIntroductionPages","loyaltyIntroductionPages","getLoyaltyIntroductionPagesImages","loyaltyIntroductionPagesImages","getLoyaltyMessages","loyaltyMessages","getMemberCardBarcodeImage","memberCardBarcodesImages","getMenuFlowDefaultActivation","menuFlowDefaultActivations","getAllModals","isLastModalHiding","getModalById","getOrderTypeImages","orderTypesImages","getOrderTypeImage","getImageForProduct","productImages","productImage","getReorder","canAddToCartReorderItems","foundReorder","foundCartItemSelected","reorderSelectedItemsTotalValue","menuFlowsTotal","simpleItemsTotal","reorderSelectedItemsTotalQuantity","topBar","getAllVenueImages","venuesImages","getVenueImage","getOnlineMenuPageDetails","onlineMenuPageImage","getOnlineMenuPagesFiltered","searchInput","pagesAcc","searchValueStringInObject","productsFiltered","getOrderTypesForCartsLocation","foundTypes","isLoadingLoyaltyInfoForCurrentMember","memberIsLoading","isLoadingLoyaltyProducts","isLoadingFreeProducts","isLoadingPrograms","getLoyaltyFreeProductsForCurrentMember","programs","programsState","pr","loyaltyProduct","codeName","innerObj","program","getLoyaltyFreeProductsForCurrentMemberGrouped","ProductQauantityToIssue","getLoyaltyProgramProductItemsForCurrentMember","stateProducts","emptyPrograms","withProducts","LoyaltyProductProgramId","getOrderingTimeInfoByCartLocation","locationState","getOrderingTimeInfoForTodayByCartLocation","currentLocationNoByRoute","isVenueMode","getOrderSummary","memberHasAvailableBalanceToPayForCartOrder","getPickupTimeLabelForCart","cartLabel","currentLocationWithValidation","canShowOnlineMenuForCurrentLocation","wizzardMenuFlowPagesReports","reports","menuFlowPage","totalProductsQuantity","getStatsForWizzardItem","singleProduct","stats","price","kilojoules","cals","getDietaryTagImagesForWizzardItem","getImageForWizzardItem","isDownloadingAnything","onlineMenuSelection","foundInOnlineMenuItemId","foundImage","__DEMO__canPostOnlineOrder","getCartMenuFlowTotalQuantityForCurrentLocation","getCartSimpleProductTotalQuantityForCurrentLocation","isPaymentDisabledForMember","memberLoading","isCartLocationsPickupsCalculating","foundAvailablePickups","getCurrentLocationBusinessModel","getLocationImageForCurrentLocation","isLocationLoading","foundStatusObj","isLoadingDataForAnyLocation","getLocationPeriods","todaysList","getLocationFuturePickupList","getAvailablePickupTimesWithFutureForLocation","futurePickupList","getFilteredLocations","filterBy","clientTime","isFutureSearch","orderInfoForLocation","dateToSearch","isLocationConfiguredForFutureOrder","locationPickupTimesObj","locationAsapObj","openTime","timeToCheck","searchMatch","searchString","_s","availablePickup","aTag","LocationTags","TagName","bTag","getMenuFlowDetailsByWizzard","menuFlowObj","getNextPriceForMenuFlowProduct","wizzardPageProducts","productItem","isPageSpecialPricingLimitReached","getModalDataForOnlineMenuItem","selectedOnlineMenu","Image","Stats","getStatsForSingleProduct","getMenuFlowDetailsSepcificPageByWizzard","getMenuFlowDetailsPagesByWizzard","isWizzardPageLimitReached","currentTotalQuantity","isWizzardPageOneAllowed","getCurrentLocationNoWithMemberId","getCartMenuFlowDescription","generateCartMenuFlowDescription","getCartLocationFriendlyName","canNavigateToCheckoutAuthorizedOnly","canNavigateToCheckoutUnauthorized","productActionToTake","routeIsLocationsSearchPage","routeIsLocationDetailsPage","routeIsAccountPage","ACCOUNT_REGEXP","routeIsErrorPage","ERROR_REGEXP","getOrderErrorsMapped","offlineErrors","paymentErrors","isPaymentDisabled","accountHasSufficientCredits","cartTotalQuantity","orderPaymentDisabled","memberPaymentDisabled","paymentDisabledForPayments","cardsPaymentDisabled","accountChargePaymentDisabled","getOrderingTimeInfoForCartPickupLocationNo","timeinfo","generatedPickupTimesForLocationForPeriod","todayPickups","minPickupTime","CTRGladman","incWord","b1","b2","b3","relativeTimeWithSingular","PC1","PC2","BIT_SHIFTS","SBOX_P","SBOX_MASK","DES","keyBits","keyBitPos","subKeys","_subKeys","nSubKey","subKey","bitShift","invSubKeys","_invSubKeys","_lBlock","_rBlock","exchangeLR","exchangeRL","lBlock","rBlock","TripleDES","_des1","createEncryptor","_des2","_des3","MaxOnScreenHeightService","bottomOffset","sourceRegistry","heightAdjustItemsRegistry","itemsRegistry","emittersRegistry","_setEmitter","_emitHeightUpdate","_configureSubMap","emitter","rects","sourceTopOffset","heightAdjustTotal","subHeightAdjustReg","innerItemsTotalHeight","subItemsRegistry","maxHeight","mapName","subReg","subItems","CipherParams","cipherParams","ciphertext","MapOperator","MapSubscriber","WizzardCancel","WizzardValidate","WizzardSetupItem","WizzardSilentSetupItem","WizzardStepMenuFlowInit","WizzardStepMenuFlowRequestData","WizzardStepMenuFlowActivateProducts","WizzardStepMenuFlowMount","WizzardStepSimpleItemMount","WizzardMountMenuFlowUpsell","WizzardUnmountAll","WizzardSimpleItemIncrement","WizzardSimpleItemDecrement","WizzardSimpleItemSpecialInstructions","WizzardMenuFlowReplaceAllWithNew","WizzardRecalculatePricesForMenuFlowRequest","WizzardRecalculatePricesForMenuFlowSuccessRequest","WizzardRecalculatePricesForMenuFlowErrorRequest","WizzardMenuFlowIncrement","WizzardMenuFlowDecrement","WizzardMenuFlowSpecialInstructions","WizzardMenuFlowAddProduct","WizzardMenuFlowRemoveProduct","WizzardMenuFlowProductDecrement","WizzardMenuFlowProductIncrement","WizzardMenuFlowSelectModifier","WizzardMenuFlowUpsellSetupRequest","isUpper","SubjectSubscriber","observers","AnonymousSubject","copy","_hasher","hasherBlockSize","hasherBlockSizeBytes","oKey","_oKey","iKey","_iKey","oKeyWords","iKeyWords","innerHash","ExhaustMapOperator","ExhaustMapSubscriber","hasSubscription","hasCompleted","tryNext","AlertMessagesStateModule","LOADER_SHOW","LOADER_HIDE","webpackPolyfill","deprecate","paths","enumerable","UnsubscriptionError","UnsubscriptionErrorImpl","_subscriptions","flattenUnsubscriptionErrors","teardown","tmp","subscriptions","subscriptionIndex","errs","LatestTransactionsRequest","LatestTransactionsSuccessRequest","LatestTransactionsErrorRequest","LatestTransactionsReset","MergeMapOperator","MergeMapSubscriber","ish","numbersNouns","numberNoun","hundred","ten","one","fromArray","CONFIG_TOKEN","ENV_TOKEN","ENV_BUILD_TOKEN","GenericBrowserDomAdapter","BrowserDomAdapter","groupEnd","evt","dispatchEvent","getDefaultDocument","DocumentFragment","baseElement","getAttribute","urlParsingNode","TRANSITION_ID","SERVER_TRANSITION_PROVIDERS","transitionId","dom","BrowserGetTestability","getAllTestabilities","getAllRootElements","testabilities","didWork","decrement","didWork_","whenStable","getTestability","isShadowRoot","parentElement","EVENT_MANAGER_PLUGINS","EventManager","plugins","_eventNameToPlugin","manager","_plugins","_findPluginFor","addGlobalEventListener","plugin","EventManagerPlugin","SharedStylesHost","_stylesSet","additions","onStylesAdded","DomSharedStylesHost","_hostNodes","_styleNodes","styleEl","hostNode","_addStylesToHost","styleNode","NAMESPACE_URIS","COMPONENT_REGEX","flattenStyles","compId","decoratePreventDefault","eventHandler","DomRendererFactory2","eventManager","sharedStylesHost","rendererByCompId","defaultRenderer","DefaultDomRenderer2","EmulatedEncapsulationDomRenderer2","applyToHost","ShadowDomRenderer","addStyles","namespaceUri","removeAttributeNS","nodeValue","contentAttr","hostAttr","componentShortId","hostEl","shadowRoot","attachShadow","createShadowRoot","addHost","removeHost","nodeOrShadowRoot","DomEventsPlugin","HammerGestureConfig","events","mc","MODIFIER_KEYS","_keyMap","_chromeNumKeyPadMap","MODIFIER_KEY_GETTERS","altKey","shiftKey","KeyEventsPlugin","parseEventName","parsedEvent","outsideHandler","eventCallback","getZone","onAndCancel","domEventName","_normalizeKey","fullKey","modifierName","keyIdentifier","modifierGetter","getEventFullKey","keyName","DomSanitizer","DomSanitizerImpl","domSanitizerImplFactory","INTERNAL_BROWSER_PLATFORM_PROVIDERS","makeCurrent","platformBrowser","BROWSER_MODULE_PROVIDERS","BrowserModule","parentModule","AnimationBuilder","AnimationFactory","AUTO_STYLE","sequence","stateChangeExpr","animateChild","useAnimation","NoopAnimationPlayer","_onStart","triggerMicrotask","AnimationGroupPlayer","_players","doneCount","destroyCount","startCount","_onDestroy","timeAtPosition","ɵPRE_STYLE","DevConsoleComponent","envBuildToken","devService","logs$","getLogsData$","isDev","_container","decode","converter","toUTCString","write","stringifiedAttributes","attributeName","jar","cookies","getJSON","withConverter","throwIfEmpty","errorFactory","defaultErrorFactory","ThrowIfEmptyOperator","ThrowIfEmptySubscriber","SetCartPopup","selectAlertMessages","alertMessages","Base64","Cipher","C_mode","CBC","Pkcs7","OpenSSLFormatter","SerializableCipher","OpenSSLKdf","PasswordBasedCipher","_ENC_XFORM_MODE","createDecryptor","_DEC_XFORM_MODE","xformMode","_xformMode","dataUpdate","selectCipherStrategy","xorBlock","paddingWord","paddingWords","padding","modeCreator","_mode","__creator","finalProcessedBlocks","OpenSSL","openSSLStr","ciphertextWords","encryptor","cipherCfg","algorithm","_parse","kdf","derivedParams","base64Chars","triplet","paddingChar","base64Str","base64StrLength","reverseMap","_reverseMap","paddingIndex","bits1","bits2","RefCountOperator","refCounter","RefCountSubscriber","sharedConnection","observableFactory","relativeTimeWithMutation","mutationTable","lastNumber","defaultIfEmpty","DefaultIfEmptyOperator","DefaultIfEmptySubscriber","startWith","hasDefaultValue","OrderTypesRequest","OrderTypesSuccessRequest","OrderTypesErrorRequest","OrderTypesImagesRequest","OrderTypesImagesSuccessRequest","OrderTypesImagesErrorRequest","AsyncAction","AsyncScheduler","noop","Iso97971","AvailablePickupsCalculateRequest","AvailablePickupsCalculateSuccessRequest","AvailablePickupsCalculateErrorRequest","ScrollService","_updateListener","SelectivePreloadingStrategyService","preloadedModules","MenuFlowImagesRequest","MenuFlowImagesSuccessRequest","MenuFlowImagesErrorRequest","outerSubscriber","concatAll","func","descriptor","Class","AutoUnsubscribe","targetClass","originalFunction","Meta","titleSeparator","appendBaseTitle","extendTitle","defineProperties","baseTitle","configurable","prevTitle","prevMetas","author","keywords","setTitle","viewClassName","setViewCSSClassName","cssClassName","unsetViewCSSClassName","setMeta","isNgOnDestroyDefined","originalInitFunction","TopBarSetStickyFlag","TopBarSetCartIconVisibility","TopBarSetBackToStoreIconVisibility","TopBarSetBackToLandingIconVisibility","NG_VALUE_ACCESSOR","CHECKBOX_VALUE_ACCESSOR","CheckboxControlValueAccessor","_elementRef","onChange","onTouched","checked","DEFAULT_VALUE_ACCESSOR","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","_compositionMode","_composing","getUserAgent","_handleInput","_compositionStart","_compositionEnd","AbstractControlDirective","valid","invalid","pristine","touched","untouched","statusChanges","valueChanges","errorCode","getError","ControlContainer","ɵControlContainer_BaseFactory","unimplemented","NgControl","valueAccessor","_rawValidators","_rawAsyncValidators","AbstractControlStatus","cd","_cd","NgControlStatus","ngClassUntouched","ngClassTouched","ngClassPristine","ngClassDirty","ngClassValid","ngClassInvalid","ngClassPending","NgControlStatusGroup","isEmptyInputValue","NG_VALIDATORS","NG_ASYNC_VALIDATORS","EMAIL_REGEXP","Validators","minLength","nullValidator","regexStr","validators","presentValidators","isPresent","_mergeErrors","toObservable","arrayOfErrors","normalizeValidator","validator","validate","normalizeAsyncValidator","NUMBER_VALUE_ACCESSOR","NumberValueAccessor","RADIO_VALUE_ACCESSOR","RadioControlValueAccessor","RadioControlRegistry","_accessors","accessor","_isSameGroup","fireUncheck","controlPair","_control","_registry","_checkName","_fn","writeValue","formControlName","_throwNameError","RANGE_VALUE_ACCESSOR","RangeValueAccessor","FormErrorExamples","ReactiveErrors","directiveName","SELECT_VALUE_ACCESSOR","SelectControlValueAccessor","_buildValueString","_optionMap","_idCounter","_compareWith","_getOptionId","valueString","_getOptionValue","compareWith","NgSelectOption","_select","_registerOption","_setElementValue","ngValue","SELECT_MULTIPLE_VALUE_ACCESSOR","SelectMultipleControlValueAccessor","_buildValueString$1","optionSelectedStateSetter","opt","_setSelected","selectedOptions","ɵNgSelectMultipleOption","controlPath","setUpControl","_throwError","compose","asyncValidator","composeAsync","registerOnChange","_pendingValue","_pendingChange","_pendingDirty","updateOn","updateControl","emitModelEvent","viewToModelUpdate","registerOnTouched","_pendingTouched","markAsTouched","setDisabledState","registerOnDisabledChange","registerOnValidatorChange","updateValueAndValidity","markAsDirty","emitModelToViewChange","setUpFormContainer","_noControlError","messageEnd","composeValidators","composeAsyncValidators","isPropertyUpdated","viewModel","isFirstChange","BUILTIN_ACCESSORS","syncPendingControls","_syncPendingControls","selectValueAccessor","valueAccessors","defaultAccessor","builtinAccessor","customAccessor","removeDir","coerceToValidator","validatorOrOpts","isOptionsObj","coerceToAsyncValidator","origAsyncValidator","asyncValidators","AbstractControl","_onCollectionChange","_onDisabledChange","_updateOn","newValidator","onlySelf","_forEachChild","markAllAsTouched","markAsUntouched","_updateTouched","markAsPristine","_updatePristine","emitEvent","markAsPending","skipPristineCheck","_parentMarkedDirty","_updateValue","_updateAncestors","changeFn","_setInitialStatus","_cancelExistingSubscription","_runValidator","_calculateStatus","_runAsyncValidator","ctrl","_updateTreeValidity","_allControlsDisabled","_asyncValidationSubscription","setErrors","_updateControlsErrors","delimiter","controlToFind","FormGroup","FormArray","at","_anyControlsHaveStatus","_anyControls","_anyControlsDirty","_anyControlsTouched","formState","FormControl","_onChange","_applyFormState","_setUpdateStrategy","_initObservables","emitViewToModelChange","_isBoxedValue","_setUpControls","setParent","_registerOnCollectionChange","registerControl","_checkAllValuesPresent","_throwIfControlMissing","patchValue","_reduceChildren","getRawValue","subtreeUpdated","updated","_reduceValue","initValue","_registerControl","formDirectiveProvider","NgForm","resolvedPromise","submitted","_directives","ngSubmit","_findContainer","removeControl","resetForm","onSubmit","onReset","AbstractFormGroupDirective","_checkParentType","addFormGroup","formDirective","removeFormGroup","getFormGroup","_validators","_asyncValidators","ɵAbstractFormGroupDirective_BaseFactory","TemplateDrivenErrors","modelGroupProvider","NgModelGroup","modelGroupParentException","formControlBinding","NgModel","resolvedPromise$1","_registered","_checkForErrors","_setUpControl","_updateDisabled","_isStandalone","_setUpStandalone","addControl","formGroupNameException","modelParentException","missingNameException","disabledValue","ɵNgNoValidate","NG_MODEL_WITH_FORM_CONTROL_WARNING","formDirectiveProvider$1","FormGroupDirective","_checkFormPresent","_updateValidators","_updateDomValue","_updateRegistrations","newCtrl","_clearChangeFns","_oldForm","sync","missingFormException","formGroupNameProvider","FormGroupName","_hasInvalidParent","groupParentException","formArrayNameProvider","FormArrayName","addFormArray","removeFormArray","getFormArray","arrayParentException","controlNameBinding","FormControlName","_ngModelWarningConfig","_added","_ngModelWarningSent","disabledAttrWarning","warningConfig","_ngModelWarningSentOnce","ngModelWarning","updateModel","ngModelGroupException","controlParentException","REQUIRED_VALIDATOR","RequiredValidator","_required","MIN_LENGTH_VALIDATOR","MinLengthValidator","_createValidator","minlength","_validator","MAX_LENGTH_VALIDATOR","MaxLengthValidator","maxlength","PATTERN_VALIDATOR","PatternValidator","ɵInternalFormsSharedModule","FormBuilder","controlsConfig","_reduceControls","_createControl","controlConfig","FormsModule","ReactiveFormsModule","warnOnNgModelWithFormControl","C_x64","X64WordArray","SHA512","SHA384","HmacSHA384","LoyaltyIntroductionPageImageRequest","LoyaltyIntroductionPageImageSuccessRequest","LoyaltyIntroductionPageImageErrorRequest","durationSelector","AuditOperator","AuditSubscriber","throttled","clearThrottle","DrawCollapseResolver","SHA224","HmacSHA224","InnerSubscriber","notifyNext","notifyError","notifyComplete","_zl","_zr","_sl","_sr","_hl","_hr","RIPEMD160","al","bl","cl","dl","ar","br","cr","dr","er","hl","hr","zl","zr","sl","sr","f4","f5","rotl","z","HmacRIPEMD160","NEVER","MemberCardBarcodesImagesRequest","MemberCardBarcodesImagesSuccessRequest","MemberCardBarcodesImagesErrorRequest","FinallyOperator","FinallySubscriber","kind","do","undefinedValueNotification","completeNotification","takeLast","ring","EveryOperator","everyValueMatch","RouterEvent","NavigationStart","navigationTrigger","restoredState","NavigationEnd","NavigationCancel","reason","NavigationError","RoutesRecognized","GuardsCheckStart","GuardsCheckEnd","shouldActivate","ResolveStart","ResolveEnd","RouteConfigLoadStart","RouteConfigLoadEnd","ChildActivationStart","snapshot","routeConfig","ChildActivationEnd","ActivationStart","ActivationEnd","routerEvent","ɵEmptyOutletComponent","ParamsAsMap","convertToParamMap","navigationCancelingError","defaultUrlMatcher","segments","segmentGroup","pathMatch","hasChildren","posParams","segment","consumed","LoadedRouterConfig","validateConfig","parentPath","validateNode","getFullPath","fullPath","loadChildren","outlet","redirectTo","matcher","currentRoute","standardizeConfig","shallowEqual","equalArraysOrString","aItem","wrapIntoObservable","containsTree","containee","exact","equalSegmentGroups","equalPath","numberOfChildren","containsSegmentGroup","containsSegmentGroupHelper","containeePaths","UrlTree","_queryParamMap","DEFAULT_SERIALIZER","serialize","UrlSegmentGroup","serializePaths","UrlSegment","_parameterMap","serializePath","as","bs","mapChildrenIntoArray","childOutlet","UrlSerializer","DefaultUrlSerializer","UrlParser","parseRootSegment","parseQueryParams","parseFragment","tree","serializeSegment","primary","strParams","encodeUriQuery","encodeUriString","encodeUriSegment","decodeQuery","SEGMENT_RE","matchSegments","QUERY_PARAM_RE","QUERY_PARAM_VALUE_RE","remaining","consumeOptional","peekStartsWith","parseChildren","parseQueryParam","parseSegment","capture","parseParens","parseMatrixParams","parseParam","valueMatch","decodedKey","decodedVal","currentVal","allowPrimary","outletName","Tree","_root","pathFromRoot","findNode","findPath","cc","TreeNode","nodeChildrenAsMap","RouterState","setRouterState","createEmptyState","urlTree","activated","ActivatedRouteSnapshot","RouterStateSnapshot","emptyUrl","emptyParams","emptyData","emptyQueryParams","futureSnapshot","_futureSnapshot","_routerState","_paramMap","inheritedParamsDataResolve","paramsInheritanceStrategy","inheritingStartingFrom","_resolvedData","urlSegment","lastPathIndex","_urlSegment","_lastPathIndex","_resolve","serializeNode","advanceActivatedRoute","nextSnapshot","equalParamsAndUrlSegments","isMatrixParams","outlets","segmentPath","oldSegmentGroup","newSegmentGroup","qp","replaceSegment","oldSegment","newSegment","Navigation","isAbsolute","numberOfDoubleDots","commands","cmdWithOutlet","Position","processChildren","getPath","updateSegmentGroup","updateSegmentGroupChildren","currentCommandIndex","currentPathIndex","noMatch","pathIndex","commandIndex","slicedCommands","createNewSegmentGroup","createNewSegmentChildren","ActivateRoutes","routeReuseStrategy","futureState","currState","forwardEvent","parentContexts","futureRoot","currRoot","deactivateChildRoutes","activateChildRoutes","futureNode","currNode","contexts","futureChild","childOutletName","deactivateRoutes","childName","deactivateRouteAndItsChildren","getContext","shouldDetach","detachAndStoreRouteSubtree","deactivateRouteAndOutlet","onOutletDeactivated","deactivate","activateRoutes","getOrCreateContext","shouldAttach","stored","retrieve","onOutletReAttached","attachRef","attach","advanceActivatedRouteNodeAndItsChildren","_loadedConfig","cmpFactoryResolver","resolver","activateWith","isUrlTree","NoMatch","AbsoluteRedirect","absoluteRedirect","newTree","namedOutletsRedirect","configLoader","urlSerializer","allowRedirects","expandSegmentGroup","rootSegmentGroup","createUrlTree","noMatchError","rootCandidate","expandChildren","expandSegment","waitHead","waitTail","mapped","expandSegmentAgainstRoute","noLeftoversInUrl","getOutlet","matchSegmentAgainstRoute","expandSegmentAgainstRouteUsingRedirect","expandWildCardWithParamsAgainstRouteUsingRedirect","expandRegularSegmentAgainstRouteUsingRedirect","applyRedirectCommands","lineralizeSegments","newSegments","consumedSegments","lastChild","positionalParamSegments","rawSegmentGroup","rawSlicedSegments","getChildConfig","routerConfig","childModule","childConfig","slicedSegments","isEmptyPathRedirect","mergeTrivialChildren","primarySegmentGroup","cs","canLoad","injectionToken","guard","guardVal","shouldLoad","applyRedirectCreatreUrlTree","newRoot","createSegmentGroup","createQueryParams","redirectToParams","actualParams","sourceName","updatedSegments","createSegments","redirectToSegments","actualSegments","findPosParam","findOrReturn","redirectToUrlSegment","CanActivate","CanDeactivate","getAllRouteGuards","getChildRouteGuards","futurePath","checks","canDeactivateChecks","canActivateChecks","prevChildren","shouldRun","runGuardsAndResolvers","getToken","isActivated","INITIAL_VALUE","prioritizedGuardValue","isPending","fireActivationStart","fireChildActivationStart","runCanActivate","futureRSS","futureARS","canActivate","canActivateObservables","runCanActivateChild","canActivateChildGuardsMapped","canActivateChild","guards","guardsMapped","NoMatch$1","rootComponentType","relativeLinkResolution","split$1","processSegmentGroup","rootNode","routeState","inheritParamsAndData","routeNode","processSegment","names","routeWithSameOutletName","localeCompare","processSegmentAgainstRoute","rawSegment","getData","getSourceSegmentGroup","getPathIndexShift","getResolve","_sourceSegment","_segmentIndexShift","emptyPathMatch","getOutlet$1","primarySegment","getResolver","switchTap","nextResult","DefaultRouteReuseStrategy","detachedTree","ROUTES","onLoadStartListener","onLoadEndListener","loadModuleFactory","DefaultUrlHandlingStrategy","newUrlPart","wholeUrl","defaultErrorHandler","defaultMalformedUriErrorHandler","defaultRouterHook","runExtras","Router","rootContexts","lastSuccessfulNavigation","currentNavigation","navigationId","isNgZoneEnabled","malformedUriErrorHandler","navigated","lastSuccessfulId","beforePreactivation","afterPreactivation","urlHandlingStrategy","onSameUrlNavigation","urlUpdateStrategy","resetConfig","currentUrlTree","rawUrlTree","browserUrlTree","triggerEvent","currentRawUrl","extractedUrl","extract","rawUrl","targetSnapshot","currentRouterState","targetRouterState","guardsResult","navigations","setupNavigations","processNavigations","eventsSubject","initialUrl","previousNavigation","urlTransition","shouldProcessUrl","serializeUrl","finalUrl","serializer","recognize","skipLocationChange","setBrowserUrl","replaceUrl","routesRecognized","navStart","appliedUrlTree","guardsStart","currRSS","currARS","canDeactivate","canDeactivateObservables","guardsEnd","resetUrlToCurrentUrlTree","navCancel","resolveStart","resolvedData","__","resolveEnd","prevState","createNode","shouldReuseRoute","detachedRouteHandle","setFutureSnapshotsOfActivatedRoutes","activate","redirecting","resetStateAndUrl","mergedTree","scheduleNavigation","navError","ee","getTransition","setUpLocationChangeListener","navigateByUrl","locationSubscription","parseUrl","navigationExtras","relativeTo","preserveQueryParams","preserveFragment","q","removeEmptyProps","nav","cmd","cmdIdx","urlPart","partIndex","toRoot","startingPosition","ci","priorPromise","lastNavigation","setTransition","isCurrentPathEqualTo","go","storedState","storedUrl","RouterLinkWithHref","locationStrategy","updateTargetUrlAndHref","preserve","button","attrBoolValue","onClick","routerLink","OutletContext","ChildrenOutletContexts","RouterOutlet","changeDetector","_activatedRoute","activateEvents","deactivateEvents","onChildOutletCreated","onChildOutletDestroyed","cmp","ref","activatedRoute","childContexts","OutletInjector","createComponent","PreloadingStrategy","RouterPreloader","moduleLoader","preloadingStrategy","preload","processRoutes","preloadConfig","RouterScroller","viewportScroller","lastId","lastSource","restoredId","scrollPositionRestoration","anchorScrolling","setHistoryScrollRestoration","routerEventsSubscription","createScrollEvents","scrollEventsSubscription","consumeScrollEvents","getScrollPosition","scheduleScrollEvent","scrollToPosition","scrollToAnchor","ROUTER_CONFIGURATION","ROUTER_FORROOT_GUARD","ROUTER_PROVIDERS","enableTracing","logGroup","logGroupEnd","routerNgProbeToken","RouterModule","provideRoutes","provideForRootGuard","createRouterScroller","getAppInitializer","ROUTER_INITIALIZER","getBootstrapListener","scrollOffset","setOffset","platformLocationStrategy","useHash","RouterInitializer","initNavigation","resultOfPreactivationDone","isLegacyDisabled","isLegacyEnabled","initialNavigation","bootstrappedComponentRef","preloader","routerScroller","setUpPreloading","resetRootComponentType","appInitializer","bootstrapListener","createAction","defineType","_as","_p","creator","INIT","ActionsSubject","ACTIONS_SUBJECT_PROVIDERS","_ROOT_STORE_GUARD","_INITIAL_STATE","INITIAL_STATE","REDUCER_FACTORY","_REDUCER_FACTORY","INITIAL_REDUCERS","_INITIAL_REDUCERS","STORE_FEATURES","_STORE_REDUCERS","_FEATURE_REDUCERS","_FEATURE_CONFIGS","_STORE_FEATURES","_FEATURE_REDUCERS_TOKEN","FEATURE_REDUCERS","USER_PROVIDED_META_REDUCERS","META_REDUCERS","_RESOLVED_META_REDUCERS","USER_RUNTIME_CHECKS","_USER_RUNTIME_CHECKS","_ACTIVE_RUNTIME_CHECKS","combineReducers","reducers","reducerKeys","finalReducers","finalReducerKeys","hasChanged","previousStateForKey","nextStateForKey","functions","composed","createReducerFactory","reducerFactory","ReducerManagerDispatcher","ReducerManager","dispatcher","addFeatures","reducerDict","addReducers","removeFeatures","removeReducers","updateReducers","featureKey","featureKeys","keyToRemove","REDUCER_MANAGER_PROVIDERS","ScannedActionsSubject","ɵScannedActionsSubject_BaseFactory","SCANNED_ACTIONS_SUBJECT_PROVIDERS","reducer$","scannedActions","stateAndAction$","reduceState","stateSubscription","stateActionPair","STATE_PROVIDERS","Store","actionsObserver","reducerManager","pathOrMapFn","addReducer","removeReducer","STORE_PROVIDERS","propsOrPath","source$","mapped$","pathSlices","currentProp","isEqualCheck","isArgumentsChanged","lastArguments","comparator","defaultMemoize","projectionFn","isArgumentsEqual","isResultEqual","overrideResult","lastResult","memoized","newResult","setResult","createSelector","memoize","stateFn","defaultStateFn","tail","projector","memoizedSelectors","release","memoizedProjector","memoizedState","createFeatureSelector","featureName","featureState","isUndefined","isNull","isObjectLike","targetIsFunction","propValue","isFrozen","getUnserializable","targetPrototype","throwIfUnserializable","unserializable","unserializablePath","createActiveRuntimeChecks","runtimeChecks","strictStateSerializability","strictActionSerializability","strictStateImmutability","strictActionImmutability","createSerializationCheckMetaReducer","createImmutabilityCheckMetaReducer","act","_runtimeChecksFactory","StoreRootModule","scannedActions$","StoreFeatureModule","featureReducers","feats","featureReducerCollection","_initialStateFactory","StoreModule","_provideForRootGuard","_createStoreReducers","_concatMetaReducers","_createFeatureStore","_createFeatureReducers","configs","featureStores","feat","conf","reducerCollection","userProvidedMetaReducers","createReducer","ons","existingReducer","monthsNominativeEl","monthsGenitiveEl","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","mom","_calendarEl","numbersPast","numbersFuture","eifelerRegelAppliesToNumber","HttpHandler","HttpBackend","HttpHeaders","normalizedNames","lazyUpdate","lazyInit","line","maybeSetNormalizedName","op","lcName","copyFrom","applyUpdate","other","toDelete","HttpUrlEncodingCodec","standardEncoding","HttpParams","updates","cloneFrom","fromString","codec","eqIdx","decodeKey","decodeValue","eKey","encodeKey","encodeValue","isArrayBuffer","isBlob","Blob","isFormData","FormData","HttpRequest","method","third","fourth","reportProgress","withCredentials","urlWithParams","qIdx","setHeaders","setParams","HttpEventType","Sent","UploadProgress","ResponseHeader","DownloadProgress","Response","User","HttpResponseBase","defaultStatus","defaultStatusText","statusText","ok","HttpHeaderResponse","HttpResponse","HttpErrorResponse","addBody","HttpClient","events$","handle","res$","callbackParam","HttpInterceptorHandler","interceptor","intercept","HTTP_INTERCEPTORS","NoopInterceptor","XSSI_PREFIX","XhrFactory","BrowserXhr","HttpXhrBackend","xhrFactory","detectedType","detectContentTypeHeader","reqBody","serializeBody","headerResponse","partialFromXhr","getAllResponseHeaders","responseURL","onLoad","responseText","originalBody","sentHeaders","onDownProgress","progressEvent","loaded","lengthComputable","partialText","onUpProgress","upload","XSRF_COOKIE_NAME","XSRF_HEADER_NAME","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","lastCookieString","lastToken","parseCount","cookieString","HttpXsrfInterceptor","tokenService","headerName","lcUrl","HttpInterceptingHandler","backend","chain","interceptors","HttpClientXsrfModule","HttpClientModule","withOptions","WithLatestFromOperator","WithLatestFromSubscriber","_tryProject","X32WordArray","toX32","x64Words","x64WordsLength","x32Words","x64Word","wordsLength","AppModeOrderingGuard","_router","AppModeRootGuard","_controllers","AuthorizationGuard","CheckoutGuard","recalculateOrderAction","DynamicPathsGuard","routeUpdate$","_navigateTo404","splittedUrl","GUIDGuard","UniqueCodeGuard","OFB","_keystream","HistoryOrdersReset","HistoryOrdersRequest","HistoryOrdersSuccessRequest","HistoryOrdersErrorRequest","HistoryOrderRequest","HistoryOrderSuccessRequest","HistoryOrderErrorRequest","hookCallback","isNumber","hasOwnProp","createUTC","strict","createLocalOrUTC","utc","getParsingFlags","_pf","unusedTokens","unusedInput","overflow","charsLeftOver","nullInput","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","rfc2822","weekdayMismatch","_isValid","parsedParts","isNowValid","_d","invalidWeekday","_strict","bigHour","createInvalid","fun","momentProperties","copyConfig","_isAMomentObject","_f","_l","_tzm","_isUTC","_offset","updateInProgress","Moment","updateOffset","isMoment","absFloor","toInt","argumentForCoercion","coercedNumber","compareArrays","array1","array2","dontConvert","lengthDiff","diffs","suppressDeprecationWarnings","firstTime","deprecationHandler","deprecations","deprecateSimple","mergeConfigs","parentConfig","Locale","aliases","addUnitAlias","shorthand","lowerCase","normalizeUnits","normalizeObjectUnits","inputObject","normalizedInput","priorities","addUnitPriority","priority","zeroFill","targetLength","forceSign","absNumber","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","localeData","formatMoment","expandFormat","invalidDate","replaceLongDateFormatTokens","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","regexes","addRegexToken","strictRegex","isStrict","getParseRegexForToken","regexEscape","p1","p2","p3","p4","addParseToken","addWeekParseToken","_w","addTimeToArrayFromToken","daysInYear","isLeapYear","parseTwoDigitYear","getSetYear","makeGetSet","keepTime","set$1","daysInMonth","modMonth","MONTHS_IN_FORMAT","defaultLocaleMonths","defaultLocaleMonthsShort","handleStrictParse","monthName","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","setMonth","dayOfMonth","getSetMonth","defaultMonthsShortRegex","defaultMonthsRegex","computeMonthsParse","cmpLenRev","shortPieces","longPieces","mixedPieces","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","createUTCDate","getUTCFullYear","firstWeekOffset","fwd","getUTCDay","dayOfYearFromWeeks","weekday","resYear","resDayOfYear","dayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","shiftWeekdays","ws","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","weekdaysParse","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","computeWeekdaysParse","minp","shortp","longp","minPieces","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","hFormat","lowercase","matchMeridiem","_meridiemParse","kInput","_isPm","_meridiem","pos1","pos2","globalLocale","getSetHour","baseConfig","localeFamilies","normalizeLocale","loadLocale","oldLocale","_abbr","getSetGlobalLocale","getLocale","abbr","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","configFromArray","currentDate","expectedWeekday","yearToUse","nowValue","_useUTC","getUTCMonth","getUTCDate","w","weekYear","temp","weekdayOverflow","E","createLocal","_week","curWeek","gg","_dayOfYear","_nextDay","setUTCMinutes","getUTCMinutes","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","configFromStringAndFormat","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromRFC2822","monthStr","dayStr","hourStr","minuteStr","secondStr","yearStr","parsedArray","weekdayStr","parsedInput","obsOffset","militaryOffset","numOffset","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","isPm","prepareConfig","tempConfig","bestMoment","scoreToBeat","currentScore","score","createFromInputFallback","second","millisecond","isUTC","prototypeMin","prototypeMax","pickBy","moments","ordering","Duration","years","quarters","quarter","weeks","isoWeek","unitHasDecimal","_milliseconds","_days","_months","_bubble","isDuration","absRound","utcOffset","sign","offsetFromString","chunkOffset","cloneWithOffset","setTime","local","getDateOffset","isUtc","aspNetRegex","isoRegex","createDuration","ret","diffRes","parseIso","isBefore","positiveMomentsDifference","inp","isAfter","createAdder","addSubtract","subtract","monthDiff","wholeMonthDiff","newLocaleData","defaultFormat","defaultFormatUtc","lang","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","addWeekYearFormatToken","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","isoWeekYear","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","getSetDayOfMonth","getSetMinute","getSetSecond","parseMs","getSetMillisecond","preParsePostFormat","formats","sod","startOf","calendarFormat","asFloat","that","zoneDelta","endOf","startOfDate","isoWeekday","inputString","humanize","fromNow","toNow","invalidAt","localInput","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","parsingFlags","prioritized","unitsObj","toArray","toObject","toDate","keepOffset","inspect","isLocal","toJSON","unix","creationData","isoWeeks","weekInfo","isoWeeksInYear","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","parseZone","tZone","hasAlignedHourOffset","isDST","isUtcOffset","zoneAbbr","zoneName","dates","isDSTShifted","_isDSTShifted","proto$1","get$1","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","_calendar","_longDateFormat","formatUpper","_invalidDate","_ordinal","_relativeTime","pastFuture","_monthsShort","_monthsParseExact","firstDayOfWeek","_weekdays","_weekdaysMin","_weekdaysShort","_weekdaysParseExact","_fullWeekdaysParse","langData","mathAbs","addSubtract$1","absCeil","daysToMonths","monthsToDays","makeAs","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","makeGetter","thresholds","substituteTimeAgo","abs$1","toISOString$1","Y","D","totalSign","ymSign","daysSign","hmsSign","proto$2","monthsFromDays","withSuffix","posNegDuration","toIsoString","version","updateLocale","tmpLocale","relativeTimeRounding","roundingFunction","relativeTimeThreshold","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","DATE","TIME","TIME_SECONDS","TIME_MS","WEEK","MONTH","MenuFlowPagesService","_isLocked","collapsedElement$","currentActivePageIdentifier$","wrapperContainer","detectThreshold","foundActivePageIdentifier","targetY","targetYBottomEdge","scrollPosY","scrollDuration","targetElem","_lock","smoothScrollInnerElement","FilterOperator","FilterSubscriber","SubjectSubscription","subscriberIndex","__DevSetState","StateSave","StateSaveSuccess","StateSaveError","StateRestore","StateRestored","IgnoreElementsOperator","MaterializeOperator","groupBy","elementSelector","subjectSelector","GroupByOperator","attemptedToUnsubscribe","_group","groupedObservable","removeGroup","groupSubject","refCountSubscription","DeMaterializeOperator","DEFAULT_EFFECT_CONFIG","resubscribeOnError","getCreateEffectMetadata","getSourceForInstance","Effect","sourceProto","hasMetadataEntries","getEffectDecoratorMetadata","getEffectMetadataEntries","Actions","ofType","allowedTypes","typeOrActionCreator","EffectSources","effectSourceInstance","effectsInstance","sourceInstance","mergedEffects$","observables$","observable$","resubscribable$","resubscribeInCaseOfError","effect","ngrxOnRunEffects","reporter","isMethod","_ROOT_EFFECTS_GUARD","ROOT_EFFECTS","FEATURE_EFFECTS","EffectsRunner","effectSources","effectsSubscription","toActions","EffectsRootModule","runner","rootEffects","storeRootModule","storeFeatureModule","addEffects","EffectsFeatureModule","effectSourceGroups","EffectsModule","featureEffects","createSourceInstances","instances","X64Word_create","H0","H1","H2","H3","H4","H5","H6","H7","H0h","H0l","H1h","H1l","H2h","H2l","H3h","H3l","H4h","H4l","H5h","H5l","H6h","H6l","H7h","H7l","ah","bh","dh","eh","fh","fl","gh","gl","Wi","Wih","Wil","gamma0xh","gamma0xl","gamma0l","gamma1xh","gamma1xl","gamma1l","Wi7","Wi16","Wi16l","t1l","chh","chl","majh","sigma0l","Ki","Kil","t1h","t2l","HmacSHA512","environment","buildEnvironment","defaultConfig","introText","headerText","descriptionText","cardNumberLabelText","energyUnits","disclaimer","Code","MinLength","MaxLength","sessionCookieExpDays","minimumAgeToSignUp","pickupPopup","refreshDelay","defaultLocationThumb","googleMaps","center","lat","lng","zoom","markerWidth","markerHeight","markerSelectedWidth","markerSelectedHeight","markerDownsizeFactor","startAt","ellipsis","completeWords","wizzardDescription","passwordRules","upperCaseCount","lowerCaseCount","digitsCount","specialCharsCount","allowWhiteSpaces","searchPlaceholderText","heroBackground","topGradient","overlay","freeProductTile","titleInverted","layout","cta","sectionFeel","btnFeel","btnInverted","memberVerification","landing","header","failure","failureVerify","failureChange","__CONFIG","CONFIG","ERR_SW_NOT_SUPPORTED","serviceWorker","controllerChanges","controller","currentController","controllerWithChanges","worker","registration","getRegistration","sw","postMessage","nonce","waitForStatus","eventsOfType","SwPush","subscriptionChanges","isEnabled","notificationClicks","pushManager","workerDrivenSubscriptions","pm","getSubscription","pushOptions","userVisibleOnly","decodeBase64","serverPublicKey","applicationServerKey","SwUpdate","available","statusNonce","generateNonce","postMessageWithStatus","SwRegistrationOptions","ngswAppInitializer","script","readyToRegister$","registrationStrategy","strategy","stable","ngswCommChannelFactory","ServiceWorkerModule","RouterStateSerializer","DefaultRouterStateSerializer","serializeRoute","paramMap","queryParamMap","MinimalRouterStateSerializer","NavigationActionTiming","PreActivation","PostActivation","_ROUTER_CONFIG","ROUTER_CONFIG","_createRouterConfig","stateKey","navigationActionTiming","RouterTrigger","ROUTER","STORE","StoreRouterConnectingModule","lastEvent","setUpStoreStateListener","setUpRouterEventsListener","routerStoreState","storeState","navigateIfNeeded","dispatchNavLate","dispatchRouterRequest","dispatchRouterNavigation","dispatchRouterCancel","dispatchRouterError","dispatchRouterNavigated","dispatchRouterAction","lastRoutesRecognized","nextRouterState","ROOT_REDUCERS","stateEffects","StateModule","OrderConfirmationModule","PaymentGatewayModule","SignUpModule","ViewsModule","Error404Module","RootRoutesModule","_dynamicPathsGuard","_googleAnalytics","trackRouteNavigation","configIsChanged","foundChild","foundMainChild","inner","venueRoute","isDynamic","forRoot","ERROR_CODES","ErrorsHandlerSharedService","logError","constructorName","_httpErrorsHandler","_geolocationErrorsHandler","rejection","unknownError","showError","onLine","errorType","statusCode","ApiInterceptor","_inflightAuthRequest","_blacklistJWTUrls","_handleNext","_handleUnauthorizedExeption","appKeyRequest","JWTokenRequired","withJWTRequest","cleanHeaders","_isUnauthorized","noJWTRequest","SharedProvidersModule","dependency","AppComponent","_initService","AppModule","bootstrapModule","ROUTER_NAVIGATION","RouterNavigation","webpackEmptyAsyncContext","FormsService","formGroup"],"mappings":"8FAEA,EAAA,EAAA,EAAA,KAAA,WAAA,OAAA,KAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,QAKO,IAAA,EAAA,YAAMA,EAHb,cAIW,KAAAC,OAAiB,GACjB,KAAAC,eAAoD,IAAIC,IAExD,KAAAC,cAA6C,IAAI,EAAA,EAAgB,MAEjE,gBAAgBC,GACnBC,KAAKJ,eAAeK,IAAI,SAAUF,EAAKG,iBAAiB,IACxDF,KAAKF,cAAcK,KAAKH,KAAKJ,eAAeQ,IAAI,WAG7C,oBACHJ,KAAKJ,eAAeS,OAAO,UAE3BL,KAAKF,cAAcK,KAAK,MAGrB,kBACH,OAAOH,KAAKJ,eAAeQ,IAAI,WAAa,mDAlBvCV,6BAAAA,EAAgB,QAAhBA,EAAgB,UAAA,WAFb,YAET,wCCJP,EAAA,EAAA,EAAA,KAAA,WAAA,OAAA,KAAA,IAAA,EA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nC9yR,EAAOC,QAAU6yR,EACjBA,EAAyBn3R,GAAK,4FCNvB,IAAA,EAAA,YAAMo3R,EAHb,cAIY,KAAA52D,UAAoC,IAAIjjO,IAEzC,SAASkb,EAAa4+Q,GACzB35R,KAAK8iO,UAAU7iO,IAAI8a,EAAK4+Q,GAGrB,WAAW5+Q,GACd/a,KAAK8iO,UAAUziO,OAAO0a,GAGnB,eAAeA,GAClB,OAAO/a,KAAK8iO,UAAU1iO,IAAI2a,iDAZrB2+Q,6BAAAA,EAAY,QAAZA,EAAY,UAAA,WAFT,YAET","sourceRoot":"webpack:///","sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class CartPopupService {\r\n public offset: number = 10;\r\n public coordsRegistry: Map = new Map();\r\n\r\n public targetCoords$: BehaviorSubject = new BehaviorSubject(null);\r\n\r\n public setTargetCoords(elem: HTMLElement): void {\r\n this.coordsRegistry.set('target', elem.getClientRects()[0]);\r\n this.targetCoords$.next(this.coordsRegistry.get('target'));\r\n }\r\n\r\n public unsetTargetCoords(): void {\r\n this.coordsRegistry.delete('target');\r\n\r\n this.targetCoords$.next(null);\r\n }\r\n\r\n public getTargetCoords(): ClientRect | DOMRect {\r\n return this.coordsRegistry.get('target') || null;\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngrx/store';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport { RouteService } from './route.shared.service';\r\n\r\nimport { Subject, BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class WizzardService {\r\n private _onContentScrollInit$: Subject = new Subject();\r\n private _onContentScroll$: Subject = new Subject();\r\n public _navClickListener$: BehaviorSubject = new BehaviorSubject(null);\r\n\r\n constructor(\r\n public store: Store,\r\n public routeService: RouteService,\r\n ) { }\r\n\r\n public get navClickListener$(): BehaviorSubject {\r\n return this._navClickListener$;\r\n }\r\n\r\n public set navClickListener(index: number) {\r\n this._navClickListener$.next(index);\r\n }\r\n\r\n /* When scroll initialize - move this to separate service */\r\n public onWizzardScrollInit($event: HTMLDivElement): void {\r\n this._onContentScrollInit$.next($event);\r\n }\r\n\r\n public get contentScrollInitListener(): Subject {\r\n return this._onContentScrollInit$;\r\n }\r\n\r\n /* When scrolling TODO - move this to separate service */\r\n public onWizzardScrollContent($event: Event): void {\r\n this._onContentScroll$.next($event);\r\n }\r\n\r\n public get contentScrollListener$(): Subject {\r\n return this._onContentScroll$;\r\n }\r\n\r\n public validateWizzardItems(menuFlow: APIv1.MenuFlowDetailsModel, wizzardMenuFlow: State.IWizzardMenuFlow): State.IWizzardError[] {\r\n /*\r\n Validate current wizzardMenuFlow\r\n It is used in different contexts and ways so it's just a method - not effect\r\n */\r\n const errorId = (): number => new Date().getTime() + Math.floor(Math.random() * 10000);\r\n const errors: State.IWizzardError[] = [];\r\n\r\n wizzardMenuFlow.Pages.forEach(wizzardPage => {\r\n const { PageMinQuantity, PageMaxQuantity } = menuFlow.Pages.find(page => page.PageIdentifier === wizzardPage.PageIdentifier);\r\n const wizzardPageTotalQuantity = wizzardPage.Products.reduce((acc, product) => acc += product.Quantity, 0);\r\n\r\n if (PageMinQuantity) {\r\n if (wizzardPageTotalQuantity < PageMinQuantity) {\r\n errors.push({\r\n id: errorId(),\r\n pageIdentifier: wizzardPage.PageIdentifier,\r\n error: State.WIZZARD_ERROR.REQUIRED,\r\n });\r\n }\r\n }\r\n\r\n if (PageMaxQuantity) {\r\n if (wizzardPageTotalQuantity > PageMaxQuantity) {\r\n errors.push({\r\n id: errorId(),\r\n pageIdentifier: wizzardPage.PageIdentifier,\r\n error: State.WIZZARD_ERROR.OVERFLOW,\r\n });\r\n }\r\n }\r\n\r\n });\r\n\r\n return errors;\r\n }\r\n\r\n\r\n}\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');\n\n var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];\n var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nlBe = moment.defineLocale('nl-be', {\n months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),\n monthsShort : function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse : monthsParse,\n longMonthsParse : monthsParse,\n shortMonthsParse : monthsParse,\n\n weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'over %s',\n past : '%s geleden',\n s : 'een paar seconden',\n ss : '%d seconden',\n m : 'één minuut',\n mm : '%d minuten',\n h : 'één uur',\n hh : '%d uur',\n d : 'één dag',\n dd : '%d dagen',\n M : 'één maand',\n MM : '%d maanden',\n y : 'één jaar',\n yy : '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal : function (number) {\n return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return nlBe;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var bg = moment.defineLocale('bg', {\n months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'),\n monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),\n weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'),\n weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'),\n weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n longDateFormat : {\n LT : 'H:mm',\n LTS : 'H:mm:ss',\n L : 'D.MM.YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY H:mm',\n LLLL : 'dddd, D MMMM YYYY H:mm'\n },\n calendar : {\n sameDay : '[Днес в] LT',\n nextDay : '[Утре в] LT',\n nextWeek : 'dddd [в] LT',\n lastDay : '[Вчера в] LT',\n lastWeek : function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 6:\n return '[В изминалата] dddd [в] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[В изминалия] dddd [в] LT';\n }\n },\n sameElse : 'L'\n },\n relativeTime : {\n future : 'след %s',\n past : 'преди %s',\n s : 'няколко секунди',\n ss : '%d секунди',\n m : 'минута',\n mm : '%d минути',\n h : 'час',\n hh : '%d часа',\n d : 'ден',\n dd : '%d дни',\n M : 'месец',\n MM : '%d месеца',\n y : 'година',\n yy : '%d години'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n ordinal : function (number) {\n var lastDigit = number % 10,\n last2Digits = number % 100;\n if (number === 0) {\n return number + '-ев';\n } else if (last2Digits === 0) {\n return number + '-ен';\n } else if (last2Digits > 10 && last2Digits < 20) {\n return number + '-ти';\n } else if (lastDigit === 1) {\n return number + '-ви';\n } else if (lastDigit === 2) {\n return number + '-ри';\n } else if (lastDigit === 7 || lastDigit === 8) {\n return number + '-ми';\n } else {\n return number + '-ти';\n }\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return bg;\n\n})));\n","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const LoyaltyMessagesRequest = createAction(\r\n '[Loyalty Messages] Request messages',\r\n);\r\n\r\nexport const LoyaltyMessagesSuccessRequest = createAction(\r\n '[Loyalty Messages] Success request messages',\r\n props<{ payload: APIv1.LoyaltyAppMessageModel[]; }>(),\r\n);\r\n\r\nexport const LoyaltyMessagesErrorRequest = createAction(\r\n '[Loyalty Messages] Error request messages',\r\n props<{ ex?: any; }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var tet = moment.defineLocale('tet', {\n months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),\n monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),\n weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),\n weekdaysMin : 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[Ohin iha] LT',\n nextDay: '[Aban iha] LT',\n nextWeek: 'dddd [iha] LT',\n lastDay: '[Horiseik iha] LT',\n lastWeek: 'dddd [semana kotuk] [iha] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'iha %s',\n past : '%s liuba',\n s : 'minutu balun',\n ss : 'minutu %d',\n m : 'minutu ida',\n mm : 'minutu %d',\n h : 'oras ida',\n hh : 'oras %d',\n d : 'loron ida',\n dd : 'loron %d',\n M : 'fulan ida',\n MM : 'fulan %d',\n y : 'tinan ida',\n yy : 'tinan %d'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal : function (number) {\n var b = number % 10,\n output = (~~(number % 100 / 10) === 1) ? 'th' :\n (b === 1) ? 'st' :\n (b === 2) ? 'nd' :\n (b === 3) ? 'rd' : 'th';\n return number + output;\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return tet;\n\n})));\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t/**\n\t * A noop padding strategy.\n\t */\n\tCryptoJS.pad.NoPadding = {\n\t pad: function () {\n\t },\n\n\t unpad: function () {\n\t }\n\t};\n\n\n\treturn CryptoJS.pad.NoPadding;\n\n}));","export function isPromise(value) {\n return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n}\n//# sourceMappingURL=isPromise.js.map",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Constants table\n\t var T = [];\n\n\t // Compute constants\n\t (function () {\n\t for (var i = 0; i < 64; i++) {\n\t T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;\n\t }\n\t }());\n\n\t /**\n\t * MD5 hash algorithm.\n\t */\n\t var MD5 = C_algo.MD5 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Swap endian\n\t for (var i = 0; i < 16; i++) {\n\t // Shortcuts\n\t var offset_i = offset + i;\n\t var M_offset_i = M[offset_i];\n\n\t M[offset_i] = (\n\t (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) |\n\t (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00)\n\t );\n\t }\n\n\t // Shortcuts\n\t var H = this._hash.words;\n\n\t var M_offset_0 = M[offset + 0];\n\t var M_offset_1 = M[offset + 1];\n\t var M_offset_2 = M[offset + 2];\n\t var M_offset_3 = M[offset + 3];\n\t var M_offset_4 = M[offset + 4];\n\t var M_offset_5 = M[offset + 5];\n\t var M_offset_6 = M[offset + 6];\n\t var M_offset_7 = M[offset + 7];\n\t var M_offset_8 = M[offset + 8];\n\t var M_offset_9 = M[offset + 9];\n\t var M_offset_10 = M[offset + 10];\n\t var M_offset_11 = M[offset + 11];\n\t var M_offset_12 = M[offset + 12];\n\t var M_offset_13 = M[offset + 13];\n\t var M_offset_14 = M[offset + 14];\n\t var M_offset_15 = M[offset + 15];\n\n\t // Working varialbes\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\n\t // Computation\n\t a = FF(a, b, c, d, M_offset_0, 7, T[0]);\n\t d = FF(d, a, b, c, M_offset_1, 12, T[1]);\n\t c = FF(c, d, a, b, M_offset_2, 17, T[2]);\n\t b = FF(b, c, d, a, M_offset_3, 22, T[3]);\n\t a = FF(a, b, c, d, M_offset_4, 7, T[4]);\n\t d = FF(d, a, b, c, M_offset_5, 12, T[5]);\n\t c = FF(c, d, a, b, M_offset_6, 17, T[6]);\n\t b = FF(b, c, d, a, M_offset_7, 22, T[7]);\n\t a = FF(a, b, c, d, M_offset_8, 7, T[8]);\n\t d = FF(d, a, b, c, M_offset_9, 12, T[9]);\n\t c = FF(c, d, a, b, M_offset_10, 17, T[10]);\n\t b = FF(b, c, d, a, M_offset_11, 22, T[11]);\n\t a = FF(a, b, c, d, M_offset_12, 7, T[12]);\n\t d = FF(d, a, b, c, M_offset_13, 12, T[13]);\n\t c = FF(c, d, a, b, M_offset_14, 17, T[14]);\n\t b = FF(b, c, d, a, M_offset_15, 22, T[15]);\n\n\t a = GG(a, b, c, d, M_offset_1, 5, T[16]);\n\t d = GG(d, a, b, c, M_offset_6, 9, T[17]);\n\t c = GG(c, d, a, b, M_offset_11, 14, T[18]);\n\t b = GG(b, c, d, a, M_offset_0, 20, T[19]);\n\t a = GG(a, b, c, d, M_offset_5, 5, T[20]);\n\t d = GG(d, a, b, c, M_offset_10, 9, T[21]);\n\t c = GG(c, d, a, b, M_offset_15, 14, T[22]);\n\t b = GG(b, c, d, a, M_offset_4, 20, T[23]);\n\t a = GG(a, b, c, d, M_offset_9, 5, T[24]);\n\t d = GG(d, a, b, c, M_offset_14, 9, T[25]);\n\t c = GG(c, d, a, b, M_offset_3, 14, T[26]);\n\t b = GG(b, c, d, a, M_offset_8, 20, T[27]);\n\t a = GG(a, b, c, d, M_offset_13, 5, T[28]);\n\t d = GG(d, a, b, c, M_offset_2, 9, T[29]);\n\t c = GG(c, d, a, b, M_offset_7, 14, T[30]);\n\t b = GG(b, c, d, a, M_offset_12, 20, T[31]);\n\n\t a = HH(a, b, c, d, M_offset_5, 4, T[32]);\n\t d = HH(d, a, b, c, M_offset_8, 11, T[33]);\n\t c = HH(c, d, a, b, M_offset_11, 16, T[34]);\n\t b = HH(b, c, d, a, M_offset_14, 23, T[35]);\n\t a = HH(a, b, c, d, M_offset_1, 4, T[36]);\n\t d = HH(d, a, b, c, M_offset_4, 11, T[37]);\n\t c = HH(c, d, a, b, M_offset_7, 16, T[38]);\n\t b = HH(b, c, d, a, M_offset_10, 23, T[39]);\n\t a = HH(a, b, c, d, M_offset_13, 4, T[40]);\n\t d = HH(d, a, b, c, M_offset_0, 11, T[41]);\n\t c = HH(c, d, a, b, M_offset_3, 16, T[42]);\n\t b = HH(b, c, d, a, M_offset_6, 23, T[43]);\n\t a = HH(a, b, c, d, M_offset_9, 4, T[44]);\n\t d = HH(d, a, b, c, M_offset_12, 11, T[45]);\n\t c = HH(c, d, a, b, M_offset_15, 16, T[46]);\n\t b = HH(b, c, d, a, M_offset_2, 23, T[47]);\n\n\t a = II(a, b, c, d, M_offset_0, 6, T[48]);\n\t d = II(d, a, b, c, M_offset_7, 10, T[49]);\n\t c = II(c, d, a, b, M_offset_14, 15, T[50]);\n\t b = II(b, c, d, a, M_offset_5, 21, T[51]);\n\t a = II(a, b, c, d, M_offset_12, 6, T[52]);\n\t d = II(d, a, b, c, M_offset_3, 10, T[53]);\n\t c = II(c, d, a, b, M_offset_10, 15, T[54]);\n\t b = II(b, c, d, a, M_offset_1, 21, T[55]);\n\t a = II(a, b, c, d, M_offset_8, 6, T[56]);\n\t d = II(d, a, b, c, M_offset_15, 10, T[57]);\n\t c = II(c, d, a, b, M_offset_6, 15, T[58]);\n\t b = II(b, c, d, a, M_offset_13, 21, T[59]);\n\t a = II(a, b, c, d, M_offset_4, 6, T[60]);\n\t d = II(d, a, b, c, M_offset_11, 10, T[61]);\n\t c = II(c, d, a, b, M_offset_2, 15, T[62]);\n\t b = II(b, c, d, a, M_offset_9, 21, T[63]);\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\n\t var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);\n\t var nBitsTotalL = nBitsTotal;\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (\n\t (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00)\n\t );\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n\t (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00)\n\t );\n\n\t data.sigBytes = (dataWords.length + 1) * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Shortcuts\n\t var hash = this._hash;\n\t var H = hash.words;\n\n\t // Swap endian\n\t for (var i = 0; i < 4; i++) {\n\t // Shortcut\n\t var H_i = H[i];\n\n\t H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) |\n\t (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00);\n\t }\n\n\t // Return final computed hash\n\t return hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t function FF(a, b, c, d, x, s, t) {\n\t var n = a + ((b & c) | (~b & d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function GG(a, b, c, d, x, s, t) {\n\t var n = a + ((b & d) | (c & ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function HH(a, b, c, d, x, s, t) {\n\t var n = a + (b ^ c ^ d) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function II(a, b, c, d, x, s, t) {\n\t var n = a + (c ^ (b | ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.MD5('message');\n\t * var hash = CryptoJS.MD5(wordArray);\n\t */\n\t C.MD5 = Hasher._createHelper(MD5);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacMD5(message, key);\n\t */\n\t C.HmacMD5 = Hasher._createHmacHelper(MD5);\n\t}(Math));\n\n\n\treturn CryptoJS.MD5;\n\n}));","import { Subscriber } from '../Subscriber';\nexport function pairwise() {\n return (source) => source.lift(new PairwiseOperator());\n}\nclass PairwiseOperator {\n call(subscriber, source) {\n return source.subscribe(new PairwiseSubscriber(subscriber));\n }\n}\nclass PairwiseSubscriber extends Subscriber {\n constructor(destination) {\n super(destination);\n this.hasPrev = false;\n }\n _next(value) {\n let pair;\n if (this.hasPrev) {\n pair = [this.prev, value];\n }\n else {\n this.hasPrev = true;\n }\n this.prev = value;\n if (pair) {\n this.destination.next(pair);\n }\n }\n}\n//# sourceMappingURL=pairwise.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var id = moment.defineLocale('id', {\n months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),\n monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),\n weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),\n weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),\n weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat : {\n LT : 'HH.mm',\n LTS : 'HH.mm.ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY [pukul] HH.mm',\n LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'\n },\n meridiemParse: /pagi|siang|sore|malam/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'siang') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'sore' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem : function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'siang';\n } else if (hours < 19) {\n return 'sore';\n } else {\n return 'malam';\n }\n },\n calendar : {\n sameDay : '[Hari ini pukul] LT',\n nextDay : '[Besok pukul] LT',\n nextWeek : 'dddd [pukul] LT',\n lastDay : '[Kemarin pukul] LT',\n lastWeek : 'dddd [lalu pukul] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'dalam %s',\n past : '%s yang lalu',\n s : 'beberapa detik',\n ss : '%d detik',\n m : 'semenit',\n mm : '%d menit',\n h : 'sejam',\n hh : '%d jam',\n d : 'sehari',\n dd : '%d hari',\n M : 'sebulan',\n MM : '%d bulan',\n y : 'setahun',\n yy : '%d tahun'\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return id;\n\n})));\n","import { createAction, props } from '@ngrx/store';\r\nimport { IStateShared, IPaymentCreditCardData } from '../interface';\r\n\r\nexport const PaymentReset = createAction('[Payment] Reset');\r\n\r\nexport const PaymentInitAramark = createAction(\r\n '[Payment] Init - trigger proper effect and create order',\r\n (creditCard: IPaymentCreditCardData = null, member: APIv1.PartialMemberModel | APICommon.IOnlineOrderPartialMember = null) => ({ creditCard, member })\r\n);\r\n\r\nexport const PaymentInit = createAction(\r\n '[Payment] Init - trigger payment process with prevalidated and generated card token',\r\n);\r\n\r\nexport const PaymentClearErrors = createAction(\r\n '[Payment] Clear Errors',\r\n);\r\n\r\n/* STEPS */\r\nexport const PaymentStepValidateGuestData = createAction(\r\n '[Payment] Step - validate guest data',\r\n (creditCard: IPaymentCreditCardData = null) => ({ creditCard })\r\n);\r\n\r\nexport const PaymentStepValidateGuestCardToken = createAction('[Payment] Step - validate guest get card token');\r\n\r\nexport const PaymentStepValidateMemberCardToken = createAction('[Payment] Step - validate member card token');\r\n\r\nexport const PaymentStepCreateOrder = createAction('[Payment] Step - create order');\r\nexport const __DEMO__PaymentStepCreateOrder = createAction('[Payment - DEMO] Step - create order');\r\n\r\nexport const PaymentStepPay = createAction('[Payment] Step - pay');\r\nexport const __DEMO__PaymentStepPay = createAction('[Payment - DEMO] Step - pay');\r\n\r\nexport const PaymentStepPaymentStatusCheck = createAction(\r\n '[Payment] Step - payment status check',\r\n props<{ TransactionId: string; OrderId: number }>(),\r\n);\r\nexport const __DEMO__PaymentStepPaymentStatusCheck = createAction(\r\n '[Payment - DEMO] Step - payment status check',\r\n props<{ TransactionId: string; OrderId: number }>(),\r\n);\r\n\r\nexport const PaymentStepComplete = createAction(\r\n '[Payment] Step - payment complete',\r\n props<{ OrderId: number, payload: APIv2.GetTransactionResponse }>(),\r\n);\r\n\r\nexport const PaymentStepFailed = createAction(\r\n '[Payment] Step = payment failed',\r\n (Message: string, Id: number = new Date().getTime() + Math.floor(Math.random() * 100000)) => ({ Message, Id })\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var mt = moment.defineLocale('mt', {\n months : 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'),\n monthsShort : 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),\n weekdays : 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'),\n weekdaysShort : 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),\n weekdaysMin : 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[Illum fil-]LT',\n nextDay : '[Għada fil-]LT',\n nextWeek : 'dddd [fil-]LT',\n lastDay : '[Il-bieraħ fil-]LT',\n lastWeek : 'dddd [li għadda] [fil-]LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'f’ %s',\n past : '%s ilu',\n s : 'ftit sekondi',\n ss : '%d sekondi',\n m : 'minuta',\n mm : '%d minuti',\n h : 'siegħa',\n hh : '%d siegħat',\n d : 'ġurnata',\n dd : '%d ġranet',\n M : 'xahar',\n MM : '%d xhur',\n y : 'sena',\n yy : '%d sni'\n },\n dayOfMonthOrdinalParse : /\\d{1,2}º/,\n ordinal: '%dº',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return mt;\n\n})));\n","import { subscribeToArray } from './subscribeToArray';\nimport { subscribeToPromise } from './subscribeToPromise';\nimport { subscribeToIterable } from './subscribeToIterable';\nimport { subscribeToObservable } from './subscribeToObservable';\nimport { isArrayLike } from './isArrayLike';\nimport { isPromise } from './isPromise';\nimport { isObject } from './isObject';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeTo = (result) => {\n if (!!result && typeof result[Symbol_observable] === 'function') {\n return subscribeToObservable(result);\n }\n else if (isArrayLike(result)) {\n return subscribeToArray(result);\n }\n else if (isPromise(result)) {\n return subscribeToPromise(result);\n }\n else if (!!result && typeof result[Symbol_iterator] === 'function') {\n return subscribeToIterable(result);\n }\n else {\n const value = isObject(result) ? 'an invalid object' : `'${result}'`;\n const msg = `You provided ${value} where a stream was expected.`\n + ' You can provide an Observable, Promise, Array, or Iterable.';\n throw new TypeError(msg);\n }\n};\n//# sourceMappingURL=subscribeTo.js.map","import { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeToObservable = (obj) => (subscriber) => {\n const obs = obj[Symbol_observable]();\n if (typeof obs.subscribe !== 'function') {\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n }\n else {\n return obs.subscribe(subscriber);\n }\n};\n//# sourceMappingURL=subscribeToObservable.js.map","import { hostReportError } from './hostReportError';\nexport const subscribeToPromise = (promise) => (subscriber) => {\n promise.then((value) => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, (err) => subscriber.error(err))\n .then(null, hostReportError);\n return subscriber;\n};\n//# sourceMappingURL=subscribeToPromise.js.map","import { iterator as Symbol_iterator } from '../symbol/iterator';\nexport const subscribeToIterable = (iterable) => (subscriber) => {\n const iterator = iterable[Symbol_iterator]();\n do {\n const item = iterator.next();\n if (item.done) {\n subscriber.complete();\n break;\n }\n subscriber.next(item.value);\n if (subscriber.closed) {\n break;\n }\n } while (true);\n if (typeof iterator.return === 'function') {\n subscriber.add(() => {\n if (iterator.return) {\n iterator.return();\n }\n });\n }\n return subscriber;\n};\n//# sourceMappingURL=subscribeToIterable.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var arDz = moment.defineLocale('ar-dz', {\n months : 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),\n monthsShort : 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),\n weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort : 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin : 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'في %s',\n past : 'منذ %s',\n s : 'ثوان',\n ss : '%d ثانية',\n m : 'دقيقة',\n mm : '%d دقائق',\n h : 'ساعة',\n hh : '%d ساعات',\n d : 'يوم',\n dd : '%d أيام',\n M : 'شهر',\n MM : '%d أشهر',\n y : 'سنة',\n yy : '%d سنوات'\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return arDz;\n\n})));\n","export const rxSubscriber = (() => typeof Symbol === 'function'\n ? Symbol('rxSubscriber')\n : '@@rxSubscriber_' + Math.random())();\nexport const $$rxSubscriber = rxSubscriber;\n//# sourceMappingURL=rxSubscriber.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var ss = moment.defineLocale('ss', {\n months : \"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni\".split('_'),\n monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),\n weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),\n weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),\n weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'h:mm A',\n LTS : 'h:mm:ss A',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY h:mm A',\n LLLL : 'dddd, D MMMM YYYY h:mm A'\n },\n calendar : {\n sameDay : '[Namuhla nga] LT',\n nextDay : '[Kusasa nga] LT',\n nextWeek : 'dddd [nga] LT',\n lastDay : '[Itolo nga] LT',\n lastWeek : 'dddd [leliphelile] [nga] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'nga %s',\n past : 'wenteka nga %s',\n s : 'emizuzwana lomcane',\n ss : '%d mzuzwana',\n m : 'umzuzu',\n mm : '%d emizuzu',\n h : 'lihora',\n hh : '%d emahora',\n d : 'lilanga',\n dd : '%d emalanga',\n M : 'inyanga',\n MM : '%d tinyanga',\n y : 'umnyaka',\n yy : '%d iminyaka'\n },\n meridiemParse: /ekuseni|emini|entsambama|ebusuku/,\n meridiem : function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'ekuseni';\n } else if (hours < 15) {\n return 'emini';\n } else if (hours < 19) {\n return 'entsambama';\n } else {\n return 'ebusuku';\n }\n },\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ekuseni') {\n return hour;\n } else if (meridiem === 'emini') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {\n if (hour === 0) {\n return 0;\n }\n return hour + 12;\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal : '%d',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return ss;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n\n var ne = moment.defineLocale('ne', {\n months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),\n monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),\n monthsParseExact : true,\n weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),\n weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),\n weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'Aको h:mm बजे',\n LTS : 'Aको h:mm:ss बजे',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, Aको h:mm बजे',\n LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /राति|बिहान|दिउँसो|साँझ/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'राति') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'बिहान') {\n return hour;\n } else if (meridiem === 'दिउँसो') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'साँझ') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 3) {\n return 'राति';\n } else if (hour < 12) {\n return 'बिहान';\n } else if (hour < 16) {\n return 'दिउँसो';\n } else if (hour < 20) {\n return 'साँझ';\n } else {\n return 'राति';\n }\n },\n calendar : {\n sameDay : '[आज] LT',\n nextDay : '[भोलि] LT',\n nextWeek : '[आउँदो] dddd[,] LT',\n lastDay : '[हिजो] LT',\n lastWeek : '[गएको] dddd[,] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%sमा',\n past : '%s अगाडि',\n s : 'केही क्षण',\n ss : '%d सेकेण्ड',\n m : 'एक मिनेट',\n mm : '%d मिनेट',\n h : 'एक घण्टा',\n hh : '%d घण्टा',\n d : 'एक दिन',\n dd : '%d दिन',\n M : 'एक महिना',\n MM : '%d महिना',\n y : 'एक बर्ष',\n yy : '%d बर्ष'\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return ne;\n\n})));\n","import { Action, createAction, props } from '@ngrx/store';\r\nimport { IReorderDetails, ICartSimpleItem, ICartMenuFlow } from '../interface';\r\n\r\nexport const ReorderSetup = createAction(\r\n '[Reorder] Setup',\r\n props<{ orderId: number; locationNo: number; modalId?: number }>()\r\n);\r\n\r\nexport const ReorderUnmount = createAction(\r\n '[Reorder] Unmount',\r\n props<{ orderId?: number }>()\r\n);\r\n\r\nexport const ReorderCalculateRequest = createAction(\r\n '[Reorder] Request calculate for reorder',\r\n props<{ orderId: number; locationNo: number; pickupTime: OLO.Ordering.IPickupTime }>(),\r\n);\r\n\r\nexport const ReorderCalculateSuccessRequest = createAction(\r\n '[Reorder] Success request calculate for reorder',\r\n props<{ orderId: number; locationNo: number; pickupTime: OLO.Ordering.IPickupTime; payload: IReorderDetails }>(),\r\n);\r\n\r\nexport const ReorderCalculateErrorRequest = createAction(\r\n '[Reorder] Error request calculate for reorder',\r\n props<{ orderId: number; locationNo: number; pickupTime: OLO.Ordering.IPickupTime; ex?: any }>(),\r\n);\r\n\r\nexport const ReorderSelectItem = createAction(\r\n '[Reorder] Select item',\r\n props<{ orderId: number; item: ICartSimpleItem | ICartMenuFlow }>(),\r\n);\r\n\r\nexport const ReorderDeselectItem = createAction(\r\n '[Reorder] Deselect item',\r\n props<{ orderId: number; item: ICartSimpleItem | ICartMenuFlow }>(),\r\n);\r\n\r\nexport const ReorderDeselectAll = createAction(\r\n '[Reorder] Deselect all',\r\n props<{ orderId: number }>(),\r\n);\r\n","/**\n * @license Angular v9.1.11\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { InjectionToken, Injectable, ɵɵdefineInjectable, ɵɵinject, Inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, IterableDiffers, KeyValueDiffers, ElementRef, Renderer2, Input, NgModuleRef, ComponentFactoryResolver, ViewContainerRef, isDevMode, TemplateRef, Host, Attribute, ɵlooseIdentical, WrappedValue, ɵisPromise, ɵisObservable, Pipe, ChangeDetectorRef, DEFAULT_CURRENCY_CODE, NgModule, Version, ErrorHandler } from '@angular/core';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/dom_adapter.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nimport * as ɵngcc0 from '@angular/core';\nlet _DOM = (/** @type {?} */ (null));\n/**\n * @return {?}\n */\nfunction getDOM() {\n return _DOM;\n}\n/**\n * @param {?} adapter\n * @return {?}\n */\nfunction setDOM(adapter) {\n _DOM = adapter;\n}\n/**\n * @param {?} adapter\n * @return {?}\n */\nfunction setRootDomAdapter(adapter) {\n if (!_DOM) {\n _DOM = adapter;\n }\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * \\@security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n * @abstract\n */\nclass DomAdapter {\n}\nif (false) {\n /**\n * @abstract\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n DomAdapter.prototype.getProperty = function (el, name) { };\n /**\n * @abstract\n * @param {?} el\n * @param {?} evt\n * @return {?}\n */\n DomAdapter.prototype.dispatchEvent = function (el, evt) { };\n /**\n * @abstract\n * @param {?} error\n * @return {?}\n */\n DomAdapter.prototype.log = function (error) { };\n /**\n * @abstract\n * @param {?} error\n * @return {?}\n */\n DomAdapter.prototype.logGroup = function (error) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.logGroupEnd = function () { };\n /**\n * @abstract\n * @param {?} el\n * @return {?}\n */\n DomAdapter.prototype.remove = function (el) { };\n /**\n * @abstract\n * @param {?} tagName\n * @param {?=} doc\n * @return {?}\n */\n DomAdapter.prototype.createElement = function (tagName, doc) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.createHtmlDocument = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.getDefaultDocument = function () { };\n /**\n * @abstract\n * @param {?} node\n * @return {?}\n */\n DomAdapter.prototype.isElementNode = function (node) { };\n /**\n * @abstract\n * @param {?} node\n * @return {?}\n */\n DomAdapter.prototype.isShadowRoot = function (node) { };\n /**\n * @abstract\n * @param {?} el\n * @param {?} evt\n * @param {?} listener\n * @return {?}\n */\n DomAdapter.prototype.onAndCancel = function (el, evt, listener) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.supportsDOMEvents = function () { };\n /**\n * @abstract\n * @param {?} doc\n * @param {?} target\n * @return {?}\n */\n DomAdapter.prototype.getGlobalEventTarget = function (doc, target) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.getHistory = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.getLocation = function () { };\n /**\n * This is the ambient Location definition, NOT Location from \\@angular/common.\n * @abstract\n * @param {?} doc\n * @return {?}\n */\n DomAdapter.prototype.getBaseHref = function (doc) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.resetBaseElement = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.getUserAgent = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.performanceNow = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.supportsCookies = function () { };\n /**\n * @abstract\n * @param {?} name\n * @return {?}\n */\n DomAdapter.prototype.getCookie = function (name) { };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/dom_tokens.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A DI Token representing the main rendering context. In a browser this is the DOM Document.\n *\n * Note: Document might not be available in the Application Context when Application and Rendering\n * Contexts are not the same (e.g. when running the application in a Web Worker).\n *\n * \\@publicApi\n * @type {?}\n */\nconst DOCUMENT = new InjectionToken('DocumentToken');\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/platform_location.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {\\@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be\n * platform-agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that Angular supports. For example, `\\@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `\\@angular/platform-server` provides\n * one suitable for use with server-side rendering.\n *\n * The `PlatformLocation` class is used directly by all implementations of {\\@link LocationStrategy}\n * when they need to interact with the DOM APIs like pushState, popState, etc.\n *\n * {\\@link LocationStrategy} in turn is used by the {\\@link Location} service which is used directly\n * by the {\\@link Router} in order to navigate between routes. Since all interactions between {\\@link\n * Router} /\n * {\\@link Location} / {\\@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`\n * class, they are all platform-agnostic.\n *\n * \\@publicApi\n * @abstract\n */\nclass PlatformLocation {\n}\nPlatformLocation.ɵfac = function PlatformLocation_Factory(t) { return new (t || PlatformLocation)(); };\n/** @nocollapse */ PlatformLocation.ɵprov = ɵɵdefineInjectable({ factory: useBrowserPlatformLocation, token: PlatformLocation, providedIn: \"platform\" });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(PlatformLocation, [{\n type: Injectable,\n args: [{\n providedIn: 'platform',\n // See #23917\n useFactory: useBrowserPlatformLocation\n }]\n }], null, null); })();\nif (false) {\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.getBaseHrefFromDOM = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.getState = function () { };\n /**\n * @abstract\n * @param {?} fn\n * @return {?}\n */\n PlatformLocation.prototype.onPopState = function (fn) { };\n /**\n * @abstract\n * @param {?} fn\n * @return {?}\n */\n PlatformLocation.prototype.onHashChange = function (fn) { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.href = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.protocol = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.hostname = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.port = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.pathname = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.search = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.hash = function () { };\n /**\n * @abstract\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @return {?}\n */\n PlatformLocation.prototype.replaceState = function (state, title, url) { };\n /**\n * @abstract\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @return {?}\n */\n PlatformLocation.prototype.pushState = function (state, title, url) { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.forward = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.back = function () { };\n}\n/**\n * @return {?}\n */\nfunction useBrowserPlatformLocation() {\n return ɵɵinject(BrowserPlatformLocation);\n}\n/**\n * \\@description\n * Indicates when a location is initialized.\n *\n * \\@publicApi\n * @type {?}\n */\nconst LOCATION_INITIALIZED = new InjectionToken('Location Initialized');\n/**\n * \\@description\n * A serializable version of the event from `onPopState` or `onHashChange`\n *\n * \\@publicApi\n * @record\n */\nfunction LocationChangeEvent() { }\nif (false) {\n /** @type {?} */\n LocationChangeEvent.prototype.type;\n /** @type {?} */\n LocationChangeEvent.prototype.state;\n}\n/**\n * \\@publicApi\n * @record\n */\nfunction LocationChangeListener() { }\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {\\@link Location}.\n */\nclass BrowserPlatformLocation extends PlatformLocation {\n /**\n * @param {?} _doc\n */\n constructor(_doc) {\n super();\n this._doc = _doc;\n this._init();\n }\n // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it\n /**\n * \\@internal\n * @return {?}\n */\n _init() {\n ((/** @type {?} */ (this))).location = getDOM().getLocation();\n this._history = getDOM().getHistory();\n }\n /**\n * @return {?}\n */\n getBaseHrefFromDOM() {\n return (/** @type {?} */ (getDOM().getBaseHref(this._doc)));\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onPopState(fn) {\n getDOM().getGlobalEventTarget(this._doc, 'window').addEventListener('popstate', fn, false);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onHashChange(fn) {\n getDOM().getGlobalEventTarget(this._doc, 'window').addEventListener('hashchange', fn, false);\n }\n /**\n * @return {?}\n */\n get href() {\n return this.location.href;\n }\n /**\n * @return {?}\n */\n get protocol() {\n return this.location.protocol;\n }\n /**\n * @return {?}\n */\n get hostname() {\n return this.location.hostname;\n }\n /**\n * @return {?}\n */\n get port() {\n return this.location.port;\n }\n /**\n * @return {?}\n */\n get pathname() {\n return this.location.pathname;\n }\n /**\n * @return {?}\n */\n get search() {\n return this.location.search;\n }\n /**\n * @return {?}\n */\n get hash() {\n return this.location.hash;\n }\n /**\n * @param {?} newPath\n * @return {?}\n */\n set pathname(newPath) {\n this.location.pathname = newPath;\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @return {?}\n */\n pushState(state, title, url) {\n if (supportsState()) {\n this._history.pushState(state, title, url);\n }\n else {\n this.location.hash = url;\n }\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @return {?}\n */\n replaceState(state, title, url) {\n if (supportsState()) {\n this._history.replaceState(state, title, url);\n }\n else {\n this.location.hash = url;\n }\n }\n /**\n * @return {?}\n */\n forward() {\n this._history.forward();\n }\n /**\n * @return {?}\n */\n back() {\n this._history.back();\n }\n /**\n * @return {?}\n */\n getState() {\n return this._history.state;\n }\n}\nBrowserPlatformLocation.ɵfac = function BrowserPlatformLocation_Factory(t) { return new (t || BrowserPlatformLocation)(ɵngcc0.ɵɵinject(DOCUMENT)); };\n/** @nocollapse */\nBrowserPlatformLocation.ctorParameters = () => [\n { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }\n];\n/** @nocollapse */ BrowserPlatformLocation.ɵprov = ɵɵdefineInjectable({ factory: createBrowserPlatformLocation, token: BrowserPlatformLocation, providedIn: \"platform\" });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(BrowserPlatformLocation, [{\n type: Injectable,\n args: [{\n providedIn: 'platform',\n // See #23917\n useFactory: createBrowserPlatformLocation\n }]\n }], function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, null); })();\nif (false) {\n /** @type {?} */\n BrowserPlatformLocation.prototype.location;\n /**\n * @type {?}\n * @private\n */\n BrowserPlatformLocation.prototype._history;\n /**\n * @type {?}\n * @private\n */\n BrowserPlatformLocation.prototype._doc;\n}\n/**\n * @return {?}\n */\nfunction supportsState() {\n return !!window.history.pushState;\n}\n/**\n * @return {?}\n */\nfunction createBrowserPlatformLocation() {\n return new BrowserPlatformLocation(ɵɵinject(DOCUMENT));\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/private_export.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/util.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param {?} start URL string\n * @param {?} end URL string\n *\n *\n * @return {?} The joined URL string.\n */\nfunction joinWithSlash(start, end) {\n if (start.length == 0) {\n return end;\n }\n if (end.length == 0) {\n return start;\n }\n /** @type {?} */\n let slashes = 0;\n if (start.endsWith('/')) {\n slashes++;\n }\n if (end.startsWith('/')) {\n slashes++;\n }\n if (slashes == 2) {\n return start + end.substring(1);\n }\n if (slashes == 1) {\n return start + end;\n }\n return start + '/' + end;\n}\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param {?} url URL string.\n *\n * @return {?} The URL string, modified if needed.\n */\nfunction stripTrailingSlash(url) {\n /** @type {?} */\n const match = url.match(/#|\\?|$/);\n /** @type {?} */\n const pathEndIdx = match && match.index || url.length;\n /** @type {?} */\n const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);\n return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);\n}\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param {?} params String of URL parameters.\n *\n * @return {?} The normalized URL parameters string.\n */\nfunction normalizeQueryParams(params) {\n return params && params[0] !== '?' ? '?' + params : params;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/location_strategy.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * http://example.com#/foo,\n * and `PathLocationStrategy` produces\n * http://example.com/foo as an equivalent URL.\n *\n * See these two classes for more.\n *\n * \\@publicApi\n * @abstract\n */\nclass LocationStrategy {\n}\nLocationStrategy.ɵfac = function LocationStrategy_Factory(t) { return new (t || LocationStrategy)(); };\n/** @nocollapse */ LocationStrategy.ɵprov = ɵɵdefineInjectable({ factory: provideLocationStrategy, token: LocationStrategy, providedIn: \"root\" });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(LocationStrategy, [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]\n }], null, null); })();\nif (false) {\n /**\n * @abstract\n * @param {?=} includeHash\n * @return {?}\n */\n LocationStrategy.prototype.path = function (includeHash) { };\n /**\n * @abstract\n * @param {?} internal\n * @return {?}\n */\n LocationStrategy.prototype.prepareExternalUrl = function (internal) { };\n /**\n * @abstract\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @param {?} queryParams\n * @return {?}\n */\n LocationStrategy.prototype.pushState = function (state, title, url, queryParams) { };\n /**\n * @abstract\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @param {?} queryParams\n * @return {?}\n */\n LocationStrategy.prototype.replaceState = function (state, title, url, queryParams) { };\n /**\n * @abstract\n * @return {?}\n */\n LocationStrategy.prototype.forward = function () { };\n /**\n * @abstract\n * @return {?}\n */\n LocationStrategy.prototype.back = function () { };\n /**\n * @abstract\n * @param {?} fn\n * @return {?}\n */\n LocationStrategy.prototype.onPopState = function (fn) { };\n /**\n * @abstract\n * @return {?}\n */\n LocationStrategy.prototype.getBaseHref = function () { };\n}\n/**\n * @param {?} platformLocation\n * @return {?}\n */\nfunction provideLocationStrategy(platformLocation) {\n // See #23917\n /** @type {?} */\n const location = ɵɵinject(DOCUMENT).location;\n return new PathLocationStrategy(ɵɵinject((/** @type {?} */ (PlatformLocation))), location && location.origin || '');\n}\n/**\n * A predefined [DI token](guide/glossary#di-token) for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * \\@usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```typescript\n * import {Component, NgModule} from '\\@angular/core';\n * import {APP_BASE_HREF} from '\\@angular/common';\n *\n * \\@NgModule({\n * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * \\@publicApi\n * @type {?}\n */\nconst APP_BASE_HREF = new InjectionToken('appBaseHref');\n/**\n * \\@description\n * A {\\@link LocationStrategy} used to configure the {\\@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you must provide a {\\@link APP_BASE_HREF}\n * or add a base element to the document. This URL prefix that will be preserved\n * when generating and recognizing URLs.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Similarly, if you add `` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * \\@publicApi\n */\nclass PathLocationStrategy extends LocationStrategy {\n /**\n * @param {?} _platformLocation\n * @param {?=} href\n */\n constructor(_platformLocation, href) {\n super();\n this._platformLocation = _platformLocation;\n if (href == null) {\n href = this._platformLocation.getBaseHrefFromDOM();\n }\n if (href == null) {\n throw new Error(`No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.`);\n }\n this._baseHref = href;\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onPopState(fn) {\n this._platformLocation.onPopState(fn);\n this._platformLocation.onHashChange(fn);\n }\n /**\n * @return {?}\n */\n getBaseHref() {\n return this._baseHref;\n }\n /**\n * @param {?} internal\n * @return {?}\n */\n prepareExternalUrl(internal) {\n return joinWithSlash(this._baseHref, internal);\n }\n /**\n * @param {?=} includeHash\n * @return {?}\n */\n path(includeHash = false) {\n /** @type {?} */\n const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);\n /** @type {?} */\n const hash = this._platformLocation.hash;\n return hash && includeHash ? `${pathname}${hash}` : pathname;\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @param {?} queryParams\n * @return {?}\n */\n pushState(state, title, url, queryParams) {\n /** @type {?} */\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @param {?} queryParams\n * @return {?}\n */\n replaceState(state, title, url, queryParams) {\n /** @type {?} */\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n }\n /**\n * @return {?}\n */\n forward() {\n this._platformLocation.forward();\n }\n /**\n * @return {?}\n */\n back() {\n this._platformLocation.back();\n }\n}\nPathLocationStrategy.ɵfac = function PathLocationStrategy_Factory(t) { return new (t || PathLocationStrategy)(ɵngcc0.ɵɵinject(PlatformLocation), ɵngcc0.ɵɵinject(APP_BASE_HREF, 8)); };\nPathLocationStrategy.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: PathLocationStrategy, factory: PathLocationStrategy.ɵfac });\n/** @nocollapse */\nPathLocationStrategy.ctorParameters = () => [\n { type: PlatformLocation },\n { type: String, decorators: [{ type: Optional }, { type: Inject, args: [APP_BASE_HREF,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(PathLocationStrategy, [{\n type: Injectable\n }], function () { return [{ type: PlatformLocation }, { type: String, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n PathLocationStrategy.prototype._baseHref;\n /**\n * @type {?}\n * @private\n */\n PathLocationStrategy.prototype._platformLocation;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/hash_location_strategy.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * A {\\@link LocationStrategy} used to configure the {\\@link Location} service to\n * represent its state in the\n * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n * of the browser's URL.\n *\n * For instance, if you call `location.go('/foo')`, the browser's URL will become\n * `example.com#/foo`.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/location/ts/hash_location_component.ts region='LocationComponent'}\n *\n * \\@publicApi\n */\nclass HashLocationStrategy extends LocationStrategy {\n /**\n * @param {?} _platformLocation\n * @param {?=} _baseHref\n */\n constructor(_platformLocation, _baseHref) {\n super();\n this._platformLocation = _platformLocation;\n this._baseHref = '';\n if (_baseHref != null) {\n this._baseHref = _baseHref;\n }\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onPopState(fn) {\n this._platformLocation.onPopState(fn);\n this._platformLocation.onHashChange(fn);\n }\n /**\n * @return {?}\n */\n getBaseHref() {\n return this._baseHref;\n }\n /**\n * @param {?=} includeHash\n * @return {?}\n */\n path(includeHash = false) {\n // the hash value is always prefixed with a `#`\n // and if it is empty then it will stay empty\n /** @type {?} */\n let path = this._platformLocation.hash;\n if (path == null)\n path = '#';\n return path.length > 0 ? path.substring(1) : path;\n }\n /**\n * @param {?} internal\n * @return {?}\n */\n prepareExternalUrl(internal) {\n /** @type {?} */\n const url = joinWithSlash(this._baseHref, internal);\n return url.length > 0 ? ('#' + url) : url;\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} path\n * @param {?} queryParams\n * @return {?}\n */\n pushState(state, title, path, queryParams) {\n /** @type {?} */\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.pushState(state, title, url);\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} path\n * @param {?} queryParams\n * @return {?}\n */\n replaceState(state, title, path, queryParams) {\n /** @type {?} */\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.replaceState(state, title, url);\n }\n /**\n * @return {?}\n */\n forward() {\n this._platformLocation.forward();\n }\n /**\n * @return {?}\n */\n back() {\n this._platformLocation.back();\n }\n}\nHashLocationStrategy.ɵfac = function HashLocationStrategy_Factory(t) { return new (t || HashLocationStrategy)(ɵngcc0.ɵɵinject(PlatformLocation), ɵngcc0.ɵɵinject(APP_BASE_HREF, 8)); };\nHashLocationStrategy.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: HashLocationStrategy, factory: HashLocationStrategy.ɵfac });\n/** @nocollapse */\nHashLocationStrategy.ctorParameters = () => [\n { type: PlatformLocation },\n { type: String, decorators: [{ type: Optional }, { type: Inject, args: [APP_BASE_HREF,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(HashLocationStrategy, [{\n type: Injectable\n }], function () { return [{ type: PlatformLocation }, { type: String, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n HashLocationStrategy.prototype._baseHref;\n /**\n * @type {?}\n * @private\n */\n HashLocationStrategy.prototype._platformLocation;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/location.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @record\n */\nfunction PopStateEvent() { }\nif (false) {\n /** @type {?|undefined} */\n PopStateEvent.prototype.pop;\n /** @type {?|undefined} */\n PopStateEvent.prototype.state;\n /** @type {?|undefined} */\n PopStateEvent.prototype.type;\n /** @type {?|undefined} */\n PopStateEvent.prototype.url;\n}\n/**\n * \\@description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * \\@usageNotes\n *\n * It's better to use the `Router#navigate` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * \n *\n * \\@publicApi\n */\nclass Location {\n /**\n * @param {?} platformStrategy\n * @param {?} platformLocation\n */\n constructor(platformStrategy, platformLocation) {\n /**\n * \\@internal\n */\n this._subject = new EventEmitter();\n /**\n * \\@internal\n */\n this._urlChangeListeners = [];\n this._platformStrategy = platformStrategy;\n /** @type {?} */\n const browserBaseHref = this._platformStrategy.getBaseHref();\n this._platformLocation = platformLocation;\n this._baseHref = stripTrailingSlash(_stripIndexHtml(browserBaseHref));\n this._platformStrategy.onPopState((/**\n * @param {?} ev\n * @return {?}\n */\n (ev) => {\n this._subject.emit({\n 'url': this.path(true),\n 'pop': true,\n 'state': ev.state,\n 'type': ev.type,\n });\n }));\n }\n /**\n * Normalizes the URL path for this location.\n *\n * @param {?=} includeHash True to include an anchor fragment in the path.\n *\n * @return {?} The normalized URL path.\n */\n // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n // removed.\n path(includeHash = false) {\n return this.normalize(this._platformStrategy.path(includeHash));\n }\n /**\n * Reports the current state of the location history.\n * @return {?} The current value of the `history.state` object.\n */\n getState() {\n return this._platformLocation.getState();\n }\n /**\n * Normalizes the given path and compares to the current normalized path.\n *\n * @param {?} path The given URL path.\n * @param {?=} query Query parameters.\n *\n * @return {?} True if the given URL path is equal to the current normalized path, false\n * otherwise.\n */\n isCurrentPathEqualTo(path, query = '') {\n return this.path() == this.normalize(path + normalizeQueryParams(query));\n }\n /**\n * Normalizes a URL path by stripping any trailing slashes.\n *\n * @param {?} url String representing a URL.\n *\n * @return {?} The normalized URL string.\n */\n normalize(url) {\n return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));\n }\n /**\n * Normalizes an external URL path.\n * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n * before normalizing. Adds a hash if `HashLocationStrategy` is\n * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n *\n * @param {?} url String representing a URL.\n *\n * @return {?} A normalized platform-specific URL.\n */\n prepareExternalUrl(url) {\n if (url && url[0] !== '/') {\n url = '/' + url;\n }\n return this._platformStrategy.prepareExternalUrl(url);\n }\n // TODO: rename this method to pushState\n /**\n * Changes the browser's URL to a normalized version of a given URL, and pushes a\n * new item onto the platform's history.\n *\n * @param {?} path URL path to normalize.\n * @param {?=} query Query parameters.\n * @param {?=} state Location history state.\n *\n * @return {?}\n */\n go(path, query = '', state = null) {\n this._platformStrategy.pushState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Changes the browser's URL to a normalized version of the given URL, and replaces\n * the top item on the platform's history stack.\n *\n * @param {?} path URL path to normalize.\n * @param {?=} query Query parameters.\n * @param {?=} state Location history state.\n * @return {?}\n */\n replaceState(path, query = '', state = null) {\n this._platformStrategy.replaceState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Navigates forward in the platform's history.\n * @return {?}\n */\n forward() {\n this._platformStrategy.forward();\n }\n /**\n * Navigates back in the platform's history.\n * @return {?}\n */\n back() {\n this._platformStrategy.back();\n }\n /**\n * Registers a URL change listener. Use to catch updates performed by the Angular\n * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n *\n * @param {?} fn The change handler function, which take a URL and a location history state.\n * @return {?}\n */\n onUrlChange(fn) {\n this._urlChangeListeners.push(fn);\n this.subscribe((/**\n * @param {?} v\n * @return {?}\n */\n v => {\n this._notifyUrlChangeListeners(v.url, v.state);\n }));\n }\n /**\n * \\@internal\n * @param {?=} url\n * @param {?=} state\n * @return {?}\n */\n _notifyUrlChangeListeners(url = '', state) {\n this._urlChangeListeners.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn(url, state)));\n }\n /**\n * Subscribes to the platform's `popState` events.\n *\n * @param {?} onNext\n * @param {?=} onThrow\n * @param {?=} onReturn\n * @return {?} Subscribed events.\n */\n subscribe(onNext, onThrow, onReturn) {\n return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n }\n}\nLocation.ɵfac = function Location_Factory(t) { return new (t || Location)(ɵngcc0.ɵɵinject(LocationStrategy), ɵngcc0.ɵɵinject(PlatformLocation)); };\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @return The normalized URL parameters string.\n */\nLocation.normalizeQueryParams = normalizeQueryParams;\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @return The joined URL string.\n */\nLocation.joinWithSlash = joinWithSlash;\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @return The URL string, modified if needed.\n */\nLocation.stripTrailingSlash = stripTrailingSlash;\n/** @nocollapse */\nLocation.ctorParameters = () => [\n { type: LocationStrategy },\n { type: PlatformLocation }\n];\n/** @nocollapse */ Location.ɵprov = ɵɵdefineInjectable({ factory: createLocation, token: Location, providedIn: \"root\" });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(Location, [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n // See #23917\n useFactory: createLocation\n }]\n }], function () { return [{ type: LocationStrategy }, { type: PlatformLocation }]; }, null); })();\nif (false) {\n /**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * \\@param params String of URL parameters.\n *\n * \\@return The normalized URL parameters string.\n * @type {?}\n */\n Location.normalizeQueryParams;\n /**\n * Joins two parts of a URL with a slash if needed.\n *\n * \\@param start URL string\n * \\@param end URL string\n *\n *\n * \\@return The joined URL string.\n * @type {?}\n */\n Location.joinWithSlash;\n /**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * \\@param url URL string.\n *\n * \\@return The URL string, modified if needed.\n * @type {?}\n */\n Location.stripTrailingSlash;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._subject;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._baseHref;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._platformStrategy;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._platformLocation;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._urlChangeListeners;\n}\n/**\n * @return {?}\n */\nfunction createLocation() {\n return new Location(ɵɵinject((/** @type {?} */ (LocationStrategy))), ɵɵinject((/** @type {?} */ (PlatformLocation))));\n}\n/**\n * @param {?} baseHref\n * @param {?} url\n * @return {?}\n */\nfunction _stripBaseHref(baseHref, url) {\n return baseHref && url.startsWith(baseHref) ? url.substring(baseHref.length) : url;\n}\n/**\n * @param {?} url\n * @return {?}\n */\nfunction _stripIndexHtml(url) {\n return url.replace(/\\/index.html$/, '');\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/currencies.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// THIS CODE IS GENERATED - DO NOT MODIFY\n// See angular/tools/gulp-tasks/cldr/extract.js\n/**\n * \\@internal\n * @type {?}\n */\nconst CURRENCIES_EN = {\n 'ADP': [undefined, undefined, 0],\n 'AFN': [undefined, undefined, 0],\n 'ALL': [undefined, undefined, 0],\n 'AMD': [undefined, undefined, 2],\n 'AOA': [undefined, 'Kz'],\n 'ARS': [undefined, '$'],\n 'AUD': ['A$', '$'],\n 'BAM': [undefined, 'KM'],\n 'BBD': [undefined, '$'],\n 'BDT': [undefined, '৳'],\n 'BHD': [undefined, undefined, 3],\n 'BIF': [undefined, undefined, 0],\n 'BMD': [undefined, '$'],\n 'BND': [undefined, '$'],\n 'BOB': [undefined, 'Bs'],\n 'BRL': ['R$'],\n 'BSD': [undefined, '$'],\n 'BWP': [undefined, 'P'],\n 'BYN': [undefined, 'р.', 2],\n 'BYR': [undefined, undefined, 0],\n 'BZD': [undefined, '$'],\n 'CAD': ['CA$', '$', 2],\n 'CHF': [undefined, undefined, 2],\n 'CLF': [undefined, undefined, 4],\n 'CLP': [undefined, '$', 0],\n 'CNY': ['CN¥', '¥'],\n 'COP': [undefined, '$', 2],\n 'CRC': [undefined, '₡', 2],\n 'CUC': [undefined, '$'],\n 'CUP': [undefined, '$'],\n 'CZK': [undefined, 'Kč', 2],\n 'DJF': [undefined, undefined, 0],\n 'DKK': [undefined, 'kr', 2],\n 'DOP': [undefined, '$'],\n 'EGP': [undefined, 'E£'],\n 'ESP': [undefined, '₧', 0],\n 'EUR': ['€'],\n 'FJD': [undefined, '$'],\n 'FKP': [undefined, '£'],\n 'GBP': ['£'],\n 'GEL': [undefined, '₾'],\n 'GIP': [undefined, '£'],\n 'GNF': [undefined, 'FG', 0],\n 'GTQ': [undefined, 'Q'],\n 'GYD': [undefined, '$', 2],\n 'HKD': ['HK$', '$'],\n 'HNL': [undefined, 'L'],\n 'HRK': [undefined, 'kn'],\n 'HUF': [undefined, 'Ft', 2],\n 'IDR': [undefined, 'Rp', 2],\n 'ILS': ['₪'],\n 'INR': ['₹'],\n 'IQD': [undefined, undefined, 0],\n 'IRR': [undefined, undefined, 0],\n 'ISK': [undefined, 'kr', 0],\n 'ITL': [undefined, undefined, 0],\n 'JMD': [undefined, '$'],\n 'JOD': [undefined, undefined, 3],\n 'JPY': ['¥', undefined, 0],\n 'KHR': [undefined, '៛'],\n 'KMF': [undefined, 'CF', 0],\n 'KPW': [undefined, '₩', 0],\n 'KRW': ['₩', undefined, 0],\n 'KWD': [undefined, undefined, 3],\n 'KYD': [undefined, '$'],\n 'KZT': [undefined, '₸'],\n 'LAK': [undefined, '₭', 0],\n 'LBP': [undefined, 'L£', 0],\n 'LKR': [undefined, 'Rs'],\n 'LRD': [undefined, '$'],\n 'LTL': [undefined, 'Lt'],\n 'LUF': [undefined, undefined, 0],\n 'LVL': [undefined, 'Ls'],\n 'LYD': [undefined, undefined, 3],\n 'MGA': [undefined, 'Ar', 0],\n 'MGF': [undefined, undefined, 0],\n 'MMK': [undefined, 'K', 0],\n 'MNT': [undefined, '₮', 2],\n 'MRO': [undefined, undefined, 0],\n 'MUR': [undefined, 'Rs', 2],\n 'MXN': ['MX$', '$'],\n 'MYR': [undefined, 'RM'],\n 'NAD': [undefined, '$'],\n 'NGN': [undefined, '₦'],\n 'NIO': [undefined, 'C$'],\n 'NOK': [undefined, 'kr', 2],\n 'NPR': [undefined, 'Rs'],\n 'NZD': ['NZ$', '$'],\n 'OMR': [undefined, undefined, 3],\n 'PHP': [undefined, '₱'],\n 'PKR': [undefined, 'Rs', 2],\n 'PLN': [undefined, 'zł'],\n 'PYG': [undefined, '₲', 0],\n 'RON': [undefined, 'lei'],\n 'RSD': [undefined, undefined, 0],\n 'RUB': [undefined, '₽'],\n 'RUR': [undefined, 'р.'],\n 'RWF': [undefined, 'RF', 0],\n 'SBD': [undefined, '$'],\n 'SEK': [undefined, 'kr', 2],\n 'SGD': [undefined, '$'],\n 'SHP': [undefined, '£'],\n 'SLL': [undefined, undefined, 0],\n 'SOS': [undefined, undefined, 0],\n 'SRD': [undefined, '$'],\n 'SSP': [undefined, '£'],\n 'STD': [undefined, undefined, 0],\n 'STN': [undefined, 'Db'],\n 'SYP': [undefined, '£', 0],\n 'THB': [undefined, '฿'],\n 'TMM': [undefined, undefined, 0],\n 'TND': [undefined, undefined, 3],\n 'TOP': [undefined, 'T$'],\n 'TRL': [undefined, undefined, 0],\n 'TRY': [undefined, '₺'],\n 'TTD': [undefined, '$'],\n 'TWD': ['NT$', '$', 2],\n 'TZS': [undefined, undefined, 2],\n 'UAH': [undefined, '₴'],\n 'UGX': [undefined, undefined, 0],\n 'USD': ['$'],\n 'UYI': [undefined, undefined, 0],\n 'UYU': [undefined, '$'],\n 'UYW': [undefined, undefined, 4],\n 'UZS': [undefined, undefined, 2],\n 'VEF': [undefined, 'Bs', 2],\n 'VND': ['₫', undefined, 0],\n 'VUV': [undefined, undefined, 0],\n 'XAF': ['FCFA', undefined, 0],\n 'XCD': ['EC$', '$'],\n 'XOF': ['CFA', undefined, 0],\n 'XPF': ['CFPF', undefined, 0],\n 'XXX': ['¤'],\n 'YER': [undefined, undefined, 0],\n 'ZAR': [undefined, 'R'],\n 'ZMK': [undefined, undefined, 0],\n 'ZMW': [undefined, 'ZK'],\n 'ZWD': [undefined, undefined, 0]\n};\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/locale_data_api.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @enum {number} */\nconst NumberFormatStyle = {\n Decimal: 0,\n Percent: 1,\n Currency: 2,\n Scientific: 3,\n};\nNumberFormatStyle[NumberFormatStyle.Decimal] = 'Decimal';\nNumberFormatStyle[NumberFormatStyle.Percent] = 'Percent';\nNumberFormatStyle[NumberFormatStyle.Currency] = 'Currency';\nNumberFormatStyle[NumberFormatStyle.Scientific] = 'Scientific';\n/** @enum {number} */\nconst Plural = {\n Zero: 0,\n One: 1,\n Two: 2,\n Few: 3,\n Many: 4,\n Other: 5,\n};\nPlural[Plural.Zero] = 'Zero';\nPlural[Plural.One] = 'One';\nPlural[Plural.Two] = 'Two';\nPlural[Plural.Few] = 'Few';\nPlural[Plural.Many] = 'Many';\nPlural[Plural.Other] = 'Other';\n/** @enum {number} */\nconst FormStyle = {\n Format: 0,\n Standalone: 1,\n};\nFormStyle[FormStyle.Format] = 'Format';\nFormStyle[FormStyle.Standalone] = 'Standalone';\n/** @enum {number} */\nconst TranslationWidth = {\n /** 1 character for `en-US`. For example: 'S' */\n Narrow: 0,\n /** 3 characters for `en-US`. For example: 'Sun' */\n Abbreviated: 1,\n /** Full length for `en-US`. For example: \"Sunday\" */\n Wide: 2,\n /** 2 characters for `en-US`, For example: \"Su\" */\n Short: 3,\n};\nTranslationWidth[TranslationWidth.Narrow] = 'Narrow';\nTranslationWidth[TranslationWidth.Abbreviated] = 'Abbreviated';\nTranslationWidth[TranslationWidth.Wide] = 'Wide';\nTranslationWidth[TranslationWidth.Short] = 'Short';\n/** @enum {number} */\nconst FormatWidth = {\n /**\n * For `en-US`, 'M/d/yy, h:mm a'`\n * (Example: `6/15/15, 9:03 AM`)\n */\n Short: 0,\n /**\n * For `en-US`, `'MMM d, y, h:mm:ss a'`\n * (Example: `Jun 15, 2015, 9:03:01 AM`)\n */\n Medium: 1,\n /**\n * For `en-US`, `'MMMM d, y, h:mm:ss a z'`\n * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)\n */\n Long: 2,\n /**\n * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`\n * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)\n */\n Full: 3,\n};\nFormatWidth[FormatWidth.Short] = 'Short';\nFormatWidth[FormatWidth.Medium] = 'Medium';\nFormatWidth[FormatWidth.Long] = 'Long';\nFormatWidth[FormatWidth.Full] = 'Full';\n/** @enum {number} */\nconst NumberSymbol = {\n /**\n * Decimal separator.\n * For `en-US`, the dot character.\n * Example : 2,345`.`67\n */\n Decimal: 0,\n /**\n * Grouping separator, typically for thousands.\n * For `en-US`, the comma character.\n * Example: 2`,`345.67\n */\n Group: 1,\n /**\n * List-item separator.\n * Example: \"one, two, and three\"\n */\n List: 2,\n /**\n * Sign for percentage (out of 100).\n * Example: 23.4%\n */\n PercentSign: 3,\n /**\n * Sign for positive numbers.\n * Example: +23\n */\n PlusSign: 4,\n /**\n * Sign for negative numbers.\n * Example: -23\n */\n MinusSign: 5,\n /**\n * Computer notation for exponential value (n times a power of 10).\n * Example: 1.2E3\n */\n Exponential: 6,\n /**\n * Human-readable format of exponential.\n * Example: 1.2x103\n */\n SuperscriptingExponent: 7,\n /**\n * Sign for permille (out of 1000).\n * Example: 23.4‰\n */\n PerMille: 8,\n /**\n * Infinity, can be used with plus and minus.\n * Example: ∞, +∞, -∞\n */\n Infinity: 9,\n /**\n * Not a number.\n * Example: NaN\n */\n NaN: 10,\n /**\n * Symbol used between time units.\n * Example: 10:52\n */\n TimeSeparator: 11,\n /**\n * Decimal separator for currency values (fallback to `Decimal`).\n * Example: $2,345.67\n */\n CurrencyDecimal: 12,\n /**\n * Group separator for currency values (fallback to `Group`).\n * Example: $2,345.67\n */\n CurrencyGroup: 13,\n};\nNumberSymbol[NumberSymbol.Decimal] = 'Decimal';\nNumberSymbol[NumberSymbol.Group] = 'Group';\nNumberSymbol[NumberSymbol.List] = 'List';\nNumberSymbol[NumberSymbol.PercentSign] = 'PercentSign';\nNumberSymbol[NumberSymbol.PlusSign] = 'PlusSign';\nNumberSymbol[NumberSymbol.MinusSign] = 'MinusSign';\nNumberSymbol[NumberSymbol.Exponential] = 'Exponential';\nNumberSymbol[NumberSymbol.SuperscriptingExponent] = 'SuperscriptingExponent';\nNumberSymbol[NumberSymbol.PerMille] = 'PerMille';\nNumberSymbol[NumberSymbol.Infinity] = 'Infinity';\nNumberSymbol[NumberSymbol.NaN] = 'NaN';\nNumberSymbol[NumberSymbol.TimeSeparator] = 'TimeSeparator';\nNumberSymbol[NumberSymbol.CurrencyDecimal] = 'CurrencyDecimal';\nNumberSymbol[NumberSymbol.CurrencyGroup] = 'CurrencyGroup';\n/** @enum {number} */\nconst WeekDay = {\n Sunday: 0,\n Monday: 1,\n Tuesday: 2,\n Wednesday: 3,\n Thursday: 4,\n Friday: 5,\n Saturday: 6,\n};\nWeekDay[WeekDay.Sunday] = 'Sunday';\nWeekDay[WeekDay.Monday] = 'Monday';\nWeekDay[WeekDay.Tuesday] = 'Tuesday';\nWeekDay[WeekDay.Wednesday] = 'Wednesday';\nWeekDay[WeekDay.Thursday] = 'Thursday';\nWeekDay[WeekDay.Friday] = 'Friday';\nWeekDay[WeekDay.Saturday] = 'Saturday';\n/**\n * Retrieves the locale ID from the currently loaded locale.\n * The loaded locale could be, for example, a global one rather than a regional one.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code, such as `fr-FR`.\n * @return {?} The locale code. For example, `fr`.\n */\nfunction getLocaleId(locale) {\n return ɵfindLocaleData(locale)[ɵLocaleDataIndex.LocaleId];\n}\n/**\n * Retrieves day period strings for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized period strings. For example, `[AM, PM]` for `en-US`.\n */\nfunction getLocaleDayPeriods(locale, formStyle, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const amPmData = (/** @type {?} */ ([\n data[ɵLocaleDataIndex.DayPeriodsFormat], data[ɵLocaleDataIndex.DayPeriodsStandalone]\n ]));\n /** @type {?} */\n const amPm = getLastDefinedValue(amPmData, formStyle);\n return getLastDefinedValue(amPm, width);\n}\n/**\n * Retrieves days of the week for the given locale, using the Gregorian calendar.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized name strings.\n * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.\n */\nfunction getLocaleDayNames(locale, formStyle, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const daysData = (/** @type {?} */ ([data[ɵLocaleDataIndex.DaysFormat], data[ɵLocaleDataIndex.DaysStandalone]]));\n /** @type {?} */\n const days = getLastDefinedValue(daysData, formStyle);\n return getLastDefinedValue(days, width);\n}\n/**\n * Retrieves months of the year for the given locale, using the Gregorian calendar.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized name strings.\n * For example, `[January, February, ...]` for `en-US`.\n */\nfunction getLocaleMonthNames(locale, formStyle, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const monthsData = (/** @type {?} */ ([data[ɵLocaleDataIndex.MonthsFormat], data[ɵLocaleDataIndex.MonthsStandalone]]));\n /** @type {?} */\n const months = getLastDefinedValue(monthsData, formStyle);\n return getLastDefinedValue(months, width);\n}\n/**\n * Retrieves Gregorian-calendar eras for the given locale.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The required character width.\n * @return {?} An array of localized era strings.\n * For example, `[AD, BC]` for `en-US`.\n */\nfunction getLocaleEraNames(locale, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const erasData = (/** @type {?} */ (data[ɵLocaleDataIndex.Eras]));\n return getLastDefinedValue(erasData, width);\n}\n/**\n * Retrieves the first day of the week for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} A day index number, using the 0-based week-day index for `en-US`\n * (Sunday = 0, Monday = 1, ...).\n * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.\n */\nfunction getLocaleFirstDayOfWeek(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.FirstDayOfWeek];\n}\n/**\n * Range of week days that are considered the week-end for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The range of day values, `[startDay, endDay]`.\n */\nfunction getLocaleWeekEndRange(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.WeekendRange];\n}\n/**\n * Retrieves a localized date-value formating string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formating string.\n */\nfunction getLocaleDateFormat(locale, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.DateFormat], width);\n}\n/**\n * Retrieves a localized time-value formatting string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formatting string.\n */\nfunction getLocaleTimeFormat(locale, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.TimeFormat], width);\n}\n/**\n * Retrieves a localized date-time formatting string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formatting string.\n */\nfunction getLocaleDateTimeFormat(locale, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const dateTimeFormatData = (/** @type {?} */ (data[ɵLocaleDataIndex.DateTimeFormat]));\n return getLastDefinedValue(dateTimeFormatData, width);\n}\n/**\n * Retrieves a localized number symbol that can be used to replace placeholders in number formats.\n * @see `NumberSymbol` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale The locale code.\n * @param {?} symbol The symbol to localize.\n * @return {?} The character for the localized symbol.\n */\nfunction getLocaleNumberSymbol(locale, symbol) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const res = data[ɵLocaleDataIndex.NumberSymbols][symbol];\n if (typeof res === 'undefined') {\n if (symbol === NumberSymbol.CurrencyDecimal) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Decimal];\n }\n else if (symbol === NumberSymbol.CurrencyGroup) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Group];\n }\n }\n return res;\n}\n/**\n * Retrieves a number format for a given locale.\n *\n * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`\n * when used to format the number 12345.678 could result in \"12'345,678\". That would happen if the\n * grouping separator for your language is an apostrophe, and the decimal separator is a comma.\n *\n * Important: The characters `.` `,` `0` `#` (and others below) are special placeholders\n * that stand for the decimal separator, and so on, and are NOT real characters.\n * You must NOT \"translate\" the placeholders. For example, don't change `.` to `,` even though in\n * your language the decimal point is written with a comma. The symbols should be replaced by the\n * local equivalents, using the appropriate `NumberSymbol` for your language.\n *\n * Here are the special characters used in number patterns:\n *\n * | Symbol | Meaning |\n * |--------|---------|\n * | . | Replaced automatically by the character used for the decimal point. |\n * | , | Replaced by the \"grouping\" (thousands) separator. |\n * | 0 | Replaced by a digit (or zero if there aren't enough digits). |\n * | # | Replaced by a digit (or nothing if there aren't enough). |\n * | ¤ | Replaced by a currency symbol, such as $ or USD. |\n * | % | Marks a percent format. The % symbol may change position, but must be retained. |\n * | E | Marks a scientific format. The E symbol may change position, but must be retained. |\n * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |\n *\n * @see `NumberFormatStyle` / [CLDR website](http://cldr.unicode.org/translation/number-patterns) / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)\n * @return {?} The localized format string.\n */\nfunction getLocaleNumberFormat(locale, type) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.NumberFormats][type];\n}\n/**\n * Retrieves the symbol used to represent the currency for the main country\n * corresponding to a given locale. For example, '$' for `en-US`.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The localized symbol character,\n * or `null` if the main country cannot be determined.\n */\nfunction getLocaleCurrencySymbol(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencySymbol] || null;\n}\n/**\n * Retrieves the name of the currency for the main country corresponding\n * to a given locale. For example, 'US Dollar' for `en-US`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The currency name,\n * or `null` if the main country cannot be determined.\n */\nfunction getLocaleCurrencyName(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencyName] || null;\n}\n/**\n * Retrieves the default currency code for the given locale.\n *\n * The default is defined as the first currency which is still in use.\n *\n * \\@publicApi\n * @param {?} locale The code of the locale whose currency code we want.\n * @return {?} The code of the default currency for the given locale.\n *\n */\nfunction getLocaleCurrencyCode(locale) {\n return ɵgetLocaleCurrencyCode(locale);\n}\n/**\n * Retrieves the currency values for a given locale.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The currency values.\n */\nfunction getLocaleCurrencies(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Currencies];\n}\n/**\n * \\@alias core/ɵgetLocalePluralCase\n * \\@publicApi\n * @type {?}\n */\nconst getLocalePluralCase = ɵgetLocalePluralCase;\n/**\n * @param {?} data\n * @return {?}\n */\nfunction checkFullData(data) {\n if (!data[ɵLocaleDataIndex.ExtraData]) {\n throw new Error(`Missing extra locale data for the locale \"${data[ɵLocaleDataIndex\n .LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`);\n }\n}\n/**\n * Retrieves locale-specific rules used to determine which day period to use\n * when more than one period is defined for a locale.\n *\n * There is a rule for each defined day period. The\n * first rule is applied to the first day period and so on.\n * Fall back to AM/PM when no rules are available.\n *\n * A rule can specify a period as time range, or as a single time value.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n#i18n-pipes).\n *\n * @see `getLocaleExtraDayPeriods()` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The rules for the locale, a single time value or array of *from-time, to-time*,\n * or null if no periods are available.\n *\n */\nfunction getLocaleExtraDayPeriodRules(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n /** @type {?} */\n const rules = data[ɵLocaleDataIndex.ExtraData][2 /* ExtraDayPeriodsRules */] || [];\n return rules.map((/**\n * @param {?} rule\n * @return {?}\n */\n (rule) => {\n if (typeof rule === 'string') {\n return extractTime(rule);\n }\n return [extractTime(rule[0]), extractTime(rule[1])];\n }));\n}\n/**\n * Retrieves locale-specific day periods, which indicate roughly how a day is broken up\n * in different languages.\n * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n#i18n-pipes).\n *\n * @see `getLocaleExtraDayPeriodRules()` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} The translated day-period strings.\n */\nfunction getLocaleExtraDayPeriods(locale, formStyle, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n /** @type {?} */\n const dayPeriodsData = (/** @type {?} */ ([\n data[ɵLocaleDataIndex.ExtraData][0 /* ExtraDayPeriodFormats */],\n data[ɵLocaleDataIndex.ExtraData][1 /* ExtraDayPeriodStandalone */]\n ]));\n /** @type {?} */\n const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];\n return getLastDefinedValue(dayPeriods, width) || [];\n}\n/**\n * Retrieves the writing direction of a specified locale\n * \\@publicApi\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} 'rtl' or 'ltr'\n */\nfunction getLocaleDirection(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Directionality];\n}\n/**\n * Retrieves the first value that is defined in an array, going backwards from an index position.\n *\n * To avoid repeating the same data (as when the \"format\" and \"standalone\" forms are the same)\n * add the first value to the locale data arrays, and add other values only if they are different.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @template T\n * @param {?} data The data array to retrieve from.\n * @param {?} index A 0-based index into the array to start from.\n * @return {?} The value immediately before the given index position.\n */\nfunction getLastDefinedValue(data, index) {\n for (let i = index; i > -1; i--) {\n if (typeof data[i] !== 'undefined') {\n return data[i];\n }\n }\n throw new Error('Locale data API: locale data undefined');\n}\n/**\n * Extracts the hours and minutes from a string like \"15:45\"\n * @param {?} time\n * @return {?}\n */\nfunction extractTime(time) {\n const [h, m] = time.split(':');\n return { hours: +h, minutes: +m };\n}\n/**\n * Retrieves the currency symbol for a given currency code.\n *\n * For example, for the default `en-US` locale, the code `USD` can\n * be represented by the narrow symbol `$` or the wide symbol `US$`.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} code The currency code.\n * @param {?} format The format, `wide` or `narrow`.\n * @param {?=} locale A locale code for the locale format rules to use.\n *\n * @return {?} The symbol, or the currency code if no symbol is available.\n */\nfunction getCurrencySymbol(code, format, locale = 'en') {\n /** @type {?} */\n const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];\n /** @type {?} */\n const symbolNarrow = currency[1 /* SymbolNarrow */];\n if (format === 'narrow' && typeof symbolNarrow === 'string') {\n return symbolNarrow;\n }\n return currency[0 /* Symbol */] || code;\n}\n// Most currencies have cents, that's why the default is 2\n/** @type {?} */\nconst DEFAULT_NB_OF_CURRENCY_DIGITS = 2;\n/**\n * Reports the number of decimal digits for a given currency.\n * The value depends upon the presence of cents in that particular currency.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} code The currency code.\n * @return {?} The number of decimal digits, typically 0 or 2.\n */\nfunction getNumberOfCurrencyDigits(code) {\n /** @type {?} */\n let digits;\n /** @type {?} */\n const currency = CURRENCIES_EN[code];\n if (currency) {\n digits = currency[2 /* NbOfDigits */];\n }\n return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/format_date.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ISO8601_DATE_REGEX = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n// 1 2 3 4 5 6 7 8 9 10 11\n/** @type {?} */\nconst NAMED_FORMATS = {};\n/** @type {?} */\nconst DATE_FORMATS_SPLIT = /((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;\n/** @enum {number} */\nconst ZoneWidth = {\n Short: 0,\n ShortGMT: 1,\n Long: 2,\n Extended: 3,\n};\nZoneWidth[ZoneWidth.Short] = 'Short';\nZoneWidth[ZoneWidth.ShortGMT] = 'ShortGMT';\nZoneWidth[ZoneWidth.Long] = 'Long';\nZoneWidth[ZoneWidth.Extended] = 'Extended';\n/** @enum {number} */\nconst DateType = {\n FullYear: 0,\n Month: 1,\n Date: 2,\n Hours: 3,\n Minutes: 4,\n Seconds: 5,\n FractionalSeconds: 6,\n Day: 7,\n};\nDateType[DateType.FullYear] = 'FullYear';\nDateType[DateType.Month] = 'Month';\nDateType[DateType.Date] = 'Date';\nDateType[DateType.Hours] = 'Hours';\nDateType[DateType.Minutes] = 'Minutes';\nDateType[DateType.Seconds] = 'Seconds';\nDateType[DateType.FractionalSeconds] = 'FractionalSeconds';\nDateType[DateType.Day] = 'Day';\n/** @enum {number} */\nconst TranslationType = {\n DayPeriods: 0,\n Days: 1,\n Months: 2,\n Eras: 3,\n};\nTranslationType[TranslationType.DayPeriods] = 'DayPeriods';\nTranslationType[TranslationType.Days] = 'Days';\nTranslationType[TranslationType.Months] = 'Months';\nTranslationType[TranslationType.Eras] = 'Eras';\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a date according to locale rules.\n *\n * @see `DatePipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The date to format, as a Date, or a number (milliseconds since UTC epoch)\n * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).\n * @param {?} format The date-time components to include. See `DatePipe` for details.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} timezone The time zone. A time zone offset from GMT (such as `'+0430'`),\n * or a standard UTC/GMT or continental US time zone abbreviation.\n * If not specified, uses host system settings.\n *\n * @return {?} The formatted date string.\n *\n */\nfunction formatDate(value, format, locale, timezone) {\n /** @type {?} */\n let date = toDate(value);\n /** @type {?} */\n const namedFormat = getNamedFormat(locale, format);\n format = namedFormat || format;\n /** @type {?} */\n let parts = [];\n /** @type {?} */\n let match;\n while (format) {\n match = DATE_FORMATS_SPLIT.exec(format);\n if (match) {\n parts = parts.concat(match.slice(1));\n /** @type {?} */\n const part = parts.pop();\n if (!part) {\n break;\n }\n format = part;\n }\n else {\n parts.push(format);\n break;\n }\n }\n /** @type {?} */\n let dateTimezoneOffset = date.getTimezoneOffset();\n if (timezone) {\n dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n date = convertTimezoneToLocal(date, timezone, true);\n }\n /** @type {?} */\n let text = '';\n parts.forEach((/**\n * @param {?} value\n * @return {?}\n */\n value => {\n /** @type {?} */\n const dateFormatter = getDateFormatter(value);\n text += dateFormatter ?\n dateFormatter(date, locale, dateTimezoneOffset) :\n value === '\\'\\'' ? '\\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n }));\n return text;\n}\n/**\n * @param {?} locale\n * @param {?} format\n * @return {?}\n */\nfunction getNamedFormat(locale, format) {\n /** @type {?} */\n const localeId = getLocaleId(locale);\n NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};\n if (NAMED_FORMATS[localeId][format]) {\n return NAMED_FORMATS[localeId][format];\n }\n /** @type {?} */\n let formatValue = '';\n switch (format) {\n case 'shortDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Short);\n break;\n case 'mediumDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);\n break;\n case 'longDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Long);\n break;\n case 'fullDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Full);\n break;\n case 'shortTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);\n break;\n case 'mediumTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);\n break;\n case 'longTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);\n break;\n case 'fullTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);\n break;\n case 'short':\n /** @type {?} */\n const shortTime = getNamedFormat(locale, 'shortTime');\n /** @type {?} */\n const shortDate = getNamedFormat(locale, 'shortDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);\n break;\n case 'medium':\n /** @type {?} */\n const mediumTime = getNamedFormat(locale, 'mediumTime');\n /** @type {?} */\n const mediumDate = getNamedFormat(locale, 'mediumDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);\n break;\n case 'long':\n /** @type {?} */\n const longTime = getNamedFormat(locale, 'longTime');\n /** @type {?} */\n const longDate = getNamedFormat(locale, 'longDate');\n formatValue =\n formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);\n break;\n case 'full':\n /** @type {?} */\n const fullTime = getNamedFormat(locale, 'fullTime');\n /** @type {?} */\n const fullDate = getNamedFormat(locale, 'fullDate');\n formatValue =\n formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);\n break;\n }\n if (formatValue) {\n NAMED_FORMATS[localeId][format] = formatValue;\n }\n return formatValue;\n}\n/**\n * @param {?} str\n * @param {?} opt_values\n * @return {?}\n */\nfunction formatDateTime(str, opt_values) {\n if (opt_values) {\n str = str.replace(/\\{([^}]+)}/g, (/**\n * @param {?} match\n * @param {?} key\n * @return {?}\n */\n function (match, key) {\n return (opt_values != null && key in opt_values) ? opt_values[key] : match;\n }));\n }\n return str;\n}\n/**\n * @param {?} num\n * @param {?} digits\n * @param {?=} minusSign\n * @param {?=} trim\n * @param {?=} negWrap\n * @return {?}\n */\nfunction padNumber(num, digits, minusSign = '-', trim, negWrap) {\n /** @type {?} */\n let neg = '';\n if (num < 0 || (negWrap && num <= 0)) {\n if (negWrap) {\n num = -num + 1;\n }\n else {\n num = -num;\n neg = minusSign;\n }\n }\n /** @type {?} */\n let strNum = String(num);\n while (strNum.length < digits) {\n strNum = '0' + strNum;\n }\n if (trim) {\n strNum = strNum.substr(strNum.length - digits);\n }\n return neg + strNum;\n}\n/**\n * @param {?} milliseconds\n * @param {?} digits\n * @return {?}\n */\nfunction formatFractionalSeconds(milliseconds, digits) {\n /** @type {?} */\n const strMs = padNumber(milliseconds, 3);\n return strMs.substr(0, digits);\n}\n/**\n * Returns a date formatter that transforms a date into its locale digit representation\n * @param {?} name\n * @param {?} size\n * @param {?=} offset\n * @param {?=} trim\n * @param {?=} negWrap\n * @return {?}\n */\nfunction dateGetter(name, size, offset = 0, trim = false, negWrap = false) {\n return (/**\n * @param {?} date\n * @param {?} locale\n * @return {?}\n */\n function (date, locale) {\n /** @type {?} */\n let part = getDatePart(name, date);\n if (offset > 0 || part > -offset) {\n part += offset;\n }\n if (name === DateType.Hours) {\n if (part === 0 && offset === -12) {\n part = 12;\n }\n }\n else if (name === DateType.FractionalSeconds) {\n return formatFractionalSeconds(part, size);\n }\n /** @type {?} */\n const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n return padNumber(part, size, localeMinus, trim, negWrap);\n });\n}\n/**\n * @param {?} part\n * @param {?} date\n * @return {?}\n */\nfunction getDatePart(part, date) {\n switch (part) {\n case DateType.FullYear:\n return date.getFullYear();\n case DateType.Month:\n return date.getMonth();\n case DateType.Date:\n return date.getDate();\n case DateType.Hours:\n return date.getHours();\n case DateType.Minutes:\n return date.getMinutes();\n case DateType.Seconds:\n return date.getSeconds();\n case DateType.FractionalSeconds:\n return date.getMilliseconds();\n case DateType.Day:\n return date.getDay();\n default:\n throw new Error(`Unknown DateType value \"${part}\".`);\n }\n}\n/**\n * Returns a date formatter that transforms a date into its locale string representation\n * @param {?} name\n * @param {?} width\n * @param {?=} form\n * @param {?=} extended\n * @return {?}\n */\nfunction dateStrGetter(name, width, form = FormStyle.Format, extended = false) {\n return (/**\n * @param {?} date\n * @param {?} locale\n * @return {?}\n */\n function (date, locale) {\n return getDateTranslation(date, locale, name, width, form, extended);\n });\n}\n/**\n * Returns the locale translation of a date for a given form, type and width\n * @param {?} date\n * @param {?} locale\n * @param {?} name\n * @param {?} width\n * @param {?} form\n * @param {?} extended\n * @return {?}\n */\nfunction getDateTranslation(date, locale, name, width, form, extended) {\n switch (name) {\n case TranslationType.Months:\n return getLocaleMonthNames(locale, form, width)[date.getMonth()];\n case TranslationType.Days:\n return getLocaleDayNames(locale, form, width)[date.getDay()];\n case TranslationType.DayPeriods:\n /** @type {?} */\n const currentHours = date.getHours();\n /** @type {?} */\n const currentMinutes = date.getMinutes();\n if (extended) {\n /** @type {?} */\n const rules = getLocaleExtraDayPeriodRules(locale);\n /** @type {?} */\n const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);\n /** @type {?} */\n let result;\n rules.forEach((/**\n * @param {?} rule\n * @param {?} index\n * @return {?}\n */\n (rule, index) => {\n if (Array.isArray(rule)) {\n // morning, afternoon, evening, night\n const { hours: hoursFrom, minutes: minutesFrom } = rule[0];\n const { hours: hoursTo, minutes: minutesTo } = rule[1];\n if (currentHours >= hoursFrom && currentMinutes >= minutesFrom &&\n (currentHours < hoursTo ||\n (currentHours === hoursTo && currentMinutes < minutesTo))) {\n result = dayPeriods[index];\n }\n }\n else { // noon or midnight\n // noon or midnight\n const { hours, minutes } = rule;\n if (hours === currentHours && minutes === currentMinutes) {\n result = dayPeriods[index];\n }\n }\n }));\n if (result) {\n return result;\n }\n }\n // if no rules for the day periods, we use am/pm by default\n return getLocaleDayPeriods(locale, form, (/** @type {?} */ (width)))[currentHours < 12 ? 0 : 1];\n case TranslationType.Eras:\n return getLocaleEraNames(locale, (/** @type {?} */ (width)))[date.getFullYear() <= 0 ? 0 : 1];\n default:\n // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n // However Closure Compiler does not understand that and reports an error in typed mode.\n // The `throw new Error` below works around the problem, and the unexpected: never variable\n // makes sure tsc still checks this code is unreachable.\n /** @type {?} */\n const unexpected = name;\n throw new Error(`unexpected translation type ${unexpected}`);\n }\n}\n/**\n * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or\n * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,\n * extended = +04:30)\n * @param {?} width\n * @return {?}\n */\nfunction timeZoneGetter(width) {\n return (/**\n * @param {?} date\n * @param {?} locale\n * @param {?} offset\n * @return {?}\n */\n function (date, locale, offset) {\n /** @type {?} */\n const zone = -1 * offset;\n /** @type {?} */\n const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n /** @type {?} */\n const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);\n switch (width) {\n case ZoneWidth.Short:\n return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n case ZoneWidth.ShortGMT:\n return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 1, minusSign);\n case ZoneWidth.Long:\n return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n case ZoneWidth.Extended:\n if (offset === 0) {\n return 'Z';\n }\n else {\n return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n }\n default:\n throw new Error(`Unknown zone width \"${width}\"`);\n }\n });\n}\n/** @type {?} */\nconst JANUARY = 0;\n/** @type {?} */\nconst THURSDAY = 4;\n/**\n * @param {?} year\n * @return {?}\n */\nfunction getFirstThursdayOfYear(year) {\n /** @type {?} */\n const firstDayOfYear = (new Date(year, JANUARY, 1)).getDay();\n return new Date(year, 0, 1 + ((firstDayOfYear <= THURSDAY) ? THURSDAY : THURSDAY + 7) - firstDayOfYear);\n}\n/**\n * @param {?} datetime\n * @return {?}\n */\nfunction getThursdayThisWeek(datetime) {\n return new Date(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));\n}\n/**\n * @param {?} size\n * @param {?=} monthBased\n * @return {?}\n */\nfunction weekGetter(size, monthBased = false) {\n return (/**\n * @param {?} date\n * @param {?} locale\n * @return {?}\n */\n function (date, locale) {\n /** @type {?} */\n let result;\n if (monthBased) {\n /** @type {?} */\n const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;\n /** @type {?} */\n const today = date.getDate();\n result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);\n }\n else {\n /** @type {?} */\n const firstThurs = getFirstThursdayOfYear(date.getFullYear());\n /** @type {?} */\n const thisThurs = getThursdayThisWeek(date);\n /** @type {?} */\n const diff = thisThurs.getTime() - firstThurs.getTime();\n result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n }\n return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n });\n}\n/** @type {?} */\nconst DATE_FORMATS = {};\n// Based on CLDR formats:\n// See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n// See also explanations: http://cldr.unicode.org/translation/date-time\n// TODO(ocombe): support all missing cldr formats: Y, U, Q, D, F, e, c, j, J, C, A, v, V, X, x\n/**\n * @param {?} format\n * @return {?}\n */\nfunction getDateFormatter(format) {\n if (DATE_FORMATS[format]) {\n return DATE_FORMATS[format];\n }\n /** @type {?} */\n let formatter;\n switch (format) {\n // Era name (AD/BC)\n case 'G':\n case 'GG':\n case 'GGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);\n break;\n case 'GGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);\n break;\n case 'GGGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);\n break;\n // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)\n case 'y':\n formatter = dateGetter(DateType.FullYear, 1, 0, false, true);\n break;\n // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yy':\n formatter = dateGetter(DateType.FullYear, 2, 0, true, true);\n break;\n // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yyy':\n formatter = dateGetter(DateType.FullYear, 3, 0, false, true);\n break;\n // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)\n case 'yyyy':\n formatter = dateGetter(DateType.FullYear, 4, 0, false, true);\n break;\n // Month of the year (1-12), numeric\n case 'M':\n case 'L':\n formatter = dateGetter(DateType.Month, 1, 1);\n break;\n case 'MM':\n case 'LL':\n formatter = dateGetter(DateType.Month, 2, 1);\n break;\n // Month of the year (January, ...), string, format\n case 'MMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);\n break;\n case 'MMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);\n break;\n case 'MMMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);\n break;\n // Month of the year (January, ...), string, standalone\n case 'LLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);\n break;\n case 'LLLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);\n break;\n case 'LLLLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);\n break;\n // Week of the year (1, ... 52)\n case 'w':\n formatter = weekGetter(1);\n break;\n case 'ww':\n formatter = weekGetter(2);\n break;\n // Week of the month (1, ...)\n case 'W':\n formatter = weekGetter(1, true);\n break;\n // Day of the month (1-31)\n case 'd':\n formatter = dateGetter(DateType.Date, 1);\n break;\n case 'dd':\n formatter = dateGetter(DateType.Date, 2);\n break;\n // Day of the Week\n case 'E':\n case 'EE':\n case 'EEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);\n break;\n case 'EEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);\n break;\n case 'EEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);\n break;\n case 'EEEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);\n break;\n // Generic period of the day (am-pm)\n case 'a':\n case 'aa':\n case 'aaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);\n break;\n case 'aaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);\n break;\n case 'aaaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);\n break;\n // Extended period of the day (midnight, at night, ...), standalone\n case 'b':\n case 'bb':\n case 'bbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);\n break;\n case 'bbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);\n break;\n case 'bbbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);\n break;\n // Extended period of the day (midnight, night, ...), standalone\n case 'B':\n case 'BB':\n case 'BBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);\n break;\n case 'BBBB':\n formatter =\n dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);\n break;\n case 'BBBBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);\n break;\n // Hour in AM/PM, (1-12)\n case 'h':\n formatter = dateGetter(DateType.Hours, 1, -12);\n break;\n case 'hh':\n formatter = dateGetter(DateType.Hours, 2, -12);\n break;\n // Hour of the day (0-23)\n case 'H':\n formatter = dateGetter(DateType.Hours, 1);\n break;\n // Hour in day, padded (00-23)\n case 'HH':\n formatter = dateGetter(DateType.Hours, 2);\n break;\n // Minute of the hour (0-59)\n case 'm':\n formatter = dateGetter(DateType.Minutes, 1);\n break;\n case 'mm':\n formatter = dateGetter(DateType.Minutes, 2);\n break;\n // Second of the minute (0-59)\n case 's':\n formatter = dateGetter(DateType.Seconds, 1);\n break;\n case 'ss':\n formatter = dateGetter(DateType.Seconds, 2);\n break;\n // Fractional second\n case 'S':\n formatter = dateGetter(DateType.FractionalSeconds, 1);\n break;\n case 'SS':\n formatter = dateGetter(DateType.FractionalSeconds, 2);\n break;\n case 'SSS':\n formatter = dateGetter(DateType.FractionalSeconds, 3);\n break;\n // Timezone ISO8601 short format (-0430)\n case 'Z':\n case 'ZZ':\n case 'ZZZ':\n formatter = timeZoneGetter(ZoneWidth.Short);\n break;\n // Timezone ISO8601 extended format (-04:30)\n case 'ZZZZZ':\n formatter = timeZoneGetter(ZoneWidth.Extended);\n break;\n // Timezone GMT short format (GMT+4)\n case 'O':\n case 'OO':\n case 'OOO':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'z':\n case 'zz':\n case 'zzz':\n formatter = timeZoneGetter(ZoneWidth.ShortGMT);\n break;\n // Timezone GMT long format (GMT+0430)\n case 'OOOO':\n case 'ZZZZ':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'zzzz':\n formatter = timeZoneGetter(ZoneWidth.Long);\n break;\n default:\n return null;\n }\n DATE_FORMATS[format] = formatter;\n return formatter;\n}\n/**\n * @param {?} timezone\n * @param {?} fallback\n * @return {?}\n */\nfunction timezoneToOffset(timezone, fallback) {\n // Support: IE 9-11 only, Edge 13-15+\n // IE/Edge do not \"understand\" colon (`:`) in timezone\n timezone = timezone.replace(/:/g, '');\n /** @type {?} */\n const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\n/**\n * @param {?} date\n * @param {?} minutes\n * @return {?}\n */\nfunction addDateMinutes(date, minutes) {\n date = new Date(date.getTime());\n date.setMinutes(date.getMinutes() + minutes);\n return date;\n}\n/**\n * @param {?} date\n * @param {?} timezone\n * @param {?} reverse\n * @return {?}\n */\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n /** @type {?} */\n const reverseValue = reverse ? -1 : 1;\n /** @type {?} */\n const dateTimezoneOffset = date.getTimezoneOffset();\n /** @type {?} */\n const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));\n}\n/**\n * Converts a value to date.\n *\n * Supported input formats:\n * - `Date`\n * - number: timestamp\n * - string: numeric (e.g. \"1234\"), ISO and date strings in a format supported by\n * [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).\n * Note: ISO strings without time return a date without timeoffset.\n *\n * Throws if unable to convert to a date.\n * @param {?} value\n * @return {?}\n */\nfunction toDate(value) {\n if (isDate(value)) {\n return value;\n }\n if (typeof value === 'number' && !isNaN(value)) {\n return new Date(value);\n }\n if (typeof value === 'string') {\n value = value.trim();\n /** @type {?} */\n const parsedNb = parseFloat(value);\n // any string that only contains numbers, like \"1234\" but not like \"1234hello\"\n if (!isNaN((/** @type {?} */ (value)) - parsedNb)) {\n return new Date(parsedNb);\n }\n if (/^(\\d{4}-\\d{1,2}-\\d{1,2})$/.test(value)) {\n /* For ISO Strings without time the day, month and year must be extracted from the ISO String\n before Date creation to avoid time offset and errors in the new Date.\n If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n date, some browsers (e.g. IE 9) will throw an invalid Date error.\n If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n is applied.\n Note: ISO months are 0 for January, 1 for February, ... */\n const [y, m, d] = value.split('-').map((/**\n * @param {?} val\n * @return {?}\n */\n (val) => +val));\n return new Date(y, m - 1, d);\n }\n /** @type {?} */\n let match;\n if (match = value.match(ISO8601_DATE_REGEX)) {\n return isoStringToDate(match);\n }\n }\n /** @type {?} */\n const date = new Date((/** @type {?} */ (value)));\n if (!isDate(date)) {\n throw new Error(`Unable to convert \"${value}\" into a date`);\n }\n return date;\n}\n/**\n * Converts a date in ISO8601 to a Date.\n * Used instead of `Date.parse` because of browser discrepancies.\n * @param {?} match\n * @return {?}\n */\nfunction isoStringToDate(match) {\n /** @type {?} */\n const date = new Date(0);\n /** @type {?} */\n let tzHour = 0;\n /** @type {?} */\n let tzMin = 0;\n // match[8] means that the string contains \"Z\" (UTC) or a timezone like \"+01:00\" or \"+0100\"\n /** @type {?} */\n const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n /** @type {?} */\n const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n // if there is a timezone defined like \"+01:00\" or \"+0100\"\n if (match[9]) {\n tzHour = Number(match[9] + match[10]);\n tzMin = Number(match[9] + match[11]);\n }\n dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n /** @type {?} */\n const h = Number(match[4] || 0) - tzHour;\n /** @type {?} */\n const m = Number(match[5] || 0) - tzMin;\n /** @type {?} */\n const s = Number(match[6] || 0);\n /** @type {?} */\n const ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000);\n timeSetter.call(date, h, m, s, ms);\n return date;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isDate(value) {\n return value instanceof Date && !isNaN(value.valueOf());\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/format_number.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\n/** @type {?} */\nconst MAX_DIGITS = 22;\n/** @type {?} */\nconst DECIMAL_SEP = '.';\n/** @type {?} */\nconst ZERO_CHAR = '0';\n/** @type {?} */\nconst PATTERN_SEP = ';';\n/** @type {?} */\nconst GROUP_SEP = ',';\n/** @type {?} */\nconst DIGIT_CHAR = '#';\n/** @type {?} */\nconst CURRENCY_CHAR = '¤';\n/** @type {?} */\nconst PERCENT_CHAR = '%';\n/**\n * Transforms a number to a locale string based on a style and a format.\n * @param {?} value\n * @param {?} pattern\n * @param {?} locale\n * @param {?} groupSymbol\n * @param {?} decimalSymbol\n * @param {?=} digitsInfo\n * @param {?=} isPercent\n * @return {?}\n */\nfunction formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {\n /** @type {?} */\n let formattedText = '';\n /** @type {?} */\n let isZero = false;\n if (!isFinite(value)) {\n formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);\n }\n else {\n /** @type {?} */\n let parsedNumber = parseNumber(value);\n if (isPercent) {\n parsedNumber = toPercent(parsedNumber);\n }\n /** @type {?} */\n let minInt = pattern.minInt;\n /** @type {?} */\n let minFraction = pattern.minFrac;\n /** @type {?} */\n let maxFraction = pattern.maxFrac;\n if (digitsInfo) {\n /** @type {?} */\n const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);\n if (parts === null) {\n throw new Error(`${digitsInfo} is not a valid digit info`);\n }\n /** @type {?} */\n const minIntPart = parts[1];\n /** @type {?} */\n const minFractionPart = parts[3];\n /** @type {?} */\n const maxFractionPart = parts[5];\n if (minIntPart != null) {\n minInt = parseIntAutoRadix(minIntPart);\n }\n if (minFractionPart != null) {\n minFraction = parseIntAutoRadix(minFractionPart);\n }\n if (maxFractionPart != null) {\n maxFraction = parseIntAutoRadix(maxFractionPart);\n }\n else if (minFractionPart != null && minFraction > maxFraction) {\n maxFraction = minFraction;\n }\n }\n roundNumber(parsedNumber, minFraction, maxFraction);\n /** @type {?} */\n let digits = parsedNumber.digits;\n /** @type {?} */\n let integerLen = parsedNumber.integerLen;\n /** @type {?} */\n const exponent = parsedNumber.exponent;\n /** @type {?} */\n let decimals = [];\n isZero = digits.every((/**\n * @param {?} d\n * @return {?}\n */\n d => !d));\n // pad zeros for small numbers\n for (; integerLen < minInt; integerLen++) {\n digits.unshift(0);\n }\n // pad zeros for small numbers\n for (; integerLen < 0; integerLen++) {\n digits.unshift(0);\n }\n // extract decimals digits\n if (integerLen > 0) {\n decimals = digits.splice(integerLen, digits.length);\n }\n else {\n decimals = digits;\n digits = [0];\n }\n // format the integer digits with grouping separators\n /** @type {?} */\n const groups = [];\n if (digits.length >= pattern.lgSize) {\n groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n }\n while (digits.length > pattern.gSize) {\n groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n }\n if (digits.length) {\n groups.unshift(digits.join(''));\n }\n formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol));\n // append the decimal digits\n if (decimals.length) {\n formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');\n }\n if (exponent) {\n formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;\n }\n }\n if (value < 0 && !isZero) {\n formattedText = pattern.negPre + formattedText + pattern.negSuf;\n }\n else {\n formattedText = pattern.posPre + formattedText + pattern.posSuf;\n }\n return formattedText;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as currency using locale rules.\n *\n * @see `formatNumber()` / `DecimalPipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} currency A string containing the currency symbol or its name,\n * such as \"$\" or \"Canadian Dollar\". Used in output string, but does not affect the operation\n * of the function.\n * @param {?=} currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n * currency code, such as `USD` for the US dollar and `EUR` for the euro.\n * Used to determine the number of digits in the decimal part.\n * @param {?=} digitsInfo\n * @return {?} The formatted currency value.\n *\n */\nfunction formatCurrency(value, locale, currency, currencyCode, digitsInfo) {\n /** @type {?} */\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);\n /** @type {?} */\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n pattern.minFrac = getNumberOfCurrencyDigits((/** @type {?} */ (currencyCode)));\n pattern.maxFrac = pattern.minFrac;\n /** @type {?} */\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);\n return res\n .replace(CURRENCY_CHAR, currency)\n // if we have 2 time the currency character, the second one is ignored\n .replace(CURRENCY_CHAR, '')\n // If there is a spacing between currency character and the value and\n // the currency character is supressed by passing an empty string, the\n // spacing character would remain as part of the string. Then we\n // should remove it.\n .trim();\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as a percentage according to locale rules.\n *\n * @see `formatNumber()` / `DecimalPipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * \\@publicApi\n *\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} digitsInfo\n * @return {?} The formatted percentage value.\n *\n */\nfunction formatPercent(value, locale, digitsInfo) {\n /** @type {?} */\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);\n /** @type {?} */\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n /** @type {?} */\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);\n return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as text, with group sizing, separator, and other\n * parameters based on the locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} digitsInfo\n * @return {?} The formatted text string.\n */\nfunction formatNumber(value, locale, digitsInfo) {\n /** @type {?} */\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);\n /** @type {?} */\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);\n}\n/**\n * @record\n */\nfunction ParsedNumberFormat() { }\nif (false) {\n /** @type {?} */\n ParsedNumberFormat.prototype.minInt;\n /** @type {?} */\n ParsedNumberFormat.prototype.minFrac;\n /** @type {?} */\n ParsedNumberFormat.prototype.maxFrac;\n /** @type {?} */\n ParsedNumberFormat.prototype.posPre;\n /** @type {?} */\n ParsedNumberFormat.prototype.posSuf;\n /** @type {?} */\n ParsedNumberFormat.prototype.negPre;\n /** @type {?} */\n ParsedNumberFormat.prototype.negSuf;\n /** @type {?} */\n ParsedNumberFormat.prototype.gSize;\n /** @type {?} */\n ParsedNumberFormat.prototype.lgSize;\n}\n/**\n * @param {?} format\n * @param {?=} minusSign\n * @return {?}\n */\nfunction parseNumberFormat(format, minusSign = '-') {\n /** @type {?} */\n const p = {\n minInt: 1,\n minFrac: 0,\n maxFrac: 0,\n posPre: '',\n posSuf: '',\n negPre: '',\n negSuf: '',\n gSize: 0,\n lgSize: 0\n };\n /** @type {?} */\n const patternParts = format.split(PATTERN_SEP);\n /** @type {?} */\n const positive = patternParts[0];\n /** @type {?} */\n const negative = patternParts[1];\n /** @type {?} */\n const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ?\n positive.split(DECIMAL_SEP) :\n [\n positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),\n positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)\n ];\n /** @type {?} */\n const integer = positiveParts[0];\n /** @type {?} */\n const fraction = positiveParts[1] || '';\n p.posPre = integer.substr(0, integer.indexOf(DIGIT_CHAR));\n for (let i = 0; i < fraction.length; i++) {\n /** @type {?} */\n const ch = fraction.charAt(i);\n if (ch === ZERO_CHAR) {\n p.minFrac = p.maxFrac = i + 1;\n }\n else if (ch === DIGIT_CHAR) {\n p.maxFrac = i + 1;\n }\n else {\n p.posSuf += ch;\n }\n }\n /** @type {?} */\n const groups = integer.split(GROUP_SEP);\n p.gSize = groups[1] ? groups[1].length : 0;\n p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;\n if (negative) {\n /** @type {?} */\n const trunkLen = positive.length - p.posPre.length - p.posSuf.length;\n /** @type {?} */\n const pos = negative.indexOf(DIGIT_CHAR);\n p.negPre = negative.substr(0, pos).replace(/'/g, '');\n p.negSuf = negative.substr(pos + trunkLen).replace(/'/g, '');\n }\n else {\n p.negPre = minusSign + p.posPre;\n p.negSuf = p.posSuf;\n }\n return p;\n}\n/**\n * @record\n */\nfunction ParsedNumber() { }\nif (false) {\n /** @type {?} */\n ParsedNumber.prototype.digits;\n /** @type {?} */\n ParsedNumber.prototype.exponent;\n /** @type {?} */\n ParsedNumber.prototype.integerLen;\n}\n// Transforms a parsed number into a percentage by multiplying it by 100\n/**\n * @param {?} parsedNumber\n * @return {?}\n */\nfunction toPercent(parsedNumber) {\n // if the number is 0, don't do anything\n if (parsedNumber.digits[0] === 0) {\n return parsedNumber;\n }\n // Getting the current number of decimals\n /** @type {?} */\n const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;\n if (parsedNumber.exponent) {\n parsedNumber.exponent += 2;\n }\n else {\n if (fractionLen === 0) {\n parsedNumber.digits.push(0, 0);\n }\n else if (fractionLen === 1) {\n parsedNumber.digits.push(0);\n }\n parsedNumber.integerLen += 2;\n }\n return parsedNumber;\n}\n/**\n * Parses a number.\n * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/\n * @param {?} num\n * @return {?}\n */\nfunction parseNumber(num) {\n /** @type {?} */\n let numStr = Math.abs(num) + '';\n /** @type {?} */\n let exponent = 0;\n /** @type {?} */\n let digits;\n /** @type {?} */\n let integerLen;\n /** @type {?} */\n let i;\n /** @type {?} */\n let j;\n /** @type {?} */\n let zeros;\n // Decimal point?\n if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {\n numStr = numStr.replace(DECIMAL_SEP, '');\n }\n // Exponential form?\n if ((i = numStr.search(/e/i)) > 0) {\n // Work out the exponent.\n if (integerLen < 0)\n integerLen = i;\n integerLen += +numStr.slice(i + 1);\n numStr = numStr.substring(0, i);\n }\n else if (integerLen < 0) {\n // There was no decimal point or exponent so it is an integer.\n integerLen = numStr.length;\n }\n // Count the number of leading zeros.\n for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) { /* empty */\n }\n if (i === (zeros = numStr.length)) {\n // The digits are all zero.\n digits = [0];\n integerLen = 1;\n }\n else {\n // Count the number of trailing zeros\n zeros--;\n while (numStr.charAt(zeros) === ZERO_CHAR)\n zeros--;\n // Trailing zeros are insignificant so ignore them\n integerLen -= i;\n digits = [];\n // Convert string to array of digits without leading/trailing zeros.\n for (j = 0; i <= zeros; i++, j++) {\n digits[j] = Number(numStr.charAt(i));\n }\n }\n // If the number overflows the maximum allowed digits then use an exponent.\n if (integerLen > MAX_DIGITS) {\n digits = digits.splice(0, MAX_DIGITS - 1);\n exponent = integerLen - 1;\n integerLen = 1;\n }\n return { digits, exponent, integerLen };\n}\n/**\n * Round the parsed number to the specified number of decimal places\n * This function changes the parsedNumber in-place\n * @param {?} parsedNumber\n * @param {?} minFrac\n * @param {?} maxFrac\n * @return {?}\n */\nfunction roundNumber(parsedNumber, minFrac, maxFrac) {\n if (minFrac > maxFrac) {\n throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);\n }\n /** @type {?} */\n let digits = parsedNumber.digits;\n /** @type {?} */\n let fractionLen = digits.length - parsedNumber.integerLen;\n /** @type {?} */\n const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac);\n // The index of the digit to where rounding is to occur\n /** @type {?} */\n let roundAt = fractionSize + parsedNumber.integerLen;\n /** @type {?} */\n let digit = digits[roundAt];\n if (roundAt > 0) {\n // Drop fractional digits beyond `roundAt`\n digits.splice(Math.max(parsedNumber.integerLen, roundAt));\n // Set non-fractional digits beyond `roundAt` to 0\n for (let j = roundAt; j < digits.length; j++) {\n digits[j] = 0;\n }\n }\n else {\n // We rounded to zero so reset the parsedNumber\n fractionLen = Math.max(0, fractionLen);\n parsedNumber.integerLen = 1;\n digits.length = Math.max(1, roundAt = fractionSize + 1);\n digits[0] = 0;\n for (let i = 1; i < roundAt; i++)\n digits[i] = 0;\n }\n if (digit >= 5) {\n if (roundAt - 1 < 0) {\n for (let k = 0; k > roundAt; k--) {\n digits.unshift(0);\n parsedNumber.integerLen++;\n }\n digits.unshift(1);\n parsedNumber.integerLen++;\n }\n else {\n digits[roundAt - 1]++;\n }\n }\n // Pad out with zeros to get the required fraction length\n for (; fractionLen < Math.max(0, fractionSize); fractionLen++)\n digits.push(0);\n /** @type {?} */\n let dropTrailingZeros = fractionSize !== 0;\n // Minimal length = nb of decimals required + current nb of integers\n // Any number besides that is optional and can be removed if it's a trailing 0\n /** @type {?} */\n const minLen = minFrac + parsedNumber.integerLen;\n // Do any carrying, e.g. a digit was rounded up to 10\n /** @type {?} */\n const carry = digits.reduceRight((/**\n * @param {?} carry\n * @param {?} d\n * @param {?} i\n * @param {?} digits\n * @return {?}\n */\n function (carry, d, i, digits) {\n d = d + carry;\n digits[i] = d < 10 ? d : d - 10; // d % 10\n if (dropTrailingZeros) {\n // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)\n if (digits[i] === 0 && i >= minLen) {\n digits.pop();\n }\n else {\n dropTrailingZeros = false;\n }\n }\n return d >= 10 ? 1 : 0; // Math.floor(d / 10);\n }), 0);\n if (carry) {\n digits.unshift(carry);\n parsedNumber.integerLen++;\n }\n}\n/**\n * @param {?} text\n * @return {?}\n */\nfunction parseIntAutoRadix(text) {\n /** @type {?} */\n const result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/localization.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @abstract\n */\nclass NgLocalization {\n}\nif (false) {\n /**\n * @abstract\n * @param {?} value\n * @param {?=} locale\n * @return {?}\n */\n NgLocalization.prototype.getPluralCategory = function (value, locale) { };\n}\n/**\n * Returns the plural category for a given value.\n * - \"=value\" when the case exists,\n * - the plural category otherwise\n * @param {?} value\n * @param {?} cases\n * @param {?} ngLocalization\n * @param {?=} locale\n * @return {?}\n */\nfunction getPluralCategory(value, cases, ngLocalization, locale) {\n /** @type {?} */\n let key = `=${value}`;\n if (cases.indexOf(key) > -1) {\n return key;\n }\n key = ngLocalization.getPluralCategory(value, locale);\n if (cases.indexOf(key) > -1) {\n return key;\n }\n if (cases.indexOf('other') > -1) {\n return 'other';\n }\n throw new Error(`No plural message found for value \"${value}\"`);\n}\n/**\n * Returns the plural case based on the locale\n *\n * \\@publicApi\n */\nclass NgLocaleLocalization extends NgLocalization {\n /**\n * @param {?} locale\n */\n constructor(locale) {\n super();\n this.locale = locale;\n }\n /**\n * @param {?} value\n * @param {?=} locale\n * @return {?}\n */\n getPluralCategory(value, locale) {\n /** @type {?} */\n const plural = getLocalePluralCase(locale || this.locale)(value);\n switch (plural) {\n case Plural.Zero:\n return 'zero';\n case Plural.One:\n return 'one';\n case Plural.Two:\n return 'two';\n case Plural.Few:\n return 'few';\n case Plural.Many:\n return 'many';\n default:\n return 'other';\n }\n }\n}\nNgLocaleLocalization.ɵfac = function NgLocaleLocalization_Factory(t) { return new (t || NgLocaleLocalization)(ɵngcc0.ɵɵinject(LOCALE_ID)); };\nNgLocaleLocalization.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: NgLocaleLocalization, factory: NgLocaleLocalization.ɵfac });\n/** @nocollapse */\nNgLocaleLocalization.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgLocaleLocalization, [{\n type: Injectable\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @protected\n */\n NgLocaleLocalization.prototype.locale;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/locale_data.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Register global data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n#i18n-pipes) to know how to import additional locale data.\n *\n * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1\n *\n * \\@publicApi\n * @param {?} data\n * @param {?=} localeId\n * @param {?=} extraData\n * @return {?}\n */\nfunction registerLocaleData(data, localeId, extraData) {\n return ɵregisterLocaleData(data, localeId, extraData);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/cookie.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @param {?} cookieStr\n * @param {?} name\n * @return {?}\n */\nfunction parseCookieValue(cookieStr, name) {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n /** @type {?} */\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_class.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n * ```\n * ...\n *\n * ...\n *\n * ...\n *\n * ...\n *\n * ...\n * ```\n *\n * \\@description\n *\n * Adds and removes CSS classes on an HTML element.\n *\n * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n * - `string` - the CSS classes listed in the string (space delimited) are added,\n * - `Array` - the CSS classes declared as Array elements are added,\n * - `Object` - keys are CSS classes that get added when the expression given in the value\n * evaluates to a truthy value, otherwise they are removed.\n *\n * \\@publicApi\n */\nclass NgClass {\n /**\n * @param {?} _iterableDiffers\n * @param {?} _keyValueDiffers\n * @param {?} _ngEl\n * @param {?} _renderer\n */\n constructor(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n this._iterableDiffers = _iterableDiffers;\n this._keyValueDiffers = _keyValueDiffers;\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n this._iterableDiffer = null;\n this._keyValueDiffer = null;\n this._initialClasses = [];\n this._rawClass = null;\n }\n /**\n * @param {?} value\n * @return {?}\n */\n set klass(value) {\n this._removeClasses(this._initialClasses);\n this._initialClasses = typeof value === 'string' ? value.split(/\\s+/) : [];\n this._applyClasses(this._initialClasses);\n this._applyClasses(this._rawClass);\n }\n /**\n * @param {?} value\n * @return {?}\n */\n set ngClass(value) {\n this._removeClasses(this._rawClass);\n this._applyClasses(this._initialClasses);\n this._iterableDiffer = null;\n this._keyValueDiffer = null;\n this._rawClass = typeof value === 'string' ? value.split(/\\s+/) : value;\n if (this._rawClass) {\n if (ɵisListLikeIterable(this._rawClass)) {\n this._iterableDiffer = this._iterableDiffers.find(this._rawClass).create();\n }\n else {\n this._keyValueDiffer = this._keyValueDiffers.find(this._rawClass).create();\n }\n }\n }\n /**\n * @return {?}\n */\n ngDoCheck() {\n if (this._iterableDiffer) {\n /** @type {?} */\n const iterableChanges = this._iterableDiffer.diff((/** @type {?} */ (this._rawClass)));\n if (iterableChanges) {\n this._applyIterableChanges(iterableChanges);\n }\n }\n else if (this._keyValueDiffer) {\n /** @type {?} */\n const keyValueChanges = this._keyValueDiffer.diff((/** @type {?} */ (this._rawClass)));\n if (keyValueChanges) {\n this._applyKeyValueChanges(keyValueChanges);\n }\n }\n }\n /**\n * @private\n * @param {?} changes\n * @return {?}\n */\n _applyKeyValueChanges(changes) {\n changes.forEachAddedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._toggleClass(record.key, record.currentValue)));\n changes.forEachChangedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._toggleClass(record.key, record.currentValue)));\n changes.forEachRemovedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => {\n if (record.previousValue) {\n this._toggleClass(record.key, false);\n }\n }));\n }\n /**\n * @private\n * @param {?} changes\n * @return {?}\n */\n _applyIterableChanges(changes) {\n changes.forEachAddedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => {\n if (typeof record.item === 'string') {\n this._toggleClass(record.item, true);\n }\n else {\n throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ɵstringify(record.item)}`);\n }\n }));\n changes.forEachRemovedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._toggleClass(record.item, false)));\n }\n /**\n * Applies a collection of CSS classes to the DOM element.\n *\n * For argument of type Set and Array CSS class names contained in those collections are always\n * added.\n * For argument of type Map CSS class name in the map's key is toggled based on the value (added\n * for truthy and removed for falsy).\n * @private\n * @param {?} rawClassVal\n * @return {?}\n */\n _applyClasses(rawClassVal) {\n if (rawClassVal) {\n if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n ((/** @type {?} */ (rawClassVal))).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n (klass) => this._toggleClass(klass, true)));\n }\n else {\n Object.keys(rawClassVal).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n klass => this._toggleClass(klass, !!rawClassVal[klass])));\n }\n }\n }\n /**\n * Removes a collection of CSS classes from the DOM element. This is mostly useful for cleanup\n * purposes.\n * @private\n * @param {?} rawClassVal\n * @return {?}\n */\n _removeClasses(rawClassVal) {\n if (rawClassVal) {\n if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n ((/** @type {?} */ (rawClassVal))).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n (klass) => this._toggleClass(klass, false)));\n }\n else {\n Object.keys(rawClassVal).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n klass => this._toggleClass(klass, false)));\n }\n }\n }\n /**\n * @private\n * @param {?} klass\n * @param {?} enabled\n * @return {?}\n */\n _toggleClass(klass, enabled) {\n klass = klass.trim();\n if (klass) {\n klass.split(/\\s+/g).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n klass => {\n if (enabled) {\n this._renderer.addClass(this._ngEl.nativeElement, klass);\n }\n else {\n this._renderer.removeClass(this._ngEl.nativeElement, klass);\n }\n }));\n }\n }\n}\nNgClass.ɵfac = function NgClass_Factory(t) { return new (t || NgClass)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.IterableDiffers), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.KeyValueDiffers), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.Renderer2)); };\nNgClass.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgClass, selectors: [[\"\", \"ngClass\", \"\"]], inputs: { klass: [\"class\", \"klass\"], ngClass: \"ngClass\" } });\n/** @nocollapse */\nNgClass.ctorParameters = () => [\n { type: IterableDiffers },\n { type: KeyValueDiffers },\n { type: ElementRef },\n { type: Renderer2 }\n];\nNgClass.propDecorators = {\n klass: [{ type: Input, args: ['class',] }],\n ngClass: [{ type: Input, args: ['ngClass',] }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgClass, [{\n type: Directive,\n args: [{ selector: '[ngClass]' }]\n }], function () { return [{ type: ɵngcc0.IterableDiffers }, { type: ɵngcc0.KeyValueDiffers }, { type: ɵngcc0.ElementRef }, { type: ɵngcc0.Renderer2 }]; }, { klass: [{\n type: Input,\n args: ['class']\n }], ngClass: [{\n type: Input,\n args: ['ngClass']\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._iterableDiffer;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._keyValueDiffer;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._initialClasses;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._rawClass;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._iterableDiffers;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._keyValueDiffers;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._ngEl;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._renderer;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_component_outlet.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Instantiates a single {\\@link Component} type and inserts its Host View into current View.\n * `NgComponentOutlet` provides a declarative approach for dynamic component creation.\n *\n * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and\n * any existing component will get destroyed.\n *\n * \\@usageNotes\n *\n * ### Fine tune control\n *\n * You can control the component creation process by using the following optional attributes:\n *\n * * `ngComponentOutletInjector`: Optional custom {\\@link Injector} that will be used as parent for\n * the Component. Defaults to the injector of the current view container.\n *\n * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content\n * section of the component, if exists.\n *\n * * `ngComponentOutletNgModuleFactory`: Optional module factory to allow dynamically loading other\n * module, then load a component from that module.\n *\n * ### Syntax\n *\n * Simple\n * ```\n * \n * ```\n *\n * Customized injector/content\n * ```\n * \n * \n * ```\n *\n * Customized ngModuleFactory\n * ```\n * \n * \n * ```\n *\n * ### A simple example\n *\n * {\\@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}\n *\n * A more complete example with additional options:\n *\n * {\\@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}\n *\n * \\@publicApi\n * \\@ngModule CommonModule\n */\nclass NgComponentOutlet {\n /**\n * @param {?} _viewContainerRef\n */\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this._componentRef = null;\n this._moduleRef = null;\n }\n /**\n * @param {?} changes\n * @return {?}\n */\n ngOnChanges(changes) {\n this._viewContainerRef.clear();\n this._componentRef = null;\n if (this.ngComponentOutlet) {\n /** @type {?} */\n const elInjector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;\n if (changes['ngComponentOutletNgModuleFactory']) {\n if (this._moduleRef)\n this._moduleRef.destroy();\n if (this.ngComponentOutletNgModuleFactory) {\n /** @type {?} */\n const parentModule = elInjector.get(NgModuleRef);\n this._moduleRef = this.ngComponentOutletNgModuleFactory.create(parentModule.injector);\n }\n else {\n this._moduleRef = null;\n }\n }\n /** @type {?} */\n const componentFactoryResolver = this._moduleRef ? this._moduleRef.componentFactoryResolver :\n elInjector.get(ComponentFactoryResolver);\n /** @type {?} */\n const componentFactory = componentFactoryResolver.resolveComponentFactory(this.ngComponentOutlet);\n this._componentRef = this._viewContainerRef.createComponent(componentFactory, this._viewContainerRef.length, elInjector, this.ngComponentOutletContent);\n }\n }\n /**\n * @return {?}\n */\n ngOnDestroy() {\n if (this._moduleRef)\n this._moduleRef.destroy();\n }\n}\nNgComponentOutlet.ɵfac = function NgComponentOutlet_Factory(t) { return new (t || NgComponentOutlet)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef)); };\nNgComponentOutlet.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgComponentOutlet, selectors: [[\"\", \"ngComponentOutlet\", \"\"]], inputs: { ngComponentOutlet: \"ngComponentOutlet\", ngComponentOutletInjector: \"ngComponentOutletInjector\", ngComponentOutletContent: \"ngComponentOutletContent\", ngComponentOutletNgModuleFactory: \"ngComponentOutletNgModuleFactory\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature] });\n/** @nocollapse */\nNgComponentOutlet.ctorParameters = () => [\n { type: ViewContainerRef }\n];\nNgComponentOutlet.propDecorators = {\n ngComponentOutlet: [{ type: Input }],\n ngComponentOutletInjector: [{ type: Input }],\n ngComponentOutletContent: [{ type: Input }],\n ngComponentOutletNgModuleFactory: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgComponentOutlet, [{\n type: Directive,\n args: [{ selector: '[ngComponentOutlet]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }]; }, { ngComponentOutlet: [{\n type: Input\n }], ngComponentOutletInjector: [{\n type: Input\n }], ngComponentOutletContent: [{\n type: Input\n }], ngComponentOutletNgModuleFactory: [{\n type: Input\n }] }); })();\nif (false) {\n /** @type {?} */\n NgComponentOutlet.prototype.ngComponentOutlet;\n /** @type {?} */\n NgComponentOutlet.prototype.ngComponentOutletInjector;\n /** @type {?} */\n NgComponentOutlet.prototype.ngComponentOutletContent;\n /** @type {?} */\n NgComponentOutlet.prototype.ngComponentOutletNgModuleFactory;\n /**\n * @type {?}\n * @private\n */\n NgComponentOutlet.prototype._componentRef;\n /**\n * @type {?}\n * @private\n */\n NgComponentOutlet.prototype._moduleRef;\n /**\n * @type {?}\n * @private\n */\n NgComponentOutlet.prototype._viewContainerRef;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_for_of.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @template T, U\n */\nclass NgForOfContext {\n /**\n * @param {?} $implicit\n * @param {?} ngForOf\n * @param {?} index\n * @param {?} count\n */\n constructor($implicit, ngForOf, index, count) {\n this.$implicit = $implicit;\n this.ngForOf = ngForOf;\n this.index = index;\n this.count = count;\n }\n /**\n * @return {?}\n */\n get first() {\n return this.index === 0;\n }\n /**\n * @return {?}\n */\n get last() {\n return this.index === this.count - 1;\n }\n /**\n * @return {?}\n */\n get even() {\n return this.index % 2 === 0;\n }\n /**\n * @return {?}\n */\n get odd() {\n return !this.even;\n }\n}\nif (false) {\n /** @type {?} */\n NgForOfContext.prototype.$implicit;\n /** @type {?} */\n NgForOfContext.prototype.ngForOf;\n /** @type {?} */\n NgForOfContext.prototype.index;\n /** @type {?} */\n NgForOfContext.prototype.count;\n}\n/**\n * A [structural directive](guide/structural-directives) that renders\n * a template for each item in a collection.\n * The directive is placed on an element, which becomes the parent\n * of the cloned templates.\n *\n * The `ngForOf` directive is generally used in the\n * [shorthand form](guide/structural-directives#the-asterisk--prefix) `*ngFor`.\n * In this form, the template to be rendered for each iteration is the content\n * of an anchor element containing the directive.\n *\n * The following example shows the shorthand syntax with some options,\n * contained in an `
  • ` element.\n *\n * ```\n *
  • ...
  • \n * ```\n *\n * The shorthand form expands into a long form that uses the `ngForOf` selector\n * on an `` element.\n * The content of the `` element is the `
  • ` element that held the\n * short-form directive.\n *\n * Here is the expanded version of the short-form example.\n *\n * ```\n * \n *
  • ...
  • \n *
    \n * ```\n *\n * Angular automatically expands the shorthand syntax as it compiles the template.\n * The context for each embedded view is logically merged to the current component\n * context according to its lexical position.\n *\n * When using the shorthand syntax, Angular allows only [one structural directive\n * on an element](guide/structural-directives#one-structural-directive-per-host-element).\n * If you want to iterate conditionally, for example,\n * put the `*ngIf` on a container element that wraps the `*ngFor` element.\n * For futher discussion, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * \\@usageNotes\n *\n * ### Local variables\n *\n * `NgForOf` provides exported values that can be aliased to local variables.\n * For example:\n *\n * ```\n *
  • \n * {{i}}/{{users.length}}. {{user}} default\n *
  • \n * ```\n *\n * The following exported values can be aliased to local variables:\n *\n * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).\n * - `ngForOf: NgIterable`: The value of the iterable expression. Useful when the expression is\n * more complex then a property access, for example when using the async pipe (`userStreams |\n * async`).\n * - `index: number`: The index of the current item in the iterable.\n * - `count: number`: The length of the iterable.\n * - `first: boolean`: True when the item is the first item in the iterable.\n * - `last: boolean`: True when the item is the last item in the iterable.\n * - `even: boolean`: True when the item has an even index in the iterable.\n * - `odd: boolean`: True when the item has an odd index in the iterable.\n *\n * ### Change propagation\n *\n * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n * those changes in the DOM. This has important implications for animations and any stateful\n * controls that are present, such as `` elements that accept user input. Inserted rows can\n * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state\n * such as user input.\n * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).\n *\n * The identities of elements in the iterator can change while the data does not.\n * This can happen, for example, if the iterator is produced from an RPC to the server, and that\n * RPC is re-run. Even if the data hasn't changed, the second response produces objects with\n * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old\n * elements were deleted and all new elements inserted).\n *\n * To avoid this expensive operation, you can customize the default tracking algorithm.\n * by supplying the `trackBy` option to `NgForOf`.\n * `trackBy` takes a function that has two arguments: `index` and `item`.\n * If `trackBy` is given, Angular tracks changes by the return value of the function.\n *\n * @see [Structural Directives](guide/structural-directives)\n * \\@ngModule CommonModule\n * \\@publicApi\n * @template T, U\n */\nclass NgForOf {\n /**\n * @param {?} _viewContainer\n * @param {?} _template\n * @param {?} _differs\n */\n constructor(_viewContainer, _template, _differs) {\n this._viewContainer = _viewContainer;\n this._template = _template;\n this._differs = _differs;\n this._ngForOf = null;\n this._ngForOfDirty = true;\n this._differ = null;\n }\n /**\n * The value of the iterable expression, which can be used as a\n * [template input variable](guide/structural-directives#template-input-variable).\n * @param {?} ngForOf\n * @return {?}\n */\n set ngForOf(ngForOf) {\n this._ngForOf = ngForOf;\n this._ngForOfDirty = true;\n }\n /**\n * A function that defines how to track changes for items in the iterable.\n *\n * When items are added, moved, or removed in the iterable,\n * the directive must re-render the appropriate DOM nodes.\n * To minimize churn in the DOM, only nodes that have changed\n * are re-rendered.\n *\n * By default, the change detector assumes that\n * the object instance identifies the node in the iterable.\n * When this function is supplied, the directive uses\n * the result of calling this function to identify the item node,\n * rather than the identity of the object itself.\n *\n * The function receives two inputs,\n * the iteration index and the node object ID.\n * @param {?} fn\n * @return {?}\n */\n set ngForTrackBy(fn) {\n if (isDevMode() && fn != null && typeof fn !== 'function') {\n // TODO(vicb): use a log service once there is a public one available\n if ((/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +\n `See https://angular.io/api/common/NgForOf#change-propagation for more information.`);\n }\n }\n this._trackByFn = fn;\n }\n /**\n * @return {?}\n */\n get ngForTrackBy() {\n return this._trackByFn;\n }\n /**\n * A reference to the template that is stamped out for each item in the iterable.\n * @see [template reference variable](guide/template-syntax#template-reference-variables--var-)\n * @param {?} value\n * @return {?}\n */\n set ngForTemplate(value) {\n // TODO(TS2.1): make TemplateRef>> once we move to TS v2.1\n // The current type is too restrictive; a template that just uses index, for example,\n // should be acceptable.\n if (value) {\n this._template = value;\n }\n }\n /**\n * Applies the changes when needed.\n * @return {?}\n */\n ngDoCheck() {\n if (this._ngForOfDirty) {\n this._ngForOfDirty = false;\n // React on ngForOf changes only once all inputs have been initialized\n /** @type {?} */\n const value = this._ngForOf;\n if (!this._differ && value) {\n try {\n this._differ = this._differs.find(value).create(this.ngForTrackBy);\n }\n catch (_a) {\n throw new Error(`Cannot find a differ supporting object '${value}' of type '${getTypeName(value)}'. NgFor only supports binding to Iterables such as Arrays.`);\n }\n }\n }\n if (this._differ) {\n /** @type {?} */\n const changes = this._differ.diff(this._ngForOf);\n if (changes)\n this._applyChanges(changes);\n }\n }\n /**\n * @private\n * @param {?} changes\n * @return {?}\n */\n _applyChanges(changes) {\n /** @type {?} */\n const insertTuples = [];\n changes.forEachOperation((/**\n * @param {?} item\n * @param {?} adjustedPreviousIndex\n * @param {?} currentIndex\n * @return {?}\n */\n (item, adjustedPreviousIndex, currentIndex) => {\n if (item.previousIndex == null) {\n // NgForOf is never \"null\" or \"undefined\" here because the differ detected\n // that a new item needs to be inserted from the iterable. This implies that\n // there is an iterable value for \"_ngForOf\".\n /** @type {?} */\n const view = this._viewContainer.createEmbeddedView(this._template, new NgForOfContext((/** @type {?} */ (null)), (/** @type {?} */ (this._ngForOf)), -1, -1), currentIndex === null ? undefined : currentIndex);\n /** @type {?} */\n const tuple = new RecordViewTuple(item, view);\n insertTuples.push(tuple);\n }\n else if (currentIndex == null) {\n this._viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);\n }\n else if (adjustedPreviousIndex !== null) {\n /** @type {?} */\n const view = (/** @type {?} */ (this._viewContainer.get(adjustedPreviousIndex)));\n this._viewContainer.move(view, currentIndex);\n /** @type {?} */\n const tuple = new RecordViewTuple(item, (/** @type {?} */ (view)));\n insertTuples.push(tuple);\n }\n }));\n for (let i = 0; i < insertTuples.length; i++) {\n this._perViewChange(insertTuples[i].view, insertTuples[i].record);\n }\n for (let i = 0, ilen = this._viewContainer.length; i < ilen; i++) {\n /** @type {?} */\n const viewRef = (/** @type {?} */ (this._viewContainer.get(i)));\n viewRef.context.index = i;\n viewRef.context.count = ilen;\n viewRef.context.ngForOf = (/** @type {?} */ (this._ngForOf));\n }\n changes.forEachIdentityChange((/**\n * @param {?} record\n * @return {?}\n */\n (record) => {\n /** @type {?} */\n const viewRef = (/** @type {?} */ (this._viewContainer.get(record.currentIndex)));\n viewRef.context.$implicit = record.item;\n }));\n }\n /**\n * @private\n * @param {?} view\n * @param {?} record\n * @return {?}\n */\n _perViewChange(view, record) {\n view.context.$implicit = record.item;\n }\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n * @template T, U\n * @param {?} dir\n * @param {?} ctx\n * @return {?}\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n}\nNgForOf.ɵfac = function NgForOf_Factory(t) { return new (t || NgForOf)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.IterableDiffers)); };\nNgForOf.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgForOf, selectors: [[\"\", \"ngFor\", \"\", \"ngForOf\", \"\"]], inputs: { ngForOf: \"ngForOf\", ngForTrackBy: \"ngForTrackBy\", ngForTemplate: \"ngForTemplate\" } });\n/** @nocollapse */\nNgForOf.ctorParameters = () => [\n { type: ViewContainerRef },\n { type: TemplateRef },\n { type: IterableDiffers }\n];\nNgForOf.propDecorators = {\n ngForOf: [{ type: Input }],\n ngForTrackBy: [{ type: Input }],\n ngForTemplate: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgForOf, [{\n type: Directive,\n args: [{ selector: '[ngFor][ngForOf]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }, { type: ɵngcc0.TemplateRef }, { type: ɵngcc0.IterableDiffers }]; }, { ngForOf: [{\n type: Input\n }], ngForTrackBy: [{\n type: Input\n }], ngForTemplate: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._ngForOf;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._ngForOfDirty;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._differ;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._trackByFn;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._viewContainer;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._template;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._differs;\n}\n/**\n * @template T, U\n */\nclass RecordViewTuple {\n /**\n * @param {?} record\n * @param {?} view\n */\n constructor(record, view) {\n this.record = record;\n this.view = view;\n }\n}\nif (false) {\n /** @type {?} */\n RecordViewTuple.prototype.record;\n /** @type {?} */\n RecordViewTuple.prototype.view;\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction getTypeName(type) {\n return type['name'] || typeof type;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_if.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A structural directive that conditionally includes a template based on the value of\n * an expression coerced to Boolean.\n * When the expression evaluates to true, Angular renders the template\n * provided in a `then` clause, and when false or null,\n * Angular renders the template provided in an optional `else` clause. The default\n * template for the `else` clause is blank.\n *\n * A [shorthand form](guide/structural-directives#the-asterisk--prefix) of the directive,\n * `*ngIf=\"condition\"`, is generally used, provided\n * as an attribute of the anchor element for the inserted template.\n * Angular expands this into a more explicit version, in which the anchor element\n * is contained in an `` element.\n *\n * Simple form with shorthand syntax:\n *\n * ```\n *
    Content to render when condition is true.
    \n * ```\n *\n * Simple form with expanded syntax:\n *\n * ```\n *
    Content to render when condition is\n * true.
    \n * ```\n *\n * Form with an \"else\" block:\n *\n * ```\n *
    Content to render when condition is true.
    \n * Content to render when condition is false.\n * ```\n *\n * Shorthand form with \"then\" and \"else\" blocks:\n *\n * ```\n *
    \n * Content to render when condition is true.\n * Content to render when condition is false.\n * ```\n *\n * Form with storing the value locally:\n *\n * ```\n *
    {{value}}
    \n * Content to render when value is null.\n * ```\n *\n * \\@usageNotes\n *\n * The `*ngIf` directive is most commonly used to conditionally show an inline template,\n * as seen in the following example.\n * The default `else` template is blank.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfSimple'}\n *\n * ### Showing an alternative template using `else`\n *\n * To display a template when `expression` evaluates to false, use an `else` template\n * binding as shown in the following example.\n * The `else` binding points to an `` element labeled `#elseBlock`.\n * The template can be defined anywhere in the component view, but is typically placed right after\n * `ngIf` for readability.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfElse'}\n *\n * ### Using an external `then` template\n *\n * In the previous example, the then-clause template is specified inline, as the content of the\n * tag that contains the `ngIf` directive. You can also specify a template that is defined\n * externally, by referencing a labeled `` element. When you do this, you can\n * change which template to use at runtime, as shown in the following example.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfThenElse'}\n *\n * ### Storing a conditional result in a variable\n *\n * You might want to show a set of properties from the same object. If you are waiting\n * for asynchronous data, the object can be undefined.\n * In this case, you can use `ngIf` and store the result of the condition in a local\n * variable as shown in the the following example.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfAs'}\n *\n * This code uses only one `AsyncPipe`, so only one subscription is created.\n * The conditional statement stores the result of `userStream|async` in the local variable `user`.\n * You can then bind the local `user` repeatedly.\n *\n * The conditional displays the data only if `userStream` returns a value,\n * so you don't need to use the\n * [safe-navigation-operator](guide/template-syntax#safe-navigation-operator) (`?.`)\n * to guard against null values when accessing properties.\n * You can display an alternative template while waiting for the data.\n *\n * ### Shorthand syntax\n *\n * The shorthand syntax `*ngIf` expands into two separate template specifications\n * for the \"then\" and \"else\" clauses. For example, consider the following shorthand statement,\n * that is meant to show a loading page while waiting for data to be loaded.\n *\n * ```\n *
    \n * ...\n *
    \n *\n * \n *
    Loading...
    \n *
    \n * ```\n *\n * You can see that the \"else\" clause references the ``\n * with the `#loading` label, and the template for the \"then\" clause\n * is provided as the content of the anchor element.\n *\n * However, when Angular expands the shorthand syntax, it creates\n * another `` tag, with `ngIf` and `ngIfElse` directives.\n * The anchor element containing the template for the \"then\" clause becomes\n * the content of this unlabeled `` tag.\n *\n * ```\n * \n *
    \n * ...\n *
    \n *
    \n *\n * \n *
    Loading...
    \n *
    \n * ```\n *\n * The presence of the implicit template object has implications for the nesting of\n * structural directives. For more on this subject, see\n * [Structural Directives](https://angular.io/guide/structural-directives#one-per-element).\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n * @template T\n */\nclass NgIf {\n /**\n * @param {?} _viewContainer\n * @param {?} templateRef\n */\n constructor(_viewContainer, templateRef) {\n this._viewContainer = _viewContainer;\n this._context = new NgIfContext();\n this._thenTemplateRef = null;\n this._elseTemplateRef = null;\n this._thenViewRef = null;\n this._elseViewRef = null;\n this._thenTemplateRef = templateRef;\n }\n /**\n * The Boolean expression to evaluate as the condition for showing a template.\n * @param {?} condition\n * @return {?}\n */\n set ngIf(condition) {\n this._context.$implicit = this._context.ngIf = condition;\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to true.\n * @param {?} templateRef\n * @return {?}\n */\n set ngIfThen(templateRef) {\n assertTemplate('ngIfThen', templateRef);\n this._thenTemplateRef = templateRef;\n this._thenViewRef = null; // clear previous view if any.\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to false.\n * @param {?} templateRef\n * @return {?}\n */\n set ngIfElse(templateRef) {\n assertTemplate('ngIfElse', templateRef);\n this._elseTemplateRef = templateRef;\n this._elseViewRef = null; // clear previous view if any.\n this._updateView();\n }\n /**\n * @private\n * @return {?}\n */\n _updateView() {\n if (this._context.$implicit) {\n if (!this._thenViewRef) {\n this._viewContainer.clear();\n this._elseViewRef = null;\n if (this._thenTemplateRef) {\n this._thenViewRef =\n this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);\n }\n }\n }\n else {\n if (!this._elseViewRef) {\n this._viewContainer.clear();\n this._thenViewRef = null;\n if (this._elseTemplateRef) {\n this._elseViewRef =\n this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);\n }\n }\n }\n }\n /**\n * Asserts the correct type of the context for the template that `NgIf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgIf` structural directive renders its template with a specific context type.\n * @template T\n * @param {?} dir\n * @param {?} ctx\n * @return {?}\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n}\nNgIf.ɵfac = function NgIf_Factory(t) { return new (t || NgIf)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef)); };\nNgIf.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgIf, selectors: [[\"\", \"ngIf\", \"\"]], inputs: { ngIf: \"ngIf\", ngIfThen: \"ngIfThen\", ngIfElse: \"ngIfElse\" } });\n/** @nocollapse */\nNgIf.ctorParameters = () => [\n { type: ViewContainerRef },\n { type: TemplateRef }\n];\nNgIf.propDecorators = {\n ngIf: [{ type: Input }],\n ngIfThen: [{ type: Input }],\n ngIfElse: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgIf, [{\n type: Directive,\n args: [{ selector: '[ngIf]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }, { type: ɵngcc0.TemplateRef }]; }, { ngIf: [{\n type: Input\n }], ngIfThen: [{\n type: Input\n }], ngIfElse: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * \\@internal\n * @type {?}\n */\n NgIf.ngIfUseIfTypeGuard;\n /**\n * Assert the correct type of the expression bound to the `ngIf` input within the template.\n *\n * The presence of this static field is a signal to the Ivy template type check compiler that\n * when the `NgIf` structural directive renders its template, the type of the expression bound\n * to `ngIf` should be narrowed in some way. For `NgIf`, the binding expression itself is used to\n * narrow its type, which allows the strictNullChecks feature of TypeScript to work with `NgIf`.\n * @type {?}\n */\n NgIf.ngTemplateGuard_ngIf;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._context;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._thenTemplateRef;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._elseTemplateRef;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._thenViewRef;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._elseViewRef;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._viewContainer;\n}\n/**\n * \\@publicApi\n * @template T\n */\nclass NgIfContext {\n constructor() {\n this.$implicit = (/** @type {?} */ (null));\n this.ngIf = (/** @type {?} */ (null));\n }\n}\nif (false) {\n /** @type {?} */\n NgIfContext.prototype.$implicit;\n /** @type {?} */\n NgIfContext.prototype.ngIf;\n}\n/**\n * @param {?} property\n * @param {?} templateRef\n * @return {?}\n */\nfunction assertTemplate(property, templateRef) {\n /** @type {?} */\n const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);\n if (!isTemplateRefOrNull) {\n throw new Error(`${property} must be a TemplateRef, but received '${ɵstringify(templateRef)}'.`);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_switch.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass SwitchView {\n /**\n * @param {?} _viewContainerRef\n * @param {?} _templateRef\n */\n constructor(_viewContainerRef, _templateRef) {\n this._viewContainerRef = _viewContainerRef;\n this._templateRef = _templateRef;\n this._created = false;\n }\n /**\n * @return {?}\n */\n create() {\n this._created = true;\n this._viewContainerRef.createEmbeddedView(this._templateRef);\n }\n /**\n * @return {?}\n */\n destroy() {\n this._created = false;\n this._viewContainerRef.clear();\n }\n /**\n * @param {?} created\n * @return {?}\n */\n enforceState(created) {\n if (created && !this._created) {\n this.create();\n }\n else if (!created && this._created) {\n this.destroy();\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n SwitchView.prototype._created;\n /**\n * @type {?}\n * @private\n */\n SwitchView.prototype._viewContainerRef;\n /**\n * @type {?}\n * @private\n */\n SwitchView.prototype._templateRef;\n}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n * The `[ngSwitch]` directive on a container specifies an expression to match against.\n * The expressions to match are provided by `ngSwitchCase` directives on views within the container.\n * - Every view that matches is rendered.\n * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.\n * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`\n * or `ngSwitchDefault` directive are preserved at the location.\n *\n * \\@usageNotes\n * Define a container element for the directive, and specify the switch expression\n * to match against as an attribute:\n *\n * ```\n * \n * ```\n *\n * Within the container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * \n * ...\n * ...\n * ...\n * \n * ```\n *\n * ### Usage Examples\n *\n * The following example shows how to use more than one case to display the same view:\n *\n * ```\n * \n * \n * ...\n * ...\n * ...\n * \n * ...\n * \n * ```\n *\n * The following example shows how cases can be nested:\n * ```\n * \n * ...\n * ...\n * ...\n * \n * \n * \n * \n * \n * ...\n * \n * ```\n *\n * \\@publicApi\n * @see `NgSwitchCase`\n * @see `NgSwitchDefault`\n * @see [Structural Directives](guide/structural-directives)\n *\n */\nclass NgSwitch {\n constructor() {\n this._defaultUsed = false;\n this._caseCount = 0;\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n /**\n * @param {?} newValue\n * @return {?}\n */\n set ngSwitch(newValue) {\n this._ngSwitch = newValue;\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n }\n /**\n * \\@internal\n * @return {?}\n */\n _addCase() {\n return this._caseCount++;\n }\n /**\n * \\@internal\n * @param {?} view\n * @return {?}\n */\n _addDefault(view) {\n if (!this._defaultViews) {\n this._defaultViews = [];\n }\n this._defaultViews.push(view);\n }\n /**\n * \\@internal\n * @param {?} value\n * @return {?}\n */\n _matchCase(value) {\n /** @type {?} */\n const matched = value == this._ngSwitch;\n this._lastCasesMatched = this._lastCasesMatched || matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n return matched;\n }\n /**\n * @private\n * @param {?} useDefault\n * @return {?}\n */\n _updateDefaultCases(useDefault) {\n if (this._defaultViews && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (let i = 0; i < this._defaultViews.length; i++) {\n /** @type {?} */\n const defaultView = this._defaultViews[i];\n defaultView.enforceState(useDefault);\n }\n }\n }\n}\nNgSwitch.ɵfac = function NgSwitch_Factory(t) { return new (t || NgSwitch)(); };\nNgSwitch.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgSwitch, selectors: [[\"\", \"ngSwitch\", \"\"]], inputs: { ngSwitch: \"ngSwitch\" } });\nNgSwitch.propDecorators = {\n ngSwitch: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgSwitch, [{\n type: Directive,\n args: [{ selector: '[ngSwitch]' }]\n }], function () { return []; }, { ngSwitch: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._defaultViews;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._defaultUsed;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._caseCount;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._lastCaseCheckIndex;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._lastCasesMatched;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._ngSwitch;\n}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n * Provides a switch case expression to match against an enclosing `ngSwitch` expression.\n * When the expressions match, the given `NgSwitchCase` template is rendered.\n * If multiple match expressions match the switch expression value, all of them are displayed.\n *\n * \\@usageNotes\n *\n * Within a switch container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * \n * ...\n * ...\n * ...\n * \n * ```\n *\n * Each switch-case statement contains an in-line HTML template or template reference\n * that defines the subtree to be selected if the value of the match expression\n * matches the value of the switch expression.\n *\n * Unlike JavaScript, which uses strict equality, Angular uses loose equality.\n * This means that the empty string, `\"\"` matches 0.\n *\n * \\@publicApi\n * @see `NgSwitch`\n * @see `NgSwitchDefault`\n *\n */\nclass NgSwitchCase {\n /**\n * @param {?} viewContainer\n * @param {?} templateRef\n * @param {?} ngSwitch\n */\n constructor(viewContainer, templateRef, ngSwitch) {\n this.ngSwitch = ngSwitch;\n ngSwitch._addCase();\n this._view = new SwitchView(viewContainer, templateRef);\n }\n /**\n * Performs case matching. For internal use only.\n * @return {?}\n */\n ngDoCheck() {\n this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));\n }\n}\nNgSwitchCase.ɵfac = function NgSwitchCase_Factory(t) { return new (t || NgSwitchCase)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef), ɵngcc0.ɵɵdirectiveInject(NgSwitch, 1)); };\nNgSwitchCase.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgSwitchCase, selectors: [[\"\", \"ngSwitchCase\", \"\"]], inputs: { ngSwitchCase: \"ngSwitchCase\" } });\n/** @nocollapse */\nNgSwitchCase.ctorParameters = () => [\n { type: ViewContainerRef },\n { type: TemplateRef },\n { type: NgSwitch, decorators: [{ type: Host }] }\n];\nNgSwitchCase.propDecorators = {\n ngSwitchCase: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgSwitchCase, [{\n type: Directive,\n args: [{ selector: '[ngSwitchCase]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }, { type: ɵngcc0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Host\n }] }]; }, { ngSwitchCase: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgSwitchCase.prototype._view;\n /**\n * Stores the HTML template to be selected on match.\n * @type {?}\n */\n NgSwitchCase.prototype.ngSwitchCase;\n /**\n * @type {?}\n * @private\n */\n NgSwitchCase.prototype.ngSwitch;\n}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Creates a view that is rendered when no `NgSwitchCase` expressions\n * match the `NgSwitch` expression.\n * This statement should be the final case in an `NgSwitch`.\n *\n * \\@publicApi\n * @see `NgSwitch`\n * @see `NgSwitchCase`\n *\n */\nclass NgSwitchDefault {\n /**\n * @param {?} viewContainer\n * @param {?} templateRef\n * @param {?} ngSwitch\n */\n constructor(viewContainer, templateRef, ngSwitch) {\n ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n }\n}\nNgSwitchDefault.ɵfac = function NgSwitchDefault_Factory(t) { return new (t || NgSwitchDefault)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef), ɵngcc0.ɵɵdirectiveInject(NgSwitch, 1)); };\nNgSwitchDefault.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgSwitchDefault, selectors: [[\"\", \"ngSwitchDefault\", \"\"]] });\n/** @nocollapse */\nNgSwitchDefault.ctorParameters = () => [\n { type: ViewContainerRef },\n { type: TemplateRef },\n { type: NgSwitch, decorators: [{ type: Host }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgSwitchDefault, [{\n type: Directive,\n args: [{ selector: '[ngSwitchDefault]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }, { type: ɵngcc0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Host\n }] }]; }, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_plural.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n * ```\n * \n * there is nothing\n * there is one\n * there are a few\n * \n * ```\n *\n * \\@description\n *\n * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n *\n * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n * that match the switch expression's pluralization category.\n *\n * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n * expression:\n * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n * matches the switch expression exactly,\n * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n * value matches aren't found and the value maps to its category for the defined locale.\n *\n * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n *\n * \\@publicApi\n */\nclass NgPlural {\n /**\n * @param {?} _localization\n */\n constructor(_localization) {\n this._localization = _localization;\n this._caseViews = {};\n }\n /**\n * @param {?} value\n * @return {?}\n */\n set ngPlural(value) {\n this._switchValue = value;\n this._updateView();\n }\n /**\n * @param {?} value\n * @param {?} switchView\n * @return {?}\n */\n addCase(value, switchView) {\n this._caseViews[value] = switchView;\n }\n /**\n * @private\n * @return {?}\n */\n _updateView() {\n this._clearViews();\n /** @type {?} */\n const cases = Object.keys(this._caseViews);\n /** @type {?} */\n const key = getPluralCategory(this._switchValue, cases, this._localization);\n this._activateView(this._caseViews[key]);\n }\n /**\n * @private\n * @return {?}\n */\n _clearViews() {\n if (this._activeView)\n this._activeView.destroy();\n }\n /**\n * @private\n * @param {?} view\n * @return {?}\n */\n _activateView(view) {\n if (view) {\n this._activeView = view;\n this._activeView.create();\n }\n }\n}\nNgPlural.ɵfac = function NgPlural_Factory(t) { return new (t || NgPlural)(ɵngcc0.ɵɵdirectiveInject(NgLocalization)); };\nNgPlural.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgPlural, selectors: [[\"\", \"ngPlural\", \"\"]], inputs: { ngPlural: \"ngPlural\" } });\n/** @nocollapse */\nNgPlural.ctorParameters = () => [\n { type: NgLocalization }\n];\nNgPlural.propDecorators = {\n ngPlural: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgPlural, [{\n type: Directive,\n args: [{ selector: '[ngPlural]' }]\n }], function () { return [{ type: NgLocalization }]; }, { ngPlural: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgPlural.prototype._switchValue;\n /**\n * @type {?}\n * @private\n */\n NgPlural.prototype._activeView;\n /**\n * @type {?}\n * @private\n */\n NgPlural.prototype._caseViews;\n /**\n * @type {?}\n * @private\n */\n NgPlural.prototype._localization;\n}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Creates a view that will be added/removed from the parent {\\@link NgPlural} when the\n * given expression matches the plural expression according to CLDR rules.\n *\n * \\@usageNotes\n * ```\n * \n * ...\n * ...\n * \n * ```\n *\n * See {\\@link NgPlural} for more details and example.\n *\n * \\@publicApi\n */\nclass NgPluralCase {\n /**\n * @param {?} value\n * @param {?} template\n * @param {?} viewContainer\n * @param {?} ngPlural\n */\n constructor(value, template, viewContainer, ngPlural) {\n this.value = value;\n /** @type {?} */\n const isANumber = !isNaN(Number(value));\n ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));\n }\n}\nNgPluralCase.ɵfac = function NgPluralCase_Factory(t) { return new (t || NgPluralCase)(ɵngcc0.ɵɵinjectAttribute('ngPluralCase'), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(NgPlural, 1)); };\nNgPluralCase.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgPluralCase, selectors: [[\"\", \"ngPluralCase\", \"\"]] });\n/** @nocollapse */\nNgPluralCase.ctorParameters = () => [\n { type: String, decorators: [{ type: Attribute, args: ['ngPluralCase',] }] },\n { type: TemplateRef },\n { type: ViewContainerRef },\n { type: NgPlural, decorators: [{ type: Host }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgPluralCase, [{\n type: Directive,\n args: [{ selector: '[ngPluralCase]' }]\n }], function () { return [{ type: String, decorators: [{\n type: Attribute,\n args: ['ngPluralCase']\n }] }, { type: ɵngcc0.TemplateRef }, { type: ɵngcc0.ViewContainerRef }, { type: NgPlural, decorators: [{\n type: Host\n }] }]; }, null); })();\nif (false) {\n /** @type {?} */\n NgPluralCase.prototype.value;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_style.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n *\n * Set the font of the containing element to the result of an expression.\n *\n * ```\n * ...\n * ```\n *\n * Set the width of the containing element to a pixel value returned by an expression.\n *\n * ```\n * ...\n * ```\n *\n * Set a collection of style values using an expression that returns key-value pairs.\n *\n * ```\n * ...\n * ```\n *\n * \\@description\n *\n * An attribute directive that updates styles for the containing HTML element.\n * Sets one or more style properties, specified as colon-separated key-value pairs.\n * The key is a style name, with an optional `.` suffix\n * (such as 'top.px', 'font-style.em').\n * The value is an expression to be evaluated.\n * The resulting non-null value, expressed in the given unit,\n * is assigned to the given style property.\n * If the result of evaluation is null, the corresponding style is removed.\n *\n * \\@publicApi\n */\nclass NgStyle {\n /**\n * @param {?} _ngEl\n * @param {?} _differs\n * @param {?} _renderer\n */\n constructor(_ngEl, _differs, _renderer) {\n this._ngEl = _ngEl;\n this._differs = _differs;\n this._renderer = _renderer;\n this._ngStyle = null;\n this._differ = null;\n }\n /**\n * @param {?} values\n * @return {?}\n */\n set ngStyle(values) {\n this._ngStyle = values;\n if (!this._differ && values) {\n this._differ = this._differs.find(values).create();\n }\n }\n /**\n * @return {?}\n */\n ngDoCheck() {\n if (this._differ) {\n /** @type {?} */\n const changes = this._differ.diff((/** @type {?} */ (this._ngStyle)));\n if (changes) {\n this._applyChanges(changes);\n }\n }\n }\n /**\n * @private\n * @param {?} nameAndUnit\n * @param {?} value\n * @return {?}\n */\n _setStyle(nameAndUnit, value) {\n const [name, unit] = nameAndUnit.split('.');\n value = value != null && unit ? `${value}${unit}` : value;\n if (value != null) {\n this._renderer.setStyle(this._ngEl.nativeElement, name, (/** @type {?} */ (value)));\n }\n else {\n this._renderer.removeStyle(this._ngEl.nativeElement, name);\n }\n }\n /**\n * @private\n * @param {?} changes\n * @return {?}\n */\n _applyChanges(changes) {\n changes.forEachRemovedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._setStyle(record.key, null)));\n changes.forEachAddedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._setStyle(record.key, record.currentValue)));\n changes.forEachChangedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._setStyle(record.key, record.currentValue)));\n }\n}\nNgStyle.ɵfac = function NgStyle_Factory(t) { return new (t || NgStyle)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.KeyValueDiffers), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.Renderer2)); };\nNgStyle.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgStyle, selectors: [[\"\", \"ngStyle\", \"\"]], inputs: { ngStyle: \"ngStyle\" } });\n/** @nocollapse */\nNgStyle.ctorParameters = () => [\n { type: ElementRef },\n { type: KeyValueDiffers },\n { type: Renderer2 }\n];\nNgStyle.propDecorators = {\n ngStyle: [{ type: Input, args: ['ngStyle',] }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgStyle, [{\n type: Directive,\n args: [{ selector: '[ngStyle]' }]\n }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.KeyValueDiffers }, { type: ɵngcc0.Renderer2 }]; }, { ngStyle: [{\n type: Input,\n args: ['ngStyle']\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._ngStyle;\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._differ;\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._ngEl;\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._differs;\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._renderer;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_template_outlet.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Inserts an embedded view from a prepared `TemplateRef`.\n *\n * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.\n * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding\n * by the local template `let` declarations.\n *\n * \\@usageNotes\n * ```\n * \n * ```\n *\n * Using the key `$implicit` in the context object will set its value as default.\n *\n * ### Example\n *\n * {\\@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}\n *\n * \\@publicApi\n */\nclass NgTemplateOutlet {\n /**\n * @param {?} _viewContainerRef\n */\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this._viewRef = null;\n /**\n * A context object to attach to the {\\@link EmbeddedViewRef}. This should be an\n * object, the object's keys will be available for binding by the local template `let`\n * declarations.\n * Using the key `$implicit` in the context object will set its value as default.\n */\n this.ngTemplateOutletContext = null;\n /**\n * A string defining the template reference and optionally the context object for the template.\n */\n this.ngTemplateOutlet = null;\n }\n /**\n * @param {?} changes\n * @return {?}\n */\n ngOnChanges(changes) {\n /** @type {?} */\n const recreateView = this._shouldRecreateView(changes);\n if (recreateView) {\n /** @type {?} */\n const viewContainerRef = this._viewContainerRef;\n if (this._viewRef) {\n viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));\n }\n this._viewRef = this.ngTemplateOutlet ?\n viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, this.ngTemplateOutletContext) :\n null;\n }\n else if (this._viewRef && this.ngTemplateOutletContext) {\n this._updateExistingContext(this.ngTemplateOutletContext);\n }\n }\n /**\n * We need to re-create existing embedded view if:\n * - templateRef has changed\n * - context has changes\n *\n * We mark context object as changed when the corresponding object\n * shape changes (new properties are added or existing properties are removed).\n * In other words we consider context with the same properties as \"the same\" even\n * if object reference changes (see https://github.com/angular/angular/issues/13407).\n * @private\n * @param {?} changes\n * @return {?}\n */\n _shouldRecreateView(changes) {\n /** @type {?} */\n const ctxChange = changes['ngTemplateOutletContext'];\n return !!changes['ngTemplateOutlet'] || (ctxChange && this._hasContextShapeChanged(ctxChange));\n }\n /**\n * @private\n * @param {?} ctxChange\n * @return {?}\n */\n _hasContextShapeChanged(ctxChange) {\n /** @type {?} */\n const prevCtxKeys = Object.keys(ctxChange.previousValue || {});\n /** @type {?} */\n const currCtxKeys = Object.keys(ctxChange.currentValue || {});\n if (prevCtxKeys.length === currCtxKeys.length) {\n for (let propName of currCtxKeys) {\n if (prevCtxKeys.indexOf(propName) === -1) {\n return true;\n }\n }\n return false;\n }\n return true;\n }\n /**\n * @private\n * @param {?} ctx\n * @return {?}\n */\n _updateExistingContext(ctx) {\n for (let propName of Object.keys(ctx)) {\n ((/** @type {?} */ ((/** @type {?} */ (this._viewRef)).context)))[propName] = ((/** @type {?} */ (this.ngTemplateOutletContext)))[propName];\n }\n }\n}\nNgTemplateOutlet.ɵfac = function NgTemplateOutlet_Factory(t) { return new (t || NgTemplateOutlet)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef)); };\nNgTemplateOutlet.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgTemplateOutlet, selectors: [[\"\", \"ngTemplateOutlet\", \"\"]], inputs: { ngTemplateOutletContext: \"ngTemplateOutletContext\", ngTemplateOutlet: \"ngTemplateOutlet\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature] });\n/** @nocollapse */\nNgTemplateOutlet.ctorParameters = () => [\n { type: ViewContainerRef }\n];\nNgTemplateOutlet.propDecorators = {\n ngTemplateOutletContext: [{ type: Input }],\n ngTemplateOutlet: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgTemplateOutlet, [{\n type: Directive,\n args: [{ selector: '[ngTemplateOutlet]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }]; }, { ngTemplateOutletContext: [{\n type: Input\n }], ngTemplateOutlet: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgTemplateOutlet.prototype._viewRef;\n /**\n * A context object to attach to the {\\@link EmbeddedViewRef}. This should be an\n * object, the object's keys will be available for binding by the local template `let`\n * declarations.\n * Using the key `$implicit` in the context object will set its value as default.\n * @type {?}\n */\n NgTemplateOutlet.prototype.ngTemplateOutletContext;\n /**\n * A string defining the template reference and optionally the context object for the template.\n * @type {?}\n */\n NgTemplateOutlet.prototype.ngTemplateOutlet;\n /**\n * @type {?}\n * @private\n */\n NgTemplateOutlet.prototype._viewContainerRef;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A collection of Angular directives that are likely to be used in each and every Angular\n * application.\n * @type {?}\n */\nconst COMMON_DIRECTIVES = [\n NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n];\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/invalid_pipe_argument_error.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} type\n * @param {?} value\n * @return {?}\n */\nfunction invalidPipeArgumentError(type, value) {\n return Error(`InvalidPipeArgument: '${value}' for pipe '${ɵstringify(type)}'`);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/async_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction SubscriptionStrategy() { }\nif (false) {\n /**\n * @param {?} async\n * @param {?} updateLatestValue\n * @return {?}\n */\n SubscriptionStrategy.prototype.createSubscription = function (async, updateLatestValue) { };\n /**\n * @param {?} subscription\n * @return {?}\n */\n SubscriptionStrategy.prototype.dispose = function (subscription) { };\n /**\n * @param {?} subscription\n * @return {?}\n */\n SubscriptionStrategy.prototype.onDestroy = function (subscription) { };\n}\nclass ObservableStrategy {\n /**\n * @param {?} async\n * @param {?} updateLatestValue\n * @return {?}\n */\n createSubscription(async, updateLatestValue) {\n return async.subscribe({\n next: updateLatestValue,\n error: (/**\n * @param {?} e\n * @return {?}\n */\n (e) => {\n throw e;\n })\n });\n }\n /**\n * @param {?} subscription\n * @return {?}\n */\n dispose(subscription) {\n subscription.unsubscribe();\n }\n /**\n * @param {?} subscription\n * @return {?}\n */\n onDestroy(subscription) {\n subscription.unsubscribe();\n }\n}\nclass PromiseStrategy {\n /**\n * @param {?} async\n * @param {?} updateLatestValue\n * @return {?}\n */\n createSubscription(async, updateLatestValue) {\n return async.then(updateLatestValue, (/**\n * @param {?} e\n * @return {?}\n */\n e => {\n throw e;\n }));\n }\n /**\n * @param {?} subscription\n * @return {?}\n */\n dispose(subscription) { }\n /**\n * @param {?} subscription\n * @return {?}\n */\n onDestroy(subscription) { }\n}\n/** @type {?} */\nconst _promiseStrategy = new PromiseStrategy();\n/** @type {?} */\nconst _observableStrategy = new ObservableStrategy();\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Unwraps a value from an asynchronous primitive.\n *\n * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n * potential memory leaks.\n *\n * \\@usageNotes\n *\n * ### Examples\n *\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n * promise.\n *\n * {\\@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n *\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n * to the view. The Observable continuously updates the view with the current time.\n *\n * {\\@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n *\n * \\@publicApi\n */\nclass AsyncPipe {\n /**\n * @param {?} _ref\n */\n constructor(_ref) {\n this._ref = _ref;\n this._latestValue = null;\n this._latestReturnedValue = null;\n this._subscription = null;\n this._obj = null;\n this._strategy = (/** @type {?} */ (null));\n }\n /**\n * @return {?}\n */\n ngOnDestroy() {\n if (this._subscription) {\n this._dispose();\n }\n }\n /**\n * @param {?} obj\n * @return {?}\n */\n transform(obj) {\n if (!this._obj) {\n if (obj) {\n this._subscribe(obj);\n }\n this._latestReturnedValue = this._latestValue;\n return this._latestValue;\n }\n if (obj !== this._obj) {\n this._dispose();\n return this.transform((/** @type {?} */ (obj)));\n }\n if (ɵlooseIdentical(this._latestValue, this._latestReturnedValue)) {\n return this._latestReturnedValue;\n }\n this._latestReturnedValue = this._latestValue;\n return WrappedValue.wrap(this._latestValue);\n }\n /**\n * @private\n * @param {?} obj\n * @return {?}\n */\n _subscribe(obj) {\n this._obj = obj;\n this._strategy = this._selectStrategy(obj);\n this._subscription = this._strategy.createSubscription(obj, (/**\n * @param {?} value\n * @return {?}\n */\n (value) => this._updateLatestValue(obj, value)));\n }\n /**\n * @private\n * @param {?} obj\n * @return {?}\n */\n _selectStrategy(obj) {\n if (ɵisPromise(obj)) {\n return _promiseStrategy;\n }\n if (ɵisObservable(obj)) {\n return _observableStrategy;\n }\n throw invalidPipeArgumentError(AsyncPipe, obj);\n }\n /**\n * @private\n * @return {?}\n */\n _dispose() {\n this._strategy.dispose((/** @type {?} */ (this._subscription)));\n this._latestValue = null;\n this._latestReturnedValue = null;\n this._subscription = null;\n this._obj = null;\n }\n /**\n * @private\n * @param {?} async\n * @param {?} value\n * @return {?}\n */\n _updateLatestValue(async, value) {\n if (async === this._obj) {\n this._latestValue = value;\n this._ref.markForCheck();\n }\n }\n}\nAsyncPipe.ɵfac = function AsyncPipe_Factory(t) { return new (t || AsyncPipe)(ɵngcc0.ɵɵinjectPipeChangeDetectorRef()); };\nAsyncPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"async\", type: AsyncPipe, pure: false });\n/** @nocollapse */\nAsyncPipe.ctorParameters = () => [\n { type: ChangeDetectorRef }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(AsyncPipe, [{\n type: Pipe,\n args: [{ name: 'async', pure: false }]\n }], function () { return [{ type: ɵngcc0.ChangeDetectorRef }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._latestValue;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._latestReturnedValue;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._subscription;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._obj;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._strategy;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._ref;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/case_conversion_pipes.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Transforms text to all lower case.\n *\n * @see `UpperCasePipe`\n * @see `TitleCasePipe`\n * \\@usageNotes\n *\n * The following example defines a view that allows the user to enter\n * text, and then uses the pipe to convert the input text to all lower case.\n *\n * \n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass LowerCasePipe {\n /**\n * @param {?} value The string to transform to lower case.\n * @return {?}\n */\n transform(value) {\n if (!value)\n return value;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(LowerCasePipe, value);\n }\n return value.toLowerCase();\n }\n}\nLowerCasePipe.ɵfac = function LowerCasePipe_Factory(t) { return new (t || LowerCasePipe)(); };\nLowerCasePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"lowercase\", type: LowerCasePipe, pure: true });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(LowerCasePipe, [{\n type: Pipe,\n args: [{ name: 'lowercase' }]\n }], null, null); })();\n//\n// Regex below matches any Unicode word and compatible with ES5. In ES2018 the same result\n// can be achieved by using /\\p{L}\\S*/gu and also known as Unicode Property Escapes\n// (http://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no\n// transpilation of this functionality down to ES5 without external tool, the only solution is\n// to use already transpiled form. Example can be found here -\n// https://mothereff.in/regexpu#input=var+regex+%3D+/%5Cp%7BL%7D/u%3B&unicodePropertyEscape=1\n//\n/** @type {?} */\nconst unicodeWordMatch = /(?:[A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312E\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FEA\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\u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\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEDE\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3D\\uDF50\\uDF5D-\\uDF61]|\\uD805[\\uDC00-\\uDC34\\uDC47-\\uDC4A\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDF00-\\uDF19]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDE00\\uDE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE83\\uDE86-\\uDE89\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00-\\uDD1E\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD83A[\\uDC00-\\uDCC4\\uDD00-\\uDD43]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D])\\S*/g;\n/**\n * Transforms text to title case.\n * Capitalizes the first letter of each word and transforms the\n * rest of the word to lower case.\n * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.\n *\n * @see `LowerCasePipe`\n * @see `UpperCasePipe`\n *\n * \\@usageNotes\n * The following example shows the result of transforming various strings into title case.\n *\n * \n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass TitleCasePipe {\n /**\n * @param {?} value The string to transform to title case.\n * @return {?}\n */\n transform(value) {\n if (!value)\n return value;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(TitleCasePipe, value);\n }\n return value.replace(unicodeWordMatch, ((/**\n * @param {?} txt\n * @return {?}\n */\n txt => txt[0].toUpperCase() + txt.substr(1).toLowerCase())));\n }\n}\nTitleCasePipe.ɵfac = function TitleCasePipe_Factory(t) { return new (t || TitleCasePipe)(); };\nTitleCasePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"titlecase\", type: TitleCasePipe, pure: true });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(TitleCasePipe, [{\n type: Pipe,\n args: [{ name: 'titlecase' }]\n }], null, null); })();\n/**\n * Transforms text to all upper case.\n * @see `LowerCasePipe`\n * @see `TitleCasePipe`\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass UpperCasePipe {\n /**\n * @param {?} value The string to transform to upper case.\n * @return {?}\n */\n transform(value) {\n if (!value)\n return value;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(UpperCasePipe, value);\n }\n return value.toUpperCase();\n }\n}\nUpperCasePipe.ɵfac = function UpperCasePipe_Factory(t) { return new (t || UpperCasePipe)(); };\nUpperCasePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"uppercase\", type: UpperCasePipe, pure: true });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(UpperCasePipe, [{\n type: Pipe,\n args: [{ name: 'uppercase' }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/date_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// clang-format off\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a date value according to locale rules.\n *\n * Only the `en-US` locale data comes with Angular. To localize dates\n * in another language, you must import the corresponding locale data.\n * See the [I18n guide](guide/i18n#i18n-pipes) for more information.\n *\n * @see `formatDate()`\n *\n *\n * \\@usageNotes\n *\n * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to\n * reformat the date on every change-detection cycle, treat the date as an immutable object\n * and change the reference when the pipe needs to run again.\n *\n * ### Pre-defined format options\n *\n * Examples are given in `en-US` locale.\n *\n * - `'short'`: equivalent to `'M/d/yy, h:mm a'` (`6/15/15, 9:03 AM`).\n * - `'medium'`: equivalent to `'MMM d, y, h:mm:ss a'` (`Jun 15, 2015, 9:03:01 AM`).\n * - `'long'`: equivalent to `'MMMM d, y, h:mm:ss a z'` (`June 15, 2015 at 9:03:01 AM\n * GMT+1`).\n * - `'full'`: equivalent to `'EEEE, MMMM d, y, h:mm:ss a zzzz'` (`Monday, June 15, 2015 at\n * 9:03:01 AM GMT+01:00`).\n * - `'shortDate'`: equivalent to `'M/d/yy'` (`6/15/15`).\n * - `'mediumDate'`: equivalent to `'MMM d, y'` (`Jun 15, 2015`).\n * - `'longDate'`: equivalent to `'MMMM d, y'` (`June 15, 2015`).\n * - `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` (`Monday, June 15, 2015`).\n * - `'shortTime'`: equivalent to `'h:mm a'` (`9:03 AM`).\n * - `'mediumTime'`: equivalent to `'h:mm:ss a'` (`9:03:01 AM`).\n * - `'longTime'`: equivalent to `'h:mm:ss a z'` (`9:03:01 AM GMT+1`).\n * - `'fullTime'`: equivalent to `'h:mm:ss a zzzz'` (`9:03:01 AM GMT+01:00`).\n *\n * ### Custom format options\n *\n * You can construct a format string using symbols to specify the components\n * of a date-time value, as described in the following table.\n * Format details depend on the locale.\n * Fields marked with (*) are only available in the extra data set for the given locale.\n *\n * | Field type | Format | Description | Example Value |\n * |--------------------|-------------|---------------------------------------------------------------|------------------------------------------------------------|\n * | Era | G, GG & GGG | Abbreviated | AD |\n * | | GGGG | Wide | Anno Domini |\n * | | GGGGG | Narrow | A |\n * | Year | y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |\n * | | yy | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |\n * | | yyy | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |\n * | | yyyy | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |\n * | Month | M | Numeric: 1 digit | 9, 12 |\n * | | MM | Numeric: 2 digits + zero padded | 09, 12 |\n * | | MMM | Abbreviated | Sep |\n * | | MMMM | Wide | September |\n * | | MMMMM | Narrow | S |\n * | Month standalone | L | Numeric: 1 digit | 9, 12 |\n * | | LL | Numeric: 2 digits + zero padded | 09, 12 |\n * | | LLL | Abbreviated | Sep |\n * | | LLLL | Wide | September |\n * | | LLLLL | Narrow | S |\n * | Week of year | w | Numeric: minimum digits | 1... 53 |\n * | | ww | Numeric: 2 digits + zero padded | 01... 53 |\n * | Week of month | W | Numeric: 1 digit | 1... 5 |\n * | Day of month | d | Numeric: minimum digits | 1 |\n * | | dd | Numeric: 2 digits + zero padded | 01 |\n * | Week day | E, EE & EEE | Abbreviated | Tue |\n * | | EEEE | Wide | Tuesday |\n * | | EEEEE | Narrow | T |\n * | | EEEEEE | Short | Tu |\n * | Period | a, aa & aaa | Abbreviated | am/pm or AM/PM |\n * | | aaaa | Wide (fallback to `a` when missing) | ante meridiem/post meridiem |\n * | | aaaaa | Narrow | a/p |\n * | Period* | B, BB & BBB | Abbreviated | mid. |\n * | | BBBB | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | BBBBB | Narrow | md |\n * | Period standalone* | b, bb & bbb | Abbreviated | mid. |\n * | | bbbb | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | bbbbb | Narrow | md |\n * | Hour 1-12 | h | Numeric: minimum digits | 1, 12 |\n * | | hh | Numeric: 2 digits + zero padded | 01, 12 |\n * | Hour 0-23 | H | Numeric: minimum digits | 0, 23 |\n * | | HH | Numeric: 2 digits + zero padded | 00, 23 |\n * | Minute | m | Numeric: minimum digits | 8, 59 |\n * | | mm | Numeric: 2 digits + zero padded | 08, 59 |\n * | Second | s | Numeric: minimum digits | 0... 59 |\n * | | ss | Numeric: 2 digits + zero padded | 00... 59 |\n * | Fractional seconds | S | Numeric: 1 digit | 0... 9 |\n * | | SS | Numeric: 2 digits + zero padded | 00... 99 |\n * | | SSS | Numeric: 3 digits + zero padded (= milliseconds) | 000... 999 |\n * | Zone | z, zz & zzz | Short specific non location format (fallback to O) | GMT-8 |\n * | | zzzz | Long specific non location format (fallback to OOOO) | GMT-08:00 |\n * | | Z, ZZ & ZZZ | ISO8601 basic format | -0800 |\n * | | ZZZZ | Long localized GMT format | GMT-8:00 |\n * | | ZZZZZ | ISO8601 extended format + Z indicator for offset 0 (= XXXXX) | -08:00 |\n * | | O, OO & OOO | Short localized GMT format | GMT-8 |\n * | | OOOO | Long localized GMT format | GMT-08:00 |\n *\n * Note that timezone correction is not applied to an ISO string that has no time component, such as \"2016-09-19\"\n *\n * ### Format examples\n *\n * These examples transform a date into various formats,\n * assuming that `dateObj` is a JavaScript `Date` object for\n * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,\n * given in the local time for the `en-US` locale.\n *\n * ```\n * {{ dateObj | date }} // output is 'Jun 15, 2015'\n * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'\n * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'\n * {{ dateObj | date:'mm:ss' }} // output is '43:11'\n * ```\n *\n * ### Usage example\n *\n * The following component uses a date pipe to display the current date in different formats.\n *\n * ```\n * \\@Component({\n * selector: 'date-pipe',\n * template: `
    \n *

    Today is {{today | date}}

    \n *

    Or if you prefer, {{today | date:'fullDate'}}

    \n *

    The time is {{today | date:'h:mm a z'}}

    \n *
    `\n * })\n * // Get the current date and time as a date-time value.\n * export class DatePipeComponent {\n * today: number = Date.now();\n * }\n * ```\n *\n * \\@publicApi\n */\n// clang-format on\nclass DatePipe {\n /**\n * @param {?} locale\n */\n constructor(locale) {\n this.locale = locale;\n }\n /**\n * @param {?} value The date expression: a `Date` object, a number\n * (milliseconds since UTC epoch), or an ISO string (https://www.w3.org/TR/NOTE-datetime).\n * @param {?=} format The date/time components to include, using predefined options or a\n * custom format string.\n * @param {?=} timezone A timezone offset (such as `'+0430'`), or a standard\n * UTC/GMT or continental US timezone abbreviation.\n * When not supplied, uses the end-user's local system timezone.\n * @param {?=} locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n * @return {?} A date string in the desired format.\n */\n transform(value, format = 'mediumDate', timezone, locale) {\n if (value == null || value === '' || value !== value)\n return null;\n try {\n return formatDate(value, format, locale || this.locale, timezone);\n }\n catch (error) {\n throw invalidPipeArgumentError(DatePipe, error.message);\n }\n }\n}\nDatePipe.ɵfac = function DatePipe_Factory(t) { return new (t || DatePipe)(ɵngcc0.ɵɵdirectiveInject(LOCALE_ID)); };\nDatePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"date\", type: DatePipe, pure: true });\n/** @nocollapse */\nDatePipe.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(DatePipe, [{\n type: Pipe,\n args: [{ name: 'date', pure: true }]\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n DatePipe.prototype.locale;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/i18n_plural_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst _INTERPOLATION_REGEXP = /#/g;\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Maps a value to a string that pluralizes the value according to locale rules.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n *\n * \\@publicApi\n */\nclass I18nPluralPipe {\n /**\n * @param {?} _localization\n */\n constructor(_localization) {\n this._localization = _localization;\n }\n /**\n * @param {?} value the number to be formatted\n * @param {?} pluralMap an object that mimics the ICU format, see\n * http://userguide.icu-project.org/formatparse/messages.\n * @param {?=} locale a `string` defining the locale to use (uses the current {\\@link LOCALE_ID} by\n * default).\n * @return {?}\n */\n transform(value, pluralMap, locale) {\n if (value == null)\n return '';\n if (typeof pluralMap !== 'object' || pluralMap === null) {\n throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);\n }\n /** @type {?} */\n const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);\n return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n }\n}\nI18nPluralPipe.ɵfac = function I18nPluralPipe_Factory(t) { return new (t || I18nPluralPipe)(ɵngcc0.ɵɵdirectiveInject(NgLocalization)); };\nI18nPluralPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"i18nPlural\", type: I18nPluralPipe, pure: true });\n/** @nocollapse */\nI18nPluralPipe.ctorParameters = () => [\n { type: NgLocalization }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(I18nPluralPipe, [{\n type: Pipe,\n args: [{ name: 'i18nPlural', pure: true }]\n }], function () { return [{ type: NgLocalization }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n I18nPluralPipe.prototype._localization;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/i18n_select_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Generic selector that displays the string that matches the current value.\n *\n * If none of the keys of the `mapping` match the `value`, then the content\n * of the `other` key is returned when present, otherwise an empty string is returned.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n *\n * \\@publicApi\n */\nclass I18nSelectPipe {\n /**\n * @param {?} value a string to be internationalized.\n * @param {?} mapping an object that indicates the text that should be displayed\n * for different values of the provided `value`.\n * @return {?}\n */\n transform(value, mapping) {\n if (value == null)\n return '';\n if (typeof mapping !== 'object' || typeof value !== 'string') {\n throw invalidPipeArgumentError(I18nSelectPipe, mapping);\n }\n if (mapping.hasOwnProperty(value)) {\n return mapping[value];\n }\n if (mapping.hasOwnProperty('other')) {\n return mapping['other'];\n }\n return '';\n }\n}\nI18nSelectPipe.ɵfac = function I18nSelectPipe_Factory(t) { return new (t || I18nSelectPipe)(); };\nI18nSelectPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"i18nSelect\", type: I18nSelectPipe, pure: true });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(I18nSelectPipe, [{\n type: Pipe,\n args: [{ name: 'i18nSelect', pure: true }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/json_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Converts a value into its JSON-format representation. Useful for debugging.\n *\n * \\@usageNotes\n *\n * The following component uses a JSON pipe to convert an object\n * to JSON format, and displays the string in both formats for comparison.\n *\n * {\\@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n *\n * \\@publicApi\n */\nclass JsonPipe {\n /**\n * @param {?} value A value of any type to convert into a JSON-format string.\n * @return {?}\n */\n transform(value) {\n return JSON.stringify(value, null, 2);\n }\n}\nJsonPipe.ɵfac = function JsonPipe_Factory(t) { return new (t || JsonPipe)(); };\nJsonPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"json\", type: JsonPipe, pure: false });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(JsonPipe, [{\n type: Pipe,\n args: [{ name: 'json', pure: false }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/keyvalue_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @template K, V\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction makeKeyValuePair(key, value) {\n return { key: key, value: value };\n}\n/**\n * A key value pair.\n * Usually used to represent the key value pairs from a Map or Object.\n *\n * \\@publicApi\n * @record\n * @template K, V\n */\nfunction KeyValue() { }\nif (false) {\n /** @type {?} */\n KeyValue.prototype.key;\n /** @type {?} */\n KeyValue.prototype.value;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms Object or Map into an array of key value pairs.\n *\n * The output array will be ordered by keys.\n * By default the comparator will be by Unicode point value.\n * You can optionally pass a compareFn if your keys are complex types.\n *\n * \\@usageNotes\n * ### Examples\n *\n * This examples show how an Object or a Map can be iterated by ngFor with the use of this keyvalue\n * pipe.\n *\n * {\\@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}\n *\n * \\@publicApi\n */\nclass KeyValuePipe {\n /**\n * @param {?} differs\n */\n constructor(differs) {\n this.differs = differs;\n this.keyValues = [];\n }\n /**\n * @template K, V\n * @param {?} input\n * @param {?=} compareFn\n * @return {?}\n */\n transform(input, compareFn = defaultComparator) {\n if (!input || (!(input instanceof Map) && typeof input !== 'object')) {\n return null;\n }\n if (!this.differ) {\n // make a differ for whatever type we've been passed in\n this.differ = this.differs.find(input).create();\n }\n /** @type {?} */\n const differChanges = this.differ.diff((/** @type {?} */ (input)));\n if (differChanges) {\n this.keyValues = [];\n differChanges.forEachItem((/**\n * @param {?} r\n * @return {?}\n */\n (r) => {\n this.keyValues.push(makeKeyValuePair(r.key, (/** @type {?} */ (r.currentValue))));\n }));\n this.keyValues.sort(compareFn);\n }\n return this.keyValues;\n }\n}\nKeyValuePipe.ɵfac = function KeyValuePipe_Factory(t) { return new (t || KeyValuePipe)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.KeyValueDiffers)); };\nKeyValuePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"keyvalue\", type: KeyValuePipe, pure: false });\n/** @nocollapse */\nKeyValuePipe.ctorParameters = () => [\n { type: KeyValueDiffers }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(KeyValuePipe, [{\n type: Pipe,\n args: [{ name: 'keyvalue', pure: false }]\n }], function () { return [{ type: ɵngcc0.KeyValueDiffers }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n KeyValuePipe.prototype.differ;\n /**\n * @type {?}\n * @private\n */\n KeyValuePipe.prototype.keyValues;\n /**\n * @type {?}\n * @private\n */\n KeyValuePipe.prototype.differs;\n}\n/**\n * @template K, V\n * @param {?} keyValueA\n * @param {?} keyValueB\n * @return {?}\n */\nfunction defaultComparator(keyValueA, keyValueB) {\n /** @type {?} */\n const a = keyValueA.key;\n /** @type {?} */\n const b = keyValueB.key;\n // if same exit with 0;\n if (a === b)\n return 0;\n // make sure that undefined are at the end of the sort.\n if (a === undefined)\n return 1;\n if (b === undefined)\n return -1;\n // make sure that nulls are at the end of the sort.\n if (a === null)\n return 1;\n if (b === null)\n return -1;\n if (typeof a == 'string' && typeof b == 'string') {\n return a < b ? -1 : 1;\n }\n if (typeof a == 'number' && typeof b == 'number') {\n return a - b;\n }\n if (typeof a == 'boolean' && typeof b == 'boolean') {\n return a < b ? -1 : 1;\n }\n // `a` and `b` are of different types. Compare their string values.\n /** @type {?} */\n const aString = String(a);\n /** @type {?} */\n const bString = String(b);\n return aString == bString ? 0 : aString < bString ? -1 : 1;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/number_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number into a string,\n * formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * If no parameters are specified, the function rounds off to the nearest value using this\n * [rounding method](https://en.wikibooks.org/wiki/Arithmetic/Rounding).\n * The behavior differs from that of the JavaScript ```Math.round()``` function.\n * In the following case for example, the pipe rounds down where\n * ```Math.round()``` rounds up:\n *\n * ```html\n * -2.5 | number:'1.0-0'\n * > -3\n * Math.round(-2.5)\n * > -2\n * ```\n *\n * @see `formatNumber()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * ### Example\n *\n * \n *\n * \\@publicApi\n */\nclass DecimalPipe {\n /**\n * @param {?} _locale\n */\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n * @param {?} value The number to be formatted.\n * @param {?=} digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `0`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `3`.\n * @param {?=} locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n * @return {?}\n */\n transform(value, digitsInfo, locale) {\n if (isEmpty(value))\n return null;\n locale = locale || this._locale;\n try {\n /** @type {?} */\n const num = strToNumber(value);\n return formatNumber(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(DecimalPipe, error.message);\n }\n }\n}\nDecimalPipe.ɵfac = function DecimalPipe_Factory(t) { return new (t || DecimalPipe)(ɵngcc0.ɵɵdirectiveInject(LOCALE_ID)); };\nDecimalPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"number\", type: DecimalPipe, pure: true });\n/** @nocollapse */\nDecimalPipe.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(DecimalPipe, [{\n type: Pipe,\n args: [{ name: 'number' }]\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n DecimalPipe.prototype._locale;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number to a percentage\n * string, formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * @see `formatPercent()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * \\@publicApi\n */\nclass PercentPipe {\n /**\n * @param {?} _locale\n */\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n *\n * @param {?} value The number to be formatted as a percentage.\n * @param {?=} digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `0`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `0`.\n * @param {?=} locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n * @return {?}\n */\n transform(value, digitsInfo, locale) {\n if (isEmpty(value))\n return null;\n locale = locale || this._locale;\n try {\n /** @type {?} */\n const num = strToNumber(value);\n return formatPercent(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(PercentPipe, error.message);\n }\n }\n}\nPercentPipe.ɵfac = function PercentPipe_Factory(t) { return new (t || PercentPipe)(ɵngcc0.ɵɵdirectiveInject(LOCALE_ID)); };\nPercentPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"percent\", type: PercentPipe, pure: true });\n/** @nocollapse */\nPercentPipe.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(PercentPipe, [{\n type: Pipe,\n args: [{ name: 'percent' }]\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n PercentPipe.prototype._locale;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number to a currency string, formatted according to locale rules\n * that determine group sizing and separator, decimal-point character,\n * and other locale-specific configurations.\n *\n * {\\@a currency-code-deprecation}\n *
    \n *\n * **Deprecation notice:**\n *\n * The default currency code is currently always `USD` but this is deprecated from v9.\n *\n * **In v11 the default currency code will be taken from the current locale identified by\n * the `LOCAL_ID` token. See the [i18n guide](guide/i18n#setting-up-the-locale-of-your-app) for\n * more information.**\n *\n * If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in\n * your application `NgModule`:\n *\n * ```ts\n * {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}\n * ```\n *\n *
    \n *\n * @see `getCurrencySymbol()`\n * @see `formatCurrency()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * \\@publicApi\n */\nclass CurrencyPipe {\n /**\n * @param {?} _locale\n * @param {?=} _defaultCurrencyCode\n */\n constructor(_locale, _defaultCurrencyCode = 'USD') {\n this._locale = _locale;\n this._defaultCurrencyCode = _defaultCurrencyCode;\n }\n /**\n *\n * @param {?} value The number to be formatted as currency.\n * @param {?=} currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be\n * configured using the `DEFAULT_CURRENCY_CODE` injection token.\n * @param {?=} display The format for the currency indicator. One of the following:\n * - `code`: Show the code (such as `USD`).\n * - `symbol`(default): Show the symbol (such as `$`).\n * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n * currency.\n * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n * locale has no narrow symbol, uses the standard symbol for the locale.\n * - String: Use the given string value instead of a code or a symbol.\n * For example, an empty string will suppress the currency & symbol.\n * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n *\n * @param {?=} digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `2`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `2`.\n * If not provided, the number will be formatted with the proper amount of digits,\n * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n * @param {?=} locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n * @return {?}\n */\n transform(value, currencyCode, display = 'symbol', digitsInfo, locale) {\n if (isEmpty(value))\n return null;\n locale = locale || this._locale;\n if (typeof display === 'boolean') {\n if ((/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are \"code\", \"symbol\" or \"symbol-narrow\".`);\n }\n display = display ? 'symbol' : 'code';\n }\n /** @type {?} */\n let currency = currencyCode || this._defaultCurrencyCode;\n if (display !== 'code') {\n if (display === 'symbol' || display === 'symbol-narrow') {\n currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);\n }\n else {\n currency = display;\n }\n }\n try {\n /** @type {?} */\n const num = strToNumber(value);\n return formatCurrency(num, locale, currency, currencyCode, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(CurrencyPipe, error.message);\n }\n }\n}\nCurrencyPipe.ɵfac = function CurrencyPipe_Factory(t) { return new (t || CurrencyPipe)(ɵngcc0.ɵɵdirectiveInject(LOCALE_ID), ɵngcc0.ɵɵdirectiveInject(DEFAULT_CURRENCY_CODE)); };\nCurrencyPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"currency\", type: CurrencyPipe, pure: true });\n/** @nocollapse */\nCurrencyPipe.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] },\n { type: String, decorators: [{ type: Inject, args: [DEFAULT_CURRENCY_CODE,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(CurrencyPipe, [{\n type: Pipe,\n args: [{ name: 'currency' }]\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }, { type: String, decorators: [{\n type: Inject,\n args: [DEFAULT_CURRENCY_CODE]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n CurrencyPipe.prototype._locale;\n /**\n * @type {?}\n * @private\n */\n CurrencyPipe.prototype._defaultCurrencyCode;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isEmpty(value) {\n return value == null || value === '' || value !== value;\n}\n/**\n * Transforms a string into a number (if needed).\n * @param {?} value\n * @return {?}\n */\nfunction strToNumber(value) {\n // Convert strings to numbers\n if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {\n return Number(value);\n }\n if (typeof value !== 'number') {\n throw new Error(`${value} is not a number`);\n }\n return value;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/slice_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Creates a new `Array` or `String` containing a subset (slice) of the elements.\n *\n * \\@usageNotes\n *\n * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n * and `String.prototype.slice()`.\n *\n * When operating on an `Array`, the returned `Array` is always a copy even when all\n * the elements are being returned.\n *\n * When operating on a blank value, the pipe returns the blank value.\n *\n * ### List Example\n *\n * This `ngFor` example:\n *\n * {\\@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n *\n * produces the following:\n *\n * ```html\n *
  • b
  • \n *
  • c
  • \n * ```\n *\n * ### String Examples\n *\n * {\\@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n *\n * \\@publicApi\n */\nclass SlicePipe {\n /**\n * @param {?} value\n * @param {?} start\n * @param {?=} end\n * @return {?}\n */\n transform(value, start, end) {\n if (value == null)\n return value;\n if (!this.supports(value)) {\n throw invalidPipeArgumentError(SlicePipe, value);\n }\n return value.slice(start, end);\n }\n /**\n * @private\n * @param {?} obj\n * @return {?}\n */\n supports(obj) {\n return typeof obj === 'string' || Array.isArray(obj);\n }\n}\nSlicePipe.ɵfac = function SlicePipe_Factory(t) { return new (t || SlicePipe)(); };\nSlicePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"slice\", type: SlicePipe, pure: false });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(SlicePipe, [{\n type: Pipe,\n args: [{ name: 'slice', pure: false }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A collection of Angular pipes that are likely to be used in each and every application.\n * @type {?}\n */\nconst COMMON_PIPES = [\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe,\n];\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/common_module.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Note: This does not contain the location providers,\n// as they need some platform specific implementations to work.\n/**\n * Exports all the basic Angular directives and pipes,\n * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command.\n *\n * * The `providers` options configure the NgModule's injector to provide\n * localization dependencies to members.\n * * The `exports` options make the declared directives and pipes available for import\n * by other NgModules.\n *\n * \\@publicApi\n */\nclass CommonModule {\n}\nCommonModule.ɵmod = ɵngcc0.ɵɵdefineNgModule({ type: CommonModule });\nCommonModule.ɵinj = ɵngcc0.ɵɵdefineInjector({ factory: function CommonModule_Factory(t) { return new (t || CommonModule)(); }, providers: [\n { provide: NgLocalization, useClass: NgLocaleLocalization },\n ] });\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CommonModule, { declarations: [NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe], exports: [NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe] }); })();\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(CommonModule, [{\n type: NgModule,\n args: [{\n declarations: [COMMON_DIRECTIVES, COMMON_PIPES],\n exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n providers: [\n { provide: NgLocalization, useClass: NgLocaleLocalization },\n ]\n }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/platform_id.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst PLATFORM_BROWSER_ID = 'browser';\n/** @type {?} */\nconst PLATFORM_SERVER_ID = 'server';\n/** @type {?} */\nconst PLATFORM_WORKER_APP_ID = 'browserWorkerApp';\n/** @type {?} */\nconst PLATFORM_WORKER_UI_ID = 'browserWorkerUi';\n/**\n * Returns whether a platform id represents a browser platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformBrowser(platformId) {\n return platformId === PLATFORM_BROWSER_ID;\n}\n/**\n * Returns whether a platform id represents a server platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformServer(platformId) {\n return platformId === PLATFORM_SERVER_ID;\n}\n/**\n * Returns whether a platform id represents a web worker app platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformWorkerApp(platformId) {\n return platformId === PLATFORM_WORKER_APP_ID;\n}\n/**\n * Returns whether a platform id represents a web worker UI platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformWorkerUi(platformId) {\n return platformId === PLATFORM_WORKER_UI_ID;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/version.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @type {?}\n */\nconst VERSION = new Version('9.1.11');\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/viewport_scroller.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.\n *\n * \\@publicApi\n * @abstract\n */\nclass ViewportScroller {\n}\n// De-sugared tree-shakable injection\n// See #23917\n/** @nocollapse */\nViewportScroller.ɵprov = ɵɵdefineInjectable({\n token: ViewportScroller,\n providedIn: 'root',\n factory: (/**\n * @return {?}\n */\n () => new BrowserViewportScroller(ɵɵinject(DOCUMENT), window, ɵɵinject(ErrorHandler)))\n});\nif (false) {\n /**\n * @nocollapse\n * @type {?}\n */\n ViewportScroller.ɵprov;\n /**\n * Configures the top offset used when scrolling to an anchor.\n * @abstract\n * @param {?} offset A position in screen coordinates (a tuple with x and y values)\n * or a function that returns the top offset position.\n *\n * @return {?}\n */\n ViewportScroller.prototype.setOffset = function (offset) { };\n /**\n * Retrieves the current scroll position.\n * @abstract\n * @return {?} A position in screen coordinates (a tuple with x and y values).\n */\n ViewportScroller.prototype.getScrollPosition = function () { };\n /**\n * Scrolls to a specified position.\n * @abstract\n * @param {?} position A position in screen coordinates (a tuple with x and y values).\n * @return {?}\n */\n ViewportScroller.prototype.scrollToPosition = function (position) { };\n /**\n * Scrolls to an anchor element.\n * @abstract\n * @param {?} anchor The ID of the anchor element.\n * @return {?}\n */\n ViewportScroller.prototype.scrollToAnchor = function (anchor) { };\n /**\n * Disables automatic scroll restoration provided by the browser.\n * See also [window.history.scrollRestoration\n * info](https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration).\n * @abstract\n * @param {?} scrollRestoration\n * @return {?}\n */\n ViewportScroller.prototype.setHistoryScrollRestoration = function (scrollRestoration) { };\n}\n/**\n * Manages the scroll position for a browser window.\n */\nclass BrowserViewportScroller {\n /**\n * @param {?} document\n * @param {?} window\n * @param {?} errorHandler\n */\n constructor(document, window, errorHandler) {\n this.document = document;\n this.window = window;\n this.errorHandler = errorHandler;\n this.offset = (/**\n * @return {?}\n */\n () => [0, 0]);\n }\n /**\n * Configures the top offset used when scrolling to an anchor.\n * @param {?} offset A position in screen coordinates (a tuple with x and y values)\n * or a function that returns the top offset position.\n *\n * @return {?}\n */\n setOffset(offset) {\n if (Array.isArray(offset)) {\n this.offset = (/**\n * @return {?}\n */\n () => offset);\n }\n else {\n this.offset = offset;\n }\n }\n /**\n * Retrieves the current scroll position.\n * @return {?} The position in screen coordinates.\n */\n getScrollPosition() {\n if (this.supportScrollRestoration()) {\n return [this.window.scrollX, this.window.scrollY];\n }\n else {\n return [0, 0];\n }\n }\n /**\n * Sets the scroll position.\n * @param {?} position The new position in screen coordinates.\n * @return {?}\n */\n scrollToPosition(position) {\n if (this.supportScrollRestoration()) {\n this.window.scrollTo(position[0], position[1]);\n }\n }\n /**\n * Scrolls to an anchor element.\n * @param {?} anchor The ID of the anchor element.\n * @return {?}\n */\n scrollToAnchor(anchor) {\n if (this.supportScrollRestoration()) {\n // Escape anything passed to `querySelector` as it can throw errors and stop the application\n // from working if invalid values are passed.\n if (this.window.CSS && this.window.CSS.escape) {\n anchor = this.window.CSS.escape(anchor);\n }\n else {\n anchor = anchor.replace(/(\\\"|\\'\\ |:|\\.|\\[|\\]|,|=)/g, '\\\\$1');\n }\n try {\n /** @type {?} */\n const elSelectedById = this.document.querySelector(`#${anchor}`);\n if (elSelectedById) {\n this.scrollToElement(elSelectedById);\n return;\n }\n /** @type {?} */\n const elSelectedByName = this.document.querySelector(`[name='${anchor}']`);\n if (elSelectedByName) {\n this.scrollToElement(elSelectedByName);\n return;\n }\n }\n catch (e) {\n this.errorHandler.handleError(e);\n }\n }\n }\n /**\n * Disables automatic scroll restoration provided by the browser.\n * @param {?} scrollRestoration\n * @return {?}\n */\n setHistoryScrollRestoration(scrollRestoration) {\n if (this.supportScrollRestoration()) {\n /** @type {?} */\n const history = this.window.history;\n if (history && history.scrollRestoration) {\n history.scrollRestoration = scrollRestoration;\n }\n }\n }\n /**\n * @private\n * @param {?} el\n * @return {?}\n */\n scrollToElement(el) {\n /** @type {?} */\n const rect = el.getBoundingClientRect();\n /** @type {?} */\n const left = rect.left + this.window.pageXOffset;\n /** @type {?} */\n const top = rect.top + this.window.pageYOffset;\n /** @type {?} */\n const offset = this.offset();\n this.window.scrollTo(left - offset[0], top - offset[1]);\n }\n /**\n * We only support scroll restoration when we can get a hold of window.\n * This means that we do not support this behavior when running in a web worker.\n *\n * Lifting this restriction right now would require more changes in the dom adapter.\n * Since webworkers aren't widely used, we will lift it once RouterScroller is\n * battle-tested.\n * @private\n * @return {?}\n */\n supportScrollRestoration() {\n try {\n return !!this.window && !!this.window.scrollTo;\n }\n catch (_a) {\n return false;\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n BrowserViewportScroller.prototype.offset;\n /**\n * @type {?}\n * @private\n */\n BrowserViewportScroller.prototype.document;\n /**\n * @type {?}\n * @private\n */\n BrowserViewportScroller.prototype.window;\n /**\n * @type {?}\n * @private\n */\n BrowserViewportScroller.prototype.errorHandler;\n}\n/**\n * Provides an empty implementation of the viewport scroller. This will\n * live in \\@angular/common as it will be used by both platform-server and platform-webworker.\n */\nclass NullViewportScroller {\n /**\n * Empty implementation\n * @param {?} offset\n * @return {?}\n */\n setOffset(offset) { }\n /**\n * Empty implementation\n * @return {?}\n */\n getScrollPosition() {\n return [0, 0];\n }\n /**\n * Empty implementation\n * @param {?} position\n * @return {?}\n */\n scrollToPosition(position) { }\n /**\n * Empty implementation\n * @param {?} anchor\n * @return {?}\n */\n scrollToAnchor(anchor) { }\n /**\n * Empty implementation\n * @param {?} scrollRestoration\n * @return {?}\n */\n setHistoryScrollRestoration(scrollRestoration) { }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/common.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/public_api.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { APP_BASE_HREF, AsyncPipe, CommonModule, CurrencyPipe, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, registerLocaleData, BrowserPlatformLocation as ɵBrowserPlatformLocation, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, useBrowserPlatformLocation as ɵangular_packages_common_common_a, createBrowserPlatformLocation as ɵangular_packages_common_common_b, createLocation as ɵangular_packages_common_common_c, provideLocationStrategy as ɵangular_packages_common_common_d, COMMON_DIRECTIVES as ɵangular_packages_common_common_e, COMMON_PIPES as ɵangular_packages_common_common_f, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };\n\n//# sourceMappingURL=common.js.map",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./enc-base64\"), require(\"./md5\"), require(\"./evpkdf\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./enc-base64\", \"./md5\", \"./evpkdf\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var StreamCipher = C_lib.StreamCipher;\n\t var C_algo = C.algo;\n\n\t // Reusable objects\n\t var S = [];\n\t var C_ = [];\n\t var G = [];\n\n\t /**\n\t * Rabbit stream cipher algorithm.\n\t *\n\t * This is a legacy version that neglected to convert the key to little-endian.\n\t * This error doesn't affect the cipher's security,\n\t * but it does affect its compatibility with other implementations.\n\t */\n\t var RabbitLegacy = C_algo.RabbitLegacy = StreamCipher.extend({\n\t _doReset: function () {\n\t // Shortcuts\n\t var K = this._key.words;\n\t var iv = this.cfg.iv;\n\n\t // Generate initial state values\n\t var X = this._X = [\n\t K[0], (K[3] << 16) | (K[2] >>> 16),\n\t K[1], (K[0] << 16) | (K[3] >>> 16),\n\t K[2], (K[1] << 16) | (K[0] >>> 16),\n\t K[3], (K[2] << 16) | (K[1] >>> 16)\n\t ];\n\n\t // Generate initial counter values\n\t var C = this._C = [\n\t (K[2] << 16) | (K[2] >>> 16), (K[0] & 0xffff0000) | (K[1] & 0x0000ffff),\n\t (K[3] << 16) | (K[3] >>> 16), (K[1] & 0xffff0000) | (K[2] & 0x0000ffff),\n\t (K[0] << 16) | (K[0] >>> 16), (K[2] & 0xffff0000) | (K[3] & 0x0000ffff),\n\t (K[1] << 16) | (K[1] >>> 16), (K[3] & 0xffff0000) | (K[0] & 0x0000ffff)\n\t ];\n\n\t // Carry bit\n\t this._b = 0;\n\n\t // Iterate the system four times\n\t for (var i = 0; i < 4; i++) {\n\t nextState.call(this);\n\t }\n\n\t // Modify the counters\n\t for (var i = 0; i < 8; i++) {\n\t C[i] ^= X[(i + 4) & 7];\n\t }\n\n\t // IV setup\n\t if (iv) {\n\t // Shortcuts\n\t var IV = iv.words;\n\t var IV_0 = IV[0];\n\t var IV_1 = IV[1];\n\n\t // Generate four subvectors\n\t var i0 = (((IV_0 << 8) | (IV_0 >>> 24)) & 0x00ff00ff) | (((IV_0 << 24) | (IV_0 >>> 8)) & 0xff00ff00);\n\t var i2 = (((IV_1 << 8) | (IV_1 >>> 24)) & 0x00ff00ff) | (((IV_1 << 24) | (IV_1 >>> 8)) & 0xff00ff00);\n\t var i1 = (i0 >>> 16) | (i2 & 0xffff0000);\n\t var i3 = (i2 << 16) | (i0 & 0x0000ffff);\n\n\t // Modify counter values\n\t C[0] ^= i0;\n\t C[1] ^= i1;\n\t C[2] ^= i2;\n\t C[3] ^= i3;\n\t C[4] ^= i0;\n\t C[5] ^= i1;\n\t C[6] ^= i2;\n\t C[7] ^= i3;\n\n\t // Iterate the system four times\n\t for (var i = 0; i < 4; i++) {\n\t nextState.call(this);\n\t }\n\t }\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var X = this._X;\n\n\t // Iterate the system\n\t nextState.call(this);\n\n\t // Generate four keystream words\n\t S[0] = X[0] ^ (X[5] >>> 16) ^ (X[3] << 16);\n\t S[1] = X[2] ^ (X[7] >>> 16) ^ (X[5] << 16);\n\t S[2] = X[4] ^ (X[1] >>> 16) ^ (X[7] << 16);\n\t S[3] = X[6] ^ (X[3] >>> 16) ^ (X[1] << 16);\n\n\t for (var i = 0; i < 4; i++) {\n\t // Swap endian\n\t S[i] = (((S[i] << 8) | (S[i] >>> 24)) & 0x00ff00ff) |\n\t (((S[i] << 24) | (S[i] >>> 8)) & 0xff00ff00);\n\n\t // Encrypt\n\t M[offset + i] ^= S[i];\n\t }\n\t },\n\n\t blockSize: 128/32,\n\n\t ivSize: 64/32\n\t });\n\n\t function nextState() {\n\t // Shortcuts\n\t var X = this._X;\n\t var C = this._C;\n\n\t // Save old counter values\n\t for (var i = 0; i < 8; i++) {\n\t C_[i] = C[i];\n\t }\n\n\t // Calculate new counter values\n\t C[0] = (C[0] + 0x4d34d34d + this._b) | 0;\n\t C[1] = (C[1] + 0xd34d34d3 + ((C[0] >>> 0) < (C_[0] >>> 0) ? 1 : 0)) | 0;\n\t C[2] = (C[2] + 0x34d34d34 + ((C[1] >>> 0) < (C_[1] >>> 0) ? 1 : 0)) | 0;\n\t C[3] = (C[3] + 0x4d34d34d + ((C[2] >>> 0) < (C_[2] >>> 0) ? 1 : 0)) | 0;\n\t C[4] = (C[4] + 0xd34d34d3 + ((C[3] >>> 0) < (C_[3] >>> 0) ? 1 : 0)) | 0;\n\t C[5] = (C[5] + 0x34d34d34 + ((C[4] >>> 0) < (C_[4] >>> 0) ? 1 : 0)) | 0;\n\t C[6] = (C[6] + 0x4d34d34d + ((C[5] >>> 0) < (C_[5] >>> 0) ? 1 : 0)) | 0;\n\t C[7] = (C[7] + 0xd34d34d3 + ((C[6] >>> 0) < (C_[6] >>> 0) ? 1 : 0)) | 0;\n\t this._b = (C[7] >>> 0) < (C_[7] >>> 0) ? 1 : 0;\n\n\t // Calculate the g-values\n\t for (var i = 0; i < 8; i++) {\n\t var gx = X[i] + C[i];\n\n\t // Construct high and low argument for squaring\n\t var ga = gx & 0xffff;\n\t var gb = gx >>> 16;\n\n\t // Calculate high and low result of squaring\n\t var gh = ((((ga * ga) >>> 17) + ga * gb) >>> 15) + gb * gb;\n\t var gl = (((gx & 0xffff0000) * gx) | 0) + (((gx & 0x0000ffff) * gx) | 0);\n\n\t // High XOR low\n\t G[i] = gh ^ gl;\n\t }\n\n\t // Calculate new state values\n\t X[0] = (G[0] + ((G[7] << 16) | (G[7] >>> 16)) + ((G[6] << 16) | (G[6] >>> 16))) | 0;\n\t X[1] = (G[1] + ((G[0] << 8) | (G[0] >>> 24)) + G[7]) | 0;\n\t X[2] = (G[2] + ((G[1] << 16) | (G[1] >>> 16)) + ((G[0] << 16) | (G[0] >>> 16))) | 0;\n\t X[3] = (G[3] + ((G[2] << 8) | (G[2] >>> 24)) + G[1]) | 0;\n\t X[4] = (G[4] + ((G[3] << 16) | (G[3] >>> 16)) + ((G[2] << 16) | (G[2] >>> 16))) | 0;\n\t X[5] = (G[5] + ((G[4] << 8) | (G[4] >>> 24)) + G[3]) | 0;\n\t X[6] = (G[6] + ((G[5] << 16) | (G[5] >>> 16)) + ((G[4] << 16) | (G[4] >>> 16))) | 0;\n\t X[7] = (G[7] + ((G[6] << 8) | (G[6] >>> 24)) + G[5]) | 0;\n\t }\n\n\t /**\n\t * Shortcut functions to the cipher's object interface.\n\t *\n\t * @example\n\t *\n\t * var ciphertext = CryptoJS.RabbitLegacy.encrypt(message, key, cfg);\n\t * var plaintext = CryptoJS.RabbitLegacy.decrypt(ciphertext, key, cfg);\n\t */\n\t C.RabbitLegacy = StreamCipher._createHelper(RabbitLegacy);\n\t}());\n\n\n\treturn CryptoJS.RabbitLegacy;\n\n}));","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const CurrentLocationValidationRequest = createAction('[Current location] Request validation');\r\nexport const CurrentLocationValidationSuccessRequest = createAction('[Current location] Success request validation');\r\nexport const CurrentLocationValidationErrorRequest = createAction('[Current location] Error request validation');\r\nexport const CurrentLocationValidationReset = createAction('[Current location] Request validation reset');\r\n\r\nexport const CurrentLocationReset = createAction('[Current location] Reset');\r\n\r\nexport const CurrentLocationSet = createAction(\r\n '[Current location] Set locationNo',\r\n props<{ locationNo: number }>(),\r\n);\r\n\r\nexport const CurrentLocationPickupTimeSet = createAction(\r\n '[Current location] Set pickup time',\r\n (pickupTime: OLO.Ordering.IPickupTime = null) => ({ pickupTime }),\r\n);\r\n\r\nexport const CurrentLocationFiltersPickupTimeSync = createAction(\r\n '[Current location] Sync current location pickupt time with filters',\r\n (pickupTime: OLO.Ordering.IPickupTime = null) => ({ pickupTime }),\r\n);\r\n\r\nexport const CurrentLocationPickupTimeRestore = createAction(\r\n '[Current location] Restore current pickupt time from local storage',\r\n (pickupTime: OLO.Ordering.IPickupTime = null) => ({ pickupTime }),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n\n var hi = moment.defineLocale('hi', {\n months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),\n monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),\n monthsParseExact: true,\n weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat : {\n LT : 'A h:mm बजे',\n LTS : 'A h:mm:ss बजे',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, A h:mm बजे',\n LLLL : 'dddd, D MMMM YYYY, A h:mm बजे'\n },\n calendar : {\n sameDay : '[आज] LT',\n nextDay : '[कल] LT',\n nextWeek : 'dddd, LT',\n lastDay : '[कल] LT',\n lastWeek : '[पिछले] dddd, LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s में',\n past : '%s पहले',\n s : 'कुछ ही क्षण',\n ss : '%d सेकंड',\n m : 'एक मिनट',\n mm : '%d मिनट',\n h : 'एक घंटा',\n hh : '%d घंटे',\n d : 'एक दिन',\n dd : '%d दिन',\n M : 'एक महीने',\n MM : '%d महीने',\n y : 'एक वर्ष',\n yy : '%d वर्ष'\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Hindi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.\n meridiemParse: /रात|सुबह|दोपहर|शाम/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'रात') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सुबह') {\n return hour;\n } else if (meridiem === 'दोपहर') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'शाम') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'रात';\n } else if (hour < 10) {\n return 'सुबह';\n } else if (hour < 17) {\n return 'दोपहर';\n } else if (hour < 20) {\n return 'शाम';\n } else {\n return 'रात';\n }\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return hi;\n\n})));\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Number.POSITIVE_INFINITY) {\n return mergeMap(identity, concurrent);\n}\n//# sourceMappingURL=mergeAll.js.map",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./sha1\"), require(\"./hmac\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./sha1\", \"./hmac\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var Base = C_lib.Base;\n\t var WordArray = C_lib.WordArray;\n\t var C_algo = C.algo;\n\t var SHA1 = C_algo.SHA1;\n\t var HMAC = C_algo.HMAC;\n\n\t /**\n\t * Password-Based Key Derivation Function 2 algorithm.\n\t */\n\t var PBKDF2 = C_algo.PBKDF2 = Base.extend({\n\t /**\n\t * Configuration options.\n\t *\n\t * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)\n\t * @property {Hasher} hasher The hasher to use. Default: SHA1\n\t * @property {number} iterations The number of iterations to perform. Default: 1\n\t */\n\t cfg: Base.extend({\n\t keySize: 128/32,\n\t hasher: SHA1,\n\t iterations: 1\n\t }),\n\n\t /**\n\t * Initializes a newly created key derivation function.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for the derivation.\n\t *\n\t * @example\n\t *\n\t * var kdf = CryptoJS.algo.PBKDF2.create();\n\t * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });\n\t * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });\n\t */\n\t init: function (cfg) {\n\t this.cfg = this.cfg.extend(cfg);\n\t },\n\n\t /**\n\t * Computes the Password-Based Key Derivation Function 2.\n\t *\n\t * @param {WordArray|string} password The password.\n\t * @param {WordArray|string} salt A salt.\n\t *\n\t * @return {WordArray} The derived key.\n\t *\n\t * @example\n\t *\n\t * var key = kdf.compute(password, salt);\n\t */\n\t compute: function (password, salt) {\n\t // Shortcut\n\t var cfg = this.cfg;\n\n\t // Init HMAC\n\t var hmac = HMAC.create(cfg.hasher, password);\n\n\t // Initial values\n\t var derivedKey = WordArray.create();\n\t var blockIndex = WordArray.create([0x00000001]);\n\n\t // Shortcuts\n\t var derivedKeyWords = derivedKey.words;\n\t var blockIndexWords = blockIndex.words;\n\t var keySize = cfg.keySize;\n\t var iterations = cfg.iterations;\n\n\t // Generate key\n\t while (derivedKeyWords.length < keySize) {\n\t var block = hmac.update(salt).finalize(blockIndex);\n\t hmac.reset();\n\n\t // Shortcuts\n\t var blockWords = block.words;\n\t var blockWordsLength = blockWords.length;\n\n\t // Iterations\n\t var intermediate = block;\n\t for (var i = 1; i < iterations; i++) {\n\t intermediate = hmac.finalize(intermediate);\n\t hmac.reset();\n\n\t // Shortcut\n\t var intermediateWords = intermediate.words;\n\n\t // XOR intermediate with block\n\t for (var j = 0; j < blockWordsLength; j++) {\n\t blockWords[j] ^= intermediateWords[j];\n\t }\n\t }\n\n\t derivedKey.concat(block);\n\t blockIndexWords[0]++;\n\t }\n\t derivedKey.sigBytes = keySize * 4;\n\n\t return derivedKey;\n\t }\n\t });\n\n\t /**\n\t * Computes the Password-Based Key Derivation Function 2.\n\t *\n\t * @param {WordArray|string} password The password.\n\t * @param {WordArray|string} salt A salt.\n\t * @param {Object} cfg (Optional) The configuration options to use for this computation.\n\t *\n\t * @return {WordArray} The derived key.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var key = CryptoJS.PBKDF2(password, salt);\n\t * var key = CryptoJS.PBKDF2(password, salt, { keySize: 8 });\n\t * var key = CryptoJS.PBKDF2(password, salt, { keySize: 8, iterations: 1000 });\n\t */\n\t C.PBKDF2 = function (password, salt, cfg) {\n\t return PBKDF2.create(cfg).compute(password, salt);\n\t };\n\t}());\n\n\n\treturn CryptoJS.PBKDF2;\n\n}));","import { Observable } from '../Observable';\nexport function throwError(error, scheduler) {\n if (!scheduler) {\n return new Observable(subscriber => subscriber.error(error));\n }\n else {\n return new Observable(subscriber => scheduler.schedule(dispatch, 0, { error, subscriber }));\n }\n}\nfunction dispatch({ error, subscriber }) {\n subscriber.error(error);\n}\n//# sourceMappingURL=throwError.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var te = moment.defineLocale('te', {\n months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),\n monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),\n monthsParseExact : true,\n weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),\n weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),\n weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),\n longDateFormat : {\n LT : 'A h:mm',\n LTS : 'A h:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, A h:mm',\n LLLL : 'dddd, D MMMM YYYY, A h:mm'\n },\n calendar : {\n sameDay : '[నేడు] LT',\n nextDay : '[రేపు] LT',\n nextWeek : 'dddd, LT',\n lastDay : '[నిన్న] LT',\n lastWeek : '[గత] dddd, LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s లో',\n past : '%s క్రితం',\n s : 'కొన్ని క్షణాలు',\n ss : '%d సెకన్లు',\n m : 'ఒక నిమిషం',\n mm : '%d నిమిషాలు',\n h : 'ఒక గంట',\n hh : '%d గంటలు',\n d : 'ఒక రోజు',\n dd : '%d రోజులు',\n M : 'ఒక నెల',\n MM : '%d నెలలు',\n y : 'ఒక సంవత్సరం',\n yy : '%d సంవత్సరాలు'\n },\n dayOfMonthOrdinalParse : /\\d{1,2}వ/,\n ordinal : '%dవ',\n meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'రాత్రి') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ఉదయం') {\n return hour;\n } else if (meridiem === 'మధ్యాహ్నం') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'సాయంత్రం') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'రాత్రి';\n } else if (hour < 10) {\n return 'ఉదయం';\n } else if (hour < 17) {\n return 'మధ్యాహ్నం';\n } else if (hour < 20) {\n return 'సాయంత్రం';\n } else {\n return 'రాత్రి';\n }\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return te;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var sw = moment.defineLocale('sw', {\n months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),\n monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),\n weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),\n weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),\n weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[leo saa] LT',\n nextDay : '[kesho saa] LT',\n nextWeek : '[wiki ijayo] dddd [saat] LT',\n lastDay : '[jana] LT',\n lastWeek : '[wiki iliyopita] dddd [saat] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s baadaye',\n past : 'tokea %s',\n s : 'hivi punde',\n ss : 'sekunde %d',\n m : 'dakika moja',\n mm : 'dakika %d',\n h : 'saa limoja',\n hh : 'masaa %d',\n d : 'siku moja',\n dd : 'masiku %d',\n M : 'mwezi mmoja',\n MM : 'miezi %d',\n y : 'mwaka mmoja',\n yy : 'miaka %d'\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return sw;\n\n})));\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./enc-base64\"), require(\"./md5\"), require(\"./evpkdf\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./enc-base64\", \"./md5\", \"./evpkdf\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var BlockCipher = C_lib.BlockCipher;\n\t var C_algo = C.algo;\n\n\t // Lookup tables\n\t var SBOX = [];\n\t var INV_SBOX = [];\n\t var SUB_MIX_0 = [];\n\t var SUB_MIX_1 = [];\n\t var SUB_MIX_2 = [];\n\t var SUB_MIX_3 = [];\n\t var INV_SUB_MIX_0 = [];\n\t var INV_SUB_MIX_1 = [];\n\t var INV_SUB_MIX_2 = [];\n\t var INV_SUB_MIX_3 = [];\n\n\t // Compute lookup tables\n\t (function () {\n\t // Compute double table\n\t var d = [];\n\t for (var i = 0; i < 256; i++) {\n\t if (i < 128) {\n\t d[i] = i << 1;\n\t } else {\n\t d[i] = (i << 1) ^ 0x11b;\n\t }\n\t }\n\n\t // Walk GF(2^8)\n\t var x = 0;\n\t var xi = 0;\n\t for (var i = 0; i < 256; i++) {\n\t // Compute sbox\n\t var sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4);\n\t sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63;\n\t SBOX[x] = sx;\n\t INV_SBOX[sx] = x;\n\n\t // Compute multiplication\n\t var x2 = d[x];\n\t var x4 = d[x2];\n\t var x8 = d[x4];\n\n\t // Compute sub bytes, mix columns tables\n\t var t = (d[sx] * 0x101) ^ (sx * 0x1010100);\n\t SUB_MIX_0[x] = (t << 24) | (t >>> 8);\n\t SUB_MIX_1[x] = (t << 16) | (t >>> 16);\n\t SUB_MIX_2[x] = (t << 8) | (t >>> 24);\n\t SUB_MIX_3[x] = t;\n\n\t // Compute inv sub bytes, inv mix columns tables\n\t var t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100);\n\t INV_SUB_MIX_0[sx] = (t << 24) | (t >>> 8);\n\t INV_SUB_MIX_1[sx] = (t << 16) | (t >>> 16);\n\t INV_SUB_MIX_2[sx] = (t << 8) | (t >>> 24);\n\t INV_SUB_MIX_3[sx] = t;\n\n\t // Compute next counter\n\t if (!x) {\n\t x = xi = 1;\n\t } else {\n\t x = x2 ^ d[d[d[x8 ^ x2]]];\n\t xi ^= d[d[xi]];\n\t }\n\t }\n\t }());\n\n\t // Precomputed Rcon lookup\n\t var RCON = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];\n\n\t /**\n\t * AES block cipher algorithm.\n\t */\n\t var AES = C_algo.AES = BlockCipher.extend({\n\t _doReset: function () {\n\t // Skip reset of nRounds has been set before and key did not change\n\t if (this._nRounds && this._keyPriorReset === this._key) {\n\t return;\n\t }\n\n\t // Shortcuts\n\t var key = this._keyPriorReset = this._key;\n\t var keyWords = key.words;\n\t var keySize = key.sigBytes / 4;\n\n\t // Compute number of rounds\n\t var nRounds = this._nRounds = keySize + 6;\n\n\t // Compute number of key schedule rows\n\t var ksRows = (nRounds + 1) * 4;\n\n\t // Compute key schedule\n\t var keySchedule = this._keySchedule = [];\n\t for (var ksRow = 0; ksRow < ksRows; ksRow++) {\n\t if (ksRow < keySize) {\n\t keySchedule[ksRow] = keyWords[ksRow];\n\t } else {\n\t var t = keySchedule[ksRow - 1];\n\n\t if (!(ksRow % keySize)) {\n\t // Rot word\n\t t = (t << 8) | (t >>> 24);\n\n\t // Sub word\n\t t = (SBOX[t >>> 24] << 24) | (SBOX[(t >>> 16) & 0xff] << 16) | (SBOX[(t >>> 8) & 0xff] << 8) | SBOX[t & 0xff];\n\n\t // Mix Rcon\n\t t ^= RCON[(ksRow / keySize) | 0] << 24;\n\t } else if (keySize > 6 && ksRow % keySize == 4) {\n\t // Sub word\n\t t = (SBOX[t >>> 24] << 24) | (SBOX[(t >>> 16) & 0xff] << 16) | (SBOX[(t >>> 8) & 0xff] << 8) | SBOX[t & 0xff];\n\t }\n\n\t keySchedule[ksRow] = keySchedule[ksRow - keySize] ^ t;\n\t }\n\t }\n\n\t // Compute inv key schedule\n\t var invKeySchedule = this._invKeySchedule = [];\n\t for (var invKsRow = 0; invKsRow < ksRows; invKsRow++) {\n\t var ksRow = ksRows - invKsRow;\n\n\t if (invKsRow % 4) {\n\t var t = keySchedule[ksRow];\n\t } else {\n\t var t = keySchedule[ksRow - 4];\n\t }\n\n\t if (invKsRow < 4 || ksRow <= 4) {\n\t invKeySchedule[invKsRow] = t;\n\t } else {\n\t invKeySchedule[invKsRow] = INV_SUB_MIX_0[SBOX[t >>> 24]] ^ INV_SUB_MIX_1[SBOX[(t >>> 16) & 0xff]] ^\n\t INV_SUB_MIX_2[SBOX[(t >>> 8) & 0xff]] ^ INV_SUB_MIX_3[SBOX[t & 0xff]];\n\t }\n\t }\n\t },\n\n\t encryptBlock: function (M, offset) {\n\t this._doCryptBlock(M, offset, this._keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX);\n\t },\n\n\t decryptBlock: function (M, offset) {\n\t // Swap 2nd and 4th rows\n\t var t = M[offset + 1];\n\t M[offset + 1] = M[offset + 3];\n\t M[offset + 3] = t;\n\n\t this._doCryptBlock(M, offset, this._invKeySchedule, INV_SUB_MIX_0, INV_SUB_MIX_1, INV_SUB_MIX_2, INV_SUB_MIX_3, INV_SBOX);\n\n\t // Inv swap 2nd and 4th rows\n\t var t = M[offset + 1];\n\t M[offset + 1] = M[offset + 3];\n\t M[offset + 3] = t;\n\t },\n\n\t _doCryptBlock: function (M, offset, keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX) {\n\t // Shortcut\n\t var nRounds = this._nRounds;\n\n\t // Get input, add round key\n\t var s0 = M[offset] ^ keySchedule[0];\n\t var s1 = M[offset + 1] ^ keySchedule[1];\n\t var s2 = M[offset + 2] ^ keySchedule[2];\n\t var s3 = M[offset + 3] ^ keySchedule[3];\n\n\t // Key schedule row counter\n\t var ksRow = 4;\n\n\t // Rounds\n\t for (var round = 1; round < nRounds; round++) {\n\t // Shift rows, sub bytes, mix columns, add round key\n\t var t0 = SUB_MIX_0[s0 >>> 24] ^ SUB_MIX_1[(s1 >>> 16) & 0xff] ^ SUB_MIX_2[(s2 >>> 8) & 0xff] ^ SUB_MIX_3[s3 & 0xff] ^ keySchedule[ksRow++];\n\t var t1 = SUB_MIX_0[s1 >>> 24] ^ SUB_MIX_1[(s2 >>> 16) & 0xff] ^ SUB_MIX_2[(s3 >>> 8) & 0xff] ^ SUB_MIX_3[s0 & 0xff] ^ keySchedule[ksRow++];\n\t var t2 = SUB_MIX_0[s2 >>> 24] ^ SUB_MIX_1[(s3 >>> 16) & 0xff] ^ SUB_MIX_2[(s0 >>> 8) & 0xff] ^ SUB_MIX_3[s1 & 0xff] ^ keySchedule[ksRow++];\n\t var t3 = SUB_MIX_0[s3 >>> 24] ^ SUB_MIX_1[(s0 >>> 16) & 0xff] ^ SUB_MIX_2[(s1 >>> 8) & 0xff] ^ SUB_MIX_3[s2 & 0xff] ^ keySchedule[ksRow++];\n\n\t // Update state\n\t s0 = t0;\n\t s1 = t1;\n\t s2 = t2;\n\t s3 = t3;\n\t }\n\n\t // Shift rows, sub bytes, add round key\n\t var t0 = ((SBOX[s0 >>> 24] << 24) | (SBOX[(s1 >>> 16) & 0xff] << 16) | (SBOX[(s2 >>> 8) & 0xff] << 8) | SBOX[s3 & 0xff]) ^ keySchedule[ksRow++];\n\t var t1 = ((SBOX[s1 >>> 24] << 24) | (SBOX[(s2 >>> 16) & 0xff] << 16) | (SBOX[(s3 >>> 8) & 0xff] << 8) | SBOX[s0 & 0xff]) ^ keySchedule[ksRow++];\n\t var t2 = ((SBOX[s2 >>> 24] << 24) | (SBOX[(s3 >>> 16) & 0xff] << 16) | (SBOX[(s0 >>> 8) & 0xff] << 8) | SBOX[s1 & 0xff]) ^ keySchedule[ksRow++];\n\t var t3 = ((SBOX[s3 >>> 24] << 24) | (SBOX[(s0 >>> 16) & 0xff] << 16) | (SBOX[(s1 >>> 8) & 0xff] << 8) | SBOX[s2 & 0xff]) ^ keySchedule[ksRow++];\n\n\t // Set output\n\t M[offset] = t0;\n\t M[offset + 1] = t1;\n\t M[offset + 2] = t2;\n\t M[offset + 3] = t3;\n\t },\n\n\t keySize: 256/32\n\t });\n\n\t /**\n\t * Shortcut functions to the cipher's object interface.\n\t *\n\t * @example\n\t *\n\t * var ciphertext = CryptoJS.AES.encrypt(message, key, cfg);\n\t * var plaintext = CryptoJS.AES.decrypt(ciphertext, key, cfg);\n\t */\n\t C.AES = BlockCipher._createHelper(AES);\n\t}());\n\n\n\treturn CryptoJS.AES;\n\n}));","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var eo = moment.defineLocale('eo', {\n months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),\n monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),\n weekdays : 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),\n weekdaysShort : 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),\n weekdaysMin : 'di_lu_ma_me_ĵa_ve_sa'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'YYYY-MM-DD',\n LL : 'D[-a de] MMMM, YYYY',\n LLL : 'D[-a de] MMMM, YYYY HH:mm',\n LLLL : 'dddd, [la] D[-a de] MMMM, YYYY HH:mm'\n },\n meridiemParse: /[ap]\\.t\\.m/i,\n isPM: function (input) {\n return input.charAt(0).toLowerCase() === 'p';\n },\n meridiem : function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'p.t.m.' : 'P.T.M.';\n } else {\n return isLower ? 'a.t.m.' : 'A.T.M.';\n }\n },\n calendar : {\n sameDay : '[Hodiaŭ je] LT',\n nextDay : '[Morgaŭ je] LT',\n nextWeek : 'dddd [je] LT',\n lastDay : '[Hieraŭ je] LT',\n lastWeek : '[pasinta] dddd [je] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'post %s',\n past : 'antaŭ %s',\n s : 'sekundoj',\n ss : '%d sekundoj',\n m : 'minuto',\n mm : '%d minutoj',\n h : 'horo',\n hh : '%d horoj',\n d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo\n dd : '%d tagoj',\n M : 'monato',\n MM : '%d monatoj',\n y : 'jaro',\n yy : '%d jaroj'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}a/,\n ordinal : '%da',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return eo;\n\n})));\n","import { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function catchError(selector) {\n return function catchErrorOperatorFunction(source) {\n const operator = new CatchOperator(selector);\n const caught = source.lift(operator);\n return (operator.caught = caught);\n };\n}\nclass CatchOperator {\n constructor(selector) {\n this.selector = selector;\n }\n call(subscriber, source) {\n return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n }\n}\nclass CatchSubscriber extends OuterSubscriber {\n constructor(destination, selector, caught) {\n super(destination);\n this.selector = selector;\n this.caught = caught;\n }\n error(err) {\n if (!this.isStopped) {\n let result;\n try {\n result = this.selector(err, this.caught);\n }\n catch (err2) {\n super.error(err2);\n return;\n }\n this._unsubscribeAndRecycle();\n const innerSubscriber = new InnerSubscriber(this, undefined, undefined);\n this.add(innerSubscriber);\n const innerSubscription = subscribeToResult(this, result, undefined, undefined, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n this.add(innerSubscription);\n }\n }\n }\n}\n//# sourceMappingURL=catchError.js.map","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const LocationImagesRequest = createAction(\r\n '[Location images] Request',\r\n (ids: number[] = [], imageType: OLO.Enums.IMAGE_TYPE, width: number = 1000, height: number = 1000) => ({ ids, imageType, width, height }),\r\n);\r\n\r\nexport const LocationImagesSuccessRequest = createAction(\r\n '[Location images] Success request',\r\n props<{ imageType: OLO.Enums.IMAGE_TYPE; ids: number[]; payload: APIv1.ImageUrlModel[] }>(),\r\n);\r\n\r\nexport const LocationImagesErrorRequest = createAction(\r\n '[Location images] Error request',\r\n props<{ imageType: OLO.Enums.IMAGE_TYPE; ids: number[]; ex?: any }>(),\r\n);\r\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'shared-dev-button',\r\n styleUrls: ['./dev-button.shared.component.scss'],\r\n template: ``,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class DevButtonComponent { }\r\n","export function identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const IngredientsRequest = createAction(\r\n '[Ingredients] Request ingredients by locationNo & productIds',\r\n props<{ locationNo: number; productIds: number[] }>(),\r\n);\r\n\r\nexport const IngredientsSuccessRequest = createAction(\r\n '[Ingredients] Success request ingredients by locationNo & productIds',\r\n props<{ payload: APICommon.IProductLocationIngredientExtended[]; locationNo: number; productIds: number[] }>(),\r\n);\r\n\r\nexport const IngredientsErrorRequest = createAction(\r\n '[Ingredients] Error request ingredients by locationNo & productIds',\r\n props<{ locationNo: number; productIds: number[]; ex?: any }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var arTn = moment.defineLocale('ar-tn', {\n months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),\n monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact : true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss : '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات'\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return arTn;\n\n})));\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t/**\n\t * ISO 10126 padding strategy.\n\t */\n\tCryptoJS.pad.Iso10126 = {\n\t pad: function (data, blockSize) {\n\t // Shortcut\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count padding bytes\n\t var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;\n\n\t // Pad\n\t data.concat(CryptoJS.lib.WordArray.random(nPaddingBytes - 1)).\n\t concat(CryptoJS.lib.WordArray.create([nPaddingBytes << 24], 1));\n\t },\n\n\t unpad: function (data) {\n\t // Get number of padding bytes from last byte\n\t var nPaddingBytes = data.words[(data.sigBytes - 1) >>> 2] & 0xff;\n\n\t // Remove padding\n\t data.sigBytes -= nPaddingBytes;\n\t }\n\t};\n\n\n\treturn CryptoJS.pad.Iso10126;\n\n}));","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 's': ['thodde secondanim', 'thodde second'],\n 'ss': [number + ' secondanim', number + ' second'],\n 'm': ['eka mintan', 'ek minute'],\n 'mm': [number + ' mintanim', number + ' mintam'],\n 'h': ['eka voran', 'ek vor'],\n 'hh': [number + ' voranim', number + ' voram'],\n 'd': ['eka disan', 'ek dis'],\n 'dd': [number + ' disanim', number + ' dis'],\n 'M': ['eka mhoinean', 'ek mhoino'],\n 'MM': [number + ' mhoineanim', number + ' mhoine'],\n 'y': ['eka vorsan', 'ek voros'],\n 'yy': [number + ' vorsanim', number + ' vorsam']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var gomLatn = moment.defineLocale('gom-latn', {\n months : 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'),\n monthsShort : 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),\n monthsParseExact : true,\n weekdays : 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\\'var'.split('_'),\n weekdaysShort : 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),\n weekdaysMin : 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'A h:mm [vazta]',\n LTS : 'A h:mm:ss [vazta]',\n L : 'DD-MM-YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY A h:mm [vazta]',\n LLLL : 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]',\n llll: 'ddd, D MMM YYYY, A h:mm [vazta]'\n },\n calendar : {\n sameDay: '[Aiz] LT',\n nextDay: '[Faleam] LT',\n nextWeek: '[Ieta to] dddd[,] LT',\n lastDay: '[Kal] LT',\n lastWeek: '[Fatlo] dddd[,] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : '%s',\n past : '%s adim',\n s : processRelativeTime,\n ss : processRelativeTime,\n m : processRelativeTime,\n mm : processRelativeTime,\n h : processRelativeTime,\n hh : processRelativeTime,\n d : processRelativeTime,\n dd : processRelativeTime,\n M : processRelativeTime,\n MM : processRelativeTime,\n y : processRelativeTime,\n yy : processRelativeTime\n },\n dayOfMonthOrdinalParse : /\\d{1,2}(er)/,\n ordinal : function (number, period) {\n switch (period) {\n // the ordinal 'er' only applies to day of the month\n case 'D':\n return number + 'er';\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n case 'w':\n case 'W':\n return number;\n }\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n },\n meridiemParse: /rati|sokalli|donparam|sanje/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'rati') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'sokalli') {\n return hour;\n } else if (meridiem === 'donparam') {\n return hour > 12 ? hour : hour + 12;\n } else if (meridiem === 'sanje') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'rati';\n } else if (hour < 12) {\n return 'sokalli';\n } else if (hour < 16) {\n return 'donparam';\n } else if (hour < 20) {\n return 'sanje';\n } else {\n return 'rati';\n }\n }\n });\n\n return gomLatn;\n\n})));\n","/**\n * @license Angular v9.1.11\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, style } from '@angular/animations';\nimport { Injectable } from '@angular/core';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/shared.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @return {?}\n */\nimport * as ɵngcc0 from '@angular/core';\nfunction isBrowser() {\n return (typeof window !== 'undefined' && typeof window.document !== 'undefined');\n}\n/**\n * @return {?}\n */\nfunction isNode() {\n // Checking only for `process` isn't enough to identify whether or not we're in a Node\n // environment, because Webpack by default will polyfill the `process`. While we can discern\n // that Webpack polyfilled it by looking at `process.browser`, it's very Webpack-specific and\n // might not be future-proof. Instead we look at the stringified version of `process` which\n // is `[object process]` in Node and `[object Object]` when polyfilled.\n return typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n}\n/**\n * @param {?} players\n * @return {?}\n */\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new ɵAnimationGroupPlayer(players);\n }\n}\n/**\n * @param {?} driver\n * @param {?} normalizer\n * @param {?} element\n * @param {?} keyframes\n * @param {?=} preStyles\n * @param {?=} postStyles\n * @return {?}\n */\nfunction normalizeKeyframes(driver, normalizer, element, keyframes, preStyles = {}, postStyles = {}) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const normalizedKeyframes = [];\n /** @type {?} */\n let previousOffset = -1;\n /** @type {?} */\n let previousKeyframe = null;\n keyframes.forEach((/**\n * @param {?} kf\n * @return {?}\n */\n kf => {\n /** @type {?} */\n const offset = (/** @type {?} */ (kf['offset']));\n /** @type {?} */\n const isSameOffset = offset == previousOffset;\n /** @type {?} */\n const normalizedKeyframe = (isSameOffset && previousKeyframe) || {};\n Object.keys(kf).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n let normalizedProp = prop;\n /** @type {?} */\n let normalizedValue = kf[prop];\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case ɵPRE_STYLE:\n normalizedValue = preStyles[prop];\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles[prop];\n break;\n default:\n normalizedValue =\n normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe[normalizedProp] = normalizedValue;\n }));\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n }));\n if (errors.length) {\n /** @type {?} */\n const LINE_START = '\\n - ';\n throw new Error(`Unable to animate due to the following errors:${LINE_START}${errors.join(LINE_START)}`);\n }\n return normalizedKeyframes;\n}\n/**\n * @param {?} player\n * @param {?} eventName\n * @param {?} event\n * @param {?} callback\n * @return {?}\n */\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart((/**\n * @return {?}\n */\n () => callback(event && copyAnimationEvent(event, 'start', player))));\n break;\n case 'done':\n player.onDone((/**\n * @return {?}\n */\n () => callback(event && copyAnimationEvent(event, 'done', player))));\n break;\n case 'destroy':\n player.onDestroy((/**\n * @return {?}\n */\n () => callback(event && copyAnimationEvent(event, 'destroy', player))));\n break;\n }\n}\n/**\n * @param {?} e\n * @param {?} phaseName\n * @param {?} player\n * @return {?}\n */\nfunction copyAnimationEvent(e, phaseName, player) {\n /** @type {?} */\n const totalTime = player.totalTime;\n /** @type {?} */\n const disabled = ((/** @type {?} */ (player))).disabled ? true : false;\n /** @type {?} */\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n /** @type {?} */\n const data = ((/** @type {?} */ (e)))['_data'];\n if (data != null) {\n ((/** @type {?} */ (event)))['_data'] = data;\n }\n return event;\n}\n/**\n * @param {?} element\n * @param {?} triggerName\n * @param {?} fromState\n * @param {?} toState\n * @param {?=} phaseName\n * @param {?=} totalTime\n * @param {?=} disabled\n * @return {?}\n */\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return { element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled };\n}\n/**\n * @param {?} map\n * @param {?} key\n * @param {?} defaultValue\n * @return {?}\n */\nfunction getOrSetAsInMap(map, key, defaultValue) {\n /** @type {?} */\n let value;\n if (map instanceof Map) {\n value = map.get(key);\n if (!value) {\n map.set(key, value = defaultValue);\n }\n }\n else {\n value = map[key];\n if (!value) {\n value = map[key] = defaultValue;\n }\n }\n return value;\n}\n/**\n * @param {?} command\n * @return {?}\n */\nfunction parseTimelineCommand(command) {\n /** @type {?} */\n const separatorPos = command.indexOf(':');\n /** @type {?} */\n const id = command.substring(1, separatorPos);\n /** @type {?} */\n const action = command.substr(separatorPos + 1);\n return [id, action];\n}\n/** @type {?} */\nlet _contains = (/**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n(elm1, elm2) => false);\nconst ɵ0 = _contains;\n/** @type {?} */\nlet _matches = (/**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n(element, selector) => false);\nconst ɵ1 = _matches;\n/** @type {?} */\nlet _query = (/**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n(element, selector, multi) => {\n return [];\n});\nconst ɵ2 = _query;\n// Define utility methods for browsers and platform-server(domino) where Element\n// and utility methods exist.\n/** @type {?} */\nconst _isNode = isNode();\nif (_isNode || typeof Element !== 'undefined') {\n // this is well supported in all browsers\n _contains = (/**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n (elm1, elm2) => {\n return (/** @type {?} */ (elm1.contains(elm2)));\n });\n _matches = ((/**\n * @return {?}\n */\n () => {\n if (_isNode || Element.prototype.matches) {\n return (/**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n (element, selector) => element.matches(selector));\n }\n else {\n /** @type {?} */\n const proto = (/** @type {?} */ (Element.prototype));\n /** @type {?} */\n const fn = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector ||\n proto.oMatchesSelector || proto.webkitMatchesSelector;\n if (fn) {\n return (/**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n (element, selector) => fn.apply(element, [selector]));\n }\n else {\n return _matches;\n }\n }\n }))();\n _query = (/**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n (element, selector, multi) => {\n /** @type {?} */\n let results = [];\n if (multi) {\n results.push(...element.querySelectorAll(selector));\n }\n else {\n /** @type {?} */\n const elm = element.querySelector(selector);\n if (elm) {\n results.push(elm);\n }\n }\n return results;\n });\n}\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\n/** @type {?} */\nlet _CACHED_BODY = null;\n/** @type {?} */\nlet _IS_WEBKIT = false;\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = (/** @type {?} */ (_CACHED_BODY)).style ? ('WebkitAppearance' in (/** @type {?} */ (_CACHED_BODY)).style) : false;\n }\n /** @type {?} */\n let result = true;\n if ((/** @type {?} */ (_CACHED_BODY)).style && !containsVendorPrefix(prop)) {\n result = prop in (/** @type {?} */ (_CACHED_BODY)).style;\n if (!result && _IS_WEBKIT) {\n /** @type {?} */\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.substr(1);\n result = camelProp in (/** @type {?} */ (_CACHED_BODY)).style;\n }\n }\n return result;\n}\n/**\n * @return {?}\n */\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\n/** @type {?} */\nconst matchesElement = _matches;\n/** @type {?} */\nconst containsElement = _contains;\n/** @type {?} */\nconst invokeQuery = _query;\n/**\n * @param {?} object\n * @return {?}\n */\nfunction hypenatePropsObject(object) {\n /** @type {?} */\n const newObj = {};\n Object.keys(object).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n newObj[newProp] = object[prop];\n }));\n return newObj;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/animation_driver.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n */\nclass NoopAnimationDriver {\n /**\n * @param {?} prop\n * @return {?}\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n matchesElement(element, selector) {\n return matchesElement(element, selector);\n }\n /**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @param {?} element\n * @param {?} prop\n * @param {?=} defaultValue\n * @return {?}\n */\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @param {?=} previousPlayers\n * @param {?=} scrubberAccessRequested\n * @return {?}\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n}\nNoopAnimationDriver.ɵfac = function NoopAnimationDriver_Factory(t) { return new (t || NoopAnimationDriver)(); };\nNoopAnimationDriver.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: NoopAnimationDriver, factory: NoopAnimationDriver.ɵfac });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NoopAnimationDriver, [{\n type: Injectable\n }], null, null); })();\n/**\n * \\@publicApi\n * @abstract\n */\nclass AnimationDriver {\n}\nAnimationDriver.NOOP = new NoopAnimationDriver();\nif (false) {\n /** @type {?} */\n AnimationDriver.NOOP;\n /**\n * @abstract\n * @param {?} prop\n * @return {?}\n */\n AnimationDriver.prototype.validateStyleProperty = function (prop) { };\n /**\n * @abstract\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n AnimationDriver.prototype.matchesElement = function (element, selector) { };\n /**\n * @abstract\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n AnimationDriver.prototype.containsElement = function (elm1, elm2) { };\n /**\n * @abstract\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n AnimationDriver.prototype.query = function (element, selector, multi) { };\n /**\n * @abstract\n * @param {?} element\n * @param {?} prop\n * @param {?=} defaultValue\n * @return {?}\n */\n AnimationDriver.prototype.computeStyle = function (element, prop, defaultValue) { };\n /**\n * @abstract\n * @param {?} element\n * @param {?} keyframes\n * @param {?} duration\n * @param {?} delay\n * @param {?=} easing\n * @param {?=} previousPlayers\n * @param {?=} scrubberAccessRequested\n * @return {?}\n */\n AnimationDriver.prototype.animate = function (element, keyframes, duration, delay, easing, previousPlayers, scrubberAccessRequested) { };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/util.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ONE_SECOND = 1000;\n/** @type {?} */\nconst SUBSTITUTION_EXPR_START = '{{';\n/** @type {?} */\nconst SUBSTITUTION_EXPR_END = '}}';\n/** @type {?} */\nconst ENTER_CLASSNAME = 'ng-enter';\n/** @type {?} */\nconst LEAVE_CLASSNAME = 'ng-leave';\n/** @type {?} */\nconst ENTER_SELECTOR = '.ng-enter';\n/** @type {?} */\nconst LEAVE_SELECTOR = '.ng-leave';\n/** @type {?} */\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\n/** @type {?} */\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\n/** @type {?} */\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\n/** @type {?} */\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\n/**\n * @param {?} value\n * @return {?}\n */\nfunction resolveTimingValue(value) {\n if (typeof value == 'number')\n return value;\n /** @type {?} */\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2)\n return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\n/**\n * @param {?} value\n * @param {?} unit\n * @return {?}\n */\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default: // ms or something else\n return value;\n }\n}\n/**\n * @param {?} timings\n * @param {?} errors\n * @param {?=} allowNegativeValues\n * @return {?}\n */\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration') ?\n (/** @type {?} */ (timings)) :\n parseTimeExpression((/** @type {?} */ (timings)), errors, allowNegativeValues);\n}\n/**\n * @param {?} exp\n * @param {?} errors\n * @param {?=} allowNegativeValues\n * @return {?}\n */\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n /** @type {?} */\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n /** @type {?} */\n let duration;\n /** @type {?} */\n let delay = 0;\n /** @type {?} */\n let easing = '';\n if (typeof exp === 'string') {\n /** @type {?} */\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(`The provided timing value \"${exp}\" is invalid.`);\n return { duration: 0, delay: 0, easing: '' };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n /** @type {?} */\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n /** @type {?} */\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n }\n else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n /** @type {?} */\n let containsErrors = false;\n /** @type {?} */\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(`Duration values below 0 are not allowed for this animation step.`);\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(`Delay values below 0 are not allowed for this animation step.`);\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, `The provided timing value \"${exp}\" is invalid.`);\n }\n }\n return { duration, delay, easing };\n}\n/**\n * @param {?} obj\n * @param {?=} destination\n * @return {?}\n */\nfunction copyObj(obj, destination = {}) {\n Object.keys(obj).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n destination[prop] = obj[prop];\n }));\n return destination;\n}\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction normalizeStyles(styles) {\n /** @type {?} */\n const normalizedStyles = {};\n if (Array.isArray(styles)) {\n styles.forEach((/**\n * @param {?} data\n * @return {?}\n */\n data => copyStyles(data, false, normalizedStyles)));\n }\n else {\n copyStyles(styles, false, normalizedStyles);\n }\n return normalizedStyles;\n}\n/**\n * @param {?} styles\n * @param {?} readPrototype\n * @param {?=} destination\n * @return {?}\n */\nfunction copyStyles(styles, readPrototype, destination = {}) {\n if (readPrototype) {\n // we make use of a for-in loop so that the\n // prototypically inherited properties are\n // revealed from the backFill map\n for (let prop in styles) {\n destination[prop] = styles[prop];\n }\n }\n else {\n copyObj(styles, destination);\n }\n return destination;\n}\n/**\n * @param {?} element\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction getStyleAttributeString(element, key, value) {\n // Return the key-value pair string to be added to the style attribute for the\n // given CSS style key.\n if (value) {\n return key + ':' + value + ';';\n }\n else {\n return '';\n }\n}\n/**\n * @param {?} element\n * @return {?}\n */\nfunction writeStyleAttribute(element) {\n // Read the style property of the element and manually reflect it to the\n // style attribute. This is needed because Domino on platform-server doesn't\n // understand the full set of allowed CSS properties and doesn't reflect some\n // of them automatically.\n /** @type {?} */\n let styleAttrValue = '';\n for (let i = 0; i < element.style.length; i++) {\n /** @type {?} */\n const key = element.style.item(i);\n styleAttrValue += getStyleAttributeString(element, key, element.style.getPropertyValue(key));\n }\n for (const key in element.style) {\n // Skip internal Domino properties that don't need to be reflected.\n if (!element.style.hasOwnProperty(key) || key.startsWith('_')) {\n continue;\n }\n /** @type {?} */\n const dashKey = camelCaseToDashCase(key);\n styleAttrValue += getStyleAttributeString(element, dashKey, element.style[key]);\n }\n element.setAttribute('style', styleAttrValue);\n}\n/**\n * @param {?} element\n * @param {?} styles\n * @param {?=} formerStyles\n * @return {?}\n */\nfunction setStyles(element, styles, formerStyles) {\n if (element['style']) {\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.hasOwnProperty(prop)) {\n formerStyles[prop] = element.style[camelProp];\n }\n element.style[camelProp] = styles[prop];\n }));\n // On the server set the 'style' attribute since it's not automatically reflected.\n if (isNode()) {\n writeStyleAttribute(element);\n }\n }\n}\n/**\n * @param {?} element\n * @param {?} styles\n * @return {?}\n */\nfunction eraseStyles(element, styles) {\n if (element['style']) {\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n }));\n // On the server set the 'style' attribute since it's not automatically reflected.\n if (isNode()) {\n writeStyleAttribute(element);\n }\n }\n}\n/**\n * @param {?} steps\n * @return {?}\n */\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1)\n return steps[0];\n return sequence(steps);\n }\n return (/** @type {?} */ (steps));\n}\n/**\n * @param {?} value\n * @param {?} options\n * @param {?} errors\n * @return {?}\n */\nfunction validateStyleParams(value, options, errors) {\n /** @type {?} */\n const params = options.params || {};\n /** @type {?} */\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach((/**\n * @param {?} varName\n * @return {?}\n */\n varName => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(`Unable to resolve the local animation param ${varName} in the given list of values`);\n }\n }));\n }\n}\n/** @type {?} */\nconst PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\n/**\n * @param {?} value\n * @return {?}\n */\nfunction extractStyleParams(value) {\n /** @type {?} */\n let params = [];\n if (typeof value === 'string') {\n /** @type {?} */\n let match;\n while (match = PARAM_REGEX.exec(value)) {\n params.push((/** @type {?} */ (match[1])));\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\n/**\n * @param {?} value\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\nfunction interpolateParams(value, params, errors) {\n /** @type {?} */\n const original = value.toString();\n /** @type {?} */\n const str = original.replace(PARAM_REGEX, (/**\n * @param {?} _\n * @param {?} varName\n * @return {?}\n */\n (_, varName) => {\n /** @type {?} */\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (!params.hasOwnProperty(varName)) {\n errors.push(`Please provide a value for the animation param ${varName}`);\n localVal = '';\n }\n return localVal.toString();\n }));\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\n/**\n * @param {?} iterator\n * @return {?}\n */\nfunction iteratorToArray(iterator) {\n /** @type {?} */\n const arr = [];\n /** @type {?} */\n let item = iterator.next();\n while (!item.done) {\n arr.push(item.value);\n item = iterator.next();\n }\n return arr;\n}\n/**\n * @param {?} source\n * @param {?} destination\n * @return {?}\n */\nfunction mergeAnimationOptions(source, destination) {\n if (source.params) {\n /** @type {?} */\n const p0 = source.params;\n if (!destination.params) {\n destination.params = {};\n }\n /** @type {?} */\n const p1 = destination.params;\n Object.keys(p0).forEach((/**\n * @param {?} param\n * @return {?}\n */\n param => {\n if (!p1.hasOwnProperty(param)) {\n p1[param] = p0[param];\n }\n }));\n }\n return destination;\n}\n/** @type {?} */\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\n/**\n * @param {?} input\n * @return {?}\n */\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (/**\n * @param {...?} m\n * @return {?}\n */\n (...m) => m[1].toUpperCase()));\n}\n/**\n * @param {?} input\n * @return {?}\n */\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\n/**\n * @param {?} duration\n * @param {?} delay\n * @return {?}\n */\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\n/**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} previousStyles\n * @return {?}\n */\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n /** @type {?} */\n const previousStyleProps = Object.keys(previousStyles);\n if (previousStyleProps.length && keyframes.length) {\n /** @type {?} */\n let startingKeyframe = keyframes[0];\n /** @type {?} */\n let missingStyleProps = [];\n previousStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (!startingKeyframe.hasOwnProperty(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe[prop] = previousStyles[prop];\n }));\n if (missingStyleProps.length) {\n // tslint:disable-next-line\n for (var i = 1; i < keyframes.length; i++) {\n /** @type {?} */\n let kf = keyframes[i];\n missingStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n function (prop) {\n kf[prop] = computeStyle(element, prop);\n }));\n }\n }\n }\n return keyframes;\n}\n/**\n * @param {?} visitor\n * @param {?} node\n * @param {?} context\n * @return {?}\n */\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case 7 /* Trigger */:\n return visitor.visitTrigger(node, context);\n case 0 /* State */:\n return visitor.visitState(node, context);\n case 1 /* Transition */:\n return visitor.visitTransition(node, context);\n case 2 /* Sequence */:\n return visitor.visitSequence(node, context);\n case 3 /* Group */:\n return visitor.visitGroup(node, context);\n case 4 /* Animate */:\n return visitor.visitAnimate(node, context);\n case 5 /* Keyframes */:\n return visitor.visitKeyframes(node, context);\n case 6 /* Style */:\n return visitor.visitStyle(node, context);\n case 8 /* Reference */:\n return visitor.visitReference(node, context);\n case 9 /* AnimateChild */:\n return visitor.visitAnimateChild(node, context);\n case 10 /* AnimateRef */:\n return visitor.visitAnimateRef(node, context);\n case 11 /* Query */:\n return visitor.visitQuery(node, context);\n case 12 /* Stagger */:\n return visitor.visitStagger(node, context);\n default:\n throw new Error(`Unable to resolve animation metadata node #${node.type}`);\n }\n}\n/**\n * @param {?} element\n * @param {?} prop\n * @return {?}\n */\nfunction computeStyle(element, prop) {\n return ((/** @type {?} */ (window.getComputedStyle(element))))[prop];\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_transition_expr.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst ANY_STATE = '*';\n/**\n * @param {?} transitionValue\n * @param {?} errors\n * @return {?}\n */\nfunction parseTransitionExpr(transitionValue, errors) {\n /** @type {?} */\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue.split(/\\s*,\\s*/).forEach((/**\n * @param {?} str\n * @return {?}\n */\n str => parseInnerTransitionStr(str, expressions, errors)));\n }\n else {\n expressions.push((/** @type {?} */ (transitionValue)));\n }\n return expressions;\n}\n/**\n * @param {?} eventStr\n * @param {?} expressions\n * @param {?} errors\n * @return {?}\n */\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n /** @type {?} */\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n /** @type {?} */\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(`The provided transition expression \"${eventStr}\" is not supported`);\n return expressions;\n }\n /** @type {?} */\n const fromState = match[1];\n /** @type {?} */\n const separator = match[2];\n /** @type {?} */\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n /** @type {?} */\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n}\n/**\n * @param {?} alias\n * @param {?} errors\n * @return {?}\n */\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (/**\n * @param {?} fromState\n * @param {?} toState\n * @return {?}\n */\n (fromState, toState) => parseFloat(toState) > parseFloat(fromState));\n case ':decrement':\n return (/**\n * @param {?} fromState\n * @param {?} toState\n * @return {?}\n */\n (fromState, toState) => parseFloat(toState) < parseFloat(fromState));\n default:\n errors.push(`The transition alias value \"${alias}\" is not supported`);\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\n/** @type {?} */\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\n/** @type {?} */\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\n/**\n * @param {?} lhs\n * @param {?} rhs\n * @return {?}\n */\nfunction makeLambdaFromStates(lhs, rhs) {\n /** @type {?} */\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n /** @type {?} */\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (/**\n * @param {?} fromState\n * @param {?} toState\n * @return {?}\n */\n (fromState, toState) => {\n /** @type {?} */\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n /** @type {?} */\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n });\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_ast_builder.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst SELF_TOKEN = ':self';\n/** @type {?} */\nconst SELF_TOKEN_REGEX = new RegExp(`\\s*${SELF_TOKEN}\\s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\n/**\n * @param {?} driver\n * @param {?} metadata\n * @param {?} errors\n * @return {?}\n */\nfunction buildAnimationAst(driver, metadata, errors) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors);\n}\n/** @type {?} */\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n /**\n * @param {?} _driver\n */\n constructor(_driver) {\n this._driver = _driver;\n }\n /**\n * @param {?} metadata\n * @param {?} errors\n * @return {?}\n */\n build(metadata, errors) {\n /** @type {?} */\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n return (/** @type {?} */ (visitDslNode(this, normalizeAnimationEntry(metadata), context)));\n }\n /**\n * @private\n * @param {?} context\n * @return {?}\n */\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = {};\n context.collectedStyles[ROOT_SELECTOR] = {};\n context.currentTime = 0;\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitTrigger(metadata, context) {\n /** @type {?} */\n let queryCount = context.queryCount = 0;\n /** @type {?} */\n let depCount = context.depCount = 0;\n /** @type {?} */\n const states = [];\n /** @type {?} */\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push('animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))');\n }\n metadata.definitions.forEach((/**\n * @param {?} def\n * @return {?}\n */\n def => {\n this._resetContextStyleTimingState(context);\n if (def.type == 0 /* State */) {\n /** @type {?} */\n const stateDef = (/** @type {?} */ (def));\n /** @type {?} */\n const name = stateDef.name;\n name.toString().split(/\\s*,\\s*/).forEach((/**\n * @param {?} n\n * @return {?}\n */\n n => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n }));\n stateDef.name = name;\n }\n else if (def.type == 1 /* Transition */) {\n /** @type {?} */\n const transition = this.visitTransition((/** @type {?} */ (def)), context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n }\n else {\n context.errors.push('only state() and transition() definitions can sit inside of a trigger()');\n }\n }));\n return {\n type: 7 /* Trigger */,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitState(metadata, context) {\n /** @type {?} */\n const styleAst = this.visitStyle(metadata.styles, context);\n /** @type {?} */\n const astParams = (metadata.options && metadata.options.params) || null;\n if (styleAst.containsDynamicStyles) {\n /** @type {?} */\n const missingSubs = new Set();\n /** @type {?} */\n const params = astParams || {};\n styleAst.styles.forEach((/**\n * @param {?} value\n * @return {?}\n */\n value => {\n if (isObject(value)) {\n /** @type {?} */\n const stylesObj = (/** @type {?} */ (value));\n Object.keys(stylesObj).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n extractStyleParams(stylesObj[prop]).forEach((/**\n * @param {?} sub\n * @return {?}\n */\n sub => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n }));\n }));\n }\n }));\n if (missingSubs.size) {\n /** @type {?} */\n const missingSubsArr = iteratorToArray(missingSubs.values());\n context.errors.push(`state(\"${metadata\n .name}\", ...) must define default values for all the following style substitutions: ${missingSubsArr.join(', ')}`);\n }\n }\n return {\n type: 0 /* State */,\n name: metadata.name,\n style: styleAst,\n options: astParams ? { params: astParams } : null\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n /** @type {?} */\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n /** @type {?} */\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: 1 /* Transition */,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitSequence(metadata, context) {\n return {\n type: 2 /* Sequence */,\n steps: metadata.steps.map((/**\n * @param {?} s\n * @return {?}\n */\n s => visitDslNode(this, s, context))),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitGroup(metadata, context) {\n /** @type {?} */\n const currentTime = context.currentTime;\n /** @type {?} */\n let furthestTime = 0;\n /** @type {?} */\n const steps = metadata.steps.map((/**\n * @param {?} step\n * @return {?}\n */\n step => {\n context.currentTime = currentTime;\n /** @type {?} */\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n }));\n context.currentTime = furthestTime;\n return {\n type: 3 /* Group */,\n steps,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitAnimate(metadata, context) {\n /** @type {?} */\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n /** @type {?} */\n let styleAst;\n /** @type {?} */\n let styleMetadata = metadata.styles ? metadata.styles : style({});\n if (styleMetadata.type == 5 /* Keyframes */) {\n styleAst = this.visitKeyframes((/** @type {?} */ (styleMetadata)), context);\n }\n else {\n /** @type {?} */\n let styleMetadata = (/** @type {?} */ (metadata.styles));\n /** @type {?} */\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n /** @type {?} */\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n /** @type {?} */\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: 4 /* Animate */,\n timings: timingAst,\n style: styleAst,\n options: null\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitStyle(metadata, context) {\n /** @type {?} */\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n /**\n * @private\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n _makeStyleAst(metadata, context) {\n /** @type {?} */\n const styles = [];\n if (Array.isArray(metadata.styles)) {\n ((/** @type {?} */ (metadata.styles))).forEach((/**\n * @param {?} styleTuple\n * @return {?}\n */\n styleTuple => {\n if (typeof styleTuple == 'string') {\n if (styleTuple == AUTO_STYLE) {\n styles.push(styleTuple);\n }\n else {\n context.errors.push(`The provided style string value ${styleTuple} is not allowed.`);\n }\n }\n else {\n styles.push(styleTuple);\n }\n }));\n }\n else {\n styles.push(metadata.styles);\n }\n /** @type {?} */\n let containsDynamicStyles = false;\n /** @type {?} */\n let collectedEasing = null;\n styles.forEach((/**\n * @param {?} styleData\n * @return {?}\n */\n styleData => {\n if (isObject(styleData)) {\n /** @type {?} */\n const styleMap = (/** @type {?} */ (styleData));\n /** @type {?} */\n const easing = styleMap['easing'];\n if (easing) {\n collectedEasing = (/** @type {?} */ (easing));\n delete styleMap['easing'];\n }\n if (!containsDynamicStyles) {\n for (let prop in styleMap) {\n /** @type {?} */\n const value = styleMap[prop];\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n }));\n return {\n type: 6 /* Style */,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null\n };\n }\n /**\n * @private\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n _validateStyleAst(ast, context) {\n /** @type {?} */\n const timings = context.currentAnimateTimings;\n /** @type {?} */\n let endTime = context.currentTime;\n /** @type {?} */\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach((/**\n * @param {?} tuple\n * @return {?}\n */\n tuple => {\n if (typeof tuple == 'string')\n return;\n Object.keys(tuple).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (!this._driver.validateStyleProperty(prop)) {\n context.errors.push(`The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n return;\n }\n /** @type {?} */\n const collectedStyles = context.collectedStyles[(/** @type {?} */ (context.currentQuerySelector))];\n /** @type {?} */\n const collectedEntry = collectedStyles[prop];\n /** @type {?} */\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime && startTime >= collectedEntry.startTime &&\n endTime <= collectedEntry.endTime) {\n context.errors.push(`The CSS property \"${prop}\" that exists between the times of \"${collectedEntry.startTime}ms\" and \"${collectedEntry\n .endTime}ms\" is also being animated in a parallel animation between the times of \"${startTime}ms\" and \"${endTime}ms\"`);\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles[prop] = { startTime, endTime };\n }\n if (context.options) {\n validateStyleParams(tuple[prop], context.options, context.errors);\n }\n }));\n }));\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitKeyframes(metadata, context) {\n /** @type {?} */\n const ast = { type: 5 /* Keyframes */, styles: [], options: null };\n if (!context.currentAnimateTimings) {\n context.errors.push(`keyframes() must be placed inside of a call to animate()`);\n return ast;\n }\n /** @type {?} */\n const MAX_KEYFRAME_OFFSET = 1;\n /** @type {?} */\n let totalKeyframesWithOffsets = 0;\n /** @type {?} */\n const offsets = [];\n /** @type {?} */\n let offsetsOutOfOrder = false;\n /** @type {?} */\n let keyframesOutOfRange = false;\n /** @type {?} */\n let previousOffset = 0;\n /** @type {?} */\n const keyframes = metadata.steps.map((/**\n * @param {?} styles\n * @return {?}\n */\n styles => {\n /** @type {?} */\n const style = this._makeStyleAst(styles, context);\n /** @type {?} */\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n /** @type {?} */\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n }));\n if (keyframesOutOfRange) {\n context.errors.push(`Please ensure that all keyframe offsets are between 0 and 1`);\n }\n if (offsetsOutOfOrder) {\n context.errors.push(`Please ensure that all keyframe offsets are in order`);\n }\n /** @type {?} */\n const length = metadata.steps.length;\n /** @type {?} */\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(`Not all style() steps within the declared keyframes() contain offsets`);\n }\n else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n /** @type {?} */\n const limit = length - 1;\n /** @type {?} */\n const currentTime = context.currentTime;\n /** @type {?} */\n const currentAnimateTimings = (/** @type {?} */ (context.currentAnimateTimings));\n /** @type {?} */\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((/**\n * @param {?} kf\n * @param {?} i\n * @return {?}\n */\n (kf, i) => {\n /** @type {?} */\n const offset = generatedOffset > 0 ? (i == limit ? 1 : (generatedOffset * i)) : offsets[i];\n /** @type {?} */\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n }));\n return ast;\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitReference(metadata, context) {\n return {\n type: 8 /* Reference */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: 9 /* AnimateChild */,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitAnimateRef(metadata, context) {\n return {\n type: 10 /* AnimateRef */,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitQuery(metadata, context) {\n /** @type {?} */\n const parentSelector = (/** @type {?} */ (context.currentQuerySelector));\n /** @type {?} */\n const options = (/** @type {?} */ ((metadata.options || {})));\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector =\n parentSelector.length ? (parentSelector + ' ' + selector) : selector;\n getOrSetAsInMap(context.collectedStyles, context.currentQuerySelector, {});\n /** @type {?} */\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: 11 /* Query */,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(`stagger() can only be used inside of query()`);\n }\n /** @type {?} */\n const timings = metadata.timings === 'full' ?\n { duration: 0, delay: 0, easing: 'full' } :\n resolveTiming(metadata.timings, context.errors, true);\n return {\n type: 12 /* Stagger */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null\n };\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationAstBuilderVisitor.prototype._driver;\n}\n/**\n * @param {?} selector\n * @return {?}\n */\nfunction normalizeSelector(selector) {\n /** @type {?} */\n const hasAmpersand = selector.split(/\\s*,\\s*/).find((/**\n * @param {?} token\n * @return {?}\n */\n token => token == SELF_TOKEN)) ? true : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // the :enter and :leave selectors are filled in at runtime during timeline building\n selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR)\n .replace(/@\\w+/g, (/**\n * @param {?} match\n * @return {?}\n */\n match => NG_TRIGGER_SELECTOR + '-' + match.substr(1)))\n .replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\n/**\n * @param {?} obj\n * @return {?}\n */\nfunction normalizeParams(obj) {\n return obj ? copyObj(obj) : null;\n}\nclass AnimationAstBuilderContext {\n /**\n * @param {?} errors\n */\n constructor(errors) {\n this.errors = errors;\n this.queryCount = 0;\n this.depCount = 0;\n this.currentTransition = null;\n this.currentQuery = null;\n this.currentQuerySelector = null;\n this.currentAnimateTimings = null;\n this.currentTime = 0;\n this.collectedStyles = {};\n this.options = null;\n }\n}\nif (false) {\n /** @type {?} */\n AnimationAstBuilderContext.prototype.queryCount;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.depCount;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentTransition;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentQuery;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentQuerySelector;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentAnimateTimings;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentTime;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.collectedStyles;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.options;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.errors;\n}\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction consumeOffset(styles) {\n if (typeof styles == 'string')\n return null;\n /** @type {?} */\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach((/**\n * @param {?} styleTuple\n * @return {?}\n */\n styleTuple => {\n if (isObject(styleTuple) && styleTuple.hasOwnProperty('offset')) {\n /** @type {?} */\n const obj = (/** @type {?} */ (styleTuple));\n offset = parseFloat((/** @type {?} */ (obj['offset'])));\n delete obj['offset'];\n }\n }));\n }\n else if (isObject(styles) && styles.hasOwnProperty('offset')) {\n /** @type {?} */\n const obj = styles;\n offset = parseFloat((/** @type {?} */ (obj['offset'])));\n delete obj['offset'];\n }\n return offset;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isObject(value) {\n return !Array.isArray(value) && typeof value == 'object';\n}\n/**\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\nfunction constructTimingAst(value, errors) {\n /** @type {?} */\n let timings = null;\n if (value.hasOwnProperty('duration')) {\n timings = (/** @type {?} */ (value));\n }\n else if (typeof value == 'number') {\n /** @type {?} */\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n /** @type {?} */\n const strValue = (/** @type {?} */ (value));\n /** @type {?} */\n const isDynamic = strValue.split(/\\s+/).some((/**\n * @param {?} v\n * @return {?}\n */\n v => v.charAt(0) == '{' && v.charAt(1) == '{'));\n if (isDynamic) {\n /** @type {?} */\n const ast = (/** @type {?} */ (makeTimingAst(0, 0, '')));\n ast.dynamic = true;\n ast.strValue = strValue;\n return (/** @type {?} */ (ast));\n }\n timings = timings || resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\n/**\n * @param {?} options\n * @return {?}\n */\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = copyObj(options);\n if (options['params']) {\n options['params'] = (/** @type {?} */ (normalizeParams(options['params'])));\n }\n }\n else {\n options = {};\n }\n return options;\n}\n/**\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @return {?}\n */\nfunction makeTimingAst(duration, delay, easing) {\n return { duration, delay, easing };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_timeline_instruction.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction AnimationTimelineInstruction() { }\nif (false) {\n /** @type {?} */\n AnimationTimelineInstruction.prototype.element;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.keyframes;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.preStyleProps;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.postStyleProps;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.duration;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.delay;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.totalTime;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.easing;\n /** @type {?|undefined} */\n AnimationTimelineInstruction.prototype.stretchStartingKeyframe;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.subTimeline;\n}\n/**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} preStyleProps\n * @param {?} postStyleProps\n * @param {?} duration\n * @param {?} delay\n * @param {?=} easing\n * @param {?=} subTimeline\n * @return {?}\n */\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline\n };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/element_instruction_map.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ElementInstructionMap {\n constructor() {\n this._map = new Map();\n }\n /**\n * @param {?} element\n * @return {?}\n */\n consume(element) {\n /** @type {?} */\n let instructions = this._map.get(element);\n if (instructions) {\n this._map.delete(element);\n }\n else {\n instructions = [];\n }\n return instructions;\n }\n /**\n * @param {?} element\n * @param {?} instructions\n * @return {?}\n */\n append(element, instructions) {\n /** @type {?} */\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, existingInstructions = []);\n }\n existingInstructions.push(...instructions);\n }\n /**\n * @param {?} element\n * @return {?}\n */\n has(element) {\n return this._map.has(element);\n }\n /**\n * @return {?}\n */\n clear() {\n this._map.clear();\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n ElementInstructionMap.prototype._map;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_timeline_builder.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ONE_FRAME_IN_MILLISECONDS = 1;\n/** @type {?} */\nconst ENTER_TOKEN = ':enter';\n/** @type {?} */\nconst ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\n/** @type {?} */\nconst LEAVE_TOKEN = ':leave';\n/** @type {?} */\nconst LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of prototypical inheritance, AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two wihtin a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergesort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill object. Given that each of the keyframe\n * styles are objects that prototypically inhert from the backFill object, this means that if a\n * value is added into the backFill then it will automatically propagate any missing values to all\n * keyframes. Therefore the missing `height` value will be properly filled into the already\n * processed keyframes.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * (For prototypically-inherited contents to be detected a `for(i in obj)` loop must be used.)\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\n/**\n * @param {?} driver\n * @param {?} rootElement\n * @param {?} ast\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?=} startingStyles\n * @param {?=} finalStyles\n * @param {?=} options\n * @param {?=} subInstructions\n * @param {?=} errors\n * @return {?}\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = {}, finalStyles = {}, options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n /**\n * @param {?} driver\n * @param {?} rootElement\n * @param {?} ast\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?} startingStyles\n * @param {?} finalStyles\n * @param {?} options\n * @param {?=} subInstructions\n * @param {?=} errors\n * @return {?}\n */\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n /** @type {?} */\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n /** @type {?} */\n const timelines = context.timelines.filter((/**\n * @param {?} timeline\n * @return {?}\n */\n timeline => timeline.containsAnimation()));\n if (timelines.length && Object.keys(finalStyles).length) {\n /** @type {?} */\n const tl = timelines[timelines.length - 1];\n if (!tl.allowOnlyTimelineStyles()) {\n tl.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length ? timelines.map((/**\n * @param {?} timeline\n * @return {?}\n */\n timeline => timeline.buildKeyframes())) :\n [createTimelineInstruction(rootElement, [], [], [], 0, 0, '', false)];\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitAnimateChild(ast, context) {\n /** @type {?} */\n const elementInstructions = context.subInstructions.consume(context.element);\n if (elementInstructions) {\n /** @type {?} */\n const innerContext = context.createSubContext(ast.options);\n /** @type {?} */\n const startTime = context.currentTimeline.currentTime;\n /** @type {?} */\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, (/** @type {?} */ (innerContext.options)));\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitAnimateRef(ast, context) {\n /** @type {?} */\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n /**\n * @private\n * @param {?} instructions\n * @param {?} context\n * @param {?} options\n * @return {?}\n */\n _visitSubInstructions(instructions, context, options) {\n /** @type {?} */\n const startTime = context.currentTimeline.currentTime;\n /** @type {?} */\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n /** @type {?} */\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n /** @type {?} */\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach((/**\n * @param {?} instruction\n * @return {?}\n */\n instruction => {\n /** @type {?} */\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime =\n Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n }));\n }\n return furthestTime;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitSequence(ast, context) {\n /** @type {?} */\n const subContextCount = context.subContextCount;\n /** @type {?} */\n let ctx = context;\n /** @type {?} */\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == 6 /* Style */) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n /** @type {?} */\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach((/**\n * @param {?} s\n * @return {?}\n */\n s => visitDslNode(this, s, ctx)));\n // this is here just incase the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitGroup(ast, context) {\n /** @type {?} */\n const innerTimelines = [];\n /** @type {?} */\n let furthestTime = context.currentTimeline.currentTime;\n /** @type {?} */\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach((/**\n * @param {?} s\n * @return {?}\n */\n s => {\n /** @type {?} */\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n }));\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach((/**\n * @param {?} timeline\n * @return {?}\n */\n timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline)));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n /**\n * @private\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n _visitTiming(ast, context) {\n if (((/** @type {?} */ (ast))).dynamic) {\n /** @type {?} */\n const strValue = ((/** @type {?} */ (ast))).strValue;\n /** @type {?} */\n const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n return resolveTiming(timingValue, context.errors);\n }\n else {\n return { duration: ast.duration, delay: ast.delay, easing: ast.easing };\n }\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitAnimate(ast, context) {\n /** @type {?} */\n const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n /** @type {?} */\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n /** @type {?} */\n const style = ast.style;\n if (style.type == 5 /* Keyframes */) {\n this.visitKeyframes(style, context);\n }\n else {\n context.incrementTime(timings.duration);\n this.visitStyle((/** @type {?} */ (style)), context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitStyle(ast, context) {\n /** @type {?} */\n const timeline = context.currentTimeline;\n /** @type {?} */\n const timings = (/** @type {?} */ (context.currentAnimateTimings));\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.getCurrentStyleProperties().length) {\n timeline.forwardFrame();\n }\n /** @type {?} */\n const easing = (timings && timings.easing) || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n }\n else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitKeyframes(ast, context) {\n /** @type {?} */\n const currentAnimateTimings = (/** @type {?} */ (context.currentAnimateTimings));\n /** @type {?} */\n const startTime = ((/** @type {?} */ (context.currentTimeline))).duration;\n /** @type {?} */\n const duration = currentAnimateTimings.duration;\n /** @type {?} */\n const innerContext = context.createSubContext();\n /** @type {?} */\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach((/**\n * @param {?} step\n * @return {?}\n */\n step => {\n /** @type {?} */\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n }));\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n /** @type {?} */\n const startTime = context.currentTimeline.currentTime;\n /** @type {?} */\n const options = (/** @type {?} */ ((ast.options || {})));\n /** @type {?} */\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay &&\n (context.previousNode.type === 6 /* Style */ ||\n (startTime == 0 && context.currentTimeline.getCurrentStyleProperties().length))) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n /** @type {?} */\n let furthestTime = startTime;\n /** @type {?} */\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n /** @type {?} */\n let sameElementTimeline = null;\n elms.forEach((/**\n * @param {?} element\n * @param {?} i\n * @return {?}\n */\n (element, i) => {\n context.currentQueryIndex = i;\n /** @type {?} */\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n /** @type {?} */\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n }));\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitStagger(ast, context) {\n /** @type {?} */\n const parentContext = (/** @type {?} */ (context.parentContext));\n /** @type {?} */\n const tl = context.currentTimeline;\n /** @type {?} */\n const timings = ast.timings;\n /** @type {?} */\n const duration = Math.abs(timings.duration);\n /** @type {?} */\n const maxTime = duration * (context.currentQueryTotal - 1);\n /** @type {?} */\n let delay = duration * context.currentQueryIndex;\n /** @type {?} */\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n /** @type {?} */\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n /** @type {?} */\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime =\n (tl.currentTime - startingTime) + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\n/** @type {?} */\nconst DEFAULT_NOOP_PREVIOUS_NODE = (/** @type {?} */ ({}));\nclass AnimationTimelineContext {\n /**\n * @param {?} _driver\n * @param {?} element\n * @param {?} subInstructions\n * @param {?} _enterClassName\n * @param {?} _leaveClassName\n * @param {?} errors\n * @param {?} timelines\n * @param {?=} initialTimeline\n */\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.parentContext = null;\n this.currentAnimateTimings = null;\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.subContextCount = 0;\n this.options = {};\n this.currentQueryIndex = 0;\n this.currentQueryTotal = 0;\n this.currentStaggerTime = 0;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n /**\n * @return {?}\n */\n get params() {\n return this.options.params;\n }\n /**\n * @param {?} options\n * @param {?=} skipIfExists\n * @return {?}\n */\n updateOptions(options, skipIfExists) {\n if (!options)\n return;\n /** @type {?} */\n const newOptions = (/** @type {?} */ (options));\n /** @type {?} */\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n ((/** @type {?} */ (optionsToUpdate))).duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n /** @type {?} */\n const newParams = newOptions.params;\n if (newParams) {\n /** @type {?} */\n let paramsToUpdate = (/** @type {?} */ (optionsToUpdate.params));\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach((/**\n * @param {?} name\n * @return {?}\n */\n name => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n }));\n }\n }\n /**\n * @private\n * @return {?}\n */\n _copyOptions() {\n /** @type {?} */\n const options = {};\n if (this.options) {\n /** @type {?} */\n const oldParams = this.options.params;\n if (oldParams) {\n /** @type {?} */\n const params = options['params'] = {};\n Object.keys(oldParams).forEach((/**\n * @param {?} name\n * @return {?}\n */\n name => {\n params[name] = oldParams[name];\n }));\n }\n }\n return options;\n }\n /**\n * @param {?=} options\n * @param {?=} element\n * @param {?=} newTime\n * @return {?}\n */\n createSubContext(options = null, element, newTime) {\n /** @type {?} */\n const target = element || this.element;\n /** @type {?} */\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n /**\n * @param {?=} newTime\n * @return {?}\n */\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n /**\n * @param {?} instruction\n * @param {?} duration\n * @param {?} delay\n * @return {?}\n */\n appendInstructionToTimeline(instruction, duration, delay) {\n /** @type {?} */\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: ''\n };\n /** @type {?} */\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n /**\n * @param {?} time\n * @return {?}\n */\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n /**\n * @param {?} delay\n * @return {?}\n */\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n /**\n * @param {?} selector\n * @param {?} originalSelector\n * @param {?} limit\n * @param {?} includeSelf\n * @param {?} optional\n * @param {?} errors\n * @return {?}\n */\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n /** @type {?} */\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) { // if :self is only used then the selector is empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n /** @type {?} */\n const multi = limit != 1;\n /** @type {?} */\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) :\n elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(`\\`query(\"${originalSelector}\")\\` returned zero elements. (Use \\`query(\"${originalSelector}\", { optional: true })\\` if you wish to allow this.)`);\n }\n return results;\n }\n}\nif (false) {\n /** @type {?} */\n AnimationTimelineContext.prototype.parentContext;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentTimeline;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentAnimateTimings;\n /** @type {?} */\n AnimationTimelineContext.prototype.previousNode;\n /** @type {?} */\n AnimationTimelineContext.prototype.subContextCount;\n /** @type {?} */\n AnimationTimelineContext.prototype.options;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentQueryIndex;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentQueryTotal;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentStaggerTime;\n /**\n * @type {?}\n * @private\n */\n AnimationTimelineContext.prototype._driver;\n /** @type {?} */\n AnimationTimelineContext.prototype.element;\n /** @type {?} */\n AnimationTimelineContext.prototype.subInstructions;\n /**\n * @type {?}\n * @private\n */\n AnimationTimelineContext.prototype._enterClassName;\n /**\n * @type {?}\n * @private\n */\n AnimationTimelineContext.prototype._leaveClassName;\n /** @type {?} */\n AnimationTimelineContext.prototype.errors;\n /** @type {?} */\n AnimationTimelineContext.prototype.timelines;\n}\nclass TimelineBuilder {\n /**\n * @param {?} _driver\n * @param {?} element\n * @param {?} startTime\n * @param {?=} _elementTimelineStylesLookup\n */\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n this.duration = 0;\n this._previousKeyframe = {};\n this._currentKeyframe = {};\n this._keyframes = new Map();\n this._styleSummary = {};\n this._pendingStyles = {};\n this._backFill = {};\n this._currentEmptyStepKeyframe = null;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._localTimelineStyles = Object.create(this._backFill, {});\n this._globalTimelineStyles = (/** @type {?} */ (this._elementTimelineStylesLookup.get(element)));\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n /**\n * @return {?}\n */\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.getCurrentStyleProperties().length > 0;\n default:\n return true;\n }\n }\n /**\n * @return {?}\n */\n getCurrentStyleProperties() {\n return Object.keys(this._currentKeyframe);\n }\n /**\n * @return {?}\n */\n get currentTime() {\n return this.startTime + this.duration;\n }\n /**\n * @param {?} delay\n * @return {?}\n */\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n /** @type {?} */\n const hasPreStyleStep = this._keyframes.size == 1 && Object.keys(this._pendingStyles).length;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n }\n else {\n this.startTime += delay;\n }\n }\n /**\n * @param {?} element\n * @param {?=} currentTime\n * @return {?}\n */\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n /**\n * @private\n * @return {?}\n */\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = (/** @type {?} */ (this._keyframes.get(this.duration)));\n if (!this._currentKeyframe) {\n this._currentKeyframe = Object.create(this._backFill, {});\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n /**\n * @return {?}\n */\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n /**\n * @param {?} time\n * @return {?}\n */\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n /**\n * @private\n * @param {?} prop\n * @param {?} value\n * @return {?}\n */\n _updateStyle(prop, value) {\n this._localTimelineStyles[prop] = value;\n this._globalTimelineStyles[prop] = value;\n this._styleSummary[prop] = { time: this.currentTime, value };\n }\n /**\n * @return {?}\n */\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n /**\n * @param {?} easing\n * @return {?}\n */\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe['easing'] = easing;\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n Object.keys(this._globalTimelineStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n this._backFill[prop] = this._globalTimelineStyles[prop] || AUTO_STYLE;\n this._currentKeyframe[prop] = AUTO_STYLE;\n }));\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n /**\n * @param {?} input\n * @param {?} easing\n * @param {?} errors\n * @param {?=} options\n * @return {?}\n */\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe['easing'] = easing;\n }\n /** @type {?} */\n const params = (options && options.params) || {};\n /** @type {?} */\n const styles = flattenStyles(input, this._globalTimelineStyles);\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const val = interpolateParams(styles[prop], params, errors);\n this._pendingStyles[prop] = val;\n if (!this._localTimelineStyles.hasOwnProperty(prop)) {\n this._backFill[prop] = this._globalTimelineStyles.hasOwnProperty(prop) ?\n this._globalTimelineStyles[prop] :\n AUTO_STYLE;\n }\n this._updateStyle(prop, val);\n }));\n }\n /**\n * @return {?}\n */\n applyStylesToKeyframe() {\n /** @type {?} */\n const styles = this._pendingStyles;\n /** @type {?} */\n const props = Object.keys(styles);\n if (props.length == 0)\n return;\n this._pendingStyles = {};\n props.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const val = styles[prop];\n this._currentKeyframe[prop] = val;\n }));\n Object.keys(this._localTimelineStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (!this._currentKeyframe.hasOwnProperty(prop)) {\n this._currentKeyframe[prop] = this._localTimelineStyles[prop];\n }\n }));\n }\n /**\n * @return {?}\n */\n snapshotCurrentStyles() {\n Object.keys(this._localTimelineStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const val = this._localTimelineStyles[prop];\n this._pendingStyles[prop] = val;\n this._updateStyle(prop, val);\n }));\n }\n /**\n * @return {?}\n */\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n /**\n * @return {?}\n */\n get properties() {\n /** @type {?} */\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n /**\n * @param {?} timeline\n * @return {?}\n */\n mergeTimelineCollectedStyles(timeline) {\n Object.keys(timeline._styleSummary).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const details0 = this._styleSummary[prop];\n /** @type {?} */\n const details1 = timeline._styleSummary[prop];\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n }));\n }\n /**\n * @return {?}\n */\n buildKeyframes() {\n this.applyStylesToKeyframe();\n /** @type {?} */\n const preStyleProps = new Set();\n /** @type {?} */\n const postStyleProps = new Set();\n /** @type {?} */\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n /** @type {?} */\n let finalKeyframes = [];\n this._keyframes.forEach((/**\n * @param {?} keyframe\n * @param {?} time\n * @return {?}\n */\n (keyframe, time) => {\n /** @type {?} */\n const finalKeyframe = copyStyles(keyframe, true);\n Object.keys(finalKeyframe).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const value = finalKeyframe[prop];\n if (value == ɵPRE_STYLE) {\n preStyleProps.add(prop);\n }\n else if (value == AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n }));\n if (!isEmpty) {\n finalKeyframe['offset'] = time / this.duration;\n }\n finalKeyframes.push(finalKeyframe);\n }));\n /** @type {?} */\n const preProps = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : [];\n /** @type {?} */\n const postProps = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : [];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n /** @type {?} */\n const kf0 = finalKeyframes[0];\n /** @type {?} */\n const kf1 = copyObj(kf0);\n kf0['offset'] = 0;\n kf1['offset'] = 1;\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nif (false) {\n /** @type {?} */\n TimelineBuilder.prototype.duration;\n /** @type {?} */\n TimelineBuilder.prototype.easing;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._previousKeyframe;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._currentKeyframe;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._keyframes;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._styleSummary;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._localTimelineStyles;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._globalTimelineStyles;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._pendingStyles;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._backFill;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._currentEmptyStepKeyframe;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._driver;\n /** @type {?} */\n TimelineBuilder.prototype.element;\n /** @type {?} */\n TimelineBuilder.prototype.startTime;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._elementTimelineStylesLookup;\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n /**\n * @param {?} driver\n * @param {?} element\n * @param {?} keyframes\n * @param {?} preStyleProps\n * @param {?} postStyleProps\n * @param {?} timings\n * @param {?=} _stretchStartingKeyframe\n */\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.element = element;\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = { duration: timings.duration, delay: timings.delay, easing: timings.easing };\n }\n /**\n * @return {?}\n */\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n /**\n * @return {?}\n */\n buildKeyframes() {\n /** @type {?} */\n let keyframes = this.keyframes;\n let { delay, duration, easing } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n /** @type {?} */\n const newKeyframes = [];\n /** @type {?} */\n const totalTime = duration + delay;\n /** @type {?} */\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n /** @type {?} */\n const newFirstKeyframe = copyStyles(keyframes[0], false);\n newFirstKeyframe['offset'] = 0;\n newKeyframes.push(newFirstKeyframe);\n /** @type {?} */\n const oldFirstKeyframe = copyStyles(keyframes[0], false);\n oldFirstKeyframe['offset'] = roundOffset(startingGap);\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still renderered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n \n delay=1000, duration=1000, keyframes = 0 .5 1\n \n turns into\n \n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n /** @type {?} */\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n /** @type {?} */\n let kf = copyStyles(keyframes[i], false);\n /** @type {?} */\n const oldOffset = (/** @type {?} */ (kf['offset']));\n /** @type {?} */\n const timeAtKeyframe = delay + oldOffset * duration;\n kf['offset'] = roundOffset(timeAtKeyframe / totalTime);\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nif (false) {\n /** @type {?} */\n SubTimelineBuilder.prototype.timings;\n /** @type {?} */\n SubTimelineBuilder.prototype.element;\n /** @type {?} */\n SubTimelineBuilder.prototype.keyframes;\n /** @type {?} */\n SubTimelineBuilder.prototype.preStyleProps;\n /** @type {?} */\n SubTimelineBuilder.prototype.postStyleProps;\n /**\n * @type {?}\n * @private\n */\n SubTimelineBuilder.prototype._stretchStartingKeyframe;\n}\n/**\n * @param {?} offset\n * @param {?=} decimalPoints\n * @return {?}\n */\nfunction roundOffset(offset, decimalPoints = 3) {\n /** @type {?} */\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\n/**\n * @param {?} input\n * @param {?} allStyles\n * @return {?}\n */\nfunction flattenStyles(input, allStyles) {\n /** @type {?} */\n const styles = {};\n /** @type {?} */\n let allProperties;\n input.forEach((/**\n * @param {?} token\n * @return {?}\n */\n token => {\n if (token === '*') {\n allProperties = allProperties || Object.keys(allStyles);\n allProperties.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n styles[prop] = AUTO_STYLE;\n }));\n }\n else {\n copyStyles((/** @type {?} */ (token)), false, styles);\n }\n }));\n return styles;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass Animation {\n /**\n * @param {?} _driver\n * @param {?} input\n */\n constructor(_driver, input) {\n this._driver = _driver;\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const ast = buildAnimationAst(_driver, input, errors);\n if (errors.length) {\n /** @type {?} */\n const errorMessage = `animation validation failed:\\n${errors.join('\\n')}`;\n throw new Error(errorMessage);\n }\n this._animationAst = ast;\n }\n /**\n * @param {?} element\n * @param {?} startingStyles\n * @param {?} destinationStyles\n * @param {?} options\n * @param {?=} subInstructions\n * @return {?}\n */\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n /** @type {?} */\n const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) :\n (/** @type {?} */ (startingStyles));\n /** @type {?} */\n const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) :\n (/** @type {?} */ (destinationStyles));\n /** @type {?} */\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n /** @type {?} */\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n /** @type {?} */\n const errorMessage = `animation building failed:\\n${errors.join('\\n')}`;\n throw new Error(errorMessage);\n }\n return result;\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n Animation.prototype._animationAst;\n /**\n * @type {?}\n * @private\n */\n Animation.prototype._driver;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * \\@publicApi\n * @abstract\n */\nclass AnimationStyleNormalizer {\n}\nif (false) {\n /**\n * @abstract\n * @param {?} propertyName\n * @param {?} errors\n * @return {?}\n */\n AnimationStyleNormalizer.prototype.normalizePropertyName = function (propertyName, errors) { };\n /**\n * @abstract\n * @param {?} userProvidedProperty\n * @param {?} normalizedProperty\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\n AnimationStyleNormalizer.prototype.normalizeStyleValue = function (userProvidedProperty, normalizedProperty, value, errors) { };\n}\n/**\n * \\@publicApi\n */\nclass NoopAnimationStyleNormalizer {\n /**\n * @param {?} propertyName\n * @param {?} errors\n * @return {?}\n */\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n /**\n * @param {?} userProvidedProperty\n * @param {?} normalizedProperty\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return (/** @type {?} */ (value));\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n /**\n * @param {?} propertyName\n * @param {?} errors\n * @return {?}\n */\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n /**\n * @param {?} userProvidedProperty\n * @param {?} normalizedProperty\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n /** @type {?} */\n let unit = '';\n /** @type {?} */\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_MAP[normalizedProperty] && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n }\n else {\n /** @type {?} */\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(`Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n }\n }\n }\n return strVal + unit;\n }\n}\nconst ɵ0$1 = /**\n * @return {?}\n */\n() => makeBooleanMap('width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective'\n .split(','));\n/** @type {?} */\nconst DIMENSIONAL_PROP_MAP = ((ɵ0$1))();\n/**\n * @param {?} keys\n * @return {?}\n */\nfunction makeBooleanMap(keys) {\n /** @type {?} */\n const map = {};\n keys.forEach((/**\n * @param {?} key\n * @return {?}\n */\n key => map[key] = true));\n return map;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_transition_instruction.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction AnimationTransitionInstruction() { }\nif (false) {\n /** @type {?} */\n AnimationTransitionInstruction.prototype.element;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.triggerName;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.isRemovalTransition;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.fromState;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.fromStyles;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.toState;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.toStyles;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.timelines;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.queriedElements;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.preStyleProps;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.postStyleProps;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.totalTime;\n /** @type {?|undefined} */\n AnimationTransitionInstruction.prototype.errors;\n}\n/**\n * @param {?} element\n * @param {?} triggerName\n * @param {?} fromState\n * @param {?} toState\n * @param {?} isRemovalTransition\n * @param {?} fromStyles\n * @param {?} toStyles\n * @param {?} timelines\n * @param {?} queriedElements\n * @param {?} preStyleProps\n * @param {?} postStyleProps\n * @param {?} totalTime\n * @param {?=} errors\n * @return {?}\n */\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors\n };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_transition_factory.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n /**\n * @param {?} _triggerName\n * @param {?} ast\n * @param {?} _stateStyles\n */\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n /**\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} element\n * @param {?} params\n * @return {?}\n */\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n /**\n * @param {?} stateName\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\n buildStyles(stateName, params, errors) {\n /** @type {?} */\n const backupStateStyler = this._stateStyles['*'];\n /** @type {?} */\n const stateStyler = this._stateStyles[stateName];\n /** @type {?} */\n const backupStyles = backupStateStyler ? backupStateStyler.buildStyles(params, errors) : {};\n return stateStyler ? stateStyler.buildStyles(params, errors) : backupStyles;\n }\n /**\n * @param {?} driver\n * @param {?} element\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?=} currentOptions\n * @param {?=} nextOptions\n * @param {?=} subInstructions\n * @param {?=} skipAstBuild\n * @return {?}\n */\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n /** @type {?} */\n const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n /** @type {?} */\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n /** @type {?} */\n const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n /** @type {?} */\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n /** @type {?} */\n const queriedElements = new Set();\n /** @type {?} */\n const preStyleMap = new Map();\n /** @type {?} */\n const postStyleMap = new Map();\n /** @type {?} */\n const isRemoval = nextState === 'void';\n /** @type {?} */\n const animationOptions = { params: Object.assign(Object.assign({}, transitionAnimationParams), nextAnimationParams) };\n /** @type {?} */\n const timelines = skipAstBuild ?\n [] :\n buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n /** @type {?} */\n let totalTime = 0;\n timelines.forEach((/**\n * @param {?} tl\n * @return {?}\n */\n tl => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n }));\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach((/**\n * @param {?} tl\n * @return {?}\n */\n tl => {\n /** @type {?} */\n const elm = tl.element;\n /** @type {?} */\n const preProps = getOrSetAsInMap(preStyleMap, elm, {});\n tl.preStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => preProps[prop] = true));\n /** @type {?} */\n const postProps = getOrSetAsInMap(postStyleMap, elm, {});\n tl.postStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => postProps[prop] = true));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n }));\n /** @type {?} */\n const queriedElementsList = iteratorToArray(queriedElements.values());\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionFactory.prototype._triggerName;\n /** @type {?} */\n AnimationTransitionFactory.prototype.ast;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionFactory.prototype._stateStyles;\n}\n/**\n * @param {?} matchFns\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} element\n * @param {?} params\n * @return {?}\n */\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn(currentState, nextState, element, params)));\n}\nclass AnimationStateStyles {\n /**\n * @param {?} styles\n * @param {?} defaultParams\n */\n constructor(styles, defaultParams) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n }\n /**\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\n buildStyles(params, errors) {\n /** @type {?} */\n const finalStyles = {};\n /** @type {?} */\n const combinedParams = copyObj(this.defaultParams);\n Object.keys(params).forEach((/**\n * @param {?} key\n * @return {?}\n */\n key => {\n /** @type {?} */\n const value = params[key];\n if (value != null) {\n combinedParams[key] = value;\n }\n }));\n this.styles.styles.forEach((/**\n * @param {?} value\n * @return {?}\n */\n value => {\n if (typeof value !== 'string') {\n /** @type {?} */\n const styleObj = (/** @type {?} */ (value));\n Object.keys(styleObj).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n let val = styleObj[prop];\n if (val.length > 1) {\n val = interpolateParams(val, combinedParams, errors);\n }\n finalStyles[prop] = val;\n }));\n }\n }));\n return finalStyles;\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationStateStyles.prototype.styles;\n /**\n * @type {?}\n * @private\n */\n AnimationStateStyles.prototype.defaultParams;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_trigger.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @param {?} name\n * @param {?} ast\n * @return {?}\n */\nfunction buildTrigger(name, ast) {\n return new AnimationTrigger(name, ast);\n}\n/**\n * \\@publicApi\n */\nclass AnimationTrigger {\n /**\n * @param {?} name\n * @param {?} ast\n */\n constructor(name, ast) {\n this.name = name;\n this.ast = ast;\n this.transitionFactories = [];\n this.states = {};\n ast.states.forEach((/**\n * @param {?} ast\n * @return {?}\n */\n ast => {\n /** @type {?} */\n const defaultParams = (ast.options && ast.options.params) || {};\n this.states[ast.name] = new AnimationStateStyles(ast.style, defaultParams);\n }));\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach((/**\n * @param {?} ast\n * @return {?}\n */\n ast => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n }));\n this.fallbackTransition = createFallbackTransition(name, this.states);\n }\n /**\n * @return {?}\n */\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n /**\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} element\n * @param {?} params\n * @return {?}\n */\n matchTransition(currentState, nextState, element, params) {\n /** @type {?} */\n const entry = this.transitionFactories.find((/**\n * @param {?} f\n * @return {?}\n */\n f => f.match(currentState, nextState, element, params)));\n return entry || null;\n }\n /**\n * @param {?} currentState\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nif (false) {\n /** @type {?} */\n AnimationTrigger.prototype.transitionFactories;\n /** @type {?} */\n AnimationTrigger.prototype.fallbackTransition;\n /** @type {?} */\n AnimationTrigger.prototype.states;\n /** @type {?} */\n AnimationTrigger.prototype.name;\n /** @type {?} */\n AnimationTrigger.prototype.ast;\n}\n/**\n * @param {?} triggerName\n * @param {?} states\n * @return {?}\n */\nfunction createFallbackTransition(triggerName, states) {\n /** @type {?} */\n const matchers = [(/**\n * @param {?} fromState\n * @param {?} toState\n * @return {?}\n */\n (fromState, toState) => true)];\n /** @type {?} */\n const animation = { type: 2 /* Sequence */, steps: [], options: null };\n /** @type {?} */\n const transition = {\n type: 1 /* Transition */,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\n/**\n * @param {?} obj\n * @param {?} key1\n * @param {?} key2\n * @return {?}\n */\nfunction balanceProperties(obj, key1, key2) {\n if (obj.hasOwnProperty(key1)) {\n if (!obj.hasOwnProperty(key2)) {\n obj[key2] = obj[key1];\n }\n }\n else if (obj.hasOwnProperty(key2)) {\n obj[key1] = obj[key2];\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/timeline_animation_engine.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n /**\n * @param {?} bodyNode\n * @param {?} _driver\n * @param {?} _normalizer\n */\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._animations = {};\n this._playersById = {};\n this.players = [];\n }\n /**\n * @param {?} id\n * @param {?} metadata\n * @return {?}\n */\n register(id, metadata) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const ast = buildAnimationAst(this._driver, metadata, errors);\n if (errors.length) {\n throw new Error(`Unable to build the animation due to the following errors: ${errors.join('\\n')}`);\n }\n else {\n this._animations[id] = ast;\n }\n }\n /**\n * @private\n * @param {?} i\n * @param {?} preStyles\n * @param {?=} postStyles\n * @return {?}\n */\n _buildPlayer(i, preStyles, postStyles) {\n /** @type {?} */\n const element = i.element;\n /** @type {?} */\n const keyframes = normalizeKeyframes(this._driver, this._normalizer, element, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n /**\n * @param {?} id\n * @param {?} element\n * @param {?=} options\n * @return {?}\n */\n create(id, element, options = {}) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const ast = this._animations[id];\n /** @type {?} */\n let instructions;\n /** @type {?} */\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, {}, {}, options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach((/**\n * @param {?} inst\n * @return {?}\n */\n inst => {\n /** @type {?} */\n const styles = getOrSetAsInMap(autoStylesMap, inst.element, {});\n inst.postStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => styles[prop] = null));\n }));\n }\n else {\n errors.push('The requested animation doesn\\'t exist or has already been destroyed');\n instructions = [];\n }\n if (errors.length) {\n throw new Error(`Unable to create the animation due to the following errors: ${errors.join('\\n')}`);\n }\n autoStylesMap.forEach((/**\n * @param {?} styles\n * @param {?} element\n * @return {?}\n */\n (styles, element) => {\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n styles[prop] = this._driver.computeStyle(element, prop, AUTO_STYLE);\n }));\n }));\n /** @type {?} */\n const players = instructions.map((/**\n * @param {?} i\n * @return {?}\n */\n i => {\n /** @type {?} */\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, {}, styles);\n }));\n /** @type {?} */\n const player = optimizeGroupPlayer(players);\n this._playersById[id] = player;\n player.onDestroy((/**\n * @return {?}\n */\n () => this.destroy(id)));\n this.players.push(player);\n return player;\n }\n /**\n * @param {?} id\n * @return {?}\n */\n destroy(id) {\n /** @type {?} */\n const player = this._getPlayer(id);\n player.destroy();\n delete this._playersById[id];\n /** @type {?} */\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n /**\n * @private\n * @param {?} id\n * @return {?}\n */\n _getPlayer(id) {\n /** @type {?} */\n const player = this._playersById[id];\n if (!player) {\n throw new Error(`Unable to find the timeline player referenced by ${id}`);\n }\n return player;\n }\n /**\n * @param {?} id\n * @param {?} element\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n /** @type {?} */\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return (/**\n * @return {?}\n */\n () => { });\n }\n /**\n * @param {?} id\n * @param {?} element\n * @param {?} command\n * @param {?} args\n * @return {?}\n */\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, (/** @type {?} */ (args[0])));\n return;\n }\n if (command == 'create') {\n /** @type {?} */\n const options = (/** @type {?} */ ((args[0] || {})));\n this.create(id, element, options);\n return;\n }\n /** @type {?} */\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat((/** @type {?} */ (args[0]))));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n TimelineAnimationEngine.prototype._animations;\n /**\n * @type {?}\n * @private\n */\n TimelineAnimationEngine.prototype._playersById;\n /** @type {?} */\n TimelineAnimationEngine.prototype.players;\n /** @type {?} */\n TimelineAnimationEngine.prototype.bodyNode;\n /**\n * @type {?}\n * @private\n */\n TimelineAnimationEngine.prototype._driver;\n /**\n * @type {?}\n * @private\n */\n TimelineAnimationEngine.prototype._normalizer;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/transition_animation_engine.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\n/** @type {?} */\nconst QUEUED_SELECTOR = '.ng-animate-queued';\n/** @type {?} */\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\n/** @type {?} */\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\n/** @type {?} */\nconst STAR_CLASSNAME = 'ng-star-inserted';\n/** @type {?} */\nconst STAR_SELECTOR = '.ng-star-inserted';\n/** @type {?} */\nconst EMPTY_PLAYER_ARRAY = [];\n/** @type {?} */\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false\n};\n/** @type {?} */\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true\n};\n/**\n * @record\n */\nfunction TriggerListener() { }\nif (false) {\n /** @type {?} */\n TriggerListener.prototype.name;\n /** @type {?} */\n TriggerListener.prototype.phase;\n /** @type {?} */\n TriggerListener.prototype.callback;\n}\n/**\n * @record\n */\nfunction QueueInstruction() { }\nif (false) {\n /** @type {?} */\n QueueInstruction.prototype.element;\n /** @type {?} */\n QueueInstruction.prototype.triggerName;\n /** @type {?} */\n QueueInstruction.prototype.fromState;\n /** @type {?} */\n QueueInstruction.prototype.toState;\n /** @type {?} */\n QueueInstruction.prototype.transition;\n /** @type {?} */\n QueueInstruction.prototype.player;\n /** @type {?} */\n QueueInstruction.prototype.isFallbackTransition;\n}\n/** @type {?} */\nconst REMOVAL_FLAG = '__ng_removed';\n/**\n * @record\n */\nfunction ElementAnimationState() { }\nif (false) {\n /** @type {?} */\n ElementAnimationState.prototype.setForRemoval;\n /** @type {?} */\n ElementAnimationState.prototype.setForMove;\n /** @type {?} */\n ElementAnimationState.prototype.hasAnimation;\n /** @type {?} */\n ElementAnimationState.prototype.namespaceId;\n /** @type {?} */\n ElementAnimationState.prototype.removedBeforeQueried;\n}\nclass StateValue {\n /**\n * @param {?} input\n * @param {?=} namespaceId\n */\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n /** @type {?} */\n const isObj = input && input.hasOwnProperty('value');\n /** @type {?} */\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n /** @type {?} */\n const options = copyObj((/** @type {?} */ (input)));\n delete options['value'];\n this.options = (/** @type {?} */ (options));\n }\n else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n /**\n * @return {?}\n */\n get params() {\n return (/** @type {?} */ (this.options.params));\n }\n /**\n * @param {?} options\n * @return {?}\n */\n absorbOptions(options) {\n /** @type {?} */\n const newParams = options.params;\n if (newParams) {\n /** @type {?} */\n const oldParams = (/** @type {?} */ (this.options.params));\n Object.keys(newParams).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n }));\n }\n }\n}\nif (false) {\n /** @type {?} */\n StateValue.prototype.value;\n /** @type {?} */\n StateValue.prototype.options;\n /** @type {?} */\n StateValue.prototype.namespaceId;\n}\n/** @type {?} */\nconst VOID_VALUE = 'void';\n/** @type {?} */\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n /**\n * @param {?} id\n * @param {?} hostElement\n * @param {?} _engine\n */\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this.players = [];\n this._triggers = {};\n this._queue = [];\n this._elementListeners = new Map();\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n /**\n * @param {?} element\n * @param {?} name\n * @param {?} phase\n * @param {?} callback\n * @return {?}\n */\n listen(element, name, phase, callback) {\n if (!this._triggers.hasOwnProperty(name)) {\n throw new Error(`Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n }\n if (phase == null || phase.length == 0) {\n throw new Error(`Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n }\n if (!isTriggerEventValid(phase)) {\n throw new Error(`The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n }\n /** @type {?} */\n const listeners = getOrSetAsInMap(this._elementListeners, element, []);\n /** @type {?} */\n const data = { name, phase, callback };\n listeners.push(data);\n /** @type {?} */\n const triggersWithStates = getOrSetAsInMap(this._engine.statesByElement, element, {});\n if (!triggersWithStates.hasOwnProperty(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates[name] = DEFAULT_STATE_VALUE;\n }\n return (/**\n * @return {?}\n */\n () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers[name]) {\n delete triggersWithStates[name];\n }\n }));\n });\n }\n /**\n * @param {?} name\n * @param {?} ast\n * @return {?}\n */\n register(name, ast) {\n if (this._triggers[name]) {\n // throw\n return false;\n }\n else {\n this._triggers[name] = ast;\n return true;\n }\n }\n /**\n * @private\n * @param {?} name\n * @return {?}\n */\n _getTrigger(name) {\n /** @type {?} */\n const trigger = this._triggers[name];\n if (!trigger) {\n throw new Error(`The provided animation trigger \"${name}\" has not been registered!`);\n }\n return trigger;\n }\n /**\n * @param {?} element\n * @param {?} triggerName\n * @param {?} value\n * @param {?=} defaultToFallback\n * @return {?}\n */\n trigger(element, triggerName, value, defaultToFallback = true) {\n /** @type {?} */\n const trigger = this._getTrigger(triggerName);\n /** @type {?} */\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n /** @type {?} */\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, triggersWithStates = {});\n }\n /** @type {?} */\n let fromState = triggersWithStates[triggerName];\n /** @type {?} */\n const toState = new StateValue(value, this.id);\n /** @type {?} */\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates[triggerName] = toState;\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n /** @type {?} */\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n /** @type {?} */\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n }\n else {\n this._engine.afterFlush((/**\n * @return {?}\n */\n () => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n }));\n }\n }\n return;\n }\n /** @type {?} */\n const playersOnElement = getOrSetAsInMap(this._engine.playersByElement, element, []);\n playersOnElement.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new palyer)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n }));\n /** @type {?} */\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n /** @type {?} */\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback)\n return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({ element, triggerName, transition, fromState, toState, player, isFallbackTransition });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart((/**\n * @return {?}\n */\n () => {\n removeClass(element, QUEUED_CLASSNAME);\n }));\n }\n player.onDone((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n /** @type {?} */\n const players = this._engine.playersByElement.get(element);\n if (players) {\n /** @type {?} */\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n }));\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n /**\n * @param {?} name\n * @return {?}\n */\n deregister(name) {\n delete this._triggers[name];\n this._engine.statesByElement.forEach((/**\n * @param {?} stateMap\n * @param {?} element\n * @return {?}\n */\n (stateMap, element) => {\n delete stateMap[name];\n }));\n this._elementListeners.forEach((/**\n * @param {?} listeners\n * @param {?} element\n * @return {?}\n */\n (listeners, element) => {\n this._elementListeners.set(element, listeners.filter((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n return entry.name != name;\n })));\n }));\n }\n /**\n * @param {?} element\n * @return {?}\n */\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n /** @type {?} */\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => player.destroy()));\n this._engine.playersByElement.delete(element);\n }\n }\n /**\n * @private\n * @param {?} rootElement\n * @param {?} context\n * @return {?}\n */\n _signalRemovalForInnerTriggers(rootElement, context) {\n /** @type {?} */\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach((/**\n * @param {?} elm\n * @return {?}\n */\n elm => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG])\n return;\n /** @type {?} */\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach((/**\n * @param {?} ns\n * @return {?}\n */\n ns => ns.triggerLeaveAnimation(elm, context, false, true)));\n }\n else {\n this.clearElementCache(elm);\n }\n }));\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone((/**\n * @return {?}\n */\n () => elements.forEach((/**\n * @param {?} elm\n * @return {?}\n */\n elm => this.clearElementCache(elm)))));\n }\n /**\n * @param {?} element\n * @param {?} context\n * @param {?=} destroyAfterComplete\n * @param {?=} defaultToFallback\n * @return {?}\n */\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n /** @type {?} */\n const triggerStates = this._engine.statesByElement.get(element);\n if (triggerStates) {\n /** @type {?} */\n const players = [];\n Object.keys(triggerStates).forEach((/**\n * @param {?} triggerName\n * @return {?}\n */\n triggerName => {\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers[triggerName]) {\n /** @type {?} */\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n }));\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone((/**\n * @return {?}\n */\n () => this._engine.processLeaveNode(element)));\n }\n return true;\n }\n }\n return false;\n }\n /**\n * @param {?} element\n * @return {?}\n */\n prepareLeaveAnimationListeners(element) {\n /** @type {?} */\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n /** @type {?} */\n const visitedTriggers = new Set();\n listeners.forEach((/**\n * @param {?} listener\n * @return {?}\n */\n listener => {\n /** @type {?} */\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName))\n return;\n visitedTriggers.add(triggerName);\n /** @type {?} */\n const trigger = this._triggers[triggerName];\n /** @type {?} */\n const transition = trigger.fallbackTransition;\n /** @type {?} */\n const elementStates = (/** @type {?} */ (this._engine.statesByElement.get(element)));\n /** @type {?} */\n const fromState = elementStates[triggerName] || DEFAULT_STATE_VALUE;\n /** @type {?} */\n const toState = new StateValue(VOID_VALUE);\n /** @type {?} */\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true\n });\n }));\n }\n }\n /**\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n removeNode(element, context) {\n /** @type {?} */\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true))\n return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n /** @type {?} */\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n /** @type {?} */\n const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n }\n else {\n /** @type {?} */\n let parent = element;\n while (parent = parent.parentNode) {\n /** @type {?} */\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n }\n else {\n /** @type {?} */\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush((/**\n * @return {?}\n */\n () => this.clearElementCache(element)));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n /**\n * @param {?} element\n * @param {?} parent\n * @return {?}\n */\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n /**\n * @param {?} microtaskId\n * @return {?}\n */\n drainQueuedTransitions(microtaskId) {\n /** @type {?} */\n const instructions = [];\n this._queue.forEach((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n /** @type {?} */\n const player = entry.player;\n if (player.destroyed)\n return;\n /** @type {?} */\n const element = entry.element;\n /** @type {?} */\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach((/**\n * @param {?} listener\n * @return {?}\n */\n (listener) => {\n if (listener.name == entry.triggerName) {\n /** @type {?} */\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n ((/** @type {?} */ (baseEvent)))['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n }));\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush((/**\n * @return {?}\n */\n () => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n }));\n }\n else {\n instructions.push(entry);\n }\n }));\n this._queue = [];\n return instructions.sort((/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\n (a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n /** @type {?} */\n const d0 = a.transition.ast.depCount;\n /** @type {?} */\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n }));\n }\n /**\n * @param {?} context\n * @return {?}\n */\n destroy(context) {\n this.players.forEach((/**\n * @param {?} p\n * @return {?}\n */\n p => p.destroy()));\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n /**\n * @param {?} element\n * @return {?}\n */\n elementContainsData(element) {\n /** @type {?} */\n let containsData = false;\n if (this._elementListeners.has(element))\n containsData = true;\n containsData =\n (this._queue.find((/**\n * @param {?} entry\n * @return {?}\n */\n entry => entry.element === element)) ? true : false) || containsData;\n return containsData;\n }\n}\nif (false) {\n /** @type {?} */\n AnimationTransitionNamespace.prototype.players;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._triggers;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._queue;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._elementListeners;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._hostClassName;\n /** @type {?} */\n AnimationTransitionNamespace.prototype.id;\n /** @type {?} */\n AnimationTransitionNamespace.prototype.hostElement;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._engine;\n}\n/**\n * @record\n */\nfunction QueuedTransition() { }\nif (false) {\n /** @type {?} */\n QueuedTransition.prototype.element;\n /** @type {?} */\n QueuedTransition.prototype.instruction;\n /** @type {?} */\n QueuedTransition.prototype.player;\n}\nclass TransitionAnimationEngine {\n /**\n * @param {?} bodyNode\n * @param {?} driver\n * @param {?} _normalizer\n */\n constructor(bodyNode, driver, _normalizer) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n this.players = [];\n this.newHostElements = new Map();\n this.playersByElement = new Map();\n this.playersByQueriedElement = new Map();\n this.statesByElement = new Map();\n this.disabledNodes = new Set();\n this.totalAnimations = 0;\n this.totalQueuedPlayers = 0;\n this._namespaceLookup = {};\n this._namespaceList = [];\n this._flushFns = [];\n this._whenQuietFns = [];\n this.namespacesByHostElement = new Map();\n this.collectedEnterElements = [];\n this.collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (/**\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n (element, context) => { });\n }\n /**\n * \\@internal\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n /**\n * @return {?}\n */\n get queuedPlayers() {\n /** @type {?} */\n const players = [];\n this._namespaceList.forEach((/**\n * @param {?} ns\n * @return {?}\n */\n ns => {\n ns.players.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n if (player.queued) {\n players.push(player);\n }\n }));\n }));\n return players;\n }\n /**\n * @param {?} namespaceId\n * @param {?} hostElement\n * @return {?}\n */\n createNamespace(namespaceId, hostElement) {\n /** @type {?} */\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (hostElement.parentNode) {\n this._balanceNamespaceList(ns, hostElement);\n }\n else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is apart of the animation code, it\n // may or may not be inserted by a parent node that is an of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return this._namespaceLookup[namespaceId] = ns;\n }\n /**\n * @private\n * @param {?} ns\n * @param {?} hostElement\n * @return {?}\n */\n _balanceNamespaceList(ns, hostElement) {\n /** @type {?} */\n const limit = this._namespaceList.length - 1;\n if (limit >= 0) {\n /** @type {?} */\n let found = false;\n for (let i = limit; i >= 0; i--) {\n /** @type {?} */\n const nextNamespace = this._namespaceList[i];\n if (this.driver.containsElement(nextNamespace.hostElement, hostElement)) {\n this._namespaceList.splice(i + 1, 0, ns);\n found = true;\n break;\n }\n }\n if (!found) {\n this._namespaceList.splice(0, 0, ns);\n }\n }\n else {\n this._namespaceList.push(ns);\n }\n this.namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n /**\n * @param {?} namespaceId\n * @param {?} hostElement\n * @return {?}\n */\n register(namespaceId, hostElement) {\n /** @type {?} */\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n /**\n * @param {?} namespaceId\n * @param {?} name\n * @param {?} trigger\n * @return {?}\n */\n registerTrigger(namespaceId, name, trigger) {\n /** @type {?} */\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n /**\n * @param {?} namespaceId\n * @param {?} context\n * @return {?}\n */\n destroy(namespaceId, context) {\n if (!namespaceId)\n return;\n /** @type {?} */\n const ns = this._fetchNamespace(namespaceId);\n this.afterFlush((/**\n * @return {?}\n */\n () => {\n this.namespacesByHostElement.delete(ns.hostElement);\n delete this._namespaceLookup[namespaceId];\n /** @type {?} */\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n }));\n this.afterFlushAnimationsDone((/**\n * @return {?}\n */\n () => ns.destroy(context)));\n }\n /**\n * @private\n * @param {?} id\n * @return {?}\n */\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n /**\n * @param {?} element\n * @return {?}\n */\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply the dedupe\n // of namespaces incase there are multiple triggers both the elm and host\n /** @type {?} */\n const namespaces = new Set();\n /** @type {?} */\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n /** @type {?} */\n const keys = Object.keys(elementStates);\n for (let i = 0; i < keys.length; i++) {\n /** @type {?} */\n const nsId = elementStates[keys[i]].namespaceId;\n if (nsId) {\n /** @type {?} */\n const ns = this._fetchNamespace(nsId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n /** @type {?} */\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} parent\n * @param {?} insertBefore\n * @return {?}\n */\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element))\n return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n /** @type {?} */\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n /** @type {?} */\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n /**\n * @param {?} element\n * @return {?}\n */\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n /**\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n }\n else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} isHostElement\n * @param {?} context\n * @return {?}\n */\n removeNode(namespaceId, element, isHostElement, context) {\n if (isElementNode(element)) {\n /** @type {?} */\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n }\n else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n if (isHostElement) {\n /** @type {?} */\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n }\n }\n else {\n this._onRemovalComplete(element, context);\n }\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?=} hasAnimation\n * @param {?=} context\n * @return {?}\n */\n markElementAsRemoved(namespaceId, element, hasAnimation, context) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] =\n { namespaceId, setForRemoval: context, hasAnimation, removedBeforeQueried: false };\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} name\n * @param {?} phase\n * @param {?} callback\n * @return {?}\n */\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return (/**\n * @return {?}\n */\n () => { });\n }\n /**\n * @private\n * @param {?} entry\n * @param {?} subTimelines\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?=} skipBuildAst\n * @return {?}\n */\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n /**\n * @param {?} containerElement\n * @return {?}\n */\n destroyInnerAnimations(containerElement) {\n /** @type {?} */\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => this.destroyActiveAnimationsForElement(element)));\n if (this.playersByQueriedElement.size == 0)\n return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => this.finishActiveQueriedAnimationOnElement(element)));\n }\n /**\n * @param {?} element\n * @return {?}\n */\n destroyActiveAnimationsForElement(element) {\n /** @type {?} */\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n }\n else {\n player.destroy();\n }\n }));\n }\n }\n /**\n * @param {?} element\n * @return {?}\n */\n finishActiveQueriedAnimationOnElement(element) {\n /** @type {?} */\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => player.finish()));\n }\n }\n /**\n * @return {?}\n */\n whenRenderingDone() {\n return new Promise((/**\n * @param {?} resolve\n * @return {?}\n */\n resolve => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone((/**\n * @return {?}\n */\n () => resolve()));\n }\n else {\n resolve();\n }\n }));\n }\n /**\n * @param {?} element\n * @return {?}\n */\n processLeaveNode(element) {\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n /** @type {?} */\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (this.driver.matchesElement(element, DISABLED_SELECTOR)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n this.markElementAsDisabled(node, false);\n }));\n }\n /**\n * @param {?=} microtaskId\n * @return {?}\n */\n flush(microtaskId = -1) {\n /** @type {?} */\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((/**\n * @param {?} ns\n * @param {?} element\n * @return {?}\n */\n (ns, element) => this._balanceNamespaceList(ns, element)));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n /** @type {?} */\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length &&\n (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n /** @type {?} */\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n }\n finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n }\n else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n /** @type {?} */\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n /** @type {?} */\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone((/**\n * @return {?}\n */\n () => {\n quietFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n }));\n }\n else {\n quietFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n }\n }\n }\n /**\n * @param {?} errors\n * @return {?}\n */\n reportError(errors) {\n throw new Error(`Unable to process animations due to the following failed trigger transitions\\n ${errors.join('\\n')}`);\n }\n /**\n * @private\n * @param {?} cleanupFns\n * @param {?} microtaskId\n * @return {?}\n */\n _flushAnimations(cleanupFns, microtaskId) {\n /** @type {?} */\n const subTimelines = new ElementInstructionMap();\n /** @type {?} */\n const skippedPlayers = [];\n /** @type {?} */\n const skippedPlayersMap = new Map();\n /** @type {?} */\n const queuedInstructions = [];\n /** @type {?} */\n const queriedElements = new Map();\n /** @type {?} */\n const allPreStyleElements = new Map();\n /** @type {?} */\n const allPostStyleElements = new Map();\n /** @type {?} */\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n disabledElementsSet.add(node);\n /** @type {?} */\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n }));\n /** @type {?} */\n const bodyNode = this.bodyNode;\n /** @type {?} */\n const allTriggerElements = Array.from(this.statesByElement.keys());\n /** @type {?} */\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n /** @type {?} */\n const enterNodeMapIds = new Map();\n /** @type {?} */\n let i = 0;\n enterNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n /** @type {?} */\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => addClass(node, className)));\n }));\n /** @type {?} */\n const allLeaveNodes = [];\n /** @type {?} */\n const mergedLeaveNodes = new Set();\n /** @type {?} */\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n /** @type {?} */\n const element = this.collectedLeaveElements[i];\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver.query(element, STAR_SELECTOR, true).forEach((/**\n * @param {?} elm\n * @return {?}\n */\n elm => mergedLeaveNodes.add(elm)));\n }\n else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n /** @type {?} */\n const leaveNodeMapIds = new Map();\n /** @type {?} */\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n /** @type {?} */\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => addClass(node, className)));\n }));\n cleanupFns.push((/**\n * @return {?}\n */\n () => {\n enterNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n /** @type {?} */\n const className = (/** @type {?} */ (enterNodeMapIds.get(root)));\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => removeClass(node, className)));\n }));\n leaveNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n /** @type {?} */\n const className = (/** @type {?} */ (leaveNodeMapIds.get(root)));\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => removeClass(node, className)));\n }));\n allLeaveNodes.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => {\n this.processLeaveNode(element);\n }));\n }));\n /** @type {?} */\n const allPlayers = [];\n /** @type {?} */\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n /** @type {?} */\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n /** @type {?} */\n const player = entry.player;\n /** @type {?} */\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n // move animations are currently not supported...\n if (details && details.setForMove) {\n player.destroy();\n return;\n }\n }\n /** @type {?} */\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n /** @type {?} */\n const leaveClassName = (/** @type {?} */ (leaveNodeMapIds.get(element)));\n /** @type {?} */\n const enterClassName = (/** @type {?} */ (enterNodeMapIds.get(element)));\n /** @type {?} */\n const instruction = (/** @type {?} */ (this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned)));\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be apart of the DOM, it may\n // still be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important we still style the element.\n if (nodeIsOrphaned) {\n player.onStart((/**\n * @return {?}\n */\n () => eraseStyles(element, instruction.fromStyles)));\n player.onDestroy((/**\n * @return {?}\n */\n () => setStyles(element, instruction.toStyles)));\n skippedPlayers.push(player);\n return;\n }\n // if a unmatched transition is queued to go then it SHOULD NOT render\n // an animation and cancel the previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart((/**\n * @return {?}\n */\n () => eraseStyles(element, instruction.fromStyles)));\n player.onDestroy((/**\n * @return {?}\n */\n () => setStyles(element, instruction.toStyles)));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub trigger\n // then it will instruct the timeline builder to not add a player delay, but\n // instead stretch the first keyframe gap up until the animation starts. The\n // reason this is important is to prevent extra initialization styles from being\n // required by the user in the animation.\n instruction.timelines.forEach((/**\n * @param {?} tl\n * @return {?}\n */\n tl => tl.stretchStartingKeyframe = true));\n subTimelines.append(element, instruction.timelines);\n /** @type {?} */\n const tuple = { instruction, player, element };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => getOrSetAsInMap(queriedElements, element, []).push(player)));\n instruction.preStyleProps.forEach((/**\n * @param {?} stringMap\n * @param {?} element\n * @return {?}\n */\n (stringMap, element) => {\n /** @type {?} */\n const props = Object.keys(stringMap);\n if (props.length) {\n /** @type {?} */\n let setVal = (/** @type {?} */ (allPreStyleElements.get(element)));\n if (!setVal) {\n allPreStyleElements.set(element, setVal = new Set());\n }\n props.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => setVal.add(prop)));\n }\n }));\n instruction.postStyleProps.forEach((/**\n * @param {?} stringMap\n * @param {?} element\n * @return {?}\n */\n (stringMap, element) => {\n /** @type {?} */\n const props = Object.keys(stringMap);\n /** @type {?} */\n let setVal = (/** @type {?} */ (allPostStyleElements.get(element)));\n if (!setVal) {\n allPostStyleElements.set(element, setVal = new Set());\n }\n props.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => setVal.add(prop)));\n }));\n }));\n }\n if (erroneousTransitions.length) {\n /** @type {?} */\n const errors = [];\n erroneousTransitions.forEach((/**\n * @param {?} instruction\n * @return {?}\n */\n instruction => {\n errors.push(`@${instruction.triggerName} has failed due to:\\n`);\n (/** @type {?} */ (instruction.errors)).forEach((/**\n * @param {?} error\n * @return {?}\n */\n error => errors.push(`- ${error}\\n`)));\n }));\n allPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => player.destroy()));\n this.reportError(errors);\n }\n /** @type {?} */\n const allPreviousPlayersMap = new Map();\n // this map works to tell which element in the DOM tree is contained by\n // which animation. Further down below this map will get populated once\n // the players are built and in doing so it can efficiently figure out\n // if a sub player is skipped due to a parent player having priority.\n /** @type {?} */\n const animationElementMap = new Map();\n queuedInstructions.forEach((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n /** @type {?} */\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n }));\n skippedPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n /** @type {?} */\n const element = player.element;\n /** @type {?} */\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach((/**\n * @param {?} prevPlayer\n * @return {?}\n */\n prevPlayer => {\n getOrSetAsInMap(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n }));\n }));\n // this is a special case for nodes that will be removed (either by)\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or auto since the element\n // that is being getComputedStyle'd will not be visible (since * = destination)\n /** @type {?} */\n const replaceNodes = allLeaveNodes.filter((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n }));\n // POST STAGE: fill the * styles\n /** @type {?} */\n const postStylesMap = new Map();\n /** @type {?} */\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n }));\n // PRE STAGE: fill the ! styles\n /** @type {?} */\n const preStylesMap = new Map();\n enterNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, ɵPRE_STYLE);\n }));\n replaceNodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n /** @type {?} */\n const post = postStylesMap.get(node);\n /** @type {?} */\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, (/** @type {?} */ (Object.assign(Object.assign({}, post), pre))));\n }));\n /** @type {?} */\n const rootPlayers = [];\n /** @type {?} */\n const subPlayers = [];\n /** @type {?} */\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n const { element, player, instruction } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy((/**\n * @return {?}\n */\n () => setStyles(element, instruction.toStyles)));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n /** @type {?} */\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n /** @type {?} */\n let elm = element;\n /** @type {?} */\n const parentsToAdd = [];\n while (elm = elm.parentNode) {\n /** @type {?} */\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach((/**\n * @param {?} parent\n * @return {?}\n */\n parent => animationElementMap.set(parent, parentWithAnimation)));\n }\n /** @type {?} */\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n }\n else {\n /** @type {?} */\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n }\n else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy((/**\n * @return {?}\n */\n () => setStyles(element, instruction.toStyles)));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n }));\n // find all of the sub players' corresponding inner animation player\n subPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n // even if any players are not found for a sub animation then it\n // will still complete itself after the next tick since it's Noop\n /** @type {?} */\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n /** @type {?} */\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n }));\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n }\n else {\n player.destroy();\n }\n }));\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n /** @type {?} */\n const element = allLeaveNodes[i];\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation)\n continue;\n /** @type {?} */\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n /** @type {?} */\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n /** @type {?} */\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n /** @type {?} */\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n /** @type {?} */\n const activePlayers = players.filter((/**\n * @param {?} p\n * @return {?}\n */\n p => !p.destroyed));\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n }\n else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n this.players.push(player);\n player.onDone((/**\n * @return {?}\n */\n () => {\n player.destroy();\n /** @type {?} */\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n }));\n player.play();\n }));\n return rootPlayers;\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @return {?}\n */\n elementContainsData(namespaceId, element) {\n /** @type {?} */\n let containsData = false;\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n if (details && details.setForRemoval)\n containsData = true;\n if (this.playersByElement.has(element))\n containsData = true;\n if (this.playersByQueriedElement.has(element))\n containsData = true;\n if (this.statesByElement.has(element))\n containsData = true;\n return this._fetchNamespace(namespaceId).elementContainsData(element) || containsData;\n }\n /**\n * @param {?} callback\n * @return {?}\n */\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n /**\n * @param {?} callback\n * @return {?}\n */\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n /**\n * @private\n * @param {?} element\n * @param {?} isQueriedElement\n * @param {?=} namespaceId\n * @param {?=} triggerName\n * @param {?=} toStateValue\n * @return {?}\n */\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n /** @type {?} */\n let players = [];\n if (isQueriedElement) {\n /** @type {?} */\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n }\n else {\n /** @type {?} */\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n /** @type {?} */\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n if (player.queued)\n return;\n if (!isRemovalAnimation && player.triggerName != triggerName)\n return;\n players.push(player);\n }));\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n if (namespaceId && namespaceId != player.namespaceId)\n return false;\n if (triggerName && triggerName != player.triggerName)\n return false;\n return true;\n }));\n }\n return players;\n }\n /**\n * @private\n * @param {?} namespaceId\n * @param {?} instruction\n * @param {?} allPreviousPlayersMap\n * @return {?}\n */\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n /** @type {?} */\n const triggerName = instruction.triggerName;\n /** @type {?} */\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n /** @type {?} */\n const targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n /** @type {?} */\n const targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n /** @type {?} */\n const element = timelineInstruction.element;\n /** @type {?} */\n const isQueriedElement = element !== rootElement;\n /** @type {?} */\n const players = getOrSetAsInMap(allPreviousPlayersMap, element, []);\n /** @type {?} */\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n /** @type {?} */\n const realPlayer = (/** @type {?} */ (((/** @type {?} */ (player))).getRealPlayer()));\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n }));\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n /**\n * @private\n * @param {?} namespaceId\n * @param {?} instruction\n * @param {?} allPreviousPlayersMap\n * @param {?} skippedPlayersMap\n * @param {?} preStylesMap\n * @param {?} postStylesMap\n * @return {?}\n */\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n /** @type {?} */\n const triggerName = instruction.triggerName;\n /** @type {?} */\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n /** @type {?} */\n const allQueriedPlayers = [];\n /** @type {?} */\n const allConsumedElements = new Set();\n /** @type {?} */\n const allSubElements = new Set();\n /** @type {?} */\n const allNewPlayers = instruction.timelines.map((/**\n * @param {?} timelineInstruction\n * @return {?}\n */\n timelineInstruction => {\n /** @type {?} */\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n /** @type {?} */\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried)\n return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n /** @type {?} */\n const isQueriedElement = element !== rootElement;\n /** @type {?} */\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY)\n .map((/**\n * @param {?} p\n * @return {?}\n */\n p => p.getRealPlayer())))\n .filter((/**\n * @param {?} p\n * @return {?}\n */\n p => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n /** @type {?} */\n const pp = (/** @type {?} */ (p));\n return pp.element ? pp.element === element : false;\n }));\n /** @type {?} */\n const preStyles = preStylesMap.get(element);\n /** @type {?} */\n const postStyles = postStylesMap.get(element);\n /** @type {?} */\n const keyframes = normalizeKeyframes(this.driver, this._normalizer, element, timelineInstruction.keyframes, preStyles, postStyles);\n /** @type {?} */\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n /** @type {?} */\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n }));\n allQueriedPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n getOrSetAsInMap(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone((/**\n * @return {?}\n */\n () => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player)));\n }));\n allConsumedElements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => addClass(element, NG_ANIMATING_CLASSNAME)));\n /** @type {?} */\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy((/**\n * @return {?}\n */\n () => {\n allConsumedElements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => removeClass(element, NG_ANIMATING_CLASSNAME)));\n setStyles(rootElement, instruction.toStyles);\n }));\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => {\n getOrSetAsInMap(skippedPlayersMap, element, []).push(player);\n }));\n return player;\n }\n /**\n * @private\n * @param {?} instruction\n * @param {?} keyframes\n * @param {?} previousPlayers\n * @return {?}\n */\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nif (false) {\n /** @type {?} */\n TransitionAnimationEngine.prototype.players;\n /** @type {?} */\n TransitionAnimationEngine.prototype.newHostElements;\n /** @type {?} */\n TransitionAnimationEngine.prototype.playersByElement;\n /** @type {?} */\n TransitionAnimationEngine.prototype.playersByQueriedElement;\n /** @type {?} */\n TransitionAnimationEngine.prototype.statesByElement;\n /** @type {?} */\n TransitionAnimationEngine.prototype.disabledNodes;\n /** @type {?} */\n TransitionAnimationEngine.prototype.totalAnimations;\n /** @type {?} */\n TransitionAnimationEngine.prototype.totalQueuedPlayers;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._namespaceLookup;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._namespaceList;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._flushFns;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._whenQuietFns;\n /** @type {?} */\n TransitionAnimationEngine.prototype.namespacesByHostElement;\n /** @type {?} */\n TransitionAnimationEngine.prototype.collectedEnterElements;\n /** @type {?} */\n TransitionAnimationEngine.prototype.collectedLeaveElements;\n /** @type {?} */\n TransitionAnimationEngine.prototype.onRemovalComplete;\n /** @type {?} */\n TransitionAnimationEngine.prototype.bodyNode;\n /** @type {?} */\n TransitionAnimationEngine.prototype.driver;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._normalizer;\n}\nclass TransitionAnimationPlayer {\n /**\n * @param {?} namespaceId\n * @param {?} triggerName\n * @param {?} element\n */\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n this._player = new NoopAnimationPlayer();\n this._containsRealPlayer = false;\n this._queuedCallbacks = {};\n this.destroyed = false;\n this.markedForDestroy = false;\n this.disabled = false;\n this.queued = true;\n this.totalTime = 0;\n }\n /**\n * @param {?} player\n * @return {?}\n */\n setRealPlayer(player) {\n if (this._containsRealPlayer)\n return;\n this._player = player;\n Object.keys(this._queuedCallbacks).forEach((/**\n * @param {?} phase\n * @return {?}\n */\n phase => {\n this._queuedCallbacks[phase].forEach((/**\n * @param {?} callback\n * @return {?}\n */\n callback => listenOnPlayer(player, phase, undefined, callback)));\n }));\n this._queuedCallbacks = {};\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n ((/** @type {?} */ (this))).queued = false;\n }\n /**\n * @return {?}\n */\n getRealPlayer() {\n return this._player;\n }\n /**\n * @param {?} totalTime\n * @return {?}\n */\n overrideTotalTime(totalTime) {\n ((/** @type {?} */ (this))).totalTime = totalTime;\n }\n /**\n * @param {?} player\n * @return {?}\n */\n syncPlayerEvents(player) {\n /** @type {?} */\n const p = (/** @type {?} */ (this._player));\n if (p.triggerCallback) {\n player.onStart((/**\n * @return {?}\n */\n () => (/** @type {?} */ (p.triggerCallback))('start')));\n }\n player.onDone((/**\n * @return {?}\n */\n () => this.finish()));\n player.onDestroy((/**\n * @return {?}\n */\n () => this.destroy()));\n }\n /**\n * @private\n * @param {?} name\n * @param {?} callback\n * @return {?}\n */\n _queueEvent(name, callback) {\n getOrSetAsInMap(this._queuedCallbacks, name, []).push(callback);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n /**\n * @return {?}\n */\n init() {\n this._player.init();\n }\n /**\n * @return {?}\n */\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n /**\n * @return {?}\n */\n play() {\n !this.queued && this._player.play();\n }\n /**\n * @return {?}\n */\n pause() {\n !this.queued && this._player.pause();\n }\n /**\n * @return {?}\n */\n restart() {\n !this.queued && this._player.restart();\n }\n /**\n * @return {?}\n */\n finish() {\n this._player.finish();\n }\n /**\n * @return {?}\n */\n destroy() {\n ((/** @type {?} */ (this))).destroyed = true;\n this._player.destroy();\n }\n /**\n * @return {?}\n */\n reset() {\n !this.queued && this._player.reset();\n }\n /**\n * @param {?} p\n * @return {?}\n */\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n /**\n * @return {?}\n */\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /**\n * \\@internal\n * @param {?} phaseName\n * @return {?}\n */\n triggerCallback(phaseName) {\n /** @type {?} */\n const p = (/** @type {?} */ (this._player));\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationPlayer.prototype._player;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationPlayer.prototype._containsRealPlayer;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationPlayer.prototype._queuedCallbacks;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.destroyed;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.parentPlayer;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.markedForDestroy;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.disabled;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.queued;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.totalTime;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.namespaceId;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.triggerName;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.element;\n}\n/**\n * @param {?} map\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction deleteOrUnsetInMap(map, key, value) {\n /** @type {?} */\n let currentValues;\n if (map instanceof Map) {\n currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n /** @type {?} */\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n }\n else {\n currentValues = map[key];\n if (currentValues) {\n if (currentValues.length) {\n /** @type {?} */\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n delete map[key];\n }\n }\n }\n return currentValues;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\n/**\n * @param {?} eventName\n * @return {?}\n */\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\n/**\n * @param {?} element\n * @param {?=} value\n * @return {?}\n */\nfunction cloakElement(element, value) {\n /** @type {?} */\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\n/**\n * @param {?} valuesMap\n * @param {?} driver\n * @param {?} elements\n * @param {?} elementPropsMap\n * @param {?} defaultStyle\n * @return {?}\n */\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n /** @type {?} */\n const cloakVals = [];\n elements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => cloakVals.push(cloakElement(element))));\n /** @type {?} */\n const failedElements = [];\n elementPropsMap.forEach((/**\n * @param {?} props\n * @param {?} element\n * @return {?}\n */\n (props, element) => {\n /** @type {?} */\n const styles = {};\n props.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const value = styles[prop] = driver.computeStyle(element, prop, defaultStyle);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n }));\n valuesMap.set(element, styles);\n }));\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n /** @type {?} */\n let i = 0;\n elements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => cloakElement(element, cloakVals[i++])));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\n/**\n * @param {?} roots\n * @param {?} nodes\n * @return {?}\n */\nfunction buildRootMap(roots, nodes) {\n /** @type {?} */\n const rootMap = new Map();\n roots.forEach((/**\n * @param {?} root\n * @return {?}\n */\n root => rootMap.set(root, [])));\n if (nodes.length == 0)\n return rootMap;\n /** @type {?} */\n const NULL_NODE = 1;\n /** @type {?} */\n const nodeSet = new Set(nodes);\n /** @type {?} */\n const localRootMap = new Map();\n /**\n * @param {?} node\n * @return {?}\n */\n function getRoot(node) {\n if (!node)\n return NULL_NODE;\n /** @type {?} */\n let root = localRootMap.get(node);\n if (root)\n return root;\n /** @type {?} */\n const parent = node.parentNode;\n if (rootMap.has(parent)) { // ngIf inside @trigger\n root = parent;\n }\n else if (nodeSet.has(parent)) { // ngIf inside ngIf\n root = NULL_NODE;\n }\n else { // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n /** @type {?} */\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n (/** @type {?} */ (rootMap.get(root))).push(node);\n }\n }));\n return rootMap;\n}\n/** @type {?} */\nconst CLASSES_CACHE_KEY = '$$classes';\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction containsClass(element, className) {\n if (element.classList) {\n return element.classList.contains(className);\n }\n else {\n /** @type {?} */\n const classes = element[CLASSES_CACHE_KEY];\n return classes && classes[className];\n }\n}\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction addClass(element, className) {\n if (element.classList) {\n element.classList.add(className);\n }\n else {\n /** @type {?} */\n let classes = element[CLASSES_CACHE_KEY];\n if (!classes) {\n classes = element[CLASSES_CACHE_KEY] = {};\n }\n classes[className] = true;\n }\n}\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n }\n else {\n /** @type {?} */\n let classes = element[CLASSES_CACHE_KEY];\n if (classes) {\n delete classes[className];\n }\n }\n}\n/**\n * @param {?} engine\n * @param {?} element\n * @param {?} players\n * @return {?}\n */\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone((/**\n * @return {?}\n */\n () => engine.processLeaveNode(element)));\n}\n/**\n * @param {?} players\n * @return {?}\n */\nfunction flattenGroupPlayers(players) {\n /** @type {?} */\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\n/**\n * @param {?} players\n * @param {?} finalPlayers\n * @return {?}\n */\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n /** @type {?} */\n const player = players[i];\n if (player instanceof ɵAnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n }\n else {\n finalPlayers.push(player);\n }\n }\n}\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction objEquals(a, b) {\n /** @type {?} */\n const k1 = Object.keys(a);\n /** @type {?} */\n const k2 = Object.keys(b);\n if (k1.length != k2.length)\n return false;\n for (let i = 0; i < k1.length; i++) {\n /** @type {?} */\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop])\n return false;\n }\n return true;\n}\n/**\n * @param {?} element\n * @param {?} allPreStyleElements\n * @param {?} allPostStyleElements\n * @return {?}\n */\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n /** @type {?} */\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry)\n return false;\n /** @type {?} */\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach((/**\n * @param {?} data\n * @return {?}\n */\n data => (/** @type {?} */ (preEntry)).add(data)));\n }\n else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/animation_engine_next.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass AnimationEngine {\n /**\n * @param {?} bodyNode\n * @param {?} _driver\n * @param {?} normalizer\n */\n constructor(bodyNode, _driver, normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (/**\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n (element, context) => { });\n this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, normalizer);\n this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, normalizer);\n this._transitionEngine.onRemovalComplete = (/**\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n (element, context) => this.onRemovalComplete(element, context));\n }\n /**\n * @param {?} componentId\n * @param {?} namespaceId\n * @param {?} hostElement\n * @param {?} name\n * @param {?} metadata\n * @return {?}\n */\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n /** @type {?} */\n const cacheKey = componentId + '-' + name;\n /** @type {?} */\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const ast = (/** @type {?} */ (buildAnimationAst(this._driver, (/** @type {?} */ (metadata)), errors)));\n if (errors.length) {\n throw new Error(`The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors.join('\\n - ')}`);\n }\n trigger = buildTrigger(name, ast);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n /**\n * @param {?} namespaceId\n * @param {?} hostElement\n * @return {?}\n */\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n /**\n * @param {?} namespaceId\n * @param {?} context\n * @return {?}\n */\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} parent\n * @param {?} insertBefore\n * @return {?}\n */\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} context\n * @param {?=} isHostElement\n * @return {?}\n */\n onRemove(namespaceId, element, context, isHostElement) {\n this._transitionEngine.removeNode(namespaceId, element, isHostElement || false, context);\n }\n /**\n * @param {?} element\n * @param {?} disable\n * @return {?}\n */\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} property\n * @param {?} value\n * @return {?}\n */\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n /** @type {?} */\n const args = (/** @type {?} */ (value));\n this._timelineEngine.command(id, element, action, args);\n }\n else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} eventName\n * @param {?} eventPhase\n * @param {?} callback\n * @return {?}\n */\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n /**\n * @param {?=} microtaskId\n * @return {?}\n */\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n /**\n * @return {?}\n */\n get players() {\n return ((/** @type {?} */ (this._transitionEngine.players)))\n .concat((/** @type {?} */ (this._timelineEngine.players)));\n }\n /**\n * @return {?}\n */\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype._transitionEngine;\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype._timelineEngine;\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype._triggerCache;\n /** @type {?} */\n AnimationEngine.prototype.onRemovalComplete;\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype.bodyNode;\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype._driver;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/special_cased_styles.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @param {?} element\n * @param {?} styles\n * @return {?} an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n /** @type {?} */\n let startStyles = null;\n /** @type {?} */\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n }\n else if (styles) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return (startStyles || endStyles) ? new SpecialCasedStyles(element, startStyles, endStyles) :\n null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n /**\n * @param {?} _element\n * @param {?} _startStyles\n * @param {?} _endStyles\n */\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n this._state = 0 /* Pending */;\n /** @type {?} */\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = {});\n }\n this._initialStyles = initialStyles;\n }\n /**\n * @return {?}\n */\n start() {\n if (this._state < 1 /* Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* Started */;\n }\n }\n /**\n * @return {?}\n */\n finish() {\n this.start();\n if (this._state < 2 /* Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* Started */;\n }\n }\n /**\n * @return {?}\n */\n destroy() {\n this.finish();\n if (this._state < 3 /* Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* Destroyed */;\n }\n }\n}\nSpecialCasedStyles.initialStylesByElement = new WeakMap();\nif (false) {\n /** @type {?} */\n SpecialCasedStyles.initialStylesByElement;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._state;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._initialStyles;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._element;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._startStyles;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._endStyles;\n}\n/** @enum {number} */\nconst SpecialCasedStylesState = {\n Pending: 0,\n Started: 1,\n Finished: 2,\n Destroyed: 3,\n};\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction filterNonAnimatableStyles(styles) {\n /** @type {?} */\n let result = null;\n /** @type {?} */\n const props = Object.keys(styles);\n for (let i = 0; i < props.length; i++) {\n /** @type {?} */\n const prop = props[i];\n if (isNonAnimatableStyle(prop)) {\n result = result || {};\n result[prop] = styles[prop];\n }\n }\n return result;\n}\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/css_keyframes/element_animation_style_handler.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;\n/** @type {?} */\nconst ANIMATION_PROP = 'animation';\n/** @type {?} */\nconst ANIMATIONEND_EVENT = 'animationend';\n/** @type {?} */\nconst ONE_SECOND$1 = 1000;\nclass ElementAnimationStyleHandler {\n /**\n * @param {?} _element\n * @param {?} _name\n * @param {?} _duration\n * @param {?} _delay\n * @param {?} _easing\n * @param {?} _fillMode\n * @param {?} _onDoneFn\n */\n constructor(_element, _name, _duration, _delay, _easing, _fillMode, _onDoneFn) {\n this._element = _element;\n this._name = _name;\n this._duration = _duration;\n this._delay = _delay;\n this._easing = _easing;\n this._fillMode = _fillMode;\n this._onDoneFn = _onDoneFn;\n this._finished = false;\n this._destroyed = false;\n this._startTime = 0;\n this._position = 0;\n this._eventFn = (/**\n * @param {?} e\n * @return {?}\n */\n (e) => this._handleCallback(e));\n }\n /**\n * @return {?}\n */\n apply() {\n applyKeyframeAnimation(this._element, `${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`);\n addRemoveAnimationEvent(this._element, this._eventFn, false);\n this._startTime = Date.now();\n }\n /**\n * @return {?}\n */\n pause() {\n playPauseAnimation(this._element, this._name, 'paused');\n }\n /**\n * @return {?}\n */\n resume() {\n playPauseAnimation(this._element, this._name, 'running');\n }\n /**\n * @param {?} position\n * @return {?}\n */\n setPosition(position) {\n /** @type {?} */\n const index = findIndexForAnimation(this._element, this._name);\n this._position = position * this._duration;\n setAnimationStyle(this._element, 'Delay', `-${this._position}ms`, index);\n }\n /**\n * @return {?}\n */\n getPosition() {\n return this._position;\n }\n /**\n * @private\n * @param {?} event\n * @return {?}\n */\n _handleCallback(event) {\n /** @type {?} */\n const timestamp = event._ngTestManualTimestamp || Date.now();\n /** @type {?} */\n const elapsedTime = parseFloat(event.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES)) * ONE_SECOND$1;\n if (event.animationName == this._name &&\n Math.max(timestamp - this._startTime, 0) >= this._delay && elapsedTime >= this._duration) {\n this.finish();\n }\n }\n /**\n * @return {?}\n */\n finish() {\n if (this._finished)\n return;\n this._finished = true;\n this._onDoneFn();\n addRemoveAnimationEvent(this._element, this._eventFn, true);\n }\n /**\n * @return {?}\n */\n destroy() {\n if (this._destroyed)\n return;\n this._destroyed = true;\n this.finish();\n removeKeyframeAnimation(this._element, this._name);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._eventFn;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._finished;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._destroyed;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._startTime;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._position;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._element;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._name;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._duration;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._delay;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._easing;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._fillMode;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._onDoneFn;\n}\n/**\n * @param {?} element\n * @param {?} name\n * @param {?} status\n * @return {?}\n */\nfunction playPauseAnimation(element, name, status) {\n /** @type {?} */\n const index = findIndexForAnimation(element, name);\n setAnimationStyle(element, 'PlayState', status, index);\n}\n/**\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\nfunction applyKeyframeAnimation(element, value) {\n /** @type {?} */\n const anim = getAnimationStyle(element, '').trim();\n /** @type {?} */\n let index = 0;\n if (anim.length) {\n index = countChars(anim, ',') + 1;\n value = `${anim}, ${value}`;\n }\n setAnimationStyle(element, '', value);\n return index;\n}\n/**\n * @param {?} element\n * @param {?} name\n * @return {?}\n */\nfunction removeKeyframeAnimation(element, name) {\n /** @type {?} */\n const anim = getAnimationStyle(element, '');\n /** @type {?} */\n const tokens = anim.split(',');\n /** @type {?} */\n const index = findMatchingTokenIndex(tokens, name);\n if (index >= 0) {\n tokens.splice(index, 1);\n /** @type {?} */\n const newValue = tokens.join(',');\n setAnimationStyle(element, '', newValue);\n }\n}\n/**\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\nfunction findIndexForAnimation(element, value) {\n /** @type {?} */\n const anim = getAnimationStyle(element, '');\n if (anim.indexOf(',') > 0) {\n /** @type {?} */\n const tokens = anim.split(',');\n return findMatchingTokenIndex(tokens, value);\n }\n return findMatchingTokenIndex([anim], value);\n}\n/**\n * @param {?} tokens\n * @param {?} searchToken\n * @return {?}\n */\nfunction findMatchingTokenIndex(tokens, searchToken) {\n for (let i = 0; i < tokens.length; i++) {\n if (tokens[i].indexOf(searchToken) >= 0) {\n return i;\n }\n }\n return -1;\n}\n/**\n * @param {?} element\n * @param {?} fn\n * @param {?} doRemove\n * @return {?}\n */\nfunction addRemoveAnimationEvent(element, fn, doRemove) {\n doRemove ? element.removeEventListener(ANIMATIONEND_EVENT, fn) :\n element.addEventListener(ANIMATIONEND_EVENT, fn);\n}\n/**\n * @param {?} element\n * @param {?} name\n * @param {?} value\n * @param {?=} index\n * @return {?}\n */\nfunction setAnimationStyle(element, name, value, index) {\n /** @type {?} */\n const prop = ANIMATION_PROP + name;\n if (index != null) {\n /** @type {?} */\n const oldValue = element.style[prop];\n if (oldValue.length) {\n /** @type {?} */\n const tokens = oldValue.split(',');\n tokens[index] = value;\n value = tokens.join(',');\n }\n }\n element.style[prop] = value;\n}\n/**\n * @param {?} element\n * @param {?} name\n * @return {?}\n */\nfunction getAnimationStyle(element, name) {\n return element.style[ANIMATION_PROP + name];\n}\n/**\n * @param {?} value\n * @param {?} char\n * @return {?}\n */\nfunction countChars(value, char) {\n /** @type {?} */\n let count = 0;\n for (let i = 0; i < value.length; i++) {\n /** @type {?} */\n const c = value.charAt(i);\n if (c === char)\n count++;\n }\n return count;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/css_keyframes/css_keyframes_player.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_FILL_MODE = 'forwards';\n/** @type {?} */\nconst DEFAULT_EASING = 'linear';\n/** @enum {number} */\nconst AnimatorControlState = {\n INITIALIZED: 1,\n STARTED: 2,\n FINISHED: 3,\n DESTROYED: 4,\n};\nclass CssKeyframesPlayer {\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} animationName\n * @param {?} _duration\n * @param {?} _delay\n * @param {?} easing\n * @param {?} _finalStyles\n * @param {?=} _specialStyles\n */\n constructor(element, keyframes, animationName, _duration, _delay, easing, _finalStyles, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.animationName = animationName;\n this._duration = _duration;\n this._delay = _delay;\n this._finalStyles = _finalStyles;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._started = false;\n this.currentSnapshot = {};\n this._state = 0;\n this.easing = easing || DEFAULT_EASING;\n this.totalTime = _duration + _delay;\n this._buildStyler();\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onStart(fn) {\n this._onStartFns.push(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDone(fn) {\n this._onDoneFns.push(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n /**\n * @return {?}\n */\n destroy() {\n this.init();\n if (this._state >= 4 /* DESTROYED */)\n return;\n this._state = 4 /* DESTROYED */;\n this._styler.destroy();\n this._flushStartFns();\n this._flushDoneFns();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onDestroyFns = [];\n }\n /**\n * @private\n * @return {?}\n */\n _flushDoneFns() {\n this._onDoneFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onDoneFns = [];\n }\n /**\n * @private\n * @return {?}\n */\n _flushStartFns() {\n this._onStartFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onStartFns = [];\n }\n /**\n * @return {?}\n */\n finish() {\n this.init();\n if (this._state >= 3 /* FINISHED */)\n return;\n this._state = 3 /* FINISHED */;\n this._styler.finish();\n this._flushStartFns();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._flushDoneFns();\n }\n /**\n * @param {?} value\n * @return {?}\n */\n setPosition(value) {\n this._styler.setPosition(value);\n }\n /**\n * @return {?}\n */\n getPosition() {\n return this._styler.getPosition();\n }\n /**\n * @return {?}\n */\n hasStarted() {\n return this._state >= 2 /* STARTED */;\n }\n /**\n * @return {?}\n */\n init() {\n if (this._state >= 1 /* INITIALIZED */)\n return;\n this._state = 1 /* INITIALIZED */;\n /** @type {?} */\n const elm = this.element;\n this._styler.apply();\n if (this._delay) {\n this._styler.pause();\n }\n }\n /**\n * @return {?}\n */\n play() {\n this.init();\n if (!this.hasStarted()) {\n this._flushStartFns();\n this._state = 2 /* STARTED */;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this._styler.resume();\n }\n /**\n * @return {?}\n */\n pause() {\n this.init();\n this._styler.pause();\n }\n /**\n * @return {?}\n */\n restart() {\n this.reset();\n this.play();\n }\n /**\n * @return {?}\n */\n reset() {\n this._styler.destroy();\n this._buildStyler();\n this._styler.apply();\n }\n /**\n * @private\n * @return {?}\n */\n _buildStyler() {\n this._styler = new ElementAnimationStyleHandler(this.element, this.animationName, this._duration, this._delay, this.easing, DEFAULT_FILL_MODE, (/**\n * @return {?}\n */\n () => this.finish()));\n }\n /**\n * \\@internal\n * @param {?} phaseName\n * @return {?}\n */\n triggerCallback(phaseName) {\n /** @type {?} */\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n methods.length = 0;\n }\n /**\n * @return {?}\n */\n beforeDestroy() {\n this.init();\n /** @type {?} */\n const styles = {};\n if (this.hasStarted()) {\n /** @type {?} */\n const finished = this._state >= 3 /* FINISHED */;\n Object.keys(this._finalStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (prop != 'offset') {\n styles[prop] = finished ? this._finalStyles[prop] : computeStyle(this.element, prop);\n }\n }));\n }\n this.currentSnapshot = styles;\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._onDoneFns;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._onStartFns;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._onDestroyFns;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._started;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._styler;\n /** @type {?} */\n CssKeyframesPlayer.prototype.parentPlayer;\n /** @type {?} */\n CssKeyframesPlayer.prototype.totalTime;\n /** @type {?} */\n CssKeyframesPlayer.prototype.easing;\n /** @type {?} */\n CssKeyframesPlayer.prototype.currentSnapshot;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._state;\n /** @type {?} */\n CssKeyframesPlayer.prototype.element;\n /** @type {?} */\n CssKeyframesPlayer.prototype.keyframes;\n /** @type {?} */\n CssKeyframesPlayer.prototype.animationName;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._duration;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._delay;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._finalStyles;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._specialStyles;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/css_keyframes/direct_style_player.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass DirectStylePlayer extends NoopAnimationPlayer {\n /**\n * @param {?} element\n * @param {?} styles\n */\n constructor(element, styles) {\n super();\n this.element = element;\n this._startingStyles = {};\n this.__initialized = false;\n this._styles = hypenatePropsObject(styles);\n }\n /**\n * @return {?}\n */\n init() {\n if (this.__initialized || !this._startingStyles)\n return;\n this.__initialized = true;\n Object.keys(this._styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n (/** @type {?} */ (this._startingStyles))[prop] = this.element.style[prop];\n }));\n super.init();\n }\n /**\n * @return {?}\n */\n play() {\n if (!this._startingStyles)\n return;\n this.init();\n Object.keys(this._styles)\n .forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => this.element.style.setProperty(prop, this._styles[prop])));\n super.play();\n }\n /**\n * @return {?}\n */\n destroy() {\n if (!this._startingStyles)\n return;\n Object.keys(this._startingStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const value = (/** @type {?} */ (this._startingStyles))[prop];\n if (value) {\n this.element.style.setProperty(prop, value);\n }\n else {\n this.element.style.removeProperty(prop);\n }\n }));\n this._startingStyles = null;\n super.destroy();\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n DirectStylePlayer.prototype._startingStyles;\n /**\n * @type {?}\n * @private\n */\n DirectStylePlayer.prototype.__initialized;\n /**\n * @type {?}\n * @private\n */\n DirectStylePlayer.prototype._styles;\n /** @type {?} */\n DirectStylePlayer.prototype.element;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/css_keyframes/css_keyframes_driver.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst KEYFRAMES_NAME_PREFIX = 'gen_css_kf_';\n/** @type {?} */\nconst TAB_SPACE = ' ';\nclass CssKeyframesDriver {\n constructor() {\n this._count = 0;\n this._head = document.querySelector('head');\n this._warningIssued = false;\n }\n /**\n * @param {?} prop\n * @return {?}\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n matchesElement(element, selector) {\n return matchesElement(element, selector);\n }\n /**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @param {?} element\n * @param {?} prop\n * @param {?=} defaultValue\n * @return {?}\n */\n computeStyle(element, prop, defaultValue) {\n return (/** @type {?} */ (((/** @type {?} */ (window.getComputedStyle(element))))[prop]));\n }\n /**\n * @param {?} element\n * @param {?} name\n * @param {?} keyframes\n * @return {?}\n */\n buildKeyframeElement(element, name, keyframes) {\n keyframes = keyframes.map((/**\n * @param {?} kf\n * @return {?}\n */\n kf => hypenatePropsObject(kf)));\n /** @type {?} */\n let keyframeStr = `@keyframes ${name} {\\n`;\n /** @type {?} */\n let tab = '';\n keyframes.forEach((/**\n * @param {?} kf\n * @return {?}\n */\n kf => {\n tab = TAB_SPACE;\n /** @type {?} */\n const offset = parseFloat(kf['offset']);\n keyframeStr += `${tab}${offset * 100}% {\\n`;\n tab += TAB_SPACE;\n Object.keys(kf).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const value = kf[prop];\n switch (prop) {\n case 'offset':\n return;\n case 'easing':\n if (value) {\n keyframeStr += `${tab}animation-timing-function: ${value};\\n`;\n }\n return;\n default:\n keyframeStr += `${tab}${prop}: ${value};\\n`;\n return;\n }\n }));\n keyframeStr += `${tab}}\\n`;\n }));\n keyframeStr += `}\\n`;\n /** @type {?} */\n const kfElm = document.createElement('style');\n kfElm.innerHTML = keyframeStr;\n return kfElm;\n }\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @param {?=} previousPlayers\n * @param {?=} scrubberAccessRequested\n * @return {?}\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n if (scrubberAccessRequested) {\n this._notifyFaultyScrubber();\n }\n /** @type {?} */\n const previousCssKeyframePlayers = (/** @type {?} */ (previousPlayers.filter((/**\n * @param {?} player\n * @return {?}\n */\n player => player instanceof CssKeyframesPlayer))));\n /** @type {?} */\n const previousStyles = {};\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousCssKeyframePlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n /** @type {?} */\n let styles = player.currentSnapshot;\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => previousStyles[prop] = styles[prop]));\n }));\n }\n keyframes = balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles);\n /** @type {?} */\n const finalStyles = flattenKeyframesIntoStyles(keyframes);\n // if there is no animation then there is no point in applying\n // styles and waiting for an event to get fired. This causes lag.\n // It's better to just directly apply the styles to the element\n // via the direct styling animation player.\n if (duration == 0) {\n return new DirectStylePlayer(element, finalStyles);\n }\n /** @type {?} */\n const animationName = `${KEYFRAMES_NAME_PREFIX}${this._count++}`;\n /** @type {?} */\n const kfElm = this.buildKeyframeElement(element, animationName, keyframes);\n (/** @type {?} */ (document.querySelector('head'))).appendChild(kfElm);\n /** @type {?} */\n const specialStyles = packageNonAnimatableStyles(element, keyframes);\n /** @type {?} */\n const player = new CssKeyframesPlayer(element, keyframes, animationName, duration, delay, easing, finalStyles, specialStyles);\n player.onDestroy((/**\n * @return {?}\n */\n () => removeElement(kfElm)));\n return player;\n }\n /**\n * @private\n * @return {?}\n */\n _notifyFaultyScrubber() {\n if (!this._warningIssued) {\n console.warn('@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\\n', ' visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill.');\n this._warningIssued = true;\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n CssKeyframesDriver.prototype._count;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesDriver.prototype._head;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesDriver.prototype._warningIssued;\n}\n/**\n * @param {?} keyframes\n * @return {?}\n */\nfunction flattenKeyframesIntoStyles(keyframes) {\n /** @type {?} */\n let flatKeyframes = {};\n if (keyframes) {\n /** @type {?} */\n const kfs = Array.isArray(keyframes) ? keyframes : [keyframes];\n kfs.forEach((/**\n * @param {?} kf\n * @return {?}\n */\n kf => {\n Object.keys(kf).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (prop == 'offset' || prop == 'easing')\n return;\n flatKeyframes[prop] = kf[prop];\n }));\n }));\n }\n return flatKeyframes;\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction removeElement(node) {\n node.parentNode.removeChild(node);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/web_animations/web_animations_player.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsPlayer {\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} options\n * @param {?=} _specialStyles\n */\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._initialized = false;\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n this.time = 0;\n this.parentPlayer = null;\n this.currentSnapshot = {};\n this._duration = (/** @type {?} */ (options['duration']));\n this._delay = (/** @type {?} */ (options['delay'])) || 0;\n this.time = this._duration + this._delay;\n }\n /**\n * @private\n * @return {?}\n */\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onDoneFns = [];\n }\n }\n /**\n * @return {?}\n */\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n /**\n * @private\n * @return {?}\n */\n _buildPlayer() {\n if (this._initialized)\n return;\n this._initialized = true;\n /** @type {?} */\n const keyframes = this.keyframes;\n ((/** @type {?} */ (this))).domPlayer =\n this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : {};\n this.domPlayer.addEventListener('finish', (/**\n * @return {?}\n */\n () => this._onFinish()));\n }\n /**\n * @private\n * @return {?}\n */\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n }\n else {\n this.domPlayer.pause();\n }\n }\n /**\n * \\@internal\n * @param {?} element\n * @param {?} keyframes\n * @param {?} options\n * @return {?}\n */\n _triggerWebAnimation(element, keyframes, options) {\n // jscompiler doesn't seem to know animate is a native property because it's not fully\n // supported yet across common browsers (we polyfill it for Edge/Safari) [CL #143630929]\n return (/** @type {?} */ (element['animate'](keyframes, options)));\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onStart(fn) {\n this._onStartFns.push(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDone(fn) {\n this._onDoneFns.push(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n /**\n * @return {?}\n */\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n /**\n * @return {?}\n */\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n /**\n * @return {?}\n */\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n /**\n * @return {?}\n */\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n }\n /**\n * @private\n * @return {?}\n */\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n /**\n * @return {?}\n */\n restart() {\n this.reset();\n this.play();\n }\n /**\n * @return {?}\n */\n hasStarted() {\n return this._started;\n }\n /**\n * @return {?}\n */\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onDestroyFns = [];\n }\n }\n /**\n * @param {?} p\n * @return {?}\n */\n setPosition(p) {\n this.domPlayer.currentTime = p * this.time;\n }\n /**\n * @return {?}\n */\n getPosition() {\n return this.domPlayer.currentTime / this.time;\n }\n /**\n * @return {?}\n */\n get totalTime() {\n return this._delay + this._duration;\n }\n /**\n * @return {?}\n */\n beforeDestroy() {\n /** @type {?} */\n const styles = {};\n if (this.hasStarted()) {\n Object.keys(this._finalKeyframe).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (prop != 'offset') {\n styles[prop] =\n this._finished ? this._finalKeyframe[prop] : computeStyle(this.element, prop);\n }\n }));\n }\n this.currentSnapshot = styles;\n }\n /**\n * \\@internal\n * @param {?} phaseName\n * @return {?}\n */\n triggerCallback(phaseName) {\n /** @type {?} */\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n methods.length = 0;\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._onDoneFns;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._onStartFns;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._onDestroyFns;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._duration;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._delay;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._initialized;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._finished;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._started;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._destroyed;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._finalKeyframe;\n /** @type {?} */\n WebAnimationsPlayer.prototype.domPlayer;\n /** @type {?} */\n WebAnimationsPlayer.prototype.time;\n /** @type {?} */\n WebAnimationsPlayer.prototype.parentPlayer;\n /** @type {?} */\n WebAnimationsPlayer.prototype.currentSnapshot;\n /** @type {?} */\n WebAnimationsPlayer.prototype.element;\n /** @type {?} */\n WebAnimationsPlayer.prototype.keyframes;\n /** @type {?} */\n WebAnimationsPlayer.prototype.options;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._specialStyles;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/web_animations/web_animations_driver.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsDriver {\n constructor() {\n this._isNativeImpl = /\\{\\s*\\[native\\s+code\\]\\s*\\}/.test(getElementAnimateFn().toString());\n this._cssKeyframesDriver = new CssKeyframesDriver();\n }\n /**\n * @param {?} prop\n * @return {?}\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n matchesElement(element, selector) {\n return matchesElement(element, selector);\n }\n /**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @param {?} element\n * @param {?} prop\n * @param {?=} defaultValue\n * @return {?}\n */\n computeStyle(element, prop, defaultValue) {\n return (/** @type {?} */ (((/** @type {?} */ (window.getComputedStyle(element))))[prop]));\n }\n /**\n * @param {?} supported\n * @return {?}\n */\n overrideWebAnimationsSupport(supported) {\n this._isNativeImpl = supported;\n }\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @param {?=} previousPlayers\n * @param {?=} scrubberAccessRequested\n * @return {?}\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n /** @type {?} */\n const useKeyframes = !scrubberAccessRequested && !this._isNativeImpl;\n if (useKeyframes) {\n return this._cssKeyframesDriver.animate(element, keyframes, duration, delay, easing, previousPlayers);\n }\n /** @type {?} */\n const fill = delay == 0 ? 'both' : 'forwards';\n /** @type {?} */\n const playerOptions = { duration, delay, fill };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n /** @type {?} */\n const previousStyles = {};\n /** @type {?} */\n const previousWebAnimationPlayers = (/** @type {?} */ (previousPlayers.filter((/**\n * @param {?} player\n * @return {?}\n */\n player => player instanceof WebAnimationsPlayer))));\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n /** @type {?} */\n let styles = player.currentSnapshot;\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => previousStyles[prop] = styles[prop]));\n }));\n }\n keyframes = keyframes.map((/**\n * @param {?} styles\n * @return {?}\n */\n styles => copyStyles(styles, false)));\n keyframes = balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles);\n /** @type {?} */\n const specialStyles = packageNonAnimatableStyles(element, keyframes);\n return new WebAnimationsPlayer(element, keyframes, playerOptions, specialStyles);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n WebAnimationsDriver.prototype._isNativeImpl;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsDriver.prototype._cssKeyframesDriver;\n}\n/**\n * @return {?}\n */\nfunction supportsWebAnimations() {\n return typeof getElementAnimateFn() === 'function';\n}\n/**\n * @return {?}\n */\nfunction getElementAnimateFn() {\n return (isBrowser() && ((/** @type {?} */ (Element))).prototype['animate']) || {};\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/private_export.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/browser.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/public_api.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, CssKeyframesDriver as ɵCssKeyframesDriver, CssKeyframesPlayer as ɵCssKeyframesPlayer, NoopAnimationDriver as ɵNoopAnimationDriver, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, SpecialCasedStyles as ɵangular_packages_animations_browser_browser_a, containsElement as ɵcontainsElement, invokeQuery as ɵinvokeQuery, matchesElement as ɵmatchesElement, supportsWebAnimations as ɵsupportsWebAnimations, validateStyleProperty as ɵvalidateStyleProperty };\n\n//# sourceMappingURL=browser.js.map","/**\n * @license Angular v9.1.11\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ViewEncapsulation, Injectable, RendererFactory2, Inject, NgZone, InjectionToken, NgModule } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport { AnimationBuilder, sequence, AnimationFactory } from '@angular/animations';\nimport { ɵAnimationEngine, AnimationDriver, ɵAnimationStyleNormalizer, ɵsupportsWebAnimations, ɵWebAnimationsDriver, ɵCssKeyframesDriver, ɵWebAnimationsStyleNormalizer, ɵNoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/animation_builder.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/animations/browser';\nclass BrowserAnimationBuilder extends AnimationBuilder {\n /**\n * @param {?} rootRenderer\n * @param {?} doc\n */\n constructor(rootRenderer, doc) {\n super();\n this._nextAnimationId = 0;\n /** @type {?} */\n const typeData = (/** @type {?} */ ({ id: '0', encapsulation: ViewEncapsulation.None, styles: [], data: { animation: [] } }));\n this._renderer = (/** @type {?} */ (rootRenderer.createRenderer(doc.body, typeData)));\n }\n /**\n * @param {?} animation\n * @return {?}\n */\n build(animation) {\n /** @type {?} */\n const id = this._nextAnimationId.toString();\n this._nextAnimationId++;\n /** @type {?} */\n const entry = Array.isArray(animation) ? sequence(animation) : animation;\n issueAnimationCommand(this._renderer, null, id, 'register', [entry]);\n return new BrowserAnimationFactory(id, this._renderer);\n }\n}\nBrowserAnimationBuilder.ɵfac = function BrowserAnimationBuilder_Factory(t) { return new (t || BrowserAnimationBuilder)(ɵngcc0.ɵɵinject(ɵngcc0.RendererFactory2), ɵngcc0.ɵɵinject(DOCUMENT)); };\nBrowserAnimationBuilder.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: BrowserAnimationBuilder, factory: BrowserAnimationBuilder.ɵfac });\n/** @nocollapse */\nBrowserAnimationBuilder.ctorParameters = () => [\n { type: RendererFactory2 },\n { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(BrowserAnimationBuilder, [{\n type: Injectable\n }], function () { return [{ type: ɵngcc0.RendererFactory2 }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n BrowserAnimationBuilder.prototype._nextAnimationId;\n /**\n * @type {?}\n * @private\n */\n BrowserAnimationBuilder.prototype._renderer;\n}\nclass BrowserAnimationFactory extends AnimationFactory {\n /**\n * @param {?} _id\n * @param {?} _renderer\n */\n constructor(_id, _renderer) {\n super();\n this._id = _id;\n this._renderer = _renderer;\n }\n /**\n * @param {?} element\n * @param {?=} options\n * @return {?}\n */\n create(element, options) {\n return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n BrowserAnimationFactory.prototype._id;\n /**\n * @type {?}\n * @private\n */\n BrowserAnimationFactory.prototype._renderer;\n}\nclass RendererAnimationPlayer {\n /**\n * @param {?} id\n * @param {?} element\n * @param {?} options\n * @param {?} _renderer\n */\n constructor(id, element, options, _renderer) {\n this.id = id;\n this.element = element;\n this._renderer = _renderer;\n this.parentPlayer = null;\n this._started = false;\n this.totalTime = 0;\n this._command('create', options);\n }\n /**\n * @private\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n _listen(eventName, callback) {\n return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback);\n }\n /**\n * @private\n * @param {?} command\n * @param {...?} args\n * @return {?}\n */\n _command(command, ...args) {\n return issueAnimationCommand(this._renderer, this.element, this.id, command, args);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDone(fn) {\n this._listen('done', fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onStart(fn) {\n this._listen('start', fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDestroy(fn) {\n this._listen('destroy', fn);\n }\n /**\n * @return {?}\n */\n init() {\n this._command('init');\n }\n /**\n * @return {?}\n */\n hasStarted() {\n return this._started;\n }\n /**\n * @return {?}\n */\n play() {\n this._command('play');\n this._started = true;\n }\n /**\n * @return {?}\n */\n pause() {\n this._command('pause');\n }\n /**\n * @return {?}\n */\n restart() {\n this._command('restart');\n }\n /**\n * @return {?}\n */\n finish() {\n this._command('finish');\n }\n /**\n * @return {?}\n */\n destroy() {\n this._command('destroy');\n }\n /**\n * @return {?}\n */\n reset() {\n this._command('reset');\n }\n /**\n * @param {?} p\n * @return {?}\n */\n setPosition(p) {\n this._command('setPosition', p);\n }\n /**\n * @return {?}\n */\n getPosition() {\n return 0;\n }\n}\nif (false) {\n /** @type {?} */\n RendererAnimationPlayer.prototype.parentPlayer;\n /**\n * @type {?}\n * @private\n */\n RendererAnimationPlayer.prototype._started;\n /** @type {?} */\n RendererAnimationPlayer.prototype.totalTime;\n /** @type {?} */\n RendererAnimationPlayer.prototype.id;\n /** @type {?} */\n RendererAnimationPlayer.prototype.element;\n /**\n * @type {?}\n * @private\n */\n RendererAnimationPlayer.prototype._renderer;\n}\n/**\n * @param {?} renderer\n * @param {?} element\n * @param {?} id\n * @param {?} command\n * @param {?} args\n * @return {?}\n */\nfunction issueAnimationCommand(renderer, element, id, command, args) {\n return renderer.setProperty(element, `@@${id}:${command}`, args);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/animation_renderer.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ANIMATION_PREFIX = '@';\n/** @type {?} */\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\n/**\n * @record\n */\nfunction RecursiveAnimationTriggerMetadata() { }\nclass AnimationRendererFactory {\n /**\n * @param {?} delegate\n * @param {?} engine\n * @param {?} _zone\n */\n constructor(delegate, engine, _zone) {\n this.delegate = delegate;\n this.engine = engine;\n this._zone = _zone;\n this._currentId = 0;\n this._microtaskId = 1;\n this._animationCallbacksBuffer = [];\n this._rendererCache = new Map();\n this._cdRecurDepth = 0;\n this.promise = Promise.resolve(0);\n engine.onRemovalComplete = (/**\n * @param {?} element\n * @param {?} delegate\n * @return {?}\n */\n (element, delegate) => {\n // Note: if an component element has a leave animation, and the component\n // a host leave animation, the view engine will call `removeChild` for the parent\n // component renderer as well as for the child component renderer.\n // Therefore, we need to check if we already removed the element.\n if (delegate && delegate.parentNode(element)) {\n delegate.removeChild(element.parentNode, element);\n }\n });\n }\n /**\n * @param {?} hostElement\n * @param {?} type\n * @return {?}\n */\n createRenderer(hostElement, type) {\n /** @type {?} */\n const EMPTY_NAMESPACE_ID = '';\n // cache the delegates to find out which cached delegate can\n // be used by which cached renderer\n /** @type {?} */\n const delegate = this.delegate.createRenderer(hostElement, type);\n if (!hostElement || !type || !type.data || !type.data['animation']) {\n /** @type {?} */\n let renderer = this._rendererCache.get(delegate);\n if (!renderer) {\n renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine);\n // only cache this result when the base renderer is used\n this._rendererCache.set(delegate, renderer);\n }\n return renderer;\n }\n /** @type {?} */\n const componentId = type.id;\n /** @type {?} */\n const namespaceId = type.id + '-' + this._currentId;\n this._currentId++;\n this.engine.register(namespaceId, hostElement);\n /** @type {?} */\n const registerTrigger = (/**\n * @param {?} trigger\n * @return {?}\n */\n (trigger) => {\n if (Array.isArray(trigger)) {\n trigger.forEach(registerTrigger);\n }\n else {\n this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n }\n });\n /** @type {?} */\n const animationTriggers = (/** @type {?} */ (type.data['animation']));\n animationTriggers.forEach(registerTrigger);\n return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n }\n /**\n * @return {?}\n */\n begin() {\n this._cdRecurDepth++;\n if (this.delegate.begin) {\n this.delegate.begin();\n }\n }\n /**\n * @private\n * @return {?}\n */\n _scheduleCountTask() {\n // always use promise to schedule microtask instead of use Zone\n this.promise.then((/**\n * @return {?}\n */\n () => {\n this._microtaskId++;\n }));\n }\n /**\n * \\@internal\n * @param {?} count\n * @param {?} fn\n * @param {?} data\n * @return {?}\n */\n scheduleListenerCallback(count, fn, data) {\n if (count >= 0 && count < this._microtaskId) {\n this._zone.run((/**\n * @return {?}\n */\n () => fn(data)));\n return;\n }\n if (this._animationCallbacksBuffer.length == 0) {\n Promise.resolve(null).then((/**\n * @return {?}\n */\n () => {\n this._zone.run((/**\n * @return {?}\n */\n () => {\n this._animationCallbacksBuffer.forEach((/**\n * @param {?} tuple\n * @return {?}\n */\n tuple => {\n const [fn, data] = tuple;\n fn(data);\n }));\n this._animationCallbacksBuffer = [];\n }));\n }));\n }\n this._animationCallbacksBuffer.push([fn, data]);\n }\n /**\n * @return {?}\n */\n end() {\n this._cdRecurDepth--;\n // this is to prevent animations from running twice when an inner\n // component does CD when a parent component instead has inserted it\n if (this._cdRecurDepth == 0) {\n this._zone.runOutsideAngular((/**\n * @return {?}\n */\n () => {\n this._scheduleCountTask();\n this.engine.flush(this._microtaskId);\n }));\n }\n if (this.delegate.end) {\n this.delegate.end();\n }\n }\n /**\n * @return {?}\n */\n whenRenderingDone() {\n return this.engine.whenRenderingDone();\n }\n}\nAnimationRendererFactory.ɵfac = function AnimationRendererFactory_Factory(t) { return new (t || AnimationRendererFactory)(ɵngcc0.ɵɵinject(ɵngcc0.RendererFactory2), ɵngcc0.ɵɵinject(ɵngcc1.ɵAnimationEngine), ɵngcc0.ɵɵinject(ɵngcc0.NgZone)); };\nAnimationRendererFactory.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: AnimationRendererFactory, factory: AnimationRendererFactory.ɵfac });\n/** @nocollapse */\nAnimationRendererFactory.ctorParameters = () => [\n { type: RendererFactory2 },\n { type: ɵAnimationEngine },\n { type: NgZone }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(AnimationRendererFactory, [{\n type: Injectable\n }], function () { return [{ type: ɵngcc0.RendererFactory2 }, { type: ɵngcc1.ɵAnimationEngine }, { type: ɵngcc0.NgZone }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._currentId;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._microtaskId;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._animationCallbacksBuffer;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._rendererCache;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._cdRecurDepth;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype.promise;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype.delegate;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype.engine;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._zone;\n}\nclass BaseAnimationRenderer {\n /**\n * @param {?} namespaceId\n * @param {?} delegate\n * @param {?} engine\n */\n constructor(namespaceId, delegate, engine) {\n this.namespaceId = namespaceId;\n this.delegate = delegate;\n this.engine = engine;\n this.destroyNode = this.delegate.destroyNode ? (/**\n * @param {?} n\n * @return {?}\n */\n (n) => (/** @type {?} */ (delegate.destroyNode))(n)) : null;\n }\n /**\n * @return {?}\n */\n get data() {\n return this.delegate.data;\n }\n /**\n * @return {?}\n */\n destroy() {\n this.engine.destroy(this.namespaceId, this.delegate);\n this.delegate.destroy();\n }\n /**\n * @param {?} name\n * @param {?=} namespace\n * @return {?}\n */\n createElement(name, namespace) {\n return this.delegate.createElement(name, namespace);\n }\n /**\n * @param {?} value\n * @return {?}\n */\n createComment(value) {\n return this.delegate.createComment(value);\n }\n /**\n * @param {?} value\n * @return {?}\n */\n createText(value) {\n return this.delegate.createText(value);\n }\n /**\n * @param {?} parent\n * @param {?} newChild\n * @return {?}\n */\n appendChild(parent, newChild) {\n this.delegate.appendChild(parent, newChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, false);\n }\n /**\n * @param {?} parent\n * @param {?} newChild\n * @param {?} refChild\n * @return {?}\n */\n insertBefore(parent, newChild, refChild) {\n this.delegate.insertBefore(parent, newChild, refChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, true);\n }\n /**\n * @param {?} parent\n * @param {?} oldChild\n * @param {?} isHostElement\n * @return {?}\n */\n removeChild(parent, oldChild, isHostElement) {\n this.engine.onRemove(this.namespaceId, oldChild, this.delegate, isHostElement);\n }\n /**\n * @param {?} selectorOrNode\n * @param {?=} preserveContent\n * @return {?}\n */\n selectRootElement(selectorOrNode, preserveContent) {\n return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n }\n /**\n * @param {?} node\n * @return {?}\n */\n parentNode(node) {\n return this.delegate.parentNode(node);\n }\n /**\n * @param {?} node\n * @return {?}\n */\n nextSibling(node) {\n return this.delegate.nextSibling(node);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @param {?=} namespace\n * @return {?}\n */\n setAttribute(el, name, value, namespace) {\n this.delegate.setAttribute(el, name, value, namespace);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @param {?=} namespace\n * @return {?}\n */\n removeAttribute(el, name, namespace) {\n this.delegate.removeAttribute(el, name, namespace);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n addClass(el, name) {\n this.delegate.addClass(el, name);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n removeClass(el, name) {\n this.delegate.removeClass(el, name);\n }\n /**\n * @param {?} el\n * @param {?} style\n * @param {?} value\n * @param {?=} flags\n * @return {?}\n */\n setStyle(el, style, value, flags) {\n this.delegate.setStyle(el, style, value, flags);\n }\n /**\n * @param {?} el\n * @param {?} style\n * @param {?=} flags\n * @return {?}\n */\n removeStyle(el, style, flags) {\n this.delegate.removeStyle(el, style, flags);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n this.disableAnimations(el, !!value);\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n /**\n * @param {?} node\n * @param {?} value\n * @return {?}\n */\n setValue(node, value) {\n this.delegate.setValue(node, value);\n }\n /**\n * @param {?} target\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n listen(target, eventName, callback) {\n return this.delegate.listen(target, eventName, callback);\n }\n /**\n * @protected\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\n disableAnimations(element, value) {\n this.engine.disableAnimations(element, value);\n }\n}\nif (false) {\n /** @type {?} */\n BaseAnimationRenderer.prototype.destroyNode;\n /**\n * @type {?}\n * @protected\n */\n BaseAnimationRenderer.prototype.namespaceId;\n /** @type {?} */\n BaseAnimationRenderer.prototype.delegate;\n /** @type {?} */\n BaseAnimationRenderer.prototype.engine;\n}\nclass AnimationRenderer extends BaseAnimationRenderer {\n /**\n * @param {?} factory\n * @param {?} namespaceId\n * @param {?} delegate\n * @param {?} engine\n */\n constructor(factory, namespaceId, delegate, engine) {\n super(namespaceId, delegate, engine);\n this.factory = factory;\n this.namespaceId = namespaceId;\n }\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX) {\n if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n value = value === undefined ? true : !!value;\n this.disableAnimations(el, (/** @type {?} */ (value)));\n }\n else {\n this.engine.process(this.namespaceId, el, name.substr(1), value);\n }\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n /**\n * @param {?} target\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n listen(target, eventName, callback) {\n if (eventName.charAt(0) == ANIMATION_PREFIX) {\n /** @type {?} */\n const element = resolveElementFromTarget(target);\n /** @type {?} */\n let name = eventName.substr(1);\n /** @type {?} */\n let phase = '';\n // @listener.phase is for trigger animation callbacks\n // @@listener is for animation builder callbacks\n if (name.charAt(0) != ANIMATION_PREFIX) {\n [name, phase] = parseTriggerCallbackName(name);\n }\n return this.engine.listen(this.namespaceId, element, name, phase, (/**\n * @param {?} event\n * @return {?}\n */\n event => {\n /** @type {?} */\n const countId = ((/** @type {?} */ (event)))['_data'] || -1;\n this.factory.scheduleListenerCallback(countId, callback, event);\n }));\n }\n return this.delegate.listen(target, eventName, callback);\n }\n}\nif (false) {\n /** @type {?} */\n AnimationRenderer.prototype.factory;\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction resolveElementFromTarget(target) {\n switch (target) {\n case 'body':\n return document.body;\n case 'document':\n return document;\n case 'window':\n return window;\n default:\n return target;\n }\n}\n/**\n * @param {?} triggerName\n * @return {?}\n */\nfunction parseTriggerCallbackName(triggerName) {\n /** @type {?} */\n const dotIndex = triggerName.indexOf('.');\n /** @type {?} */\n const trigger = triggerName.substring(0, dotIndex);\n /** @type {?} */\n const phase = triggerName.substr(dotIndex + 1);\n return [trigger, phase];\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/providers.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass InjectableAnimationEngine extends ɵAnimationEngine {\n /**\n * @param {?} doc\n * @param {?} driver\n * @param {?} normalizer\n */\n constructor(doc, driver, normalizer) {\n super(doc.body, driver, normalizer);\n }\n}\nInjectableAnimationEngine.ɵfac = function InjectableAnimationEngine_Factory(t) { return new (t || InjectableAnimationEngine)(ɵngcc0.ɵɵinject(DOCUMENT), ɵngcc0.ɵɵinject(ɵngcc1.AnimationDriver), ɵngcc0.ɵɵinject(ɵngcc1.ɵAnimationStyleNormalizer)); };\nInjectableAnimationEngine.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: InjectableAnimationEngine, factory: InjectableAnimationEngine.ɵfac });\n/** @nocollapse */\nInjectableAnimationEngine.ctorParameters = () => [\n { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] },\n { type: AnimationDriver },\n { type: ɵAnimationStyleNormalizer }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(InjectableAnimationEngine, [{\n type: Injectable\n }], function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: ɵngcc1.AnimationDriver }, { type: ɵngcc1.ɵAnimationStyleNormalizer }]; }, null); })();\n/**\n * @return {?}\n */\nfunction instantiateSupportedAnimationDriver() {\n return ɵsupportsWebAnimations() ? new ɵWebAnimationsDriver() : new ɵCssKeyframesDriver();\n}\n/**\n * @return {?}\n */\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\n/**\n * @param {?} renderer\n * @param {?} engine\n * @param {?} zone\n * @return {?}\n */\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new AnimationRendererFactory(renderer, engine, zone);\n}\n/**\n * \\@publicApi\n * @type {?}\n */\nconst ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType');\n/** @type {?} */\nconst SHARED_ANIMATION_PROVIDERS = [\n { provide: AnimationBuilder, useClass: BrowserAnimationBuilder },\n { provide: ɵAnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer },\n { provide: ɵAnimationEngine, useClass: InjectableAnimationEngine }, {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone]\n }\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n * @type {?}\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useFactory: instantiateSupportedAnimationDriver },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n * @type {?}\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useClass: ɵNoopAnimationDriver },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/module.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)\n * for use with animations. See [Animations](guide/animations).\n * \\@publicApi\n */\nclass BrowserAnimationsModule {\n}\nBrowserAnimationsModule.ɵmod = ɵngcc0.ɵɵdefineNgModule({ type: BrowserAnimationsModule });\nBrowserAnimationsModule.ɵinj = ɵngcc0.ɵɵdefineInjector({ factory: function BrowserAnimationsModule_Factory(t) { return new (t || BrowserAnimationsModule)(); }, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(BrowserAnimationsModule, { exports: function () { return [BrowserModule]; } }); })();\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(BrowserAnimationsModule, [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS\n }]\n }], null, null); })();\n/**\n * A null player that must be imported to allow disabling of animations.\n * \\@publicApi\n */\nclass NoopAnimationsModule {\n}\nNoopAnimationsModule.ɵmod = ɵngcc0.ɵɵdefineNgModule({ type: NoopAnimationsModule });\nNoopAnimationsModule.ɵinj = ɵngcc0.ɵɵdefineInjector({ factory: function NoopAnimationsModule_Factory(t) { return new (t || NoopAnimationsModule)(); }, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(NoopAnimationsModule, { exports: function () { return [BrowserModule]; } }); })();\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NoopAnimationsModule, [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS\n }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/private_export.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/animations.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/public_api.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ANIMATION_MODULE_TYPE, BrowserAnimationsModule, NoopAnimationsModule, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, BrowserAnimationBuilder as ɵBrowserAnimationBuilder, BrowserAnimationFactory as ɵBrowserAnimationFactory, InjectableAnimationEngine as ɵInjectableAnimationEngine, instantiateSupportedAnimationDriver as ɵangular_packages_platform_browser_animations_animations_a, instantiateDefaultStyleNormalizer as ɵangular_packages_platform_browser_animations_animations_b, instantiateRendererFactory as ɵangular_packages_platform_browser_animations_animations_c, BROWSER_ANIMATIONS_PROVIDERS as ɵangular_packages_platform_browser_animations_animations_d, BROWSER_NOOP_ANIMATIONS_PROVIDERS as ɵangular_packages_platform_browser_animations_animations_e, BaseAnimationRenderer as ɵangular_packages_platform_browser_animations_animations_f };\n\n//# sourceMappingURL=animations.js.map","import { mergeMap } from './mergeMap';\nexport function concatMap(project, resultSelector) {\n return mergeMap(project, resultSelector, 1);\n}\n//# sourceMappingURL=concatMap.js.map","import { isFunction } from './util/isFunction';\nimport { empty as emptyObserver } from './Observer';\nimport { Subscription } from './Subscription';\nimport { rxSubscriber as rxSubscriberSymbol } from '../internal/symbol/rxSubscriber';\nimport { config } from './config';\nimport { hostReportError } from './util/hostReportError';\nexport class Subscriber extends Subscription {\n constructor(destinationOrNext, error, complete) {\n super();\n this.syncErrorValue = null;\n this.syncErrorThrown = false;\n this.syncErrorThrowable = false;\n this.isStopped = false;\n switch (arguments.length) {\n case 0:\n this.destination = emptyObserver;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = emptyObserver;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n this.destination = destinationOrNext;\n destinationOrNext.add(this);\n }\n else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n break;\n }\n }\n [rxSubscriberSymbol]() { return this; }\n static create(next, error, complete) {\n const subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n }\n next(value) {\n if (!this.isStopped) {\n this._next(value);\n }\n }\n error(err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n super.unsubscribe();\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n this.destination.error(err);\n this.unsubscribe();\n }\n _complete() {\n this.destination.complete();\n this.unsubscribe();\n }\n _unsubscribeAndRecycle() {\n const { _parentOrParents } = this;\n this._parentOrParents = null;\n this.unsubscribe();\n this.closed = false;\n this.isStopped = false;\n this._parentOrParents = _parentOrParents;\n return this;\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(_parentSubscriber, observerOrNext, error, complete) {\n super();\n this._parentSubscriber = _parentSubscriber;\n let next;\n let context = this;\n if (isFunction(observerOrNext)) {\n next = observerOrNext;\n }\n else if (observerOrNext) {\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (observerOrNext !== emptyObserver) {\n context = Object.create(observerOrNext);\n if (isFunction(context.unsubscribe)) {\n this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n }\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n next(value) {\n if (!this.isStopped && this._next) {\n const { _parentSubscriber } = this;\n if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n }\n else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n this.unsubscribe();\n }\n }\n }\n error(err) {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n const { useDeprecatedSynchronousErrorHandling } = config;\n if (this._error) {\n if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parentSubscriber, this._error, err);\n this.unsubscribe();\n }\n }\n else if (!_parentSubscriber.syncErrorThrowable) {\n this.unsubscribe();\n if (useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n hostReportError(err);\n }\n else {\n if (useDeprecatedSynchronousErrorHandling) {\n _parentSubscriber.syncErrorValue = err;\n _parentSubscriber.syncErrorThrown = true;\n }\n else {\n hostReportError(err);\n }\n this.unsubscribe();\n }\n }\n }\n complete() {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n if (this._complete) {\n const wrappedComplete = () => this._complete.call(this._context);\n if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(wrappedComplete);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n this.unsubscribe();\n }\n }\n else {\n this.unsubscribe();\n }\n }\n }\n __tryOrUnsub(fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n this.unsubscribe();\n if (config.useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n else {\n hostReportError(err);\n }\n }\n }\n __tryOrSetError(parent, fn, value) {\n if (!config.useDeprecatedSynchronousErrorHandling) {\n throw new Error('bad call');\n }\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n else {\n hostReportError(err);\n return true;\n }\n }\n return false;\n }\n _unsubscribe() {\n const { _parentSubscriber } = this;\n this._context = null;\n this._parentSubscriber = null;\n _parentSubscriber.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscriber.js.map",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t/**\n\t * Cipher Feedback block mode.\n\t */\n\tCryptoJS.mode.CFB = (function () {\n\t var CFB = CryptoJS.lib.BlockCipherMode.extend();\n\n\t CFB.Encryptor = CFB.extend({\n\t processBlock: function (words, offset) {\n\t // Shortcuts\n\t var cipher = this._cipher;\n\t var blockSize = cipher.blockSize;\n\n\t generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);\n\n\t // Remember this block to use with next block\n\t this._prevBlock = words.slice(offset, offset + blockSize);\n\t }\n\t });\n\n\t CFB.Decryptor = CFB.extend({\n\t processBlock: function (words, offset) {\n\t // Shortcuts\n\t var cipher = this._cipher;\n\t var blockSize = cipher.blockSize;\n\n\t // Remember this block to use with next block\n\t var thisBlock = words.slice(offset, offset + blockSize);\n\n\t generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);\n\n\t // This block becomes the previous block\n\t this._prevBlock = thisBlock;\n\t }\n\t });\n\n\t function generateKeystreamAndEncrypt(words, offset, blockSize, cipher) {\n\t // Shortcut\n\t var iv = this._iv;\n\n\t // Generate keystream\n\t if (iv) {\n\t var keystream = iv.slice(0);\n\n\t // Remove IV for subsequent blocks\n\t this._iv = undefined;\n\t } else {\n\t var keystream = this._prevBlock;\n\t }\n\t cipher.encryptBlock(keystream, 0);\n\n\t // Encrypt\n\t for (var i = 0; i < blockSize; i++) {\n\t words[offset + i] ^= keystream[i];\n\t }\n\t }\n\n\t return CFB;\n\t}());\n\n\n\treturn CryptoJS.mode.CFB;\n\n}));","import { Injectable } from '@angular/core';\r\nimport { Resolve, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { DrawCollapseService } from './draw-collapse.shared.service';\r\n\r\n@Injectable()\r\nexport class DrawExpandResolver implements Resolve {\r\n constructor(\r\n public drawCollapseService: DrawCollapseService,\r\n ) { }\r\n\r\n resolve(\r\n route: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot\r\n ): Observable | Promise | any {\r\n return new Promise(resolve => {\r\n if (this.drawCollapseService.hasInitialized) {\r\n setTimeout(() => {\r\n this.drawCollapseService.tempUnlockScrollOnToggle();\r\n this.drawCollapseService.toggleDraw(true);\r\n return resolve(true);\r\n }, this.drawCollapseService.transitionTime);\r\n } else {\r\n this.drawCollapseService.tempUnlockScrollOnToggle();\r\n this.drawCollapseService.toggleDraw(true);\r\n return resolve(true);\r\n }\r\n\r\n });\r\n }\r\n}\r\n","/*\r\n Singleton - provide in shared.providers.module.ts!\r\n*/\r\nimport { Injectable } from '@angular/core';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, BehaviorSubject, Subscription, from, Subject, fromEvent } from 'rxjs';\r\nimport { take, filter, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DrawCollapseService {\r\n private _progress: number = 1;\r\n\r\n public contentMinimumHeightObjects: Map = new Map();\r\n public totalOffsetObjects: Map = new Map();\r\n public totalOffsetMobileObjects: Map = new Map();\r\n\r\n public hasInitialized: boolean = false;\r\n public transitionTime: number = 500;\r\n public minimalHeight: number = 300; /* 200 */\r\n public maximumHeight: number = 360;\r\n public mediaBreakPoint: number = 768; /* window.innerWidth - below this, things should look a bit different */\r\n public progressBreakPoint: number = .6; /* below .6 - things should look a bit different */\r\n public mobileScrollPoint: number = 400; /* Defines when to hide nav bar when scrolling down. Bigger === Later */\r\n public transition: string = `0 linear`;\r\n public currentHeight: number = 150;\r\n public expand: boolean = false;\r\n public preventOnWindowScrolled: boolean = true; /* When user scrolled down, and will toggle collapse, this will prevent from collapsing if calculated height */\r\n\r\n public drawDirectiveInit$: BehaviorSubject = new BehaviorSubject(false);\r\n public drawCurrentHeight$: BehaviorSubject = new BehaviorSubject(this.currentHeight);\r\n public drawExpand$: BehaviorSubject = new BehaviorSubject(null);\r\n public drawOffset$: BehaviorSubject = new BehaviorSubject(0);\r\n public drawMobileOffset$: BehaviorSubject = new BehaviorSubject(0);\r\n public drawIsCollapsed$: BehaviorSubject = new BehaviorSubject(true);\r\n public drawProgress$: BehaviorSubject = new BehaviorSubject(this._progress);\r\n public drawDifference$: BehaviorSubject = new BehaviorSubject(null);\r\n public minHeightContent$: Subject = new Subject();\r\n public drawBreakPoint$: BehaviorSubject = new BehaviorSubject(null);\r\n public drawNavBarCollapseHeight$: Subject = new Subject();\r\n public drawContentMargin$: BehaviorSubject = new BehaviorSubject(0);\r\n\r\n constructor() {\r\n\r\n fromEvent(window, 'resize')\r\n .pipe(\r\n auditTime(200),\r\n ).subscribe(event => {\r\n this.drawBreakPoint$.next(this._progress < this.progressBreakPoint || window.innerWidth < this.mediaBreakPoint);\r\n\r\n /* Update offsets and contents' height values */\r\n this.minHeightContent$.next(Utils.Objects.sumMapValues(this.contentMinimumHeightObjects));\r\n this.drawOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetObjects));\r\n });\r\n }\r\n\r\n public destroy(): void {\r\n this.hasInitialized = false;\r\n this._progress = 1;\r\n this.currentHeight = 150;\r\n this.expand = false;\r\n this.contentMinimumHeightObjects = new Map();\r\n this.totalOffsetObjects = new Map();\r\n this.totalOffsetMobileObjects = new Map();\r\n }\r\n\r\n public setDrawContentMargin(margin: number): void {\r\n this.drawContentMargin$.next(margin);\r\n }\r\n\r\n public initDrawDirective(): void {\r\n this.drawDirectiveInit$.next(true);\r\n }\r\n\r\n public get drawCanvasExpandedHeight(): number {\r\n /*\r\n Returns height of a drawer canvas area when expanded,\r\n depending on user's screen resolution.\r\n Is used in draw-collapse.shared.directive and sub-nav.shared.service (for adjusting scroll position)\r\n */\r\n return window.innerWidth < this.mediaBreakPoint ? this.minimalHeight : this.maximumHeight;\r\n }\r\n\r\n public setNavBarHeight(height: number): void {\r\n /*\r\n On mobile devices after more scrolling down,\r\n page will collapse more hiding nav bar.\r\n */\r\n return this.drawNavBarCollapseHeight$.next(height);\r\n }\r\n\r\n\r\n public addMinHeight(elem: HTMLElement, height: number): void {\r\n /*\r\n This will register additional component to determine minimum height\r\n of content component\r\n */\r\n\r\n this.contentMinimumHeightObjects.set(elem, height);\r\n\r\n this.minHeightContent$.next(Utils.Objects.sumMapValues(this.contentMinimumHeightObjects));\r\n }\r\n\r\n public setProgress(progress: number, difference: number): void {\r\n /*\r\n This will provide data about collapsed progress,\r\n to handle opacity in some components depending on current\r\n 'progress'. Value is float between 0 and 1;\r\n\r\n The difference value shows how much container has expanded/collapsed in px.\r\n This is used for adding margin when initial scrolling starts and we want to\r\n prevent from content scrolling. It's a trick!\r\n */\r\n this._progress = progress;\r\n\r\n this.drawProgress$.next(progress);\r\n this.drawDifference$.next(difference);\r\n this.drawBreakPoint$.next(progress < this.progressBreakPoint || window.innerWidth < this.mediaBreakPoint);\r\n }\r\n\r\n public updateDrawHeight(height: number): void {\r\n /*\r\n This is triggered from draw-collapse directive from only 1 element.\r\n Then this value can be used be other components with draw-offset directive\r\n to set proper styling depending on their styles;\r\n */\r\n this.currentHeight = height;\r\n this.drawCurrentHeight$.next(this.currentHeight);\r\n\r\n if (height === Utils.Objects.sumMapValues(this.totalOffsetObjects)) {\r\n this.drawIsCollapsed$.next(true);\r\n return;\r\n }\r\n\r\n this.drawIsCollapsed$.next(false);\r\n }\r\n\r\n public toggleDraw(expand: boolean): void {\r\n /* Instatn toggle draw expand or draw collapse */\r\n this.drawDirectiveInit$\r\n .pipe(\r\n filter(hasInit => hasInit === true),\r\n take(1),\r\n ).subscribe(() => {\r\n this.hasInitialized = true;\r\n this.expand = expand;\r\n this.drawExpand$.next(expand);\r\n });\r\n\r\n }\r\n\r\n public addOffset(elem: HTMLElement, offset: number): void {\r\n /*\r\n This method shoul be used by additional components that will add more static\r\n top offset to the drawer, i.e. nav bar, filters draw.\r\n It's used by directive to add aditional offset to calculations.\r\n */\r\n\r\n this.totalOffsetObjects.set(elem, offset);\r\n\r\n this.drawOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetObjects));\r\n }\r\n\r\n public removeOffset(elem: HTMLElement): void {\r\n /*\r\n Removes element from offset calculations\r\n */\r\n\r\n this.totalOffsetObjects.delete(elem);\r\n\r\n this.drawOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetObjects));\r\n }\r\n\r\n public addOffsetMobile(elem: HTMLElement, offset: number): void {\r\n /*\r\n Adds additional offset height for mobile devices when nav bar collapses\r\n when scrolling more than usual.\r\n */\r\n\r\n this.totalOffsetMobileObjects.set(elem, offset);\r\n\r\n this.drawMobileOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetMobileObjects));\r\n }\r\n\r\n public removeOffsetMobile(elem: HTMLElement): void {\r\n /*\r\n Removes element from offset calculations on mobile\r\n */\r\n this.totalOffsetMobileObjects.delete(elem);\r\n\r\n this.drawMobileOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetMobileObjects));\r\n }\r\n\r\n public tempUnlockScrollOnToggle(timeout: number = 100): Promise {\r\n return new Promise(resolve => {\r\n this.preventOnWindowScrolled = false;\r\n\r\n setTimeout(() => {\r\n this.preventOnWindowScrolled = true;\r\n }, timeout);\r\n });\r\n }\r\n}\r\n","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const MenuFlowDefaultActivationRequest = createAction(\r\n '[Menu Flow Default Activation] Request default activation for menu flow by menuFlowId',\r\n props<{ menuFlowId: number }>(),\r\n);\r\n\r\nexport const MenuFlowDefaultActivationSuccessRequest = createAction(\r\n '[Menu Flow Default Activation] Success request default activation for menu flow by menuFlowId',\r\n props<{ menuFlowId: number; payload: APIv1.MenuFlowDefaultActivation }>(),\r\n);\r\n\r\nexport const MenuFlowDefaultActivationErrorRequest = createAction(\r\n '[Menu Flow Default Activation] Error request default activation for menu flow by menuFlowId',\r\n props<{ menuFlowId: number; ex?: any }>(),\r\n);\r\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable(subscriber => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(subscriber => scheduler.schedule(() => subscriber.complete()));\n}\n//# sourceMappingURL=empty.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n 'ss': withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',\n 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',\n 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин',\n 'dd': 'день_дні_днів',\n 'MM': 'місяць_місяці_місяців',\n 'yy': 'рік_роки_років'\n };\n if (key === 'm') {\n return withoutSuffix ? 'хвилина' : 'хвилину';\n }\n else if (key === 'h') {\n return withoutSuffix ? 'година' : 'годину';\n }\n else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n function weekdaysCaseReplace(m, format) {\n var weekdays = {\n 'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),\n 'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),\n 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')\n };\n\n if (m === true) {\n return weekdays['nominative'].slice(1, 7).concat(weekdays['nominative'].slice(0, 1));\n }\n if (!m) {\n return weekdays['nominative'];\n }\n\n var nounCase = (/(\\[[ВвУу]\\]) ?dddd/).test(format) ?\n 'accusative' :\n ((/\\[?(?:минулої|наступної)? ?\\] ?dddd/).test(format) ?\n 'genitive' :\n 'nominative');\n return weekdays[nounCase][m.day()];\n }\n function processHoursFunction(str) {\n return function () {\n return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';\n };\n }\n\n var uk = moment.defineLocale('uk', {\n months : {\n 'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'),\n 'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_')\n },\n monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'),\n weekdays : weekdaysCaseReplace,\n weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D MMMM YYYY р.',\n LLL : 'D MMMM YYYY р., HH:mm',\n LLLL : 'dddd, D MMMM YYYY р., HH:mm'\n },\n calendar : {\n sameDay: processHoursFunction('[Сьогодні '),\n nextDay: processHoursFunction('[Завтра '),\n lastDay: processHoursFunction('[Вчора '),\n nextWeek: processHoursFunction('[У] dddd ['),\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 5:\n case 6:\n return processHoursFunction('[Минулої] dddd [').call(this);\n case 1:\n case 2:\n case 4:\n return processHoursFunction('[Минулого] dddd [').call(this);\n }\n },\n sameElse: 'L'\n },\n relativeTime : {\n future : 'за %s',\n past : '%s тому',\n s : 'декілька секунд',\n ss : relativeTimeWithPlural,\n m : relativeTimeWithPlural,\n mm : relativeTimeWithPlural,\n h : 'годину',\n hh : relativeTimeWithPlural,\n d : 'день',\n dd : relativeTimeWithPlural,\n M : 'місяць',\n MM : relativeTimeWithPlural,\n y : 'рік',\n yy : relativeTimeWithPlural\n },\n // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason\n meridiemParse: /ночі|ранку|дня|вечора/,\n isPM: function (input) {\n return /^(дня|вечора)$/.test(input);\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ночі';\n } else if (hour < 12) {\n return 'ранку';\n } else if (hour < 17) {\n return 'дня';\n } else {\n return 'вечора';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(й|го)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n case 'w':\n case 'W':\n return number + '-й';\n case 'D':\n return number + '-го';\n default:\n return number;\n }\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return uk;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var units = {\n 'ss' : 'sekundė_sekundžių_sekundes',\n 'm' : 'minutė_minutės_minutę',\n 'mm': 'minutės_minučių_minutes',\n 'h' : 'valanda_valandos_valandą',\n 'hh': 'valandos_valandų_valandas',\n 'd' : 'diena_dienos_dieną',\n 'dd': 'dienos_dienų_dienas',\n 'M' : 'mėnuo_mėnesio_mėnesį',\n 'MM': 'mėnesiai_mėnesių_mėnesius',\n 'y' : 'metai_metų_metus',\n 'yy': 'metai_metų_metus'\n };\n function translateSeconds(number, withoutSuffix, key, isFuture) {\n if (withoutSuffix) {\n return 'kelios sekundės';\n } else {\n return isFuture ? 'kelių sekundžių' : 'kelias sekundes';\n }\n }\n function translateSingular(number, withoutSuffix, key, isFuture) {\n return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);\n }\n function special(number) {\n return number % 10 === 0 || (number > 10 && number < 20);\n }\n function forms(key) {\n return units[key].split('_');\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n if (number === 1) {\n return result + translateSingular(number, withoutSuffix, key[0], isFuture);\n } else if (withoutSuffix) {\n return result + (special(number) ? forms(key)[1] : forms(key)[0]);\n } else {\n if (isFuture) {\n return result + forms(key)[1];\n } else {\n return result + (special(number) ? forms(key)[1] : forms(key)[2]);\n }\n }\n }\n var lt = moment.defineLocale('lt', {\n months : {\n format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),\n standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),\n isFormat: /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/\n },\n monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),\n weekdays : {\n format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),\n standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),\n isFormat: /dddd HH:mm/\n },\n weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),\n weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'YYYY-MM-DD',\n LL : 'YYYY [m.] MMMM D [d.]',\n LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',\n l : 'YYYY-MM-DD',\n ll : 'YYYY [m.] MMMM D [d.]',\n lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'\n },\n calendar : {\n sameDay : '[Šiandien] LT',\n nextDay : '[Rytoj] LT',\n nextWeek : 'dddd LT',\n lastDay : '[Vakar] LT',\n lastWeek : '[Praėjusį] dddd LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'po %s',\n past : 'prieš %s',\n s : translateSeconds,\n ss : translate,\n m : translateSingular,\n mm : translate,\n h : translateSingular,\n hh : translate,\n d : translateSingular,\n dd : translate,\n M : translateSingular,\n MM : translate,\n y : translateSingular,\n yy : translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-oji/,\n ordinal : function (number) {\n return number + '-oji';\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return lt;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var tzm = moment.defineLocale('tzm', {\n months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),\n monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),\n weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS: 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',\n nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',\n nextWeek: 'dddd [ⴴ] LT',\n lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',\n lastWeek: 'dddd [ⴴ] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',\n past : 'ⵢⴰⵏ %s',\n s : 'ⵉⵎⵉⴽ',\n ss : '%d ⵉⵎⵉⴽ',\n m : 'ⵎⵉⵏⵓⴺ',\n mm : '%d ⵎⵉⵏⵓⴺ',\n h : 'ⵙⴰⵄⴰ',\n hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',\n d : 'ⴰⵙⵙ',\n dd : '%d oⵙⵙⴰⵏ',\n M : 'ⴰⵢoⵓⵔ',\n MM : '%d ⵉⵢⵢⵉⵔⵏ',\n y : 'ⴰⵙⴳⴰⵙ',\n yy : '%d ⵉⵙⴳⴰⵙⵏ'\n },\n week : {\n dow : 6, // Saturday is the first day of the week.\n doy : 12 // The week that contains Jan 12th is the first week of the year.\n }\n });\n\n return tzm;\n\n})));\n","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const OnlineMenuProductsImagesRequest = createAction(\r\n '[Online menu products images] Request images for online menu page products',\r\n props<{ params: APICommon.IImagesGetParams; pageId: number; }>(),\r\n);\r\n\r\nexport const OnlineMenuProductsImagesSuccessRequest = createAction(\r\n '[Online menu products images] Success request images for online menu page products',\r\n props<{ pageId: number; payload: APIv1.ImageUrlModel[]; }>(),\r\n);\r\n\r\nexport const OnlineMenuProductsImagesErrorRequest = createAction(\r\n '[Online menu products images] Error request images for online menu page products',\r\n props<{ pageId: number; ex?: any; }>(),\r\n);\r\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Reusable object\n\t var W = [];\n\n\t /**\n\t * SHA-1 hash algorithm.\n\t */\n\t var SHA1 = C_algo.SHA1 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476,\n\t 0xc3d2e1f0\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var H = this._hash.words;\n\n\t // Working variables\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\t var e = H[4];\n\n\t // Computation\n\t for (var i = 0; i < 80; i++) {\n\t if (i < 16) {\n\t W[i] = M[offset + i] | 0;\n\t } else {\n\t var n = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];\n\t W[i] = (n << 1) | (n >>> 31);\n\t }\n\n\t var t = ((a << 5) | (a >>> 27)) + e + W[i];\n\t if (i < 20) {\n\t t += ((b & c) | (~b & d)) + 0x5a827999;\n\t } else if (i < 40) {\n\t t += (b ^ c ^ d) + 0x6ed9eba1;\n\t } else if (i < 60) {\n\t t += ((b & c) | (b & d) | (c & d)) - 0x70e44324;\n\t } else /* if (i < 80) */ {\n\t t += (b ^ c ^ d) - 0x359d3e2a;\n\t }\n\n\t e = d;\n\t d = c;\n\t c = (b << 30) | (b >>> 2);\n\t b = a;\n\t a = t;\n\t }\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t H[4] = (H[4] + e) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n\t data.sigBytes = dataWords.length * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Return final computed hash\n\t return this._hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.SHA1('message');\n\t * var hash = CryptoJS.SHA1(wordArray);\n\t */\n\t C.SHA1 = Hasher._createHelper(SHA1);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacSHA1(message, key);\n\t */\n\t C.HmacSHA1 = Hasher._createHmacHelper(SHA1);\n\t}());\n\n\n\treturn CryptoJS.SHA1;\n\n}));","import { Injectable, ElementRef } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\nimport * as State from '@shared/state/interface';\r\n\r\nimport { WizzardService } from './wizzard.shared.service';\r\n\r\nimport { Subscription, Subject, timer, Observable } from 'rxjs';\r\nimport { audit, filter, distinctUntilChanged, map, take } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ModalsService {\r\n private _modalContainer$: Subject = new Subject(); /* Used for effects and blocking scroll */\r\n private _bgDropClick$: Subject = new Subject();\r\n private _wizzardScrollListener$: Subscription;\r\n\r\n public onWizzardScroll$: Subject = new Subject(); /* Use this in components to connect to wizzard scroll event */\r\n\r\n constructor(\r\n public store: Store,\r\n public router: Router,\r\n public wizzardService: WizzardService,\r\n ) {\r\n this._wizzardScrollListener$ = this.wizzardService.contentScrollListener$\r\n .pipe(\r\n filter(() => window.innerWidth < 610),\r\n audit(() => timer(500)),\r\n )\r\n .subscribe(event => this.onWizzardScroll$.next(event));\r\n }\r\n\r\n public set modalContainer(modalContainer: ElementRef) {\r\n this._modalContainer$.next(modalContainer);\r\n }\r\n\r\n public get modalsList$(): Observable {\r\n return this.store.pipe(\r\n select(selectors.getAllModals),\r\n distinctUntilChanged()\r\n );\r\n }\r\n\r\n public get isAnyModalVisible$(): Observable {\r\n return this.modalsList$\r\n .pipe(\r\n map(modals => modals.length > 0),\r\n );\r\n }\r\n\r\n public get isClosingAllModals$(): Observable {\r\n return this.store.pipe(\r\n select(selectors.isLastModalHiding),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n\r\n public get modalContainer$(): Subject {\r\n return this._modalContainer$;\r\n }\r\n\r\n public setLoading(modalId: number, isLoading: boolean = false): void {\r\n this.store.dispatch(actions.ModalSetLoading(modalId, isLoading));\r\n }\r\n\r\n public show(modal: State.IModal): Promise {\r\n return new Promise(resolve => {\r\n const id: number = modal.id || new Date().getTime();\r\n\r\n this.store.dispatch(actions.ModalOpen({\r\n animate: State.MODAL_ANIMATION.IN,\r\n ...modal,\r\n id\r\n }));\r\n\r\n setTimeout(() => {\r\n resolve(true);\r\n }, 0);\r\n });\r\n }\r\n\r\n public swap(modalId: number, details: State.IModalSwap = {}): void {\r\n this.store.dispatch(actions.ModalSwap(modalId, details));\r\n }\r\n\r\n public close(id: number): void {\r\n this.store.dispatch(actions.ModalRequestClose(id));\r\n }\r\n\r\n public closeAllWithAnimation(): void {\r\n this.modalsList$\r\n .pipe(\r\n take(1)\r\n ).subscribe(modals => {\r\n modals.reverse().forEach(obj => this.close(obj.id));\r\n });\r\n }\r\n\r\n public closeAll(typesExcludedFromClosing: State.MODAL_TYPE[] = [], animation: State.MODAL_ANIMATION = State.MODAL_ANIMATION.OUT): void {\r\n this.store.dispatch(actions.ModalCloseAll(typesExcludedFromClosing, animation));\r\n }\r\n\r\n /* This will help detect background clicks */\r\n public emitBgClickEvent($event: MouseEvent): void {\r\n this._bgDropClick$.next($event);\r\n }\r\n\r\n /* You can subscribe to background events here */\r\n public backgroundEvents(): Subject {\r\n return this._bgDropClick$;\r\n }\r\n public removeURLQueryParams(): Promise {\r\n /* Obsolete - used only in aramark - moved to routeService */\r\n return this.router.navigate([], {\r\n queryParams: {\r\n modal: undefined,\r\n itemId: undefined,\r\n },\r\n queryParamsHandling: 'merge',\r\n });\r\n }\r\n\r\n public closeModal(modalId: number, unmountWizzard: boolean = true, removeQueryParams: boolean = false): void {\r\n this.close(modalId);\r\n\r\n if (unmountWizzard) {\r\n this.store.dispatch(actions.WizzardUnmountAll());\r\n }\r\n\r\n if (removeQueryParams) {\r\n this.removeURLQueryParams();\r\n }\r\n }\r\n}\r\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t/**\n\t * Counter block mode.\n\t */\n\tCryptoJS.mode.CTR = (function () {\n\t var CTR = CryptoJS.lib.BlockCipherMode.extend();\n\n\t var Encryptor = CTR.Encryptor = CTR.extend({\n\t processBlock: function (words, offset) {\n\t // Shortcuts\n\t var cipher = this._cipher\n\t var blockSize = cipher.blockSize;\n\t var iv = this._iv;\n\t var counter = this._counter;\n\n\t // Generate keystream\n\t if (iv) {\n\t counter = this._counter = iv.slice(0);\n\n\t // Remove IV for subsequent blocks\n\t this._iv = undefined;\n\t }\n\t var keystream = counter.slice(0);\n\t cipher.encryptBlock(keystream, 0);\n\n\t // Increment counter\n\t counter[blockSize - 1] = (counter[blockSize - 1] + 1) | 0\n\n\t // Encrypt\n\t for (var i = 0; i < blockSize; i++) {\n\t words[offset + i] ^= keystream[i];\n\t }\n\t }\n\t });\n\n\t CTR.Decryptor = Encryptor;\n\n\t return CTR;\n\t}());\n\n\n\treturn CryptoJS.mode.CTR;\n\n}));","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const geolocationPositionRequest = createAction(\r\n '[Geolocation] Request position',\r\n);\r\n\r\nexport const geolocationPositionSuccessRequest = createAction(\r\n '[Geolocation] Success request position',\r\n props<{ payload: Coordinates }>(),\r\n);\r\n\r\nexport const geolocationPositionErrorRequest = createAction(\r\n '[Geolocation] Error request position',\r\n props<{ ex?: any }>(),\r\n);\r\n","import { multicast } from './multicast';\nimport { refCount } from './refCount';\nimport { Subject } from '../Subject';\nfunction shareSubjectFactory() {\n return new Subject();\n}\nexport function share() {\n return (source) => refCount()(multicast(shareSubjectFactory)(source));\n}\n//# sourceMappingURL=share.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),\n monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');\n function plural(n) {\n return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);\n }\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n return result + (plural(number) ? 'sekundy' : 'sekund');\n case 'm':\n return withoutSuffix ? 'minuta' : 'minutę';\n case 'mm':\n return result + (plural(number) ? 'minuty' : 'minut');\n case 'h':\n return withoutSuffix ? 'godzina' : 'godzinę';\n case 'hh':\n return result + (plural(number) ? 'godziny' : 'godzin');\n case 'MM':\n return result + (plural(number) ? 'miesiące' : 'miesięcy');\n case 'yy':\n return result + (plural(number) ? 'lata' : 'lat');\n }\n }\n\n var pl = moment.defineLocale('pl', {\n months : function (momentToFormat, format) {\n if (!momentToFormat) {\n return monthsNominative;\n } else if (format === '') {\n // Hack: if format empty we know this is used to generate\n // RegExp by moment. Give then back both valid forms of months\n // in RegExp ready format.\n return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';\n } else if (/D MMMM/.test(format)) {\n return monthsSubjective[momentToFormat.month()];\n } else {\n return monthsNominative[momentToFormat.month()];\n }\n },\n monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),\n weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),\n weekdaysShort : 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),\n weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[Dziś o] LT',\n nextDay: '[Jutro o] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[W niedzielę o] LT';\n\n case 2:\n return '[We wtorek o] LT';\n\n case 3:\n return '[W środę o] LT';\n\n case 6:\n return '[W sobotę o] LT';\n\n default:\n return '[W] dddd [o] LT';\n }\n },\n lastDay: '[Wczoraj o] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[W zeszłą niedzielę o] LT';\n case 3:\n return '[W zeszłą środę o] LT';\n case 6:\n return '[W zeszłą sobotę o] LT';\n default:\n return '[W zeszły] dddd [o] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime : {\n future : 'za %s',\n past : '%s temu',\n s : 'kilka sekund',\n ss : translate,\n m : translate,\n mm : translate,\n h : translate,\n hh : translate,\n d : '1 dzień',\n dd : '%d dni',\n M : 'miesiąc',\n MM : translate,\n y : 'rok',\n yy : translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return pl;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '۱',\n '2': '۲',\n '3': '۳',\n '4': '۴',\n '5': '۵',\n '6': '۶',\n '7': '۷',\n '8': '۸',\n '9': '۹',\n '0': '۰'\n }, numberMap = {\n '۱': '1',\n '۲': '2',\n '۳': '3',\n '۴': '4',\n '۵': '5',\n '۶': '6',\n '۷': '7',\n '۸': '8',\n '۹': '9',\n '۰': '0'\n };\n\n var fa = moment.defineLocale('fa', {\n months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),\n monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),\n weekdays : 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split('_'),\n weekdaysShort : 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split('_'),\n weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n meridiemParse: /قبل از ظهر|بعد از ظهر/,\n isPM: function (input) {\n return /بعد از ظهر/.test(input);\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 12) {\n return 'قبل از ظهر';\n } else {\n return 'بعد از ظهر';\n }\n },\n calendar : {\n sameDay : '[امروز ساعت] LT',\n nextDay : '[فردا ساعت] LT',\n nextWeek : 'dddd [ساعت] LT',\n lastDay : '[دیروز ساعت] LT',\n lastWeek : 'dddd [پیش] [ساعت] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'در %s',\n past : '%s پیش',\n s : 'چند ثانیه',\n ss : 'ثانیه d%',\n m : 'یک دقیقه',\n mm : '%d دقیقه',\n h : 'یک ساعت',\n hh : '%d ساعت',\n d : 'یک روز',\n dd : '%d روز',\n M : 'یک ماه',\n MM : '%d ماه',\n y : 'یک سال',\n yy : '%d سال'\n },\n preparse: function (string) {\n return string.replace(/[۰-۹]/g, function (match) {\n return numberMap[match];\n }).replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n }).replace(/,/g, '،');\n },\n dayOfMonthOrdinalParse: /\\d{1,2}م/,\n ordinal : '%dم',\n week : {\n dow : 6, // Saturday is the first day of the week.\n doy : 12 // The week that contains Jan 12th is the first week of the year.\n }\n });\n\n return fa;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var af = moment.defineLocale('af', {\n months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),\n monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),\n weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),\n weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),\n weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),\n meridiemParse: /vm|nm/i,\n isPM : function (input) {\n return /^nm$/i.test(input);\n },\n meridiem : function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'vm' : 'VM';\n } else {\n return isLower ? 'nm' : 'NM';\n }\n },\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[Vandag om] LT',\n nextDay : '[Môre om] LT',\n nextWeek : 'dddd [om] LT',\n lastDay : '[Gister om] LT',\n lastWeek : '[Laas] dddd [om] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'oor %s',\n past : '%s gelede',\n s : '\\'n paar sekondes',\n ss : '%d sekondes',\n m : '\\'n minuut',\n mm : '%d minute',\n h : '\\'n uur',\n hh : '%d ure',\n d : '\\'n dag',\n dd : '%d dae',\n M : '\\'n maand',\n MM : '%d maande',\n y : '\\'n jaar',\n yy : '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal : function (number) {\n return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter\n },\n week : {\n dow : 1, // Maandag is die eerste dag van die week.\n doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.\n }\n });\n\n return af;\n\n})));\n","import { createAction, props } from '@ngrx/store';\r\nimport { IAppSettings } from './app-settings.interface';\r\n\r\nexport const SetApplicationInitFlag = createAction(\r\n '[App settings] Set init flag'\r\n);\r\n\r\nexport const SetApplicationMode = createAction(\r\n '[App settings] Set location mode',\r\n props<{ mode: OLO.Enums.APP_MODE }>(),\r\n);\r\n\r\nexport const SetDeviceType = createAction(\r\n '[App settings] Set device type',\r\n props<{ deviceType: OLO.Enums.DEVICE_TYPE }>(),\r\n);\r\n\r\nexport const AppSettingsRequest = createAction(\r\n '[App settins] Request settings',\r\n);\r\n\r\nexport const AppSettingsSuccessRequest = createAction(\r\n '[App settins] Success request settings',\r\n props<{ payload: APIv1.LoyaltyAppModel }>(),\r\n);\r\n\r\nexport const AppSettingsErrorRequest = createAction(\r\n '[App settins] Error request settings',\r\n props<{ ex?: any }>(),\r\n);\r\n\r\nexport const AppSettingsSetOnlineStatus = createAction(\r\n '[App settings] Set online status',\r\n props<{ online: boolean }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var fo = moment.defineLocale('fo', {\n months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),\n monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),\n weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),\n weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'),\n weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D. MMMM, YYYY HH:mm'\n },\n calendar : {\n sameDay : '[Í dag kl.] LT',\n nextDay : '[Í morgin kl.] LT',\n nextWeek : 'dddd [kl.] LT',\n lastDay : '[Í gjár kl.] LT',\n lastWeek : '[síðstu] dddd [kl] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'um %s',\n past : '%s síðani',\n s : 'fá sekund',\n ss : '%d sekundir',\n m : 'ein minuttur',\n mm : '%d minuttir',\n h : 'ein tími',\n hh : '%d tímar',\n d : 'ein dagur',\n dd : '%d dagar',\n M : 'ein mánaður',\n MM : '%d mánaðir',\n y : 'eitt ár',\n yy : '%d ár'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return fo;\n\n})));\n","import { Subscriber } from '../Subscriber';\nimport { noop } from '../util/noop';\nimport { isFunction } from '../util/isFunction';\nexport function tap(nextOrObserver, error, complete) {\n return function tapOperatorFunction(source) {\n return source.lift(new DoOperator(nextOrObserver, error, complete));\n };\n}\nclass DoOperator {\n constructor(nextOrObserver, error, complete) {\n this.nextOrObserver = nextOrObserver;\n this.error = error;\n this.complete = complete;\n }\n call(subscriber, source) {\n return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n }\n}\nclass TapSubscriber extends Subscriber {\n constructor(destination, observerOrNext, error, complete) {\n super(destination);\n this._tapNext = noop;\n this._tapError = noop;\n this._tapComplete = noop;\n this._tapError = error || noop;\n this._tapComplete = complete || noop;\n if (isFunction(observerOrNext)) {\n this._context = this;\n this._tapNext = observerOrNext;\n }\n else if (observerOrNext) {\n this._context = observerOrNext;\n this._tapNext = observerOrNext.next || noop;\n this._tapError = observerOrNext.error || noop;\n this._tapComplete = observerOrNext.complete || noop;\n }\n }\n _next(value) {\n try {\n this._tapNext.call(this._context, value);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(value);\n }\n _error(err) {\n try {\n this._tapError.call(this._context, err);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.error(err);\n }\n _complete() {\n try {\n this._tapComplete.call(this._context);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n return this.destination.complete();\n }\n}\n//# sourceMappingURL=tap.js.map","import { isArray } from './isArray';\nexport function isNumeric(val) {\n return !isArray(val) && (val - parseFloat(val) + 1) >= 0;\n}\n//# sourceMappingURL=isNumeric.js.map","import { Observable } from '../Observable';\nimport { async } from '../scheduler/async';\nimport { isNumeric } from '../util/isNumeric';\nimport { isScheduler } from '../util/isScheduler';\nexport function timer(dueTime = 0, periodOrScheduler, scheduler) {\n let period = -1;\n if (isNumeric(periodOrScheduler)) {\n period = Number(periodOrScheduler) < 1 && 1 || Number(periodOrScheduler);\n }\n else if (isScheduler(periodOrScheduler)) {\n scheduler = periodOrScheduler;\n }\n if (!isScheduler(scheduler)) {\n scheduler = async;\n }\n return new Observable(subscriber => {\n const due = isNumeric(dueTime)\n ? dueTime\n : (+dueTime - scheduler.now());\n return scheduler.schedule(dispatch, due, {\n index: 0, period, subscriber\n });\n });\n}\nfunction dispatch(state) {\n const { index, period, subscriber } = state;\n subscriber.next(index);\n if (subscriber.closed) {\n return;\n }\n else if (period === -1) {\n return subscriber.complete();\n }\n state.index = index + 1;\n this.schedule(state, period);\n}\n//# sourceMappingURL=timer.js.map","import { Action, createAction, props } from '@ngrx/store';\r\nimport { ICart, ICartMenuFlow, ICartSimpleItem, ICartSimpleItemExtended, ICartMenuFlowExtended } from '../interface';\r\n\r\n/* General */\r\nexport const CartPickupTimeUpdate = createAction(\r\n '[Cart] Update pickup time',\r\n props<{ modalId: number; locationNo: number; pickupTime: OLO.Ordering.IPickupTime; }>(),\r\n);\r\n\r\nexport const CartSetup = createAction(\r\n '[Cart] Setup and validate active orders crap AOLO-289',\r\n props<{ modalId: number; locationNo: number; item: ICartMenuFlow | ICartSimpleItem; }>(),\r\n);\r\n\r\nexport const CartSetupWithMultipleItems = createAction(\r\n '[Cart] Setup and validate active orders from reorder modal',\r\n (modalId: number, locationNo: number, menuFlows: ICartMenuFlow[] = [], simpleItems: ICartSimpleItem[] = []) => ({ modalId, locationNo, menuFlows, simpleItems })\r\n);\r\n\r\nexport const CartTransferItemRequest = createAction(\r\n '[Cart] Transfer item request',\r\n props<{ modalId: number; locationNo: number; item: ICartMenuFlow | ICartSimpleItem; }>(),\r\n);\r\n\r\nexport const CartActiveOrderContinue = createAction(\r\n '[Cart] Active order - continue',\r\n props<{ modalId: number; }>(),\r\n);\r\n\r\nexport const CartActiveOrderStartNew = createAction(\r\n '[Cart] Active order - start new order',\r\n props<{ modalId: number; locationNo: number; }>(),\r\n);\r\n\r\nexport const CartLoad = createAction(\r\n '[Cart] Load cart contents from browser storage',\r\n props<{ cart: ICart; }>(),\r\n);\r\n\r\n//export const CartSetPendingClear = createAction('[Cart] Set pending clear'); /* DO WE NEED THAT? */\r\n\r\nexport const CartSetLocationNo = createAction(\r\n '[Cart] Set locationNo',\r\n (locationNo: number = null) => ({ locationNo }),\r\n);\r\n\r\nexport const CartSetOnlineMenu = createAction(\r\n '[Cart] Set online menu time',\r\n props<{ onlineMenu: APIv1.OnlineMenuResponseModel; }>(),\r\n);\r\n\r\nexport const CartSetPickupTime = createAction(\r\n '[Cart] Set pickup time',\r\n (pickupTime: OLO.Ordering.IPickupTime = null) => ({ pickupTime })\r\n);\r\n\r\nexport const CartReset = createAction('[Cart] Restore entire cart to initial state');\r\n\r\nexport const CartRemoveAllItems = createAction('[Cart] Remove all products and menuflows');\r\n\r\nexport const CartEditItem = createAction(\r\n '[Cart] Edit item',\r\n props<{ item: ICartMenuFlow | ICartSimpleItem; }>(),\r\n);\r\n\r\n/* Products */\r\nexport const CartSimpleItemAdd = createAction(\r\n '[Cart] Add simple item',\r\n props<{ locationNo: number; item: ICartSimpleItem & ICartSimpleItemExtended; }>(),\r\n);\r\n\r\nexport const CartSimpleItemUpdate = createAction(\r\n '[Cart] Update simple item props/values',\r\n props<{ item: ICartSimpleItem; }>(),\r\n);\r\n\r\nexport const CartSimpleItemDecrement = createAction(\r\n '[Cart] Decrement simple item',\r\n (tempItemId: number, changeValue: number = 1) => ({ tempItemId, changeValue }),\r\n);\r\n\r\nexport const CartSimpleItemIncrement = createAction(\r\n '[Cart] Increment simple item',\r\n (tempItemId: number, changeValue: number = 1) => ({ tempItemId, changeValue }),\r\n);\r\n\r\nexport const CartSimpleItemRemove = createAction(\r\n '[Cart] Remove simple item',\r\n props<{ tempItemId: number; }>(),\r\n);\r\n\r\n\r\n/* Menu flows */\r\nexport const CartMenuFlowAdd = createAction(\r\n '[Cart] Add menu flow item',\r\n props<{ locationNo: number; item: ICartMenuFlowExtended; }>(),\r\n);\r\n\r\nexport const CartMenuFlowAddWithMerge = createAction(\r\n '[Cart] Add menu flow item but check if there is any identical in cart' /* AOLO-282 */,\r\n props<{ locationNo: number; item: ICartMenuFlowExtended; }>(),\r\n);\r\n\r\nexport const CartMenuFlowUpdate = createAction(\r\n '[Cart] Update menu flow props/values',\r\n props<{ item: ICartMenuFlowExtended; }>(),\r\n);\r\n\r\nexport const CartMenuFlowDecrement = createAction(\r\n '[Cart] Decrement menu flow item',\r\n (tempId: number, changeValue: number = 1) => ({ tempId, changeValue }),\r\n);\r\n\r\nexport const CartMenuFlowIncrement = createAction(\r\n '[Cart] Increment menu flow item',\r\n (tempId: number, changeValue: number = 1) => ({ tempId, changeValue }),\r\n);\r\n\r\nexport const CartMenuFlowRemove = createAction(\r\n '[Cart] Remove menu flow item',\r\n props<{ tempId: number; }>(),\r\n);\r\n","export type ALERT_TYPE = 'error' | 'success' | 'warning' | 'info';\r\n\r\nexport enum ALERT_ANIMATION {\r\n IN = 'in',\r\n OUT = 'out',\r\n}\r\n\r\nexport interface IAlertMessagesState {\r\n alertMessages?: IAlertMessage[];\r\n}\r\n\r\nexport interface IAlertMessage {\r\n id?: number;\r\n type?: ALERT_TYPE;\r\n animation?: ALERT_ANIMATION;\r\n title?: string;\r\n description?: string;\r\n}\r\n","import { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function observeOn(scheduler, delay = 0) {\n return function observeOnOperatorFunction(source) {\n return source.lift(new ObserveOnOperator(scheduler, delay));\n };\n}\nexport class ObserveOnOperator {\n constructor(scheduler, delay = 0) {\n this.scheduler = scheduler;\n this.delay = delay;\n }\n call(subscriber, source) {\n return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n }\n}\nexport class ObserveOnSubscriber extends Subscriber {\n constructor(destination, scheduler, delay = 0) {\n super(destination);\n this.scheduler = scheduler;\n this.delay = delay;\n }\n static dispatch(arg) {\n const { notification, destination } = arg;\n notification.observe(destination);\n this.unsubscribe();\n }\n scheduleMessage(notification) {\n const destination = this.destination;\n destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n }\n _next(value) {\n this.scheduleMessage(Notification.createNext(value));\n }\n _error(err) {\n this.scheduleMessage(Notification.createError(err));\n this.unsubscribe();\n }\n _complete() {\n this.scheduleMessage(Notification.createComplete());\n this.unsubscribe();\n }\n}\nexport class ObserveOnMessage {\n constructor(notification, destination) {\n this.notification = notification;\n this.destination = destination;\n }\n}\n//# sourceMappingURL=observeOn.js.map","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const ProductImagesRequest = createAction(\r\n '[Product images] Request',\r\n props<{ params: APICommon.IImagesGetParams; productIds: number[] }>(),\r\n);\r\n\r\nexport const ProductImagesSuccessRequest = createAction(\r\n '[Product images] Success request',\r\n props<{ payload: APIv1.ImageUrlModel[]; productIds: number[] }>(),\r\n);\r\n\r\nexport const ProductImagesErrorRequest = createAction(\r\n '[Product images] Error request',\r\n props<{ productIds: number[]; ex?: any }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var he = moment.defineLocale('he', {\n months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),\n monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),\n weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),\n weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),\n weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D [ב]MMMM YYYY',\n LLL : 'D [ב]MMMM YYYY HH:mm',\n LLLL : 'dddd, D [ב]MMMM YYYY HH:mm',\n l : 'D/M/YYYY',\n ll : 'D MMM YYYY',\n lll : 'D MMM YYYY HH:mm',\n llll : 'ddd, D MMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[היום ב־]LT',\n nextDay : '[מחר ב־]LT',\n nextWeek : 'dddd [בשעה] LT',\n lastDay : '[אתמול ב־]LT',\n lastWeek : '[ביום] dddd [האחרון בשעה] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'בעוד %s',\n past : 'לפני %s',\n s : 'מספר שניות',\n ss : '%d שניות',\n m : 'דקה',\n mm : '%d דקות',\n h : 'שעה',\n hh : function (number) {\n if (number === 2) {\n return 'שעתיים';\n }\n return number + ' שעות';\n },\n d : 'יום',\n dd : function (number) {\n if (number === 2) {\n return 'יומיים';\n }\n return number + ' ימים';\n },\n M : 'חודש',\n MM : function (number) {\n if (number === 2) {\n return 'חודשיים';\n }\n return number + ' חודשים';\n },\n y : 'שנה',\n yy : function (number) {\n if (number === 2) {\n return 'שנתיים';\n } else if (number % 10 === 0 && number !== 10) {\n return number + ' שנה';\n }\n return number + ' שנים';\n }\n },\n meridiemParse: /אחה\"צ|לפנה\"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,\n isPM : function (input) {\n return /^(אחה\"צ|אחרי הצהריים|בערב)$/.test(input);\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 5) {\n return 'לפנות בוקר';\n } else if (hour < 10) {\n return 'בבוקר';\n } else if (hour < 12) {\n return isLower ? 'לפנה\"צ' : 'לפני הצהריים';\n } else if (hour < 18) {\n return isLower ? 'אחה\"צ' : 'אחרי הצהריים';\n } else {\n return 'בערב';\n }\n }\n });\n\n return he;\n\n})));\n","import { Inject, Injectable } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, filter, take, distinctUntilChanged, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSettingsController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public get appModeLoyaltyOnly(): boolean {\r\n return this._config.appMode === IAppMode.LOYALTY_ONLY;\r\n }\r\n\r\n public get appSettingsLinksFromConfig(): IConfigLink[] {\r\n return this._config.links || [];\r\n }\r\n\r\n public onTermsAndConditionsClick(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppSettings),\r\n take(1),\r\n ).subscribe(settings => {\r\n let url: string = settings?.data?.AppSettings?.TermsAndConditionsUrl || this._config.termsAndConditionsUrl || null;\r\n\r\n if (!url) {\r\n return console.warn('Link is not defined in app settings nor in config.js file');\r\n }\r\n\r\n window.open(url, '_blank').focus();\r\n });\r\n }\r\n\r\n public onPrivacyPolicyClick(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppSettings),\r\n take(1),\r\n ).subscribe(settings => {\r\n let url: string = settings?.data?.AppSettings?.PrivacyPolicyUrl || this._config.links?.find(obj => obj.name.toLowerCase().includes('privacy'))?.url || null;\r\n\r\n if (!url) {\r\n return console.warn('Link is not defined in app settings nor in config.js file');\r\n }\r\n\r\n window.open(url, '_blank').focus();\r\n });\r\n }\r\n\r\n public appSettingsLinks$(): Observable {\r\n const extractLink = (name: string, dynamicLinks: IConfigLink[], staticLinks: IConfigLink[]) => {\r\n return dynamicLinks.find(obj => obj.name.toLowerCase() === name.toLowerCase()) || staticLinks.find(obj => obj.name.toLowerCase() === name.toLowerCase()) || null;\r\n };\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getAppSettingsLinks),\r\n filter(links => links !== null),\r\n distinctUntilChanged((prev, next) => prev.length === next.length),\r\n map(dynamiLinks => {\r\n const staticLinks = this.appSettingsLinksFromConfig;\r\n return [\r\n extractLink('Contact Us', dynamiLinks, staticLinks),\r\n extractLink('User Agreement', dynamiLinks, staticLinks),\r\n extractLink('Privacy Policy', dynamiLinks, staticLinks),\r\n ].filter(obj => obj !== null);\r\n }),\r\n );\r\n }\r\n\r\n public appLocationMode$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(\r\n selectors.getAppLocationMode\r\n ),\r\n );\r\n }\r\n\r\n public isVenueMode$(): Observable {\r\n return this.appLocationMode$()\r\n .pipe(\r\n map(mode => mode === OLO.Enums.APP_MODE.VENUE)\r\n );\r\n }\r\n\r\n public showDistance$(): Observable {\r\n return this.appLocationMode$()\r\n .pipe(\r\n map(mode => mode === OLO.Enums.APP_MODE.LOCATION),\r\n );\r\n }\r\n\r\n public deviceType$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(\r\n selectors.getDeviceType\r\n ),\r\n );\r\n }\r\n\r\n public hasInitialized$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(\r\n selectors.hasAppInitialized\r\n ),\r\n );\r\n }\r\n\r\n public isOnline$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isOnline)\r\n );\r\n }\r\n\r\n public getMappedOfflineError(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isOnlineMapped)\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, combineLatest, switchMap, take, filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CartController {\r\n public popupTimeout: number = 300;\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _routeService: Services.RouteService,\r\n ) { }\r\n\r\n public handleActiveOrderContinue(modalId: number, locationNo: number): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isCheckoutPage),\r\n take(1)\r\n ).subscribe(isCheckoutPage => {\r\n this.activeOrderContinue(modalId);\r\n\r\n if (!isCheckoutPage) {\r\n // this._routeService.navigateToLocation(locationNo);\r\n\r\n /* Give some time to close modal before navigating to avoid modal's 'injury'. This is pure precautious */\r\n setTimeout(() => this._routeService.navigateToCartsLocation(), 501);\r\n\r\n }\r\n });\r\n }\r\n\r\n public handleActiveOrderStartNew(modalId: number, locationNo: number): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isCheckoutPage),\r\n take(1)\r\n ).subscribe(isCheckoutPage => {\r\n this.activeOrderStartNew(modalId, locationNo);\r\n if (isCheckoutPage) {\r\n setTimeout(() => this._routeService.navigateToCartsLocation(), 501);\r\n }\r\n });\r\n }\r\n\r\n public getCartLocationNo$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n map(cart => cart.locationNo)\r\n );\r\n }\r\n\r\n public updateCartPickupTime(pickupTime: OLO.Ordering.IPickupTime): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n take(1)\r\n ).subscribe(cart => {\r\n this._store.dispatch(actions.CartPickupTimeUpdate({ modalId: null, locationNo: cart.locationNo, pickupTime }));\r\n });\r\n }\r\n\r\n public cartMenuFlowTotalQuantityForCurrentLocation$(menuFlowId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartMenuFlowTotalQuantityForCurrentLocation(menuFlowId))\r\n );\r\n }\r\n\r\n public cartSimpleProductTotalQuantityForCurrentLocation$(productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartSimpleProductTotalQuantityForCurrentLocation(productId))\r\n );\r\n }\r\n\r\n public cartTotalQuantity$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartTotalQuantity),\r\n );\r\n }\r\n\r\n public cartTotalValue$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartTotalValue),\r\n );\r\n }\r\n\r\n public cartLocationFriendlyName$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartLocationFriendlyName),\r\n );\r\n }\r\n\r\n public isPopupVisible$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isCartPopupVisible)\r\n );\r\n }\r\n\r\n public popupAnimation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.cartPopupAnimation)\r\n );\r\n }\r\n\r\n public cartPickupTime$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartPickupTime)\r\n );\r\n }\r\n\r\n public cartPickupTimeLabel$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getPickupTimeLabelForCart),\r\n );\r\n }\r\n\r\n public cartPickupTimeLabelFull$(prefix: string = 'PICK UP ', type: OLO.Types.PICKUP_LABEL_TYPES = 'common'): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartPickupTime),\r\n filter(pickupTime => !!pickupTime === true),\r\n map(pickupTime => {\r\n return `${prefix || ''}${Utils.Dates.createPickupLabelName(\r\n this._config.pickups.futureOrders,\r\n type,\r\n pickupTime?.Date || new Date(),\r\n pickupTime ? pickupTime.IsAsap : true,\r\n null,\r\n pickupTime?.IsAsap ? pickupTime.MinutesFromNow : null\r\n )}`;\r\n })\r\n );\r\n\r\n }\r\n\r\n public cartMenuFlowDescription$(id: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartMenuFlowDescription(id))\r\n );\r\n }\r\n\r\n public getAllCartItemsSorted$(): Observable> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartAllItems)\r\n );\r\n }\r\n\r\n public emptyBtnLabel$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n map(isLocationDetails => {\r\n return isLocationDetails ? 'view menu' : 'Choose store';\r\n })\r\n );\r\n }\r\n\r\n public calculateCartItemTotalValue(item: State.ICartMenuFlow & State.ICartSimpleItem): number {\r\n return item.MenuFlowId ? item.UnitTotalValue * item.Quantity : item.UnitPrice * item.Quantity;\r\n }\r\n\r\n public cartItemTotalValue$(item: State.ICartMenuFlow & State.ICartSimpleItem): Observable {\r\n if (item.MenuFlowId) {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartMenuFlowById(item._Id)),\r\n filter(menuFlow => menuFlow !== undefined),\r\n map(menuFlow => {\r\n return menuFlow.Quantity * menuFlow.UnitTotalValue;\r\n })\r\n );\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartSimpleItemById(item._Id)),\r\n filter(product => product !== undefined),\r\n map(product => product.Quantity * product.UnitPrice)\r\n );\r\n }\r\n\r\n public cartItemTotalQuantity$(item: State.ICartMenuFlow & State.ICartSimpleItem): Observable {\r\n if (item.MenuFlowId) {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartMenuFlowById(item._Id)),\r\n filter(menuFlow => menuFlow !== undefined),\r\n map(menuFlow => {\r\n return menuFlow.Quantity;\r\n })\r\n );\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartSimpleItemById(item._Id)),\r\n filter(product => {\r\n return product !== undefined;\r\n }),\r\n map(product => product.Quantity)\r\n );\r\n }\r\n\r\n public cartItemTitle(item: State.ICartMenuFlow & State.ICartSimpleItem): string {\r\n return item.IsUpsell ? item.DisplayName : item.PosDisplay;\r\n }\r\n\r\n public cartItemDescription(item: State.ICartMenuFlow & State.ICartSimpleItem): Observable {\r\n return item.MenuFlowId ? this.cartMenuFlowDescription$(item._Id) : null;\r\n }\r\n\r\n public showViewCart$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getDeviceType),\r\n combineLatest(\r\n this.cartTotalQuantity$(),\r\n this._store\r\n .pipe(\r\n select(selectors.isCheckoutPage)\r\n )\r\n ),\r\n map(([device, total, isCheckoutPage]) => {\r\n return isCheckoutPage === false && device === OLO.Enums.DEVICE_TYPE.MOBILE && total > 0;\r\n })\r\n );\r\n }\r\n\r\n /* MOVE */\r\n public decrementCartItem(item: State.ICartMenuFlow | State.ICartSimpleItem): void {\r\n const id: number = item._Id;\r\n const isMenuFlow: boolean = !!item.MenuFlowId;\r\n const shouldRemove: boolean = item.Quantity <= 1;\r\n\r\n if (isMenuFlow) {\r\n if (shouldRemove) {\r\n return this._store.dispatch(actions.CartMenuFlowRemove({ tempId: id }));\r\n }\r\n return this._store.dispatch(actions.CartMenuFlowDecrement(id));\r\n }\r\n\r\n if (shouldRemove) {\r\n return this._store.dispatch(actions.CartSimpleItemRemove({ tempItemId: id }));\r\n }\r\n\r\n return this._store.dispatch(actions.CartSimpleItemDecrement(id));\r\n }\r\n\r\n /* MOVE */\r\n public incrementCartItem(item: State.ICartMenuFlow | State.ICartSimpleItem): void {\r\n const id: number = item._Id;\r\n const isMenuFlow: boolean = !!item.MenuFlowId;\r\n\r\n if (isMenuFlow) {\r\n return this._store.dispatch(actions.CartMenuFlowIncrement(id));\r\n }\r\n\r\n return this._store.dispatch(actions.CartSimpleItemIncrement(id));\r\n }\r\n\r\n /* MOVE */\r\n public editCartItem(item: State.ICartMenuFlow | State.ICartSimpleItem): void {\r\n return this._store.dispatch(actions.CartEditItem({ item }));\r\n }\r\n\r\n /* MOVE */\r\n public activeOrderContinue(modalId: number): void {\r\n this._store.dispatch(actions.CartActiveOrderContinue({ modalId }));\r\n }\r\n\r\n /* MOVE */\r\n public activeOrderStartNew(modalId: number, locationNo: number): void {\r\n this._store.dispatch(actions.CartActiveOrderStartNew({ modalId, locationNo }));\r\n }\r\n\r\n // public clearCart(): void {\r\n // this._store.dispatch(actions.CartReset());\r\n // this._store.dispatch(actions.OnlineOrderStateReset());\r\n // }\r\n\r\n /* MOVE */\r\n public removeAllItems(): void {\r\n /* Will preserve info about online menu and location */\r\n this._store.dispatch(actions.CartReset());\r\n }\r\n\r\n /* MOVE */\r\n public quickAddToCart(item: State.ICartMenuFlow | State.ICartSimpleItem | APIv1.OnlineMenuProductResponseModel): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => {\r\n const convertedItem = Utils.Items.convertToSanitizedSimpleItem(item, locationNo);\r\n this._store.dispatch(actions.CartSetup({ modalId: null, locationNo, item: convertedItem }));\r\n });\r\n }\r\n\r\n public addAsIs(item: APIv1.OnlineMenuProductResponseModel): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => {\r\n this._store.dispatch(\r\n actions.WizzardSilentSetupItem(locationNo, item)\r\n );\r\n });\r\n\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, withLatestFrom, take, filter, combineLatest } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CreditCardsController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public isAddingCard$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isAddingCardRequest),\r\n );\r\n }\r\n\r\n public isDownloadingCardsList$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isDownloadingCardsList)\r\n );\r\n }\r\n\r\n public isMakingRequests$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isLoadingCards),\r\n );\r\n }\r\n\r\n public showPaymentFormForGuest$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.shouldShowCreditCardForm),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.showAddCardForm)\r\n )\r\n ),\r\n map(([shouldShowForm, formIsAddingFlag]) => {\r\n return shouldShowForm || formIsAddingFlag;\r\n }),\r\n );\r\n }\r\n\r\n public showPaymentFormForMember$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n combineLatest(\r\n this.isMakingRequests$(),\r\n this.isLoadingCardsFirstTime$(),\r\n this.isAccountChargeSet$(this._config)\r\n ),\r\n filter(([state, isMakingRequests, isLoadingCardsFirstTime]) => isMakingRequests === false), /* Filter this to avoid form disconnection during post */\r\n map(([state, isMakingRequests, isLoadingCardsFirstTime, hasAccount]) => {\r\n if (isMakingRequests || isLoadingCardsFirstTime || hasAccount) return false;\r\n\r\n if (!state.data || state.data.length === 0) return true;\r\n return state.showAddCardForm;\r\n })\r\n );\r\n }\r\n\r\n public canChangePaymentDetailsForGuest$(): Observable {\r\n return this.showPaymentFormForGuest$()\r\n .pipe(\r\n map(showForm => {\r\n return !showForm;\r\n }),\r\n );\r\n }\r\n\r\n public canChangePaymentDetailsForMember$(): Observable {\r\n return this.showPaymentFormForMember$()\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isUnsavedCardSelected)\r\n ),\r\n this.isMakingRequests$(),\r\n ),\r\n map(([showForm, state, isUnsavedCardSelected, isMakingRequests]) => {\r\n if (isMakingRequests) return false;\r\n\r\n const containsUnsavedCard = state.data.some(obj => obj.Id === null);\r\n return !showForm && containsUnsavedCard && isUnsavedCardSelected;\r\n }),\r\n );\r\n }\r\n\r\n public canMemberAddAnotherCard$(): Observable {\r\n return this.showPaymentFormForMember$()\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState)\r\n ),\r\n this.isMakingRequests$(),\r\n this.isAccountChargeSet$(this._config)\r\n ),\r\n map(([showForm, state, isMakingRequests, hasAccount]) => {\r\n if (isMakingRequests) return false;\r\n if (hasAccount) return true;\r\n return showForm ? false : state.data.length > 0;\r\n }),\r\n );\r\n }\r\n\r\n public isAccountChargeSet$(config: IConfig): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isAccountSet(config))\r\n );\r\n }\r\n\r\n public getCardsList$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCards),\r\n );\r\n }\r\n\r\n public getActiveCardDetails$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getActiveCardDetails)\r\n );\r\n }\r\n\r\n public isCardSelected$(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isCardSelected(creditCard)),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled),\r\n )\r\n ),\r\n map(([isCardSelected, isGuest]) => {\r\n if (isGuest) return true;\r\n\r\n return isCardSelected;\r\n })\r\n );\r\n }\r\n\r\n public cardErrorMessages(creditCard: OLO.Members.IMemberCreditCardDetails): { [key: string]: string; } {\r\n if (creditCard.Id) return { cardRetry: null };\r\n return { cardChange: null };\r\n }\r\n\r\n public selectedCardIsOk$(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this.isCardSelected$(creditCard)\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getPaymentErrors)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState)\r\n )\r\n ),\r\n map(([isSelected, errors, guestMode, cardsState]) => {\r\n if (!guestMode) return isSelected && errors.length === 0;\r\n\r\n if (isSelected && cardsState.validation.hasFailed === true || errors.length > 0) return false;\r\n\r\n return isSelected;\r\n })\r\n );\r\n }\r\n\r\n public selectedCardHasError$(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this.isCardSelected$(creditCard)\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getPaymentErrors)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState)\r\n )\r\n ),\r\n map(([isSelected, errors, guestMode, cardsState]) => {\r\n const savedHasError = !guestMode && isSelected && errors.length !== 0;\r\n\r\n const validationFailed: boolean = creditCard._ValidationStatus === 'error' && isSelected;\r\n const removeFailed: boolean = cardsState.remove.id !== null && cardsState.remove.id === creditCard.Id && cardsState.remove.hasFailed;\r\n if (validationFailed || removeFailed || savedHasError) return true;\r\n\r\n return false;\r\n }),\r\n );\r\n }\r\n\r\n public getActiveCardRedirectUrl$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getActiveCardRedirectUrl)\r\n );\r\n }\r\n\r\n public canCancelAddingNewCardsForm$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasCreditCardsDefined),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState)\r\n )\r\n ),\r\n map(([hasCardsDefined, state]) => {\r\n if (state.activeCardRedirectUrl && state.data && state.data.length === 1) return false;\r\n return hasCardsDefined;\r\n })\r\n );\r\n }\r\n\r\n public isLoadingCardsFirstTime$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isRequestingCardsFirstTime),\r\n );\r\n }\r\n\r\n public hasDownloadedCards$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasDownloadedCards),\r\n );\r\n }\r\n\r\n public hasCards$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n combineLatest(\r\n this.isLoadingCardsFirstTime$()\r\n ),\r\n filter(([state, isLoadingFirstTime]) => isLoadingFirstTime === false),\r\n map(([state, isLoadingFirstTime]) => state.data && state.data.length > 0)\r\n );\r\n }\r\n\r\n public isRemovingCard(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isRemovingCard(creditCard.Id))\r\n );\r\n }\r\n\r\n public removeCardFailed(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.removeFailedForCard(creditCard.Id))\r\n );\r\n }\r\n\r\n public canShowNoPaymentMethodDefined$(): Observable {\r\n return this.hasCards$()\r\n .pipe(\r\n combineLatest(\r\n this.hasDownloadedCards$(),\r\n this._store\r\n .pipe(\r\n select(selectors.showAccountPaymentMethod(this._config))\r\n ),\r\n ),\r\n map(([hasCards, hasDownloaded, hasAccountPaymentMethod]) => {\r\n return hasDownloaded === true && hasCards === false && !hasAccountPaymentMethod;\r\n })\r\n );\r\n }\r\n\r\n public resetCreditCardErrors(): void {\r\n this._store.dispatch(actions.CreditCardsResetError());\r\n }\r\n\r\n public addCreditCard(cardData: OLO.CreditCards.ICreditCardDetails): void {\r\n this._store.dispatch(actions.GetCreditCardToken(cardData));\r\n }\r\n\r\n public hideAddCardForm(): void {\r\n this._store.dispatch(actions.CreditCardShowForm({ isAdding: false }));\r\n }\r\n\r\n public toggleCreditCardFormVisibilityWithCleanUp(isAdding: boolean = true): void {\r\n this._store.dispatch(actions.CreditCardsClearAllUnsavedCards());\r\n this._store.dispatch(actions.CreditCardShowForm({ isAdding }));\r\n }\r\n\r\n public removeAllUnsavedCards(): void {\r\n return this._store.dispatch(actions.CreditCardsClearAllUnsavedCards());\r\n }\r\n\r\n public resetCreditCardDetails(): void {\r\n this._store.dispatch(actions.CreditCardsStateReset());\r\n }\r\n\r\n public removeUnsavedSelectedCard(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n take(1)\r\n ).subscribe(state => {\r\n const activeToken = state.activeCardToken;\r\n const card = state.data.find(obj => obj.Token === activeToken && obj.Id === null);\r\n\r\n if (!card) return;\r\n\r\n this._store.dispatch(actions.CreditCardsRemoveUnsavedCard({ token: activeToken }));\r\n });\r\n }\r\n public selectCardForPayment(card: OLO.Members.IMemberCreditCardDetails): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isPaying),\r\n take(1)\r\n ).subscribe(isPaying => {\r\n if (isPaying) return;\r\n\r\n this._store.dispatch(actions.PaymentReset());\r\n this._store.dispatch(actions.CreditCardsResetError());\r\n if (card.Id) {\r\n return this._store.dispatch(actions.SelectActiveCreditCardId({ cardId: card.Id }));\r\n }\r\n\r\n return this._store.dispatch(actions.SelectActiveCreditCardToken({ token: card.Token }));\r\n });\r\n }\r\n\r\n public requestCardsList(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.isDownloading === false),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n ),\r\n ),\r\n take(1),\r\n ).subscribe(([state, isAuthorized, isGuest]) => {\r\n if (isAuthorized && !isGuest) {\r\n this._store.dispatch(actions.CreditCardsRequest());\r\n }\r\n });\r\n }\r\n\r\n public removeCreditCard(card: OLO.Members.IMemberCreditCardDetails): void {\r\n return this._store.dispatch(actions.CreditCardsRemoveRequest({ cardId: card.Id }));\r\n }\r\n\r\n public memberCardErrorHandler(card: OLO.Members.IMemberCreditCardDetails): void {\r\n this._store.dispatch(actions.PaymentReset());\r\n }\r\n\r\n public isAccountChargeSelected$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isAccountChargeSelected)\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, MemoizedSelector, createSelector } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, auditTime, filter, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FiltersController {\r\n private _pickupModes: OLO.Components.DropDown.IDropDownOption[] = [\r\n {\r\n Id: 1,\r\n Name: 'ASAP'\r\n },\r\n {\r\n Id: 2,\r\n Name: 'Later today',\r\n }\r\n ];\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) public config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public get pickupModes(): OLO.Components.DropDown.IDropDownOption[] {\r\n return this._pickupModes.map(mode => {\r\n if (mode.Id === 2 && this.config.pickups.futureOrders) {\r\n return {\r\n ...mode,\r\n Name: 'Schedule'\r\n };\r\n }\r\n return {\r\n ...mode,\r\n };\r\n });\r\n }\r\n\r\n // public getAvailablePickupTimesForAllLocations(\r\n // orderTimeoutBufferMins: number = this.config.pickups.orderTimeoutBufferMins,\r\n // startBufferMins: number = this.config.pickups.startBufferMins,\r\n // nextTick: number = this.config.pickups.nextTick,\r\n // ): MemoizedSelector {\r\n // return createSelector(\r\n // selectors.getEdgeOrderingTimeInfoForLocations(),\r\n // (edgeCases) => {\r\n // const DayOfWeek: number = new Date().getDay();\r\n\r\n // if (edgeCases.MinimumPickupTime === null) {\r\n // return null;\r\n // }\r\n // return Utils.Dates.generatePickupTimesList({\r\n // location: null,\r\n // asapPickupMins: edgeCases.MinimumPickupTime,\r\n // openingHours: {\r\n // DayOfWeek: (DayOfWeek as APICommon.DayOfWeek),\r\n // OpeningTime: edgeCases.OpeningTime,\r\n // ClosingTime: edgeCases.ClosingTime,\r\n // // LocationId: 0, /* API bug */\r\n // },\r\n // orderTimeoutBufferMins,\r\n // startBufferMins,\r\n // nextTick,\r\n // });\r\n // }\r\n // );\r\n // }\r\n\r\n // public generatePickupTimesListForAllLocations$(\r\n // orderTimeoutBufferMins: number = this.config.pickups.orderTimeoutBufferMins,\r\n // startBufferMins: number = this.config.pickups.startBufferMins,\r\n // nextTick: number = this.config.pickups.nextTick,\r\n // ): Observable {\r\n // return this._store.pipe(\r\n // select(selectors.generatedPickupTimesForAllLocations(orderTimeoutBufferMins, startBufferMins, nextTick)),\r\n // filter(c => c !== null && c.length > 0),\r\n // distinct(c => c[0].Id && c[c.length - 1].Id),\r\n // );\r\n // }\r\n\r\n\r\n public getLocationFilters$(): Observable {\r\n return this._store.pipe(select(selectors.getLocationFilters));\r\n }\r\n\r\n public getLocationFilterCurrentMode$(): Observable {\r\n return this._store.pipe(select(selectors.getLocationFiltersPickupMode));\r\n }\r\n\r\n public getLocationFilterSelectedPickupTime$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationFilterSelectedPickupTime)\r\n );\r\n }\r\n\r\n public getLocationsSearchInput$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.getLocationFiltersSearchInput),\r\n );\r\n }\r\n\r\n public asapPickupTimeForLocation$(locationNo: number): Observable {\r\n return this._store.pipe(\r\n select(selectors.getMinimumPickupTimeForLocation(locationNo)),\r\n map(obj => {\r\n if (!obj || obj.isDownloading) return null;\r\n return obj.MinimumPickupTime;\r\n }),\r\n auditTime(0),\r\n );\r\n }\r\n\r\n // public locationFilterPickupTimeOptions$(): Observable {\r\n // return this._store.pipe(\r\n // select(selectors.generatedPickupTimesForAllLocations(\r\n // this.config.pickups.orderTimeoutBufferMins,\r\n // this.config.pickups.startBufferMins,\r\n // this.config.pickups.nextTick\r\n // )),\r\n // filter(c => c !== null && c.length > 0),\r\n // distinct(c => c[0].Id && c[c.length - 1].Id),\r\n // );\r\n // }\r\n\r\n public pickupTimesListForLocation$(period: OLO.Ordering.IPeriod, locationNo: number) {\r\n return this._store\r\n .pipe(\r\n select(selectors.generatedPickupTimesForLocationForPeriod(period, locationNo))\r\n );\r\n }\r\n\r\n public pickupTimesListForAllLocations$(includeDayName: boolean = true, limit: number = null, isSchedule: boolean = false): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.generatedFiltersPickupTimesForAllLocations(\r\n this.config,\r\n includeDayName,\r\n limit,\r\n isSchedule,\r\n ))\r\n );\r\n // return this.locationFilterPickupTimeOptions$()\r\n // .pipe(\r\n // map(obj => {\r\n // let list = [\r\n // {\r\n // Date: null,\r\n // DateLocalISO: null,\r\n // Hour: null,\r\n // Id: 1,\r\n // Index: null,\r\n // IsAsap: true,\r\n // MinutesFromNow: null,\r\n // Name: `${isSchedule ? 'Today - ' : ''}ASAP`,\r\n // DisplayName: `${isSchedule ? 'Today - ' : ''}ASAP`,\r\n // PlaceOrderTimeout: null,\r\n // IsToday: true,\r\n // DayNo: 0,\r\n // },\r\n // ...obj\r\n // .filter(pickup => {\r\n // return pickup.IsAsap === false;\r\n // })\r\n // .map(pickup => {\r\n // let Name: string = includeDayName ? `${Utils.Dates.getDayNameFromDate(pickup.Date)} ${pickup.Name}` : pickup.Name;\r\n\r\n // if (isSchedule) {\r\n // const diff = Utils.Dates.datesDiffInDays(new Date(), pickup.Date);\r\n\r\n // switch (true) {\r\n // case diff === 0:\r\n // Name = `Today - ${pickup.Name}`;\r\n // break;\r\n // case diff === 1:\r\n // Name = `Tomorrow - ${pickup.Name}`;\r\n // break;\r\n // }\r\n\r\n // return {\r\n // ...pickup,\r\n // Name\r\n // };\r\n // }\r\n // return {\r\n // ...pickup,\r\n // Name,\r\n // };\r\n // })];\r\n\r\n // if (limit && list.length > limit) {\r\n // list.length = limit;\r\n // }\r\n\r\n // if (isSchedule) {\r\n // list.push({\r\n // Date: null,\r\n // DateLocalISO: null,\r\n // Hour: null,\r\n // Id: -1,\r\n // Index: null,\r\n // IsAsap: false,\r\n // MinutesFromNow: null,\r\n // Name: `Schedule for later`,\r\n // DisplayName: `Schedule for later`,\r\n // PlaceOrderTimeout: null,\r\n // IsToday: null,\r\n // DayNo: null,\r\n // });\r\n // }\r\n\r\n // return list;\r\n // })\r\n // );\r\n }\r\n\r\n\r\n public pickupTimesListForAllLocationsForPeriod$(period: OLO.Ordering.IPeriod/* , includeDayName: boolean = true, limit: number = null, isSchedule: boolean = false */): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.generatedPickupTimesForAllLocationsForPeriod(\r\n period,\r\n 0,\r\n 60,\r\n 60\r\n ))\r\n );\r\n }\r\n\r\n public getPickupTimeByScheduleValues$(periodId: number, pickupTimeId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAllLocationsPeriods()),\r\n map(periods => periods?.find(obj => obj.Id === periodId)),\r\n switchMap(period => {\r\n if (period.IsToday) {\r\n return this.pickupTimesListForAllLocations$();\r\n }\r\n return this.pickupTimesListForAllLocationsForPeriod$(period);\r\n }),\r\n map(pickups => pickups?.find(obj => obj.Id === pickupTimeId))\r\n );\r\n }\r\n\r\n private _dispatchLocationsFiltersActions(data: OLO.Ordering.IPickupTime): void {\r\n /* Just update state */\r\n this._store.dispatch(actions.LocationsFiltersSetPickupTime(data));\r\n this._store.dispatch(actions.CurrentLocationFiltersPickupTimeSync(data));\r\n }\r\n\r\n public onLocationsFilterModeChange(modeId: number): void {\r\n this._store.dispatch(actions.LocationsFiltersSetPickupMode(this.pickupModes[modeId] as OLO.Ordering.IFilterForPickupMode));\r\n }\r\n\r\n public onLocationsFilterChange($event: OLO.Ordering.IPickupTime): void {\r\n this._dispatchLocationsFiltersActions($event as OLO.Ordering.IPickupTime);\r\n }\r\n\r\n public clearPickupFilters(): void {\r\n this._store.dispatch(actions.LocationsFiltersRestorePickupTime());\r\n this._store.dispatch(actions.CurrentLocationFiltersPickupTimeSync(null));\r\n }\r\n\r\n public selectPickupTimeOption(option: OLO.Ordering.IPickupTime, processName: boolean = false): void {\r\n if (option.Id === 1) {\r\n this.clearPickupFilters();\r\n return;\r\n }\r\n\r\n const processedOption = {\r\n ...option,\r\n Name: processName ? option.Name.includes(' ') ? option.Name.split(' ')[1] : option.Name : option.Name,\r\n };\r\n\r\n this.onLocationsFilterChange(processedOption);\r\n }\r\n\r\n public setLocationsFiltersSearchTerm(term: string = null): void {\r\n this._store.dispatch(actions.LocationsFiltersSetSearch(term));\r\n }\r\n\r\n public setOnlineMenuFiltersSearchTerm(term: string = null): void {\r\n this._store.dispatch(actions.OnlineMenuFiltersSetSearch(term));\r\n }\r\n\r\n public getOnlineMenuFiltersSearchTerm$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuFiltersSearchInput)\r\n );\r\n }\r\n\r\n public openScheduleModal(modalId: number, locationNo: number = null, update: boolean = false): void {\r\n this._modalsService.show({\r\n id: modalId || new Date().getTime(),\r\n type: 'schedule',\r\n locationNo,\r\n params: {\r\n update,\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GeolocationController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public get userCoordsState$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getGeolocationState),\r\n );\r\n }\r\n\r\n public getDistanceToLocation$(coords: OLO.Maps.IMapSimpleCoords, toFixed: number = 2): Observable {\r\n return this.userCoordsState$\r\n .pipe(\r\n map(state => {\r\n if (state.data && coords.latitude && coords.longitude) {\r\n let distance: number = Services.GeolocationService.getDistanceFromTo(\r\n {\r\n longitude: state.data.longitude,\r\n latitude: state.data.latitude,\r\n }, {\r\n ...coords\r\n });\r\n\r\n if (this._config.localization.units === 'imperial') {\r\n distance = Utils.Numbers.kilometersToMiles(distance);\r\n }\r\n\r\n if (toFixed !== null && toFixed !== undefined && toFixed >= 0) {\r\n distance = +distance.toFixed(toFixed);\r\n }\r\n\r\n return distance;\r\n }\r\n return null;\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, combineLatest, filter, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class HistoryOrdersController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n private _orderWithStateMapper(withState: boolean, ...filterByLocationNos: number[]): (orders: State.IOnlineOrderStateItemObj[]) => State.IOnlineOrderStateItemObj[] | APIv1.OnlineOrderDetailedBusinessModel[] {\r\n return (orders: State.IOnlineOrderStateItemObj[]) => {\r\n if (withState) {\r\n return filterByLocationNos.length === 0 ? orders : orders.filter(order => order.data && filterByLocationNos.includes(order.data.PickupLocation));\r\n }\r\n\r\n const reducedOrders: APIv1.OnlineOrderDetailedBusinessModel[] = orders.reduce((acc, order) => {\r\n if (!order.data) return acc;\r\n return [\r\n ...acc,\r\n order.data\r\n ];\r\n }, []);\r\n\r\n return filterByLocationNos.length === 0 ? reducedOrders : reducedOrders.filter(order => filterByLocationNos.includes(order.PickupLocation));\r\n };\r\n }\r\n\r\n public activeOrders$(withState: boolean = true, ...filterByLocationNos: number[]): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryActiveOrders),\r\n map(this._orderWithStateMapper(withState, ...filterByLocationNos)),\r\n );\r\n }\r\n\r\n public historyOrders$(withState: boolean = true, ...filterByLocationNos: number[]): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrders),\r\n map(this._orderWithStateMapper(withState, ...filterByLocationNos)),\r\n );\r\n }\r\n\r\n public mappedOrderItems$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId)),\r\n filter(order => order !== null && order.data !== null),\r\n map(order => Utils.OnlineOrders.mapOnlineOrderProducts(order.data, true))\r\n );\r\n }\r\n\r\n public status$(): Observable<{\r\n isDownloading: boolean;\r\n hasSucceeded: boolean;\r\n hasFailed: boolean;\r\n }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrdersStatus)\r\n );\r\n }\r\n\r\n public titleForActiveOrder$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId)),\r\n map(order => {\r\n if (!order || !order.data) return '';\r\n\r\n return `Ready for pick up at ${Utils.Dates.transformHours(order.data.PickUpDate)}`;\r\n })\r\n );\r\n }\r\n\r\n public isOrderActive$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.historyOrderIsActive(orderId)),\r\n filter(isActive => isActive !== null),\r\n );\r\n }\r\n\r\n public isOrderFinalized$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.historyOrderIsFinalized(orderId))\r\n );\r\n }\r\n\r\n public isLoading$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isLoadingAnyHistoryOrder)\r\n );\r\n }\r\n\r\n public isLoadingFirstTime$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isRequestingHistoryOrderFirstTime),\r\n );\r\n }\r\n\r\n public hasOrders$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasAnyHistoryOrder)\r\n );\r\n }\r\n\r\n public hasHistoryOrders$(): Observable {\r\n return this.isLoading$()\r\n .pipe(\r\n combineLatest(\r\n this.historyOrders$()\r\n ),\r\n map(([loading, orders]) => {\r\n if (loading) return null;\r\n\r\n return orders.length > 0;\r\n })\r\n );\r\n }\r\n\r\n public hasActiveOrders$(): Observable {\r\n return this.isLoading$()\r\n .pipe(\r\n combineLatest(\r\n this.activeOrders$()\r\n ),\r\n map(([loading, orders]) => {\r\n if (loading) return null;\r\n\r\n return orders.length > 0;\r\n })\r\n );\r\n }\r\n\r\n public noHistoryOrders$(): Observable {\r\n return this.isLoadingFirstTime$()\r\n .pipe(\r\n combineLatest(\r\n this.isLoading$(),\r\n this.hasOrders$()\r\n ),\r\n map(([isLoadingFirstTime, isLoading, hasOrders]) => isLoading === false && !hasOrders)\r\n );\r\n }\r\n\r\n public getHistoryOrder$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId)),\r\n );\r\n }\r\n\r\n public getHistoryOrderMemberId$(orderId: number) {\r\n return this.getHistoryOrder$(orderId)\r\n .pipe(\r\n map(order => order && order.data ? order.data.MemberId : null)\r\n );\r\n }\r\n\r\n public getHistoryOrderSummary$(orderId: number): Observable {\r\n return this.getHistoryOrder$(orderId)\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n map(order => {\r\n return {\r\n Subtotal: order.data.TotalNettValue,\r\n Tax: order.data.TotalTaxes[0] ? order.data.TotalTaxes[0].Value : null,\r\n Total: order.data.TotalGrossValue,\r\n Surcharges: order.data.Surcharges,\r\n };\r\n })\r\n );\r\n }\r\n\r\n public getHistoryOrderTitle$(orderId: number, includeLocationName: boolean = false): Observable {\r\n return this.getHistoryOrder$(orderId)\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n switchMap(order => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(order.data.PickupLocation)),\r\n filter(location => location !== null),\r\n map(location => {\r\n const isActiveOrder = Utils.OnlineOrders.isOrderActive(order.data.Status);\r\n const locationName: string = includeLocationName ? `${location.LocationFriendlyName} - ` : '';\r\n if (isActiveOrder) {\r\n return `${locationName}Pickup at ${Utils.Dates.transformHours(order.data.PickUpDate)}`;\r\n }\r\n\r\n return `${locationName}${Utils.Dates.descriptionDate(order.data.PickUpDate)}`;\r\n })\r\n );\r\n })\r\n );\r\n }\r\n\r\n public canShowHistoryOrders$(active: boolean = false, ...locationNos): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canShowHistoryOrders(active, ...locationNos)),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, distinctUntilChanged, filter, combineLatest, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ImagesController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public imageForOrderType$(orderTypeId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypeImage(orderTypeId))\r\n );\r\n }\r\n\r\n public imageForCurrentLocation$(): Observable {\r\n return this._store.select(selectors.getLocationImageForCurrentLocation);\r\n }\r\n\r\n public imageForOnlineMenuPageProduct$(pageId: number, productId: number) {\r\n return this._store\r\n .pipe(\r\n select(selectors.getImageForOnlineMenuPageProduct(pageId, productId)),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n\r\n public dietaryTagsImages(dietaryTags: APIv1.TagModel[]): Observable {\r\n return this._store.pipe(\r\n select(selectors.getDietaryTagsByTags(dietaryTags || []))\r\n );\r\n }\r\n\r\n public wizzardMenuFlowProductImage$(productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getImageForProduct(productId)),\r\n distinctUntilChanged(),\r\n filter(image => image !== undefined),\r\n );\r\n }\r\n\r\n public venueImage$(imageType: OLO.Enums.IMAGE_TYPE = OLO.Enums.IMAGE_TYPE.ForWeb): Observable {\r\n const venueId: number = this._config.venue && this._config.venue.id ? this._config.venue.id : null;\r\n\r\n return !venueId ? of(null) : this._store\r\n .pipe(\r\n select(\r\n selectors.getVenueImage(imageType, venueId)\r\n ),\r\n );\r\n }\r\n\r\n public currentLocationImage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationImageForCurrentLocation)\r\n );\r\n }\r\n\r\n public heroHeaderImage$(imageType: OLO.Enums.IMAGE_TYPE = OLO.Enums.IMAGE_TYPE.ForWeb): Observable {\r\n const defaultImg: string = `\\/assets\\/images\\/hero.bg.jpg`;\r\n const defaultLoyaltyImg: string = `\\/assets\\/images\\/loyalty.bg.jpg`;\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.routeIsErrorPage()),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.routeIsAccountPage())\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isCurrentRouteLoyalty)\r\n ),\r\n this._store\r\n .pipe(\r\n select(\r\n selectors.getAppLocationMode\r\n ),\r\n ),\r\n ),\r\n switchMap(([isLocationDetailsPage, isErrorPage, isAccountPage, isLoyaltyPage, appLocationMode]) => {\r\n if (isLoyaltyPage) return of(defaultLoyaltyImg);\r\n\r\n if (isAccountPage || isErrorPage) return of(null);\r\n\r\n if (isLocationDetailsPage) {\r\n return this._store\r\n .pipe(\r\n select(selectors.currentLocationNoByRoute),\r\n filter(locationNo => locationNo !== undefined),\r\n switchMap(locationNo => this._store\r\n .pipe(\r\n select(selectors.getLocationImage(OLO.Enums.IMAGE_TYPE.ForWeb, locationNo)),\r\n map(obj => {\r\n if (obj && obj.data && obj.data.ImageUrl) {\r\n return obj.data.ImageUrl;\r\n }\r\n return null;\r\n })\r\n ))\r\n );\r\n }\r\n\r\n if (appLocationMode === OLO.Enums.APP_MODE.VENUE) {\r\n return this.venueImage$()\r\n .pipe(\r\n filter(obj => obj.isDownloading === false),\r\n map(obj => {\r\n if (obj !== null && obj !== undefined && obj.data && obj.data.ImageUrl) {\r\n return obj.data.ImageUrl;\r\n }\r\n\r\n if (obj.hasSucceeded === false && obj.hasFailed === false) {\r\n return null;\r\n }\r\n\r\n return defaultImg;\r\n\r\n })\r\n );\r\n }\r\n\r\n /* Default preuploaded locally image */\r\n return of(defaultImg);\r\n }),\r\n );\r\n }\r\n\r\n public getImageForFreeProduct$(productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getFreeProductsImageImage(productId))\r\n );\r\n }\r\n\r\n public getImageForFreeProductByFreeProductId$(freeProductId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getFreeProduct(freeProductId)),\r\n switchMap(freeProduct => {\r\n if (!freeProduct) return of(null);\r\n return this.getImageForFreeProduct$(freeProduct.ProductId);\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class IngredientsController {\r\n constructor(\r\n private _store: Store,\r\n ) { }\r\n\r\n public getIngredientsForWizzardProduct(product: APIv1.MenuFlowProduct): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow),\r\n filter(wizzardMenuFlow => wizzardMenuFlow !== null),\r\n switchMap(wizzardMenuFlow =>\r\n this._store\r\n .pipe(\r\n select(selectors.getIngredientsForProduct(product.ProductId, wizzardMenuFlow.LocationNo)))\r\n )\r\n );\r\n }\r\n\r\n public isIngredientForWizzardProductMandatory(product: APIv1.MenuFlowProduct): Observable {\r\n return this.getIngredientsForWizzardProduct(product)\r\n .pipe(\r\n map(ingredient => {\r\n // Model has changed, there is no IsOptional flag any more in api model\r\n /* return ingredient.data.Ingredients[0].IsOptional === false */\r\n return true;\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinctUntilChanged, auditTime, filter, combineLatest, switchMap, take, tap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LocationsController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public getPeriodsForAllLocations$(format: string = 'ddd, D MMM', prefixes: boolean = true): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAllLocationsPeriods()),\r\n );\r\n }\r\n\r\n\r\n public getPeriodsForLocation$(locationNo: number, format: string = 'ddd, D MMM', prefixes: boolean = true): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationPeriods(locationNo, format, prefixes)),\r\n );\r\n }\r\n\r\n public currentLocationNoByRoute$(): Observable {\r\n const isVenueSet = this._config.venue !== null && this._config.venue !== undefined && !!this._config.venue.name;\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRoute),\r\n combineLatest(\r\n this._store.pipe(\r\n select(selectors.getLocationsState),\r\n )\r\n ),\r\n filter(([route, locations]) => locations.isDownloading === false && locations.data !== null),\r\n map(([route, locations]) => {\r\n if (!route || !locations) return null;\r\n if (!isVenueSet) return route.params.id ? +route.params.id : null;\r\n\r\n const foundLocation: APIv1.LocationBusinessModel = locations.data.find(location => {\r\n if (location.OnlineOrderingStatus !== 0 || location.LocationOLOIsActive !== true || !location.LocationFriendlyName || !route.params.LocationFriendlyName) return false;\r\n\r\n return location.LocationFriendlyName.toLowerCase().replace(/\\s/gi, '') === route.params.LocationFriendlyName.toLowerCase();\r\n });\r\n\r\n return foundLocation ? foundLocation.LocationNo : null;\r\n })\r\n );\r\n }\r\n\r\n public isLocationViewStable$(): Observable {\r\n /* Check if locationNo by route equals currentLocation state - used to check if can make action after location details view is checked, activated and stable */\r\n return this.currentLocationNoByRoute$()\r\n .pipe(\r\n\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo)\r\n )\r\n ),\r\n filter(([urlLocationNo, currentLocationNo]) => urlLocationNo !== null && currentLocationNo !== null && currentLocationNo !== undefined),\r\n map(([urlLocationNo, currentLocationNo]) => {\r\n return urlLocationNo === currentLocationNo;\r\n })\r\n );\r\n }\r\n\r\n public locationsListBy(sortTag: 'Popular' | 'Distance' = null, filterParams: OLO.Common.ILocationFilterParams = {}, limit: number = 3): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getFilteredLocations(sortTag, filterParams)),\r\n map(locations => {\r\n if (limit) {\r\n if (locations.length > 3) {\r\n locations.length = 3;\r\n }\r\n }\r\n return locations;\r\n }),\r\n distinctUntilChanged(),\r\n auditTime(0),\r\n );\r\n }\r\n\r\n public locationsListByAppMode$(limit: number = 3): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAppLocationMode),\r\n switchMap(mode => {\r\n if (mode === OLO.Enums.APP_MODE.VENUE) {\r\n return this.locationsListBy('Popular', { byOpenStatus: false, byPickupTime: true, bySearch: false, }, limit);\r\n }\r\n\r\n return this.locationsListBy('Distance', { byOpenStatus: false, byPickupTime: false, bySearch: true, }, limit);\r\n })\r\n );\r\n }\r\n\r\n public isLoadingLocations$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isLoadingDataForAnyLocation),\r\n );\r\n }\r\n\r\n public hasRequestedLocations$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasRequestedLocations)\r\n );\r\n }\r\n\r\n public currentLocation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationBusinessModel),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n\r\n public locationDetails$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(locationNo)),\r\n distinctUntilChanged()\r\n );\r\n }\r\n\r\n public locationFriendlyName$(locationNo: number): Observable {\r\n return this.locationDetails$(locationNo)\r\n .pipe(\r\n map(location => {\r\n if (!location) return null;\r\n\r\n return location.LocationFriendlyName || null;\r\n })\r\n );\r\n }\r\n\r\n public locationAddress$(locationNo: number): Observable {\r\n return this.locationDetails$(locationNo)\r\n .pipe(\r\n map(location => {\r\n if (!location) return null;\r\n const arr: string[] = [];\r\n if (location.StreetAddress) arr.push(location.StreetAddress);\r\n if (location.Suburb) arr.push(location.Suburb);\r\n if (location.PostCode) arr.push(location.PostCode);\r\n\r\n return arr.join(', ');\r\n }),\r\n );\r\n }\r\n\r\n public googleMapsLocationAddressLink$(locationNo: number): Observable {\r\n return this.locationAddress$(locationNo)\r\n .pipe(\r\n map(address => `https://maps.google.com/maps?q=${window.encodeURIComponent(address)}`)\r\n );\r\n }\r\n\r\n public openStatus(locationNo: number, shortHour: boolean = false): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationOpenStatus(locationNo)),\r\n distinctUntilChanged(),\r\n filter(obj => obj !== null),\r\n map(obj => {\r\n\r\n if (shortHour) {\r\n const split: string[] = obj.hour.replace(/[a-zA-Z]/gi, '').split(':');\r\n const isFullHour: boolean = split[1] === '00';\r\n return {\r\n ...obj,\r\n hour: isFullHour ? obj.hour.replace(/\\:\\d\\d\\s?/, '') : obj.hour,\r\n };\r\n }\r\n return obj;\r\n }),\r\n );\r\n }\r\n\r\n public locationDescription$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAppLocationMode),\r\n combineLatest(\r\n this.locationDetails$(locationNo),\r\n ),\r\n map(([appMode, location]) => {\r\n const isVenue: boolean = appMode === OLO.Enums.APP_MODE.VENUE;\r\n\r\n let address: string = '';\r\n let coma: string = `, `;\r\n if (location.StreetAddress) {\r\n address = location.StreetAddress;\r\n }\r\n if (location.Suburb) {\r\n address = address ? `${address}${coma}${location.Suburb}` : location.Suburb;\r\n }\r\n if (location.PostCode) {\r\n address = address ? `${address}${coma}${location.PostCode}` : location.PostCode;\r\n }\r\n\r\n if (!isVenue) return address;\r\n\r\n return location.LocationNotes || address || '';\r\n }),\r\n );\r\n }\r\n\r\n public openingHours$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderingTimeInfoByLocationNo(locationNo, false)),\r\n distinctUntilChanged(),\r\n filter(obj => obj !== undefined && obj !== null),\r\n map(obj => {\r\n const sunday: APIv1.LocationOrderingTimeInfoModel[] = [];\r\n const reduced = obj.reduce((acc, day, index) => {\r\n if (index < 7) {\r\n if (day.DayOfWeek === 0) {\r\n sunday.push(day);\r\n return acc;\r\n }\r\n return [\r\n ...acc,\r\n day\r\n ];\r\n }\r\n return acc;\r\n }, [] as APIv1.LocationOrderingTimeInfoModel[]);\r\n\r\n return [\r\n ...reduced.sort((a, b) => a.DayOfWeek - b.DayOfWeek),\r\n ...sunday\r\n ];\r\n }),\r\n );\r\n }\r\n\r\n public locationImage$(locationNo: number, type: OLO.Enums.IMAGE_TYPE): Observable {\r\n return this._store.pipe(select(selectors.getLocationImage(type, locationNo)));\r\n }\r\n\r\n public locationImageSrc$(locationNo: number, type: OLO.Enums.IMAGE_TYPE): Observable {\r\n return this.locationImage$(locationNo, type)\r\n .pipe(\r\n filter(img => img !== null && img !== undefined && img.data !== null),\r\n map(img => img.data.ImageUrl || null)\r\n );\r\n }\r\n\r\n public isLocationOpenNow$(locationNo: number): Observable {\r\n return this._store.pipe(select(selectors.isLocationOpenNowByOrderingTimeInfoObj(locationNo)));\r\n }\r\n\r\n public isValidatingLocation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.currentLocationIsValidating)\r\n );\r\n }\r\n\r\n public isLocationValid$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.currentLocationIsValid)\r\n );\r\n }\r\n\r\n public canChangeLocation$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo),\r\n map(cartLocationNo => {\r\n if (!cartLocationNo) return false;\r\n\r\n return locationNo !== cartLocationNo;\r\n }),\r\n );\r\n }\r\n\r\n public canOrderFromLocationIncludingFutureOpening(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canOrderFromLocation(locationNo, this._config))\r\n );\r\n }\r\n\r\n public hasLocations$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasLocations)\r\n );\r\n }\r\n\r\n public restoreValidationFlags(): void {\r\n this._store.dispatch(actions.CurrentLocationValidationReset());\r\n }\r\n\r\n public openCartLocationOpenHoursModal(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => {\r\n this._modalsService.show({ type: 'location-open-hours', locationNo, params: { canNavigate: true } });\r\n });\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, delay, auditTime, filter, combineLatest, switchMap, take, withLatestFrom, distinct } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LoyaltyController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n\r\n public getLoyaltyMessages$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyMessages)\r\n );\r\n }\r\n\r\n // this.image$ = this.controllers.loyalty.getMemberLoyaltyCardBarcode$(this.memberId, this.barcodeType)\r\n public getMemberLoyaltyCardBarcode$(memberId: number, barcodeType: OLO.Enums.BARCODE_SYMBOLOGY = OLO.Enums.BARCODE_SYMBOLOGY.CODE_QR): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberCardBarcodeImage(memberId || (state.data && state.data.MemberId), barcodeType))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public getLoyaltyHeaderText(): string[] {\r\n return this._config.ui.loyalty.heroText || [];\r\n }\r\n\r\n public createAccountWithMemberCard(): void {\r\n if (this._config.memberCard) {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER_CARD }));\r\n } else {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n }\r\n this._modalsService.show({\r\n type: 'auth',\r\n });\r\n }\r\n\r\n public openModalForReward(freeProductId: number): void {\r\n this._modalsService.show({\r\n type: 'reward',\r\n productId: freeProductId,\r\n });\r\n }\r\n\r\n public showMemberCardButton$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n map(([isAuthorized, state]) => {\r\n if (!isAuthorized || !state.data || !state.data.MemberCardNumber) return false;\r\n return true;\r\n })\r\n );\r\n }\r\n\r\n public openModalForMemberCard(memberId: number): void {\r\n this._modalsService.show({\r\n type: 'member-card',\r\n memberId,\r\n feel: 'brand-accent'\r\n });\r\n }\r\n\r\n public checkForLoyaltyIntroductionPages(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyIntroductionPages),\r\n take(1)\r\n ).subscribe(pages => {\r\n if (pages.data || pages.isDownloading) return;\r\n\r\n this._loyaltyAppService.requestLoyaltyIntroductionPages();\r\n });\r\n }\r\n\r\n public isLoadingLoyaltyIntroductionPages$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyIntroductionPages),\r\n map(pages => pages.isDownloading),\r\n );\r\n }\r\n\r\n public loyaltyIntroductionPagesPromotionModel$(): Observable> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyIntroductionPages),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyIntroductionPagesImages)\r\n )\r\n ),\r\n map(([pages, images]) => {\r\n return pages.data && pages.data.reduce((acc, page) => {\r\n const img: State.ILoyaltyIntroductionPageImage = images.find(obj => obj.PageId === page.Id);\r\n const model: APICommon.IPromotionItem = {\r\n Id: page.Id,\r\n Title: page.Title,\r\n Description: page.Text,\r\n ImgURL: null\r\n };\r\n\r\n if (img && img.data) {\r\n model.ImgURL = img.data;\r\n }\r\n\r\n return [\r\n ...acc,\r\n model,\r\n ];\r\n }, []) || null;\r\n })\r\n );\r\n }\r\n\r\n public getCurrentMemberLoyaltyProgramProducts$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyProgramProductItemsForCurrentMember)\r\n );\r\n }\r\n\r\n public getCurrentMemberLoyaltyFreeProductsGrouped$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyFreeProductsForCurrentMemberGrouped)\r\n );\r\n }\r\n\r\n public isLoadingLoyaltyInfoForMember$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isLoadingLoyaltyInfoForCurrentMember),\r\n );\r\n }\r\n\r\n public getRewardsForMember$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.freeValidProducts),\r\n map(items => items ? items.sort((a, b) => {\r\n switch (true) {\r\n case new Date(a.DateIssued) < new Date(b.DateIssued):\r\n return 1;\r\n case new Date(a.DateIssued) > new Date(b.DateIssued):\r\n return -1;\r\n default:\r\n return 0;\r\n }\r\n }) : items)\r\n );\r\n }\r\n /* *ngIf=\"!(loading$ | async) && ((rewards$ | async)?.length === 0 || !(rewards$ | async))\" */\r\n public showNoRewardsInfo$(): Observable {\r\n return this.getRewardsForMember$()\r\n .pipe(\r\n withLatestFrom(\r\n this.isLoadingLoyaltyInfoForMember$(),\r\n ),\r\n map(([rewards, isLoading]) => isLoading === false && rewards && rewards.length === 0)\r\n );\r\n }\r\n public getRewardsTotalQuantity$(): Observable {\r\n return this.getRewardsForMember$()\r\n .pipe(\r\n map(rewards => rewards && rewards.length || 0)\r\n );\r\n }\r\n\r\n public getFreeProduct$(freeProductId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getFreeProduct(freeProductId))\r\n );\r\n }\r\n\r\n public getFreeProductTitle$(freeProductId: number): Observable {\r\n return this.getFreeProduct$(freeProductId)\r\n .pipe(\r\n map(product => !product ? null : product.OnlineName || product.POSDisplay)\r\n );\r\n }\r\n\r\n public currentMemberHasLoyaltyCard$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n map(([isAuthorized, state]) => {\r\n if (\r\n this._config.appMode === IAppMode.ORDERING_ONLY\r\n || !isAuthorized\r\n || !state.data\r\n || !state.data.MemberCardNumber\r\n ) return false;\r\n\r\n return true;\r\n })\r\n );\r\n }\r\n\r\n public showMemberCardCode(modalId: number = null, barcodeType: OLO.Enums.BARCODE_SYMBOLOGY = OLO.Enums.BARCODE_SYMBOLOGY.CODE_QR): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n take(1),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberCardBarcodeImage(state.data.MemberId)),\r\n take(1),\r\n map(memberCardImage => {\r\n if (!state.data.MemberCardNumber) return null;\r\n\r\n if (!memberCardImage || !memberCardImage.isDownloading && !memberCardImage.data) {\r\n this._store.dispatch(actions.MemberCardBarcodesImagesRequest({\r\n memberId: state.data.MemberId,\r\n barcodeType,\r\n }));\r\n }\r\n\r\n return state.data.MemberId;\r\n })\r\n );\r\n }),\r\n ).subscribe(memberId => {\r\n if (!memberId) {\r\n console.warn('MemberCardNumber is not assigned to current user');\r\n return;\r\n }\r\n this._modalsService.show({\r\n type: 'member-card',\r\n memberId,\r\n id: modalId,\r\n feel: 'brand-accent'\r\n });\r\n });\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, of, combineLatest as ObservableCombineLatest } from 'rxjs';\r\nimport { map, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MembersController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public getAccountBalance$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAccountBalance)\r\n );\r\n }\r\n\r\n public verifyLinkRewardsAccount(memberCardNumber: string, memberEmail: string): void {\r\n this._store.dispatch(actions.MemberLinkRewardsAccountVerifyRequest({ params: { memberCardNumber, memberEmail } }));\r\n }\r\n\r\n public linkRewardsAccount(password: string): void {\r\n this._store.dispatch(actions.MemberLinkRewardsAccountRequest({ password }));\r\n }\r\n\r\n public hideAccountBalanceAmount$(): Observable {\r\n return this.getAccountBalance$()\r\n .pipe(\r\n map(balance => {\r\n return balance?.data?.AvailableBalance > this._config.accountCharge?.balanceDisplayThreshold ? true : false;\r\n })\r\n );\r\n }\r\n\r\n public showAccountBalance$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.showAccountBalance(this._config))\r\n );\r\n }\r\n\r\n public showAccountPaymentMethod$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.showAccountPaymentMethod(this._config))\r\n );\r\n }\r\n\r\n public uniqueCodeErrorText$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n const unavailable: string = `This link is no longer available`;\r\n const registered: string = `It looks like you’re already registered.`;\r\n return state.uniqueCode.hasFailed ? unavailable : registered;\r\n })\r\n );\r\n }\r\n\r\n public uniqueCodeErrorType$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n return state.uniqueCode.hasFailed ? 0 : 1;\r\n })\r\n );\r\n }\r\n\r\n public signOut(redirect: boolean | string = '/', resetCart: boolean = false): void {\r\n this._store.dispatch(actions.MemberSignOut({ redirect, resetCart }));\r\n }\r\n\r\n public getCurrentMemberCardNumber$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state.data && state.data.MemberCardNumber || null)\r\n );\r\n }\r\n\r\n public updateMemberProfile(memberData: APIv1.MemberModel, modalId: number = -100): void {\r\n this._store.dispatch(actions.MemberProfileUpdateInit({\r\n userModel: { ...memberData },\r\n modalId,\r\n }));\r\n }\r\n\r\n\r\n public skipBirthdayRewardsForNow(modal: boolean): void {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.BIRTHDAY_REWARDS, 'skip');\r\n if (modal) {\r\n this._modalsService.closeAllWithAnimation();\r\n }\r\n }\r\n\r\n public setSignUpStep(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER }));\r\n }\r\n\r\n public setLinkRewardsAccountStep(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_SIGN_UP }));\r\n }\r\n\r\n public setNewPasswordStep(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_PASSWORD }));\r\n }\r\n\r\n public openMemberSignUpForm(): void {\r\n this.setSignUpStep();\r\n\r\n this._modalsService.show({\r\n type: 'auth',\r\n });\r\n }\r\n\r\n\r\n public openMemberSignInForm(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n this._modalsService.show({\r\n type: 'auth',\r\n });\r\n }\r\n\r\n public skipMemberCardSignUp(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n }\r\n\r\n public goToLoginAuthStep(resetValidation: boolean = false): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getAllModals),\r\n take(1),\r\n ).subscribe(modals => {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n\r\n if (resetValidation) {\r\n this.resetValidationState();\r\n }\r\n\r\n if (modals.find(obj => obj.type === 'auth')) {\r\n return;\r\n }\r\n\r\n this._modalsService.show({\r\n type: 'auth'\r\n });\r\n });\r\n }\r\n\r\n public getMemberEmailConfirmState$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberEmailConfirmState)\r\n );\r\n }\r\n\r\n public isAuthorized$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n );\r\n }\r\n\r\n public getSignInLabel$(defaultLabel: string = 'Sign in'): Observable {\r\n return this.isAuthorized$()\r\n .pipe(\r\n switchMap(isAuthorized => {\r\n if (!isAuthorized) return of(defaultLabel);\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentMember),\r\n map(member => {\r\n if (member) return member.MemberName;\r\n return 'You';\r\n })\r\n );\r\n })\r\n );\r\n }\r\n\r\n public isGuestMember$(): Observable {\r\n return this.isAuthorized$()\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n )\r\n ),\r\n map(([isAuthorized, isGuestModeEnabled]) => isAuthorized === false && isGuestModeEnabled === true)\r\n );\r\n }\r\n\r\n public canCompleteAccountSetup$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canCompleteAccountSetup),\r\n auditTime(10),\r\n );\r\n }\r\n\r\n public isMemberLoading$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberLoading)\r\n );\r\n }\r\n\r\n public getAccountLogin$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state.authorizationType === OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN && state.accountLogin || null),\r\n );\r\n }\r\n\r\n public getAccountLoginCellPhoneNumber$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n if (state.authorizationType !== OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN) {\r\n return state.data && state.data.MobilePhone || null;\r\n }\r\n return state.accountLogin;\r\n }),\r\n );\r\n }\r\n\r\n public getObfuscatedMemberPhoneNo$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getObfuscatedMemberPhoneNo)\r\n );\r\n }\r\n\r\n public getObfuscatedEmail$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getObfuscatedMemberEmail)\r\n );\r\n }\r\n\r\n public getObfuscatedForgotEmail$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getObfuscatedForgotMemberEmail)\r\n );\r\n }\r\n\r\n public isMakingRequests$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberLoading),\r\n map(isLoading => {\r\n return isLoading;\r\n })\r\n );\r\n }\r\n\r\n public isMakingRequestsAsStatus$(): Observable {\r\n return this.isMakingRequests$()\r\n .pipe(\r\n map(isLoading => (isLoading ? 'loading' : null) as OLO.Components.LOADING_STATUS)\r\n );\r\n }\r\n\r\n public getAuthenticationStep$(): Observable {\r\n return this.isMakingRequests$()\r\n .pipe(\r\n filter(isMakingRequests => isMakingRequests === false),\r\n switchMap(() => this._store\r\n .pipe(\r\n select(selectors.getAuthorizationStep),\r\n )\r\n ),\r\n );\r\n }\r\n\r\n public canOmmitEmailVerificationStep$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canOmmitEmailVerification(this._config.unverifiedEmailQuickLogin)),\r\n filter(canOmmit => canOmmit !== null),\r\n );\r\n }\r\n\r\n public isEmailValidated$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isEmailValidated)\r\n );\r\n }\r\n\r\n public hasGuestSignedUp$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasGuestSignedUp)\r\n );\r\n }\r\n\r\n public isPartialMemberSet$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getGuestData),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n )\r\n ),\r\n map(([guestData, guestMode]) => {\r\n return guestData !== null && guestMode === true;\r\n })\r\n );\r\n }\r\n\r\n public getMemberDetails$(includeUniqueCode: boolean = false): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentMember),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n map(([memberDetails, state]) => {\r\n if (includeUniqueCode === true && state.uniqueCode.hasSucceeded && state.uniqueCode.data) return state.uniqueCode.data;\r\n\r\n return memberDetails;\r\n })\r\n );\r\n }\r\n\r\n public getPartialMemberDetails$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getGuestData)\r\n );\r\n }\r\n\r\n public memberSignUpFormModel$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n if (!state.data || state.isDownloading || state.hasFailed) return null;\r\n return {\r\n name: state.data.MemberName,\r\n email: state.data.EmailAddress,\r\n cellNumber: state.data.MobilePhone,\r\n };\r\n })\r\n );\r\n }\r\n\r\n public canNavBackAuthProcess$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n const step: OLO.Enums.AUTH_STEP = state.authorizationStep;\r\n\r\n switch (true) {\r\n case step === OLO.Enums.AUTH_STEP.REGISTER_CARD:\r\n case step === OLO.Enums.AUTH_STEP.ON_LOGIN_DATA_VALIDATION:\r\n case step === OLO.Enums.AUTH_STEP.LOGIN:\r\n case step === OLO.Enums.AUTH_STEP.FORGOT_PASSWORD_SENT:\r\n case step === OLO.Enums.AUTH_STEP.REGISTER_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.PARTIAL_MEMBER_PASSWORD:\r\n case step === OLO.Enums.AUTH_STEP.LOGIN_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.UPDATE_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.UNIQUE_CODE_ERROR:\r\n case step === OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_PASSWORD:\r\n case step === null:\r\n return false;\r\n\r\n default:\r\n return true;\r\n }\r\n })\r\n );\r\n }\r\n\r\n public showNavBackAuthProcess$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n const step: OLO.Enums.AUTH_STEP = state.authorizationStep;\r\n switch (true) {\r\n case step === OLO.Enums.AUTH_STEP.BIRTHDAY_REWARDS:\r\n case step === OLO.Enums.AUTH_STEP.FORGOT_PASSWORD_SENT:\r\n case step === OLO.Enums.AUTH_STEP.REGISTER_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.LOGIN_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.UPDATE_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.BEFORE_UPDATE_VERIFY_PHONE:\r\n case step === OLO.Enums.AUTH_STEP.UNIQUE_CODE_ERROR:\r\n case step === null:\r\n return false;\r\n\r\n default:\r\n return true;\r\n }\r\n })\r\n );\r\n }\r\n\r\n public getMemberFirstName$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n map(state => state.data.MemberName)\r\n );\r\n }\r\n\r\n public getMemberFullName$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberFullName),\r\n filter(name => name !== null),\r\n );\r\n }\r\n\r\n public showMemberCardNumber$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n map(state => this._config.appMode !== IAppMode.ORDERING_ONLY && state.data.MemberCardNumber !== null),\r\n );\r\n }\r\n\r\n public memberCardNumber$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n map(state => state.data.MemberCardNumber),\r\n );\r\n }\r\n\r\n public signUpInitStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.isMemberLoading$()\r\n .pipe(\r\n map(isLoading => isLoading ? 'loading' : null)\r\n );\r\n }\r\n public partialMemberSignUpStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('signUpPartialMember.isSigningUp', 'signUpPartialMember.hasSucceeded', 'signUpPartialMember.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public memberSignInStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('signIn.isSigningIn', 'signIn.hasSucceeded', 'signIn.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public memberPasswordChangeStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('changePassword.isChanging', 'changePassword.hasSucceeded', 'changePassword.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public memberLinkRewardsAccountVerifyStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('verifyLinkRewardsAccount.isVerifying', 'verifyLinkRewardsAccount.hasSucceeded', 'verifyLinkRewardsAccount.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public memberLinkRewardsAccountStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('linkRewardsAccount.isLinking', 'linkRewardsAccount.hasSucceeded', 'linkRewardsAccount.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public verifyMobilePhoneStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('verifyPhone.isVerifying', 'verifyPhone.hasSucceeded', 'verifyPhone.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public tokenMobilePhoneStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('tokenForPhone.isSending', 'tokenForPhone.hasSucceeded', 'tokenForPhone.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public mobilePhoneStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return ObservableCombineLatest(\r\n this.verifyMobilePhoneStatus$(restoreStatusTimeout),\r\n this.tokenMobilePhoneStatus$(restoreStatusTimeout)\r\n ).pipe(\r\n map(([status1, status2]) => {\r\n if (status1 === 'error' || status2 === 'error') {\r\n return 'error';\r\n }\r\n\r\n if (status1 === 'loading' || status2 === 'loading') {\r\n return 'loading';\r\n }\r\n\r\n if (status1 === 'success' || status2 === 'success') {\r\n return 'success';\r\n }\r\n\r\n return null;\r\n })\r\n );\r\n }\r\n\r\n public validateEmailStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('verifyEmail.isVerifying', 'verifyEmail.hasSucceeded', 'verifyEmail.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public loadingStatusAutoChange$(loadingProperty: string, successProperty: string, failedProperty: string, restoreStatusTimeout: number = 2000): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n auditTime(20),\r\n switchMap(state => {\r\n return Observable.create(observer => {\r\n const loadingState = Utils.Objects.extractSubValue(state, loadingProperty);\r\n const successState = Utils.Objects.extractSubValue(state, successProperty);\r\n const failedState = Utils.Objects.extractSubValue(state, failedProperty);\r\n\r\n const propsInvalid: boolean = loadingState === undefined || successState === undefined || failedState === undefined;\r\n if (propsInvalid) {\r\n console.warn(`One of following properties are invalid. loadingState (\"${loadingProperty}\"):`,\r\n loadingState, ` OR successState (\"${successProperty}\"):`, successState, ` OR failedState (\"${failedProperty}\"):`, failedState);\r\n\r\n observer.next(null);\r\n observer.complete();\r\n return;\r\n }\r\n\r\n let timeout: number;\r\n\r\n const neutral = () => {\r\n observer.next(null);\r\n observer.complete();\r\n };\r\n\r\n const loading = () => {\r\n observer.next('loading');\r\n observer.complete();\r\n };\r\n\r\n const success = () => {\r\n observer.next('success');\r\n timeout = window.setTimeout(() => {\r\n observer.next(null);\r\n observer.complete();\r\n }, restoreStatusTimeout);\r\n };\r\n\r\n const error = () => {\r\n observer.next('error');\r\n timeout = window.setTimeout(() => {\r\n observer.next(null);\r\n observer.complete();\r\n }, restoreStatusTimeout);\r\n };\r\n\r\n const singlePropertyToDetermineSuccessError: boolean = failedProperty === successProperty;\r\n if (singlePropertyToDetermineSuccessError) {\r\n if (loadingState) {\r\n loading();\r\n } else {\r\n if (!successState && !failedState) {\r\n error();\r\n } else {\r\n success();\r\n }\r\n }\r\n } else {\r\n if (loadingState) {\r\n loading();\r\n } else if (failedState) {\r\n error();\r\n } else if (successState) {\r\n success();\r\n } else {\r\n neutral();\r\n }\r\n }\r\n\r\n return () => window.clearTimeout(timeout);\r\n\r\n }) as Observable;\r\n }),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n\r\n public linkAccountRewardsError$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state?.verifyLinkRewardsAccount?.hasFailed === true ? { email: 'Incorrect email address' } : null)\r\n );\r\n }\r\n\r\n public signUpPartialMemberError$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.partialMemberSignUpFailed),\r\n map(hasFailed => hasFailed && { partialMemberSignUpError: 'Something went wrong' } || null)\r\n );\r\n }\r\n\r\n public signInError$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(({ signIn }) => {\r\n if (signIn.hasFailed) return { incorrectPassword: 'Incorrect password' };\r\n return null;\r\n })\r\n );\r\n }\r\n\r\n public cellVerificationError$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberPhoneVeryficationCodeInvalid)\r\n );\r\n }\r\n\r\n public passwordChangeError$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.passwordChangeError)\r\n );\r\n }\r\n\r\n public getMemberForgottenPasswordState$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberResetForgottenPasswordState)\r\n );\r\n }\r\n\r\n public emailConfirmationIsCheckingTokens$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isCheckingTokensForEmailConfirmation)\r\n );\r\n }\r\n\r\n public emailConfirmationGUIDTokenIsValid$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isEmailGUIDTokenValid)\r\n );\r\n }\r\n\r\n public emailConfirmationHasSucceeded$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isEmailConfirmationSuccess)\r\n );\r\n }\r\n\r\n public isSendingPhoneToken$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state.tokenForPhone.isSending),\r\n );\r\n }\r\n\r\n public isSendingEmailToken$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state.tokenForEmail.isSending),\r\n );\r\n }\r\n\r\n public partialMemberInitFlowReset(): void {\r\n this._store.dispatch(actions.MemberPartialSignUpResetState());\r\n this._store.dispatch(actions.MemberPasswordSetResetState());\r\n }\r\n\r\n public confirmMemberEmailAddress(guidToken: string): void {\r\n this._store.dispatch(actions.MemberConfirmEmailRequest({ token: guidToken }));\r\n }\r\n\r\n public confirmGUIDTokenForEmailConfirmation(guidToken: string): void {\r\n this._store.dispatch(actions.MemberConfirmEmailTokenRequest({ token: guidToken }));\r\n }\r\n\r\n public resetPasswordInit(guidToken: string, NewPassword: string): void {\r\n this._store.dispatch(actions.MemberForgottenPasswordResetRequest({\r\n model: {\r\n Token: guidToken,\r\n NewPassword\r\n }\r\n }));\r\n }\r\n\r\n public resetPasswordGUIDTokenValidate(guidToken: string): void {\r\n this._store.dispatch(actions.MemberValidatePasswordResetTokenRequest({ token: guidToken }));\r\n }\r\n\r\n public resetPasswordValidationTokenState(): void {\r\n this._store.dispatch(actions.MemberValidatePasswordResetTokenReset());\r\n }\r\n\r\n public updatePassword(values: APIv1.MemberChangePasswordBusinessModel): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1)\r\n ).subscribe(state => {\r\n this._store.dispatch(\r\n actions.MemberPasswordChangeRequest({ ...values, MemberId: state.data.MemberId }),\r\n );\r\n });\r\n }\r\n\r\n public checkMemberToCompleteAccountSetup(orderId: number): void {\r\n this._store.dispatch(actions.MemberCompleteAccountSetupGuestCheck({ orderId }));\r\n }\r\n\r\n public setAuthStep(step: OLO.Enums.AUTH_STEP = OLO.Enums.AUTH_STEP.LOGIN): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step }));\r\n }\r\n\r\n public forgotPasswordResetInit(email: string = null): void {\r\n if (email) {\r\n return this._store.dispatch(actions.MemberForgotPasswordDataRequest({ email }));\r\n }\r\n\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n ).subscribe(state => {\r\n if (state.forgotPassword.email) {\r\n this._store.dispatch(actions.MemberForgotPasswordDataRequest({ email: state.forgotPassword.email }));\r\n }\r\n });\r\n }\r\n\r\n public signIn(login: string, password: string): void {\r\n this._store.dispatch(actions.MemberSignInDataRequest({ login, password }));\r\n }\r\n\r\n public resetValidationState(): void {\r\n this._store.dispatch(actions.MemberGuestDataReset());\r\n this._store.dispatch(actions.MemberUnsetAddData());\r\n this._store.dispatch(actions.MemberUnsetAccountCredentials());\r\n this._store.dispatch(actions.MemberUnsetUpdateAndValidation());\r\n }\r\n\r\n public resetMemberDataFields(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n\r\n this.resetValidationState();\r\n\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberLoading),\r\n filter(isLoading => isLoading === false),\r\n take(1)\r\n )\r\n ),\r\n take(1)\r\n ).subscribe(([isAuthorized, isLoading]) => {\r\n if (isAuthorized) {\r\n this._store.dispatch(actions.MemberGuestModeSet({ flag: false }));\r\n } else {\r\n this._store.dispatch(actions.MemberGuestModeSet({ flag: true }));\r\n }\r\n });\r\n }\r\n\r\n\r\n public cleanupAfterOrderComplete(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n take(1)\r\n ).subscribe(isAuthorized => {\r\n if (isAuthorized) return;\r\n\r\n this.resetMemberDataFields();\r\n });\r\n }\r\n\r\n public initSignIn(accountLogin: string, authorizationType: OLO.Enums.LOGIN_TYPE = OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN): void {\r\n this._store.dispatch(actions.MemberAuthorizationInit({ authorizationType, accountLogin }));\r\n this._store.dispatch(actions.MemberGuestModeSet({ flag: false }));\r\n }\r\n\r\n public continueEmailVerification(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(memberState => memberState !== null && memberState.accountId !== null && memberState.data !== null),\r\n take(1)\r\n ).subscribe(memberState => {\r\n this._store.dispatch(actions.MemberDataRequest({ memberId: memberState.accountId }));\r\n this._store.dispatch(actions.MemberVerifyEmailRequest());\r\n });\r\n }\r\n\r\n public restoreEmailVerificationFlags(): void {\r\n this._store.dispatch(actions.MemberVerifyEmaiResetFlags());\r\n }\r\n\r\n public resendVerificationEmail(resetVerifyFlags: boolean = true): void {\r\n if (resetVerifyFlags) {\r\n this.restoreEmailVerificationFlags();\r\n }\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(member => member !== null && member.data !== null),\r\n take(1)\r\n ).subscribe(({ data }) => {\r\n this._store.dispatch(actions.MemberVerifyEmailRestoreFlags());\r\n this._store.dispatch(actions.MemberSendEmailVeryficationRequest({ email: data.EmailAddress }));\r\n });\r\n }\r\n\r\n public verifyTemporaryVerificationCode(token: string): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberPhoneNo),\r\n take(1),\r\n ).subscribe(phoneNo => {\r\n return this._store.dispatch(actions.MemberVerifyPhoneDataRequest({ phoneNo, token }));\r\n });\r\n }\r\n\r\n public async completeMemberAccountSetup(memberId: number): Promise {\r\n return new Promise((resolve, reject) => {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n ).subscribe(state => {\r\n if (!state.data) return reject(`Invalid user data`);\r\n\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1)\r\n ).subscribe(() => {\r\n setTimeout(() => {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.PARTIAL_MEMBER_PASSWORD }));\r\n resolve(true);\r\n }, 0);\r\n });\r\n });\r\n });\r\n }\r\n\r\n public signUpPartialMember(memberId: number, memberData: APIv1.MemberModel): void {\r\n this._store.dispatch(actions.MemberPartialSignUpRequest({ memberId, memberData }));\r\n }\r\n\r\n public signUpInit(memberData: APIv1.MemberModel): void {\r\n this._store.dispatch(actions.MemberSignUpProcessInit({ memberData }));\r\n }\r\n\r\n public createGuestPartialMember(guestData: APICommon.IOnlineOrderPartialMember): void {\r\n this._store.dispatch(actions.MemberGuestDataRevalidateAndSet({ guestData }));\r\n }\r\n\r\n // public checkMemberFreeProductsAndPrograms(): void {\r\n // this._store\r\n // .pipe(\r\n // select(selectors.getMemberState),\r\n // filter(state => state.isDownloading === false && state.data !== null),\r\n // withLatestFrom(\r\n // this._store\r\n // .pipe(\r\n // select(selectors.isMemberAuthorizedJWT)\r\n // )\r\n // ),\r\n // take(1)\r\n // ).subscribe(([state, isAuthorized]) => {\r\n // console.log(state, isAuthorized);\r\n // if (!isAuthorized || state.freeProducts.data || state.freeProducts.isDownloading) return;\r\n\r\n // this._store.dispatch(actions.MemberFreeProductsRequest({ memberId: state.data.MemberId }));\r\n // });\r\n // }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinct, skipWhile, auditTime, filter, combineLatest, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MenuFlowsController {\r\n private _pageMockContainer: APIv1.MenuFlowPage = {\r\n PageIdentifier: null,\r\n PageNo: null,\r\n PageName: null,\r\n PageMinQuantity: null,\r\n PageMaxQuantity: null,\r\n SpecialPriceQuantity: null,\r\n SpecialPrice: null,\r\n SpecialPriceSelection: null,\r\n PriceChangeMode: null,\r\n PriceChangeValue: null,\r\n IsUpsell: false,\r\n UpsellText: null,\r\n Products: [],\r\n HideFromKiosk: false,\r\n };\r\n\r\n constructor(\r\n private _store: Store,\r\n ) { }\r\n\r\n public getCombinedMenuFlowPages$(menuFlowId: number, locationNo: number): Observable {\r\n return this._store.pipe(\r\n select(selectors.getMenuFlowPages(menuFlowId, locationNo)),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getMenuFlowDefaultActivation(menuFlowId)),\r\n skipWhile(obj => obj === undefined || obj.data === undefined || obj.data === null),\r\n )\r\n ),\r\n map(([pages, activations]) => {\r\n const whatsIncludedPage: APIv1.MenuFlowPage = {\r\n ...this._pageMockContainer,\r\n PageIdentifier: 1,\r\n PageNo: 1,\r\n PageName: `What's Included`,\r\n Products: [],\r\n };\r\n\r\n const suggestedExtrasPage: APIv1.MenuFlowPage = {\r\n ...this._pageMockContainer,\r\n PageIdentifier: 2,\r\n PageNo: 2,\r\n PageName: `Suggested Extras`,\r\n Products: [],\r\n };\r\n\r\n pages.forEach(page => {\r\n page.Products.forEach(product => {\r\n /* _OriginalPage is used to persist product page functionality and validation */\r\n const p = { ...product, _OriginalPage: { ...page } } as APIv1.MenuFlowProduct;\r\n\r\n const isDefaultActive = activations.data.MenuFlowItems.find(activation => activation.PLU === product.Plu && activation.MenuFlowPageId === page.PageNo);\r\n\r\n if (isDefaultActive) {\r\n return whatsIncludedPage.Products.push(p);\r\n }\r\n\r\n suggestedExtrasPage.Products.push(p);\r\n });\r\n });\r\n\r\n return [\r\n whatsIncludedPage,\r\n suggestedExtrasPage,\r\n ].filter(page => page.Products.length > 0);\r\n }),\r\n );\r\n }\r\n\r\n public menuFlowDetails$(menuFlowId: number, locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlow(menuFlowId, locationNo)),\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n );\r\n }\r\n\r\n public menuFlowPages$(menuFlowId: number, locationNo: number): Observable {\r\n return this.menuFlowDetails$(menuFlowId, locationNo)\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow.data !== null),\r\n map(menuFlow => menuFlow.data.Pages.filter(page => page.HideFromKiosk !== true && page.Products.length > 0)),\r\n );\r\n }\r\n}\r\n","import { Injectable, ElementRef } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, Subject, Subscription } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ModalsController {\r\n constructor(\r\n private _store: Store,\r\n ) { }\r\n\r\n public get modalsList$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.getAllModals),\r\n distinctUntilChanged()\r\n );\r\n }\r\n\r\n public get isAnyModalVisible$(): Observable {\r\n return this.modalsList$\r\n .pipe(\r\n map(modals => modals.length > 0),\r\n );\r\n }\r\n\r\n public get isClosingAllModals$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.isLastModalHiding),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { auditTime } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OnlineMenuController {\r\n constructor(\r\n private _store: Store,\r\n ) { }\r\n public getPageDetails$(pageId: number, imageType: OLO.Enums.IMAGE_TYPE = OLO.Enums.IMAGE_TYPE.ForWeb) {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuPageDetails(pageId, imageType))\r\n );\r\n }\r\n\r\n public onlineMenu$(): Observable {\r\n return this._store.select(selectors.getOnlineMenu);\r\n }\r\n\r\n public onlineMenuPages$(): Observable {\r\n return this._store.select(selectors.getOnlineMenuPages);\r\n }\r\n\r\n public onlineMenuPagesFiltered$(): Observable {\r\n return this._store.select(selectors.getOnlineMenuPagesFiltered)\r\n .pipe(\r\n auditTime(0)\r\n );\r\n }\r\n\r\n public getModalDataForOnlineMenuSingleProductItem(productId: number): Observable {\r\n return this._store.pipe(\r\n select(selectors.getModalDataForOnlineMenuItem(productId, false))\r\n );\r\n }\r\n\r\n public getStatsForSingleProductItem(productId: number): Observable {\r\n return this._store.pipe(\r\n select(selectors.getStatsForSingleProduct(productId))\r\n );\r\n }\r\n\r\n public canShowOnlineMenuForCurrentLocation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canShowOnlineMenuForCurrentLocation)\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, delay, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, take, tap, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OnlineOrdersController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public sendEmailReceipt(orderId: number): void {\r\n this._store.dispatch(actions.OnlineOrderSendEmailReceiptRequest({ orderId }));\r\n }\r\n\r\n public isSendingEmailReceipt$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isSendingEmailReceipt)\r\n );\r\n }\r\n\r\n public resetSendingEmailReceiptState(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isSendingEmailReceipt),\r\n filter(isSending => isSending === false),\r\n take(1)\r\n ).subscribe(() => {\r\n this._store.dispatch(actions.OnlineOrderSendEmailReceiptReset());\r\n });\r\n }\r\n\r\n public isOrderTypeValid$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isOrderTypeValid),\r\n );\r\n }\r\n\r\n public getMappedErrors$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderErrorsMapped)\r\n );\r\n }\r\n\r\n public async fillOutOrderType(formValues: { [key: string]: string; }, orderType: APIv1.OrderType): Promise {\r\n const values: APICommon.OrderTypeDetailDefinitionExtended[] = Object.keys(formValues).reduce((acc, key) => {\r\n const found: APIv1.OrderTypeDetailDefinition = orderType.Details.find(obj => Utils.Forms.labelToName(obj.CustomerFriendlyName) === key);\r\n if (!found) return acc;\r\n acc.push({\r\n ...found,\r\n _Value: formValues[key]\r\n });\r\n return acc;\r\n }, []);\r\n\r\n if (values) {\r\n this._store.dispatch(actions.OnlineOrderTypeUpdateValues({ values }));\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n public showOrderTypesInfoForCurrentCart(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => {\r\n this._modalsService.show({\r\n type: 'order-types',\r\n locationNo,\r\n });\r\n });\r\n }\r\n\r\n public getOrderTypesForCartsLocation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypesForCartsLocation)\r\n );\r\n }\r\n\r\n public getOrderTypesForCartsLocationMapped$(): Observable {\r\n return this.getOrderTypesForCartsLocation$()\r\n .pipe(\r\n map(types => {\r\n if (!types) return null;\r\n\r\n return types.map(obj => ({\r\n Id: obj.Id,\r\n Name: obj.Description,\r\n ...obj,\r\n }));\r\n })\r\n );\r\n }\r\n\r\n public selectOrderType(orderType: APIv1.OrderType, forceRecalculate: boolean = false): void {\r\n this._store.dispatch(actions.OnlineOrderTypeSelect({ orderType }));\r\n if (forceRecalculate) {\r\n this._store.dispatch(actions.OnlineOrderRecalculateRequest());\r\n }\r\n }\r\n\r\n public resetOrderTypeValues(): void {\r\n this._store.dispatch(actions.OnlineOrderResetOrderTypeValues());\r\n }\r\n\r\n public selectDefaultOrderType(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isDownloadingAnyOrderTypes),\r\n delay(100),\r\n filter(isDownloading => isDownloading === false),\r\n take(1),\r\n switchMap(() => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypesForCartsLocation),\r\n take(1),\r\n );\r\n }),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState)\r\n )\r\n )\r\n ).subscribe(([orderTypes, state]) => {\r\n if (!orderTypes || state.orderType !== null) return;\r\n\r\n this._store.dispatch(actions.OnlineOrderTypeSelect({ orderType: orderTypes[0] }));\r\n });\r\n }\r\n\r\n public getSelectedOrderType$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getSelectedOrderType)\r\n );\r\n }\r\n\r\n public getOrderTypesForLocation$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypesForLocation(locationNo))\r\n );\r\n }\r\n\r\n public orderSummary$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderSummary)\r\n );\r\n }\r\n\r\n public isRecalculating$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isOnlineOrderRecalculating)\r\n );\r\n }\r\n\r\n public canPlaceOrder$(): Observable {\r\n return this._store\r\n .pipe(\r\n // select(this._config.demoMode ? selectors.__DEMO__isPaymentDisabled : selectors.isPaymentDisabled),\r\n select(selectors.isPaymentDisabled(this._config)),\r\n map(isDisabled => !isDisabled)\r\n );\r\n }\r\n\r\n public totalGrossValue$(): Observable {\r\n return this.orderSummary$()\r\n .pipe(\r\n map(summary => summary ? summary.Total : 0)\r\n );\r\n }\r\n\r\n public getReorder$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentPickupTime),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId))\r\n ),\r\n ),\r\n switchMap(([statePickupTime, order]) => {\r\n if (!statePickupTime && !pickupTime || !order || !order.data) return of(null);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getReorder(orderId, locationNo || order.data.PickupLocation, pickupTime || statePickupTime))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public reorderTotalSelectedItems$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this.getReorder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n switchMap(reorder => {\r\n if (!reorder) return of(0);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.reorderSelectedItemsTotalQuantity(reorder.OrderId, reorder.LocationNo, reorder.PickupTime))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public reorderTotalValue$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this.getReorder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n switchMap(reorder => {\r\n if (!reorder) return of(0);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.reorderSelectedItemsTotalValue(reorder.OrderId, reorder.LocationNo, reorder.PickupTime))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public reorderIsValid$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this.getReorder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n switchMap(reorder => {\r\n if (!reorder || reorder.isDownloading === true || reorder.hasSucceeded !== true || reorder.data === null) return of(false);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.canAddToCartReorderItems(reorder.OrderId, reorder.LocationNo, reorder.PickupTime))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public reorderItemsMappedFromOrder$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this.getReorder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId))\r\n ),\r\n ),\r\n map(([reorder, order]) => {\r\n if (!reorder || !reorder.data || !order || !order.data) return null;\r\n return Utils.OnlineOrders.mapOnlineOrderProducts(order.data, true);\r\n }),\r\n );\r\n }\r\n\r\n public reorderItems$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable> {\r\n return this.reorderItemsMappedFromOrder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n combineLatest(\r\n this.getReorder$(orderId, locationNo, pickupTime),\r\n ),\r\n map(([orderItems, reorder]) => {\r\n if (!reorder || !reorder.data || !reorder.data.cart || !orderItems) return null;\r\n if (orderItems.itemsMenuFlow.length === 0 && orderItems.itemsSimple.length === 0) {\r\n console.error('Corrupted data in online order', orderItems);\r\n return null;\r\n }\r\n return [\r\n ...orderItems.itemsMenuFlow.reduce((acc, orderItem) => {\r\n const found = reorder.data.cart.itemsMenuFlow.find(obj => obj._Id === orderItem.Id);\r\n if (found) {\r\n acc.push(found);\r\n }\r\n return acc;\r\n }, []),\r\n\r\n ...orderItems.itemsSimple.reduce((acc, orderItem) => {\r\n const found = reorder.data.cart.itemsSimple.find(obj => obj._Id === orderItem.Id);\r\n if (found) {\r\n acc.push(found);\r\n }\r\n return acc;\r\n }, []),\r\n ];\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PaymentController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public getErrors$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getPaymentErrors)\r\n );\r\n }\r\n\r\n public getMappedError$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getPaymentErrorsMapped)\r\n );\r\n }\r\n\r\n public getMappedRecalcError$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasRecalculateFailedErrorMapped),\r\n );\r\n }\r\n\r\n public isPaying$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isPaying)\r\n );\r\n }\r\n\r\n public isPaymentComplete$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isPaymentComplete)\r\n );\r\n }\r\n\r\n public paymentProvider(): OLO.Enums.PAYMENT_PROVIDER {\r\n return this._config.paymentProvider;\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { ISubNavPage } from '@shared/core/components/subNav';\r\nimport { Observable, of, combineLatest as ObservableCombineLatest } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoutesController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _queryParamsService: Services.QueryParamsService,\r\n private _cryptoService: Services.CryptoService,\r\n private _routeService: Services.RouteService,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public navigateToLocationsSearchView(): Promise {\r\n return this._routeService.navigateToLocationsSearchView();\r\n }\r\n\r\n public navigateToCartsLocation(): Promise {\r\n return this._routeService.navigateToCartsLocation();\r\n }\r\n\r\n public authAction(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n take(1)\r\n ).subscribe(isAuthorized => {\r\n if (!isAuthorized) {\r\n return this._modalsService.show({\r\n type: 'auth'\r\n });\r\n }\r\n\r\n if (this._config.appMode === IAppMode.ORDERING_ONLY) {\r\n return this._routeService.navigateToProfileView();\r\n }\r\n return this._routeService.navigateToProfileLoyaltyHome();\r\n });\r\n }\r\n\r\n public navToHome(): Promise {\r\n return this._routeService.navigateToHomeView();\r\n }\r\n\r\n public isHomePage$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.isCurrentRouteHome)\r\n );\r\n }\r\n\r\n public isLoyaltyHomePage$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.isCurrentRouteLoyalty)\r\n );\r\n }\r\n\r\n public isAppModeHomePage$(): Observable {\r\n return ObservableCombineLatest(\r\n this.isHomePage$(),\r\n this.isLoyaltyHomePage$(),\r\n ).pipe(\r\n map(([orderingHome, loyaltyHome]) => orderingHome || loyaltyHome)\r\n );\r\n }\r\n\r\n public isCheckoutPage$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.isCheckoutPage)\r\n );\r\n }\r\n\r\n public isLocationsSearchPage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsLocationsSearchPage(this._config)),\r\n );\r\n }\r\n\r\n public isLocationDetailsPage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n );\r\n }\r\n\r\n public isAccountPage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsAccountPage())\r\n );\r\n }\r\n\r\n public isError404Page$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsErrorPage()),\r\n );\r\n }\r\n\r\n public get accountPagesList(): ISubNavPage[] {\r\n const links: ISubNavPage[] = [\r\n {\r\n Id: 1,\r\n Name: 'Home',\r\n Url: '/account/loyalty',\r\n },\r\n {\r\n Id: 2,\r\n Name: 'Rewards',\r\n Url: '/account/rewards',\r\n },\r\n {\r\n Id: 3,\r\n Name: 'Program',\r\n Url: '/account/program',\r\n },\r\n {\r\n Id: 4,\r\n Name: 'Profile',\r\n Url: '/account'\r\n },\r\n {\r\n Id: 5,\r\n Name: 'Orders',\r\n Url: '/account/orders'\r\n },\r\n {\r\n Id: 6,\r\n Name: 'History',\r\n Url: '/account/history'\r\n },\r\n {\r\n Id: 7,\r\n Name: `Password`,\r\n Url: `/account/password`\r\n },\r\n {\r\n Id: 8,\r\n Name: `Payment`,\r\n Url: `/account/payment`\r\n },\r\n ];\r\n\r\n\r\n switch (true) {\r\n case this._config.appMode === IAppMode.ORDERING_ONLY:\r\n return links.filter(link => link.Id === 4 || link.Id === 5 || link.Id === 7 || link.Id === 8);\r\n\r\n case this._config.appMode === IAppMode.LOYALTY_ONLY:\r\n return links.filter(link => link.Id === 1 || link.Id === 2 || link.Id === 3 || link.Id === 4 || link.Id === 6 || link.Id === 7);\r\n\r\n default:\r\n return links.filter(link => link.Id !== 6);\r\n }\r\n }\r\n\r\n public accountPages$(pages: ISubNavPage[] = null, extraOptions: ISubNavPage[] = [], excludeWithIds: number[] = []): Observable {\r\n return Observable.create(observer => {\r\n let commonPages: ISubNavPage[] = this.accountPagesList;\r\n\r\n if (pages) {\r\n commonPages = pages;\r\n }\r\n\r\n const filtered = [\r\n ...commonPages,\r\n ...extraOptions,\r\n ].filter(obj => {\r\n return !excludeWithIds.includes(obj.Id);\r\n });\r\n\r\n observer.next(filtered);\r\n });\r\n }\r\n\r\n public accountPagesForUCP$(pages: ISubNavPage[] = null, extraOptions: ISubNavPage[] = [], excludeWithIds: number[] = [3]): Observable {\r\n return this.accountPages$(pages, [...extraOptions, {\r\n Id: -1,\r\n Name: `Sign out`,\r\n Url: null,\r\n }], excludeWithIds)\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.freeValidProducts)\r\n )\r\n ),\r\n map(([p, freeValidProducts]) => {\r\n return p.map(page => {\r\n if (page.Id === 2) {\r\n return {\r\n ...page,\r\n Counter: freeValidProducts ? freeValidProducts.length : 0\r\n };\r\n }\r\n return page;\r\n }).filter(page => page.Id !== 7 && page.Id !== 8);\r\n })\r\n );\r\n }\r\n\r\n public mapAccountRouteUrlToId$(customMap: { [name: string]: { url: string; id: number; }; } = null): Observable {\r\n /* This is a way to get active id for sub-nav component */\r\n const defaultRoutes: ISubNavPage[] = this.accountPagesList;\r\n const defaultMap = defaultRoutes.reduce((acc, route) => {\r\n let mappedName = route.Url.split('/')[2];\r\n if (!mappedName) {\r\n mappedName = 'profile';\r\n }\r\n acc[mappedName] = {\r\n id: route.Id,\r\n url: route.Url\r\n };\r\n\r\n return acc;\r\n }, {} as { [name: string]: { url: string; id: number; }; });\r\n\r\n const targetMap = customMap || defaultMap;\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRoute),\r\n combineLatest(\r\n this.isAccountPage$(),\r\n ),\r\n filter(([route, isAccountPage]) => route !== null && isAccountPage === true),\r\n map(([route]) => {\r\n let id: number = null;\r\n\r\n Object.keys(targetMap).map(key => {\r\n if (id !== null) return;\r\n\r\n const obj = targetMap[key];\r\n\r\n const foundMatch = route.url === obj.url;\r\n if (foundMatch) {\r\n id = obj.id;\r\n return;\r\n }\r\n });\r\n\r\n return id;\r\n })\r\n );\r\n }\r\n\r\n public canNavigateToCheckoutAuthorizedOnly$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canNavigateToCheckoutAuthorizedOnly)\r\n );\r\n }\r\n\r\n public canNavigateToCheckoutUnauthorized$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canNavigateToCheckoutUnauthorized)\r\n );\r\n }\r\n\r\n public getCurrentRouteQueryParams$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRouteQueryParams)\r\n );\r\n }\r\n\r\n public getPaymentGatewayStatusFromQueryParams$(): Observable {\r\n /* null, true, false */\r\n return this.getCurrentRouteQueryParams$()\r\n .pipe(\r\n map(params => {\r\n if (!params || !params.status) return null;\r\n const decrypt: string = this._cryptoService.decrypt(params.status, false, null);\r\n if (!decrypt || typeof decrypt !== 'string') return false;\r\n\r\n const response = decrypt[decrypt.length - 1];\r\n\r\n return response === '1' ? true : false;\r\n })\r\n );\r\n }\r\n\r\n public extractOrderConfirmationQueryParams$(): Observable<{ orderId: number; locationNo: number; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRouteQueryParams),\r\n map(params => {\r\n if (!params || !params.order) return null;\r\n return this._queryParamsService.decryptOrderData(params);\r\n })\r\n );\r\n }\r\n\r\n public extractLocationFromQueryParams$(): Observable {\r\n return this.extractOrderConfirmationQueryParams$()\r\n .pipe(\r\n switchMap(params => {\r\n if (!params) return of(null);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(params.locationNo))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public extractLocationFriendlyNameFromQueryParams$(): Observable {\r\n return this.extractLocationFromQueryParams$()\r\n .pipe(\r\n map(location => location ? location.LocationFriendlyName : null)\r\n );\r\n }\r\n\r\n public extractLocationFullAddressFromQueryParams$(): Observable {\r\n return this.extractLocationFromQueryParams$()\r\n .pipe(\r\n map(location => {\r\n if (!location) return null;\r\n const arr: string[] = [];\r\n if (location.StreetAddress) arr.push(location.StreetAddress);\r\n if (location.Suburb) arr.push(location.Suburb);\r\n if (location.PostCode) arr.push(location.PostCode);\r\n\r\n return arr.join(', ');\r\n })\r\n );\r\n }\r\n\r\n public extractOrderDetailsFromQueryParams$(): Observable {\r\n return this.extractOrderConfirmationQueryParams$()\r\n .pipe(\r\n switchMap(params => {\r\n if (!params) return of(null);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(params.orderId))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public extractOrderIdFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n map(order => order ? order.OrderId || null : null)\r\n );\r\n }\r\n\r\n public extractLocationNoFromQueryParams$(): Observable {\r\n return this.extractOrderConfirmationQueryParams$()\r\n .pipe(\r\n map(params => params ? params.locationNo : null)\r\n );\r\n }\r\n\r\n public extractOrderProductsFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n map(order => Utils.OnlineOrders.mapOnlineOrderProducts(order.data, true))\r\n );\r\n }\r\n\r\n public extractOrderSummaryFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n map(order => ({\r\n Subtotal: order.data.TotalNettValue,\r\n Tax: order.data.TotalTaxes[0] ? order.data.TotalTaxes[0].Value : null,\r\n Total: order.data.TotalGrossValue,\r\n\r\n }))\r\n );\r\n }\r\n\r\n public extractOrderWithLocationLoadingFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n combineLatest(\r\n this.extractLocationFriendlyNameFromQueryParams$()\r\n ),\r\n map(([order, locationName]) => order === undefined || order === null || order.data === null || locationName === null || locationName === undefined)\r\n );\r\n }\r\n\r\n public extractOrderMemberIdFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n map(order => order.data.MemberId),\r\n );\r\n }\r\n\r\n public extractGUIDTokenFromQueryParams$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRoute),\r\n filter(route => route !== null),\r\n map(route => {\r\n if (route.queryParams.hasOwnProperty('guid')) {\r\n return route.queryParams.guid;\r\n }\r\n\r\n return null;\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, take, tap, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TransactionsController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public getTransactionSummary$(transactionId: number): Observable {\r\n return this.getTransaction$(transactionId)\r\n .pipe(\r\n filter(transaction => transaction !== undefined && transaction !== null),\r\n map(transaction => ({\r\n Subtotal: transaction.Total,\r\n Tax: transaction.TaxTotal,\r\n Total: transaction.TotalGross,\r\n }))\r\n );\r\n }\r\n\r\n public requestLatestTransactionsForCurrentMember(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLatestTransactionsForMember(state.data.MemberId)),\r\n map(transactions => ({\r\n transactions,\r\n memberId: state.data.MemberId\r\n }))\r\n );\r\n }),\r\n take(1)\r\n ).subscribe(({ transactions, memberId }) => {\r\n if (!transactions || transactions.isDownloading === false || transactions.hasSucceeded === true && transactions.data.length === 0) {\r\n this._store.dispatch(actions.LatestTransactionsRequest({ memberId }));\r\n }\r\n });\r\n }\r\n\r\n public getLatestTransactionsForCurrentMember$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLatestTransactionsForMember(state.data.MemberId)),\r\n map(transactions => transactions && transactions.data ? transactions.data : null)\r\n );\r\n })\r\n );\r\n }\r\n\r\n public isLoading$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isDownloadingAnyTransaction)\r\n );\r\n }\r\n\r\n public getTransaction$(transactionId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getTransactionById(transactionId)),\r\n map(transaction => {\r\n if (!transaction) return transaction;\r\n\r\n return {\r\n ...transaction,\r\n TransactionProducts: transaction.TransactionProducts.filter(obj => obj.PLU !== -99999)\r\n };\r\n })\r\n );\r\n }\r\n\r\n public hasNoTransactionsHistory$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLatestTransactionsForMember(state.data.MemberId)),\r\n map(transactions => transactions ? transactions.downloadedDate && transactions.hasSucceeded && (!transactions.data || transactions.data.length === 0) : false)\r\n );\r\n })\r\n );\r\n\r\n }\r\n\r\n public getTransactionTitle$(transactionId: number, locationNo: number, includeLocationName: boolean = true): Observable {\r\n return this.getTransaction$(transactionId)\r\n .pipe(\r\n filter(transaction => transaction !== undefined && transaction !== null),\r\n switchMap(transaction => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(locationNo)),\r\n filter(location => location !== null),\r\n map(location => {\r\n const locationName: string = includeLocationName ? `${location.LocationFriendlyName} - ` : '';\r\n\r\n return `${locationName}${Utils.Dates.descriptionDate(transaction.Date)}`;\r\n })\r\n );\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of, pipe } from 'rxjs';\r\nimport { map, filter, distinctUntilChanged, combineLatest, switchMap, take, pairwise, withLatestFrom } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WizzardController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _routeService: Services.RouteService,\r\n ) { }\r\n\r\n public wizzardSimpleItem$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItem)\r\n );\r\n }\r\n\r\n public wizzardMenuFlow$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow)\r\n );\r\n }\r\n\r\n public isEditing$(isMenuFlow: boolean): Observable {\r\n if (isMenuFlow) {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== null),\r\n map(menuFlow => !!menuFlow['_Id'])\r\n );\r\n }\r\n\r\n return this.wizzardSimpleItem$()\r\n .pipe(\r\n filter(item => item !== null),\r\n map(item => !!item['_Id'])\r\n );\r\n }\r\n\r\n public getWizzardMenuFlowPages$(includeHidden: boolean = false): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== null),\r\n map(menuFlow => {\r\n if (includeHidden) {\r\n return menuFlow.Pages;\r\n }\r\n\r\n return menuFlow.Pages.filter(page => page.HideFromKiosk !== true);\r\n })\r\n );\r\n }\r\n\r\n public wizzardMenuFlowUnitPrice$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItemUnitPrice)\r\n );\r\n }\r\n\r\n public wizzardSimpleItemUnitPrice$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItemUnitPrice)\r\n );\r\n }\r\n\r\n public wizzardMenuFlowQuantity$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowQuantity)\r\n );\r\n }\r\n\r\n public wizzardSimpleItemQuantity$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItemQuantity)\r\n );\r\n }\r\n\r\n public wizzardMenuFlowTotalValue$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowTotalValue)\r\n );\r\n }\r\n\r\n public wizzardSimpleItemTotalValue$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItemTotalValue)\r\n );\r\n }\r\n\r\n public wizzardMenuFlowImage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getImageForWizzardItem(true)),\r\n );\r\n }\r\n\r\n public wizzardSimpleItemImage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getImageForWizzardItem(false)),\r\n );\r\n }\r\n\r\n public wizzardItemImageLoading$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isDownloadingAnyOnlineMenuPageImages),\r\n );\r\n }\r\n\r\n public wizzardMenuFlowTagsImages$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getDietaryTagImagesForWizzardItem(true))\r\n );\r\n }\r\n\r\n public wizzardSimpleItemTagsImages$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getDietaryTagImagesForWizzardItem(false))\r\n );\r\n }\r\n\r\n\r\n public wizzardMenuFlowStats$(label: string = null): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getStatsForWizzardItem(true, label))\r\n );\r\n }\r\n\r\n public wizzardSimpleItemStats$(label: string = null): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getStatsForWizzardItem(false, label))\r\n );\r\n }\r\n\r\n public getMenuFlowPageIdentifierOneNewError$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardErrors),\r\n pairwise(),\r\n distinctUntilChanged(),\r\n map(([prev, curr]) => {\r\n if (!curr[0]) return null;\r\n const pageIdentifier: number = curr[0].pageIdentifier;\r\n const isNewError: boolean = !prev.find(err => err.pageIdentifier === pageIdentifier);\r\n return isNewError ? pageIdentifier : null;\r\n })\r\n );\r\n }\r\n\r\n public wizzardMenuFlowTotalSelectedProducts$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardTotalSelectedProducts)\r\n );\r\n }\r\n\r\n public wizzardAcceptBtnLabel$(customLabels: { add?: string; edit?: string; no?: string; } = {}): Observable {\r\n const defaults = {\r\n add: 'Add to bag',\r\n edit: 'Edit',\r\n no: 'No, thanks'\r\n };\r\n\r\n const labels = {\r\n ...defaults,\r\n ...customLabels\r\n };\r\n\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n combineLatest(\r\n this.wizzardMenuFlowTotalSelectedProducts$()\r\n ),\r\n map(([menuFlow, totalSelected]) => {\r\n if (menuFlow.IsUpsell && totalSelected === 0) {\r\n return labels.no;\r\n }\r\n\r\n if (menuFlow._Id) return labels.edit;\r\n\r\n return labels.add;\r\n })\r\n );\r\n\r\n }\r\n\r\n public wizzardAcceptBtnLabelPrice$(): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n combineLatest(\r\n this.wizzardMenuFlowTotalSelectedProducts$(),\r\n this.wizzardMenuFlowTotalValue$()\r\n ),\r\n map(([menuFlow, totalSelected, totalValue]) => {\r\n if (menuFlow.IsUpsell && totalSelected === 0) {\r\n return null;\r\n }\r\n\r\n return totalValue;\r\n }),\r\n );\r\n }\r\n\r\n public wizzardMenuFlowTitle$(): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n map(menuFlow => {\r\n if (!menuFlow.IsUpsell) return menuFlow.PosDisplay;\r\n\r\n return menuFlow.MenuFlowNotes;\r\n }),\r\n );\r\n }\r\n\r\n public wizzardMenuFlowDescription$(): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n map(menuFlow => {\r\n if (!menuFlow.IsUpsell) return menuFlow.PosDescription;\r\n\r\n return menuFlow.PosDescription;\r\n }),\r\n );\r\n }\r\n\r\n public menuFlowPageHasErrors$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardErrors),\r\n map(errors => {\r\n return errors.find(error => error.pageIdentifier === pageIdentifier) ? true : false;\r\n })\r\n );\r\n }\r\n\r\n public isMenuFlowPageQuantityValid$(page: APIv1.MenuFlowPage): Observable {\r\n /* Will be more advanced */\r\n return this._store.pipe(\r\n select(selectors.isWizzardPageQuantityValid(page))\r\n );\r\n }\r\n\r\n public isMenuFlowPageQuantityMaxedOut$(page: APIv1.MenuFlowPage): Observable {\r\n return this._store.pipe(\r\n select(selectors.isWizzardPageQuantityMaxedOut(page))\r\n );\r\n }\r\n\r\n public pageHasSomeProductsSelected$(page: APIv1.MenuFlowPage): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.wizzardPageHasSelectedAnyProduct(page))\r\n );\r\n }\r\n\r\n public isMenuFlowProductSelectable$(pageIdentifier: number, productId: number, productState: number = null): Observable {\r\n /* Decide if product is selectable when one is allowed or when multiple allowed and page limit is reached */\r\n const isPageOneAllowed$ = this._store.pipe(select(selectors.isWizzardPageOneAllowed(pageIdentifier)));\r\n const isPageLimitReached$ = this._store.pipe(select(selectors.isWizzardPageLimitReached(pageIdentifier)));\r\n const productWizzardQuantity$ = this._store.pipe(select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)));\r\n\r\n return productWizzardQuantity$\r\n .pipe(\r\n combineLatest(\r\n isPageLimitReached$,\r\n isPageOneAllowed$,\r\n ),\r\n map(([productQty, pageLimitReached, isPageOneAllowed]) => {\r\n if (isPageOneAllowed) return true;\r\n const isClickable: boolean = productQty === 0 && pageLimitReached === false;\r\n\r\n return productState === null ? isClickable : isClickable && productState === 0;\r\n })\r\n );\r\n }\r\n\r\n public isPageLimitReached$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isWizzardPageLimitReached(pageIdentifier)\r\n )\r\n );\r\n }\r\n\r\n public canShowNextPrice$(pageIdentifier: number, product: APIv1.MenuFlowProduct): Observable {\r\n return this.menuFlowProductQuantity$(pageIdentifier, product.ProductId)\r\n .pipe(\r\n combineLatest(\r\n this.nextProductPrice$(pageIdentifier, product.ProductId)\r\n ),\r\n map(([quantity, nextPrice]) => {\r\n return !!nextPrice === true && quantity > 0; // && product.MaximumQuantity > 1; TOLO-47 fix\r\n })\r\n );\r\n }\r\n\r\n public nextProductPrice$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getNextPriceForMenuFlowProduct(productId, pageIdentifier))\r\n );\r\n }\r\n\r\n public productAddReplaceRemove$(pageIdentifier: number, productId: number): Observable {\r\n /* Decide what to do with the product - add, remove, replace */\r\n const isPageOneAllowed$ = this._store.pipe(select(selectors.isWizzardPageOneAllowed(pageIdentifier)));\r\n const isPageLimitReached$ = this._store.pipe(select(selectors.isWizzardPageLimitReached(pageIdentifier)));\r\n const productWizzardQuantity$ = this._store.pipe(select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)));\r\n const pageWizzardQuantity$ = this._store.pipe(select(selectors.getWizzardMenuFlowPageItemsTotalQuantity(pageIdentifier)));\r\n\r\n return this.isMenuFlowProductSelectable$(pageIdentifier, productId)\r\n .pipe(\r\n switchMap(canSelect => {\r\n if (!canSelect) return of(null);\r\n\r\n return productWizzardQuantity$\r\n .pipe(\r\n combineLatest(\r\n isPageLimitReached$,\r\n isPageOneAllowed$,\r\n pageWizzardQuantity$,\r\n ),\r\n map(([productQty, pageLimitReached, isPageOneAllowed]) => {\r\n if (isPageOneAllowed) {\r\n if (pageLimitReached && productQty !== 0) {\r\n return 'remove';\r\n }\r\n\r\n if (pageLimitReached && productQty === 0) {\r\n return 'replace';\r\n }\r\n\r\n if (!pageLimitReached) {\r\n return 'add';\r\n }\r\n } else {\r\n if (!pageLimitReached) {\r\n return 'add';\r\n }\r\n\r\n return null;\r\n }\r\n })\r\n );\r\n\r\n })\r\n );\r\n\r\n }\r\n\r\n public getIngredientsForWizzardProductForDropdown$(product: APIv1.MenuFlowProduct): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow),\r\n filter(wizzardMenuFlow => wizzardMenuFlow !== null),\r\n switchMap(wizzardMenuFlow =>\r\n this._store\r\n .pipe(\r\n select(selectors.getIngredientsForProduct(product.ProductId, wizzardMenuFlow.LocationNo)))\r\n ),\r\n filter(ingredient => ingredient !== undefined\r\n && !ingredient.isDownloading\r\n && !ingredient.hasFailed\r\n && ingredient.data !== null\r\n && ingredient.data.Ingredients !== null\r\n && ingredient.data.Ingredients[0] !== undefined\r\n && ingredient.data.Ingredients[0].Modifiers !== null\r\n ),\r\n map(ingredient => {\r\n return ingredient.data.Ingredients[0].Modifiers.map(modifier => ({\r\n ...modifier,\r\n Id: modifier.ModifierID,\r\n Name: modifier.ModifierName\r\n }));\r\n }),\r\n );\r\n }\r\n\r\n public getSelectedIngredientForWizzardProduct$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSelectedModifierForMenuFlowProduct(pageIdentifier, productId)),\r\n filter(selected => selected !== null),\r\n map(selected => ({\r\n ...selected,\r\n Id: selected.ModifierID,\r\n Name: selected.ModifierName\r\n })),\r\n );\r\n }\r\n\r\n\r\n public isProductDisabledByPageLimit$(pageIdentifier: number, productId: number, productState: number = null): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n combineLatest(this._store.select(selectors.isWizzardPageLimitReached(pageIdentifier))),\r\n map(([qty, limitReached]) => {\r\n const isDisabled = qty === 0 && limitReached === true;\r\n if (productState == null) {\r\n return isDisabled;\r\n }\r\n\r\n return isDisabled && productState !== 0;\r\n })\r\n );\r\n }\r\n\r\n public menuFlowProductQuantity$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId))\r\n );\r\n }\r\n\r\n public isProductSelected$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n map(qty => qty > 0),\r\n );\r\n }\r\n\r\n public isProductDisabled$(pageIdentifier: number, productId: number, productState: number = null): Observable {\r\n return this.isProductDisabledByPageLimit$(pageIdentifier, productId, productState)\r\n .pipe(\r\n combineLatest(\r\n this.isPageLimitReached$(pageIdentifier),\r\n this.isProductSelected$(pageIdentifier, productId),\r\n this.isMenuFlowProductSelectable$(pageIdentifier, productId, productState),\r\n this._store\r\n .pipe(\r\n select(\r\n selectors.getWizzardMenuFlowProduct(pageIdentifier, productId)\r\n )\r\n )\r\n ),\r\n map(([isDisabled, isPageLimitReached, isSelected, isClickable, product]) => {\r\n return (product && product.State !== 0) ||\r\n productState !== null && productState !== 0 ||\r\n isDisabled ||\r\n isPageLimitReached && !isSelected && !isClickable;\r\n }),\r\n );\r\n }\r\n\r\n public showRemoveButton$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n combineLatest(this._store.select(selectors.isWizzardPageOneAllowed(pageIdentifier))),\r\n map(([qty, isOneAllowed]) => qty > 0 && isOneAllowed === true),\r\n );\r\n }\r\n\r\n public showCounterButtons$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n combineLatest(this._store.select(selectors.isWizzardPageOneAllowed(pageIdentifier))),\r\n map(([qty, isOneAllowed]) => qty > 0 && isOneAllowed === false)\r\n );\r\n }\r\n\r\n public wizzardPageTotalQuantity$(pageIdentifier: number): Observable {\r\n return this._store.pipe(select(selectors.getWizzardMenuFlowPageItemsTotalQuantity(pageIdentifier)));\r\n }\r\n\r\n public wizzardPageHasErrors$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardErrors),\r\n map(errors => !!errors.find(error => error.pageIdentifier === pageIdentifier))\r\n );\r\n }\r\n\r\n /* Wizzard hints */\r\n\r\n public wizzardHintShowAddUpTo$(page: APIv1.MenuFlowPage): Observable {\r\n /*\r\n If the minimum page quantity is 0, and no items have been selected in that page:\r\n Add up to {{MaximumPageQty}}\r\n */\r\n const minPageQty: number = page.PageMinQuantity;\r\n const maxPageQty: number = page.PageMaxQuantity;\r\n\r\n return this.wizzardPageTotalQuantity$(page.PageIdentifier)\r\n .pipe(\r\n map(wizzardQty => {\r\n return minPageQty !== maxPageQty && wizzardQty === 0;\r\n })\r\n );\r\n }\r\n\r\n public wizzardHintShowCounter$(page: APIv1.MenuFlowPage): Observable {\r\n /*\r\n If the minimum page quantity has been met (e.g. Min Qty = 0, user has selected 2):\r\n {{CurrentSelectedPageCount}} / {{MaximumPageQty}}\r\n OR If the minimum page quantity matches the maximum page quantity (e.g. Min 1 / Max 1), and the current selected count HAS reached the maximum\r\n {{CurrentSelectedPageCount}} / {{MaximumPageQty}}\r\n */\r\n const minPageQty: number = page.PageMinQuantity;\r\n const maxPageQty: number = page.PageMaxQuantity;\r\n\r\n return this.wizzardPageTotalQuantity$(page.PageIdentifier)\r\n .pipe(\r\n map(wizzardQty => {\r\n return (minPageQty <= wizzardQty && wizzardQty !== 0)\r\n || (minPageQty === maxPageQty && wizzardQty === maxPageQty);\r\n })\r\n );\r\n }\r\n\r\n public wizzardHintShowChooseMinimumQuantity$(page: APIv1.MenuFlowPage): Observable {\r\n /*\r\n If the minimum page quantity matches the maximum page quantity (e.g. Min 1 / Max 1), and the current selected count HAS NOT reached the maximum\r\n Choose {{MinimumPageQty}}\r\n */\r\n const minPageQty: number = page.PageMinQuantity;\r\n const maxPageQty: number = page.PageMaxQuantity;\r\n\r\n return this.wizzardPageTotalQuantity$(page.PageIdentifier)\r\n .pipe(\r\n map(wizzardQty => {\r\n return minPageQty === maxPageQty && wizzardQty === 0;\r\n })\r\n );\r\n }\r\n\r\n /* Collapse pages */\r\n public wizzardAllProductsForMenuFlowPage$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowAllProductsForPage(pageIdentifier))\r\n );\r\n }\r\n\r\n public wizzardFirstProductForMenuFlowPage$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowFirstProductForPage(pageIdentifier))\r\n );\r\n }\r\n\r\n public wizzardCollapsePageTitlePrefix$(page: APIv1.MenuFlowPage): Observable {\r\n return this.isMenuFlowPageQuantityValid$(page)\r\n .pipe(\r\n map(isComplete => isComplete ? page.PageName : null)\r\n );\r\n }\r\n\r\n public wizzardCollapsePageTitle$(page: APIv1.MenuFlowPage, defaultPrefix: string = 'Choose your '): Observable {\r\n return this.wizzardCollapsePageTitlePrefix$(page)\r\n .pipe(\r\n combineLatest(\r\n this.wizzardAllProductsForMenuFlowPage$(page.PageIdentifier)\r\n ),\r\n map(([isComplete, selectedProducts]) => {\r\n if (!isComplete || !selectedProducts) return `${defaultPrefix}${page.PageName}`;\r\n return selectedProducts.reduce((acc, product, index) => {\r\n /* ProductName */\r\n if (!index) return product.ProductName;\r\n return acc += `, ${product.ProductName}`;\r\n }, '');\r\n }),\r\n );\r\n }\r\n\r\n public wizzardMenuFlowPagesReports$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.wizzardMenuFlowPagesReports)\r\n );\r\n }\r\n\r\n public getWizzardErrors$(limit: number = 1): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardErrors),\r\n map(errors => {\r\n if (errors.length === 0) return [];\r\n\r\n if (limit) {\r\n errors.length = limit;\r\n }\r\n\r\n return errors;\r\n }),\r\n );\r\n }\r\n\r\n public getWizzardErrorsMessages$(limit: number = 1): Observable {\r\n return this.getWizzardErrors$(limit)\r\n .pipe(\r\n combineLatest(\r\n this._store.pipe(\r\n select(selectors.getMenuFlowDetailsPagesByWizzard)\r\n )\r\n ),\r\n filter(([errors, pages]) => errors !== null && pages !== null),\r\n map(([errors, pages]) => {\r\n return errors.map(error => {\r\n const page = pages.find(obj => obj.PageIdentifier === error.pageIdentifier);\r\n if (!page) return null;\r\n\r\n switch (true) {\r\n case error.error === State.WIZZARD_ERROR.REQUIRED:\r\n if (page.PageMaxQuantity === page.PageMinQuantity) {\r\n return `Please select ${page.PageMinQuantity} ${page.PageName.toLowerCase()}`;\r\n }\r\n\r\n if (page.PageMinQuantity !== page.PageMaxQuantity) {\r\n return `Please select minimum ${page.PageMinQuantity} ${page.PageName.toLowerCase()}`;\r\n }\r\n\r\n break;\r\n default:\r\n /* TODO - State.WIZZARD_ERROR.OVERFLOW */\r\n return 'OVERFLOW';\r\n }\r\n\r\n return 'unknown error';\r\n });\r\n })\r\n );\r\n }\r\n\r\n public getSpecialInstructions(type: State.MODAL_TYPE): Observable {\r\n if (type === 'product') {\r\n return this.wizzardProductSpecialInstructions$();\r\n }\r\n\r\n return this.wizzardMenuFlowSpecialInstructions$();\r\n }\r\n\r\n\r\n public wizzardMenuFlowSpecialInstructions$(): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(wizzard => wizzard !== null),\r\n map(wizzard => wizzard.SpecialInstructions)\r\n );\r\n }\r\n\r\n public wizzardProductSpecialInstructions$(): Observable {\r\n return this.wizzardSimpleItem$()\r\n .pipe(\r\n filter(product => product !== null),\r\n map(product => product.SpecialInstructions),\r\n );\r\n }\r\n\r\n\r\n public hasSpecialInstructions$(type: State.MODAL_TYPE): Observable {\r\n const specialInstructionsPipe = pipe(\r\n filter(product => product !== undefined && product !== null),\r\n map((product: State.IWizzardSimpleItem | State.IWizzardMenuFlow) => {\r\n return product.SpecialInstructions ? true : false;\r\n })\r\n );\r\n\r\n if (type === 'product') {\r\n return this.wizzardSimpleItem$()\r\n .pipe(\r\n specialInstructionsPipe\r\n );\r\n }\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n specialInstructionsPipe\r\n );\r\n }\r\n\r\n public showSpecialInstructions$(type: State.MODAL_TYPE): Observable {\r\n const specialInstructionsPipe = pipe(\r\n filter(product => product !== undefined && product !== null),\r\n map((product: State.IWizzardSimpleItem | State.IWizzardMenuFlow) => {\r\n if (product.SpecialInstructions) return true;\r\n if (product.Tags && product.Tags instanceof Array && product.Tags.find(tag => tag.Name.toLowerCase().replace(/\\s/, '') === 'specialinstruction')) return true;\r\n if (this._config.showSpecialInstructionsForProducts === true && (type === 'product')) return true;\r\n if (this._config.showSpecialInstructionsForMenuFlows === true && (type !== 'product')) return true;\r\n\r\n return false;\r\n })\r\n );\r\n\r\n if (type === 'product') {\r\n return this.wizzardSimpleItem$()\r\n .pipe(\r\n specialInstructionsPipe\r\n );\r\n }\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n specialInstructionsPipe\r\n );\r\n }\r\n\r\n public wizzardMenuFlowIncrement(): void {\r\n this._store.dispatch(actions.WizzardMenuFlowIncrement());\r\n }\r\n\r\n public wizzardSimpleItemIncrement(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItem),\r\n take(1)\r\n ).subscribe(product => this._store.dispatch(actions.WizzardSimpleItemIncrement(product)));\r\n }\r\n\r\n public wizzardMenuFlowDecrement(): void {\r\n this._store.dispatch(actions.WizzardMenuFlowDecrement());\r\n }\r\n\r\n public wizzardSimpleItemDecrement(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItem),\r\n take(1)\r\n ).subscribe(product => this._store.dispatch(actions.WizzardSimpleItemDecrement(product)));\r\n }\r\n\r\n public wizzardMenuFlowCTAButtonClick(modal: State.IModal): void {\r\n if (modal.type === 'upsell') {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardTotalSelectedProducts),\r\n take(1)\r\n ).subscribe(total => {\r\n if (!total) {\r\n return this._store.dispatch(actions.WizzardCancel({ modalId: modal.id }));\r\n }\r\n\r\n this.wizzardMenuFlowAddToCart(modal.id, modal.locationNo);\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.wizzardMenuFlowAddToCart(modal.id, modal.locationNo);\r\n }\r\n\r\n public wizzardMenuFlowAddToCart(modalId: number, locationNo: number, clearQueryParams: boolean = true): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.wizzardRecalculatePricesObj)\r\n )\r\n ),\r\n filter(([menuFlow, recalculatePrices]) => recalculatePrices.hasSucceeded === true),\r\n take(1)\r\n ).subscribe(([menuFlow]) => {\r\n if (clearQueryParams) {\r\n this._routeService.removeURLQueryParams();\r\n }\r\n\r\n this._store.dispatch(actions.CartSetup({ modalId, locationNo, item: menuFlow }));\r\n });\r\n }\r\n\r\n public canAddWizzardMenuFlowToCart$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.wizzardRecalculatePricesObj),\r\n map(obj => obj.hasSucceeded === true),\r\n );\r\n }\r\n\r\n public wizzardSimpleItemAddToCart(modalId: number, locationNo: number, clearQueryParams: boolean = true): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItem),\r\n take(1)\r\n ).subscribe(product => {\r\n if (clearQueryParams) {\r\n this._routeService.removeURLQueryParams();\r\n }\r\n\r\n this._store.dispatch(actions.CartSetup({ modalId, locationNo, item: product }));\r\n });\r\n }\r\n\r\n public selectOnlineMenuProduct(product: APIv1.OnlineMenuProductResponseModel): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => this._store.dispatch(actions.WizzardSetupItem(locationNo, product)));\r\n }\r\n\r\n public selectIngredientForWizzardMenuFlowProduct(pageIdentifier: number, productId: number, option: APICommon.IIngredientModifierExtended & OLO.Components.DropDown.IDropDownOption): void {\r\n this._store.dispatch(\r\n actions.WizzardMenuFlowSelectModifier({ modifier: option, pageIdentifier: pageIdentifier, productId: productId })\r\n );\r\n }\r\n\r\n public handleWizzardMenuFlowProductClick(pageIdentifier: number, product: APIv1.MenuFlowProduct): void {\r\n this._store\r\n .pipe(\r\n select(selectors.productActionToTake(pageIdentifier, product.ProductId)),\r\n take(1)\r\n ).subscribe(decision => {\r\n if (!decision) return;\r\n\r\n switch (decision) {\r\n case 'add':\r\n return this._store.dispatch(\r\n actions.WizzardMenuFlowAddProduct({\r\n pageIdentifier: pageIdentifier,\r\n product: {\r\n ...product,\r\n IngredientsChanges: {\r\n IngredientsModified: [], /* TODO */\r\n IngredientsAdded: [], /* TODO */\r\n IngredientsRemoved: [], /* NOT IN USE */\r\n IngredientsSwapped: [], /* NOT IN USE */\r\n }\r\n }\r\n }\r\n )\r\n );\r\n\r\n case 'remove':\r\n return this._store.dispatch(\r\n actions.WizzardMenuFlowRemoveProduct({\r\n pageIdentifier: pageIdentifier,\r\n productId: product.ProductId\r\n }\r\n )\r\n );\r\n\r\n case 'replace':\r\n return this._store.dispatch(\r\n actions.WizzardMenuFlowReplaceAllWithNew({\r\n pageIdentifier: pageIdentifier,\r\n product: {\r\n ...product,\r\n IngredientsChanges: {\r\n IngredientsModified: [], /* TODO */\r\n IngredientsAdded: [], /* TODO */\r\n IngredientsRemoved: [], /* NOT IN USE */\r\n IngredientsSwapped: [], /* NOT IN USE */\r\n }\r\n }\r\n }\r\n )\r\n );\r\n }\r\n });\r\n }\r\n\r\n public incrementMenuFlowProduct(pageIdentifier: number, productId: number): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProduct(pageIdentifier, productId)),\r\n take(1)\r\n ).subscribe(product => {\r\n if (product.Quantity < product.MaximumQuantity) {\r\n return this._store.dispatch(actions.WizzardMenuFlowProductIncrement(pageIdentifier, productId));\r\n }\r\n console.warn(`You cannot add more product than maximum quantity`);\r\n });\r\n\r\n\r\n }\r\n\r\n public decrementMenuFlowProduct(pageIdentifier: number, productId: number): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n take(1)\r\n ).subscribe(total => {\r\n if (total <= 1) {\r\n return this._store.dispatch(actions.WizzardMenuFlowRemoveProduct({ pageIdentifier, productId }));\r\n }\r\n this._store.dispatch(actions.WizzardMenuFlowProductDecrement(pageIdentifier, productId));\r\n });\r\n }\r\n\r\n\r\n\r\n public setWizzardSpecialInstructions(type: State.MODAL_TYPE, instruction: string): void {\r\n if (type === 'product') {\r\n return this.setProductWizzardInstructions(instruction);\r\n }\r\n\r\n this.setMenuFlowWizzardInstructions(instruction);\r\n }\r\n\r\n public setMenuFlowWizzardInstructions(instruction: string): void {\r\n this._store.dispatch(actions.WizzardMenuFlowSpecialInstructions(instruction));\r\n }\r\n\r\n public setProductWizzardInstructions(instruction: string): void {\r\n this._store.dispatch(actions.WizzardSimpleItemSpecialInstructions(null, instruction));\r\n }\r\n}\r\n","/*\r\n These controllers contain extended selectors and actions\r\n for components only!.\r\n These shouldn't be used by any services, guards, effects, interceptors, pipes, resolvers, validators, directives.\r\n If you think action from a controller should be used in one of these above, move this action to service,\r\n and reimplement it in controller and other service.\r\n*/\r\n\r\nimport { Injectable } from '@angular/core';\r\n\r\nimport { AppSettingsController } from './appSettings';\r\nimport { CartController } from './cart';\r\nimport { CreditCardsController } from './creditCards';\r\nimport { FiltersController } from './filters';\r\nimport { GeolocationController } from './geolocation';\r\nimport { HistoryOrdersController } from './historyOrders';\r\nimport { ImagesController } from './images';\r\nimport { IngredientsController } from './ingredients';\r\nimport { LocationsController } from './locations';\r\nimport { LoyaltyController } from './loyalty';\r\nimport { MembersController } from './members';\r\nimport { MenuFlowsController } from './menuFlows';\r\nimport { ModalsController } from './modals';\r\nimport { OnlineMenuController } from './onlineMenu';\r\nimport { OnlineOrdersController } from './onlineOrders';\r\nimport { PaymentController } from './payment';\r\nimport { RoutesController } from './routes';\r\nimport { TransactionsController } from './transactions';\r\nimport { WizzardController } from './wizzard';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class Controllers {\r\n constructor(\r\n public appSettings: AppSettingsController,\r\n public cart: CartController,\r\n public creditCards: CreditCardsController,\r\n public filters: FiltersController,\r\n public geolocation: GeolocationController,\r\n public historyOrders: HistoryOrdersController,\r\n public images: ImagesController,\r\n public ingredients: IngredientsController,\r\n public locations: LocationsController,\r\n public loyalty: LoyaltyController,\r\n public members: MembersController,\r\n public menuFlows: MenuFlowsController,\r\n public modals: ModalsController,\r\n public onlineMenu: OnlineMenuController,\r\n public onlineOrders: OnlineOrdersController,\r\n public payment: PaymentController,\r\n public routes: RoutesController,\r\n public transactions: TransactionsController,\r\n public wizzard: WizzardController,\r\n ) { }\r\n}\r\n","export * from './appSettings';\r\nexport * from './cart';\r\nexport * from './creditCards';\r\nexport * from './filters';\r\nexport * from './geolocation';\r\nexport * from './historyOrders';\r\nexport * from './images';\r\nexport * from './ingredients';\r\nexport * from './locations';\r\nexport * from './loyalty';\r\nexport * from './members';\r\nexport * from './menuFlows';\r\nexport * from './modals';\r\nexport * from './onlineMenu';\r\nexport * from './onlineOrders';\r\nexport * from './payment';\r\nexport * from './routes';\r\nexport * from './transactions';\r\nexport * from './wizzard';\r\n\r\nexport * from './controllers';\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var ka = moment.defineLocale('ka', {\n months : {\n standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),\n format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')\n },\n monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),\n weekdays : {\n standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),\n format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),\n isFormat: /(წინა|შემდეგ)/\n },\n weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),\n weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),\n longDateFormat : {\n LT : 'h:mm A',\n LTS : 'h:mm:ss A',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY h:mm A',\n LLLL : 'dddd, D MMMM YYYY h:mm A'\n },\n calendar : {\n sameDay : '[დღეს] LT[-ზე]',\n nextDay : '[ხვალ] LT[-ზე]',\n lastDay : '[გუშინ] LT[-ზე]',\n nextWeek : '[შემდეგ] dddd LT[-ზე]',\n lastWeek : '[წინა] dddd LT-ზე',\n sameElse : 'L'\n },\n relativeTime : {\n future : function (s) {\n return (/(წამი|წუთი|საათი|წელი)/).test(s) ?\n s.replace(/ი$/, 'ში') :\n s + 'ში';\n },\n past : function (s) {\n if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {\n return s.replace(/(ი|ე)$/, 'ის წინ');\n }\n if ((/წელი/).test(s)) {\n return s.replace(/წელი$/, 'წლის წინ');\n }\n },\n s : 'რამდენიმე წამი',\n ss : '%d წამი',\n m : 'წუთი',\n mm : '%d წუთი',\n h : 'საათი',\n hh : '%d საათი',\n d : 'დღე',\n dd : '%d დღე',\n M : 'თვე',\n MM : '%d თვე',\n y : 'წელი',\n yy : '%d წელი'\n },\n dayOfMonthOrdinalParse: /0|1-ლი|მე-\\d{1,2}|\\d{1,2}-ე/,\n ordinal : function (number) {\n if (number === 0) {\n return number;\n }\n if (number === 1) {\n return number + '-ლი';\n }\n if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {\n return 'მე-' + number;\n }\n return number + '-ე';\n },\n week : {\n dow : 1,\n doy : 7\n }\n });\n\n return ka;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 'm': ['eine Minute', 'einer Minute'],\n 'h': ['eine Stunde', 'einer Stunde'],\n 'd': ['ein Tag', 'einem Tag'],\n 'dd': [number + ' Tage', number + ' Tagen'],\n 'M': ['ein Monat', 'einem Monat'],\n 'MM': [number + ' Monate', number + ' Monaten'],\n 'y': ['ein Jahr', 'einem Jahr'],\n 'yy': [number + ' Jahre', number + ' Jahren']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var de = moment.defineLocale('de', {\n months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),\n monthsShort : 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n monthsParseExact : true,\n weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),\n weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D. MMMM YYYY',\n LLL : 'D. MMMM YYYY HH:mm',\n LLLL : 'dddd, D. MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]'\n },\n relativeTime : {\n future : 'in %s',\n past : 'vor %s',\n s : 'ein paar Sekunden',\n ss : '%d Sekunden',\n m : processRelativeTime,\n mm : '%d Minuten',\n h : processRelativeTime,\n hh : '%d Stunden',\n d : processRelativeTime,\n dd : processRelativeTime,\n M : processRelativeTime,\n MM : processRelativeTime,\n y : processRelativeTime,\n yy : processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return de;\n\n})));\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { DrawCollapseService } from '@shared/core/directives/drawCollapse/draw-collapse.shared.service';\r\n\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\nimport { take } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SubNavService {\r\n public scrollingTime: number = 500;\r\n public activationThreshold: number = 70;\r\n public isScrolling: boolean = false;\r\n\r\n public targetRegistry: { [registryId: string]: Map; } = {};\r\n public currentRegistry: { [registryId: string]: number; } = {};\r\n\r\n public currentTargets$: BehaviorSubject<{ [currentId: string]: number; }> = new BehaviorSubject(this.currentRegistry);\r\n public heightUpdate$: Subject = new Subject();\r\n\r\n constructor(\r\n public drawCollapseService: DrawCollapseService,\r\n public router: Router,\r\n ) { }\r\n\r\n public forceHeightUpdate(): void {\r\n this.heightUpdate$.next(true);\r\n }\r\n\r\n public registerTarget(registryId: string, targetId: number, elem: HTMLElement, setDefault: boolean = true): void {\r\n /*\r\n Register target to scroll\r\n and set default currentTarget if not set\r\n */\r\n if (!this.targetRegistry[registryId]) {\r\n this.targetRegistry[registryId] = new Map();\r\n }\r\n\r\n this.targetRegistry[registryId].set(targetId, elem);\r\n\r\n if (!this.currentRegistry[registryId] && setDefault) {\r\n this.setCurrent(registryId, targetId);\r\n }\r\n }\r\n\r\n public setCurrent(registryId: string, targetId: number): void {\r\n if (this.isScrolling) return;\r\n /*\r\n Updates current element\r\n */\r\n this.currentRegistry[registryId] = targetId;\r\n\r\n this.currentTargets$.next(this.currentRegistry);\r\n }\r\n\r\n public removeTarget(registryId: string, targetId: number): void {\r\n /*\r\n Remove target areas and cleanup in current registry\r\n */\r\n if (!this.targetRegistry[registryId]) return;\r\n\r\n this.targetRegistry[registryId].delete(targetId);\r\n\r\n if (this.targetRegistry[registryId].size === 0) {\r\n delete this.targetRegistry[registryId];\r\n }\r\n\r\n this.currentTargets$\r\n .pipe(\r\n take(1)\r\n ).subscribe(obj => {\r\n if (obj[registryId] === targetId) {\r\n if (this.targetRegistry[registryId]) {\r\n this.setCurrent(registryId, null);\r\n } else {\r\n delete this.currentRegistry[registryId];\r\n\r\n this.currentTargets$.next(this.currentRegistry);\r\n }\r\n }\r\n });\r\n }\r\n\r\n public unsetRegistry(registryId: string): void {\r\n delete this.currentRegistry[registryId];\r\n delete this.targetRegistry[registryId];\r\n }\r\n\r\n public clear(): void {\r\n this.currentRegistry = {};\r\n this.targetRegistry = {};\r\n this.currentTargets$.next(this.currentRegistry);\r\n }\r\n\r\n public navToUrl(url: string): Promise {\r\n return this.router.navigate([url]);\r\n }\r\n\r\n public globalScrollTo(registryId: string, targetId: number, index: number = null): void {\r\n const registry = this.targetRegistry[registryId];\r\n if (!registry) return;\r\n\r\n const elem: HTMLElement = registry.get(targetId);\r\n\r\n if (!elem) return;\r\n\r\n this.setCurrent(registryId, targetId);\r\n this.isScrolling = true;\r\n\r\n const additionalDrawerOffset: number = this.drawCollapseService.drawCanvasExpandedHeight;\r\n\r\n /*\r\n Due to draw directive and f** scrolling page ideas, we need to\r\n 'help' scroller to scroll back to first element... so CS with 'index'\r\n */\r\n const targetOffset: number = index === 0 ? 0 : elem.offsetTop + additionalDrawerOffset;\r\n\r\n Utils.Scroll.smoothScrollTo(targetOffset, this.scrollingTime, 'easeInOutCubic', () => {\r\n setTimeout(() => {\r\n this.isScrolling = false;\r\n }, 200);\r\n });\r\n }\r\n}\r\n","import { async } from '../scheduler/async';\nimport { isDate } from '../util/isDate';\nimport { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function delay(delay, scheduler = async) {\n const absoluteDelay = isDate(delay);\n const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);\n return (source) => source.lift(new DelayOperator(delayFor, scheduler));\n}\nclass DelayOperator {\n constructor(delay, scheduler) {\n this.delay = delay;\n this.scheduler = scheduler;\n }\n call(subscriber, source) {\n return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));\n }\n}\nclass DelaySubscriber extends Subscriber {\n constructor(destination, delay, scheduler) {\n super(destination);\n this.delay = delay;\n this.scheduler = scheduler;\n this.queue = [];\n this.active = false;\n this.errored = false;\n }\n static dispatch(state) {\n const source = state.source;\n const queue = source.queue;\n const scheduler = state.scheduler;\n const destination = state.destination;\n while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {\n queue.shift().notification.observe(destination);\n }\n if (queue.length > 0) {\n const delay = Math.max(0, queue[0].time - scheduler.now());\n this.schedule(state, delay);\n }\n else {\n this.unsubscribe();\n source.active = false;\n }\n }\n _schedule(scheduler) {\n this.active = true;\n const destination = this.destination;\n destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {\n source: this, destination: this.destination, scheduler: scheduler\n }));\n }\n scheduleNotification(notification) {\n if (this.errored === true) {\n return;\n }\n const scheduler = this.scheduler;\n const message = new DelayMessage(scheduler.now() + this.delay, notification);\n this.queue.push(message);\n if (this.active === false) {\n this._schedule(scheduler);\n }\n }\n _next(value) {\n this.scheduleNotification(Notification.createNext(value));\n }\n _error(err) {\n this.errored = true;\n this.queue = [];\n this.destination.error(err);\n this.unsubscribe();\n }\n _complete() {\n this.scheduleNotification(Notification.createComplete());\n this.unsubscribe();\n }\n}\nclass DelayMessage {\n constructor(time, notification) {\n this.time = time;\n this.notification = notification;\n }\n}\n//# sourceMappingURL=delay.js.map","export function isDate(value) {\n return value instanceof Date && !isNaN(+value);\n}\n//# sourceMappingURL=isDate.js.map","import { Subject } from './Subject';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n if (subscription && !subscription.closed) {\n subscriber.next(this._value);\n }\n return subscription;\n }\n getValue() {\n if (this.hasError) {\n throw this.thrownError;\n }\n else if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n else {\n return this._value;\n }\n }\n next(value) {\n super.next(this._value = value);\n }\n}\n//# sourceMappingURL=BehaviorSubject.js.map","import { Component, OnInit, AfterViewInit, Input, Inject, HostListener } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as actions from '@shared/state/actions';\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport { Observable, Subscription, BehaviorSubject } from 'rxjs';\r\nimport { combineLatest, map, take } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'shared-dev',\r\n templateUrl: './dev.shared.component.html',\r\n styleUrls: ['./dev.shared.component.scss'],\r\n})\r\nexport class DevComponent implements OnInit, AfterViewInit {\r\n public readonly states = {\r\n HIDDEN: '0',\r\n MINIMIZED: '1',\r\n VISIBLE: '2',\r\n };\r\n\r\n public devBoxVisibility: 'is-hidden' | 'is-maximized' | 'is-minimized' = null;\r\n public state$: Observable;\r\n public stateFilter$ = new BehaviorSubject('');\r\n public textFilter: string = '';\r\n\r\n @Input() public position = 'bl';\r\n @Input() public sticky: boolean = true;\r\n\r\n @HostListener('window:keypress', ['$event']) public specialKeyListener(e: KeyboardEvent): void {\r\n if (e.charCode === 96 && (e.target as HTMLElement).nodeName !== 'INPUT') {\r\n const current: string = this._getStore();\r\n if (this.states.VISIBLE === current) {\r\n this.hide();\r\n } else {\r\n this.maximize();\r\n }\r\n }\r\n }\r\n\r\n constructor(\r\n @Inject(Tokens.ENV_BUILD_TOKEN) private _envBuildToken: IEnvironment,\r\n private _store: Store,\r\n private _memberService: Services.MembersService,\r\n ) { }\r\n\r\n public get isDevmode(): boolean {\r\n return this._envBuildToken.production === false || Utils.Storage.getItem(OLO.Enums.USER_STORAGE.DEV_MODE) === '1';\r\n }\r\n\r\n /* Storage methods */\r\n private _getStore(): string {\r\n return Utils.Storage.getItem(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE);\r\n }\r\n\r\n public handleFilterChange($event) {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_CONSOLE_FILTER, $event.target.value);\r\n this.stateFilter$.next($event.target.value);\r\n }\r\n\r\n public get autoRestoreState(): boolean {\r\n return Utils.Storage.getItem(OLO.Enums.USER_STORAGE.DEV_AUTORESTORE_STATE) === '1';\r\n }\r\n\r\n ngOnInit() {\r\n // console.log(this._envBuildToken);\r\n\r\n this.textFilter = Utils.Storage.getItem(OLO.Enums.USER_STORAGE.DEV_CONSOLE_FILTER) || '';\r\n this.stateFilter$.next(this.textFilter);\r\n this.state$ = this._store.select(selectors.getState)\r\n .pipe(\r\n combineLatest(this.stateFilter$),\r\n map(([state, filter]) => {\r\n if (!filter) {\r\n return state;\r\n }\r\n const filteredState = {};\r\n\r\n for (const prop in state) {\r\n if (prop.toLowerCase().includes(filter.toLowerCase())) {\r\n filteredState[prop] = state[prop];\r\n }\r\n }\r\n\r\n return filteredState;\r\n })\r\n );\r\n\r\n if (this.autoRestoreState) {\r\n Utils.Redirect.setRedirect();\r\n }\r\n\r\n switch (this._getStore()) {\r\n case this.states.VISIBLE:\r\n this.maximize();\r\n break;\r\n case this.states.MINIMIZED:\r\n this.minimize();\r\n break;\r\n default:\r\n this.hide();\r\n return;\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n\r\n\r\n if (this.autoRestoreState) {\r\n setTimeout(() => {\r\n this.restoreState();\r\n }, 10);\r\n\r\n }\r\n }\r\n\r\n /* Custom methods */\r\n public saveState() {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_AUTORESTORE_STATE, '1');\r\n Utils.Redirect.setRedirect();\r\n this._store.dispatch(actions.StateSave());\r\n }\r\n\r\n public restoreState() {\r\n this._store.dispatch(actions.StateRestore({ setProps: null }));\r\n setTimeout(() => {\r\n this._store.dispatch(actions.StateSave());\r\n }, 10);\r\n }\r\n\r\n public toggleDevAutoRestoreState(): void {\r\n if (this.autoRestoreState) {\r\n Utils.Redirect.unsetRedirect();\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.DEV_AUTORESTORE_STATE);\r\n } else {\r\n Utils.Redirect.setRedirect();\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_AUTORESTORE_STATE, '1');\r\n }\r\n }\r\n\r\n public setLinkInfoStep(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_INFO }));\r\n }\r\n\r\n public payAsGuest() {\r\n const model: APICommon.IOnlineOrderPartialMember = {\r\n FirstName: 'Pawciu',\r\n LastName: 'Test',\r\n Email: `tro${new Date().getTime()}@test.pl`,\r\n MobileNumber: '6666666669',\r\n };\r\n\r\n this._store.dispatch(actions.OnlineOrderRecalculateRequest());\r\n\r\n return this._store.dispatch(actions.PaymentInitAramark({\r\n cardNo: '4000000000000002',\r\n expDate: `11-01-22`,\r\n save: false,\r\n }, model));\r\n }\r\n\r\n\r\n public onFilter($event: string): void {\r\n if ($event) {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_CONSOLE_FILTER, $event);\r\n this.stateFilter$.next($event);\r\n } else {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.DEV_CONSOLE_FILTER);\r\n this.stateFilter$.next('');\r\n }\r\n }\r\n\r\n\r\n /* Custom */\r\n public setupGuestDataAfterSignUp(memberId: number = 2149): void {\r\n this._memberService.getUserData(memberId)\r\n .subscribe(member => {\r\n\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n ).subscribe(currentState => {\r\n\r\n this._store.dispatch(actions.__DevSetState({\r\n state: {\r\n members: {\r\n ...currentState,\r\n signUp: {\r\n isSigningUp: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n isGuestModeEnabled: true,\r\n accountId: memberId,\r\n data: member,\r\n }\r\n }\r\n }));\r\n\r\n\r\n });\r\n\r\n });\r\n\r\n }\r\n\r\n public initPaymentRedirectFlow(): void {\r\n Utils.Redirect.setRedirect();\r\n this._store.dispatch(actions.StateSave());\r\n\r\n setTimeout(() => {\r\n window.location.reload();\r\n });\r\n }\r\n\r\n\r\n public finishPaymentRedirectFlow(): void {\r\n Utils.Redirect.unsetRedirect()\r\n .then(() => {\r\n this._store.dispatch(actions.StateRestore({ setProps: null }));\r\n });\r\n }\r\n\r\n /* Common dev box methods */\r\n public normalize(): void {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE);\r\n this.devBoxVisibility = null;\r\n }\r\n\r\n public hide(): void {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE, this.states.HIDDEN);\r\n this.devBoxVisibility = 'is-hidden';\r\n }\r\n\r\n public maximize(): void {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE, this.states.VISIBLE);\r\n this.devBoxVisibility = 'is-maximized';\r\n }\r\n\r\n public minimize(): void {\r\n this.normalize();\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE, this.states.MINIMIZED);\r\n this.devBoxVisibility = 'is-minimized';\r\n }\r\n\r\n}\r\n","\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n
    {{(state$ | async) | json}}
    \r\n
    \r\n RESTORE STATE\r\n SAVE STATE\r\n AUTO RESTORE STATE {{autoRestoreState}}\r\n \r\n \r\n set link info step\r\n \r\n DEV: setupGuestSignUp\r\n DEV: initPaymentRedirectFlow\r\n DEV: finishPaymentRedirectFlow\r\n \r\n
    \r\n\r\n\r\n
    \r\n
    \r\n\r\n \r\n
    ","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n\n function relativeTimeMr(number, withoutSuffix, string, isFuture)\n {\n var output = '';\n if (withoutSuffix) {\n switch (string) {\n case 's': output = 'काही सेकंद'; break;\n case 'ss': output = '%d सेकंद'; break;\n case 'm': output = 'एक मिनिट'; break;\n case 'mm': output = '%d मिनिटे'; break;\n case 'h': output = 'एक तास'; break;\n case 'hh': output = '%d तास'; break;\n case 'd': output = 'एक दिवस'; break;\n case 'dd': output = '%d दिवस'; break;\n case 'M': output = 'एक महिना'; break;\n case 'MM': output = '%d महिने'; break;\n case 'y': output = 'एक वर्ष'; break;\n case 'yy': output = '%d वर्षे'; break;\n }\n }\n else {\n switch (string) {\n case 's': output = 'काही सेकंदां'; break;\n case 'ss': output = '%d सेकंदां'; break;\n case 'm': output = 'एका मिनिटा'; break;\n case 'mm': output = '%d मिनिटां'; break;\n case 'h': output = 'एका तासा'; break;\n case 'hh': output = '%d तासां'; break;\n case 'd': output = 'एका दिवसा'; break;\n case 'dd': output = '%d दिवसां'; break;\n case 'M': output = 'एका महिन्या'; break;\n case 'MM': output = '%d महिन्यां'; break;\n case 'y': output = 'एका वर्षा'; break;\n case 'yy': output = '%d वर्षां'; break;\n }\n }\n return output.replace(/%d/i, number);\n }\n\n var mr = moment.defineLocale('mr', {\n months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),\n monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),\n monthsParseExact : true,\n weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat : {\n LT : 'A h:mm वाजता',\n LTS : 'A h:mm:ss वाजता',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, A h:mm वाजता',\n LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता'\n },\n calendar : {\n sameDay : '[आज] LT',\n nextDay : '[उद्या] LT',\n nextWeek : 'dddd, LT',\n lastDay : '[काल] LT',\n lastWeek: '[मागील] dddd, LT',\n sameElse : 'L'\n },\n relativeTime : {\n future: '%sमध्ये',\n past: '%sपूर्वी',\n s: relativeTimeMr,\n ss: relativeTimeMr,\n m: relativeTimeMr,\n mm: relativeTimeMr,\n h: relativeTimeMr,\n hh: relativeTimeMr,\n d: relativeTimeMr,\n dd: relativeTimeMr,\n M: relativeTimeMr,\n MM: relativeTimeMr,\n y: relativeTimeMr,\n yy: relativeTimeMr\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'रात्री') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सकाळी') {\n return hour;\n } else if (meridiem === 'दुपारी') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'सायंकाळी') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'रात्री';\n } else if (hour < 10) {\n return 'सकाळी';\n } else if (hour < 17) {\n return 'दुपारी';\n } else if (hour < 20) {\n return 'सायंकाळी';\n } else {\n return 'रात्री';\n }\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return mr;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var se = moment.defineLocale('se', {\n months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),\n monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),\n weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),\n weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),\n weekdaysMin : 's_v_m_g_d_b_L'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'MMMM D. [b.] YYYY',\n LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm',\n LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'\n },\n calendar : {\n sameDay: '[otne ti] LT',\n nextDay: '[ihttin ti] LT',\n nextWeek: 'dddd [ti] LT',\n lastDay: '[ikte ti] LT',\n lastWeek: '[ovddit] dddd [ti] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : '%s geažes',\n past : 'maŋit %s',\n s : 'moadde sekunddat',\n ss: '%d sekunddat',\n m : 'okta minuhta',\n mm : '%d minuhtat',\n h : 'okta diimmu',\n hh : '%d diimmut',\n d : 'okta beaivi',\n dd : '%d beaivvit',\n M : 'okta mánnu',\n MM : '%d mánut',\n y : 'okta jahki',\n yy : '%d jagit'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return se;\n\n})));\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./sha1\"), require(\"./hmac\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./sha1\", \"./hmac\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var Base = C_lib.Base;\n\t var WordArray = C_lib.WordArray;\n\t var C_algo = C.algo;\n\t var MD5 = C_algo.MD5;\n\n\t /**\n\t * This key derivation function is meant to conform with EVP_BytesToKey.\n\t * www.openssl.org/docs/crypto/EVP_BytesToKey.html\n\t */\n\t var EvpKDF = C_algo.EvpKDF = Base.extend({\n\t /**\n\t * Configuration options.\n\t *\n\t * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)\n\t * @property {Hasher} hasher The hash algorithm to use. Default: MD5\n\t * @property {number} iterations The number of iterations to perform. Default: 1\n\t */\n\t cfg: Base.extend({\n\t keySize: 128/32,\n\t hasher: MD5,\n\t iterations: 1\n\t }),\n\n\t /**\n\t * Initializes a newly created key derivation function.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for the derivation.\n\t *\n\t * @example\n\t *\n\t * var kdf = CryptoJS.algo.EvpKDF.create();\n\t * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });\n\t * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });\n\t */\n\t init: function (cfg) {\n\t this.cfg = this.cfg.extend(cfg);\n\t },\n\n\t /**\n\t * Derives a key from a password.\n\t *\n\t * @param {WordArray|string} password The password.\n\t * @param {WordArray|string} salt A salt.\n\t *\n\t * @return {WordArray} The derived key.\n\t *\n\t * @example\n\t *\n\t * var key = kdf.compute(password, salt);\n\t */\n\t compute: function (password, salt) {\n\t // Shortcut\n\t var cfg = this.cfg;\n\n\t // Init hasher\n\t var hasher = cfg.hasher.create();\n\n\t // Initial values\n\t var derivedKey = WordArray.create();\n\n\t // Shortcuts\n\t var derivedKeyWords = derivedKey.words;\n\t var keySize = cfg.keySize;\n\t var iterations = cfg.iterations;\n\n\t // Generate key\n\t while (derivedKeyWords.length < keySize) {\n\t if (block) {\n\t hasher.update(block);\n\t }\n\t var block = hasher.update(password).finalize(salt);\n\t hasher.reset();\n\n\t // Iterations\n\t for (var i = 1; i < iterations; i++) {\n\t block = hasher.finalize(block);\n\t hasher.reset();\n\t }\n\n\t derivedKey.concat(block);\n\t }\n\t derivedKey.sigBytes = keySize * 4;\n\n\t return derivedKey;\n\t }\n\t });\n\n\t /**\n\t * Derives a key from a password.\n\t *\n\t * @param {WordArray|string} password The password.\n\t * @param {WordArray|string} salt A salt.\n\t * @param {Object} cfg (Optional) The configuration options to use for this computation.\n\t *\n\t * @return {WordArray} The derived key.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var key = CryptoJS.EvpKDF(password, salt);\n\t * var key = CryptoJS.EvpKDF(password, salt, { keySize: 8 });\n\t * var key = CryptoJS.EvpKDF(password, salt, { keySize: 8, iterations: 1000 });\n\t */\n\t C.EvpKDF = function (password, salt, cfg) {\n\t return EvpKDF.create(cfg).compute(password, salt);\n\t };\n\t}());\n\n\n\treturn CryptoJS.EvpKDF;\n\n}));","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var pt = moment.defineLocale('pt', {\n months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),\n monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),\n weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D [de] MMMM [de] YYYY',\n LLL : 'D [de] MMMM [de] YYYY HH:mm',\n LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'\n },\n calendar : {\n sameDay: '[Hoje às] LT',\n nextDay: '[Amanhã às] LT',\n nextWeek: 'dddd [às] LT',\n lastDay: '[Ontem às] LT',\n lastWeek: function () {\n return (this.day() === 0 || this.day() === 6) ?\n '[Último] dddd [às] LT' : // Saturday + Sunday\n '[Última] dddd [às] LT'; // Monday - Friday\n },\n sameElse: 'L'\n },\n relativeTime : {\n future : 'em %s',\n past : 'há %s',\n s : 'segundos',\n ss : '%d segundos',\n m : 'um minuto',\n mm : '%d minutos',\n h : 'uma hora',\n hh : '%d horas',\n d : 'um dia',\n dd : '%d dias',\n M : 'um mês',\n MM : '%d meses',\n y : 'um ano',\n yy : '%d anos'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal : '%dº',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return pt;\n\n})));\n","export class Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n this.SchedulerAction = SchedulerAction;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.SchedulerAction(this, work).schedule(state, delay);\n }\n}\nScheduler.now = () => Date.now();\n//# sourceMappingURL=Scheduler.js.map","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, () => {\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n return AsyncScheduler.delegate.now();\n }\n else {\n return now();\n }\n });\n this.actions = [];\n this.active = false;\n this.scheduled = undefined;\n }\n schedule(work, delay = 0, state) {\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n return AsyncScheduler.delegate.schedule(work, delay, state);\n }\n else {\n return super.schedule(work, delay, state);\n }\n }\n flush(action) {\n const { actions } = this;\n if (this.active) {\n actions.push(action);\n return;\n }\n let error;\n this.active = true;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (action = actions.shift());\n this.active = false;\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n//# sourceMappingURL=AsyncScheduler.js.map","import { Injectable } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { catchError, map, switchMap, take, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class AppSettingsEffects {\r\n @Effect() public requestApiSettings$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.AppSettingsRequest\r\n ),\r\n switchMap(action => {\r\n return this._loyaltyAppService.apiGetLoyaltyAppInfo()\r\n .pipe(\r\n map(payload => actions.AppSettingsSuccessRequest({ payload })),\r\n catchError(ex => {\r\n console.error('Loyalty app settings request error:', ex);\r\n return of(actions.AppSettingsErrorRequest({ ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, Action, select } from '@ngrx/store';\r\nimport { Actions, ofType, Effect } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, combineLatest, take, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class AvailablePickupsEffects {\r\n @Effect() public onLocationSuccessRequestDataCalculate$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.LocationsSuccessRequest),\r\n switchMap(({ payload }) => {\r\n return payload.map(obj => actions.AvailablePickupsCalculateRequest({ locationNo: obj.LocationNo }));\r\n })\r\n );\r\n\r\n /* This effect is triggered from orderingTimeInfo effects when data is downloaded after successful locations request */\r\n @Effect() public calculateAvailablePickupOptionsForLocation: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.AvailablePickupsCalculateRequest),\r\n switchMap(action =>\r\n of(action.locationNo)\r\n .pipe(\r\n combineLatest(\r\n this._store.pipe(\r\n select(selectors.getOrderingTimeInfoByLocationNo(action.locationNo)),\r\n filter(obj => obj !== undefined && obj !== null),\r\n take(1)\r\n ),\r\n this._store.pipe(\r\n select(\r\n selectors.getOrderInfoCompleteForLocationByDate(action.locationNo) /* FIX THIS any */\r\n ),\r\n filter(obj => obj !== undefined && obj.hasSucceeded === true),\r\n take(1)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(action.locationNo)),\r\n filter(location => location !== null && location !== undefined),\r\n take(1)\r\n )\r\n ),\r\n switchMap(([locationNo, openingHours, orderInfo, location]) => {\r\n return of(actions.AvailablePickupsCalculateSuccessRequest({\r\n locationNo,\r\n payload: Utils.Dates.generatePickupTimesList(\r\n {\r\n location,\r\n asapPickupMins: orderInfo.MinimumPickupTime,\r\n openingHours,\r\n orderTimeoutBufferMins: this._config.pickups.orderTimeoutBufferMins,\r\n startBufferMins: this._config.pickups.startBufferMins,\r\n nextTick: this._config.pickups.nextTick,\r\n schedule: this._config.pickups.futureOrders === true,\r\n }\r\n )\r\n }));\r\n }),\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\nimport { Action, Store, select } from '@ngrx/store';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never, timer, defer } from 'rxjs';\r\nimport { switchMap, auditTime, withLatestFrom, take, audit, map, tap, combineLatest } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class CartEffects {\r\n /*\r\n Set up basic props for cart\r\n - pickupTime\r\n - onlineMenu\r\n - locationNo\r\n\r\n Validate these comparing to current selection.\r\n Check if user has changed pickup time, locationNo, or there is different onlineMenu (overlaps with pickupTime).\r\n\r\n If anything has changed comparing to cart setup, clear cart and show info.\r\n */\r\n @Effect() public onTransferItemToCartValidateAndSetBasicCartProperties$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartSetup,\r\n actions.CartSetupWithMultipleItems,\r\n actions.CartPickupTimeUpdate,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationFriendlyName),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentPickupTime),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuData),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getMenuFlowDetailsByWizzard)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isCheckoutPage)\r\n )\r\n ),\r\n switchMap(([action, cart, cartLocationFriendlyName, currentLocationNo, currentPickupTime, onlineMenu, menuFlowDetails, wizzardMenuFlow, isCheckoutPage]) => {\r\n if (action.type === actions.CartPickupTimeUpdate.type) {\r\n currentPickupTime = action.pickupTime;\r\n }\r\n\r\n if (isCheckoutPage) {\r\n onlineMenu = cart.onlineMenu;\r\n }\r\n\r\n if (\r\n action.type === actions.CartSetup.type\r\n && action.item.MenuFlowId\r\n ) {\r\n /* Validate menuFlow wizzard errors first */\r\n const errors: State.IWizzardError[] = this._wizzardService.validateWizzardItems(menuFlowDetails, wizzardMenuFlow);\r\n if (errors.length > 0) {\r\n return of(actions.WizzardValidate({ errors }));\r\n }\r\n }\r\n\r\n const isEditing: boolean = action.type === actions.CartSetup.type && !!action.item['_Id'] === true;\r\n\r\n const summary = {\r\n cartIsEmpty: cart.itemsSimple.length === 0 && cart.itemsMenuFlow.length === 0,\r\n isCartLocationNoSet: !!cart.locationNo,\r\n isCartPickupTimeSet: !!cart.pickupTime,\r\n isOnlineMenuTimeSet: !!cart.onlineMenu && !!cart.onlineMenu.StartTime && !!cart.onlineMenu.EndTime,\r\n /* checks for warning */\r\n isAddingToCartFromDifferentLocation: isEditing ? false : cart.locationNo !== currentLocationNo,\r\n isCurrentPickupTimeDifferentThanCartPickupTime: isEditing ? false : currentPickupTime === null || cart.pickupTime === null || currentPickupTime.Id !== cart.pickupTime.Id, /* unsafe - show warning modal */\r\n isCartOnlineMenuTimeDifferentThanCurrent: isEditing ?\r\n false : cart.onlineMenu !== null ?\r\n cart.onlineMenu.StartTime !== onlineMenu.StartTime\r\n || cart.onlineMenu.EndTime !== onlineMenu.EndTime : true, /* unsafe - show warning modal - onlineMenu might be null if user is editing item without onlineMenu context */\r\n /* summary for 3 above */\r\n showEmptyWarningModal: false,\r\n forceCartReset: false,\r\n };\r\n\r\n /* Fix ordering when page reloads when in asap */\r\n const isOrderingInASAPMode: boolean = currentPickupTime !== null && currentPickupTime.IsAsap === true && (cart.pickupTime === null || cart.pickupTime !== null && cart.pickupTime.IsAsap === true);\r\n if (isOrderingInASAPMode) {\r\n /* Check if difference is less then pickupTimeOrderTimeout */\r\n summary.isCurrentPickupTimeDifferentThanCartPickupTime = false;\r\n }\r\n const dispatchActions = (...extraActions: Action[]) => {\r\n const arr: Action[] = [];\r\n /* #1 Cart locationNo */\r\n if (!summary.isCartLocationNoSet || summary.isAddingToCartFromDifferentLocation) {\r\n arr.push(actions.CartSetLocationNo(currentLocationNo));\r\n }\r\n /* #2 Cart PickupTime */\r\n if (!summary.isCartPickupTimeSet || summary.isCurrentPickupTimeDifferentThanCartPickupTime) {\r\n arr.push(actions.CartSetPickupTime({ ...currentPickupTime }));\r\n }\r\n /* #3 OnlineMenu time */\r\n if (!summary.isOnlineMenuTimeSet || summary.isCartOnlineMenuTimeDifferentThanCurrent) {\r\n arr.push(actions.CartSetOnlineMenu({ onlineMenu }));\r\n }\r\n\r\n if (action.type === actions.CartSetup.type) {\r\n arr.push(\r\n actions.CartTransferItemRequest({\r\n modalId: action.modalId,\r\n locationNo: currentLocationNo,\r\n item: action.item,\r\n }),\r\n\r\n );\r\n }\r\n\r\n if (action.type === actions.CartSetupWithMultipleItems.type) {\r\n const menuFlows: State.ICartMenuFlow[] = action.menuFlows;\r\n const simpleItems: State.ICartSimpleItem[] = action.simpleItems;\r\n\r\n if (menuFlows && menuFlows.length) {\r\n menuFlows.forEach(menuFlow => {\r\n arr.push(\r\n actions.CartMenuFlowAddWithMerge({\r\n locationNo: currentLocationNo,\r\n item: {\r\n ...Utils.Items.convertToSanitizedMenuFlowItem(menuFlow)\r\n },\r\n }\r\n )\r\n );\r\n });\r\n }\r\n\r\n if (simpleItems && simpleItems.length) {\r\n simpleItems.forEach(simpleItem => {\r\n arr.push(\r\n actions.CartSimpleItemAdd({\r\n locationNo: currentLocationNo,\r\n item: {\r\n ...Utils.Items.convertToSanitizedSimpleItem(simpleItem)\r\n }\r\n }\r\n )\r\n );\r\n });\r\n }\r\n }\r\n\r\n if (summary.forceCartReset) {\r\n arr.unshift(actions.CartRemoveAllItems());\r\n }\r\n return extraActions ? arr.concat(extraActions) : arr;\r\n };\r\n if (!summary.cartIsEmpty) {\r\n summary.forceCartReset = summary.isAddingToCartFromDifferentLocation || summary.isCurrentPickupTimeDifferentThanCartPickupTime || summary.isCartOnlineMenuTimeDifferentThanCurrent;\r\n }\r\n\r\n summary.showEmptyWarningModal = summary.forceCartReset === true && summary.cartIsEmpty === false;\r\n\r\n if (!summary.showEmptyWarningModal) {\r\n\r\n if (action.type === actions.CartSetupWithMultipleItems.type) {\r\n this._modalsService.close(action.modalId);\r\n }\r\n return dispatchActions();\r\n\r\n } else {\r\n /* Handle modal */\r\n const modalParams: State.IModal = {\r\n type: 'active-order-prompt',\r\n animate: null,\r\n };\r\n if (action.modalId) {\r\n this._modalsService.swap(action.modalId, modalParams);\r\n } else {\r\n this._modalsService.show(modalParams);\r\n }\r\n\r\n return this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartActiveOrderContinue,\r\n actions.CartActiveOrderStartNew,\r\n ),\r\n take(1),\r\n switchMap(activeOrderDecision => {\r\n const closeModal = () => this._modalsService.close(action.modalId);\r\n closeModal();\r\n if (activeOrderDecision.type === actions.CartActiveOrderContinue.type) {\r\n // closeModal();\r\n\r\n // /* Give some time to close modal before navigating to avoid modal's 'injury'. This is pure precautious */\r\n // setTimeout(() => this._routeService.navigateToCartsLocation(), 501);\r\n\r\n return [\r\n actions.CurrentLocationPickupTimeSet({ ...cart.pickupTime })\r\n ];\r\n }\r\n\r\n if (activeOrderDecision.type === actions.CartActiveOrderStartNew.type) {\r\n return dispatchActions(\r\n actions.CartSetPickupTime({ ...currentPickupTime }) /* AOLO-384 - fix */\r\n );\r\n }\r\n })\r\n );\r\n }\r\n\r\n }),\r\n );\r\n\r\n @Effect() public addItemToCartAndCheckForAnyUpsells$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartTransferItemRequest,\r\n ),\r\n switchMap(action => {\r\n return this._store.pipe(\r\n select(selectors.getModalById(action.modalId)),\r\n take(1),\r\n withLatestFrom(\r\n this._store.select(selectors.getMenuFlowDetailsByWizzard),\r\n this._store.select(selectors.getWizzardMenuFlow),\r\n ),\r\n switchMap(([modal, menuFlow, fromWizzardMenuFlow]) => {\r\n\r\n const isMenuFlow: boolean = !!action.item.MenuFlowId;\r\n if (!isMenuFlow) {\r\n /* for SIMPLE ITEM */\r\n const isEditing: boolean = Number.isInteger(action.item._Id);\r\n\r\n this._modalsService.close(action.modalId);\r\n\r\n if (!isEditing) {\r\n const productWithId = {\r\n ...action.item\r\n } as State.ICartSimpleItem;\r\n productWithId._Id = new Date().getTime();\r\n return [\r\n actions.CartSimpleItemAdd({ locationNo: action.locationNo, item: Utils.Items.convertToSanitizedSimpleItem(productWithId) }),\r\n actions.WizzardUnmountAll(),\r\n ];\r\n }\r\n return [\r\n actions.CartSimpleItemUpdate({ item: Utils.Items.convertToSanitizedSimpleItem(action.item as State.ICartSimpleItem) }),\r\n actions.WizzardUnmountAll(),\r\n ];\r\n }\r\n\r\n /* for MENU FLOW */\r\n /* If any errors, just show errors */\r\n const bundleActions: Action[] = [];\r\n const wizzardMenuFlow: State.IWizzardMenuFlow = fromWizzardMenuFlow as State.IWizzardMenuFlow;\r\n const menuFlowDetails: APIv1.MenuFlowDetailsModel = menuFlow as APIv1.MenuFlowDetailsModel;\r\n const isNew: boolean = wizzardMenuFlow._Id === null;\r\n\r\n const errors: State.IWizzardError[] = this._wizzardService.validateWizzardItems(menuFlow, wizzardMenuFlow);\r\n if (errors.length > 0) {\r\n return of(actions.WizzardValidate({ errors }));\r\n }\r\n\r\n if (isNew) {\r\n /* Add to cart */\r\n wizzardMenuFlow._Id = new Date().getTime();\r\n\r\n bundleActions.push(\r\n actions.CartMenuFlowAddWithMerge({\r\n locationNo: wizzardMenuFlow.LocationNo, item: { /* AOLO-282 */\r\n _Id: new Date().getTime(),\r\n ...wizzardMenuFlow\r\n }\r\n })\r\n );\r\n\r\n } else {\r\n /* Update in cart */\r\n bundleActions.push(\r\n actions.CartMenuFlowUpdate({ item: wizzardMenuFlow })\r\n );\r\n }\r\n\r\n bundleActions.push(\r\n actions.WizzardUnmountAll(),\r\n );\r\n\r\n /* Show Upsell */\r\n const showUpsellModal: boolean = isNew && Number.isInteger((menuFlowDetails as APIv1.MenuFlowDetailsModel).UpsellMenuFlowId);\r\n if (showUpsellModal) {\r\n bundleActions.push(\r\n actions.WizzardMenuFlowUpsellSetupRequest((menuFlowDetails as APIv1.MenuFlowDetailsModel).UpsellMenuFlowId, wizzardMenuFlow.LocationNo, action.modalId)\r\n );\r\n }\r\n\r\n /* And hide modal if there is no upsell to show */\r\n if (action.modalId && !showUpsellModal) {\r\n this._modalsService.close(action.modalId);\r\n }\r\n return bundleActions;\r\n })\r\n );\r\n }),\r\n\r\n );\r\n\r\n @Effect() public findDuplicatedMenuFlowAndMerge$: Observable = this._actions$ /* AOLO-282 */\r\n .pipe(\r\n ofType(\r\n actions.CartMenuFlowAddWithMerge\r\n ),\r\n withLatestFrom(\r\n this._store.select(selectors.getCartMenuFlows),\r\n ),\r\n switchMap(([action, cartMenuFlows]) => {\r\n\r\n const newItem: State.ICartMenuFlowExtended = action.item;\r\n const foundSimilarInCart: State.ICartMenuFlow = cartMenuFlows.find(obj => obj.MenuFlowId === newItem.MenuFlowId\r\n && obj.PosDescription === newItem.PosDescription\r\n && obj.PosDisplay === newItem.PosDisplay\r\n && obj.SpecialInstructions === newItem.SpecialInstructions\r\n && obj.UnitPrice === newItem.UnitPrice);\r\n return of(foundSimilarInCart)\r\n .pipe(\r\n take(1),\r\n switchMap(() => {\r\n if (!foundSimilarInCart) return of(false);\r\n let isSimilar: boolean = true;\r\n\r\n if (foundSimilarInCart.Pages.length !== newItem.Pages.length) { return of(isSimilar = false); }\r\n foundSimilarInCart.Pages.forEach(Page => {\r\n /* Check if all pages have same PageIdentifier and products QTY prop */\r\n const foundPage = newItem.Pages.find(obj => obj.PageIdentifier === Page.PageIdentifier);\r\n if (!foundPage || foundPage.Products.length !== Page.Products.length) {\r\n return isSimilar = false;\r\n }\r\n\r\n /* Check products */\r\n Page.Products.forEach(Product => {\r\n const foundProduct = foundPage.Products.find(obj => obj.ProductId === Product.ProductId\r\n && obj.Quantity === Product.Quantity\r\n && obj.OriginalPrice === Product.OriginalPrice\r\n && obj.OverridedPrice === Product.OverridedPrice\r\n && obj.PageProductIdentifier === Product.PageProductIdentifier\r\n && obj.Plu === Product.Plu\r\n && obj.ProductName === Product.ProductName\r\n && obj.ProductDescription === Product.ProductDescription);\r\n\r\n if (!foundProduct) { return isSimilar = false; }\r\n\r\n /* Check IngredientsAdded */\r\n const foundIngredients = foundProduct.IngredientsChanges ? foundProduct.IngredientsChanges : null;\r\n const productIngredients = Product.IngredientsChanges ? Product.IngredientsChanges : null;\r\n if (foundIngredients === null && productIngredients === null) {\r\n return;\r\n }\r\n if (typeof foundIngredients !== typeof productIngredients) {\r\n return isSimilar = false;\r\n }\r\n\r\n if (foundProduct.IngredientsChanges.IngredientsAdded.length !== Product.IngredientsChanges.IngredientsAdded.length) {\r\n return isSimilar = false;\r\n }\r\n Product.IngredientsChanges.IngredientsAdded.forEach(ingredient => {\r\n const foundIngredient = foundProduct.IngredientsChanges.IngredientsAdded.find(obj => obj.ExtraPrice === ingredient.ExtraPrice\r\n && obj.IngredientPLU === ingredient.IngredientPLU\r\n && obj.ModifierID === ingredient.ModifierID\r\n && obj.IngredientPLU === ingredient.IngredientPLU);\r\n if (!foundIngredient) { return isSimilar = false; }\r\n });\r\n\r\n /* Check IngredientsModified */\r\n if (foundProduct.IngredientsChanges.IngredientsModified.length !== Product.IngredientsChanges.IngredientsModified.length) {\r\n return isSimilar = false;\r\n }\r\n Product.IngredientsChanges.IngredientsModified.forEach(ingredient => {\r\n const foundIngredient = foundProduct.IngredientsChanges.IngredientsModified.find(obj => obj.ExtraPrice === ingredient.ExtraPrice\r\n && obj.IngredientPLU === ingredient.IngredientPLU\r\n && obj.ModifierID === ingredient.ModifierID\r\n && obj.IngredientPLU === ingredient.IngredientPLU);\r\n if (!foundIngredient) { return isSimilar = false; }\r\n });\r\n\r\n /* Check IngredientsRemoved */\r\n if (foundProduct.IngredientsChanges.IngredientsRemoved.length !== Product.IngredientsChanges.IngredientsRemoved.length) {\r\n return isSimilar = false;\r\n }\r\n Product.IngredientsChanges.IngredientsRemoved.forEach(ingredient => {\r\n const foundIngredient = foundProduct.IngredientsChanges.IngredientsRemoved.find(obj =>\r\n obj.IngredientPLU === ingredient.IngredientPLU\r\n && obj.ID === ingredient.ID\r\n && obj.IngredientPLU === ingredient.IngredientPLU);\r\n if (!foundIngredient) { return isSimilar = false; }\r\n });\r\n\r\n /* Check IngredientsRemoved */\r\n if (foundProduct.IngredientsChanges.IngredientsSwapped.length !== Product.IngredientsChanges.IngredientsSwapped.length) {\r\n return isSimilar = false;\r\n }\r\n Product.IngredientsChanges.IngredientsSwapped.forEach(ingredient => {\r\n const foundIngredient = foundProduct.IngredientsChanges.IngredientsSwapped.find(obj =>\r\n obj.ExtraPrice === ingredient.ExtraPrice\r\n && obj.ID === ingredient.ID\r\n && obj.ModifierID === ingredient.ModifierID\r\n && obj.ModifierName === ingredient.ModifierName\r\n && obj.NewIngredientPLU === ingredient.NewIngredientPLU\r\n && obj.OldIngredientPLU === ingredient.OldIngredientPLU\r\n && obj.OrderItemId === obj.OrderItemId);\r\n if (!foundIngredient) { return isSimilar = false; }\r\n });\r\n });\r\n\r\n });\r\n return of(isSimilar);\r\n\r\n\r\n\r\n }),\r\n // withLatestFrom(\r\n // this._store.pipe(\r\n // select(selectors.getAllModals)\r\n // )\r\n // ),\r\n switchMap(isSimilar => { /* */\r\n /* Handle result here / dispatch proper action */\r\n if (!isSimilar) {\r\n /* AOLO-517 */\r\n const markedHidden = {\r\n ...newItem,\r\n Pages: newItem.Pages.map(page => {\r\n if (page.HideFromKiosk === true) {\r\n return {\r\n ...page,\r\n Products: page.Products.map(product => {\r\n return {\r\n ...product,\r\n _HideFromKiosk: true,\r\n };\r\n })\r\n };\r\n }\r\n return page;\r\n })\r\n };\r\n\r\n return of(actions.CartMenuFlowAdd({ locationNo: action.locationNo, item: markedHidden }));\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.isDeviceMobile),\r\n take(1),\r\n switchMap(isMobile => {\r\n if (!isMobile) {\r\n setTimeout(() => {\r\n this._cartService.showPopup();\r\n }, 100);\r\n }\r\n return of(actions.CartMenuFlowIncrement(foundSimilarInCart._Id, newItem.Quantity));\r\n })\r\n );\r\n\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public closeActiveOrderPromptWhenUsingReorder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartSimpleItemAdd,\r\n actions.CartMenuFlowAdd,\r\n ),\r\n audit(() => timer(100)),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.getAllModals)\r\n ),\r\n this._store.pipe(\r\n select(selectors.isDeviceMobile)\r\n ),\r\n (action, modals, isMobile) => {\r\n /*\r\n Reorder case with Active order prompt\r\n Reordering items ommit upsell checks, where modals are controlled, so they won't get closed.\r\n I know this is a bit robust, but when doing things other way around - starting project from the middle, this is\r\n easier than refactoring complicated flow.\r\n This should be handled better, but for now, let's just pretend it works\r\n */\r\n let modal: State.IModal;\r\n if (action.item._IsReorder) {\r\n /* We've got item from reorder here - should close modal now */\r\n modal = modals.find(obj => obj.type === 'active-order-prompt');\r\n }\r\n\r\n return [action, modal, isMobile];\r\n }\r\n ),\r\n switchMap(([action, modal, isMobile]) => {\r\n if (modal) {\r\n this._modalsService.close((modal as State.IModal).id);\r\n }\r\n\r\n /* TOLO-106 */\r\n if (!isMobile) {\r\n this._cartService.showPopup();\r\n }\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public setupWizzardOnCartItemEdit$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CartEditItem),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart)\r\n ),\r\n (action, cart: State.ICart) => [action.item, cart.locationNo],\r\n ),\r\n switchMap(([item, locationNo]) => of(actions.WizzardSetupItem(locationNo as number, (item as State.ICartMenuFlow | State.ICartSimpleItem)))),\r\n );\r\n\r\n /* https://media2.giphy.com/media/ErdfMetILIMko/giphy.gif?cid=3640f6095c111836466d35436759d9a8 */\r\n @Effect({ dispatch: false }) saveCartContentsInStorage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartReset,\r\n actions.CartRemoveAllItems,\r\n actions.CartMenuFlowAdd,\r\n actions.CartMenuFlowDecrement,\r\n actions.CartMenuFlowIncrement,\r\n actions.CartMenuFlowRemove,\r\n actions.CartMenuFlowUpdate,\r\n actions.CartSimpleItemAdd,\r\n actions.CartSimpleItemDecrement,\r\n actions.CartSimpleItemIncrement,\r\n actions.CartSimpleItemRemove,\r\n actions.CartSimpleItemUpdate,\r\n // actions.CartSetPendingClear\r\n ),\r\n auditTime(500),\r\n withLatestFrom(\r\n this._store.select(selectors.getCart),\r\n ),\r\n switchMap(([action, cart]) => {\r\n if (action.type === actions.CartReset.type) {\r\n Utils.Storage.remove(OLO.Enums.CART_STORAGE.DATA);\r\n } else {\r\n Utils.Storage.set(OLO.Enums.CART_STORAGE.DATA, this._cryptoService.encrypt(JSON.stringify(cart)));\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n /* Remove cart data from storage */\r\n @Effect({ dispatch: false }) removeCartDataFromStorage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartReset,\r\n ),\r\n switchMap(() => {\r\n Utils.Storage.remove(OLO.Enums.CART_STORAGE.DATA as unknown as string);\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public recalculateCartContents$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n // actions.CART_RESET,\r\n actions.CartRemoveAllItems,\r\n actions.CartMenuFlowAdd,\r\n actions.CartMenuFlowDecrement,\r\n actions.CartMenuFlowIncrement,\r\n actions.CartMenuFlowRemove,\r\n actions.CartMenuFlowUpdate,\r\n actions.CartSimpleItemAdd,\r\n actions.CartSimpleItemDecrement,\r\n actions.CartSimpleItemIncrement,\r\n actions.CartSimpleItemRemove,\r\n actions.CartSimpleItemUpdate\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.isCheckoutPage)\r\n )\r\n ),\r\n switchMap(([data, isCheckout]) => {\r\n // if (currentRoute && currentRoute.urlAfterRedirects !== undefined && currentRoute.urlAfterRedirects.includes('/checkout/summary')) {\r\n // return of(actions.OnlineOrderRecalculateRequest());\r\n // }\r\n\r\n if (isCheckout) return of(actions.OnlineOrderRecalculateRequest());\r\n\r\n return never();\r\n\r\n }),\r\n );\r\n\r\n @Effect() public resetCartOnLastItemRemoved$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartMenuFlowRemove,\r\n actions.CartSimpleItemRemove,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart)\r\n )\r\n ),\r\n switchMap(([action, cart]) => {\r\n const productsTotal: number = cart.itemsSimple ? cart.itemsSimple.length : 0;\r\n const menuFlowsTotal: number = cart.itemsMenuFlow ? cart.itemsMenuFlow.length : 0;\r\n\r\n if (productsTotal || menuFlowsTotal) return never();\r\n return of(actions.CartReset());\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _cryptoService: Services.CryptoService,\r\n private _modalsService: Services.ModalsService,\r\n private _wizzardService: Services.WizzardService,\r\n private _cartService: Services.CartService,\r\n private _routeService: Services.RouteService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, throwError, never } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, delay, take, tap, filter, combineLatest, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class CreditCardEffects {\r\n @Effect() public requestCardToken$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.GetCreditCardToken,\r\n actions.GetCreditCardTokenWithRedirect\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo)\r\n )\r\n ),\r\n switchMap(([action, locationNo]) => {\r\n const cardType = Utils.CreditCards.detectCardType(action.cardNumber);\r\n const expiryDate: string = Utils.CreditCards.dateToApiFormat(action.expiryDate);\r\n // console.warn('DEMO MODE IS TEMP DISABLED HERE - REMEMBER TO UNCOMMENT BELOW LINE AFTER DEVELOPMENT FINISH!!!')\r\n if (this._config.demoMode === true) return of(actions.__DEMO__getCardToken(action));\r\n\r\n /*\r\n Create card, get token, allow redirect if needed.\r\n Redirects are controlled in specific form component on form submit. At least for payment express.\r\n */\r\n\r\n return this._creditCardsService.requestCardTokenForDefaultPaymentProvider({\r\n cardNumber: action.cardNumber,\r\n expiryDate\r\n }, locationNo)\r\n .pipe(\r\n switchMap(({ token, redirectUrl }) => {\r\n const isDefaultPaymentMethod = typeof action.isDefaultPaymentMethod !== 'boolean' ? true : action.isDefaultPaymentMethod;\r\n const saveCard = typeof action.saveCard === 'boolean' ? action.saveCard : false;\r\n\r\n const successData: State.ICreditCardTokenResponse = {\r\n token,\r\n cardNumber: action.cardNumber,\r\n expiryDate,\r\n cardType,\r\n saveCard: action.saveCard,\r\n isDefaultPaymentMethod,\r\n redirectUrl: redirectUrl || null,\r\n };\r\n if (action.type === actions.GetCreditCardTokenWithRedirect.type) {\r\n const model: OLO.Members.IMemberCreditCardDetails = {\r\n ...Utils.CreditCards.createCardModel(this._config.paymentProvider, action.cardNumber, cardType, action.expiryDate, null, isDefaultPaymentMethod, saveCard),\r\n _ValidationStatus: 'validating',\r\n };\r\n\r\n return [\r\n actions.AddCardToState({ card: model }),\r\n actions.CreditCardsSuccessRequestTokenWithRedirect(successData)\r\n ]; /* Handled in credit cards service and then passed to formPaymentMethodWithRedirect */\r\n }\r\n\r\n return of(actions.CreditCardsSuccessRequestToken(successData));\r\n }),\r\n catchError(ex => {\r\n console.warn('cc errror', ex);\r\n return of(actions.CreditCardsErrorRequestToken({ ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n /* After redirect validation */\r\n @Effect() public validateCardOnAfterRedirect$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsValidateRequest),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppSettings),\r\n filter(appSettings => appSettings.data !== null),\r\n take(1),\r\n switchMap(appSettings => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getSessionToken),\r\n take(1),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(\r\n selectors.getCartLocationNo\r\n )\r\n )\r\n ),\r\n switchMap(([sessionToken, cartLocationNo]) => {\r\n\r\n return this._paymentExpressPaymentProviderService.getCardDetails({ sessionToken, appId: appSettings.data.AppSettings.Id, locationNo: cartLocationNo })\r\n .pipe(\r\n map((response: APIv2.PaymentExpressCardIdResponse) => {\r\n return actions.CreditCardsValidateSuccessRequest({ card: response });\r\n }),\r\n catchError(ex => {\r\n console.error('Unable to get payment express card details', ex);\r\n return of(actions.CreditCardsValidateErrorRequest());\r\n })\r\n );\r\n\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n console.error('Unable to get payment express card details', ex);\r\n return of(actions.CreditCardsValidateErrorRequest());\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public checkCardsToSaveCardAfterSuccessfulRedirectReturn$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CreditCardsValidateSuccessRequest\r\n ),\r\n switchMap(action => {\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCards),\r\n take(1),\r\n switchMap(cards => {\r\n const payloadToken: string = action.card.CardId;\r\n const card: OLO.Members.IMemberCreditCardDetails = cards.find(obj => obj.Token === payloadToken && obj.hasOwnProperty('_SaveAwait') === true && obj._SaveAwait === true && obj.Id === null);\r\n\r\n if (!card) return never();\r\n\r\n return of(actions.CreditCardsAddAfterRedirectRequest({ card }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public saveCardAfterSuccessfulRedirectReturnCheck$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CreditCardsAddAfterRedirectRequest\r\n ),\r\n switchMap(action => {\r\n return this._creditCardsService.addMemberCard(\r\n Utils.CreditCards.createCardModel(\r\n this._config.paymentProvider,\r\n action.card.NiceName || action.card.DisplayName,\r\n action.card.CardType,\r\n action.card.ExpirationDate,\r\n action.card.Token,\r\n !!action.card.IsDefault,\r\n )\r\n )\r\n .pipe(\r\n switchMap(response => {\r\n return [\r\n actions.SelectActiveCreditCardId({ cardId: response.Id }),\r\n actions.CreditCardsAddAfterRedirectSuccessRequest({ card: action.card, newCard: response }),\r\n ];\r\n }),\r\n catchError(ex => {\r\n return of(actions.CreditCardsAddAfterRedirectErrorRequest({ card: action.card, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onGetTokenSuccessSaveOrSetupCardStateForPayment$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsSuccessRequestToken),\r\n switchMap(action => {\r\n const card: OLO.Members.IMemberCreditCardDetails = {\r\n ...Utils.CreditCards.createCardModel(this._config.paymentProvider, action.cardNumber, action.cardType, action.expiryDate, action.token, action.isDefaultPaymentMethod),\r\n _ValidationStatus: action.saveCard ? 'validating' : 'success',\r\n };\r\n\r\n if (action.saveCard) {\r\n return of(actions.CreditCardsAddRequest({ card }));\r\n } else {\r\n return [\r\n actions.AddCardToState({ card }),\r\n actions.SelectActiveCreditCardToken({ token: action.token })\r\n ];\r\n }\r\n\r\n })\r\n );\r\n\r\n @Effect() public onCreditCardAddRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsAddRequest),\r\n switchMap(action => {\r\n return this._creditCardsService.addMemberCard(action.card)\r\n .pipe(\r\n map(response =>\r\n response ?\r\n actions.CreditCardsAddSuccessRequest({ newCard: response }) :\r\n actions.CreditCardsAddErrorRequest({})),\r\n catchError(ex => {\r\n return of(actions.CreditCardsAddErrorRequest({ ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onCreditCardAddRequestSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsAddSuccessRequest),\r\n switchMap(action => {\r\n return [\r\n actions.CreditCardsRequest(),\r\n actions.SelectActiveCreditCardId({ cardId: action.newCard.Id }),\r\n actions.CreditCardShowForm({ isAdding: false }),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public onCreditCardsRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsRequest),\r\n switchMap(action => {\r\n return this._creditCardsService.getCardItems()\r\n .pipe(\r\n map((freshCardsList) =>\r\n freshCardsList ?\r\n actions.CreditCardsSuccessRequest({ payload: freshCardsList.Items }) :\r\n actions.CreditCardsErrorRequest({})),\r\n catchError(ex => {\r\n return of(actions.CreditCardsErrorRequest({ ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public selectDefaultPaymentMethod$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CreditCardsSuccessRequest,\r\n actions.MemberAccountBalanceSuccessRequest,\r\n ),\r\n switchMap(() => {\r\n return this._store\r\n .pipe(\r\n select(selectors.memberHasAvailableBalanceToPayForCartOrder),\r\n filter(hasAccountAvailable => this._config.accountCharge?.enabled && hasAccountAvailable !== null || this._config.accountCharge?.enabled !== true),\r\n take(1),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n take(1)\r\n )\r\n ),\r\n tap(([hasAccountAvailable, state]) => {\r\n if (!hasAccountAvailable && state.data?.length === 0) {\r\n this._store.dispatch(actions.CreditCardShowForm({ isAdding: true }));\r\n } else {\r\n this._store.dispatch(actions.CreditCardShowForm({ isAdding: false }));\r\n }\r\n }),\r\n switchMap(([hasAccountAvailable, state]) => {\r\n if (state.activeCardId || state.activeCardToken) return never();\r\n\r\n const hasUnsavedCreditCard = state.data.find(obj => obj.Id === null && obj.Token === null && (obj._SaveAwait === true || obj._ValidationStatus === 'validating' || obj._ValidationStatus === 'error'));\r\n if (hasUnsavedCreditCard) return never();\r\n\r\n if (hasAccountAvailable) {\r\n return of(actions.SelectActiveCreditCardId({ cardId: -1 }));\r\n }\r\n const defaultCard = state.data.find(obj => obj.IsDefault === true && obj.Id !== null);\r\n\r\n if (defaultCard) {\r\n return of(actions.SelectActiveCreditCardId({ cardId: defaultCard.Id }));\r\n } else if (state.data.length > 0) {\r\n const firstAvailableCard = state.data.find(obj => obj.Id !== null && obj.Id !== undefined);\r\n if (firstAvailableCard) {\r\n return of(actions.SelectActiveCreditCardId({ cardId: firstAvailableCard.Id }));\r\n }\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onCreditCardRemove$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsRemoveRequest),\r\n switchMap(({ cardId }) => {\r\n if (cardId !== 0) {\r\n return this._creditCardsService.removeMemberCardRequest(cardId)\r\n .pipe(\r\n map(response =>\r\n response ?\r\n actions.CreditCardsRemoveSuccessRequest({ cardId }) :\r\n actions.CreditCardsRemoveErrorRequest({})),\r\n catchError(ex => {\r\n return of(actions.CreditCardsRemoveErrorRequest({ ex }));\r\n })\r\n );\r\n } else {\r\n return [actions.CreditCardsRemoveSuccessRequest({ cardId })];\r\n }\r\n })\r\n );\r\n\r\n /* DEMO MODE */\r\n @Effect() public __DEMO__requestConvergeCardToken$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.__DEMO__getCardToken),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo)\r\n )\r\n ),\r\n delay(2000),\r\n switchMap(([action, locationNo]) => {\r\n const cardType = Utils.CreditCards.detectCardType(action.cardNumber);\r\n\r\n return of(actions.__DEMO__CreditCardsSuccessRequestToken({ token: `demo-mode-${new Date().getTime()}`, cardNumber: action.cardNumber, expiryDate: action.expiryDate, cardType, saveCard: action.saveCard }));\r\n })\r\n );\r\n\r\n @Effect() public __DEMO__onGetConvergeTokenSuccessSaveOrSetupCardStateForPayment$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.__DEMO__CreditCardsSuccessRequestToken),\r\n switchMap(action => {\r\n\r\n const model: OLO.Members.IMemberCreditCardDetails = {\r\n ExpirationDate: action.expiryDate,\r\n CardType: action.cardType,\r\n Token: action.token,\r\n DisplayName: action.cardNumber.substring(action.cardNumber.length - 4),\r\n Id: null,\r\n _ValidationStatus: 'success',\r\n };\r\n\r\n return [\r\n actions.AddCardToState({ card: model }),\r\n actions.SelectActiveCreditCardToken({ token: action.token })\r\n ];\r\n\r\n })\r\n );\r\n\r\n @Effect() public setErrorValidationFlagToCardsAwaitingValidationStatusSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CreditCardsAddAfterRedirectErrorRequest,\r\n actions.CreditCardsAddErrorRequest,\r\n actions.CreditCardsValidateErrorRequest\r\n ),\r\n switchMap(() => of(actions.CreditCardsSetErrorValidationStatusToValidatingCards()))\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _actions$: Actions,\r\n private _creditCardsService: Services.CreditCardsService,\r\n private _paymentExpressPaymentProviderService: Services.PaymentExpressPaymentProviderService\r\n ) { }\r\n\r\n}\r\n","import { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function distinct(keySelector, flushes) {\n return (source) => source.lift(new DistinctOperator(keySelector, flushes));\n}\nclass DistinctOperator {\n constructor(keySelector, flushes) {\n this.keySelector = keySelector;\n this.flushes = flushes;\n }\n call(subscriber, source) {\n return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes));\n }\n}\nexport class DistinctSubscriber extends OuterSubscriber {\n constructor(destination, keySelector, flushes) {\n super(destination);\n this.keySelector = keySelector;\n this.values = new Set();\n if (flushes) {\n this.add(subscribeToResult(this, flushes));\n }\n }\n notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.values.clear();\n }\n notifyError(error, innerSub) {\n this._error(error);\n }\n _next(value) {\n if (this.keySelector) {\n this._useKeySelector(value);\n }\n else {\n this._finalizeNext(value, value);\n }\n }\n _useKeySelector(value) {\n let key;\n const { destination } = this;\n try {\n key = this.keySelector(value);\n }\n catch (err) {\n destination.error(err);\n return;\n }\n this._finalizeNext(key, value);\n }\n _finalizeNext(key, value) {\n const { values } = this;\n if (!values.has(key)) {\n values.add(key);\n this.destination.next(value);\n }\n }\n}\n//# sourceMappingURL=distinct.js.map","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of, never, } from 'rxjs';\r\nimport { switchMap, tap, distinct, withLatestFrom, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class CurrentLocationEffects {\r\n @Effect() public onCartPickupTimeUpdateForceUpdateCurrentLocationPickupTime$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartPickupTimeUpdate\r\n ),\r\n switchMap(action => {\r\n return of(actions.CurrentLocationPickupTimeSet(action.pickupTime));\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public removeLocalStorageDataOnReset$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationReset\r\n ),\r\n switchMap(action => {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.CURRENT_PICKUP_TIME as unknown as string);\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.CURRENT_LOCATION as unknown as string);\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.CURRENT_LOCATION_UPDATE_DATA as unknown as string);\r\n return never();\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public savePickupTimeInLocalStorage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationPickupTimeSet,\r\n actions.CurrentLocationFiltersPickupTimeSync,\r\n ),\r\n switchMap(({ pickupTime }) => {\r\n if (!pickupTime) {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.CURRENT_PICKUP_TIME as unknown as string);\r\n return never();\r\n }\r\n\r\n const obj = {\r\n ...pickupTime,\r\n Date: pickupTime.Date.getTime(),\r\n PlaceOrderTimeout: pickupTime.Date.getTime(),\r\n };\r\n\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.CURRENT_PICKUP_TIME as unknown as string, obj);\r\n return never();\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public onLocationSetSaveItToLocalStorage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationSet\r\n ),\r\n distinct(action => {\r\n return action.locationNo;\r\n }),\r\n switchMap(action => {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.CURRENT_LOCATION as unknown as string, action.locationNo);\r\n return never();\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, withLatestFrom, first } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class DietaryTagsImagesEffects {\r\n @Effect() onOnlineMenuSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesSuccessRequest\r\n ),\r\n withLatestFrom(this._store.select('dietaryTagsImages')),\r\n switchMap(([action, images]) => {\r\n const dietaryTags: Set = new Set();\r\n\r\n action.payload.Pages.forEach(page => {\r\n page.Products.forEach(product => {\r\n if (product.DietaryTags) {\r\n product.DietaryTags.forEach(tag => dietaryTags.add(tag.Id));\r\n }\r\n });\r\n });\r\n\r\n /* Filter existing */\r\n images.forEach(image => dietaryTags.delete(image.Id));\r\n\r\n return of(actions.DietaryTagsImagesRequest({ params: { width: 150, height: 150, }, dietaryTagIds: Array.from(dietaryTags) }));\r\n })\r\n );\r\n\r\n @Effect() onRequestProductImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.DietaryTagsImagesRequest\r\n ),\r\n mergeMap(({ params, dietaryTagIds }) => {\r\n if (dietaryTagIds.length === 0) return [actions.DietaryTagsImagesSuccessRequest({ payload: [], dietaryTagIds: [] })];\r\n\r\n return this._imagesService.getDietaryTagsImages(params, ...dietaryTagIds)\r\n .pipe(\r\n map((images: APIv1.ImageUrlModel[]) => actions.DietaryTagsImagesSuccessRequest({ payload: images, dietaryTagIds })),\r\n catchError(ex => of(actions.DietaryTagsImagesErrorRequest({ ex, dietaryTagIds })))\r\n );\r\n\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, catchError, map, mergeMap } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class FreeProductsImagesEffects {\r\n @Effect() public onFreeProductsSuccessGetImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberFreeProductsSuccessRequest\r\n ),\r\n switchMap(({ payload }) => {\r\n return payload.map(product => {\r\n return actions.FreeProductImageRequest({ productId: product.ProductId });\r\n });\r\n })\r\n );\r\n\r\n @Effect() public requestFreeProductImage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.FreeProductImageRequest\r\n ),\r\n mergeMap(({ productId }) => {\r\n const params = {\r\n width: window.innerWidth,\r\n height: window.innerHeight,\r\n };\r\n\r\n if (window.innerWidth > 768) {\r\n params.width = Math.floor(window.innerWidth / 3),\r\n params.height = Math.floor(window.innerHeight / 3);\r\n }\r\n return this._imagesService.getImageForMemberFreeProduct(productId, params)\r\n .pipe(\r\n map(payload => actions.FreeProductImageSuccessRequest({ productId, payload })),\r\n catchError(ex => {\r\n console.error(ex);\r\n return of(actions.FreeProductImageErrorRequest({ productId, ex }));\r\n }),\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, from, never } from 'rxjs';\r\nimport { map, catchError, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class GeolocationEffects {\r\n @Effect() public requestGeolocationCoordsBasedOnLocationMode$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.SetApplicationMode\r\n ),\r\n switchMap(action => {\r\n const canRequestCoords: boolean = this._config.geolocation === true && action.mode === OLO.Enums.APP_MODE.LOCATION;\r\n if (!canRequestCoords) return never();\r\n\r\n return of(actions.geolocationPositionRequest());\r\n })\r\n );\r\n\r\n @Effect() public getUserGeolocation$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.geolocationPositionRequest\r\n ),\r\n switchMap(action =>\r\n from(this._geolocationService.getUserCoords())\r\n .pipe(\r\n map(payload => actions.geolocationPositionSuccessRequest({ payload })),\r\n catchError(ex => {\r\n console.error('Geolocation - not permitted', ex);\r\n return of(actions.geolocationPositionErrorRequest({ ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _geolocationService: Services.GeolocationService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { catchError, map, switchMap, take, filter } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class HistoryOrdersEffects {\r\n @Effect() public requestSingleHistoryOrder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.HistoryOrderRequest,\r\n ),\r\n switchMap(action => {\r\n return this._onlineOrdersService.getOnlineOrder(action.orderId)\r\n .pipe(\r\n map(payload => actions.HistoryOrderSuccessRequest({ orderId: action.orderId, payload })),\r\n catchError(ex => of(actions.HistoryOrderErrorRequest({ orderId: action.orderId, ex }))),\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onRequestHistoryOrders$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.HistoryOrdersRequest\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentMember),\r\n filter(member => member !== null),\r\n take(1),\r\n switchMap(member => this._onlineOrdersService.getOnlineOrders({\r\n ...action.params,\r\n memberIds: member.MemberId,\r\n }).pipe(\r\n map(response => actions.HistoryOrdersSuccessRequest({ params: action.params, payload: response.Items })),\r\n catchError(ex => of(actions.HistoryOrdersErrorRequest({ params: action.params, ex }))),\r\n ))\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _onlineOrdersService: Services.OnlineOrdersService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","/* https://github.com/pmiatkowski/angularNgrx/blob/master/src/app/state/effects/currency.effects.ts */\r\nimport { Injectable } from '@angular/core';\r\nimport { Action, Store } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { catchError, mergeMap, map, switchMap, withLatestFrom } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class IngredientsEffects {\r\n @Effect() public onMenuFlowSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MenuFlowsDetailsSuccessRequest\r\n ),\r\n withLatestFrom(\r\n this._store.select('ingredients')\r\n ),\r\n switchMap(([action, ingredients]) => {\r\n /* Get regular images after menu flow downloads */\r\n const Pages: APIv1.MenuFlowPage[] = action.payload.Pages;\r\n const productIds: number[] = Pages.reduce((acc, page) => acc.concat(page.Products.map(p => p.ProductId)), []);\r\n const filtered: number[] = productIds.filter(productId => !ingredients.find(ingredient => ingredient.ProductId === productId && (ingredient.isDownloading || ingredient.hasSucceeded)));\r\n\r\n return of(actions.IngredientsRequest({ locationNo: action.locationNo, productIds: filtered }));\r\n })\r\n );\r\n\r\n @Effect() public onRequestIngredient$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.IngredientsRequest\r\n ),\r\n mergeMap(({ locationNo, productIds }) => {\r\n if (productIds.length === 0) return [actions.IngredientsSuccessRequest({ payload: [], locationNo, productIds: [] })];\r\n\r\n return this._productsService.getIngredientsForLocationExtended(locationNo, ...productIds)\r\n .pipe(\r\n map(payload => actions.IngredientsSuccessRequest({ payload, locationNo, productIds })),\r\n catchError(ex => {\r\n return of(actions.IngredientsErrorRequest({ locationNo, productIds, ex }));\r\n })\r\n );\r\n\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _productsService: Services.ProductsService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin, never } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LatestTransactionsEffects {\r\n @Effect() public resetLoyaltyProgramOnSignOut$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSignOut,\r\n ),\r\n switchMap(() => {\r\n return of(actions.LatestTransactionsReset());\r\n })\r\n );\r\n\r\n @Effect() public requestLatestTransactions$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LatestTransactionsRequest\r\n ),\r\n mergeMap(({ memberId }) => {\r\n return this._transactionsService.getLatestTransactionsForMember(memberId, 10)\r\n .pipe(\r\n map(payload => actions.LatestTransactionsSuccessRequest({ memberId, payload })),\r\n catchError(ex => {\r\n console.error('getLatestTransactionsForMember', ex);\r\n return of(actions.LatestTransactionsErrorRequest({ memberId, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _transactionsService: Services.TransactionsService,\r\n ) { }\r\n}\r\n","/* https://github.com/pmiatkowski/angularNgrx/blob/master/src/app/state/effects/currency.effects.ts */\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class LoaderEffects {\r\n constructor() { }\r\n}\r\n","/* https://github.com/pmiatkowski/angularNgrx/blob/master/src/app/state/effects/currency.effects.ts */\r\nimport { Injectable } from '@angular/core';\r\nimport { Action } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from './locations.actions';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap, catchError, map } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class LocationsEffects {\r\n\r\n // @Effect() requestLocations$: Observable = this._actions$\r\n // .pipe(\r\n // ofType(actions.LocationsRequest),\r\n // mergeMap(action => {\r\n // return this._locationsService.getLocations(action.params)\r\n // .pipe(\r\n // map(response => actions.LocationsSuccessRequest({ params: action.params, payload: response.Items })),\r\n // catchError(ex => {\r\n // return of(actions.LocationsErrorRequest(action.params, ex));\r\n // })\r\n // );\r\n // }),\r\n // );\r\n\r\n @Effect() requestLocations$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.LocationsRequest),\r\n mergeMap(action => {\r\n return this._locationsService.getLocationsWithOnlineOrdering(action.params)\r\n .pipe(\r\n map(payload => actions.LocationsSuccessRequest({ params: action.params, payload })),\r\n catchError(ex => {\r\n return of(actions.LocationsErrorRequest(action.params, ex));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _locationsService: Services.LocationsService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as StateModels from '../interface';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { switchMap, take, map, mergeMap, combineLatest, auditTime, withLatestFrom } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LocationFiltersEffects {\r\n @Effect() public onRestoreCurrentLocationDetailsRestoreFilters$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationPickupTimeRestore\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getAppLocationMode)\r\n )\r\n ),\r\n switchMap(([action, locationMode]) => {\r\n const arr: Array = [\r\n\r\n ];\r\n\r\n if (locationMode === OLO.Enums.APP_MODE.VENUE) {\r\n arr.push(actions.LocationsFiltersSetPickupTime(action.pickupTime || null));\r\n }\r\n\r\n return arr.length ? arr : never();\r\n })\r\n );\r\n\r\n @Effect() public updateModeOnPickupTimeSet$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LocationsFiltersSetPickupTime,\r\n actions.LocationsFiltersSyncPickupTime,\r\n ),\r\n switchMap(({ pickupTime }) => {\r\n if (pickupTime) {\r\n return of(\r\n actions.LocationsFiltersSetPickupMode({ Id: 2, Name: this.config.pickups?.futureOrders === true ? 'Schedule' : 'Later today' })\r\n );\r\n } else {\r\n return of(\r\n actions.LocationsFiltersSetPickupMode({ Id: 1, Name: 'ASAP' })\r\n );\r\n }\r\n })\r\n );\r\n\r\n @Effect() public onCartSelectedNewActiveOrder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationPickupTimeSet,\r\n actions.CartSetPickupTime,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getAppLocationMode)\r\n )\r\n ),\r\n switchMap(([action, cart, locationMode]) => {\r\n if (locationMode === OLO.Enums.APP_MODE.LOCATION) return never();\r\n return [\r\n actions.LocationsFiltersSetPickupTime(action.pickupTime),\r\n actions.CurrentLocationFiltersPickupTimeSync(action.pickupTime),\r\n ];\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) public config: IConfig,\r\n private _store: Store,\r\n private _actions$: Actions,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LocationsImagesEffects {\r\n @Effect() public onSuccessLocationsRequestGetImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LocationsSuccessRequest\r\n ),\r\n switchMap(action => {\r\n const width = Math.floor(window.innerWidth + (window.innerWidth * 0.1));\r\n const height = Math.floor(window.innerHeight + (window.innerHeight * 0.1));\r\n const webWidth: number = window.innerWidth > window.innerHeight ? window.innerWidth : null;\r\n const webHeight: number = window.innerWidth > window.innerHeight ? null : window.innerHeight;\r\n\r\n let thumbSizeRation: number = 3.2;\r\n\r\n if (window.innerWidth > 2000) {\r\n thumbSizeRation = 4.2;\r\n }\r\n\r\n if (window.innerWidth < 1000) {\r\n thumbSizeRation = 2.2;\r\n }\r\n\r\n if (window.innerWidth < 610) {\r\n thumbSizeRation = 1.2;\r\n }\r\n\r\n return [\r\n actions.LocationImagesRequest(action.payload.map(location => location.LocationNo), OLO.Enums.IMAGE_TYPE.ForList, Math.floor(width / thumbSizeRation), Math.floor(height / thumbSizeRation)),\r\n actions.LocationImagesRequest(action.payload.map(location => location.LocationNo), OLO.Enums.IMAGE_TYPE.ForWeb, webWidth, webHeight)\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public requestImagesForLocations$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LocationImagesRequest\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(\r\n selectors.getAllLocationImages\r\n )\r\n )\r\n ),\r\n mergeMap(([action, images]) => {\r\n const { imageType, height, width, ids } = action;\r\n let targetImageType: string = Utils.Images.toImageTypeString(imageType);\r\n /*\r\n Prevent from redownloading same image\r\n */\r\n const imagesFiltered = {\r\n downloaded: [],\r\n required: [],\r\n };\r\n\r\n ids.forEach(id => {\r\n const img = images[targetImageType].find(obj => obj.Id === id);\r\n\r\n if (img.data) {\r\n imagesFiltered.downloaded.push(img);\r\n } else {\r\n imagesFiltered.required.push(img.Id);\r\n }\r\n });\r\n\r\n if (imagesFiltered.downloaded.length) {\r\n this._store.dispatch(actions.LocationImagesSuccessRequest({ imageType, ids: imagesFiltered.downloaded.map(img => img.Id), payload: imagesFiltered.downloaded }));\r\n }\r\n\r\n return this._imagesService.getImagesForLocationsByType({ imageType: imageType > 100 ? imageType / 100 : imageType, height, width }, ...imagesFiltered.required)\r\n .pipe(\r\n switchMap(payload => {\r\n if (this._config.predownloadImages && this._config.predownloadImages.forLocations) {\r\n // console.log('predownloading images for locations', this._config.predownloadImages);\r\n return forkJoin(\r\n ...payload.map(img => this._imagesService.preloadImageInMemory(img.ImageUrl))\r\n ).pipe(\r\n map(() => actions.LocationImagesSuccessRequest({ imageType, ids: imagesFiltered.required, payload })),\r\n );\r\n }\r\n\r\n return of(actions.LocationImagesSuccessRequest({ imageType, ids: imagesFiltered.required, payload }));\r\n }),\r\n catchError(ex => of(actions.LocationImagesErrorRequest({ imageType, ids: imagesFiltered.required, ex })))\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LoyaltyIntroductionPagesEffects {\r\n @Effect() public requestIntroductionPages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyIntroductionPagesRequest\r\n ),\r\n switchMap(() => this._loyaltyAppService.apiGetLoyaltyIntroductionPages()\r\n .pipe(\r\n map(response => actions.LoyaltyIntroductionPagesSuccessRequest({ payload: response.Items.sort((a, b) => a.DisplayIndex - b.DisplayIndex) })),\r\n catchError(ex => {\r\n console.error('LoyaltyPagesRequest error', ex);\r\n return of(actions.LoyaltyIntroductionPagesErrorRequest({ ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, catchError, map, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LoyaltyIntroductionPagesImagesEffects {\r\n @Effect() public onLoyaltyIntroductionPagesSuccessRequestGetImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyIntroductionPagesSuccessRequest\r\n ),\r\n switchMap(pages => {\r\n return pages.payload.map(page => {\r\n return actions.LoyaltyIntroductionPageImageRequest({ pageId: page.Id });\r\n });\r\n })\r\n );\r\n\r\n @Effect() public requestIntroductionPagesImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyIntroductionPageImageRequest\r\n ),\r\n mergeMap(({ pageId }) => {\r\n const params = {\r\n width: window.innerWidth,\r\n height: window.innerHeight,\r\n };\r\n\r\n if (window.innerWidth > 768) {\r\n params.width = Math.floor(window.innerWidth / 3),\r\n params.height = Math.floor(window.innerHeight / 3);\r\n }\r\n return this._imagesService.getImageForLoyaltyIntroductionPage(pageId, params)\r\n .pipe(\r\n map(payload => actions.LoyaltyIntroductionPageImageSuccessRequest({ pageId, payload })),\r\n catchError(ex => {\r\n console.error(ex);\r\n return of(actions.LoyaltyIntroductionPageImageErrorRequest({ pageId, ex }));\r\n }),\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LoyaltyMessagesEffects {\r\n @Effect() public requestMessagesOnSettingsDownloaded$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.AppSettingsSuccessRequest),\r\n switchMap(() => of(actions.LoyaltyMessagesRequest()))\r\n );\r\n\r\n @Effect() public requestMessages$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.LoyaltyMessagesRequest),\r\n switchMap(() => this._loyaltyAppService.apiGetMessages()\r\n .pipe(\r\n map(payload => actions.LoyaltyMessagesSuccessRequest({ payload })),\r\n catchError(ex => {\r\n console.error('Request Messages Error', ex);\r\n return of(actions.LoyaltyMessagesErrorRequest({ ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin, never } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LoyaltyProductProgramsEffects {\r\n @Effect() public resetLoyaltyProgramOnSignOut$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSignOut,\r\n ),\r\n switchMap(() => {\r\n return of(actions.LoyaltyProductProgramsReset());\r\n })\r\n );\r\n\r\n @Effect() public requestLoyaltyInfoForCurrentMemberOnAppInit$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.AppSettingsSuccessRequest,\r\n actions.MemberJwtDataResponseSuccess,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.hasRequestedLoyaltyProductPrograms)\r\n )\r\n ),\r\n switchMap(([action, isAuthorized, hasRequestedPrograms]) => {\r\n if (this._config.appMode !== IAppMode.ORDERING_ONLY && isAuthorized && !hasRequestedPrograms) {\r\n return [\r\n actions.LoyaltyProductProgramsRequest({ requestParams: { programName: 'hot' } }),\r\n actions.LoyaltyProductProgramsRequest({ requestParams: { programName: 'cold' } })\r\n ];\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public requestLoyaltyProductPrograms$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyProductProgramsRequest\r\n ),\r\n mergeMap(({ requestParams }) => {\r\n return this._loyaltyAppService.apiGetLoyaltyProductPrograms(requestParams.programName)\r\n .pipe(\r\n map(payload => actions.LoyaltyProductProgramsSuccessRequest({ requestParams, payload })),\r\n catchError(ex => {\r\n console.error('apiGetLoyaltyProductPrograms', ex);\r\n return of(actions.LoyaltyProductProgramsErrorRequest({ requestParams, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, catchError, map, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class MemberCardBarcodesImagesEffects {\r\n @Effect() public requestMemberBarcodeImage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberCardBarcodesImagesRequest,\r\n ),\r\n switchMap(({ memberId, barcodeType }) => {\r\n return this._imagesService.getMemberCardBarcode(memberId, { width: window.innerWidth, height: window.innerHeight }, barcodeType)\r\n .pipe(\r\n map(payload => actions.MemberCardBarcodesImagesSuccessRequest({ memberId, barcodeType, payload })),\r\n catchError(ex => {\r\n console.error('getMemberCardBarcode error', ex);\r\n return of(actions.MemberCardBarcodesImagesErrorRequest({ memberId, barcodeType, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { defer } from './defer';\nimport { EMPTY } from './empty';\nexport function iif(condition, trueResult = EMPTY, falseResult = EMPTY) {\n return defer(() => condition() ? trueResult : falseResult);\n}\n//# sourceMappingURL=iif.js.map","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, throwError, of, never, iif } from 'rxjs';\r\nimport { catchError, switchMap, map, tap, withLatestFrom, filter, take, delay, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class MembersEffects {\r\n @Effect() public verifyLinkRewardsAccount$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberLinkRewardsAccountVerifyRequest\r\n ),\r\n switchMap(({ params }) => {\r\n return this._membersService.getMembers(params)\r\n .pipe(\r\n map(({ Items }) => {\r\n if (!Items.length) throw new Error('Member not found by params: ' + params);\r\n return actions.MemberLinkRewardsAccountVerifySuccessRequest({ params, payload: Items[0] });\r\n }),\r\n catchError(ex => {\r\n return of(actions.MemberLinkRewardsAccountVerifyErrorRequest({ params }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onVerifyLinkRequestMemberDataToUpdateStep$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberLinkRewardsAccountVerifySuccessRequest),\r\n switchMap(({ payload }) => of(actions.MemberDataRequest({ memberId: payload.MemberId })))\r\n );\r\n\r\n @Effect() public requestUserDataSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberDataSuccessRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n )\r\n ),\r\n switchMap(([action, memberState, isAuthorized]) => {\r\n const member = action.payload;\r\n\r\n const isLinkingRewardsAccount = memberState.authorizationStep === OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_SIGN_UP &&\r\n memberState.verifyLinkRewardsAccount.data !== null;\r\n\r\n if (isLinkingRewardsAccount) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_PASSWORD })\r\n ];\r\n }\r\n\r\n\r\n const requireUpdate: boolean = member && member.IsOnlineRegistered === false;\r\n if (!isAuthorized && requireUpdate) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER })\r\n ];\r\n }\r\n\r\n const memberRequiresRevalidation: boolean = (member.IsEmailValidated === false || member.IsMobileValidated === false);\r\n const isVeryfiying: boolean = memberState.authorizationStep === OLO.Enums.AUTH_STEP.ON_LOGIN_DATA_VALIDATION;\r\n\r\n const shouldCheckValidation: boolean = isVeryfiying === true\r\n || ((memberState.authorizationStep === OLO.Enums.AUTH_STEP.VERIFY_EMAIL || memberState.authorizationStep === OLO.Enums.AUTH_STEP.VERIFY_PHONE)\r\n && memberRequiresRevalidation);\r\n\r\n if (shouldCheckValidation) {\r\n if (!member.IsMobileValidated) {\r\n return [\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: memberState.data.MobilePhone }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE })\r\n ];\r\n }\r\n\r\n if (!member.IsEmailValidated) {\r\n /* AOLO-465 */\r\n if (this._config.unverifiedEmailQuickLogin) {\r\n\r\n if (member.IsMobileValidated && memberState.authorizationStep === OLO.Enums.AUTH_STEP.VERIFY_EMAIL) {\r\n return of(\r\n actions.MemberQuickLoginRequest({\r\n login: member.MobilePhone,\r\n password: this._getPasswordForQuickLogin(),\r\n authorizationType: memberState.authorizationType,\r\n })\r\n );\r\n }\r\n\r\n }\r\n\r\n return [\r\n actions.MemberSendEmailVeryficationRequest({ email: member.EmailAddress }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_EMAIL }),\r\n ];\r\n }\r\n\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN_SUCCESS }),\r\n actions.MemberJwtDataRequest({ email: member.EmailAddress, password: memberState.accountPassword }),\r\n ];\r\n }\r\n\r\n /*\r\n This part is new - for TOLO - not tested in ARAMARK\r\n Finish registration or update process?\r\n */\r\n if (isAuthorized && memberState.update.updateHasSucceeded) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UPDATE_SUCCESS })\r\n ];\r\n }\r\n\r\n if (!isAuthorized && memberState.data && memberState.data.IsOnlineRegistered && memberState.data.IsEmailValidated && memberState.data.IsMobileValidated && memberState.authorizationStep > OLO.Enums.AUTH_STEP.REGISTER) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER_SUCCESS })\r\n ];\r\n }\r\n\r\n return never();\r\n\r\n }),\r\n );\r\n\r\n @Effect() public simulateEmailVerifyRequests$ = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberVerifyEmailRequest,\r\n ),\r\n switchMap(() => this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.isDownloading === false),\r\n take(1),\r\n switchMap(state => {\r\n /* This stupid action is required to control proper button behavior. We don't have valid endpoint that will check email validation flag */\r\n if (state.hasSucceeded && state.data && state.data.IsEmailValidated) {\r\n return of(actions.MemberVerifyEmailSuccessRequest());\r\n }\r\n\r\n return this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSendEmailVeryficationSuccessRequest,\r\n actions.MemberSendEmailVeryficationDataResponseError,\r\n ),\r\n take(1),\r\n switchMap(() => of(actions.MemberVerifyEmailErrorRequest()))\r\n );\r\n }),\r\n )\r\n ),\r\n );\r\n\r\n @Effect() public checkGuestMemberToCompleteAccountSetup$ = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberCompleteAccountSetupGuestCheck,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n )\r\n ),\r\n switchMap(([{ orderId }, isAuthorized]) => {\r\n if (isAuthorized) return never();\r\n\r\n return this._store\r\n .pipe(\r\n select(\r\n selectors.getHistoryOrder(orderId),\r\n ),\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n take(1),\r\n switchMap(order => {\r\n return of(actions.MemberDataRequest({ memberId: order.data.MemberId }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public revalidateAndSetGuestData$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberGuestDataRevalidateAndSet\r\n ),\r\n switchMap(action => {\r\n return [\r\n actions.MemberGuestDataReset(),\r\n actions.MemberGuestDataSet({ guestData: action.guestData as APICommon.IOnlineOrderPartialMember }),\r\n actions.MemberVerifyEmailRestoreFlags(),\r\n actions.MemberVerifyPhoneRestoreFlags(),\r\n actions.MemberValidateEmailDataRequest({ email: action.guestData.Email }),\r\n actions.MemberValidatePhoneRequest({ phone: action.guestData.MobileNumber }),\r\n ];\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public memberSignOut$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSignOut,\r\n ),\r\n switchMap(action => {\r\n this._authService.signOut(action.redirect, action.resetCart || false);\r\n\r\n return [\r\n actions.MemberAccountBalanceReset()\r\n ];\r\n }),\r\n );\r\n\r\n @Effect() public initUpdateMemberProfile$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberProfileUpdateInit\r\n ),\r\n switchMap(({ userModel, modalId }) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n switchMap(memberState => {\r\n if (!memberState.data) {\r\n console.error('Members data is not available', memberState.data);\r\n return never();\r\n }\r\n\r\n /* Update without verification */\r\n if (!userModel.hasOwnProperty('EmailAddress')\r\n && !userModel.hasOwnProperty('MobilePhone')\r\n && memberState.data.IsEmailValidated\r\n && memberState.data.IsMobileValidated\r\n ) {\r\n return [\r\n actions.MemberProfileUpdateRequest({\r\n ...memberState.data,\r\n ...userModel,\r\n }, modalId)\r\n ];\r\n }\r\n\r\n const IsEmailValidated: boolean = memberState.data.IsEmailValidated === true && memberState.data.EmailAddress === userModel.EmailAddress;\r\n\r\n if (memberState.data.MobilePhone === userModel.MobilePhone) {\r\n if (!IsEmailValidated && modalId) {\r\n this._modalsService.show({\r\n type: 'auth',\r\n id: modalId,\r\n });\r\n }\r\n\r\n return [\r\n actions.MemberProfileUpdateRequest({\r\n ...memberState.data,\r\n ...userModel,\r\n IsEmailValidated,\r\n }),\r\n ...(IsEmailValidated ? [] : [\r\n actions.MemberSendEmailVeryficationRequest({ email: userModel.EmailAddress }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_EMAIL }),\r\n ]),\r\n ];\r\n }\r\n\r\n if (modalId) {\r\n this._modalsService.show({\r\n type: 'auth',\r\n id: modalId,\r\n });\r\n }\r\n\r\n return [\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: userModel.MobilePhone }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.BEFORE_UPDATE_VERIFY_PHONE })\r\n ];\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public updateMemberProfileData$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberProfileUpdateRequest\r\n ),\r\n switchMap(({ userModel, modalId }) => {\r\n return this._membersService.validateUserNewProfileData(userModel)\r\n .pipe(\r\n switchMap(response => {\r\n if (!response) return of(actions.MemberProfileUpdateErrorRequest({ userModel, ex: new Error('User with provied details already exists') }));\r\n\r\n return this._membersService.updateUser(userModel)\r\n .pipe(\r\n map(() => actions.MemberProfileUpdateSuccessRequest({ userModel, payload: userModel, modalId })),\r\n catchError(ex => of(actions.MemberProfileUpdateErrorRequest({ userModel, ex })))\r\n );\r\n\r\n })\r\n );\r\n })\r\n\r\n );\r\n\r\n @Effect() public revalidateEmailAndCellAfterProfileUpdate$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberProfileUpdateSuccessRequest,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getAllModals)\r\n )\r\n ),\r\n switchMap(([{ userModel, payload, modalId }, modals]) => {\r\n if (!modalId) return never();\r\n\r\n const isCellValidated = payload.IsMobileValidated === true;\r\n const isEmailValidated = payload.IsEmailValidated === true;\r\n\r\n if (!modals.find(obj => obj.id === modalId)) {\r\n this._modalsService.show({\r\n type: 'auth',\r\n id: modalId,\r\n });\r\n }\r\n\r\n if (!isCellValidated) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE }),\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: payload.MobilePhone }),\r\n ];\r\n }\r\n\r\n if (!isEmailValidated) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_EMAIL }),\r\n actions.MemberSendEmailVeryficationRequest({ email: payload.EmailAddress }),\r\n ];\r\n }\r\n\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UPDATE_SUCCESS }),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public signOutIfUserWontValidateDataAfterUpdate$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalClose,\r\n actions.ModalCloseAll,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n switchMap(([action, memberState]) => {\r\n const member = memberState.data;\r\n if (!member) return never();\r\n\r\n const isValid: boolean = member.IsEmailValidated && member.IsMobileValidated;\r\n if (isValid) return never();\r\n\r\n\r\n if (action.type === actions.ModalClose.type && action.id === -100 || action.type === actions.ModalCloseAll.type) {\r\n return of(actions.MemberSignOut({ redirect: true }));\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public validateConfirmEmailToken$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberConfirmEmailTokenRequest\r\n ),\r\n switchMap(({ token }) =>\r\n this._membersService.validateMemberConfirmEmailToken(token)\r\n .pipe(\r\n map(payload => actions.MemberConfirmEmailTokenSuccessRequest({ token, payload })),\r\n catchError(ex => of(actions.MemberConfirmEmailTokenErrorRequest({ token, ex })))\r\n )\r\n )\r\n );\r\n\r\n @Effect() public confirmEmailAddress$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberConfirmEmailRequest\r\n ),\r\n switchMap(({ token }) =>\r\n this._membersService.confirmEmailAddress(token)\r\n .pipe(\r\n map(payload => actions.MemberConfirmEmailSuccessRequest({ token, payload })),\r\n catchError(ex => of(actions.MemberConfirmEmailErrorRequest({ token, ex }))),\r\n )\r\n )\r\n );\r\n\r\n @Effect() public validateResetPasswordToken$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberValidatePasswordResetTokenRequest\r\n ),\r\n switchMap(({ token }) =>\r\n this._membersService.validateMemberPasswordResetToken(token)\r\n .pipe(\r\n map(payload => actions.MemberValidatePasswordResetTokenSuccessRequest({ token, payload })),\r\n catchError(ex => of(actions.MemberValidatePasswordResetTokenErrorRequest({ token, ex }))),\r\n )\r\n ),\r\n );\r\n\r\n @Effect() public resetForgottenPassword$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberForgottenPasswordResetRequest\r\n ),\r\n switchMap(({ model }) =>\r\n this._membersService.resetForgottenPassword({ Token: model.Token, NewPassword: model.NewPassword })\r\n .pipe(\r\n map(payload => actions.MemberForgottenPasswordResetSuccessRequest({ model, payload })),\r\n catchError(ex => of(actions.MemberForgottenPasswordResetErrorRequest({ model, ex }))),\r\n )\r\n )\r\n );\r\n\r\n @Effect() public requestUserData$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberDataRequest),\r\n switchMap(action => {\r\n return this._membersService.getUserData(action.memberId)\r\n .pipe(\r\n map(response => actions.MemberDataSuccessRequest({ memberId: action.memberId, payload: response })),\r\n catchError((ex) => {\r\n return throwError(actions.MemberDataErrorRequest(ex));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public quickLoginRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberQuickLoginRequest),\r\n switchMap(action => {\r\n return this._authService.signIn({\r\n Login: action.login,\r\n Password: action.password,\r\n LoginType: action.authorizationType\r\n })\r\n .pipe(\r\n withLatestFrom(this._store.select(selectors.getMemberState)),\r\n switchMap(([sessionKey, memberState]) => {\r\n return of(\r\n actions.MemberQuickLoginSuccessRequest({\r\n login: action.login,\r\n password: action.password,\r\n authorizationType: action.authorizationType,\r\n sessionKey: sessionKey\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n return of(actions.MemberQuickLoginErrorRequest({\r\n login: action.login,\r\n password: action.password,\r\n authorizationType: action.authorizationType,\r\n ex,\r\n }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public quickLoginOnSuccessSetup$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberQuickLoginSuccessRequest),\r\n withLatestFrom(this._store.select(selectors.getMemberState)),\r\n switchMap(([{ sessionKey, authorizationType, password }, memberState]) => {\r\n return [\r\n actions.CreateMemberSession({ sessionKey, accountId: String(memberState.data.MemberId), authorizationType: authorizationType }),\r\n actions.MemberAuthorizationSetFlag({ flag: true }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN_SUCCESS }),\r\n actions.MemberJwtDataRequest({ email: memberState.data.EmailAddress, password: password }),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public linkRewardsAccountInit$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberLinkRewardsAccountRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n switchMap(([{ password }, state]) => {\r\n return this._membersService.changeMemberPassword(state.data.MemberId, password)\r\n .pipe(\r\n switchMap(response => {\r\n if (!response) return throwError('Unable to change member password');\r\n const extractedMobile: string[] = state.accountLogin?.split(':').map(v => v);\r\n const model: APIv1.MemberModel = {\r\n ...state.data,\r\n MemberGroupId: this._config.defaultMemberGroupId,\r\n };\r\n if (this._config.countries && extractedMobile?.length === 2) {\r\n const foundCountry = this._config.countries.find(obj => obj.Id === +extractedMobile[0]);\r\n if (foundCountry) {\r\n model.MobilePhone = foundCountry.PhonePrefix + extractedMobile[1];\r\n }\r\n }\r\n\r\n return this._membersService.updateUser(model)\r\n .pipe(\r\n map(hasUpdated => {\r\n if (!hasUpdated) throw new Error('Unable to update member');\r\n return actions.MemberLinkRewardsAccountSuccessRequest({ password, payload: model });\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n console.error('Link Reward Account error', ex);\r\n return of(actions.MemberLinkRewardsAccountErrorRequest({ password, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onSuccessLinkingAccountVerifyPhone$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberLinkRewardsAccountSuccessRequest),\r\n switchMap(({ payload }) => {\r\n return [\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: payload.MobilePhone }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE })\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public requestUpdateUserData$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberUpdateRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n switchMap(([{ userModel }, state]) => {\r\n return this._membersService.updateUser(userModel)\r\n .pipe(\r\n map(response => {\r\n return actions.MemberUpdateSuccessRequest({ userModel, payload: userModel });\r\n }),\r\n catchError((ex) => {\r\n return of(actions.MemberUpdateErrorRequest({ userModel, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public onSuccessfulMemberUpdateShowOk$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberUpdateSuccessRequest\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n switchMap(([action, state]) => {\r\n if (state.authorizationStep === OLO.Enums.AUTH_STEP.BEFORE_UPDATE_VERIFY_PHONE) {\r\n if (action.payload.IsEmailValidated) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UPDATE_SUCCESS }),\r\n ];\r\n } else {\r\n return [\r\n actions.MemberProfileUpdateInit({ userModel: action.payload, modalId: null })\r\n ];\r\n }\r\n }\r\n\r\n return never();\r\n }),\r\n );\r\n\r\n @Effect() public requestPasswordChange$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberPasswordChangeRequest),\r\n switchMap(({ NewPassword, OldPassword, MemberId }) => {\r\n return this._membersService.updatePasswordRequest({ OldPassword, NewPassword }, MemberId)\r\n .pipe(\r\n map(response => response ? actions.MemberPasswordChangeSuccessRequest({ OldPassword, NewPassword, MemberId }) : actions.MemberPasswordChangeErrorRequest({ OldPassword, NewPassword, MemberId })),\r\n catchError((ex) => {\r\n return of(actions.MemberPasswordChangeErrorRequest({ OldPassword, NewPassword, MemberId, ex: ex.error && ex.error.Message && typeof ex.error.Message === 'string' ? ex.error : null }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public initAuthorization$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberAuthorizationInit),\r\n switchMap(({ authorizationType, accountLogin }) => {\r\n\r\n switch (authorizationType) {\r\n case OLO.Enums.LOGIN_TYPE.MEMBER_CARD_NUMBER_BASED_LOGIN:\r\n case OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN:\r\n return of(actions.MemberValidateLoginRequest({ login: accountLogin, loginType: authorizationType }));\r\n }\r\n\r\n }),\r\n );\r\n\r\n @Effect() public requestLoginValidation$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberValidateLoginRequest),\r\n switchMap(({ login, loginType }) => {\r\n return this._membersService.validateLogin(login, loginType)\r\n .pipe(\r\n map(payload => {\r\n return actions.MemberValidateLoginSuccessRequest({ login, loginType, payload });\r\n }),\r\n catchError(ex => {\r\n return of(actions.MemberValidateLoginErrorRequest({ login, loginType, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public loginValidationSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberValidateLoginSuccessRequest),\r\n switchMap(action => {\r\n if (action.payload !== null && action.payload.MemberId && action.payload.IsOnlineRegistered) {\r\n\r\n return of(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.PASSWORD }));\r\n } else {\r\n if (action.payload === null && this._config.signUpRewardsAccountLinking?.enabled === true) {\r\n return of(\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_INFO })\r\n );\r\n }\r\n\r\n const returnedActions: Action[] = [actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER })];\r\n\r\n if (action.payload && action.payload.MemberId) {\r\n returnedActions.push(actions.MemberDataRequest({ memberId: action.payload.MemberId }));\r\n }\r\n\r\n return returnedActions;\r\n }\r\n }),\r\n );\r\n\r\n @Effect() public requestMemberLogin$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignInDataRequest),\r\n withLatestFrom(this._store.select(selectors.getMemberState)),\r\n switchMap(([action, memberState]) => {\r\n const password = action.password;\r\n const login = action.login || memberState.accountLogin;\r\n const credentials: OLO.Members.IMemberLogin = { Login: login, Password: password, LoginType: memberState.authorizationType };\r\n\r\n this._storePasswordForQuickLogin(action.password);\r\n\r\n return this._authService.signIn(credentials)\r\n .pipe(\r\n map(response => response !== null ? actions.MemberSignInDataResponseSuccess({ password, sessionKey: response }) : actions.MemberSignInDataResponseError({ password })),\r\n catchError(ex => {\r\n return of(actions.MemberSignInDataResponseError({ password, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestJWTLogin$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberJwtDataRequest),\r\n switchMap(({ email, password }) => {\r\n return this._jwtService.reqestJWToken({ Email: email, Password: password })\r\n .pipe(\r\n map(response => response ? actions.MemberJwtDataResponseSuccess({ email, password }) : actions.MemberJwtDataResponseError({ email, password })),\r\n catchError(ex => {\r\n return of(actions.MemberJwtDataResponseError({ email, password }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n\r\n @Effect() public requestMemberLoginSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignInDataResponseSuccess),\r\n withLatestFrom(this._store.select(selectors.getMemberState)),\r\n switchMap(([action, memberState]) => {\r\n const sessionKey = action.sessionKey;\r\n\r\n const bundleActions: any[] = [\r\n actions.MemberAuthorizationSetFlag({ flag: true }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ON_LOGIN_DATA_VALIDATION }),\r\n actions.MemberDataRequest({ memberId: memberState.accountId }),\r\n ];\r\n\r\n if (memberState.data && memberState.data.IsMobileValidated && memberState.data.IsEmailValidated && memberState.accountId && sessionKey) {\r\n bundleActions.push(actions.CreateMemberSession({ sessionKey, accountId: memberState.accountId as string, authorizationType: memberState.authorizationType }));\r\n }\r\n\r\n return bundleActions;\r\n }),\r\n );\r\n\r\n @Effect() public validatePhone$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberValidatePhoneRequest),\r\n switchMap(({ phone }) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(memberState => memberState.isDownloading === false),\r\n take(1),\r\n switchMap(memberState => {\r\n // return this._membersService.validatePhoneNumber(phone, memberState.data !== null ? memberState.data.MemberId : null)\r\n return this._membersService.validateMemberByProperty(phone, OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN, memberState.data !== null ? memberState.data.MemberId : null)\r\n .pipe(\r\n map(response => {\r\n return response ? actions.MemberValidatePhoneSuccessRequest({ phone }) : actions.MemberValidatePhoneDataResponseError({ phone });\r\n }),\r\n catchError(ex => {\r\n console.error('Phone check validation error:', ex);\r\n return of(actions.MemberValidatePhoneDataResponseError({ phone, ex }));\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public validateEmail$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberValidateEmailDataRequest),\r\n switchMap(({ email }) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n switchMap(memberState => {\r\n // return this._membersService.validateEmailAddress(email, memberState.data ? memberState.data.MemberId : null)\r\n return this._membersService.validateMemberByProperty(email, OLO.Enums.LOGIN_TYPE.EMAIL_BASED_LOGIN, memberState.data ? memberState.data.MemberId : null)\r\n .pipe(\r\n map(response => response ? actions.MemberValidateEmailDataResponseSuccess({ email }) : actions.MemberValidateEmailDataResponseError({ email })),\r\n catchError(ex => {\r\n console.error('Email check validation error:', ex);\r\n return of(actions.MemberValidateEmailDataResponseError({ email, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n\r\n }),\r\n );\r\n\r\n\r\n\r\n @Effect() public requestForgotPassword$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberForgotPasswordDataRequest),\r\n switchMap(({ email }) => {\r\n return this._membersService.resendForgotPasswordConfirmation(email)\r\n .pipe(\r\n switchMap(response => {\r\n /*\r\n We don't care here if response is false due to security reasons.\r\n We navigate to success step.\r\n */\r\n return [\r\n actions.MemberForgotPasswordDataResponseSuccess({ email }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.FORGOT_PASSWORD_SENT }),\r\n ];\r\n }),\r\n catchError(ex => {\r\n console.error('EXEPTION', ex, typeof ex);\r\n return of(actions.MemberForgotPasswordDataResponseError({ email, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public setMemberNewPassword$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberPasswordSetRequest),\r\n switchMap(({ memberId, password }) => {\r\n return this._membersService.changeMemberPassword(memberId, password)\r\n .pipe(\r\n map(response => {\r\n if (response) return actions.MemberPasswordSetSuccessRequest({ memberId, password });\r\n\r\n return actions.MemberPasswordSetErrorRequest({ memberId, password });\r\n }),\r\n catchError(ex => {\r\n console.error('Unable to set user password', ex);\r\n return of(actions.MemberPasswordSetErrorRequest({ memberId, password }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public initializePartialMemberSignUpProcess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberPartialSignUpRequest),\r\n switchMap(({ memberId, memberData }) => {\r\n return this._membersService.getUserData(memberId)\r\n .pipe(\r\n tap(() => {\r\n this._store.dispatch(actions.MemberPasswordSetRequest({ memberId, password: memberData.Password }));\r\n }),\r\n switchMap(memberDetails => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n delay(100),\r\n filter(state => state.setPassword.isSetting === false),\r\n take(1),\r\n switchMap(state => {\r\n if (state.setPassword.hasFailed) {\r\n throw new Error('Password set has failed');\r\n }\r\n\r\n const newMemberModel: APIv1.MemberModel = {\r\n ...memberDetails,\r\n RecievePromo: memberData.RecievePromo,\r\n };\r\n return this._membersService.updateUser(newMemberModel).pipe(\r\n switchMap(updateResponse => {\r\n if (updateResponse) {\r\n this._membersService.resendTemporaryVerificationCode();\r\n\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE }),\r\n actions.MemberPartialSignUpSuccessRequest({ memberId, memberData, payload: newMemberModel }),\r\n ];\r\n }\r\n\r\n throw new Error('Unable to update user');\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n console.error('Unable do register partial member', ex);\r\n return of(actions.MemberPartialSignUpErrorRequest({ memberId, memberData }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public initializeSignUpProcess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignUpProcessInit),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n tap(([{ memberData }, initialState]) => {\r\n if (initialState.uniqueCode.hasSucceeded === false && !initialState.uniqueCode.data) {\r\n this._store.dispatch(actions.MemberValidatePhoneRequest({ phone: memberData.MobilePhone }));\r\n this._store.dispatch(actions.MemberValidateEmailDataRequest({ email: memberData.EmailAddress }));\r\n }\r\n }),\r\n switchMap(([{ memberData }, initialState]) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.uniqueCode.hasSucceeded === true && state.uniqueCode.data !== null ||\r\n state.validatePhone.isValidating === false && (state.validatePhone.hasSucceeded === true || state.validatePhone.hasFailed === true) &&\r\n state.validateEmail.isValidating === false && (state.validateEmail.hasSucceeded === true || state.validateEmail.hasFailed === true)\r\n ),\r\n take(1),\r\n switchMap(state => {\r\n if (state.validatePhone.hasFailed || state.validateEmail.hasFailed) return never();\r\n\r\n this._storePasswordForQuickLogin(memberData.Password);\r\n\r\n if (state.uniqueCode.hasSucceeded === true && state.uniqueCode.data !== null) {\r\n return [\r\n actions.MemberSignUpRequest({\r\n memberData: {\r\n ...memberData,\r\n IsMobileValidated: true,\r\n },\r\n existingMember: state.uniqueCode.data\r\n })\r\n ];\r\n }\r\n\r\n return [\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: memberData.MobilePhone }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE })\r\n ];\r\n }),\r\n );\r\n })\r\n );\r\n\r\n @Effect() public requestRegisterMember$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignUpRequest),\r\n switchMap(({ memberData, existingMember }) => {\r\n /* There might be user without phone number due to new linking account cases - make sure it's not there */\r\n return iif(() => {\r\n return !!existingMember === true;\r\n },\r\n of(existingMember),\r\n this._membersService.getMembers({\r\n memberEmail: memberData?.EmailAddress || existingMember?.EmailAddress || null,\r\n }).pipe(\r\n map(({ Items }) => Items[0] || null)\r\n )\r\n ).pipe(\r\n switchMap(existingMemberChecked => {\r\n return this._authService.signUp(memberData, existingMemberChecked)\r\n .pipe(\r\n map(payload => actions.MemberSignUpSuccessRequest({ memberData: payload })),\r\n catchError(ex => {\r\n return of(actions.MemberSignUpErrorRequest({ memberData, existingMember: existingMemberChecked, ex }));\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestRegisterMemberSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignUpSuccessRequest),\r\n withLatestFrom(\r\n this._store.\r\n pipe(\r\n select(selectors.getMemberState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n )\r\n ),\r\n switchMap(([action, memberState, isAuthorized]) => {\r\n const bundleActions: Action[] = [];\r\n\r\n if (!isAuthorized) {\r\n\r\n if (memberState.addData || memberState.data.IsEmailValidated === false) {\r\n bundleActions.push(\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_EMAIL }),\r\n actions.MemberSendEmailVeryficationRequest({ email: memberState.addData ? memberState.addData.EmailAddress : memberState.data.EmailAddress }),\r\n );\r\n } else {\r\n bundleActions.push(\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }),\r\n );\r\n }\r\n } else {\r\n bundleActions.push(\r\n actions.MemberDataRequest({ memberId: memberState.accountId })\r\n );\r\n }\r\n\r\n return bundleActions;\r\n }),\r\n );\r\n\r\n @Effect() public requestSendPhoneVeryficationCode$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSendPhoneVerificationCodeDataRequest),\r\n switchMap(({ phoneNo }) => {\r\n return this._authService.verifyPhoneNumber(phoneNo)\r\n .pipe(\r\n map(response => response ? actions.MemberSendPhoneVerificationCodeDataResponseSuccess({ phoneNo }) : actions.MemberSendPhoneVerificationCodeDataResponseError({ phoneNo })),\r\n catchError(ex => {\r\n console.error('VerifyPhoneNoError', ex);\r\n return of(actions.MemberSendPhoneVerificationCodeDataResponseError({ phoneNo, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestVerifyPhoneCode$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberVerifyPhoneDataRequest),\r\n switchMap(({ phoneNo, token }) => {\r\n\r\n return this._authService.verifyPhoneNumberToken(phoneNo, token)\r\n .pipe(\r\n map(response => response ? actions.MemberVerifyPhoneDataSuccessRequest({ phoneNo, token }) : actions.MemberVerifyPhoneDataErrorRequest({ phoneNo, token })),\r\n catchError(ex => {\r\n console.error('VerifyPhoneNumberToken', ex);\r\n return of(actions.MemberVerifyPhoneDataErrorRequest({ phoneNo, token, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestPhoneVeryficationSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberVerifyPhoneDataSuccessRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n ),\r\n ),\r\n switchMap(([action, memberState]) => {\r\n if (memberState.authorizationStep === OLO.Enums.AUTH_STEP.BEFORE_UPDATE_VERIFY_PHONE && memberState.update.data !== null && memberState.data !== null) {\r\n const IsEmailValidated: boolean = memberState.data.EmailAddress === memberState.update.data.EmailAddress;\r\n return [\r\n actions.MemberUpdateRequest({\r\n userModel: {\r\n ...memberState.data,\r\n ...memberState.update.data,\r\n IsMobileValidated: true,\r\n IsEmailValidated,\r\n }\r\n }),\r\n ];\r\n }\r\n\r\n return [\r\n actions.MemberSignUpRequest({ memberData: memberState.addData, existingMember: memberState.data }),\r\n ];\r\n }),\r\n );\r\n\r\n @Effect() public requestVerifyEmail$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSendEmailVeryficationRequest),\r\n switchMap(({ email }) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n auditTime(100),\r\n filter(state => state.update.isUpdating !== true),\r\n take(1),\r\n switchMap(state => {\r\n console.log(state.update);\r\n const model: APIv1.MemberEmailConfirmationRequestModel = {\r\n MemberEmail: email,\r\n };\r\n return this._membersService.resendEmailConfirmation(model)\r\n .pipe(\r\n map(response => response ? actions.MemberSendEmailVeryficationSuccessRequest({ email }) : actions.MemberSendEmailVeryficationDataResponseError({ email })),\r\n catchError(ex => {\r\n console.error('ResendEmailConfirmation', ex);\r\n return of(actions.MemberSendEmailVeryficationDataResponseError({ email, ex }));\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect({ dispatch: false }) public createSession$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreateMemberSession),\r\n switchMap(({ sessionKey, accountId, authorizationType }) => {\r\n this._clearPasswordForQuickLogin();\r\n this._sessionService.createSession(sessionKey, accountId, authorizationType);\r\n\r\n return never();\r\n }),\r\n );\r\n\r\n\r\n @Effect() public checkUserSessionOnAppInit$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSessionRequest),\r\n switchMap(action => {\r\n return this._sessionService.getSession()\r\n .pipe(\r\n switchMap(response => {\r\n if (!response) {\r\n return of(actions.MemberSessionErrorRequest({ sessionKey: null, accountId: null, authorizationType: null }));\r\n }\r\n\r\n return this._authService.validateSession()\r\n .pipe(\r\n switchMap(isValid => {\r\n if (!isValid) {\r\n return of(actions.MemberSessionErrorRequest({ sessionKey: null, accountId: null, authorizationType: null }));\r\n }\r\n\r\n return of(actions.MemberSessionSuccessRequest({ sessionKey: response.SessionKey, accountId: response.AccountId as string, authorizationType: response.AuthorizationType }));\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public setSessionFlags: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSessionSuccessRequest),\r\n switchMap(({ accountId }) => {\r\n return [\r\n actions.MemberAuthorizationSetFlag({ flag: true }),\r\n actions.MemberDataRequest({ memberId: accountId }),\r\n actions.MemberJwtDataResponseSuccess({ email: null, password: null }),\r\n ];\r\n }),\r\n );\r\n\r\n @Effect() public removeSessionDataOnError$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSessionErrorRequest\r\n ),\r\n withLatestFrom(\r\n this._sessionService.getSession()\r\n ),\r\n switchMap(([action, session]) => {\r\n /* Sign out only if there was session detected */\r\n if (session) {\r\n this._sessionService.removeSession();\r\n return of(actions.MemberSignOut({ redirect: false }));\r\n }\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public onLoyaltyProductSuccessRequestGetInfoAboutMemberProducts$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyProductProgramsSuccessRequest\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n take(1),\r\n switchMap(state => {\r\n const actionsBundle: Action[] = [];\r\n\r\n if (!state.freeProducts.data && !state.freeProducts.isDownloading) {\r\n actionsBundle.push(\r\n actions.MemberFreeProductsRequest({ memberId: state.data.MemberId })\r\n );\r\n }\r\n\r\n if (!state.loyaltyProducts.data && !state.loyaltyProducts.isDownloading) {\r\n actionsBundle.push(\r\n actions.MemberLoyaltyProductsRequest({ memberId: state.data.MemberId })\r\n );\r\n }\r\n\r\n return actionsBundle;\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestFeeProducts$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberFreeProductsRequest\r\n ),\r\n switchMap(({ memberId }) => this._membersService.apiGetFreeProductsForMemberRequest(memberId)\r\n .pipe(\r\n map(payload => actions.MemberFreeProductsSuccessRequest({ memberId, payload })),\r\n catchError(ex => {\r\n console.error('MemberFreeProducts request error for member', memberId, ex);\r\n return of(actions.MemberFreeProductsErrorRequest({ memberId, ex }));\r\n }),\r\n )\r\n )\r\n );\r\n\r\n @Effect() public requestLoyaltyProducts$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberLoyaltyProductsRequest\r\n ),\r\n switchMap(({ memberId }) => this._membersService.apiGetLoyaltyProductsForMemberRequest(memberId)\r\n .pipe(\r\n map(payload => actions.MemberLoyaltyProductsSuccessRequest({ memberId, payload })),\r\n catchError(ex => {\r\n console.error('MemberLoyaltyProducts request error for member', memberId, ex);\r\n return of(actions.MemberLoyaltyProductsErrorRequest({ memberId, ex }));\r\n }),\r\n )\r\n )\r\n );\r\n\r\n @Effect() public requestMemberCodeCheck$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberUniqueCodeCheckRequest\r\n ),\r\n switchMap(({ memberCode }) => {\r\n return this._membersService.checkMemberUniqueCode(memberCode)\r\n .pipe(\r\n map(payload => actions.MemberUniqueCodeCheckSuccessRequest({ memberCode, payload })),\r\n catchError(ex => {\r\n console.error('Check member code error', ex);\r\n // actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.FAILED });\r\n return [\r\n actions.MemberUniqueCodeCheckErrorRequest({ memberCode, ex }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UNIQUE_CODE_ERROR }),\r\n ];\r\n })\r\n );\r\n\r\n })\r\n );\r\n\r\n @Effect() public setStepAfterUniqueCodeRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberUniqueCodeCheckSuccessRequest\r\n ),\r\n switchMap(({ payload }) => {\r\n if (payload && payload.IsOnlineRegistered === true) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UNIQUE_CODE_ERROR }),\r\n // actions.MemberDataRequest({ memberId: payload.MemberId })\r\n ];\r\n }\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public showBirthdayPopupOnSignIn$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberJwtDataResponseSuccess,\r\n ),\r\n delay(3000),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n )\r\n ),\r\n switchMap(([action, state, isAuthorized]) => {\r\n if (!isAuthorized\r\n || this._config.birthdayRewards !== true\r\n || this._config.appMode === IAppMode.ORDERING_ONLY\r\n || Utils.Storage.getItem(OLO.Enums.USER_STORAGE.BIRTHDAY_REWARDS) === 'skip'\r\n || !state.data\r\n || state.data.Birthday\r\n ) return never();\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberLoading),\r\n filter(isLoading => isLoading === false),\r\n take(1),\r\n switchMap(() => {\r\n this._modalsService.show({\r\n type: 'auth',\r\n });\r\n\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.BIRTHDAY_REWARDS })\r\n ];\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public triggerRequestAccountBalanceForMemberAfterSuccessTransaction$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepComplete\r\n ),\r\n filter(() => this._config.accountCharge?.enabled === true),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isAccountChargeSelected)\r\n )\r\n ),\r\n switchMap(([action, isMemberAuthorized, hasPaidWithAccountCharge]) => {\r\n if (isMemberAuthorized && hasPaidWithAccountCharge) return of(actions.MemberAccountBalanceRequest({}));\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public triggerRequestAccountBalanceForMemberWhenAuthorized$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberDataSuccessRequest,\r\n actions.MemberJwtDataResponseSuccess,\r\n ),\r\n filter(() => this._config.accountCharge?.enabled === true),\r\n auditTime(100),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n )\r\n ),\r\n switchMap(([action, isAuthorized, state]) => {\r\n if (!state.data?.HasAccount || state.accountBalance.hasSucceeded === true || !isAuthorized) return never();\r\n\r\n return of(actions.MemberAccountBalanceRequest({ memberId: state.data.MemberId }));\r\n })\r\n );\r\n\r\n @Effect() public requestAccountBalance$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberAccountBalanceRequest),\r\n switchMap(() => this._membersService.apiGetMemberAccountBalance()\r\n .pipe(\r\n map(payload => actions.MemberAccountBalanceSuccessRequest({ payload })),\r\n catchError(ex => {\r\n console.error('Request account balance error', ex);\r\n return of(actions.MemberAccountBalanceErrorRequest({ ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n private _storePasswordForQuickLogin(password: string): void {\r\n if (!this._config.unverifiedEmailQuickLogin) return;\r\n\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.PASSWORD, this._cryptoService.encrypt(password), 'sessionStorage');\r\n }\r\n\r\n private _getPasswordForQuickLogin(): string {\r\n if (!this._config.unverifiedEmailQuickLogin) return null;\r\n const storage: string = Utils.Storage.getItem(OLO.Enums.USER_STORAGE.PASSWORD, 'sessionStorage');\r\n\r\n if (!storage) return null;\r\n\r\n const decrypted: string = this._cryptoService.decrypt(storage);\r\n\r\n return decrypted || null;\r\n }\r\n\r\n private _clearPasswordForQuickLogin(): void {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.PASSWORD, 'sessionStorage');\r\n }\r\n /* https://stackoverflow.com/questions/43226681/how-to-subscribe-to-action-success-callback-using-ngrx-and-effects */\r\n /* https://medium.com/@amcdnl/handling-errors-in-ngrx-effects-2a116640d6bb */\r\n /* https://github.com/ngrx/example-app/issues/132 */\r\n /* https://stackoverflow.com/questions/41685519/ngrx-effects-error-handling */\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _membersService: Services.MembersService,\r\n private _authService: Services.AuthService,\r\n private _sessionService: Services.SessionService,\r\n private _jwtService: Services.JWTService,\r\n private _cryptoService: Services.CryptoService,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, filter, take } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class MenuFlowDefaultActivationsEffects {\r\n @Effect() public requestDefaultActivationOnMenuFlowDetailsForCartEditItem$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartEditItem\r\n ),\r\n switchMap((action) => {\r\n if (!action.item.MenuFlowId) return never();\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartOnlineMenuItemById(action.item.MenuFlowId)),\r\n take(1),\r\n switchMap(cartOnlineMenu => {\r\n const requireDefaultActivation: boolean = cartOnlineMenu.Tags ? Utils.Items.requireDefaultActivation(cartOnlineMenu) : true;\r\n if (!requireDefaultActivation) return never();\r\n\r\n return of(\r\n actions.MenuFlowDefaultActivationRequest({ menuFlowId: action.item.MenuFlowId })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n\r\n @Effect() public requestDefaultActivationOnMenuFlowDetailsSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MenuFlowsDetailsSuccessRequest\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuItemById(action.payload.MenuFlowId)),\r\n filter(onlineMenuItem => onlineMenuItem !== null),\r\n take(1),\r\n switchMap(onlineMenu => {\r\n const requireDefaultActivation: boolean = onlineMenu.Tags ? Utils.Items.requireDefaultActivation(onlineMenu) : true;\r\n if (!requireDefaultActivation) return never();\r\n\r\n return of(\r\n actions.MenuFlowDefaultActivationRequest({ menuFlowId: action.menuFlowId })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onMenuFlowDefaultActivationsRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MenuFlowDefaultActivationRequest),\r\n mergeMap(({ menuFlowId }) =>\r\n this._menuFlowsService.getDefaultActivation(menuFlowId)\r\n .pipe(\r\n map(payload => actions.MenuFlowDefaultActivationSuccessRequest({ menuFlowId, payload })),\r\n catchError(ex => of(actions.MenuFlowDefaultActivationErrorRequest({ menuFlowId, ex })))\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _menuFlowsService: Services.MenuFlowsService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, withLatestFrom, first } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class MenuFlowImagesEffects {\r\n @Effect() onOnlineMenuSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesSuccessRequest\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMenuFlowImagesState),\r\n first(),\r\n )\r\n ),\r\n switchMap(([action, images]) => {\r\n /* Get regular images for menu flow */\r\n const Pages: APIv1.OnlineMenuPageResponseModel[] = action.payload.Pages;\r\n const menuFlowIds: number[] = Pages.reduce((acc, page) => {\r\n const filterMenuFlowsIds: number[] = page.Products.filter(item => item.MenuFlowId && !item.ProductId).map(item => item.MenuFlowId);\r\n\r\n return acc.concat(filterMenuFlowsIds);\r\n }, []);\r\n const filtered: number[] = menuFlowIds.filter(menuFlowId => !images.find(image => image.MenuFlowId === menuFlowId && (image.isDownloading || image.hasSucceeded)));\r\n\r\n return of(actions.MenuFlowImagesRequest({ params: { width: 150, height: 150, }, menuFlowIds: filtered }));\r\n })\r\n );\r\n\r\n /* Move this to wizzard */\r\n @Effect() onRequestMenuFlowImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MenuFlowImagesRequest\r\n ),\r\n mergeMap(({ params, menuFlowIds }) => {\r\n if (menuFlowIds.length === 0) return [actions.MenuFlowImagesSuccessRequest({ payload: [], menuFlowIds: [] })];\r\n\r\n return this._imagesService.getMenuFlowImages(params, ...menuFlowIds)\r\n .pipe(\r\n map((payload: APIv1.ImageUrlModel[]) => actions.MenuFlowImagesSuccessRequest({ payload, menuFlowIds })),\r\n catchError(ex => of(actions.MenuFlowImagesErrorRequest({ ex, menuFlowIds })))\r\n );\r\n\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never, iif } from 'rxjs';\r\nimport { switchMap, take, first, filter, map, mergeMap, catchError } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class MenuFlowsEffects {\r\n @Effect() public onRequestMenuFlowDetails$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MenuFlowsDetailsRequest),\r\n mergeMap(({ locationNo, menuFlowId }) => {\r\n return this._store.select(selectors.getMenuFlow(menuFlowId, locationNo))\r\n .pipe(\r\n first(),\r\n filter(menuFlow => menuFlow.MenuFlowId !== null),\r\n mergeMap(({ LocationNo, MenuFlowId }) => {\r\n return this._menuFlowsService.getMenuFlowDetailsForLocation(MenuFlowId, LocationNo)\r\n .pipe(\r\n map(payload => actions.MenuFlowsDetailsSuccessRequest({ menuFlowId: MenuFlowId, locationNo: LocationNo, payload })),\r\n catchError(ex => of(actions.MenuFlowsDetailsErrorRequest({ menuFlowId: MenuFlowId, locationNo: LocationNo, ex })))\r\n );\r\n }\r\n ),\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public onMenuFlowSuccessRequestGetUpsell$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MenuFlowsDetailsSuccessRequest),\r\n switchMap(action => {\r\n /* Get upsell upon success menuflow request due to EDIT problems on cart when hitting page with different url */\r\n return iif(() => !action.payload.UpsellMenuFlowId, never(), this._store.pipe(\r\n select(selectors.getMenuFlow(action.payload.UpsellMenuFlowId, action.locationNo)),\r\n filter(upsellMenuFlow => upsellMenuFlow === undefined || upsellMenuFlow === null || upsellMenuFlow.hasFailed === true),\r\n take(1),\r\n switchMap(upsell => of(actions.MenuFlowsDetailsRequest({ menuFlowId: action.payload.UpsellMenuFlowId, locationNo: action.locationNo })))\r\n ));\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _menuFlowsService: Services.MenuFlowsService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Subscriber } from '../Subscriber';\nexport function takeWhile(predicate, inclusive = false) {\n return (source) => source.lift(new TakeWhileOperator(predicate, inclusive));\n}\nclass TakeWhileOperator {\n constructor(predicate, inclusive) {\n this.predicate = predicate;\n this.inclusive = inclusive;\n }\n call(subscriber, source) {\n return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate, this.inclusive));\n }\n}\nclass TakeWhileSubscriber extends Subscriber {\n constructor(destination, predicate, inclusive) {\n super(destination);\n this.predicate = predicate;\n this.inclusive = inclusive;\n this.index = 0;\n }\n _next(value) {\n const destination = this.destination;\n let result;\n try {\n result = this.predicate(value, this.index++);\n }\n catch (err) {\n destination.error(err);\n return;\n }\n this.nextOrComplete(value, result);\n }\n nextOrComplete(value, predicateResult) {\n const destination = this.destination;\n if (Boolean(predicateResult)) {\n destination.next(value);\n }\n else {\n if (this.inclusive) {\n destination.next(value);\n }\n destination.complete();\n }\n }\n}\n//# sourceMappingURL=takeWhile.js.map","/* https://github.com/pmiatkowski/angularNgrx/blob/master/src/app/state/effects/currency.effects.ts */\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport { ModalsService } from '@shared/core/services/modals.shared.service';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { switchMap, takeWhile, delay, map, filter, withLatestFrom, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ModalEffects {\r\n private _animationTimeout: number = this._config && (this._config.modals || this._config.modals.animateTimeout) ? this._config.modals.animateTimeout : 500;\r\n\r\n @Effect() public closeAllModalsWithExeptionTypes$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalCloseAll,\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getAllModals)),\r\n ),\r\n switchMap(([action, modals]) => {\r\n return modals.filter(modal => {\r\n if (action.typesExcludedFromClosing.includes(modal.type)) {\r\n return false;\r\n }\r\n return true;\r\n }).map(modal => action.animation === StateModels.MODAL_ANIMATION.OUT ? actions.ModalRequestClose(modal.id) : actions.ModalClose({ id: modal.id }));\r\n }),\r\n );\r\n\r\n @Effect({ dispatch: false }) public onModalAnyAction$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalOpen,\r\n actions.ModalRequestClose,\r\n actions.ModalBackgroundClicked,\r\n actions.ModalAnimate,\r\n actions.ModalClose,\r\n ),\r\n takeWhile(() => this._config.modals && this._config.modals.preventGlobalScroll),\r\n auditTime(0),\r\n withLatestFrom(\r\n this._store.select(selectors.getAllModals),\r\n this._modalsSharedService.modalContainer$\r\n ),\r\n switchMap(([action, modals, container]) => {\r\n const isModalOpen: boolean = modals.length > 0;\r\n const isScrollVisible: boolean = document.body.clientHeight > window.innerHeight;\r\n\r\n if (isModalOpen) {\r\n /* When open */\r\n /* TODO! FIX TOPBAR tick WHEN OPENING AND CLOSING DUE TO POSITION:FIXED! */\r\n if (isScrollVisible && container) {\r\n container.nativeElement.style.overflowY = 'scroll';\r\n /* If any difference because scrollbar */\r\n const bodyWidth: number = document.body.clientWidth;\r\n const windowInnerWidth: number = window.innerWidth || window.outerWidth;\r\n const diff: number = windowInnerWidth - bodyWidth;\r\n\r\n if (diff) {\r\n document.body.style.paddingRight = `${diff}px`;\r\n }\r\n\r\n document.body.style.overflowY = 'hidden';\r\n\r\n }\r\n\r\n } else {\r\n /* When closed */\r\n if (container) {\r\n container.nativeElement.style.overflowY = null;\r\n }\r\n /* IE FIX - AOLO-208 */\r\n document.body.removeAttribute('style');\r\n }\r\n\r\n return never();\r\n })\r\n\r\n );\r\n\r\n @Effect() public onModalCloseRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ModalRequestClose),\r\n map(action => actions.ModalAnimate(action.modalId, StateModels.MODAL_ANIMATION.OUT)),\r\n );\r\n\r\n @Effect() public onModalAnimateOut$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ModalAnimate),\r\n filter(action => action.animation === StateModels.MODAL_ANIMATION.OUT),\r\n delay(this._animationTimeout),\r\n map(action => actions.ModalClose({ id: action.id }))\r\n );\r\n\r\n @Effect() public onModalBackgroundClick$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ModalBackgroundClicked),\r\n switchMap(action => {\r\n\r\n if (this._config.modals && this._config.modals.bgClickClose) {\r\n return of(actions.ModalRequestClose());\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _modalsSharedService: ModalsService,\r\n ) {\r\n }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, select, Store } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { catchError, switchMap, map, withLatestFrom } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OnlineMenuEffects {\r\n @Effect() public onPickupTimeSetGetOnlineMenu$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CurrentLocationPickupTimeSet),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n ),\r\n this._store.pipe(\r\n select(selectors.getCurrentLocationNoWithMemberId)\r\n ),\r\n this._store.pipe(\r\n select(selectors.getCurrentPickupTime)\r\n ),\r\n this._store.pipe(\r\n select(selectors.getOnlineMenu)\r\n )\r\n ),\r\n switchMap(([action, isOnLocationDetailsPage, { memberId, locationNo }, pickupTime, onlineMenu]) => {\r\n const pickupTimeIsSet: boolean = !!pickupTime;\r\n const pickupTimeMatchesOnlineMenuRange: boolean = onlineMenu.data !== null && Utils.Dates.isHourInTimeRange(pickupTime.Hour, onlineMenu.data.StartTime, onlineMenu.data.EndTime);\r\n const isSameDay: boolean = pickupTime?.DateLocalISO.split('T')[0] === onlineMenu.pickupDate?.split('T')[0];\r\n const locationHasChanged: boolean = locationNo !== onlineMenu.locationNo;\r\n const menuHasDownloaded: boolean = onlineMenu.data !== null;\r\n\r\n const shouldRequestOnlineMenu: boolean = isOnLocationDetailsPage\r\n && (locationHasChanged\r\n || !menuHasDownloaded\r\n || !pickupTimeMatchesOnlineMenuRange\r\n || !isSameDay\r\n || !pickupTimeIsSet);\r\n if (!shouldRequestOnlineMenu) return never();\r\n\r\n return of(actions.OnlineMenuPagesRequest(\r\n locationNo,\r\n memberId,\r\n Utils.Dates.getLocalISOFormatDate(pickupTime.Date, true)\r\n ));\r\n })\r\n );\r\n\r\n @Effect() public requestOnlineMenu$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesRequest\r\n ),\r\n switchMap(({ locationNo, memberId, pickupDate }) => {\r\n return this._onlineMenuService.getMenuPages({\r\n locationNo,\r\n memberId,\r\n menuDate: pickupDate\r\n }).pipe(\r\n map(response => {\r\n /* Sort first by DisplayIndex */\r\n response.Pages = response.Pages.sort((a, b) => {\r\n switch (true) {\r\n case a.DisplayIndex < b.DisplayIndex:\r\n return -1;\r\n case a.DisplayIndex > b.DisplayIndex:\r\n return 1;\r\n default:\r\n return 0;\r\n }\r\n });\r\n\r\n return actions.OnlineMenuPagesSuccessRequest(\r\n locationNo,\r\n memberId,\r\n pickupDate,\r\n response\r\n );\r\n }),\r\n catchError(ex => of(actions.OnlineMenuPageErrorRequest(\r\n locationNo,\r\n memberId,\r\n pickupDate,\r\n ex\r\n )))\r\n );\r\n })\r\n );\r\n\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _onlineMenuService: Services.OnlineMenuService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { map, catchError, switchMap, delay, withLatestFrom, take } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OnlineMenuPagesImagesEffects {\r\n @Effect() public onOnlineMenuSuccessGetPagesImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineMenuPagesSuccessRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuPagesImages),\r\n )\r\n ),\r\n switchMap(([action, images]) => {\r\n const imageType: OLO.Enums.IMAGE_TYPE = OLO.Enums.IMAGE_TYPE.ForWeb;\r\n const imageTypeName: string = Utils.Images.toImageTypeString(imageType);\r\n const pageIds = action.payload.Pages.reduce((acc, page) => {\r\n\r\n const foundImg = images[imageTypeName].reduce((imgFound, type) => {\r\n if (imgFound) return imgFound;\r\n return type[imageType]?.find(obj => obj.pageId === page.Id) || null;\r\n\r\n }, null);\r\n\r\n const shouldDownload = !foundImg || foundImg.hasSucceeded === false && foundImg.isDownloading === false;\r\n if (shouldDownload) {\r\n return [\r\n ...acc,\r\n page.Id,\r\n ];\r\n }\r\n\r\n return acc;\r\n\r\n }, [] as Array);\r\n\r\n if (!pageIds.length) return never();\r\n\r\n return of(actions.OnlineMenuPagesImagesRequest({\r\n params: {\r\n width: window.innerWidth,\r\n },\r\n imageType,\r\n pageIds\r\n }));\r\n })\r\n );\r\n\r\n @Effect() public requestOnlineMenuPagesImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesImagesRequest\r\n ),\r\n switchMap(action => {\r\n return this._imagesService.getImagesForOnlineMenuPages(action.params, action.imageType, action.pageIds)\r\n .pipe(\r\n delay(1000),\r\n map(payload => actions.OnlineMenuPagesImagesSuccessRequest({ pageIds: action.pageIds, imageType: action.imageType, payload })),\r\n catchError(ex => {\r\n console.error('Error downloading online menu pages images', ex);\r\n return of(actions.OnlineMenuPagesImagesErrorRequest({ pageIds: action.pageIds, imageType: action.imageType, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as Services from '@shared/core/services';\r\nimport * as State from '@shared/state/interface';\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { map, catchError, switchMap, mergeMap, withLatestFrom } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OnlineMenuProductsImagesEffects {\r\n private _imgParams: APICommon.IImagesGetParams = { width: 150, height: 150 };\r\n\r\n @Effect() public onCartItemEditRequestImageForItem$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartEditItem\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart)\r\n )\r\n ),\r\n switchMap(([action, cart]) => {\r\n const itemId: number = action.item.MenuFlowId ? action.item.MenuFlowId : (action.item as State.ICartSimpleItemExtended).ProductId;\r\n const isMenuFlow: boolean = action.item.MenuFlowId ? true : false;\r\n\r\n if (!cart.onlineMenu || !cart.onlineMenu.Pages) return never();\r\n return cart.onlineMenu.Pages.map(page => actions.OnlineMenuProductsImagesRequest({ params: this._imgParams, pageId: page.Id }));\r\n // let pageId: number = null;\r\n // cart.onlineMenu.Pages.forEach(page => {\r\n // if (pageId) return;\r\n // page.Products.forEach(product => {\r\n // if (pageId) return;\r\n\r\n // if (isMenuFlow && itemId === product.MenuFlowId) {\r\n // return pageId = page.Id;\r\n // }\r\n\r\n // if (!isMenuFlow && itemId === product.ProductId) {\r\n // return pageId = page.Id;\r\n // }\r\n // });\r\n // });\r\n\r\n // if (!pageId) return never();\r\n // console.log('pageId', pageId, 'cartItem', action.item);\r\n // return of(\r\n // actions.OnlineMenuPageImagesRequest({ params: this._imgParams, pageId })\r\n // );\r\n })\r\n );\r\n\r\n @Effect() public onOnlineMenuSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineMenuPagesSuccessRequest),\r\n switchMap(({ payload }) =>\r\n payload.Pages.map(Page =>\r\n actions.OnlineMenuProductsImagesRequest({ params: this._imgParams, pageId: Page.Id })\r\n )\r\n )\r\n );\r\n\r\n @Effect() public onPageImagesRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineMenuProductsImagesRequest),\r\n mergeMap(({ params, pageId }) =>\r\n this._imagesService.getImagesForOnlineMenuPageProducts(params, pageId)\r\n .pipe(\r\n map(payload => actions.OnlineMenuProductsImagesSuccessRequest({ pageId, payload })),\r\n catchError(ex => of(actions.OnlineMenuProductsImagesErrorRequest({ pageId, ex }))),\r\n )\r\n )\r\n );\r\n\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { take, map, catchError, withLatestFrom, switchMap, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OnlineOrdersEffects {\r\n @Effect() onOnlineOrderCreateRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderCreateRequest),\r\n withLatestFrom(\r\n this._store.select(selectors.getGuestData),\r\n this._store.select(selectors.getCurrentMember),\r\n ),\r\n switchMap(([action, guestData, memberData]) => {\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderRecalcData),\r\n filter(calculatedOrder => calculatedOrder.isRecalculating === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppId)\r\n )\r\n ),\r\n switchMap(([calculatedOrder, orderState, LoyaltyAppId]) => {\r\n if (calculatedOrder.hasFailed || !calculatedOrder.data) throw new Error('Invalid recalculated order data');\r\n\r\n let email: string = null;\r\n if (this._config.onlineOrders?.sendAutoReceiptEmail === true) {\r\n if (guestData?.Email) {\r\n email = guestData.Email;\r\n }\r\n\r\n if (memberData?.EmailAddress) {\r\n email = memberData.EmailAddress;\r\n }\r\n }\r\n const model: APIv1.OnlineOrderDetailedBusinessModel = {\r\n ...calculatedOrder.data,\r\n Id: null,\r\n MemberId: memberData ? memberData.MemberId : null,\r\n PartialMember: guestData,\r\n LoyaltyAppId,\r\n ...Utils.OnlineOrders.extendWithOrderTypeSurcharges(calculatedOrder.data, orderState.orderType, false)\r\n };\r\n\r\n return this._onlineOrdersService.createNewOnlineOrder(model, email)\r\n .pipe(\r\n map(payload => {\r\n return actions.OnlineOrderCreateSuccessRequest({ payload });\r\n }),\r\n );\r\n }),\r\n catchError(ex => of(actions.OnlineOrderCreateErrorRequest({ order: null, ex })))\r\n );\r\n })\r\n\r\n );\r\n\r\n @Effect() onOnlineOrderSendConfirmationEmail$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderSendConfrimationEmailRequest),\r\n switchMap(action => {\r\n return this._onlineOrdersService.sendEmailWithOrderConfirmation(action.orderId)\r\n .pipe(\r\n map(result => result ? actions.OnlineOrderSendConfrimationEmailSuccessRequest({ result }) : actions.OnlineOrderSendConfrimationEmailErrorRequest({})),\r\n catchError(ex => of(actions.OnlineOrderSendConfrimationEmailErrorRequest({ ex })))\r\n );\r\n }),\r\n );\r\n\r\n\r\n\r\n @Effect() onOnlineOrderRecalculateRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderRecalculateRequest),\r\n withLatestFrom(\r\n this._store.select(selectors.getCart),\r\n this._store.select(selectors.getCartTotalValue),\r\n this._store.select(selectors.getCurrentMember),\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppId)\r\n )\r\n ),\r\n switchMap(([action, cart, cartTotalValue, member, orderState, LoyaltyAppId]) => {\r\n const _tempOrderModel = Utils.OnlineOrders.convertCart(this._config.saleName, cart, cart.pickupTime, {\r\n MemberId: member ? member.MemberId : null,\r\n OrderTypeId: this._config.onlineOrders.OrderTypeId,\r\n OnlineOrderType: this._config.onlineOrders.OnlineOrderType,\r\n RemoveModifiers: this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false ? true : false,\r\n });\r\n\r\n const orderModel = {\r\n ..._tempOrderModel,\r\n ...Utils.OnlineOrders.extendWithOrderTypeSurcharges(_tempOrderModel, orderState.orderType, true),\r\n LoyaltyAppId,\r\n };\r\n\r\n return this._onlineOrdersService.recalculateOnlineOrder(orderModel)\r\n .pipe(\r\n map(payload => actions.OnlineOrderRecalculateSuccessRequest({ payload })),\r\n catchError(ex => of(actions.OnlineOrderRecalculateErrorRequest({ order: orderModel, ex })))\r\n );\r\n }),\r\n );\r\n\r\n @Effect() onlineOrderRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderRequest),\r\n switchMap(({ orderId }) => {\r\n return this._onlineOrdersService.getOnlineOrder(orderId)\r\n .pipe(\r\n map(payload => {\r\n return actions.OnlineOrderSuccessRequest({ payload });\r\n }),\r\n catchError(ex => of(actions.OnlineOrderErrorRequest({ orderId, ex })))\r\n );\r\n })\r\n );\r\n\r\n @Effect() sendOrderReceipt$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderSendEmailReceiptRequest),\r\n switchMap(({ orderId }) => this._onlineOrdersService.sendOnlineOrderReceipt(orderId)\r\n .pipe(\r\n map(response => response ? actions.OnlineOrderSendEmailReceiptSuccessRequest({ orderId }) : actions.OnlineOrderSendEmailReceiptErrorRequest({ orderId })),\r\n catchError(ex => {\r\n console.log(`Send order receipt error`, ex);\r\n return of(actions.OnlineOrderSendEmailReceiptErrorRequest({ orderId, ex }));\r\n }),\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _onlineOrdersService: Services.OnlineOrdersService,\r\n private _store: Store\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, Action } from '@ngrx/store';\r\nimport { Actions, ofType, Effect } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, map, mergeMap, catchError } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OrderTypesEffects {\r\n @Effect() public requestOrderTypeForLocation$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationSet,\r\n actions.CartSetup,\r\n ),\r\n switchMap(action => {\r\n return of(actions.OrderTypesRequest({ locationNo: action.locationNo }));\r\n })\r\n );\r\n\r\n @Effect() public requestOrderTypes$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OrderTypesRequest\r\n ),\r\n mergeMap(({ locationNo }) => this._loylatyAppService.apiGetOrderTypes(locationNo)\r\n .pipe(\r\n map(payload => actions.OrderTypesSuccessRequest({ locationNo, payload })),\r\n catchError(ex => {\r\n console.error('OrderTypes request error', ex);\r\n return of(actions.OrderTypesErrorRequest({ locationNo, ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _loylatyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as selectors from '../selectors';\r\nimport * as actions from '../actions';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, take } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OrderTypesImagesEffects {\r\n @Effect() public onSuccessOrderTypeRequestImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OrderTypesSuccessRequest\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypeImages),\r\n take(1),\r\n switchMap(images => {\r\n const filterOut = action.payload.reduce((acc, orderType) => {\r\n const imageExists = images.some(obj => obj.Id === orderType.Id && obj.data !== null && obj.isDownloading === false);\r\n if (imageExists) return acc;\r\n\r\n return [...acc, orderType.Id];\r\n }, [] as number[]);\r\n\r\n if (filterOut.length === 0) return never();\r\n\r\n return of(\r\n actions.OrderTypesImagesRequest({\r\n params: { width: 150, height: 150 },\r\n orderTypesIds: filterOut,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public requestImagesForOrderTypes$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OrderTypesImagesRequest\r\n ),\r\n mergeMap(action => this._imagesService.getImageForOrderType(action.params, ...action.orderTypesIds)\r\n .pipe(\r\n map(payload => actions.OrderTypesImagesSuccessRequest({\r\n params: action.params,\r\n payload,\r\n orderTypesIds: action.orderTypesIds\r\n })),\r\n catchError(ex => {\r\n console.error(`Error requestImagesForOrderTypes`, ex);\r\n return of(\r\n actions.OrderTypesImagesErrorRequest({\r\n params: action.params,\r\n ex,\r\n orderTypesIds: action.orderTypesIds\r\n })\r\n );\r\n })\r\n )\r\n )\r\n )\r\n ;\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { catchError, map, switchMap, take, filter, withLatestFrom, delay, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class PaymentsEffects {\r\n @Effect() public paymentInitWithPrevalidatedCard$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentInit\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getCardState)),\r\n this._store.pipe(select(selectors.getMemberState)),\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n this._store.pipe(select(selectors.getPaymentState))\r\n ),\r\n switchMap(([action, cardState, memberState, paymentHasErrors, step, paymentState]) => {\r\n if (paymentHasErrors) {\r\n if (paymentState.OrderId && paymentState.data.TransactionId) {\r\n if (this._config.demoMode === true) {\r\n return [\r\n actions.PaymentClearErrors(),\r\n actions.__DEMO__PaymentStepPaymentStatusCheck({ TransactionId: paymentState.data.TransactionId, OrderId: paymentState.OrderId }),\r\n ];\r\n }\r\n\r\n return [\r\n actions.PaymentClearErrors(),\r\n actions.PaymentStepPaymentStatusCheck({ TransactionId: paymentState.data.TransactionId, OrderId: paymentState.OrderId }),\r\n ];\r\n }\r\n\r\n return this._error(`#33 Payment process has errors`);\r\n }\r\n\r\n if (step !== 'init') {\r\n return this._error(`#37 Payment step error. Should be \"init\", is: ${step}`);\r\n }\r\n\r\n if (this._config.paymentProvider === undefined || this._config.paymentProvider === null) {\r\n return this._error('#41 Payment provider not defined. Defined it config.js file');\r\n }\r\n\r\n const isGuest: boolean = memberState.isGuestModeEnabled && memberState.guestData !== null;\r\n if (isGuest) {\r\n return [\r\n actions.MemberValidateEmailDataRequest({ email: memberState.guestData.Email }),\r\n actions.MemberValidatePhoneRequest({ phone: memberState.guestData.MobileNumber }),\r\n actions.PaymentStepValidateGuestData(null),\r\n ];\r\n }\r\n\r\n if (this._config.demoMode === true) {\r\n return of(actions.__DEMO__PaymentStepCreateOrder());\r\n }\r\n\r\n /* For members */\r\n return of(actions.PaymentStepCreateOrder());\r\n })\r\n );\r\n\r\n @Effect() public paymentInitAramarkFlow$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentInitAramark\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([action, paymentHasErrors, step]) => {\r\n if (paymentHasErrors) {\r\n return this._error(`#73 Payment process has errors`);\r\n }\r\n\r\n if (step !== 'init') {\r\n return this._error(`#77 Payment step error. Should be \"init\", is: ${step}`);\r\n }\r\n\r\n if (this._config.paymentProvider === undefined || this._config.paymentProvider === null) {\r\n return this._error('#81 Payment provider not defined. Defined it config.js file');\r\n }\r\n\r\n if (action.member) {\r\n /* For guests */\r\n return [\r\n actions.MemberVerifyEmailRestoreFlags(),\r\n actions.MemberVerifyPhoneRestoreFlags(),\r\n actions.MemberGuestDataReset(),\r\n actions.MemberGuestDataSet({ guestData: action.member as APICommon.IOnlineOrderPartialMember }),\r\n actions.CreditCardTokenDataReset(),\r\n\r\n actions.MemberValidateEmailDataRequest({ email: action.member.Email }),\r\n actions.MemberValidatePhoneRequest({ phone: action.member.MobileNumber }),\r\n\r\n actions.PaymentStepValidateGuestData(action.creditCard),\r\n ];\r\n }\r\n\r\n if (this._config.demoMode === true) {\r\n return of(actions.__DEMO__PaymentStepCreateOrder());\r\n }\r\n\r\n /* For members */\r\n return of(actions.PaymentStepCreateOrder());\r\n })\r\n );\r\n\r\n @Effect() public stepValidateGuestData$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.PaymentStepValidateGuestData),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(member => member.validateEmail.isValidating !== true && member.validatePhone.isValidating !== true),\r\n take(1),\r\n switchMap(state => {\r\n if (state.validateEmail.hasFailed || state.validatePhone.hasFailed) {\r\n return this._error('#120 Invalid guest\\'s email address or phone number');\r\n }\r\n\r\n return forkJoin(\r\n this._membersService.getMembers({ mobilePhoneNumber: state.guestData.MobileNumber }),\r\n this._membersService.getMembers({ memberEmail: state.guestData.Email }),\r\n ).pipe(\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([[byPhone, byEmail], paymentHasErrors, step]) => {\r\n if (paymentHasErrors) {\r\n return this._error(`#133 Payment process has errors`);\r\n }\r\n\r\n if (step !== 'validate_guest') {\r\n return this._error(`#137 Payment step error. Should be \"validate_guest\", is: ${step}`);\r\n }\r\n\r\n const nextStep = () => {\r\n if (this._config.demoMode === true) {\r\n return of(actions.__DEMO__PaymentStepCreateOrder());\r\n }\r\n\r\n /* If card is provided but not saved, run these steps */\r\n if (action.creditCard) {\r\n switch (this._config.paymentProvider) {\r\n case OLO.Enums.PAYMENT_PROVIDER.CONVERGE:\r\n return [\r\n actions.GetCreditCardToken({\r\n cardNumber: action.creditCard.cardNo,\r\n expiryDate: action.creditCard.expDate,\r\n saveCard: action.creditCard.save\r\n }\r\n ),\r\n actions.PaymentStepValidateGuestCardToken()\r\n ];\r\n\r\n case OLO.Enums.PAYMENT_PROVIDER.PAYMENT_EXPRESS:\r\n return of(actions.PaymentStepCreateOrder());\r\n // return [\r\n // actions.GetCreditCardToken({\r\n // cardNumber: action.creditCard.cardNo,\r\n // expiryDate: action.creditCard.expDate,\r\n // saveCard: action.creditCard.save\r\n // }),\r\n // ];\r\n\r\n case OLO.Enums.PAYMENT_PROVIDER.CARD_CONNECT:\r\n console.warn('TODO - HANDLE CARD CONNECT');\r\n return [];\r\n\r\n default:\r\n console.error('Payment provider not provided in config.js');\r\n return [];\r\n }\r\n }\r\n\r\n return of(actions.PaymentStepCreateOrder());\r\n };\r\n\r\n const memberByPhone: APIv1.MemberModel = byPhone.Items[0];\r\n const memberByEmail: APIv1.MemberModel = byEmail.Items[0];\r\n\r\n const isUpdatedRequired: boolean = memberByPhone && memberByEmail && memberByPhone.MemberId !== memberByEmail.MemberId\r\n || memberByPhone && !memberByEmail && memberByPhone.EmailAddress !== state.guestData.Email;\r\n if (isUpdatedRequired) {\r\n /* We update member with phone number found */\r\n const updatedModel: APIv1.MemberModel = {\r\n ...memberByPhone,\r\n EmailAddress: state.guestData.Email,\r\n };\r\n\r\n return this._membersService.updateUser(updatedModel)\r\n .pipe(\r\n switchMap(success => {\r\n if (!success) throw new Error('Error on user update request');\r\n\r\n return nextStep();\r\n })\r\n );\r\n }\r\n\r\n return nextStep();\r\n\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n return this._error('#212 Payment failed', ex);\r\n })\r\n\r\n );\r\n\r\n @Effect() public stepValidateGuestCardTokens$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepValidateGuestCardToken\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n filter(cardsState => cardsState.token.isGettingToken === false && (cardsState.token.hasSucceeded === true && cardsState.activeCardToken !== null || cardsState.token.hasFailed === true)),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([cardsState, paymentHasErrors, step]) => {\r\n if (paymentHasErrors) {\r\n return this._error(`#234 Payment process has errors`);\r\n }\r\n\r\n if (step !== 'validate_card_token') {\r\n return this._error(`#238 Payment step error. Should be \"validate_card_token\", is: ${step}`);\r\n }\r\n\r\n if (cardsState.token.hasFailed || cardsState.activeCardToken === null) {\r\n return this._error('#242 Unable to get card token');\r\n }\r\n\r\n return of(actions.PaymentStepCreateOrder());\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public stepCreateOrder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepCreateOrder,\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.canPostOnlineOrder)),\r\n this._store.pipe(select(selectors.isPaymentProcessValid)),\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([action, canPostOnlineOrder, isPaymentProcessValid, paymentHasErrors, step]) => {\r\n if (!canPostOnlineOrder || !isPaymentProcessValid || paymentHasErrors) {\r\n return this._error('#264 Unable to create order - insufficient data or data corrupted');\r\n }\r\n\r\n if (step !== 'create_order') {\r\n return this._error(`#268 Payment step error. Should be \"create_order\", is: ${step}`);\r\n }\r\n\r\n return [\r\n actions.OnlineOrderClearPostOrderRequestFlags(),\r\n actions.OnlineOrderCreateRequest(),\r\n actions.PaymentStepPay(),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public stepPay$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepPay\r\n ),\r\n switchMap(action => {\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState),\r\n filter(orderState => orderState.createRequest.isCreating === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getActiveCardId)),\r\n this._store.pipe(select(selectors.getActiveCardToken)),\r\n this._store.pipe(select(selectors.getOnlineOrder)),\r\n this._store.pipe(select(selectors.getActiveCardDetails)),\r\n this._store.pipe(select(selectors.isAccountChargeSelected))\r\n ),\r\n switchMap(([orderState, activeCardId, activeCardToken, onlineOrder, cardDetails, isAccountChargeSelected]) => {\r\n if (orderState.createRequest.hasFailed) {\r\n return this._error('#299 Unable to create order');\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.isCartLocationsPickupsCalculating),\r\n filter(isCalculating => isCalculating === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([calculated, paymentHasErrors, step]) => {\r\n if (paymentHasErrors) {\r\n return this._error('#312 Unable to create order due to payment process errors');\r\n }\r\n\r\n if (step !== 'paying') {\r\n return this._error(`#317 Payment step error. Should be \"paying\", is: ${step}`);\r\n }\r\n if (isAccountChargeSelected) {\r\n /* Handle account charge */\r\n return this._paymentsService.payWithAccountCharge(onlineOrder.Id, {\r\n Amount: onlineOrder.TotalGrossValue,\r\n SetOrderAsValidatedOnSuccess: true,\r\n })\r\n .pipe(\r\n switchMap(payload => {\r\n switch (payload.Status) {\r\n case OLO.Enums.PAYMENT_STATUS.SUCCESS:\r\n return of(actions.PaymentStepComplete({ OrderId: onlineOrder.Id, payload }));\r\n\r\n case OLO.Enums.PAYMENT_STATUS.FAILED:\r\n return [\r\n actions.PaymentReset(),\r\n ...this._error('#373 Payment declined by Payment Provider. Status: ' + payload.Status, payload.Status)\r\n ];\r\n }\r\n }),\r\n );\r\n }\r\n\r\n const OrderId: number = onlineOrder.Id;\r\n const PaymentMethod: APIv2.ExecutePaymentModel = {\r\n Amount: onlineOrder.TotalLeftToPay,\r\n PaymentAccountId: activeCardId,\r\n Token: activeCardToken,\r\n SetOrderAsValidatedOnSuccess: true,\r\n PaymentProvider: this._config.paymentProvider, // OLO.Enums.PAYMENT_PROVIDER.CONVERGE\r\n };\r\n\r\n if (this._config.paymentProvider === OLO.Enums.PAYMENT_PROVIDER.CARD_CONNECT) {\r\n // const d = cardDetails.ExpirationDate.split('-');\r\n // const lastDay = new Date(+`20${d[2]}`, +d[0], 0).getDate();\r\n PaymentMethod.ExpirationDate = Utils.CreditCards.dateToISOString(cardDetails.ExpirationDate); // `20${d[2]}-${d[0]}-${lastDay < 10 ? `0${lastDay}` : `${lastDay}`}T23:59:59.000Z`;\r\n }\r\n\r\n return this._paymentsService.pay(OrderId, PaymentMethod)\r\n .pipe(\r\n map(({ TransactionId }) => {\r\n return actions.PaymentStepPaymentStatusCheck({ TransactionId, OrderId });\r\n }),\r\n );\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n return this._error('#350 Payment failed', ex);\r\n })\r\n );\r\n\r\n @Effect() public stepPaymentStatusCheck$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepPaymentStatusCheck\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n mergeMap(([action, step]) => {\r\n if (step !== 'payment_status_check') {\r\n return this._error(`#361 Payment step error. Should be \"payment_status_check\", is: ${step}`);\r\n }\r\n\r\n return this._paymentsService.getPaymentStatus(action.TransactionId)\r\n .pipe(\r\n delay(1000),\r\n switchMap(payload => {\r\n switch (payload.Status) {\r\n case OLO.Enums.PAYMENT_STATUS.SUCCESS:\r\n return of(actions.PaymentStepComplete({ OrderId: action.OrderId, payload }));\r\n\r\n case OLO.Enums.PAYMENT_STATUS.FAILED:\r\n return [\r\n actions.PaymentReset(),\r\n ...this._error('#373 Payment declined by Payment Provider. Status: ' + payload.Status, payload.Status)\r\n ];\r\n\r\n default:\r\n return of(actions.PaymentStepPaymentStatusCheck({ TransactionId: action.TransactionId, OrderId: action.OrderId }));\r\n }\r\n }),\r\n );\r\n }),\r\n catchError(ex => {\r\n return this._error('#382 Payment status check failed', ex);\r\n })\r\n );\r\n\r\n @Effect() public cleanUpOnSuccessfulPayment$ = this._actions$\r\n .pipe(\r\n ofType(actions.PaymentStepComplete),\r\n switchMap(action => {\r\n const bundleActions: Action[] = [\r\n actions.CreditCardTokenDataReset(),\r\n actions.OnlineOrderStateReset(),\r\n actions.CartReset(),\r\n actions.LocationsFiltersReset(),\r\n actions.CurrentLocationReset(),\r\n ];\r\n\r\n if (this._config.onlineOrders?.sendAutoConfirmationEmail === true) {\r\n bundleActions.push(\r\n actions.OnlineOrderSendConfrimationEmailRequest({ orderId: action.OrderId })\r\n );\r\n }\r\n\r\n return bundleActions;\r\n }),\r\n );\r\n\r\n private _error(error: string = '', ex: any = null): Array {\r\n console.error('Payment error:', error, ex);\r\n return [\r\n actions.OnlineOrderClearPostOrderRequestFlags(),\r\n // actions.CreditCardTokenDataReset(),\r\n actions.PaymentStepFailed(error)\r\n ];\r\n }\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _paymentsService: Services.PaymentsService,\r\n private _membersService: Services.MembersService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\nimport { Action, Store, select } from '@ngrx/store';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never, iif, timer } from 'rxjs';\r\nimport { switchMap, audit, withLatestFrom, map, take, combineLatest, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class PickupTimeValidateEffects {\r\n /*\r\n This will validate cart itself comparing to current date.\r\n - check cart.pickupTime orderTimeout and pickupTime if user hasn't spent too much time ordering,\r\n - check cart.onlineMenu dates and compare it to current date,\r\n - check if it's TODAY if there was anything in the cart from other days,\r\n\r\n Check it only if there is anything in the cart.\r\n */\r\n\r\n @Effect() public validateCartPickupTimeAndOnlineMenuTime$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ROUTER_NAVIGATION,\r\n\r\n // actions.WIZZARD_VALIDATE,\r\n actions.WizzardValidate,\r\n\r\n actions.CartLoad,\r\n // actions.CartSetPendingClear,\r\n actions.CartSetLocationNo,\r\n actions.CartSetOnlineMenu,\r\n actions.CartEditItem,\r\n actions.CartMenuFlowAdd,\r\n actions.CartMenuFlowDecrement,\r\n actions.CartMenuFlowIncrement,\r\n actions.CartMenuFlowRemove,\r\n actions.CartMenuFlowUpdate,\r\n actions.CartSimpleItemAdd,\r\n actions.CartSimpleItemDecrement,\r\n actions.CartSimpleItemIncrement,\r\n actions.CartSimpleItemRemove,\r\n actions.CartSimpleItemUpdate\r\n ),\r\n audit(() => timer(10)),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.getCart)\r\n )\r\n ),\r\n switchMap(([action, cartObj]) => {\r\n return iif(\r\n () => cartObj.itemsMenuFlow.length === 0 && cartObj.itemsSimple.length === 0,\r\n never(),\r\n this.isPickupOrderTimeValid$()\r\n .pipe(\r\n switchMap((isValid) => {\r\n return iif(\r\n () => isValid === true,\r\n never(),\r\n of(cartObj)\r\n .pipe(\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.getAllModals)\r\n )\r\n ),\r\n switchMap(([cart, modals]) => {\r\n /* Scenario when cart pickup time is invalid */\r\n console.error('Cart pickup time isn\\'t valid any more!');\r\n\r\n this._modalsService.removeURLQueryParams();\r\n\r\n if (modals.length > 0) {\r\n this._modalsService.closeAll(['alert'], StateModels.MODAL_ANIMATION.NONE); /* Close all modals except alerts */\r\n\r\n this._modalsService.show({\r\n type: 'alert',\r\n animate: StateModels.MODAL_ANIMATION.NONE,\r\n params: {\r\n title: 'Your cart is empty',\r\n body: `Some items you have added to the cart are no longer available. Pickup time has changed.`,\r\n showButton: true,\r\n }\r\n });\r\n }\r\n\r\n return [\r\n actions.CartReset(),\r\n actions.AvailablePickupsCalculateRequest({ locationNo: cart.locationNo }), /* Generate new pickup times */\r\n actions.WizzardUnmountAll(),\r\n ];\r\n })\r\n )\r\n );\r\n })\r\n )\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n private _pickupsService: Services.PickupsService,\r\n ) { }\r\n\r\n public isPickupOrderTimeValid$(date: Date = new Date()): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getOrderingTimeInfoForTodayByCartLocation),\r\n filter(obj => obj !== undefined && obj !== null),\r\n take(1)\r\n )\r\n ),\r\n take(1),\r\n map(([cart, orderingTimeInfo]) => this._pickupsService.validateSelectedPickupTimeObjForOnlineMenu(date, cart.pickupTime, cart.onlineMenu, orderingTimeInfo)),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, withLatestFrom, skipWhile, take } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ProductImagesEffects {\r\n @Effect() requestProductsImagesForMountedMenuFlow$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MenuFlowsDetailsSuccessRequest\r\n ),\r\n /* AOLO-345 */\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlow(action.menuFlowId, action.locationNo)),\r\n skipWhile(menuFlow => menuFlow === undefined || menuFlow === null || menuFlow.isDownloading === true || menuFlow.data === null || menuFlow.hasFailed === true),\r\n take(1),\r\n withLatestFrom(\r\n this._store.select('productImages')\r\n ),\r\n switchMap(([menuFlow, images]) => {\r\n\r\n let productIds: number[] = menuFlow.data.Pages.reduce((acc, page) => {\r\n return acc.concat(page.Products.map(product => product.ProductId));\r\n }, []);\r\n\r\n const filtered: number[] = productIds.filter(productId => !images.find(image => image.ProductId === productId && (image.isDownloading || image.hasSucceeded)));\r\n\r\n return of(actions.ProductImagesRequest({ params: { width: 100, height: 100, }, productIds: filtered }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() onRequestProductImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ProductImagesRequest),\r\n mergeMap(({ params, productIds }) => {\r\n if (productIds.length === 0) return [actions.ProductImagesSuccessRequest({ payload: [], productIds: [] })];\r\n\r\n return this._imagesService.getProductImages(params, ...productIds)\r\n .pipe(\r\n map((payload: APIv1.ImageUrlModel[]) => actions.ProductImagesSuccessRequest({ payload, productIds })),\r\n catchError(ex => of(actions.ProductImagesErrorRequest({ ex, productIds })))\r\n );\r\n\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, Action, select } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, never, of, forkJoin } from 'rxjs';\r\nimport { switchMap, tap, mergeMap, withLatestFrom, take, map, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ReorderEffects {\r\n private _activeModalsWithReordersRegistry: Map = new Map();\r\n\r\n @Effect() public setupModalAndRequestDataForReorder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ReorderSetup\r\n ),\r\n tap(action => this._onlineOrdersService.reorderInitCalculations(action.orderId)),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentPickupTime)\r\n )\r\n ),\r\n switchMap(([action, pickupTime]) => {\r\n const modalId = action.modalId || new Date().getTime();\r\n this._modalsService.show({\r\n type: 'loading',\r\n id: modalId,\r\n orderId: action.orderId,\r\n locationNo: action.locationNo,\r\n });\r\n\r\n this._activeModalsWithReordersRegistry.set(modalId, action.orderId);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getReorder(action.orderId, action.locationNo, pickupTime)),\r\n filter(reorder => reorder !== null && reorder !== undefined && reorder.isDownloading === false),\r\n take(1),\r\n switchMap(reorder => {\r\n if (reorder.hasFailed || !reorder.data) {\r\n console.error(`There was an error during reorder calculations`, reorder);\r\n return never();\r\n }\r\n\r\n this._modalsService.swap(modalId, {\r\n type: 'reorder'\r\n });\r\n\r\n return never();\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() requestDataForReorder$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ReorderCalculateRequest),\r\n switchMap(action => {\r\n return this._store.select(selectors.getReorder(action.orderId, action.locationNo, action.pickupTime))\r\n .pipe(\r\n take(1),\r\n withLatestFrom(\r\n this._store.select(selectors.getCurrentMember),\r\n this._store.select(selectors.getCurrentPickupTime),\r\n this._store.select(selectors.getHistoryOrder(action.orderId)),\r\n ),\r\n switchMap(([reorder, member, currentPickupTime, order]) => {\r\n // if (reorder.data.cart || reorder.data.onlineMenu) return of(new actions.ReorderCalculateSuccessRequest(action.orderId, action.locationNo, action.pickupTime, reorder.data));\r\n\r\n if (!member || !currentPickupTime) {\r\n console.error(`Error in reorder recalc request. Member: ${member}, CurrentPickupTime ${currentPickupTime} - one of these params is not set`);\r\n return of(actions.ReorderCalculateErrorRequest({\r\n orderId: action.orderId,\r\n locationNo: action.locationNo,\r\n pickupTime: action.pickupTime,\r\n ex: new Error(`Error in reorder recalc request. Member: ${member}, CurrentPickupTime ${currentPickupTime} - one of these params is not set`)\r\n }));\r\n }\r\n\r\n const onlineMenuRequestParams: APICommon.IOnlineMenuGetParams = {\r\n locationNo: action.locationNo,\r\n includePrices: true,\r\n memberId: member.MemberId,\r\n menuDate: currentPickupTime.DateLocalISO + 'Z',\r\n };\r\n\r\n const summary: StateModels.IReorderDetails = {\r\n onlineMenu: null,\r\n menuFlowsDetails: [],\r\n ingredients: [],\r\n\r\n errors: null,\r\n cart: null,\r\n };\r\n\r\n return this._onlineMenuService.getMenuPages(onlineMenuRequestParams)\r\n .pipe(\r\n mergeMap(onlineMenu => {\r\n summary.onlineMenu = { ...onlineMenu };\r\n /* Get details about each menuFlow */\r\n const menuFlowsRequests: Observable[] = [];\r\n const relevantMenuFlowsIds: number[] = order.data.MenuFlowActivations.map(menuFlowActivation => menuFlowActivation.MenuFlowId);\r\n\r\n onlineMenu.Pages.forEach(Page => {\r\n Page.Products.forEach(Product => {\r\n if (Product.MenuFlowId && relevantMenuFlowsIds.includes(Product.MenuFlowId)) {\r\n menuFlowsRequests.push(\r\n this._menuFlowsService.getMenuFlowDetailsForLocation(Product.MenuFlowId, action.locationNo)\r\n );\r\n }\r\n });\r\n });\r\n\r\n if (!menuFlowsRequests.length) {\r\n if (this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false) {\r\n summary.ingredients = [];\r\n }\r\n\r\n const finalPayload = Utils.OnlineOrders.covertOrderToCart(order.data, summary.onlineMenu, summary.menuFlowsDetails, summary.ingredients, currentPickupTime);\r\n\r\n return of(actions.ReorderCalculateSuccessRequest({\r\n orderId: action.orderId,\r\n locationNo: action.locationNo,\r\n pickupTime: action.pickupTime,\r\n payload: {\r\n ...summary,\r\n cart: finalPayload.cart,\r\n errors: finalPayload.errors,\r\n }\r\n }));\r\n }\r\n\r\n return forkJoin(menuFlowsRequests)\r\n .pipe(\r\n mergeMap((menuFlowsDetails) => {\r\n summary.menuFlowsDetails = [...menuFlowsDetails];\r\n /* Get details about upsells */\r\n const upsellMenuflowsRequsts = [];\r\n\r\n menuFlowsDetails.forEach((MenuFlow: APIv1.MenuFlowDetailsModel) => {\r\n if (MenuFlow.UpsellMenuFlowId) {\r\n upsellMenuflowsRequsts.push(\r\n this._menuFlowsService.getMenuFlowDetailsForLocation(MenuFlow.UpsellMenuFlowId, action.locationNo)\r\n );\r\n }\r\n });\r\n\r\n return (upsellMenuflowsRequsts.length ? forkJoin(upsellMenuflowsRequsts) : of([]))\r\n .pipe(\r\n mergeMap(upsellsMenuFlowDetails => {\r\n summary.menuFlowsDetails = [\r\n ...summary.menuFlowsDetails,\r\n ...upsellsMenuFlowDetails as APIv1.MenuFlowDetailsModel[],\r\n ];\r\n\r\n /* Get ingredients for all products in menuflows */\r\n let productIds = [];\r\n\r\n summary.menuFlowsDetails.forEach(MenuFlow => {\r\n const currentMenuFlowProductIds = this._menuFlowsService.getFlatProductsFromMenuFlow(MenuFlow).map(Product => Product.ProductId);\r\n productIds = [...productIds, ...currentMenuFlowProductIds];\r\n });\r\n const unduplicatedProductIds = Array.from(new Set(productIds));\r\n /*\r\n Warning - when there are too many IDS, API endpoint will return 404 ERROR. This might need some refactor\r\n */\r\n return this._productsService.getIngredientsForLocationExtended(action.locationNo, ...unduplicatedProductIds)\r\n .pipe(\r\n map(ingredients => {\r\n summary.ingredients = [...ingredients];\r\n\r\n if (this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false) {\r\n summary.ingredients = [];\r\n }\r\n\r\n const finalPayload: OLO.Ordering.IOnlineOrder2CartConverter = Utils.OnlineOrders.covertOrderToCart(order.data, summary.onlineMenu, summary.menuFlowsDetails, summary.ingredients, currentPickupTime);\r\n\r\n return actions.ReorderCalculateSuccessRequest({\r\n orderId: action.orderId,\r\n locationNo: action.locationNo,\r\n pickupTime: action.pickupTime,\r\n payload: {\r\n ...summary,\r\n cart: finalPayload.cart,\r\n errors: finalPayload.errors,\r\n }\r\n });\r\n })\r\n );\r\n\r\n })\r\n );\r\n })\r\n );\r\n\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public cleanupAfterReorderModalsIsClosed$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalClose,\r\n actions.ModalCloseAll,\r\n ),\r\n switchMap(action => {\r\n if (action.type === actions.ModalClose.type) {\r\n const orderId = this._activeModalsWithReordersRegistry.get(action.id);\r\n\r\n if (orderId) {\r\n return of(actions.ReorderUnmount({ orderId }));\r\n }\r\n\r\n return never();\r\n }\r\n\r\n this._activeModalsWithReordersRegistry.clear();\r\n return of(actions.ReorderUnmount({}));\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _onlineMenuService: Services.OnlineMenuService,\r\n private _menuFlowsService: Services.MenuFlowsService,\r\n private _productsService: Services.ProductsService,\r\n private _modalsService: Services.ModalsService,\r\n private _onlineOrdersService: Services.OnlineOrdersService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, throwError, of, never, forkJoin } from 'rxjs';\r\nimport { catchError, switchMap, map, tap, withLatestFrom, filter, take, delay, auditTime, combineLatest } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class RouterEffects {\r\n @Effect({ dispatch: false }) public redirectToHomeOnSuccessfulSignIn$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberJwtDataResponseSuccess\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isEmailConfirmationPage)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isResetPasswordPage)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isError404Page)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isCurrentRouteLoyalty)\r\n )\r\n ),\r\n switchMap(([action, isEmailConfrimationPage, isResetPasswordPage, isError404Page, isLoyaltyPage]) => {\r\n const isLoyaltyModeOnly = this._config.appMode === IAppMode.LOYALTY_ONLY;\r\n\r\n if (isLoyaltyPage && this._config.appMode !== IAppMode.ORDERING_ONLY) {\r\n this._routeService.navigateToProfileLoyaltyHome();\r\n return never();\r\n }\r\n\r\n if (isLoyaltyModeOnly\r\n || isEmailConfrimationPage\r\n || isResetPasswordPage\r\n || isError404Page\r\n ) {\r\n this._routeService.navigateToHomeView();\r\n }\r\n return never();\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _routeService: Services.RouteService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { switchMap, withLatestFrom } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class StateEffects {\r\n @Effect() public saveState$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.StateSave\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getState)\r\n )\r\n ),\r\n switchMap(([action, state]) => {\r\n /* Fixing date objects - convert to timestamp */\r\n if (Utils.Storage.set(OLO.Enums.SESSION_STORAGE.STATE, this._cryptoService.encrypt(JSON.stringify(state)), 'sessionStorage')) {\r\n return of(actions.StateSaveSuccess());\r\n }\r\n\r\n return of(actions.StateSaveError());\r\n }),\r\n );\r\n\r\n @Effect() public restoreSavedState$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.StateRestore\r\n ),\r\n switchMap(({ setProps }) => {\r\n const stateEncrypted: string = Utils.Storage.getItem(OLO.Enums.SESSION_STORAGE.STATE, 'sessionStorage');\r\n\r\n const exit = (error: string) => {\r\n Utils.Storage.remove(OLO.Enums.SESSION_STORAGE.STATE, 'sessionStorage');\r\n console.error(error);\r\n return never();\r\n };\r\n\r\n if (!stateEncrypted) {\r\n return exit('#1 Unable to restore app state! Please check if www to non-www redirects are set properly both on domain and in provider\\'s settings');\r\n }\r\n\r\n const stateDecrypted: string = this._cryptoService.decrypt(stateEncrypted);\r\n if (!stateDecrypted) {\r\n return exit('#2 `Unable to read app state! There was a problem decrypting state: ' + stateEncrypted);\r\n }\r\n\r\n Utils.Storage.remove(OLO.Enums.SESSION_STORAGE.STATE, 'sessionStorage');\r\n\r\n try {\r\n const state: StateModels.IStateShared = JSON.parse(stateDecrypted);\r\n if (!state) {\r\n throw new Error('JSON invalid');\r\n }\r\n\r\n /* Fix dates */\r\n if (state.cart.pickupTime) {\r\n state.cart.pickupTime.Date = new Date(state.cart.pickupTime.Date);\r\n state.cart.pickupTime.PlaceOrderTimeout = new Date(state.cart.pickupTime.PlaceOrderTimeout);\r\n }\r\n\r\n if (state.currentLocation.pickupTime) {\r\n state.currentLocation.pickupTime.Date = new Date(state.currentLocation.pickupTime.Date);\r\n state.currentLocation.pickupTime.PlaceOrderTimeout = new Date(state.currentLocation.pickupTime.PlaceOrderTimeout);\r\n }\r\n\r\n if (state.availablePickups.length) {\r\n state.availablePickups = state.availablePickups.map(obj => {\r\n return {\r\n ...obj,\r\n data: obj.data.map(pickup => {\r\n return {\r\n ...pickup,\r\n Date: new Date(pickup.Date),\r\n PlaceOrderTimeout: new Date(pickup.PlaceOrderTimeout),\r\n };\r\n })\r\n };\r\n });\r\n }\r\n\r\n if (setProps !== null) {\r\n Object.keys(setProps).forEach(key => {\r\n state[key] = setProps[key];\r\n });\r\n }\r\n\r\n return of(actions.StateRestored({ state }));\r\n\r\n } catch (ex) {\r\n console.error(ex);\r\n return exit('Unable to rebuild app state!');\r\n }\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _cryptoService: Services.CryptoService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { switchMap, withLatestFrom, skipWhile } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class TopBarEffects {\r\n @Effect() public onRouteChange$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ROUTER_NAVIGATION),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.getCurrentRoute),\r\n skipWhile(route => route === null),\r\n ),\r\n (action, route) => route\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config))\r\n )\r\n ),\r\n switchMap(([route, isOnLocationPage]) => {\r\n /*\r\n TODO:\r\n Cover more cases and show different back buttons\r\n */\r\n\r\n let showOrderMore: boolean = /(sign-in|sign-up|account\\/profile|checkout)/gi.test(route.url);\r\n let showCartIcon: boolean = !(/(checkout)/gi.test(route.url) || route.urlAfterRedirects === '/checkout/summary');\r\n return [\r\n actions.TopBarSetBackToStoreIconVisibility({ isVisible: showOrderMore }),\r\n actions.TopBarSetBackToLandingIconVisibility({ isVisible: isOnLocationPage }),\r\n actions.TopBarSetCartIconVisibility({ isVisible: showCartIcon }),\r\n ];\r\n })\r\n );\r\n\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\nimport { Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as selectors from '../selectors';\r\nimport * as actions from '../actions';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { catchError, exhaustMap, map, withLatestFrom, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class VenueImagesEffects {\r\n @Effect() public requestImagesForVenues$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.VenueImagesRequest\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(\r\n selectors.getAllVenueImages\r\n )\r\n )\r\n ),\r\n exhaustMap(([action, images]) => {\r\n const { imageType, height, width, ids } = action;\r\n let targetImageType: string = Utils.Images.toImageTypeString(imageType);\r\n /*\r\n Prevent from redownloading same image\r\n */\r\n const imagesFiltered = {\r\n downloaded: [],\r\n required: [],\r\n };\r\n\r\n ids.forEach(id => {\r\n const img = images[targetImageType].find(obj => obj.Id === id);\r\n\r\n if (img.data) {\r\n imagesFiltered.downloaded.push(img);\r\n } else {\r\n imagesFiltered.required.push(img.Id);\r\n }\r\n });\r\n\r\n if (imagesFiltered.downloaded.length) {\r\n this._store.dispatch(actions.VenueImagesSuccessRequest({ imageType, ids: imagesFiltered.downloaded.map(img => img.Id), payload: imagesFiltered.downloaded }));\r\n }\r\n\r\n return this._imagesService.getVenueImagesByType({ imageType, height, width }, ...imagesFiltered.required)\r\n .pipe(\r\n switchMap(payload => {\r\n if (this._config.predownloadImages && this._config.predownloadImages.forVenue) {\r\n return forkJoin(\r\n ...payload.map(img => this._imagesService.preloadImageInMemory(img.ImageUrl)),\r\n ).pipe(\r\n map(() => {\r\n return actions.VenueImagesSuccessRequest({ imageType, ids: imagesFiltered.required, payload });\r\n }),\r\n );\r\n }\r\n\r\n return of(actions.VenueImagesSuccessRequest({ imageType, ids: imagesFiltered.required, payload }));\r\n\r\n }),\r\n catchError(ex => of(actions.VenueImagesErrorRequest({ imageType, ids: imagesFiltered.required, ex })))\r\n );\r\n }\r\n\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as StateModels from '../interface';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { delay, tap, exhaustMap, switchMap, map, filter, skipWhile, take, withLatestFrom, combineLatest, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class WizzardEffects {\r\n private readonly _queryModalIds: number[] = [];\r\n\r\n @Effect() public cancelWizzard$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardCancel\r\n ),\r\n switchMap(action => {\r\n this._modalsService.close(action.modalId);\r\n return of(actions.WizzardUnmountAll());\r\n })\r\n );\r\n\r\n @Effect() public initWizzardFlow$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardSetupItem\r\n ),\r\n switchMap(action => {\r\n /* MenuFlow */\r\n if (action.item.MenuFlowId) return of(actions.WizzardStepMenuFlowInit(action.locationNo, action.item, action.modalId));\r\n\r\n /* Simple item */\r\n if (!action.item.hasOwnProperty('_Id')) {\r\n /* New */\r\n return of(\r\n actions.WizzardStepSimpleItemMount(Utils.Items.convertToSanitizedSimpleItem({ ...action.item }, action.locationNo), action.modalId)\r\n );\r\n }\r\n\r\n /* Edit */\r\n return of(\r\n actions.WizzardStepSimpleItemMount(\r\n Utils.Items.convertToSanitizedSimpleItem(action.item as StateModels.ICartSimpleItem),\r\n action.modalId\r\n )\r\n );\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public showModalForSimpleItem$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepSimpleItemMount\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getAllModals)\r\n )\r\n ),\r\n switchMap(([{ item, modalId }, modals]) => {\r\n if (modalId && modals.find(obj => obj.id === modalId)) {\r\n this._modalsService.swap(modalId, {\r\n type: 'product',\r\n locationNo: item.LocationNo,\r\n menuFlowId: item.MenuFlowId,\r\n isLoading: false,\r\n\r\n });\r\n } else {\r\n this._modalsService.show({\r\n id: modalId || null,\r\n type: 'product',\r\n locationNo: item.LocationNo,\r\n productId: item.ProductId,\r\n });\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public stepInitMenuFlowWizzard$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowInit,\r\n ),\r\n switchMap(action => {\r\n const modalMenuFlowPreSetup = () => {\r\n const modalId: number = action.modalId ? action.modalId : new Date().getTime() + Math.floor(Math.random() * 1000);\r\n\r\n this._modalsService.show({\r\n id: modalId,\r\n type: 'loading',\r\n menuFlowId: action.item.MenuFlowId || null,\r\n locationNo: action.locationNo,\r\n });\r\n\r\n return of(\r\n actions.WizzardStepMenuFlowRequestData({ locationNo: action.locationNo, item: action.item, modalId })\r\n );\r\n };\r\n\r\n /* Check if item is edited - no need to check online menu - context is in cart's model */\r\n if (action.item.hasOwnProperty('_Id') && action.item['_Id']) {\r\n return modalMenuFlowPreSetup();\r\n }\r\n\r\n /* Wait for online menu to be downloaded - current location context */\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenu),\r\n filter(onlineMenu => onlineMenu.isDownloading === false && onlineMenu.data !== null),\r\n take(1),\r\n switchMap(onlineMenu => modalMenuFlowPreSetup())\r\n );\r\n })\r\n );\r\n\r\n @Effect() public stepSilentInitMenuFlowWizzard$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardSilentSetupItem,\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenu),\r\n filter(onlineMenu => onlineMenu.isDownloading === false && onlineMenu.data !== null),\r\n take(1),\r\n tap(() => {\r\n this._modalsService.show({\r\n id: -1,\r\n type: 'loading',\r\n menuFlowId: action.item.MenuFlowId || null,\r\n locationNo: action.locationNo,\r\n });\r\n }),\r\n switchMap(onlineMenu => of(\r\n actions.WizzardStepMenuFlowRequestData({ locationNo: action.locationNo, item: action.item, modalId: -1 })\r\n ))\r\n );\r\n })\r\n );\r\n\r\n @Effect() public stepRequestData$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowRequestData,\r\n ),\r\n tap(action => {\r\n this._store.dispatch(actions.MenuFlowsDetailsRequest({ menuFlowId: action.item.MenuFlowId, locationNo: action.locationNo }));\r\n }),\r\n delay(100),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlow(action.item.MenuFlowId, action.locationNo)),\r\n filter(menuFlow => menuFlow.data !== null && menuFlow.isDownloading === false && menuFlow.hasFailed === false),\r\n take(1),\r\n switchMap(menuFlow => {\r\n /* Edit */\r\n if ((action.item as StateModels.ICartMenuFlow)._Id) {\r\n return of(\r\n actions.WizzardStepMenuFlowMount({\r\n locationNo: action.locationNo,\r\n menuFlowId: action.item.MenuFlowId,\r\n item: action.item as StateModels.ICartMenuFlow,\r\n modalId: action.modalId\r\n }\r\n )\r\n );\r\n }\r\n\r\n /* New */\r\n return of(\r\n actions.WizzardStepMenuFlowActivateProducts({\r\n locationNo: action.locationNo,\r\n item: action.item,\r\n modalId: action.modalId\r\n }\r\n ),\r\n );\r\n }),\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public stepActivateMenuFlowProducts$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowActivateProducts,\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n delay(100),\r\n select(selectors.getMenuFlow(action.item.MenuFlowId, action.locationNo)),\r\n combineLatest(\r\n this._store.pipe(select(selectors.isDownloadingAnyMenuFlowDefaultActivation)),\r\n this._store.pipe(select(selectors.isDownloadingAnyIngredientModifiers)),\r\n ),\r\n filter(([menuFlow, downloadingIngredients, downloadingActivations]) => downloadingIngredients === false && downloadingActivations === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getMenuFlowDefaultActivation(action.item.MenuFlowId))),\r\n this._store.select(selectors.getOnlineMenuItemById(action.item.MenuFlowId)),\r\n this._store.select(selectors.getIngredientsByLocationNo(action.locationNo))\r\n ),\r\n switchMap(([[menuFlow, downloadingIngredients, downloadingActivations], defaultActivations, onlineMenuItem, modifiers]) => {\r\n /* New */\r\n const menuFlowItem: StateModels.IWizzardMenuFlow = Utils.Items.createMenuFlowItemFromMenuFlowDetailsModel((menuFlow as StateModels.IMenuFlows).data, {\r\n MenuFlowId: action.item.MenuFlowId,\r\n LocationNo: action.locationNo as number,\r\n DisplayName: onlineMenuItem.DisplayName,\r\n Quantity: onlineMenuItem.MinQty || 1,\r\n DietaryTags: onlineMenuItem.DietaryTags,\r\n Tags: onlineMenuItem.Tags,\r\n Kilojoules: onlineMenuItem.Kilojoules,\r\n PosDisplay: onlineMenuItem.PosDisplay,\r\n PosDescription: onlineMenuItem.PosDescription,\r\n UnitTotalValue: null,\r\n UnitPrice: null,\r\n });\r\n\r\n /*\r\n Proper default activation\r\n */\r\n menuFlow.data.Pages.forEach(Page => {\r\n Page.Products.forEach(Product => {\r\n\r\n const canActivate: boolean = Product.State === 0 && Number.isInteger(Product.KioskAutoAddQty) && Product.KioskAutoAddQty > 0;\r\n if (canActivate) {\r\n\r\n const targetPage: StateModels.IWizzardMenuFlowPage = menuFlowItem.Pages.find(obj => obj.PageIdentifier === Page.PageIdentifier);\r\n if (targetPage) {\r\n const canUseModifiers = this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false ? false : true;\r\n const modifier = modifiers.find(obj => obj.ProductId === Product.ProductId && obj.data !== null);\r\n const product: StateModels.IWizzardMenuFlowItem = Utils.Items.generateWizzardMenuFlowItem(Product, modifier && modifier.data ? modifier.data : null, {\r\n Quantity: Product.KioskAutoAddQty,\r\n\r\n ...(canUseModifiers === true ? {} : {\r\n IngredientsChanges: {\r\n IngredientsModified: [],\r\n IngredientsAdded: [],\r\n IngredientsRemoved: [],\r\n IngredientsSwapped: [],\r\n }\r\n })\r\n\r\n });\r\n\r\n targetPage.Products.push(\r\n product\r\n );\r\n\r\n targetPage._AutoAddProducts.push({\r\n ...product\r\n });\r\n }\r\n }\r\n });\r\n });\r\n\r\n return of(\r\n actions.WizzardStepMenuFlowMount({\r\n locationNo: action.locationNo,\r\n menuFlowId: action.item.MenuFlowId,\r\n item: menuFlowItem,\r\n modalId: action.modalId\r\n }\r\n )\r\n );\r\n\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public stepMountMenuFlow$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowMount\r\n ),\r\n switchMap(action => {\r\n if (action.modalId && action.modalId !== -1) {\r\n this._modalsService.swap(action.modalId, {\r\n type: action.item.IsUpsell ? 'upsell' : Utils.MenuFlows.extractType(action.item.Tags),\r\n });\r\n\r\n return never();\r\n }\r\n\r\n /* Add as is scenario */\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlowDetailsByWizzard),\r\n take(1),\r\n tap(menuFlowDetails => {\r\n if (menuFlowDetails) {\r\n this._store.dispatch(actions.WizzardRecalculatePricesForMenuFlowRequest({ menuFlowDetails, wizzardMenuFlowDetails: action.item }));\r\n }\r\n }),\r\n switchMap(menuFlowDetails => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzard),\r\n delay(10),\r\n filter(wizzard => wizzard.recalculatePrices.hasSucceeded === true),\r\n take(1),\r\n switchMap(wizzard => of(actions.CartSetup({ modalId: action.modalId, locationNo: wizzard.itemsMenuFlow.LocationNo, item: wizzard.itemsMenuFlow })))\r\n );\r\n }),\r\n );\r\n })\r\n );\r\n\r\n /* Upsell request is dispatched from cartEffects after cart and location valiation */\r\n @Effect() public onUpsellSetupRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardMenuFlowUpsellSetupRequest\r\n ),\r\n tap(({ menuFlowId, locationNo, modalId }) => {\r\n this._modalsService.swap(modalId, {\r\n type: 'loading',\r\n locationNo: locationNo,\r\n menuFlowId: menuFlowId,\r\n });\r\n\r\n this._store.dispatch(actions.MenuFlowsDetailsRequest({ menuFlowId, locationNo }));\r\n }),\r\n delay(50),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlow(action.menuFlowId, action.locationNo)),\r\n combineLatest(\r\n this._store.pipe(select(selectors.isDownloadingAnyMenuFlowDefaultActivation)),\r\n this._store.pipe(select(selectors.isDownloadingAnyIngredientModifiers)),\r\n this._store.pipe(select(selectors.wizzardRecalculatePricesObj))\r\n ),\r\n filter(([menuFlow, isDownloadingAnyMenuFlowDefaultActivation, isDownloadingAnyIngredientModifiers, recalculatePrices]) => menuFlow.isDownloading === false\r\n && menuFlow.data !== null\r\n && isDownloadingAnyIngredientModifiers === false\r\n && isDownloadingAnyMenuFlowDefaultActivation === false\r\n && recalculatePrices.isCalculating !== true && recalculatePrices.hasSucceeded !== true\r\n ),\r\n take(1),\r\n switchMap(([menuFlow]) => {\r\n const item: StateModels.IWizzardMenuFlow = Utils.Items.createMenuFlowItemFromMenuFlowDetailsModel(menuFlow.data, {\r\n IsUpsell: true,\r\n _Id: null,\r\n LocationNo: action.locationNo,\r\n Quantity: 1,\r\n PosDisplay: menuFlow.data.MenuFlowDescription || menuFlow.data.MenuFlowName,\r\n PosDescription: menuFlow.data.MenuFlowDescription || menuFlow.data.MenuFlowName,\r\n UnitTotalValue: null,\r\n UnitPrice: menuFlow.data.OverridePrice || 0,\r\n });\r\n\r\n return of(\r\n actions.WizzardMountMenuFlowUpsell({ item, modalId: action.modalId })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public setWizzardForUpsell$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardMountMenuFlowUpsell,\r\n ),\r\n switchMap(action => {\r\n this._modalsService.swap(action.modalId, {\r\n type: 'upsell',\r\n });\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public onWizzardProductSelectedActivateDefaultModifier$ = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardMenuFlowAddProduct\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow)\r\n )\r\n ),\r\n switchMap(([action, wizzardMenuFlow]) => {\r\n const pageIdentifier = action.pageIdentifier;\r\n const productId = action.product.ProductId;\r\n const locationNo = wizzardMenuFlow.LocationNo;\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getIngredientsForProduct(productId, locationNo)),\r\n skipWhile(ingredient => ingredient === undefined),\r\n filter(ingredient => ingredient.hasSucceeded === true && ingredient.data !== null && ingredient.data.Ingredients !== null && ingredient.data.Ingredients.length !== 0),\r\n take(1),\r\n map(ingredient => ({\r\n ingredient: ingredient.data.Ingredients[0],\r\n pageIdentifier,\r\n product: action.product,\r\n wizzardMenuFlow,\r\n }))\r\n );\r\n }),\r\n switchMap(({ ingredient, pageIdentifier, product, wizzardMenuFlow }) => {\r\n /* TODO!!!! What to do if modifier is optional? For now, just select first */\r\n if (this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false) return never();\r\n\r\n // Model has changed, there is no IsOptional flag in our api model\r\n // if (ingredient.IsOptional || !ingredient.IsOptional) {\r\n // return of(actions.WizzardMenuFlowSelectModifier({ modifier: ingredient.Modifiers[0], pageIdentifier, productId: product.ProductId }));\r\n // }\r\n if (ingredient) {\r\n return of(actions.WizzardMenuFlowSelectModifier({ modifier: ingredient.Modifiers[0], pageIdentifier, productId: product.ProductId }));\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n\r\n @Effect() public requestPricesUpdateWizzardMenuFlowPricesOnChange$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowMount,\r\n actions.WizzardMenuFlowSpecialInstructions,\r\n actions.WizzardMenuFlowRemoveProduct,\r\n actions.WizzardMenuFlowAddProduct,\r\n actions.WizzardMenuFlowProductIncrement,\r\n actions.WizzardMenuFlowProductDecrement,\r\n actions.WizzardMenuFlowIncrement,\r\n actions.WizzardMenuFlowDecrement,\r\n actions.WizzardMenuFlowSelectModifier,\r\n\r\n actions.WizzardMountMenuFlowUpsell,\r\n // actions.WizzardMenuFlowUpsellSetupRequest,\r\n actions.WizzardMenuFlowReplaceAllWithNew,\r\n ),\r\n switchMap(() => this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow),\r\n filter(wizzardMenuFlow => wizzardMenuFlow !== null && wizzardMenuFlow !== undefined),\r\n take(1),\r\n switchMap(wizzardMenuFlow => {\r\n\r\n return this._store.select(selectors.getMenuFlow(wizzardMenuFlow.MenuFlowId, wizzardMenuFlow.LocationNo))\r\n .pipe(\r\n filter(menuFlow => menuFlow !== null && menuFlow !== undefined && menuFlow.hasSucceeded === true && menuFlow.data !== null),\r\n take(1),\r\n map(menuFlow => {\r\n return actions.WizzardRecalculatePricesForMenuFlowRequest({ menuFlowDetails: menuFlow.data, wizzardMenuFlowDetails: wizzardMenuFlow });\r\n // return actions.WizzardRecalculatePricesForMenuFlowSuccessRequest({ priceObj: Utils.Pricing.calculatePricesFroMenuFlow(menuFlow.data, wizzardMenuFlow) });\r\n }),\r\n );\r\n }),\r\n )\r\n ),\r\n );\r\n\r\n @Effect() public updatePricesWizzardMenuFlowDetaisl$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardRecalculatePricesForMenuFlowRequest\r\n ),\r\n switchMap(({ menuFlowDetails, wizzardMenuFlowDetails }) => {\r\n const priceObj: OLO.Ordering.IPricingMenuFlow = Utils.Pricing.calculatePricesFroMenuFlow(menuFlowDetails, wizzardMenuFlowDetails);\r\n\r\n if (priceObj.HasErrors) {\r\n console.error('Adding to cart menu flow with bad price setup has been disabled');\r\n return of(\r\n actions.WizzardRecalculatePricesForMenuFlowErrorRequest({ menuFlowDetails, wizzardMenuFlowDetails, ex: 'Setup issue' })\r\n );\r\n }\r\n\r\n return of(\r\n actions.WizzardRecalculatePricesForMenuFlowSuccessRequest({ menuFlowDetails, wizzardMenuFlowDetails, priceObj })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public validateErrorsOnWizzardChange$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardMenuFlowRemoveProduct,\r\n actions.WizzardMenuFlowAddProduct,\r\n actions.WizzardMenuFlowProductIncrement,\r\n actions.WizzardMenuFlowProductDecrement,\r\n actions.WizzardMenuFlowIncrement,\r\n actions.WizzardMenuFlowDecrement,\r\n ),\r\n withLatestFrom(\r\n this._store.select(selectors.getWizzardErrors),\r\n this._store.select(selectors.getMenuFlowDetailsByWizzard),\r\n this._store.select(selectors.getWizzardMenuFlow),\r\n ),\r\n switchMap(([action, errors, menuFlow, wizzardMenuFlow]) => {\r\n if (errors && errors.length > 0) {\r\n return of(actions.WizzardValidate({ errors: this._wizzardService.validateWizzardItems(menuFlow, wizzardMenuFlow) }));\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public openWizzardByUrlParams$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesSuccessRequest\r\n ),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n filter(location => location !== undefined),\r\n take(1),\r\n )\r\n ),\r\n switchMap(([action, locationNo]) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.canOrderFromLocation(locationNo, this._config)),\r\n filter(canOrder => canOrder !== null),\r\n take(1),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n filter(isLocationDetailsView => isLocationDetailsView !== null),\r\n take(1),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentRouteQueryParams),\r\n take(1),\r\n )\r\n\r\n ),\r\n switchMap(([canOrder, isLocationDetailsView, params]) => {\r\n const exit = () => {\r\n if (params && isLocationDetailsView && action.locationNo === locationNo) {\r\n this._queryParamsService.clearQueryParams('menuFlowId', 'productId', 'menuflowId', 'menuflowid', 'productid');\r\n }\r\n return never();\r\n };\r\n if (!canOrder || !locationNo || !isLocationDetailsView || !params || Object.keys(params).length === 0 || action.locationNo !== locationNo) return exit();\r\n\r\n const transformedParams: { menuflowid?: number; productid?: number; } = {};\r\n Object.keys(params).forEach(param => {\r\n transformedParams[param.toLowerCase()] = +params[param];\r\n });\r\n\r\n const menuFlowId: number = transformedParams.menuflowid || null;\r\n const productId: number = transformedParams.productid || null;\r\n\r\n if (!menuFlowId && !productId) return exit();\r\n\r\n let product: StateModels.ICartMenuFlow | StateModels.ICartSimpleItem | APIv1.OnlineMenuProductResponseModel = null;\r\n for (let i = 0, j = action.payload.Pages.length; i < j; i++) {\r\n if (product) break;\r\n\r\n const page: APIv1.OnlineMenuPageResponseModel = action.payload.Pages[i];\r\n for (let k = 0, l = page.Products.length; k < l; k++) {\r\n if (product) break;\r\n\r\n const pageProduct = page.Products[k];\r\n if (menuFlowId && pageProduct.MenuFlowId === menuFlowId) {\r\n product = pageProduct;\r\n break;\r\n }\r\n\r\n if (productId && pageProduct.ProductId === productId) {\r\n product = pageProduct;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (!product) return exit();\r\n\r\n const modalId: number = Math.floor(Math.random() * 1000000) + new Date().getTime();\r\n this._queryModalIds.push(modalId);\r\n\r\n return of(actions.WizzardSetupItem(locationNo, product, modalId));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public removeQueryParamsOnQueryModalClose$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalClose,\r\n actions.ModalCloseAll,\r\n ),\r\n switchMap(action => {\r\n let unmountWizzard: boolean = false;\r\n\r\n if (this._queryModalIds.length) {\r\n if (action.type === actions.ModalCloseAll.type) {\r\n unmountWizzard = true;\r\n this._queryModalIds.length = 0;\r\n } else {\r\n const index = this._queryModalIds.indexOf(action.id);\r\n if (index !== -1) {\r\n unmountWizzard = true;\r\n this._queryModalIds.splice(index, 1);\r\n }\r\n }\r\n }\r\n\r\n if (unmountWizzard) {\r\n this._queryParamsService.clearQueryParams('menuFlowId', 'productId');\r\n return of(actions.WizzardUnmountAll());\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n private _wizzardService: Services.WizzardService,\r\n private _queryParamsService: Services.QueryParamsService,\r\n ) { }\r\n\r\n}\r\n","import { MetaReducer, Action } from '@ngrx/store';\r\nimport { IStateShared } from './interface';\r\n\r\nimport { __devMetaReducer } from './dev/dev.meta-reducers';\r\nimport { resetMetaReducer } from './reset/reset.meta-reducers';\r\n// import { routerMetaReducer } from './router/router.meta-reducers';\r\nimport { stateMetaReducer } from './state/state.meta-reducer';\r\n\r\nexport {\r\n __devMetaReducer,\r\n resetMetaReducer,\r\n // routerMetaReducer,\r\n stateMetaReducer,\r\n};\r\n\r\nexport const stateMetaReducers: MetaReducer[] = [\r\n __devMetaReducer,\r\n resetMetaReducer,\r\n // routerMetaReducer,\r\n stateMetaReducer,\r\n];\r\n","import { ActionReducer, Action } from '@ngrx/store';\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as actions from './dev.actions';\r\n\r\nexport function __devMetaReducer(reducer: ActionReducer): ActionReducer {\r\n return function newReducer(state: StateModels.IStateShared, action: Action): StateModels.IStateShared {\r\n\r\n switch (action.type) {\r\n case '[__DevSetState] Set state':\r\n return {\r\n ...state,\r\n ...(action as any).state,\r\n };\r\n\r\n default: {\r\n return reducer(state, action);\r\n }\r\n }\r\n };\r\n}\r\n","import { ActionReducer, Action } from '@ngrx/store';\r\nimport * as StateModels from '../interface';\r\n\r\nexport function resetMetaReducer(reducer: ActionReducer): ActionReducer {\r\n return function (state: StateModels.IStateShared, action: Action): StateModels.IStateShared {\r\n switch (action.type) {\r\n case 'RESET':\r\n return reducer(undefined, action);\r\n\r\n default: {\r\n return reducer(state, action);\r\n }\r\n }\r\n };\r\n}\r\n","import { ActionReducer, Action } from '@ngrx/store';\r\nimport * as StateModels from '../interface';\r\n\r\n/* This meta reducer should be attached directly into root Store */\r\n\r\nexport function stateMetaReducer(reducer: ActionReducer): ActionReducer {\r\n return function newReducer(state: StateModels.IStateShared, action: Action): StateModels.IStateShared {\r\n\r\n switch (action.type) {\r\n case '[State] Restored':\r\n return { ...(action as any).state };\r\n\r\n default: {\r\n return reducer(state, action);\r\n }\r\n }\r\n };\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './app-settings.actions';\r\n\r\nimport { IAppSettings } from './app-settings.interface';\r\n\r\nconst initialState: IAppSettings = {\r\n isOnline: true,\r\n hasInitialized: false,\r\n locationMode: null,\r\n deviceType: null,\r\n apiSettings: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n};\r\n\r\nexport function appSettingsReducer(state: IAppSettings | undefined, action: Action) {\r\n return createReducer(\r\n initialState,\r\n on(\r\n actions.AppSettingsSetOnlineStatus,\r\n (state, action) => ({\r\n ...state,\r\n isOnline: action.online,\r\n })\r\n ),\r\n on(\r\n actions.AppSettingsRequest,\r\n state => ({\r\n ...state,\r\n apiSettings: {\r\n ...state.apiSettings,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.AppSettingsSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n apiSettings: {\r\n ...state.apiSettings,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.AppSettingsErrorRequest,\r\n state => ({\r\n ...state,\r\n apiSettings: {\r\n ...state.apiSettings,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.SetApplicationInitFlag,\r\n state => ({\r\n ...state,\r\n hasInitialized: true,\r\n })\r\n ),\r\n on(\r\n actions.SetApplicationMode,\r\n (state, action) => ({\r\n ...state,\r\n locationMode: action.mode,\r\n })\r\n ),\r\n on(\r\n actions.SetDeviceType,\r\n (state, { deviceType }) => ({\r\n ...state,\r\n deviceType,\r\n })\r\n )\r\n )(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './available-pickups.actions';\r\nimport { IAvailablePickup } from './available-pickups.interface';\r\n\r\nconst initialState: IAvailablePickup[] = [];\r\n\r\nexport const availablePickupsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.AvailablePickupsCalculateRequest,\r\n (state, action) => {\r\n const foundObj = state.find(obj => obj.locationNo === action.locationNo);\r\n\r\n if (!foundObj) {\r\n return [\r\n ...state,\r\n {\r\n locationNo: action.locationNo,\r\n isCalculating: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isCalculating: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.AvailablePickupsCalculateSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isCalculating: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n data: action.payload,\r\n calculatedDate: new Date().getTime(),\r\n };\r\n }\r\n return obj;\r\n }),\r\n ),\r\n on(\r\n actions.AvailablePickupsCalculateErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isCalculating: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n })\r\n )\r\n);\r\n\r\nexport function availablePickupsReducer(state: IAvailablePickup[] | undefined, action: Action) {\r\n return availablePickupsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './cart.actions';\r\n\r\nimport { ICart } from './cart.interface';\r\n\r\nimport * as State from '@shared/state/interface';\r\n\r\nconst initialState: ICart = {\r\n locationNo: null,\r\n pickupTime: null,\r\n onlineMenu: null,\r\n itemsMenuFlow: [],\r\n itemsSimple: [],\r\n // pendingCartClear: false,\r\n};\r\n\r\nexport const cartReducerFn = createReducer(\r\n initialState,\r\n\r\n on(\r\n actions.CartLoad,\r\n (state, action) => {\r\n let json = action.cart;\r\n if (!json) return {\r\n ...state,\r\n };\r\n /* Convert string dates to object dates */\r\n if (json.pickupTime && json.pickupTime.Date && json.pickupTime.PlaceOrderTimeout) {\r\n json = {\r\n ...json,\r\n pickupTime: {\r\n ...json.pickupTime,\r\n Date: new Date(json.pickupTime.Date),\r\n PlaceOrderTimeout: new Date(json.pickupTime.PlaceOrderTimeout),\r\n }\r\n };\r\n }\r\n\r\n return json;\r\n }\r\n ),\r\n on(\r\n actions.CartSetOnlineMenu,\r\n (state, action) => ({\r\n ...state,\r\n onlineMenu: JSON.parse(JSON.stringify(action.onlineMenu)),\r\n })\r\n ),\r\n on(\r\n actions.CartSetPickupTime,\r\n (state, action) => ({\r\n ...state,\r\n pickupTime: {\r\n ...action.pickupTime,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CartSetLocationNo,\r\n (state, action) => ({\r\n ...state,\r\n locationNo: action.locationNo\r\n })\r\n ),\r\n // on(\r\n // actions.CartSetPendingClear,\r\n // (state, action) => ({\r\n // ...state,\r\n // pendingCartClear: true,\r\n // })\r\n // ),\r\n on(\r\n actions.CartReset,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: [],\r\n itemsSimple: [],\r\n // pendingCartClear: false,\r\n\r\n /* Here? */\r\n pickupTime: null,\r\n locationNo: null,\r\n onlineMenu: null,\r\n })\r\n ),\r\n on(\r\n actions.CartRemoveAllItems,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: [],\r\n itemsSimple: [],\r\n })\r\n ),\r\n on(\r\n actions.CartSimpleItemAdd,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const newItemsArray = state.itemsSimple.map((obj: State.ICartSimpleItemExtended) => {\r\n if (obj.Plu === action.item.Plu && obj.UnitPrice === action.item.UnitPrice && obj.SpecialInstructions === action.item.SpecialInstructions) {\r\n found = true;\r\n return {\r\n ...obj,\r\n Quantity: obj.Quantity + action.item.Quantity,\r\n };\r\n }\r\n\r\n return obj;\r\n });\r\n\r\n if (!found) {\r\n newItemsArray.push({\r\n ...action.item\r\n });\r\n }\r\n\r\n return {\r\n ...state,\r\n itemsSimple: newItemsArray\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CartSimpleItemUpdate,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: state.itemsSimple.map(item => {\r\n if (item._Id === action.item._Id) {\r\n return {\r\n ...item,\r\n ...action.item,\r\n };\r\n }\r\n\r\n return item;\r\n }),\r\n })\r\n ),\r\n on(\r\n actions.CartSimpleItemRemove,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: state.itemsSimple.filter(item => item._Id !== action.tempItemId)\r\n })\r\n ),\r\n on(\r\n actions.CartSimpleItemDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: state.itemsSimple.map(item => {\r\n if (item._Id === action.tempItemId) {\r\n return {\r\n ...item,\r\n Quantity: item.Quantity - action.changeValue,\r\n };\r\n }\r\n\r\n return item;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CartSimpleItemIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: state.itemsSimple.map(item => {\r\n if (item._Id === action.tempItemId) {\r\n return {\r\n ...item,\r\n Quantity: item.Quantity + action.changeValue,\r\n };\r\n }\r\n\r\n return item;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowAdd,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: [\r\n ...state.itemsMenuFlow,\r\n {\r\n ...action.item,\r\n }\r\n ]\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowUpdate,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: state.itemsMenuFlow.map(item => {\r\n if (item._Id === action.item._Id) {\r\n return {\r\n ...item,\r\n ...action.item,\r\n };\r\n }\r\n return item;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowRemove,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: state.itemsMenuFlow.filter(item => item._Id !== action.tempId),\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: state.itemsMenuFlow.map(item => {\r\n if (item._Id === action.tempId) {\r\n return {\r\n ...item,\r\n Quantity: item.Quantity - action.changeValue,\r\n };\r\n }\r\n return item;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: state.itemsMenuFlow.map(item => {\r\n if (item._Id === action.tempId) {\r\n return {\r\n ...item,\r\n Quantity: item.Quantity + action.changeValue,\r\n };\r\n }\r\n return item;\r\n })\r\n })\r\n ),\r\n);\r\n\r\nexport function cartReducer(state: ICart | undefined, action: Action) {\r\n return cartReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './cart-popup.actions';\r\n\r\nimport { ICartPopup } from './cart-popup.interface';\r\n\r\nconst initialState: ICartPopup = {\r\n isVisible: false,\r\n animation: null,\r\n};\r\n\r\nexport function cartPopupReducer(state: ICartPopup | undefined, action: Action) {\r\n return createReducer(\r\n initialState,\r\n on(\r\n actions.SetCartPopup,\r\n (state, action) => ({\r\n ...state,\r\n ...action.options,\r\n })\r\n ),\r\n )(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { ICreditCards } from './credit-cards.interface';\r\nimport * as actions from './credit-cards.actions';\r\n\r\nconst initialState: ICreditCards = {\r\n activeCardId: null,\r\n activeCardToken: null,\r\n activeCardRedirectUrl: null,\r\n sessionToken: null,\r\n showAddCardForm: false, /* WARNING! This is just to show cc form on UI! Shouldn't be here!!! Boldman's idea. I've renamed it to showAddCardForm from isAddingNewCard */\r\n data: [],\r\n download: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n },\r\n add: {\r\n isAdding: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n remove: {\r\n id: null,\r\n isRemoving: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n removedDate: null,\r\n },\r\n token: {\r\n isGettingToken: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n validation: { /* Required card validation after payment express rediredc return */\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n};\r\n\r\nexport const creditCardReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.CreditCardsClearAllUnsavedCards,\r\n state => ({\r\n ...state,\r\n data: state.data.filter(obj => !(obj._SaveAwait === true && obj.Id === null) && !(obj.Id === null && obj.Token === null)),\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsStateReset,\r\n (state, action) => ({\r\n ...state,\r\n ...JSON.parse(JSON.stringify(initialState))\r\n })\r\n ),\r\n on(\r\n actions.CreditCardTokenDataReset,\r\n (state, action) => {\r\n return {\r\n ...JSON.parse(JSON.stringify(initialState)),\r\n showAddCardForm: true,\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsResetError,\r\n (state, action) => ({\r\n ...state,\r\n download: {\r\n ...state.download,\r\n hasFailed: false,\r\n },\r\n token: {\r\n ...state.token,\r\n hasFailed: false,\r\n },\r\n remove: {\r\n ...state.remove,\r\n hasFailed: false,\r\n },\r\n add: {\r\n ...state.add,\r\n hasFailed: false,\r\n },\r\n validation: {\r\n ...state.validation,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardShowForm,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n showAddCardForm: action.isAdding,\r\n };\r\n }\r\n ),\r\n on(\r\n actions.SelectActiveCreditCardId,\r\n (state, action) => ({\r\n ...state,\r\n activeCardId: action.cardId,\r\n activeCardToken: null,\r\n })\r\n ),\r\n on(\r\n actions.SelectActiveCreditCardToken,\r\n (state, action) => ({\r\n ...state,\r\n activeCardToken: action.token,\r\n activeCardId: null,\r\n })\r\n ),\r\n on(\r\n actions.AddCardToState,\r\n (state, action) => ({\r\n ...state,\r\n showAddCardForm: false,\r\n data:\r\n [\r\n ...state.data,\r\n action.card\r\n ]\r\n })\r\n ),\r\n on(\r\n actions.GetCreditCardToken,\r\n (state, action) => ({\r\n ...state,\r\n token: {\r\n ...state.token,\r\n isGettingToken: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.GetCreditCardTokenWithRedirect,\r\n (state, action) => ({\r\n ...state,\r\n activeCardRedirectUrl: null,\r\n activeCardToken: null,\r\n sessionToken: null,\r\n\r\n token: {\r\n ...state.token,\r\n isGettingToken: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsSuccessRequestToken,\r\n (state, action) => ({\r\n ...state,\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n\r\n actions.CreditCardsSuccessRequestTokenWithRedirect,\r\n (state, action) => ({\r\n ...state,\r\n activeCardRedirectUrl: action.redirectUrl,\r\n sessionToken: action.token,\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.__DEMO__CreditCardsSuccessRequestToken,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n showAddCardForm: false,\r\n add: {\r\n ...state.add,\r\n isAdding: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsErrorRequestToken,\r\n (state, action) => ({\r\n ...state,\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsErrorRequestTokenWithRedirect,\r\n (state, action) => ({\r\n ...state,\r\n activeCardRedirectUrl: null,\r\n activeCardToken: null,\r\n sessionToken: null,\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsAddRequest,\r\n actions.CreditCardsAddAfterRedirectRequest,\r\n (state, action) => ({\r\n ...state,\r\n add: {\r\n ...state.add,\r\n isAdding: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n },\r\n\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsAddSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n add: {\r\n ...state.add,\r\n isAdding: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n }\r\n\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsAddAfterRedirectSuccessRequest,\r\n (state, action) => {\r\n const isNewDefault = action.newCard.IsDefault;\r\n return {\r\n ...state,\r\n add: {\r\n ...state.add,\r\n isAdding: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n },\r\n data: state.data.map(card => {\r\n if (card.Token === action.card.Token) {\r\n const c = {\r\n ...card,\r\n ...action.newCard,\r\n };\r\n\r\n delete c._SaveAwait;\r\n return c;\r\n } else {\r\n if (isNewDefault) {\r\n return {\r\n ...card,\r\n IsDefault: false,\r\n };\r\n }\r\n\r\n return card;\r\n\r\n }\r\n })\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsAddErrorRequest,\r\n actions.CreditCardsAddAfterRedirectErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n add: {\r\n ...state.add,\r\n isAdding: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsRemoveRequest,\r\n (state, action) => ({\r\n ...state,\r\n remove: {\r\n ...state.remove,\r\n id: action.cardId,\r\n removedDate: null,\r\n isRemoving: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsRemoveSuccessRequest,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n remove: {\r\n ...state.remove,\r\n id: null,\r\n removedDate: new Date().getTime(),\r\n isRemoving: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: state.data.filter(cart => cart.Id !== action.cardId),\r\n showAddCardForm: state.data.filter(cart => cart.Id !== action.cardId).length === 0 && state.activeCardId !== -1\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsRemoveErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n remove: {\r\n ...state.remove,\r\n isRemoving: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsRequest,\r\n (state, action) => ({\r\n ...state,\r\n download: {\r\n ...state.download,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsSuccessRequest,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n download: {\r\n ...state.download,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n },\r\n data: action.payload.reduce((acc, card) => {\r\n const found = acc.find(obj => obj.Id === card.Id);\r\n if (!found) {\r\n return [\r\n ...acc,\r\n card,\r\n ];\r\n }\r\n\r\n return acc.map(obj => {\r\n if (obj.Id === card.Id) {\r\n return card;\r\n }\r\n return obj;\r\n });\r\n }, [\r\n ...state.data\r\n ]),\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n download: {\r\n ...state.download,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsValidateReset,\r\n state => ({\r\n ...state,\r\n validation: {\r\n ...state.validation,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsValidateRequest,\r\n state => ({\r\n ...state,\r\n activeCardRedirectUrl: null,\r\n validation: {\r\n ...state.validation,\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsValidateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n activeCardToken: action.card.CardId,\r\n activeCardRedirectUrl: null,\r\n sessionToken: null,\r\n showAddCardForm: false,\r\n validation: {\r\n ...state.validation,\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: state.data.map(obj => {\r\n if (obj.Id === null && obj.Token === null) {\r\n return {\r\n ...obj,\r\n Token: action.card.CardId\r\n };\r\n }\r\n return obj;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsValidateErrorRequest,\r\n state => ({\r\n ...state,\r\n activeCardToken: null,\r\n activeCardRedirectUrl: null,\r\n sessionToken: null,\r\n validation: {\r\n ...state.validation,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsRemoveUnsavedCard,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n activeCardToken: null,\r\n showAddCardForm: state.activeCardId !== -1,\r\n data: state.data.filter(card => card.Id === null && card.Token === action.token),\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsSetErrorValidationStatusToValidatingCards,\r\n state => ({\r\n ...state,\r\n data: state.data.map(card => {\r\n if (card._ValidationStatus === 'validating') {\r\n return {\r\n ...card,\r\n _ValidationStatus: 'error',\r\n };\r\n }\r\n return card;\r\n })\r\n })\r\n ),\r\n);\r\n\r\nexport function creditCardReducer(state: ICreditCards | undefined, action: Action) {\r\n return creditCardReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { ICurrentLocation } from './current-location.interface';\r\nimport * as actions from './current-location.actions';\r\n\r\nconst initialState: ICurrentLocation = {\r\n locationNo: null,\r\n pickupTime: null,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n};\r\n\r\nexport const currentLocationReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.CurrentLocationValidationRequest,\r\n (state, action) => ({\r\n ...state,\r\n validation: {\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationValidationSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationValidationErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationValidationReset,\r\n (state, action) => ({\r\n ...state,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationReset,\r\n (state, action) => ({\r\n locationNo: null,\r\n pickupTime: null,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationPickupTimeRestore,\r\n actions.CurrentLocationPickupTimeSet,\r\n actions.CurrentLocationFiltersPickupTimeSync,\r\n (state, action) => {\r\n // console.trace('SET PICKUP TIME', action);\r\n return ({\r\n ...state,\r\n pickupTime: action.pickupTime\r\n });\r\n }\r\n ),\r\n on(\r\n actions.CurrentLocationSet,\r\n (state, action) => ({\r\n ...state,\r\n locationNo: action.locationNo,\r\n })\r\n )\r\n);\r\n\r\n// export function currentLocationReducerX(state: ICurrentLocation = initialState, action:\r\n// actions.CurrentLocationPickupTimeSet |\r\n// actions.CurrentLocationFiltersPickupTimeSync |\r\n// actions.CurrentLocationPickupTimeRestore |\r\n// actions.CurrentLocationSet |\r\n// actions.CurrentLocationReset\r\n// ): ICurrentLocation {\r\n// switch (action.type) {\r\n// case actions.CURRENT_RESET:\r\n// return {\r\n// locationNo: null,\r\n// pickupTime: null,\r\n// };\r\n\r\n// case actions.CURRENT_LOCATION_PICKUP_TIME_RESTORE:\r\n// case actions.CURRENT_LOCATION_PICKUP_TIME_SET:\r\n// case actions.CURRENT_LOCATION_FILTERS_PICKUP_TIME_SYNC:\r\n// return {\r\n// ...state,\r\n// pickupTime: (action as actions.CurrentLocationPickupTimeSet).pickupTime\r\n// }\r\n\r\n// case actions.CURRENT_LOCATION_SET:\r\n// return {\r\n// ...state,\r\n// locationNo: (action as actions.CurrentLocationSet).locationNo\r\n// };\r\n\r\n// default:\r\n// return state;\r\n// }\r\n// }\r\n\r\nexport function currentLocationReducer(state: ICurrentLocation | undefined, action: Action) {\r\n return currentLocationReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IDietaryTagImage } from './dietary-tags-images.interface';\r\nimport * as actions from './dietary-tags-images.actions';\r\n\r\nconst initialState: IDietaryTagImage[] = [];\r\n\r\nexport const dietaryTagsImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.DietaryTagsImagesRequest,\r\n (state, action) => {\r\n const newToConcat: IDietaryTagImage[] = [];\r\n\r\n action.dietaryTagIds.forEach(id => {\r\n if (state.find(image => image.Id === id)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n Id: id,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((image: IDietaryTagImage) => {\r\n if (action.dietaryTagIds.find(productId => productId === image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return image;\r\n }),\r\n ...newToConcat,\r\n ];\r\n\r\n }\r\n ),\r\n on(\r\n actions.DietaryTagsImagesSuccessRequest,\r\n (state, action) => {\r\n\r\n return state.map((image: IDietaryTagImage) => {\r\n\r\n const foundItem: APIv1.ImageUrlModel = action.payload.find(newImage => newImage.ParentId === image.Id);\r\n\r\n if (foundItem) {\r\n\r\n return {\r\n ...image,\r\n data: { ...foundItem },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n });\r\n }\r\n ),\r\n on(\r\n actions.DietaryTagsImagesErrorRequest,\r\n (state, action) => {\r\n\r\n return state.map((image: IDietaryTagImage) => {\r\n if (action.dietaryTagIds.find(productId => productId === image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return image;\r\n });\r\n }\r\n ),\r\n);\r\n\r\nexport function dietaryTagsImagesReducer(state: IDietaryTagImage[] | undefined, action: Action) {\r\n return dietaryTagsImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './free-products-images.actions';\r\nimport { IFreeProductImage } from './free-products-images.interface';\r\n\r\nconst initialState: IFreeProductImage[] = [];\r\n\r\nexport const freeProductsImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.FreeProductImageRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: IFreeProductImage[] = state.reduce((acc, item) => {\r\n if (item.ProductId === action.productId) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n ProductId: action.productId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.FreeProductImageSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.ProductId === action.productId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload || null,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.FreeProductImageErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.ProductId === action.productId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function freeProductsImagesReducer(state: IFreeProductImage[] | undefined, action: Action) {\r\n return freeProductsImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './geolocation.actions';\r\n\r\nimport { IGeolocation } from './geolocation.interface';\r\n\r\nconst initialState: IGeolocation = {\r\n isRequesting: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n};\r\n\r\nexport function geolocationReducer(state: IGeolocation | undefined, action: Action) {\r\n return createReducer(\r\n initialState,\r\n on(\r\n actions.geolocationPositionRequest,\r\n (state, action) => ({\r\n ...state,\r\n isRequesting: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.geolocationPositionSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isRequesting: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload,\r\n })\r\n ),\r\n on(\r\n actions.geolocationPositionErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isRequesting: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n )(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './history-orders.actions';\r\nimport { IHistoryOrderState, IOnlineOrderStateItemObj } from './history-orders.interface';\r\n\r\nconst initialState: IHistoryOrderState = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n orders: []\r\n};\r\n\r\nexport const historyOrdersReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.HistoryOrdersReset,\r\n (state, action) => ({\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n orders: [],\r\n })\r\n ),\r\n on(\r\n actions.HistoryOrdersRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.HistoryOrdersSuccessRequest,\r\n (state, action) => {\r\n const mapIds = action.payload.map(order => order.Id);\r\n const oldToUpdate = [];\r\n const newToAdd = [];\r\n for (let i = 0, j = mapIds.length; i < j; i++) {\r\n if (state.orders.find(order => order.OrderId === mapIds[i])) {\r\n oldToUpdate.push(mapIds[i]);\r\n } else {\r\n newToAdd.push(mapIds[i]);\r\n }\r\n }\r\n\r\n return {\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n orders: [\r\n ...state.orders.map(order => {\r\n if (oldToUpdate.includes(order.OrderId)) {\r\n return {\r\n ...order,\r\n data: action.payload.find(obj => obj.Id === order.OrderId),\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n OrderId: order.OrderId,\r\n };\r\n }\r\n return order;\r\n }),\r\n ...newToAdd.map(id => ({\r\n OrderId: id,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload.find(obj => obj.Id === id),\r\n }))\r\n ]\r\n };\r\n }\r\n ),\r\n on(\r\n actions.HistoryOrdersErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n\r\n /* Single */\r\n on(\r\n actions.HistoryOrderRequest,\r\n (state, action) => {\r\n const foundOrder: IOnlineOrderStateItemObj = state.orders.find(order => order.OrderId === action.orderId);\r\n\r\n if (!foundOrder) {\r\n return {\r\n ...state,\r\n orders: [\r\n ...state.orders,\r\n {\r\n OrderId: action.orderId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n }\r\n ]\r\n };\r\n }\r\n\r\n return {\r\n ...state,\r\n orders: state.orders.map(order => {\r\n if (order.OrderId === action.orderId) {\r\n return {\r\n ...order,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return order;\r\n })\r\n };\r\n }\r\n ),\r\n on(\r\n actions.HistoryOrderSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n orders: state.orders.map(order => {\r\n if (order.OrderId === action.orderId) {\r\n return {\r\n ...order,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload\r\n };\r\n }\r\n\r\n return order;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.HistoryOrderErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n orders: state.orders.map(order => {\r\n if (order.OrderId === action.orderId) {\r\n return {\r\n ...order,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return order;\r\n })\r\n })\r\n ),\r\n\r\n);\r\n\r\nexport function historyOrdersReducer(state: IHistoryOrderState | undefined, action: Action) {\r\n return historyOrdersReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IIngredient } from './ingredients.interface';\r\nimport * as actions from './ingredients.actions';\r\n\r\nconst initialState: IIngredient[] = [];\r\n\r\nexport const ingredientsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.IngredientsRequest,\r\n (state, action) => {\r\n const newToConcat: IIngredient[] = [];\r\n\r\n action.productIds.forEach(productId => {\r\n if (state.find(ingredient => ingredient.ProductId === productId && ingredient.LocationNo === action.locationNo)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n ProductId: productId,\r\n LocationNo: action.locationNo,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((modifier: IIngredient) => {\r\n if (action.productIds.find(productId => productId === modifier.ProductId && modifier.LocationNo === action.locationNo)) {\r\n return {\r\n ...modifier,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return modifier;\r\n }),\r\n ...newToConcat,\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.IngredientsSuccessRequest,\r\n (state, action) => state.map((modifier: IIngredient) => {\r\n if (!(action.productIds.includes(modifier.ProductId) && modifier.LocationNo === action.locationNo)) {\r\n return modifier;\r\n }\r\n const foundIngredientObj = action.payload.find(ingredient => ingredient.ProductID === modifier.ProductId && ingredient._LocationNo === modifier.LocationNo);\r\n\r\n return {\r\n ...modifier,\r\n data: { ...foundIngredientObj },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n })\r\n ),\r\n on(\r\n actions.IngredientsErrorRequest,\r\n (state, action) => state.map((modifier: IIngredient) => {\r\n if (action.productIds.find(productId => productId === modifier.ProductId && modifier.LocationNo === action.locationNo)) {\r\n return {\r\n ...modifier,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return modifier;\r\n })\r\n ),\r\n);\r\n\r\nexport function ingredientsReducer(state: IIngredient[] | undefined, action: Action) {\r\n return ingredientsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './latest-transactions.actions';\r\nimport { ILatestTransaction } from './latest-transactions.interface';\r\n\r\nconst initialState: ILatestTransaction[] = [];\r\n\r\nexport const latestTransactionsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LatestTransactionsReset,\r\n () => ([])\r\n ),\r\n on(\r\n actions.LatestTransactionsRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: ILatestTransaction[] = state.reduce((acc, item) => {\r\n if (item.memberId === action.memberId) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n memberId: action.memberId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.LatestTransactionsSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.memberId === action.memberId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.LatestTransactionsErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.memberId === action.memberId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function latestTransactionsReducer(state: ILatestTransaction[] | undefined, action: Action) {\r\n return latestTransactionsReducerFn(state, action);\r\n}\r\n","import * as actions from './loader.actions';\r\nimport { ILoader } from './loader.interface';\r\n\r\nconst initialState: ILoader = {\r\n isVisible: false,\r\n};\r\n\r\nexport function loaderReducer(state: ILoader = initialState, action: actions.LoaderShow | actions.LoaderHide): ILoader {\r\n switch (action.type) {\r\n case actions.LOADER_SHOW:\r\n return {\r\n ...state,\r\n isVisible: true,\r\n };\r\n\r\n case actions.LOADER_HIDE:\r\n return {\r\n ...state,\r\n isVisible: false,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { ILocations } from './locations.interface';\r\nimport * as actions from './locations.actions';\r\n\r\nconst initialState: ILocations = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: []\r\n};\r\n\r\nexport const locationsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LocationsRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.LocationsSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: [\r\n ...action.payload\r\n ],\r\n })\r\n ),\r\n on(\r\n actions.LocationsErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n )\r\n);\r\n\r\n\r\nexport function locationsReducer(state: ILocations | undefined, action: Action) {\r\n return locationsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './locations-filters.actions';\r\nimport { ILocationsFilters } from './locations-filters.interface';\r\n\r\nconst initialState: ILocationsFilters = {\r\n pickupMode: {\r\n Id: 1,\r\n Name: 'ASAP',\r\n },\r\n pickupTime: null,\r\n search: null,\r\n};\r\n\r\nexport const locationsFiltersReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LocationsFiltersReset,\r\n (state, action) => JSON.parse(JSON.stringify(initialState))\r\n ),\r\n on(\r\n actions.LocationsFiltersRestorePickupTime,\r\n (state, action) => ({\r\n ...state,\r\n pickupMode: {\r\n ...initialState.pickupMode\r\n },\r\n pickupTime: null,\r\n })\r\n ),\r\n on(\r\n actions.LocationsFiltersSetPickupMode,\r\n (state, action) => ({\r\n ...state,\r\n pickupMode: action.mode,\r\n })\r\n ),\r\n on(\r\n actions.LocationsFiltersSyncPickupTime,\r\n actions.LocationsFiltersSetPickupTime,\r\n (state, action) => {\r\n return ({\r\n ...state,\r\n pickupTime: action.pickupTime,\r\n });\r\n }\r\n ),\r\n on(\r\n actions.LocationsFiltersSetSearch,\r\n (state, action) => ({\r\n ...state,\r\n search: action.search,\r\n })\r\n ),\r\n);\r\n\r\nexport function locationsFiltersReducer(state: ILocationsFilters | undefined, action: Action) {\r\n return locationsFiltersReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './locations-images.actions';\r\nimport * as Utils from '@shared/core/utils';\r\nimport { ILocationsImages } from './locations-images.interface';\r\n\r\nconst initialState: ILocationsImages = {\r\n default: [],\r\n forList: [],\r\n forDetails: [],\r\n forWeb: [],\r\n forWebThumb: [],\r\n forMobile: [],\r\n};\r\n\r\nexport const locationImagesReducerFn = createReducer(\r\n initialState,\r\n\r\n on(\r\n actions.LocationImagesRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n const newImages: number[] = action.ids.filter(id => !state[imagesType].find((img: OLO.Common.IImageStateObj) => img.Id === id));\r\n return {\r\n ...state,\r\n [imagesType]: [\r\n ...state[imagesType].map(image => {\r\n if (action.ids.includes(image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n return image;\r\n }),\r\n\r\n ...newImages.map(id => ({\r\n Id: id,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n }))\r\n\r\n ]\r\n };\r\n }\r\n ),\r\n\r\n on(\r\n actions.LocationImagesSuccessRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(image => {\r\n const imageIsUpdating = action.ids.includes(image.Id);\r\n if (imageIsUpdating) {\r\n const newImage = action.payload.find(obj => obj.ParentId === image.Id);\r\n const previousImage = state[imagesType].find(obj => obj.Id === image.Id);\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: newImage ? newImage : previousImage && previousImage.data ? previousImage.data : null,\r\n };\r\n }\r\n\r\n return image;\r\n })\r\n };\r\n }\r\n ),\r\n\r\n on(\r\n actions.LocationImagesErrorRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(image => {\r\n if (action.ids.includes(image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return image;\r\n })\r\n };\r\n }\r\n ),\r\n);\r\n\r\n\r\nexport function locationImagesReducer(state: ILocationsImages | undefined, action: Action) {\r\n return locationImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './loyalty-introduction-pages.actions';\r\nimport { ILoyaltyIntroductionPages } from './loyalty-introduction-pages.interface';\r\n\r\nconst initialState: ILoyaltyIntroductionPages = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n};\r\n\r\nexport const loyaltyIntroductionPagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LoyaltyIntroductionPagesRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyIntroductionPagesSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: [...action.payload]\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyIntroductionPagesErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n);\r\n\r\nexport function loyaltyIntroductionPagesReducer(state: ILoyaltyIntroductionPages | undefined, action: Action) {\r\n return loyaltyIntroductionPagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './loyalty-introduction-pages-images.actions';\r\nimport { ILoyaltyIntroductionPageImage } from './loyalty-introduction-pages-images.interface';\r\n\r\nconst initialState: ILoyaltyIntroductionPageImage[] = [];\r\n\r\nexport const loyaltyIntroductionPagesImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LoyaltyIntroductionPageImageRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: ILoyaltyIntroductionPageImage[] = state.reduce((acc, item) => {\r\n if (item.PageId === action.pageId) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n PageId: action.pageId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.LoyaltyIntroductionPageImageSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.PageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload || null,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyIntroductionPageImageErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.PageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function loyaltyIntroductionPagesImagesReducer(state: ILoyaltyIntroductionPageImage[] | undefined, action: Action) {\r\n return loyaltyIntroductionPagesImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './loyalty-messages.actions';\r\nimport { ILoyaltyMessages } from './loyalty-messages.interface';\r\n\r\nconst initialState: ILoyaltyMessages = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n};\r\n\r\nexport const loyaltyMessagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LoyaltyMessagesRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyMessagesSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: [...action.payload]\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyMessagesErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n);\r\n\r\nexport function loyaltyMessagesReducer(state: ILoyaltyMessages | undefined, action: Action) {\r\n return loyaltyMessagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './loyalty-product-programs.actions';\r\nimport { ILoyaltyProductProgramItem } from './loyalty-product-programs.interface';\r\n\r\nconst initialState: ILoyaltyProductProgramItem[] = [];\r\n\r\nexport const loyaltyProductProgramsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LoyaltyProductProgramsReset,\r\n () => ([])\r\n ),\r\n on(\r\n actions.LoyaltyProductProgramsRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: ILoyaltyProductProgramItem[] = state.reduce((acc, item) => {\r\n if (item.ProgramName === action.requestParams.programName) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n ProgramName: action.requestParams.programName,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.LoyaltyProductProgramsSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.ProgramName === action.requestParams.programName) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload || null,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyProductProgramsErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.ProgramName === action.requestParams.programName) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function loyaltyProductProgramsReducer(state: ILoyaltyProductProgramItem[] | undefined, action: Action) {\r\n return loyaltyProductProgramsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './member-card-barcodes-images.actions';\r\nimport { IMemberCardBarcodeImage } from './member-card-barcodes-images.interface';\r\n\r\nconst initialState: IMemberCardBarcodeImage[] = [];\r\n\r\nexport const memberCardBarcodesImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MemberCardBarcodesImagesRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: IMemberCardBarcodeImage[] = state.reduce((acc, item) => {\r\n if (item.memberId === action.memberId && item.barcodeType === action.barcodeType) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n memberId: action.memberId,\r\n barcodeType: action.barcodeType,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.MemberCardBarcodesImagesSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.memberId === action.memberId && obj.barcodeType === action.barcodeType) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload || null,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.MemberCardBarcodesImagesErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.memberId === action.memberId && obj.barcodeType === action.barcodeType) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function memberCardBarcodesImagesReducer(state: IMemberCardBarcodeImage[] | undefined, action: Action) {\r\n return memberCardBarcodesImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IMembers } from './members.interface';\r\nimport * as actions from './members.actions';\r\n\r\nconst initialState: IMembers = {\r\n isDownloading: false,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n\r\n accountBalance: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n\r\n uniqueCode: {\r\n memberCode: null,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n\r\n freeProducts: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n loyaltyProducts: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n\r\n forgottenPasswordReset: {\r\n isResetting: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n token: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n isValid: null,\r\n },\r\n },\r\n\r\n emailConfirm: {\r\n isConfirming: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n token: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n isValid: null,\r\n },\r\n },\r\n\r\n update: {\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n data: null\r\n },\r\n\r\n setPassword: {\r\n isSetting: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n },\r\n\r\n changePassword: {\r\n isChanging: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n },\r\n\r\n forgotPassword: {\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n email: null,\r\n },\r\n\r\n validateLogin: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n validatePhone: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n validateEmail: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n signIn: {\r\n isSigningIn: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n signUp: {\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n signUpPartialMember: {\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n jwt: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n verifyPhone: {\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n verifyEmail: {\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n verifyLinkRewardsAccount: {\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n\r\n tokenForPhone: {\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n tokenForEmail: {\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n linkRewardsAccount: {\r\n isLinking: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n linkedDate: null,\r\n },\r\n\r\n isAuthorized: false,\r\n accountId: null,\r\n accountLogin: null,\r\n accountPassword: null,\r\n authorizationType: null,\r\n authorizationStep: OLO.Enums.AUTH_STEP.LOGIN,\r\n\r\n sessionKey: null,\r\n\r\n isGuestModeEnabled: false,\r\n guestData: null,\r\n\r\n addData: null,\r\n data: null,\r\n};\r\n\r\nexport const memberReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MemberAccountBalanceReset,\r\n (state, action) => ({\r\n ...state,\r\n accountBalance: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberLinkRewardsAccountVerifyReset,\r\n (state, action) => ({\r\n ...state,\r\n verifyLinkRewardsAccount: {\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberLinkRewardsAccountVerifyRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyLinkRewardsAccount: {\r\n ...state.verifyLinkRewardsAccount,\r\n isVerifying: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberLinkRewardsAccountVerifySuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyLinkRewardsAccount: {\r\n ...state.verifyLinkRewardsAccount,\r\n isVerifying: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberLinkRewardsAccountVerifyErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyLinkRewardsAccount: {\r\n ...state.verifyLinkRewardsAccount,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberLinkRewardsAccountRequest,\r\n (state, action) => ({\r\n ...state,\r\n linkRewardsAccount: {\r\n ...state.linkRewardsAccount,\r\n isLinking: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberLinkRewardsAccountSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n linkRewardsAccount: {\r\n ...state.linkRewardsAccount,\r\n isLinking: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n linkedDate: new Date().getTime(),\r\n },\r\n data: action.payload,\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberLinkRewardsAccountErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n linkRewardsAccount: {\r\n ...state.linkRewardsAccount,\r\n isLinking: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberAccountBalanceRequest,\r\n (state) => ({\r\n ...state,\r\n accountBalance: {\r\n ...state.accountBalance,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberAccountBalanceSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n accountBalance: {\r\n ...state.accountBalance,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberAccountBalanceErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n accountBalance: {\r\n ...state.accountBalance,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberUniqueCodeCheckReset,\r\n (state, action) => ({\r\n ...state,\r\n uniqueCode: {\r\n memberCode: null,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberUniqueCodeCheckRequest,\r\n (state, action) => ({\r\n ...state,\r\n uniqueCode: {\r\n memberCode: action.memberCode,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberUniqueCodeCheckSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n uniqueCode: {\r\n memberCode: action.memberCode,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: { ...action.payload },\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberUniqueCodeCheckErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n uniqueCode: {\r\n memberCode: action.memberCode,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberFreeProductsRequest,\r\n state => ({\r\n ...state,\r\n freeProducts: {\r\n ...state.freeProducts,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberFreeProductsSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n freeProducts: {\r\n ...state.freeProducts,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: [\r\n ...action.payload\r\n ]\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberFreeProductsErrorRequest,\r\n state => ({\r\n ...state,\r\n freeProducts: {\r\n ...state.freeProducts,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberLoyaltyProductsRequest,\r\n state => ({\r\n ...state,\r\n loyaltyProducts: {\r\n ...state.loyaltyProducts,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberLoyaltyProductsSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n loyaltyProducts: {\r\n ...state.loyaltyProducts,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: [\r\n ...action.payload\r\n ]\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberLoyaltyProductsErrorRequest,\r\n state => ({\r\n ...state,\r\n loyaltyProducts: {\r\n ...state.loyaltyProducts,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberUnsetUpdateAndValidation,\r\n state => ({\r\n ...state,\r\n update: {\r\n ...initialState.update,\r\n },\r\n tokenForEmail: {\r\n ...initialState.tokenForEmail,\r\n },\r\n tokenForPhone: {\r\n ...initialState.tokenForPhone,\r\n },\r\n verifyEmail: {\r\n ...initialState.verifyEmail,\r\n },\r\n verifyPhone: {\r\n ...initialState.verifyPhone,\r\n },\r\n verifyLinkRewardsAccount: {\r\n ...initialState.verifyLinkRewardsAccount,\r\n },\r\n linkRewardsAccount: {\r\n ...initialState.linkRewardsAccount\r\n },\r\n emailConfirm: {\r\n ...initialState.emailConfirm,\r\n token: {\r\n ...initialState.emailConfirm.token\r\n }\r\n },\r\n forgottenPasswordReset: {\r\n ...initialState.forgottenPasswordReset,\r\n token: {\r\n ...initialState.forgottenPasswordReset.token,\r\n }\r\n },\r\n forgotPassword: {\r\n ...initialState.forgotPassword,\r\n },\r\n validateLogin: {\r\n ...initialState.validateLogin,\r\n },\r\n validateEmail: {\r\n ...initialState.validateEmail,\r\n },\r\n validatePhone: {\r\n ...initialState.validatePhone,\r\n },\r\n uniqueCode: {\r\n ...initialState.uniqueCode,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberUnsetAccountCredentials,\r\n (state, action) => ({\r\n ...state,\r\n accountLogin: null,\r\n accountPassword: null,\r\n })\r\n ),\r\n on(\r\n actions.MemberUnsetAddData,\r\n (state, action) => ({\r\n ...state,\r\n addData: null,\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailReset,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n isConfirming: false,\r\n token: {\r\n ...state.emailConfirm.token,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isValidating: false,\r\n isValid: null,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n isConfirming: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n isConfirming: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n isConfirming: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailTokenRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n token: {\r\n ...state.emailConfirm.token,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isValidating: true,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailTokenSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n token: {\r\n ...state.emailConfirm.token,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n isValidating: false,\r\n isValid: action.payload\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailTokenErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n token: {\r\n ...state.emailConfirm.token,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n isValidating: false,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberForgottenPasswordResetRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isResetting: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberForgottenPasswordResetSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n isResetting: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberForgottenPasswordResetErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n isResetting: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePasswordResetTokenRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n token: {\r\n ...state.forgottenPasswordReset.token,\r\n isValidating: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isValid: null,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePasswordResetTokenSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n token: {\r\n ...state.forgottenPasswordReset.token,\r\n isValidating: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n isValid: action.payload,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePasswordResetTokenErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n token: {\r\n ...state.forgottenPasswordReset.token,\r\n isValidating: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePasswordResetTokenReset,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n token: {\r\n ...state.forgottenPasswordReset.token,\r\n isValidating: false,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isValid: null,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberAuthorizationSetFlag,\r\n (state, action) => ({\r\n ...state,\r\n isAuthorized: action.flag\r\n })\r\n ),\r\n on(\r\n actions.MemberAuthorizationSetStep,\r\n (state, action) => ({\r\n ...state,\r\n authorizationStep: action.step\r\n })\r\n ),\r\n on(\r\n actions.MemberAuthorizationInit,\r\n (state, action) => ({\r\n ...JSON.parse(JSON.stringify(initialState)),\r\n accountLogin: action.accountLogin,\r\n authorizationType: action.authorizationType,\r\n authorizationStep: state.authorizationStep,\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateLoginRequest,\r\n (state, action) => ({\r\n ...state,\r\n validateLogin: {\r\n ...state.validateLogin,\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateLoginErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n validateLogin: {\r\n ...state.validateLogin,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateLoginSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n validateLogin: {\r\n ...state.validateLogin,\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n accountId: action.payload ? action.payload.MemberId : null,\r\n accountIsValid: action.payload ? action.payload.IsOnlineRegistered : null, /* NOT NEEDED ANY MORE! */\r\n data: action.payload ? { ...action.payload } : null,\r\n })\r\n ),\r\n on(\r\n actions.MemberSignInDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n signIn: {\r\n ...state.signIn,\r\n isSigningIn: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n accountPassword: action.password\r\n })\r\n ),\r\n on(\r\n actions.MemberSignInDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n signIn: {\r\n ...state.signIn,\r\n isSigningIn: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSignInDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n signIn: {\r\n ...state.signIn,\r\n isSigningIn: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n sessionKey: action.sessionKey,\r\n })\r\n ),\r\n on(\r\n actions.MemberJwtDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n jwt: {\r\n ...state.jwt,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberJwtDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n jwt: {\r\n ...state.jwt,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberJwtDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n jwt: {\r\n ...state.jwt,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n accountPassword: null,\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePhoneRequest,\r\n (state, action) => ({\r\n ...state,\r\n validatePhone: {\r\n ...state.validatePhone,\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePhoneDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n validatePhone: {\r\n ...state.validatePhone,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePhoneSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n validatePhone: {\r\n ...state.validatePhone,\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateEmailDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n validateEmail: {\r\n ...state.validateEmail,\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateEmailDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n validateEmail: {\r\n ...state.validateEmail,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateEmailDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n validateEmail: {\r\n ...state.validateEmail,\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSessionSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n sessionKey: action.sessionKey,\r\n accountId: action.accountId,\r\n authorizationType: action.authorizationType,\r\n })\r\n ),\r\n on(\r\n actions.MemberSessionErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n data: null,\r\n isGuestModeEnabled: true,\r\n isAuthorized: false,\r\n sessionKey: action.sessionKey,\r\n accountId: action.accountId,\r\n authorizationType: action.authorizationType,\r\n })\r\n ),\r\n on(\r\n actions.MemberGuestModeSet,\r\n (state, action) => ({\r\n ...state,\r\n isGuestModeEnabled: action.flag\r\n })\r\n ),\r\n on(\r\n actions.MemberGuestDataSet,\r\n (state, action) => ({\r\n ...state,\r\n guestData: action.guestData\r\n })\r\n ),\r\n on(\r\n actions.MemberGuestDataReset,\r\n (state, action) => ({\r\n ...state,\r\n guestData: null\r\n })\r\n ),\r\n on(\r\n actions.MemberSignUpProcessInit,\r\n (state, action) => ({\r\n ...state,\r\n addData: action.memberData\r\n })\r\n ),\r\n on(\r\n actions.MemberPartialSignUpRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUpPartialMember: {\r\n ...state.signUpPartialMember,\r\n isSigningUp: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPartialSignUpSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUpPartialMember: {\r\n ...state.signUpPartialMember,\r\n isSigningUp: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: {\r\n ...action.payload\r\n },\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberPartialSignUpErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUpPartialMember: {\r\n ...state.signUpPartialMember,\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPartialSignUpResetState,\r\n (state, action) => ({\r\n ...state,\r\n signUpPartialMember: {\r\n ...state.signUpPartialMember,\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberSignUpRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUp: {\r\n ...state.signUp,\r\n isSigningUp: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberSignUpSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUp: {\r\n ...state.signUp,\r\n isSigningUp: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: {\r\n ...state.data,\r\n ...action.memberData\r\n },\r\n accountId: action.memberData.MemberId,\r\n\r\n })\r\n ),\r\n on(\r\n actions.MemberSignUpErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUp: {\r\n ...state.signUp,\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n })\r\n ),\r\n on(\r\n actions.MemberDataSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n data: {\r\n ...state.data,\r\n ...action.payload\r\n },\r\n isDownloading: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n })\r\n ),\r\n on(\r\n actions.MemberDataErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n })\r\n ),\r\n on(\r\n actions.MemberProfileUpdateInit,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n data: {\r\n ...action.userModel\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberProfileUpdateRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: true,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n data: {\r\n ...action.userModel\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberProfileUpdateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: true,\r\n updateHasFailed: false,\r\n data: null,\r\n },\r\n data: action.payload\r\n })\r\n ),\r\n on(\r\n actions.MemberProfileUpdateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: true,\r\n data: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberUpdateRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: true,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberUpdateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: true,\r\n updateHasFailed: false,\r\n },\r\n data: action.payload\r\n })\r\n ),\r\n on(\r\n actions.MemberUpdateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberRestoreUpdateFlags,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordSetRequest,\r\n (state, action) => ({\r\n ...state,\r\n setPassword: {\r\n ...state.setPassword,\r\n isSetting: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordSetSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n setPassword: {\r\n ...state.setPassword,\r\n isSetting: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordSetErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n setPassword: {\r\n ...state.setPassword,\r\n isSetting: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n error: action.ex || null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordSetResetState,\r\n (state, action) => ({\r\n ...state,\r\n setPassword: {\r\n ...state.setPassword,\r\n isSetting: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordChangeRequest,\r\n (state, action) => ({\r\n ...state,\r\n changePassword: {\r\n ...state.changePassword,\r\n isChanging: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordChangeSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n changePassword: {\r\n ...state.changePassword,\r\n isChanging: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordChangeErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n changePassword: {\r\n ...state.changePassword,\r\n isChanging: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n error: action.ex || null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordChangeRestoreFlags,\r\n (state, action) => ({\r\n ...state,\r\n changePassword: {\r\n ...state.changePassword,\r\n isChanging: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberForgotPasswordDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgotPassword: {\r\n ...state.forgotPassword,\r\n isSending: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n email: action.email,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberForgotPasswordDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n forgotPassword: {\r\n ...state.forgotPassword,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberForgotPasswordDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n forgotPassword: {\r\n ...state.forgotPassword,\r\n isSending: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberForgotPasswordRestoreFlags,\r\n (state, action) => ({\r\n ...state,\r\n forgotPassword: {\r\n ...state.forgotPassword,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n email: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendPhoneVerificationCodeDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n tokenForPhone: {\r\n ...state.tokenForPhone,\r\n isSending: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendPhoneVerificationCodeDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n tokenForPhone: {\r\n ...state.tokenForPhone,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendPhoneVerificationCodeDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n tokenForPhone: {\r\n ...state.tokenForPhone,\r\n isSending: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyPhoneDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyPhone: {\r\n ...state.verifyPhone,\r\n isVerifying: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyPhoneDataErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyPhone: {\r\n ...state.verifyPhone,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyPhoneDataSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyPhone: {\r\n ...state.verifyPhone,\r\n isVerifying: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmaiResetFlags,\r\n (state, action) => ({\r\n ...state,\r\n verifyEmail: {\r\n ...state.verifyEmail,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmailRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyEmail: {\r\n ...state.verifyEmail,\r\n isVerifying: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmailErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyEmail: {\r\n ...state.verifyEmail,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmailSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyEmail: {\r\n ...state.verifyEmail,\r\n isVerifying: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyPhoneRestoreFlags,\r\n (state, action) => ({\r\n ...state,\r\n verifyPhone: {\r\n ...state.verifyPhone,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n tokenForPhone: {\r\n ...state.tokenForPhone,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendEmailVeryficationRequest,\r\n (state, action) => ({\r\n ...state,\r\n tokenForEmail: {\r\n ...state.tokenForEmail,\r\n isSending: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendEmailVeryficationSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n tokenForEmail: {\r\n ...state.tokenForEmail,\r\n isSending: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendEmailVeryficationDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n tokenForEmail: {\r\n ...state.tokenForEmail,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmailRestoreFlags,\r\n (state, action) => ({\r\n ...state,\r\n tokenForEmail: {\r\n ...state.tokenForEmail,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberStateReset,\r\n (state, action) => (JSON.parse(JSON.stringify(initialState)))\r\n ),\r\n\r\n);\r\n\r\nexport function memberReducer(state: IMembers | undefined, action: Action) {\r\n return memberReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './menu-flow-default-activations.actions';\r\nimport { IMenuFlowDefaultActivation } from './menu-flow-default-activations.interface';\r\n\r\nconst initialState: IMenuFlowDefaultActivation[] = [];\r\n\r\nexport const menuFlowDefaultActivationsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MenuFlowDefaultActivationRequest,\r\n (state, action) => {\r\n const foundObj = state.find(obj => obj.MenuFlowId === action.menuFlowId);\r\n\r\n if (!foundObj) {\r\n return [\r\n ...state,\r\n {\r\n MenuFlowId: action.menuFlowId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map(obj => {\r\n if (obj.MenuFlowId === action.menuFlowId) {\r\n return {\r\n ...obj,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.MenuFlowDefaultActivationSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.MenuFlowId === action.menuFlowId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload,\r\n };\r\n }\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.MenuFlowDefaultActivationErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.MenuFlowId === action.menuFlowId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\n\r\nexport function menuFlowDefaultActivationsReducer(state: IMenuFlowDefaultActivation[] | undefined, action: Action) {\r\n return menuFlowDefaultActivationsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IMenuFlowImage } from './menu-flow-images.interface';\r\nimport * as actions from './menu-flow-images.actions';\r\n\r\nconst initialState: IMenuFlowImage[] = [];\r\n\r\nexport const menuFlowImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MenuFlowImagesRequest,\r\n (state, action) => {\r\n const newToConcat: IMenuFlowImage[] = [];\r\n\r\n action.menuFlowIds.forEach(menuFlowId => {\r\n if (state.find(image => image.MenuFlowId === menuFlowId)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n MenuFlowId: menuFlowId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((image: IMenuFlowImage) => {\r\n if (action.menuFlowIds.find(menuFlowId => menuFlowId === image.MenuFlowId)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return image;\r\n }),\r\n ...newToConcat,\r\n ];\r\n },\r\n ),\r\n on(\r\n actions.MenuFlowImagesSuccessRequest,\r\n (state, action) => [\r\n ...state.map((image: IMenuFlowImage) => {\r\n const foundItem: APIv1.ImageUrlModel = action.payload.find(newImage => newImage.ParentId === image.MenuFlowId);\r\n\r\n if (foundItem) {\r\n\r\n return {\r\n ...image,\r\n data: { ...foundItem },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n })\r\n ],\r\n ),\r\n on(\r\n actions.MenuFlowImagesErrorRequest,\r\n (state, action) => state.map((image: IMenuFlowImage) => {\r\n if (action.menuFlowIds.find(menuFlowId => menuFlowId === image.MenuFlowId)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return image;\r\n })\r\n ),\r\n);\r\n\r\nexport function menuFlowImagesReducer(state: IMenuFlowImage[] | undefined, action: Action) {\r\n return menuFlowImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IMenuFlows } from './menu-flows.interface';\r\nimport * as actions from './menu-flows.actions';\r\n\r\nconst initialState: IMenuFlows[] = [];\r\n\r\nexport const menuFlowsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MenuFlowsDetailsRequest,\r\n (state, action) => {\r\n const foundIndex: number = state.findIndex(menuFlow => menuFlow.MenuFlowId === action.menuFlowId && menuFlow.LocationNo === action.locationNo);\r\n\r\n if (foundIndex === -1) {\r\n return [\r\n ...state,\r\n {\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n LocationNo: action.locationNo,\r\n MenuFlowId: action.menuFlowId,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map((menuFlow, index) => {\r\n if (index === foundIndex) {\r\n return {\r\n ...menuFlow,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return menuFlow;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.MenuFlowsDetailsSuccessRequest,\r\n (state, action) => {\r\n const foundIndex: number = state.findIndex(menuFlow => menuFlow.MenuFlowId === action.menuFlowId && menuFlow.LocationNo === action.locationNo);\r\n\r\n if (foundIndex === -1) {\r\n return [\r\n ...state,\r\n {\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n LocationNo: action.locationNo,\r\n MenuFlowId: action.menuFlowId,\r\n data: action.payload,\r\n }\r\n ];\r\n }\r\n\r\n return state.map((menuFlow, index) => {\r\n if (index === foundIndex) {\r\n return {\r\n ...menuFlow,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload\r\n };\r\n }\r\n\r\n return menuFlow;\r\n });\r\n }\r\n ),\r\n\r\n\r\n on(\r\n actions.MenuFlowsDetailsErrorRequest,\r\n (state, action) => {\r\n const foundIndex: number = state.findIndex(menuFlow => menuFlow.MenuFlowId === action.menuFlowId && menuFlow.LocationNo === action.locationNo);\r\n\r\n if (foundIndex === -1) {\r\n return [\r\n ...state,\r\n {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n LocationNo: action.locationNo,\r\n MenuFlowId: action.menuFlowId,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map((menuFlow, index) => {\r\n if (index === foundIndex) {\r\n return {\r\n ...menuFlow,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return menuFlow;\r\n });\r\n }\r\n ),\r\n\r\n\r\n);\r\n\r\n\r\nexport function menuFlowsReducer(state: IMenuFlows[] | undefined, action: Action) {\r\n return menuFlowsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IModal } from './modal.interface';\r\nimport * as actions from './modal.actions';\r\n\r\nconst initialState: IModal[] = [];\r\n\r\n\r\nexport const modalReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.ModalOpen,\r\n (state, action) => {\r\n const foundModal = state.find(modal => modal.id === action.modal.id);\r\n\r\n if (foundModal) {\r\n return state;\r\n }\r\n return [\r\n ...state,\r\n action.modal\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.ModalSwap,\r\n (state, action) => state.map(modal => {\r\n if (modal.id === action.modalId) {\r\n return {\r\n ...modal,\r\n ...action.details,\r\n };\r\n }\r\n\r\n return modal;\r\n })\r\n ),\r\n on(\r\n actions.ModalClose,\r\n (state, action) => {\r\n /* If id is null, close ALL! */\r\n if (!action.id) {\r\n return [];\r\n }\r\n\r\n return state.filter(modal => modal.id !== action.id);\r\n }\r\n ),\r\n\r\n on(\r\n actions.ModalCloseAll,\r\n (state, action) => state.filter(modal => {\r\n if (action.typesExcludedFromClosing.includes(modal.type)) {\r\n return true;\r\n }\r\n return false;\r\n })\r\n ),\r\n on(\r\n actions.ModalAnimate,\r\n (state, action) => state.map(modal => {\r\n const idMatchesOrIdNotProvided: boolean = !action.id || modal.id === action.id;\r\n\r\n if (idMatchesOrIdNotProvided) {\r\n return {\r\n ...modal,\r\n animate: action.animation,\r\n };\r\n }\r\n\r\n return modal;\r\n })\r\n ),\r\n on(\r\n actions.ModalSetLoading,\r\n (state, action) => state.map(modal => {\r\n if (modal.id === action.id) {\r\n return {\r\n ...modal,\r\n isLoading: action.isLoading,\r\n };\r\n }\r\n return modal;\r\n })\r\n ),\r\n);\r\n\r\nexport function modalReducer(state: IModal[] | undefined, action: Action) {\r\n return modalReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './online-menu.actions';\r\nimport { IOnlineMenu } from './online-menu.interface';\r\n\r\nconst initialState: IOnlineMenu = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n pickupDate: null,\r\n locationNo: null,\r\n data: null,\r\n};\r\n\r\nexport const onlineMenuReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineMenuPagesRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n pickupDate: action.pickupDate,\r\n locationNo: action.locationNo,\r\n })\r\n ),\r\n on(\r\n actions.OnlineMenuPagesSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n locationNo: action.locationNo,\r\n data: action.payload,\r\n downloadedDate: new Date().getTime(),\r\n })\r\n ),\r\n on(\r\n actions.OnlineMenuPageErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n locationNo: action.locationNo,\r\n })\r\n ),\r\n);\r\n\r\nexport function onlineMenuReducer(state: IOnlineMenu | undefined, action: Action) {\r\n return onlineMenuReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './online-menu-filters.actions';\r\nimport { IOnlineMenuFilters } from './online-menu-filters.interface';\r\n\r\nconst initialState: IOnlineMenuFilters = {\r\n search: null,\r\n};\r\n\r\nexport const onlineMenuFiltersReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineMenuFiltersReset,\r\n (state, action) => JSON.parse(JSON.stringify(initialState))\r\n ),\r\n on(\r\n actions.OnlineMenuFiltersSetSearch,\r\n (state, action) => ({\r\n ...state,\r\n search: action.search,\r\n })\r\n ),\r\n);\r\n\r\nexport function onlineMenuFiltersReducer(state: IOnlineMenuFilters | undefined, action: Action) {\r\n return onlineMenuFiltersReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IOnlineMenuPagesImages } from './online-menu-pages-images.interface';\r\nimport * as actions from './online-menu-pages-images.actions';\r\nimport * as Utils from '@shared/core/utils';\r\nconst initialState: IOnlineMenuPagesImages = {\r\n default: [],\r\n forList: [],\r\n forDetails: [],\r\n forWeb: [],\r\n forWebThumb: [],\r\n forMobile: [],\r\n};\r\n\r\nexport const onlineMenuPagesImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineMenuPagesImagesRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: action.pageIds.reduce((stateAcc, pageId) => {\r\n const index = stateAcc.findIndex(obj => obj.pageId === pageId);\r\n\r\n if (index === -1) {\r\n stateAcc.push({\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n pageId,\r\n data: null\r\n });\r\n } else {\r\n stateAcc[index] = {\r\n ...stateAcc[index],\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return stateAcc;\r\n\r\n }, [...state[imagesType]])\r\n };\r\n }\r\n ),\r\n on(\r\n actions.OnlineMenuPagesImagesSuccessRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(obj => {\r\n const hasRequested = action.pageIds.find(pageId => pageId === obj.pageId);\r\n if (!hasRequested) {\r\n return obj;\r\n }\r\n const found = action.payload.find(o => o.ParentId === obj.pageId);\r\n\r\n if (found) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: {\r\n ...found,\r\n }\r\n };\r\n }\r\n\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: null,\r\n };\r\n })\r\n };\r\n }\r\n ),\r\n on(\r\n actions.OnlineMenuPagesImagesErrorRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(obj => {\r\n const found = action.pageIds.find(pageId => pageId === obj.pageId);\r\n\r\n if (found) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n };\r\n }\r\n ),\r\n);\r\n\r\nexport function onlineMenuPagesImagesReducer(state: IOnlineMenuPagesImages | undefined, action: Action) {\r\n return onlineMenuPagesImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IOnlineMenuPageProductsImage } from './online-menu-products-images.interface';\r\nimport * as actions from './online-menu-products-images.actions';\r\n\r\nconst initialState: IOnlineMenuPageProductsImage[] = [];\r\n\r\nexport const onlineMenuProductsImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineMenuProductsImagesRequest,\r\n (state, action) => {\r\n const foundObj = state.find(obj => obj.pageId === action.pageId);\r\n\r\n if (!foundObj) {\r\n return [\r\n ...state,\r\n {\r\n pageId: action.pageId,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map(obj => {\r\n if (obj.pageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.OnlineMenuProductsImagesSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.pageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload\r\n };\r\n }\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.OnlineMenuProductsImagesErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.pageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function onlineMenuProductsImagesReducer(state: IOnlineMenuPageProductsImage[] | undefined, action: Action) {\r\n return onlineMenuProductsImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IOnlineOrder } from './online-order.interface';\r\nimport * as actions from './online-order.actions';\r\n\r\nconst initialState: IOnlineOrder = {\r\n createRequest: {\r\n isCreating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n updateRequest: {\r\n isUpdating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n downloadRequest: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n recalculateRequest: {\r\n isRecalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n },\r\n sendEmailReceipt: {\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n orderId: null,\r\n },\r\n orderType: null,\r\n\r\n data: null,\r\n};\r\n\r\nexport const onlineOrdersReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineOrderStateReset,\r\n (state, action) => ({\r\n ...initialState\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderSendEmailReceiptRequest,\r\n (state, action) => ({\r\n ...state,\r\n sendEmailReceipt: {\r\n ...state.sendEmailReceipt,\r\n isSending: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n orderId: action.orderId,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderSendEmailReceiptSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n sendEmailReceipt: {\r\n ...state.sendEmailReceipt,\r\n isSending: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n orderId: action.orderId,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderSendEmailReceiptErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n sendEmailReceipt: {\r\n ...state.sendEmailReceipt,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n orderId: action.orderId,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderTypeSelect,\r\n (state, action) => ({\r\n ...state,\r\n orderType: action.orderType\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderTypeUpdateValues,\r\n (state, action) => ({\r\n ...state,\r\n orderType: {\r\n ...state.orderType,\r\n Details: state.orderType.Details.map(obj => {\r\n const found = action.values.find(val => val.Id === obj.Id);\r\n if (found) {\r\n return {\r\n ...obj,\r\n _Value: found._Value\r\n };\r\n }\r\n return obj;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderResetOrderTypeValues,\r\n (state, action) => ({\r\n ...state,\r\n orderType: {\r\n ...state.orderType,\r\n Details: state.orderType.Details.map(obj => {\r\n const newObj = { ...obj };\r\n delete newObj._Value;\r\n return newObj;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderClearPostOrderRequestFlags,\r\n (state, action) => ({\r\n ...state,\r\n createRequest:\r\n {\r\n isCreating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderCreateRequest,\r\n (state, action) => ({\r\n ...state,\r\n createRequest: {\r\n isCreating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderCreateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n createRequest: {\r\n isCreating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: {\r\n ...state.data, // important. Some properties are filled only during recalculate call we don't want to override them\r\n ...{ ...action.payload },\r\n }\r\n\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderCreateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n createRequest: {\r\n isCreating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderUpdateRequest,\r\n (state, action) => ({\r\n ...state,\r\n updateRequest: {\r\n ...state.createRequest,\r\n isUpdating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderUpdateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n updateRequest: {\r\n ...state.createRequest,\r\n isUpdating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: {\r\n ...state.data,\r\n ...action.payload,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderUpdateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n updateRequest: {\r\n ...state.createRequest,\r\n isUpdating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderRequest,\r\n (state, action) => ({\r\n ...state,\r\n downloadRequest: {\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n downloadRequest: {\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: action.payload,\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n downloadRequest: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderRecalculateRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculateRequest: {\r\n ...state.recalculateRequest,\r\n isRecalculating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderRecalculateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculateRequest: {\r\n isRecalculating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload\r\n },\r\n data: {\r\n ...state.data,\r\n ...action.payload,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderRecalculateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculateRequest: {\r\n ...state.recalculateRequest,\r\n isRecalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n);\r\n\r\n\r\nexport function onlineOrdersReducer(state: IOnlineOrder | undefined, action: Action) {\r\n return onlineOrdersReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './order-types.actions';\r\nimport { IOrderType } from './order-types.interface';\r\n\r\nconst initialState: IOrderType[] = [];\r\n\r\nexport const orderTypesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OrderTypesRequest,\r\n (state, action) => {\r\n const foundObj = state.find(obj => obj.locationNo === action.locationNo);\r\n\r\n if (!foundObj) {\r\n return [\r\n ...state,\r\n {\r\n locationNo: action.locationNo,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.OrderTypesSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n data: action.payload,\r\n downloadedDate: new Date().getTime(),\r\n };\r\n }\r\n return obj;\r\n }),\r\n ),\r\n on(\r\n actions.OrderTypesErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n })\r\n )\r\n);\r\n\r\nexport function orderTypesReducer(state: IOrderType[] | undefined, action: Action) {\r\n return orderTypesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IOrderTypeImage } from './order-types-images.interface';\r\nimport * as actions from './order-types-images.actions';\r\n\r\nconst initialState: IOrderTypeImage[] = [];\r\n\r\nexport const orderTypesImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OrderTypesImagesRequest,\r\n (state, action) => {\r\n const newToConcat: IOrderTypeImage[] = [];\r\n\r\n action.orderTypesIds.forEach(id => {\r\n if (state.find(image => image.Id === id)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n Id: id,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((image: IOrderTypeImage) => {\r\n if (action.orderTypesIds.find(productId => productId === image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return image;\r\n }),\r\n ...newToConcat,\r\n ];\r\n\r\n }\r\n ),\r\n on(\r\n actions.OrderTypesImagesSuccessRequest,\r\n (state, action) => {\r\n\r\n return state.map((image: IOrderTypeImage) => {\r\n\r\n const foundItem: APIv1.ImageUrlModel = action.payload.find(newImage => newImage.ParentId === image.Id);\r\n\r\n if (foundItem) {\r\n\r\n return {\r\n ...image,\r\n data: { ...foundItem },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n });\r\n }\r\n ),\r\n on(\r\n actions.OrderTypesImagesErrorRequest,\r\n (state, action) => {\r\n\r\n return state.map((image: IOrderTypeImage) => {\r\n if (action.orderTypesIds.find(productId => productId === image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return image;\r\n });\r\n }\r\n ),\r\n);\r\n\r\nexport function orderTypesImagesReducer(state: IOrderTypeImage[] | undefined, action: Action) {\r\n return orderTypesImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './payment.actions';\r\nimport { IPayment } from './payment.interface';\r\n\r\nconst initialState: IPayment = {\r\n OrderId: null,\r\n PaymentMethod: null,\r\n\r\n Errors: [],\r\n PaymentStepStatus: null,\r\n\r\n isPaying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n};\r\n\r\nexport const paymentsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.PaymentClearErrors,\r\n state => ({\r\n ...state,\r\n Errors: [],\r\n }),\r\n ),\r\n on(\r\n actions.PaymentInitAramark,\r\n actions.PaymentInit,\r\n (state, action) => ({\r\n OrderId: null,\r\n PaymentMethod: null,\r\n Errors: [],\r\n PaymentStepStatus: 'init',\r\n\r\n isPaying: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepValidateGuestData,\r\n (state, action) => ({\r\n ...state,\r\n PaymentStepStatus: 'validate_guest'\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepValidateGuestCardToken,\r\n actions.PaymentStepValidateMemberCardToken,\r\n (state, action) => ({\r\n ...state,\r\n PaymentStepStatus: 'validate_card_token',\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepCreateOrder,\r\n (state, action) => ({\r\n ...state,\r\n PaymentStepStatus: 'create_order',\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepPay,\r\n (state, action) => ({\r\n ...state,\r\n PaymentStepStatus: 'paying',\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepPaymentStatusCheck,\r\n (state, action) => ({\r\n ...state,\r\n OrderId: action.OrderId,\r\n PaymentStepStatus: 'payment_status_check',\r\n data: {\r\n TransactionId: action.TransactionId,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepComplete,\r\n (state, action) => ({\r\n ...state,\r\n OrderId: action.OrderId,\r\n PaymentStepStatus: 'complete',\r\n data: {\r\n ...action.payload,\r\n },\r\n isPaying: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepFailed,\r\n (state, action) => ({\r\n ...state,\r\n\r\n PaymentStepStatus: 'failed',\r\n Errors: [\r\n ...state.Errors,\r\n {\r\n Id: action.Id,\r\n Message: action.Message,\r\n }\r\n ],\r\n isPaying: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n on(\r\n actions.PaymentReset,\r\n (state, action) => JSON.parse(JSON.stringify(initialState))\r\n ),\r\n);\r\n\r\nexport function paymentsReducer(state: IPayment | undefined, action: Action) {\r\n return paymentsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IProductImage } from './product-images.interface';\r\nimport * as actions from './product-images.actions';\r\n\r\nconst initialState: IProductImage[] = [];\r\n\r\nexport const productImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.ProductImagesRequest,\r\n (state, action) => {\r\n const newToConcat: IProductImage[] = [];\r\n\r\n action.productIds.forEach(productId => {\r\n if (state.find(image => image.ProductId === productId)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n ProductId: productId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((image: IProductImage) => {\r\n if (action.productIds.find(productId => productId === image.ProductId)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return image;\r\n }),\r\n ...newToConcat,\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.ProductImagesSuccessRequest,\r\n (state, action) => state.map((image: IProductImage) => {\r\n const foundItem: APIv1.ImageUrlModel = action.payload.find(newImage => newImage.ParentId === image.ProductId);\r\n\r\n if (foundItem) {\r\n\r\n return {\r\n ...image,\r\n data: { ...foundItem },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n })\r\n ),\r\n\r\n on(\r\n actions.ProductImagesErrorRequest,\r\n (state, action) => state.map((image: IProductImage) => {\r\n if (action.productIds.find(productId => productId === image.ProductId)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return image;\r\n })\r\n ),\r\n);\r\n\r\nexport function productImagesReducer(state: IProductImage[] | undefined, action: Action) {\r\n return productImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IReorder } from './reorder.interface';\r\nimport * as actions from './reorder.actions';\r\n\r\nconst initialState: IReorder[] = [];\r\n\r\nexport const reorderReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.ReorderUnmount,\r\n (state, action) => {\r\n if (action.orderId) return state.filter(obj => obj.OrderId !== action.orderId);\r\n\r\n return [];\r\n }\r\n ),\r\n on(\r\n actions.ReorderDeselectAll,\r\n (state, action) => state.map(obj => {\r\n if (obj.OrderId === action.orderId) {\r\n return {\r\n ...obj,\r\n data: !obj.data ? null : {\r\n ...obj.data,\r\n cart: !obj.data.cart ? null : {\r\n ...obj.data.cart,\r\n itemsMenuFlow: obj.data.cart.itemsMenuFlow.map(item => ({\r\n ...item,\r\n _IsSelected: false,\r\n })),\r\n itemsSimple: obj.data.cart.itemsSimple.map(item => ({\r\n ...item,\r\n _IsSelected: false,\r\n })),\r\n }\r\n }\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.ReorderSelectItem,\r\n (state, action) => state.map(obj => {\r\n if (obj.OrderId === action.orderId) {\r\n let type = 'itemsMenuFlow';\r\n if (!action.item.MenuFlowId) {\r\n type = 'itemsSimple';\r\n }\r\n\r\n let id = action.item._Id;\r\n\r\n\r\n return {\r\n ...obj,\r\n data: {\r\n ...obj.data,\r\n cart: {\r\n ...obj.data.cart,\r\n [type]: obj.data.cart[type].map(obj => {\r\n if (obj._Id === id) {\r\n return {\r\n ...obj,\r\n _IsSelected: true,\r\n };\r\n }\r\n return obj;\r\n })\r\n }\r\n }\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.ReorderDeselectItem,\r\n (state, action) => state.map(obj => {\r\n if (obj.OrderId === action.orderId) {\r\n let type = 'itemsMenuFlow';\r\n if (!action.item.MenuFlowId) {\r\n type = 'itemsSimple';\r\n }\r\n\r\n let id = action.item._Id;\r\n\r\n return {\r\n ...obj,\r\n data: {\r\n ...obj.data,\r\n cart: {\r\n ...obj.data.cart,\r\n [type]: obj.data.cart[type].map(obj => {\r\n if (obj._Id === id) {\r\n return {\r\n ...obj,\r\n _IsSelected: false,\r\n };\r\n }\r\n return obj;\r\n })\r\n }\r\n }\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.ReorderCalculateRequest,\r\n (state, action) => {\r\n const foundReorder = state.find(obj => obj.LocationNo === action.locationNo && obj.OrderId === action.orderId && obj.PickupTime.Id === action.pickupTime.Id);\r\n if (foundReorder) {\r\n return state.map(obj => {\r\n if (obj.LocationNo === action.locationNo && obj.OrderId === action.orderId && obj.PickupTime.Id === action.pickupTime.Id) {\r\n return {\r\n ...obj,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n\r\n return [\r\n ...state,\r\n {\r\n LocationNo: action.locationNo,\r\n OrderId: action.orderId,\r\n PickupTime: action.pickupTime,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n data: {\r\n onlineMenu: null,\r\n menuFlowsDetails: [],\r\n ingredients: [],\r\n\r\n errors: null,\r\n cart: null,\r\n },\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.ReorderCalculateSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.LocationNo === action.locationNo && obj.OrderId === action.orderId && obj.PickupTime.Id === action.pickupTime.Id) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: { ...action.payload },\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.ReorderCalculateErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.LocationNo === action.locationNo && obj.OrderId === action.orderId && obj.PickupTime.Id === action.pickupTime.Id) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function reorderReducer(state: IReorder[] | undefined, action: Action) {\r\n return reorderReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IRouter, IRouterNavigationPayload } from './router.interface';\r\nimport * as actions from './router.actions';\r\n\r\nconst initialState: IRouter = {\r\n previous: null,\r\n current: null,\r\n history: [],\r\n};\r\n\r\n\r\nexport const routeReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.RouterNavigation,\r\n (state, action) => {\r\n /* Run serialization */\r\n const payload: IRouterNavigationPayload = action.payload;\r\n const { id, url, urlAfterRedirects } = payload.event;\r\n\r\n if (!payload.routerState) return state;\r\n\r\n let route = payload.routerState.root;\r\n while (route.firstChild) {\r\n route = route.firstChild;\r\n }\r\n const {\r\n params,\r\n queryParams,\r\n data,\r\n fragment, /* Hash */\r\n } = route;\r\n\r\n const current = {\r\n id,\r\n url,\r\n urlAfterRedirects,\r\n params,\r\n queryParams,\r\n data,\r\n fragment,\r\n timestamp: new Date().getTime(),\r\n };\r\n\r\n const previous = state.current ? { ...state.current } : null;\r\n return {\r\n ...state,\r\n previous: {\r\n ...previous\r\n },\r\n\r\n current,\r\n /*\r\n TODO:\r\n Currently history state doesn't give a ... about browser 'GO BACK' action.\r\n This way we will have preview of full REAL history.\r\n Previous route is REAL previous route of ANGULAR state, not browser! It's not duplication.\r\n These might be different\r\n */\r\n history: previous ? [\r\n ...state.history,\r\n previous\r\n ] : state.history,\r\n };\r\n\r\n }\r\n ),\r\n);\r\n\r\nexport function routeReducer(state: IRouter | undefined, action: Action) {\r\n return routeReducerFn(state, action);\r\n}","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { ITopBar } from './top-bar.interface';\r\nimport * as actions from './top-bar.actions';\r\n\r\nconst initialState: ITopBar = {\r\n isSticky: false,\r\n isCartVisible: true,\r\n isBackToLandingVisible: false,\r\n isBackToStoreVisible: false,\r\n};\r\n\r\nexport const topBarReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.TopBarSetStickyFlag,\r\n (state, action) => ({\r\n ...state,\r\n isSticky: action.isSticky,\r\n })\r\n ),\r\n on(\r\n actions.TopBarSetCartIconVisibility,\r\n (state, action) => ({\r\n ...state,\r\n isCartVisible: action.isVisible\r\n })\r\n ),\r\n on(\r\n actions.TopBarSetBackToStoreIconVisibility,\r\n (state, action) => ({\r\n ...state,\r\n isBackToStoreVisible: action.isVisible\r\n })\r\n ),\r\n on(\r\n actions.TopBarSetBackToLandingIconVisibility,\r\n (state, action) => ({\r\n ...state,\r\n isBackToLandingVisible: action.isVisible\r\n })\r\n ),\r\n);\r\n\r\nexport function topBarReducer(state: ITopBar | undefined, action: Action) {\r\n return topBarReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\n\r\nimport * as actions from './venues-images.actions';\r\nimport * as Utils from '@shared/core/utils';\r\nimport { IVenuesImages } from './venues-images.interface';\r\n\r\nconst initialState: IVenuesImages = {\r\n default: [],\r\n forList: [],\r\n forDetails: [],\r\n forWeb: [],\r\n forWebThumb: [],\r\n forMobile: [],\r\n};\r\nexport const venueImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.VenueImagesRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n\r\n const notExistingImages: number[] = action.ids.filter(id => !state[imagesType].find((img: OLO.Common.IImageStateObj) => img.Id === id));\r\n\r\n return {\r\n ...state,\r\n [imagesType]: [\r\n ...state[imagesType].map(image => {\r\n if (action.ids.includes(image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n return image;\r\n }),\r\n\r\n ...notExistingImages.map(id => ({\r\n Id: id,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n }))\r\n\r\n ]\r\n };\r\n }\r\n ),\r\n on(\r\n actions.VenueImagesSuccessRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(image => {\r\n const imageIsUpdating = action.ids.includes(image.Id);\r\n if (imageIsUpdating) {\r\n const newImage = action.payload.find(obj => obj.ParentId === image.Id);\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: true,\r\n data: newImage || null,\r\n };\r\n }\r\n\r\n return image;\r\n })\r\n };\r\n }\r\n ),\r\n on(\r\n actions.VenueImagesErrorRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(image => {\r\n if (action.ids.includes(image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return image;\r\n })\r\n };\r\n\r\n }\r\n ),\r\n\r\n);\r\n\r\nexport function venueImagesReducer(state: IVenuesImages | undefined, action: Action) {\r\n return venueImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './wizzard.actions';\r\nimport { IWizzard } from './wizzard.interface';\r\n\r\nconst initialState: IWizzard = {\r\n errors: [],\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: null,\r\n itemsSimple: null,\r\n};\r\n\r\nexport const wizzardReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.WizzardStepMenuFlowInit,\r\n (state, action) => ({\r\n ...state,\r\n errors: [],\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsSimple: null,\r\n itemsMenuFlow: null,\r\n })\r\n ),\r\n on(\r\n actions.WizzardStepMenuFlowMount,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: {\r\n ...action.item\r\n },\r\n })\r\n ),\r\n on(\r\n actions.WizzardValidate,\r\n (state, action) => ({\r\n ...state,\r\n errors: action.errors,\r\n })\r\n ),\r\n on(\r\n actions.WizzardUnmountAll,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsSimple: null,\r\n itemsMenuFlow: null,\r\n errors: [],\r\n })\r\n ),\r\n on(\r\n actions.WizzardStepSimpleItemMount,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsSimple: { ...action.item }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowUpsellSetupRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.WizzardMountMenuFlowUpsell,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: { ...action.item }\r\n })\r\n ),\r\n on(\r\n actions.WizzardSimpleItemDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: {\r\n ...state.itemsSimple,\r\n Quantity: state.itemsSimple.Quantity - action.changeValue\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardSimpleItemIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: {\r\n ...state.itemsSimple,\r\n Quantity: state.itemsSimple.Quantity + action.changeValue\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardSimpleItemSpecialInstructions,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: {\r\n ...state.itemsSimple,\r\n SpecialInstructions: action.specialInstruction\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowReplaceAllWithNew,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(Page => {\r\n if (Page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...Page,\r\n Products: [\r\n {\r\n ...action.product,\r\n Quantity: action.product.Quantity ? action.product.Quantity : 1,\r\n }\r\n ],\r\n };\r\n }\r\n return Page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardRecalculatePricesForMenuFlowRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.WizzardRecalculatePricesForMenuFlowSuccessRequest,\r\n (state, action) => {\r\n const priceObj = action.priceObj;\r\n /*\r\n Because pickupTimeValidator removes unsets everything on some actions taken, we need to\r\n check if state is still set or it's null.\r\n */\r\n return {\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: state.itemsMenuFlow === null ? null : {\r\n ...state.itemsMenuFlow,\r\n UnitPrice: priceObj.UnitPrice,\r\n UnitTotalValue: priceObj.UnitTotalValue,\r\n Pages: state.itemsMenuFlow.Pages.map(Page => {\r\n const pageFromPriceObj = priceObj.Pages.find(obj => obj.PageIdentifier === Page.PageIdentifier);\r\n\r\n if (pageFromPriceObj) {\r\n return {\r\n ...Page,\r\n Products: Page.Products.map(Product => {\r\n const productFromPriceObj = pageFromPriceObj.Products.find(obj => obj.ProductId === Product.ProductId && obj.PageProductIdentifier === Product.PageProductIdentifier);\r\n\r\n if (productFromPriceObj) {\r\n return {\r\n ...Product,\r\n UnitPrice: productFromPriceObj.UnitPrice,\r\n TotalValue: productFromPriceObj.TotalValue,\r\n };\r\n }\r\n\r\n return Product;\r\n }),\r\n };\r\n }\r\n\r\n return Page;\r\n }),\r\n }\r\n };\r\n }\r\n ),\r\n on(\r\n actions.WizzardRecalculatePricesForMenuFlowErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowAddProduct,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(page => {\r\n if (page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...page,\r\n Products: [\r\n ...page.Products,\r\n {\r\n ...action.product,\r\n Quantity: action.product.Quantity ? action.product.Quantity : 1,\r\n },\r\n ]\r\n };\r\n }\r\n\r\n return page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowRemoveProduct,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(page => {\r\n if (page.PageIdentifier === action.pageIdentifier) {\r\n\r\n return {\r\n ...page,\r\n Products: page.Products.filter(product => {\r\n return product.ProductId !== action.productId;\r\n })\r\n };\r\n }\r\n\r\n return page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowProductDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(page => {\r\n if (page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...page,\r\n Products: page.Products.map(product => {\r\n if (product.ProductId === action.productId) {\r\n return {\r\n ...product,\r\n Quantity: product.Quantity - action.changeValue,\r\n };\r\n }\r\n return product;\r\n })\r\n };\r\n }\r\n return page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowProductIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(page => {\r\n if (page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...page,\r\n Products: page.Products.map(product => {\r\n if (product.ProductId === action.productId) {\r\n return {\r\n ...product,\r\n Quantity: product.Quantity + action.changeValue,\r\n };\r\n }\r\n return product;\r\n })\r\n };\r\n }\r\n return page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowSelectModifier,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(Page => {\r\n if (Page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...Page,\r\n Products: Page.Products.map(Product => {\r\n if (Product.ProductId === action.productId) {\r\n const modifier = action.modifier;\r\n\r\n /*\r\n * Optional items put into IngredientsAdded array, mandatory IngredientsModified\r\n * for this project we only allow one modifier, but we keep it in array (same as online order)\r\n * remember to put this modifier into NEW array\r\n */\r\n\r\n if (modifier._IsOptional) {\r\n\r\n const ingrExists = Product.IngredientsChanges.IngredientsAdded.find(mod => mod.ModifierID === modifier.ModifierID);\r\n\r\n if (ingrExists) {\r\n return Product;\r\n }\r\n\r\n return {\r\n ...Product,\r\n IngredientsChanges: {\r\n ...Product.IngredientsChanges,\r\n IngredientsAdded: [{ ...modifier }]\r\n }\r\n };\r\n }\r\n\r\n const ingredientExists = Product.IngredientsChanges.IngredientsModified.find(mod => mod.ModifierID === modifier.ModifierID);\r\n\r\n if (ingredientExists) {\r\n return Product;\r\n }\r\n\r\n return {\r\n ...Product,\r\n IngredientsChanges: {\r\n ...Product.IngredientsChanges,\r\n IngredientsModified: [{ ...modifier }]\r\n }\r\n };\r\n }\r\n\r\n return Product;\r\n })\r\n };\r\n }\r\n\r\n return Page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Quantity: state.itemsMenuFlow.Quantity - action.changeValue\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Quantity: state.itemsMenuFlow.Quantity + action.changeValue,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowSpecialInstructions,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n SpecialInstructions: action.specialInstructions\r\n }\r\n })\r\n ),\r\n);\r\n\r\nexport function wizzardReducer(state: IWizzard | undefined, action: Action) {\r\n return wizzardReducerFn(state, action);\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { AppSettingsEffects } from './app-settings.effects';\r\nimport { appSettingsReducer } from './app-settings.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('appSettings', appSettingsReducer),\r\n EffectsModule.forFeature([\r\n AppSettingsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class AppSettingsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { AvailablePickupsEffects } from './available-pickups.effects';\r\nimport { availablePickupsReducer } from './available-pickups.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('availablePickups', availablePickupsReducer),\r\n EffectsModule.forFeature([\r\n AvailablePickupsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class AvailablePickupsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { CartEffects } from './cart.effects';\r\nimport { cartReducer } from './cart.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('cart', cartReducer),\r\n EffectsModule.forFeature([\r\n CartEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class CartStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\n\r\nimport { cartPopupReducer } from './cart-popup.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('cartPopup', cartPopupReducer),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class CartPopupStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { CreditCardEffects } from './credit-cards.effects';\r\nimport { creditCardReducer } from './credit-cards.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('creditCards', creditCardReducer),\r\n EffectsModule.forFeature([\r\n CreditCardEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class CreditCardsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { CurrentLocationEffects } from './current-location.effects';\r\nimport { currentLocationReducer } from './current-location.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('currentLocation', currentLocationReducer),\r\n EffectsModule.forFeature([\r\n CurrentLocationEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class CurrentLocationStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { DietaryTagsImagesEffects } from './dietary-tags-images.effects';\r\nimport { dietaryTagsImagesReducer } from './dietary-tags-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('dietaryTagsImages', dietaryTagsImagesReducer),\r\n EffectsModule.forFeature([\r\n DietaryTagsImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class DietaryTagsImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { FreeProductsImagesEffects } from './free-products-images.effects';\r\nimport { freeProductsImagesReducer } from './free-products-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('freeProductsImages', freeProductsImagesReducer),\r\n EffectsModule.forFeature([\r\n FreeProductsImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class FreeProductsImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { GeolocationEffects } from './geolocation.effects';\r\nimport { geolocationReducer } from './geolocation.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('geolocation', geolocationReducer),\r\n EffectsModule.forFeature([\r\n GeolocationEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class GeolocationStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { HistoryOrdersEffects } from './history-orders.effects';\r\nimport { historyOrdersReducer } from './history-orders.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('historyOrders', historyOrdersReducer),\r\n EffectsModule.forFeature([\r\n HistoryOrdersEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class HistoryOrdersStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { IngredientsEffects } from './ingredients.effects';\r\nimport { ingredientsReducer } from './ingredients.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('ingredients', ingredientsReducer),\r\n EffectsModule.forFeature([\r\n IngredientsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class IngredientsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LatestTransactionsEffects } from './latest-transactions.effects';\r\nimport { latestTransactionsReducer } from './latest-transactions.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('latestTransactions', latestTransactionsReducer),\r\n EffectsModule.forFeature([\r\n LatestTransactionsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LatestTransactionsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoaderEffects } from './loader.effects';\r\nimport { loaderReducer } from './loader.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('loader', loaderReducer),\r\n EffectsModule.forFeature([\r\n LoaderEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LoaderStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LocationsEffects } from './locations.effects';\r\nimport { locationsReducer } from './locations.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('locations', locationsReducer),\r\n EffectsModule.forFeature([\r\n LocationsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LocationsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { locationsFiltersReducer } from './locations-filters.reducer';\r\nimport { LocationFiltersEffects } from './locations-filters.effects';\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('locationsFilters', locationsFiltersReducer),\r\n EffectsModule.forFeature([\r\n LocationFiltersEffects\r\n ]),\r\n ],\r\n})\r\nexport class LocationsFiltersStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LocationsImagesEffects } from './locations-images.effects';\r\nimport { locationImagesReducer } from './locations-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('locationsImages', locationImagesReducer),\r\n EffectsModule.forFeature([\r\n LocationsImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LocationsImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoyaltyIntroductionPagesEffects } from './loyalty-introduction-pages.effects';\r\nimport { loyaltyIntroductionPagesReducer } from './loyalty-introduction-pages.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('loyaltyIntroductionPages', loyaltyIntroductionPagesReducer),\r\n EffectsModule.forFeature([\r\n LoyaltyIntroductionPagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LoyaltyIntroductionPagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoyaltyIntroductionPagesImagesEffects } from './loyalty-introduction-pages-images.effects';\r\nimport { loyaltyIntroductionPagesImagesReducer } from './loyalty-introduction-pages-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('loyaltyIntroductionPagesImages', loyaltyIntroductionPagesImagesReducer),\r\n EffectsModule.forFeature([\r\n LoyaltyIntroductionPagesImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LoyaltyIntroductionPagesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoyaltyMessagesEffects } from './loyalty-messages.effects';\r\nimport { loyaltyMessagesReducer } from './loyalty-messages.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('loyaltyMessages', loyaltyMessagesReducer),\r\n EffectsModule.forFeature([\r\n LoyaltyMessagesEffects\r\n ]),\r\n ],\r\n})\r\nexport class LoyaltyMessagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoyaltyProductProgramsEffects } from './loyalty-product-programs.effects';\r\nimport { loyaltyProductProgramsReducer } from './loyalty-product-programs.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('loyaltyProductPrograms', loyaltyProductProgramsReducer),\r\n EffectsModule.forFeature([\r\n LoyaltyProductProgramsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LoyaltyProductProgramsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MemberCardBarcodesImagesEffects } from './member-card-barcodes-images.effects';\r\nimport { memberCardBarcodesImagesReducer } from './member-card-barcodes-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('memberCardBarcodesImages', memberCardBarcodesImagesReducer),\r\n EffectsModule.forFeature([\r\n MemberCardBarcodesImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MemberCardBarcodesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MembersEffects } from './members.effects';\r\nimport { memberReducer } from './members.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('members', memberReducer),\r\n EffectsModule.forFeature([\r\n MembersEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MembersStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MenuFlowDefaultActivationsEffects } from './menu-flow-default-activations.effects';\r\nimport { menuFlowDefaultActivationsReducer } from './menu-flow-default-activations.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('menuFlowDefaultActivations', menuFlowDefaultActivationsReducer),\r\n EffectsModule.forFeature([\r\n MenuFlowDefaultActivationsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MenuFlowDefaultActivationsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MenuFlowImagesEffects } from './menu-flow-images.effects';\r\nimport { menuFlowImagesReducer } from './menu-flow-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('menuFlowImages', menuFlowImagesReducer),\r\n EffectsModule.forFeature([\r\n MenuFlowImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MenuFlowImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MenuFlowsEffects } from './menu-flows.effects';\r\nimport { menuFlowsReducer } from './menu-flows.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('menuFlows', menuFlowsReducer),\r\n EffectsModule.forFeature([\r\n MenuFlowsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MenuFlowsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { modalReducer } from './modal.reducer';\r\nimport { ModalEffects } from './modal.effects';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('modals', modalReducer),\r\n EffectsModule.forFeature([\r\n ModalEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class ModalsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OnlineMenuEffects } from './online-menu.effects';\r\nimport { onlineMenuReducer } from './online-menu.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('onlineMenu', onlineMenuReducer),\r\n EffectsModule.forFeature([\r\n OnlineMenuEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class OnlineMenuStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\n\r\nimport { onlineMenuFiltersReducer } from './online-menu-filters.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('onlineMenuFilters', onlineMenuFiltersReducer),\r\n ],\r\n})\r\nexport class OnlineMenuFiltersStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OnlineMenuPagesImagesEffects } from './online-menu-pages-images.effects';\r\nimport { onlineMenuPagesImagesReducer } from './online-menu-pages-images.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('onlineMenuPagesImages', onlineMenuPagesImagesReducer),\r\n EffectsModule.forFeature([\r\n OnlineMenuPagesImagesEffects\r\n ]),\r\n ],\r\n})\r\nexport class OnlineMenuPagesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OnlineMenuProductsImagesEffects } from './online-menu-products-images.effects';\r\nimport { onlineMenuProductsImagesReducer } from './online-menu-products-images.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('onlineMenuProductsImages', onlineMenuProductsImagesReducer),\r\n EffectsModule.forFeature([\r\n OnlineMenuProductsImagesEffects\r\n ]),\r\n ],\r\n})\r\nexport class OnlineMenuProductsImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OnlineOrdersEffects } from './online-order.effects';\r\nimport { onlineOrdersReducer } from './online-order.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('onlineOrder', onlineOrdersReducer),\r\n EffectsModule.forFeature([\r\n OnlineOrdersEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class OnlineOrderStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OrderTypesEffects } from './order-types.effects';\r\nimport { orderTypesReducer } from './order-types.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('orderTypes', orderTypesReducer),\r\n EffectsModule.forFeature([\r\n OrderTypesEffects\r\n ]),\r\n ],\r\n})\r\nexport class OrderTypesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OrderTypesImagesEffects } from './order-types-images.effects';\r\nimport { orderTypesImagesReducer } from './order-types-images.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('orderTypesImages', orderTypesImagesReducer),\r\n EffectsModule.forFeature([\r\n OrderTypesImagesEffects\r\n ]),\r\n ],\r\n})\r\nexport class OrderTypesImagesStateModule { }\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { catchError, map, switchMap, take, filter, withLatestFrom, delay, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class PaymentsDemoEffects {\r\n @Effect() public __DEMO__stepCreateOrderFor$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.__DEMO__PaymentStepCreateOrder,\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.__DEMO__canPostOnlineOrder))\r\n ),\r\n switchMap(([action, canPostOnlineOrder]) => {\r\n if (!canPostOnlineOrder) {\r\n return this._error('Unable to create order - insufficient data');\r\n }\r\n\r\n return [\r\n actions.OnlineOrderClearPostOrderRequestFlags(),\r\n actions.OnlineOrderCreateRequest(),\r\n actions.__DEMO__PaymentStepPay(),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public __DEMO__stepPay$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.__DEMO__PaymentStepPay\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState),\r\n filter(orderState => orderState.createRequest.isCreating === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getOnlineOrder))\r\n ),\r\n switchMap(([orderState, onlineOrder]) => {\r\n if (orderState.createRequest.hasFailed) {\r\n return this._error('Unable to create order');\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.isCartLocationsPickupsCalculating),\r\n filter(isCalculating => isCalculating === false),\r\n take(1),\r\n switchMap(calculated => {\r\n const OrderId: number = onlineOrder.Id;\r\n const PaymentMethod: APIv2.ExecutePaymentModel = {\r\n Amount: onlineOrder.TotalGrossValue,\r\n PaymentAccountId: null,\r\n Token: 'demo-mode-on',\r\n SetOrderAsValidatedOnSuccess: true,\r\n PaymentProvider: OLO.Enums.PAYMENT_PROVIDER.CONVERGE\r\n };\r\n\r\n return this._paymentsService.pay(OrderId, PaymentMethod)\r\n .pipe(\r\n map(({ TransactionId }) => {\r\n return actions.__DEMO__PaymentStepPaymentStatusCheck({ TransactionId, OrderId });\r\n }),\r\n catchError(ex => {\r\n return this._error('Payment failed', ex);\r\n })\r\n );\r\n })\r\n );\r\n\r\n\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public __DEMO__stepPaymentStatusCheck$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.__DEMO__PaymentStepPaymentStatusCheck\r\n ),\r\n mergeMap(action => {\r\n return this._paymentsService.getPaymentStatus(action.TransactionId)\r\n .pipe(\r\n delay(1000),\r\n switchMap(payload => {\r\n return of(actions.PaymentStepComplete({ OrderId: action.OrderId, payload }));\r\n }),\r\n catchError(ex => {\r\n return this._error('Payment status check failed', ex);\r\n })\r\n );\r\n })\r\n );\r\n\r\n private _error(error: string = '', ex: any = null): Array {\r\n console.error('DEMO Payment error:', error, ex);\r\n return [\r\n actions.OnlineOrderStateReset(),\r\n actions.PaymentStepFailed(error)\r\n ];\r\n }\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _paymentsService: Services.PaymentsService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { PaymentsEffects } from './payment.effects';\r\nimport { PaymentsDemoEffects } from './payment-demo.effects';\r\nimport { paymentsReducer } from './payment.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('payment', paymentsReducer),\r\n EffectsModule.forFeature([\r\n PaymentsEffects,\r\n PaymentsDemoEffects,\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class PaymentStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { PickupTimeValidateEffects } from './pickup-time-validate.effects';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n EffectsModule.forFeature([\r\n PickupTimeValidateEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class PickupTimeValidateStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { ProductImagesEffects } from './product-images.effects';\r\nimport { productImagesReducer } from './product-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('productImages', productImagesReducer),\r\n EffectsModule.forFeature([\r\n ProductImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class ProductImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { ReorderEffects } from './reorder.effects';\r\nimport { reorderReducer } from './reorder.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('reorder', reorderReducer),\r\n EffectsModule.forFeature([\r\n ReorderEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class ReorderStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { RouterEffects } from './router.effects';\r\nimport { routeReducer } from './router.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('router', routeReducer, {\r\n metaReducers: [\r\n ]\r\n }),\r\n EffectsModule.forFeature([\r\n RouterEffects\r\n ]),\r\n ],\r\n})\r\nexport class RouterStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { StateEffects } from './state.effects';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n EffectsModule.forFeature([\r\n StateEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class AppStateStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { TopBarEffects } from './top-bar.effects';\r\nimport { topBarReducer } from './top-bar.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('topBar', topBarReducer),\r\n EffectsModule.forFeature([\r\n TopBarEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class TopBarStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { VenueImagesEffects } from './venues-images.effects';\r\nimport { venueImagesReducer } from './venues-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('venuesImages', venueImagesReducer),\r\n EffectsModule.forFeature([\r\n VenueImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class VenuesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { WizzardEffects } from './wizzard.effects';\r\nimport { wizzardReducer } from './wizzard.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('wizzard', wizzardReducer),\r\n EffectsModule.forFeature([\r\n WizzardEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class WizzardStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport {\r\n AlertMessagesStateModule,\r\n AppSettingsStateModule,\r\n AvailablePickupsStateModule,\r\n CartStateModule,\r\n CartPopupStateModule,\r\n CreditCardsStateModule,\r\n CurrentLocationStateModule,\r\n DietaryTagsImagesStateModule,\r\n FreeProductsImagesStateModule,\r\n GeolocationStateModule,\r\n HistoryOrdersStateModule,\r\n IngredientsStateModule,\r\n LatestTransactionsStateModule,\r\n LoaderStateModule,\r\n LocationsStateModule,\r\n LocationsFiltersStateModule,\r\n LocationsImagesStateModule,\r\n LoyaltyIntroductionPagesStateModule,\r\n LoyaltyIntroductionPagesImagesStateModule,\r\n LoyaltyMessagesStateModule,\r\n LoyaltyProductProgramsStateModule,\r\n MemberCardBarcodesImagesStateModule,\r\n MembersStateModule,\r\n MenuFlowDefaultActivationsStateModule,\r\n MenuFlowImagesStateModule,\r\n MenuFlowsStateModule,\r\n ModalsStateModule,\r\n OnlineMenuStateModule,\r\n OnlineMenuFiltersStateModule,\r\n OnlineMenuPagesImagesStateModule,\r\n OnlineMenuProductsImagesStateModule,\r\n OnlineOrderStateModule,\r\n // OrderingTimeInfoStateModule,\r\n OrderTypesStateModule,\r\n OrderTypesImagesStateModule,\r\n PaymentStateModule,\r\n PickupTimeValidateStateModule,\r\n ProductImagesStateModule,\r\n ReorderStateModule,\r\n RouterStateModule,\r\n AppStateStateModule,\r\n TopBarStateModule,\r\n VenuesImagesStateModule,\r\n WizzardStateModule,\r\n} from './modules';\r\n\r\n/*\r\n If you need to customize shared effects, create own module in your current project with new effects,\r\n and include it as a feature\r\n*/\r\nconst stateModules: any[] = [\r\n AlertMessagesStateModule,\r\n AppSettingsStateModule,\r\n AvailablePickupsStateModule,\r\n CartStateModule,\r\n CartPopupStateModule,\r\n CreditCardsStateModule,\r\n CurrentLocationStateModule,\r\n DietaryTagsImagesStateModule,\r\n FreeProductsImagesStateModule,\r\n GeolocationStateModule,\r\n HistoryOrdersStateModule,\r\n IngredientsStateModule,\r\n LatestTransactionsStateModule,\r\n LoaderStateModule,\r\n LocationsStateModule,\r\n LocationsFiltersStateModule,\r\n LocationsImagesStateModule,\r\n LoyaltyIntroductionPagesStateModule,\r\n LoyaltyIntroductionPagesImagesStateModule,\r\n LoyaltyMessagesStateModule,\r\n LoyaltyProductProgramsStateModule,\r\n MemberCardBarcodesImagesStateModule,\r\n MembersStateModule,\r\n MenuFlowDefaultActivationsStateModule,\r\n MenuFlowImagesStateModule,\r\n MenuFlowsStateModule,\r\n ModalsStateModule,\r\n OnlineMenuStateModule,\r\n OnlineMenuFiltersStateModule,\r\n OnlineMenuPagesImagesStateModule,\r\n OnlineMenuProductsImagesStateModule,\r\n OnlineOrderStateModule,\r\n // OrderingTimeInfoStateModule,\r\n OrderTypesStateModule,\r\n OrderTypesImagesStateModule,\r\n PaymentStateModule,\r\n PickupTimeValidateStateModule,\r\n ProductImagesStateModule,\r\n ReorderStateModule,\r\n RouterStateModule,\r\n AppStateStateModule,\r\n TopBarStateModule,\r\n VenuesImagesStateModule,\r\n WizzardStateModule,\r\n];\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n ...stateModules,\r\n ],\r\n exports: [\r\n ...stateModules\r\n ],\r\n})\r\nexport class StateSharedModule { }\r\n","\r\nimport * as actions from './actions';\r\nimport * as effects from './effects';\r\nimport * as models from './interface';\r\nimport * as metaReducers from './meta-reducers';\r\nimport * as reducers from './reducers';\r\nimport * as selectors from './selectors';\r\n\r\nexport * from './actions';\r\nexport * from './effects';\r\nexport * from './interface';\r\nexport * from './modules';\r\nexport * from './meta-reducers';\r\nexport * from './reducers';\r\nexport * from './selectors';\r\n\r\nexport * from './state.shared.module';\r\n\r\nexport {\r\n actions,\r\n effects,\r\n models,\r\n metaReducers,\r\n reducers,\r\n selectors,\r\n};\r\n","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const FreeProductImageRequest = createAction(\r\n '[Free Products Images] Request image',\r\n props<{ productId: number; }>(),\r\n);\r\n\r\nexport const FreeProductImageSuccessRequest = createAction(\r\n '[Free Products Images] Success request image',\r\n props<{ productId: number, payload: string; }>(),\r\n);\r\n\r\nexport const FreeProductImageErrorRequest = createAction(\r\n '[Free Products Images] Error request image',\r\n props<{ productId: number, ex?: any; }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n if (number === 1) {\n result += 'sekunda';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sekunde';\n } else {\n result += 'sekundi';\n }\n return result;\n case 'm':\n return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n case 'mm':\n if (number === 1) {\n result += 'minuta';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'minute';\n } else {\n result += 'minuta';\n }\n return result;\n case 'h':\n return withoutSuffix ? 'jedan sat' : 'jednog sata';\n case 'hh':\n if (number === 1) {\n result += 'sat';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sata';\n } else {\n result += 'sati';\n }\n return result;\n case 'dd':\n if (number === 1) {\n result += 'dan';\n } else {\n result += 'dana';\n }\n return result;\n case 'MM':\n if (number === 1) {\n result += 'mjesec';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'mjeseca';\n } else {\n result += 'mjeseci';\n }\n return result;\n case 'yy':\n if (number === 1) {\n result += 'godina';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'godine';\n } else {\n result += 'godina';\n }\n return result;\n }\n }\n\n var bs = moment.defineLocale('bs', {\n months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),\n monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),\n weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'H:mm',\n LTS : 'H:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D. MMMM YYYY',\n LLL : 'D. MMMM YYYY H:mm',\n LLLL : 'dddd, D. MMMM YYYY H:mm'\n },\n calendar : {\n sameDay : '[danas u] LT',\n nextDay : '[sutra u] LT',\n nextWeek : function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n case 3:\n return '[u] [srijedu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay : '[jučer u] LT',\n lastWeek : function () {\n switch (this.day()) {\n case 0:\n case 3:\n return '[prošlu] dddd [u] LT';\n case 6:\n return '[prošle] [subote] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prošli] dddd [u] LT';\n }\n },\n sameElse : 'L'\n },\n relativeTime : {\n future : 'za %s',\n past : 'prije %s',\n s : 'par sekundi',\n ss : translate,\n m : translate,\n mm : translate,\n h : translate,\n hh : translate,\n d : 'dan',\n dd : translate,\n M : 'mjesec',\n MM : translate,\n y : 'godinu',\n yy : translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return bs;\n\n})));\n","/**\n * @license Angular v9.1.11\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Subject, Subscription, Observable, merge as merge$1 } from 'rxjs';\nimport { share } from 'rxjs/operators';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Convince closure compiler that the wrapped function has no side-effects.\n *\n * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to\n * allow us to execute a function but have closure compiler mark the call as no-side-effects.\n * It is important that the return value for the `noSideEffects` function be assigned\n * to something which is retained otherwise the call to `noSideEffects` will be removed by closure\n * compiler.\n */\nfunction noSideEffects(fn) {\n return { toString: fn }.toString();\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst ANNOTATIONS = '__annotations__';\nconst PARAMETERS = '__parameters__';\nconst PROP_METADATA = '__prop__metadata__';\n/**\n * @suppress {globalThis}\n */\nfunction makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function DecoratorFactory(...args) {\n if (this instanceof DecoratorFactory) {\n metaCtor.call(this, ...args);\n return this;\n }\n const annotationInstance = new DecoratorFactory(...args);\n return function TypeDecorator(cls) {\n if (typeFn)\n typeFn(cls, ...args);\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const annotations = cls.hasOwnProperty(ANNOTATIONS) ?\n cls[ANNOTATIONS] :\n Object.defineProperty(cls, ANNOTATIONS, { value: [] })[ANNOTATIONS];\n annotations.push(annotationInstance);\n if (additionalProcessing)\n additionalProcessing(cls);\n return cls;\n };\n }\n if (parentClass) {\n DecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n DecoratorFactory.prototype.ngMetadataName = name;\n DecoratorFactory.annotationCls = DecoratorFactory;\n return DecoratorFactory;\n });\n}\nfunction makeMetadataCtor(props) {\n return function ctor(...args) {\n if (props) {\n const values = props(...args);\n for (const propName in values) {\n this[propName] = values[propName];\n }\n }\n };\n}\nfunction makeParamDecorator(name, props, parentClass) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function ParamDecoratorFactory(...args) {\n if (this instanceof ParamDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const annotationInstance = new ParamDecoratorFactory(...args);\n ParamDecorator.annotation = annotationInstance;\n return ParamDecorator;\n function ParamDecorator(cls, unusedKey, index) {\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const parameters = cls.hasOwnProperty(PARAMETERS) ?\n cls[PARAMETERS] :\n Object.defineProperty(cls, PARAMETERS, { value: [] })[PARAMETERS];\n // there might be gaps if some in between parameters do not have annotations.\n // we pad with nulls.\n while (parameters.length <= index) {\n parameters.push(null);\n }\n (parameters[index] = parameters[index] || []).push(annotationInstance);\n return cls;\n }\n }\n if (parentClass) {\n ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n ParamDecoratorFactory.prototype.ngMetadataName = name;\n ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n return ParamDecoratorFactory;\n });\n}\nfunction makePropDecorator(name, props, parentClass, additionalProcessing) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function PropDecoratorFactory(...args) {\n if (this instanceof PropDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const decoratorInstance = new PropDecoratorFactory(...args);\n function PropDecorator(target, name) {\n const constructor = target.constructor;\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const meta = constructor.hasOwnProperty(PROP_METADATA) ?\n constructor[PROP_METADATA] :\n Object.defineProperty(constructor, PROP_METADATA, { value: {} })[PROP_METADATA];\n meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n meta[name].unshift(decoratorInstance);\n if (additionalProcessing)\n additionalProcessing(target, name, ...args);\n }\n return PropDecorator;\n }\n if (parentClass) {\n PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n PropDecoratorFactory.prototype.ngMetadataName = name;\n PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n return PropDecoratorFactory;\n });\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/metadata.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Type of the Inject decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction InjectDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ0 = /**\n * @param {?} token\n * @return {?}\n */\n(token) => ({ token });\n/**\n * Inject decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Inject = makeParamDecorator('Inject', (ɵ0));\n/**\n * Type of the Optional decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction OptionalDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Optional decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Optional = makeParamDecorator('Optional');\n/**\n * Type of the Self decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction SelfDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Self decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Self = makeParamDecorator('Self');\n/**\n * Type of the SkipSelf decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction SkipSelfDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * SkipSelf decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst SkipSelf = makeParamDecorator('SkipSelf');\n/**\n * Type of the Host decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction HostDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Host decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Host = makeParamDecorator('Host');\n/**\n * Type of the Attribute decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction AttributeDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ1 = /**\n * @param {?=} attributeName\n * @return {?}\n */\n(attributeName) => ({ attributeName });\n/**\n * Attribute decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Attribute = makeParamDecorator('Attribute', (ɵ1));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection flags for DI.\n *\n * @publicApi\n */\nvar InjectFlags;\n(function (InjectFlags) {\n // TODO(alxhub): make this 'const' when ngc no longer writes exports of it into ngfactory files.\n /** Check self and check parent injector if needed */\n InjectFlags[InjectFlags[\"Default\"] = 0] = \"Default\";\n /**\n * Specifies that an injector should retrieve a dependency from any injector until reaching the\n * host element of the current component. (Only used with Element Injector)\n */\n InjectFlags[InjectFlags[\"Host\"] = 1] = \"Host\";\n /** Don't ascend to ancestors of the node requesting injection. */\n InjectFlags[InjectFlags[\"Self\"] = 2] = \"Self\";\n /** Skip the node that is requesting injection. */\n InjectFlags[InjectFlags[\"SkipSelf\"] = 4] = \"SkipSelf\";\n /** Inject `defaultValue` instead if token not found. */\n InjectFlags[InjectFlags[\"Optional\"] = 8] = \"Optional\";\n})(InjectFlags || (InjectFlags = {}));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction getClosureSafeProperty(objWithPropertyToExtract) {\n for (let key in objWithPropertyToExtract) {\n if (objWithPropertyToExtract[key] === getClosureSafeProperty) {\n return key;\n }\n }\n throw Error('Could not find renamed property on target object.');\n}\n/**\n * Sets properties on a target object from a source object, but only if\n * the property doesn't already exist on the target object.\n * @param target The target to set properties on\n * @param source The source of the property keys and values to set\n */\nfunction fillProperties(target, source) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {\n target[key] = source[key];\n }\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Construct an `InjectableDef` which defines how a token will be constructed by the DI system, and\n * in which injectors (if any) it will be available.\n *\n * This should be assigned to a static `ɵprov` field on a type, which will then be an\n * `InjectableType`.\n *\n * Options:\n * * `providedIn` determines which injectors will include the injectable, by either associating it\n * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be\n * provided in the `'root'` injector, which will be the application-level injector in most apps.\n * * `factory` gives the zero argument function which will create an instance of the injectable.\n * The factory can call `inject` to access the `Injector` and request injection of dependencies.\n *\n * @codeGenApi\n */\nfunction ɵɵdefineInjectable(opts) {\n return {\n token: opts.token,\n providedIn: opts.providedIn || null,\n factory: opts.factory,\n value: undefined,\n };\n}\n/**\n * @deprecated in v8, delete after v10. This API should be used only be generated code, and that\n * code should now use ɵɵdefineInjectable instead.\n * @publicApi\n */\nconst defineInjectable = ɵɵdefineInjectable;\n/**\n * Construct an `InjectorDef` which configures an injector.\n *\n * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an\n * `InjectorType`.\n *\n * Options:\n *\n * * `factory`: an `InjectorType` is an instantiable type, so a zero argument `factory` function to\n * create the type must be provided. If that factory function needs to inject arguments, it can\n * use the `inject` function.\n * * `providers`: an optional array of providers to add to the injector. Each provider must\n * either have a factory or point to a type which has a `ɵprov` static property (the\n * type must be an `InjectableType`).\n * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s\n * whose providers will also be added to the injector. Locally provided types will override\n * providers from imports.\n *\n * @publicApi\n */\nfunction ɵɵdefineInjector(options) {\n return {\n factory: options.factory,\n providers: options.providers || [],\n imports: options.imports || [],\n };\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading\n * inherited value.\n *\n * @param type A type which may have its own (non-inherited) `ɵprov`.\n */\nfunction getInjectableDef(type) {\n return getOwnDefinition(type, type[NG_PROV_DEF]) ||\n getOwnDefinition(type, type[NG_INJECTABLE_DEF]);\n}\n/**\n * Return `def` only if it is defined directly on `type` and is not inherited from a base\n * class of `type`.\n *\n * The function `Object.hasOwnProperty` is not sufficient to distinguish this case because in older\n * browsers (e.g. IE10) static property inheritance is implemented by copying the properties.\n *\n * Instead, the definition's `token` is compared to the `type`, and if they don't match then the\n * property was not defined directly on the type itself, and was likely inherited. The definition\n * is only returned if the `type` matches the `def.token`.\n */\nfunction getOwnDefinition(type, def) {\n return def && def.token === type ? def : null;\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors.\n *\n * @param type A type which may have `ɵprov`, via inheritance.\n *\n * @deprecated Will be removed in v10, where an error will occur in the scenario if we find the\n * `ɵprov` on an ancestor only.\n */\nfunction getInheritedInjectableDef(type) {\n // See `jit/injectable.ts#compileInjectable` for context on NG_PROV_DEF_FALLBACK.\n const def = type &&\n (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF] ||\n (type[NG_PROV_DEF_FALLBACK] && type[NG_PROV_DEF_FALLBACK]()));\n if (def) {\n const typeName = getTypeName(type);\n // TODO(FW-1307): Re-add ngDevMode when closure can handle it\n // ngDevMode &&\n console.warn(`DEPRECATED: DI is instantiating a token \"${typeName}\" that inherits its @Injectable decorator but does not provide one itself.\\n` +\n `This will become an error in v10. Please add @Injectable() to the \"${typeName}\" class.`);\n return def;\n }\n else {\n return null;\n }\n}\n/** Gets the name of a type, accounting for some cross-browser differences. */\nfunction getTypeName(type) {\n // `Function.prototype.name` behaves differently between IE and other browsers. In most browsers\n // it'll always return the name of the function itself, no matter how many other functions it\n // inherits from. On IE the function doesn't have its own `name` property, but it takes it from\n // the lowest level in the prototype chain. E.g. if we have `class Foo extends Parent` most\n // browsers will evaluate `Foo.name` to `Foo` while IE will return `Parent`. We work around\n // the issue by converting the function to a string and parsing its name out that way via a regex.\n if (type.hasOwnProperty('name')) {\n return type.name;\n }\n const match = ('' + type).match(/^function\\s*([^\\s(]+)/);\n return match === null ? '' : match[1];\n}\n/**\n * Read the injector def type in a way which is immune to accidentally reading inherited value.\n *\n * @param type type which may have an injector def (`ɵinj`)\n */\nfunction getInjectorDef(type) {\n return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ?\n type[NG_INJ_DEF] :\n null;\n}\nconst NG_PROV_DEF = getClosureSafeProperty({ ɵprov: getClosureSafeProperty });\nconst NG_INJ_DEF = getClosureSafeProperty({ ɵinj: getClosureSafeProperty });\n// On IE10 properties defined via `defineProperty` won't be inherited by child classes,\n// which will break inheriting the injectable definition from a grandparent through an\n// undecorated parent class. We work around it by defining a fallback method which will be\n// used to retrieve the definition. This should only be a problem in JIT mode, because in\n// AOT TypeScript seems to have a workaround for static properties. When inheriting from an\n// undecorated parent is no longer supported in v10, this can safely be removed.\nconst NG_PROV_DEF_FALLBACK = getClosureSafeProperty({ ɵprovFallback: getClosureSafeProperty });\n// We need to keep these around so we can read off old defs if new defs are unavailable\nconst NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty });\nconst NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty });\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (Array.isArray(token)) {\n return '[' + token.map(stringify).join(', ') + ']';\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return `${token.overriddenName}`;\n }\n if (token.name) {\n return `${token.name}`;\n }\n const res = token.toString();\n if (res == null) {\n return '' + res;\n }\n const newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\n/**\n * Concatenates two strings with separator, allocating new strings only when necessary.\n *\n * @param before before string.\n * @param separator separator string.\n * @param after after string.\n * @returns concatenated string.\n */\nfunction concatStringsWithSpace(before, after) {\n return (before == null || before === '') ?\n (after === null ? '' : after) :\n ((after == null || after === '') ? before : before + ' ' + after);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/forward_ref.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An interface that a function passed into {\\@link forwardRef} has to implement.\n *\n * \\@usageNotes\n * ### Example\n *\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref_fn'}\n * \\@publicApi\n * @record\n */\nfunction ForwardRefFn() { }\n/** @type {?} */\nconst __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty });\n/**\n * Allows to refer to references which are not yet defined.\n *\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n * DI is declared, but not yet defined. It is also used when the `token` which we use when creating\n * a query is not yet defined.\n *\n * \\@usageNotes\n * ### Example\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n * \\@publicApi\n * @param {?} forwardRefFn\n * @return {?}\n */\nfunction forwardRef(forwardRefFn) {\n ((/** @type {?} */ (forwardRefFn))).__forward_ref__ = forwardRef;\n ((/** @type {?} */ (forwardRefFn))).toString = (/**\n * @return {?}\n */\n function () {\n return stringify(this());\n });\n return ((/** @type {?} */ ((/** @type {?} */ (forwardRefFn)))));\n}\n/**\n * Lazily retrieves the reference value from a forwardRef.\n *\n * Acts as the identity function when given a non-forward-ref value.\n *\n * \\@usageNotes\n * ### Example\n *\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n *\n * @see `forwardRef`\n * \\@publicApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction resolveForwardRef(type) {\n return isForwardRef(type) ? type() : type;\n}\n/**\n * Checks whether a function is wrapped by a `forwardRef`.\n * @param {?} fn\n * @return {?}\n */\nfunction isForwardRef(fn) {\n return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) &&\n fn.__forward_ref__ === forwardRef;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst __globalThis = typeof globalThis !== 'undefined' && globalThis;\nconst __window = typeof window !== 'undefined' && window;\nconst __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n self instanceof WorkerGlobalScope && self;\nconst __global = typeof global !== 'undefined' && global;\n// Always use __globalThis if available, which is the spec-defined global variable across all\n// environments, then fallback to __global first, because in Node tests both __global and\n// __window may be defined and _global should be __global in that case.\nconst _global = __globalThis || __global || __window || __self;\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar R3ResolvedDependencyType;\n(function (R3ResolvedDependencyType) {\n R3ResolvedDependencyType[R3ResolvedDependencyType[\"Token\"] = 0] = \"Token\";\n R3ResolvedDependencyType[R3ResolvedDependencyType[\"Attribute\"] = 1] = \"Attribute\";\n R3ResolvedDependencyType[R3ResolvedDependencyType[\"ChangeDetectorRef\"] = 2] = \"ChangeDetectorRef\";\n R3ResolvedDependencyType[R3ResolvedDependencyType[\"Invalid\"] = 3] = \"Invalid\";\n})(R3ResolvedDependencyType || (R3ResolvedDependencyType = {}));\nvar R3FactoryTarget;\n(function (R3FactoryTarget) {\n R3FactoryTarget[R3FactoryTarget[\"Directive\"] = 0] = \"Directive\";\n R3FactoryTarget[R3FactoryTarget[\"Component\"] = 1] = \"Component\";\n R3FactoryTarget[R3FactoryTarget[\"Injectable\"] = 2] = \"Injectable\";\n R3FactoryTarget[R3FactoryTarget[\"Pipe\"] = 3] = \"Pipe\";\n R3FactoryTarget[R3FactoryTarget[\"NgModule\"] = 4] = \"NgModule\";\n})(R3FactoryTarget || (R3FactoryTarget = {}));\nvar ViewEncapsulation;\n(function (ViewEncapsulation) {\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n ViewEncapsulation[ViewEncapsulation[\"Native\"] = 1] = \"Native\";\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n})(ViewEncapsulation || (ViewEncapsulation = {}));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction getCompilerFacade() {\n const globalNg = _global['ng'];\n if (!globalNg || !globalNg.ɵcompilerFacade) {\n throw new Error(`Angular JIT compilation failed: '@angular/compiler' not loaded!\\n` +\n ` - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\\n` +\n ` - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\\n` +\n ` - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.`);\n }\n return globalNg.ɵcompilerFacade;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/fields.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty });\n/** @type {?} */\nconst NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty });\n/** @type {?} */\nconst NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty });\n/** @type {?} */\nconst NG_MOD_DEF = getClosureSafeProperty({ ɵmod: getClosureSafeProperty });\n/** @type {?} */\nconst NG_LOC_ID_DEF = getClosureSafeProperty({ ɵloc: getClosureSafeProperty });\n/** @type {?} */\nconst NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty });\n// TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.\n/**\n * If a directive is diPublic, bloomAdd sets a property on the type with this constant as\n * the key and the directive's unique ID as the value. This allows us to map directives to their\n * bloom filter bit for DI.\n * @type {?}\n */\nconst NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty });\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction ngDevModeResetPerfCounters() {\n const locationString = typeof location !== 'undefined' ? location.toString() : '';\n const newCounters = {\n namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n firstCreatePass: 0,\n tNode: 0,\n tView: 0,\n rendererCreateTextNode: 0,\n rendererSetText: 0,\n rendererCreateElement: 0,\n rendererAddEventListener: 0,\n rendererSetAttribute: 0,\n rendererRemoveAttribute: 0,\n rendererSetProperty: 0,\n rendererSetClassName: 0,\n rendererAddClass: 0,\n rendererRemoveClass: 0,\n rendererSetStyle: 0,\n rendererRemoveStyle: 0,\n rendererDestroy: 0,\n rendererDestroyNode: 0,\n rendererMoveNode: 0,\n rendererRemoveNode: 0,\n rendererAppendChild: 0,\n rendererInsertBefore: 0,\n rendererCreateComment: 0,\n };\n // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n _global['ngDevMode'] = allowNgDevModeTrue && newCounters;\n return newCounters;\n}\n/**\n * This function checks to see if the `ngDevMode` has been set. If yes,\n * then we honor it, otherwise we default to dev mode with additional checks.\n *\n * The idea is that unless we are doing production build where we explicitly\n * set `ngDevMode == false` we should be helping the developer by providing\n * as much early warning and errors as possible.\n *\n * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions\n * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode\n * is defined for the entire instruction set.\n *\n * When using checking `ngDevMode` on toplevel, always init it before referencing it\n * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can\n * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.\n *\n * Details on possible values for `ngDevMode` can be found on its docstring.\n *\n * NOTE:\n * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nfunction initNgDevMode() {\n // The below checks are to ensure that calling `initNgDevMode` multiple times does not\n // reset the counters.\n // If the `ngDevMode` is not an object, then it means we have not created the perf counters\n // yet.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (typeof ngDevMode !== 'object') {\n ngDevModeResetPerfCounters();\n }\n return !!ngDevMode;\n }\n return false;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/injection_token.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Creates a token that can be used in a DI Provider.\n *\n * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a\n * runtime representation) such as when injecting an interface, callable type, array or\n * parameterized type.\n *\n * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by\n * the `Injector`. This provides additional level of type safety.\n *\n * ```\n * interface MyInterface {...}\n * var myInterface = injector.get(new InjectionToken('SomeToken'));\n * // myInterface is inferred to be MyInterface.\n * ```\n *\n * When creating an `InjectionToken`, you can optionally specify a factory function which returns\n * (possibly by creating) a default value of the parameterized type `T`. This sets up the\n * `InjectionToken` using this factory as a provider as if it was defined explicitly in the\n * application's root injector. If the factory function, which takes zero arguments, needs to inject\n * dependencies, it can do so using the `inject` function. See below for an example.\n *\n * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which\n * overrides the above behavior and marks the token as belonging to a particular `\\@NgModule`. As\n * mentioned above, `'root'` is the default value for `providedIn`.\n *\n * \\@usageNotes\n * ### Basic Example\n *\n * ### Plain InjectionToken\n *\n * {\\@example core/di/ts/injector_spec.ts region='InjectionToken'}\n *\n * ### Tree-shakable InjectionToken\n *\n * {\\@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n *\n * \\@publicApi\n * @template T\n */\nclass InjectionToken {\n /**\n * @param {?} _desc\n * @param {?=} options\n */\n constructor(_desc, options) {\n this._desc = _desc;\n /**\n * \\@internal\n */\n this.ngMetadataName = 'InjectionToken';\n this.ɵprov = undefined;\n if (typeof options == 'number') {\n // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.\n // __NG_ELEMENT_ID__ is Used by Ivy to determine bloom filter id.\n // We are using it to assign `-1` which is used to identify `Injector`.\n ((/** @type {?} */ (this))).__NG_ELEMENT_ID__ = options;\n }\n else if (options !== undefined) {\n this.ɵprov = ɵɵdefineInjectable({\n token: this,\n providedIn: options.providedIn || 'root',\n factory: options.factory,\n });\n }\n }\n /**\n * @return {?}\n */\n toString() {\n return `InjectionToken ${this._desc}`;\n }\n}\nif (false) {\n /**\n * \\@internal\n * @type {?}\n */\n InjectionToken.prototype.ngMetadataName;\n /** @type {?} */\n InjectionToken.prototype.ɵprov;\n /**\n * @type {?}\n * @protected\n */\n InjectionToken.prototype._desc;\n}\n/**\n * @record\n * @template T\n */\nfunction InjectableDefToken() { }\nif (false) {\n /** @type {?} */\n InjectableDefToken.prototype.ɵprov;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/injector_compatibility.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.\n *\n * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a\n * project.\n *\n * \\@publicApi\n * @type {?}\n */\nconst INJECTOR = new InjectionToken('INJECTOR', (/** @type {?} */ (-1)));\n/** @type {?} */\nconst _THROW_IF_NOT_FOUND = {};\n/** @type {?} */\nconst THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n/** @type {?} */\nconst NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';\n/** @type {?} */\nconst NG_TOKEN_PATH = 'ngTokenPath';\n/** @type {?} */\nconst NEW_LINE = /\\n/gm;\n/** @type {?} */\nconst NO_NEW_LINE = 'ɵ';\n/** @type {?} */\nconst SOURCE = '__source';\nconst ɵ0$1 = getClosureSafeProperty;\n/** @type {?} */\nconst USE_VALUE = getClosureSafeProperty({ provide: String, useValue: ɵ0$1 });\n/**\n * Current injector value used by `inject`.\n * - `undefined`: it is an error to call `inject`\n * - `null`: `inject` can be called but there is no injector (limp-mode).\n * - Injector instance: Use the injector for resolution.\n * @type {?}\n */\nlet _currentInjector = undefined;\n/**\n * @param {?} injector\n * @return {?}\n */\nfunction setCurrentInjector(injector) {\n /** @type {?} */\n const former = _currentInjector;\n _currentInjector = injector;\n return former;\n}\n/**\n * Current implementation of inject.\n *\n * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed\n * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this\n * way for two reasons:\n * 1. `Injector` should not depend on ivy logic.\n * 2. To maintain tree shake-ability we don't want to bring in unnecessary code.\n * @type {?}\n */\nlet _injectImplementation;\n/**\n * Sets the current inject implementation.\n * @param {?} impl\n * @return {?}\n */\nfunction setInjectImplementation(impl) {\n /** @type {?} */\n const previous = _injectImplementation;\n _injectImplementation = impl;\n return previous;\n}\n/**\n * @template T\n * @param {?} token\n * @param {?=} flags\n * @return {?}\n */\nfunction injectInjectorOnly(token, flags = InjectFlags.Default) {\n if (_currentInjector === undefined) {\n throw new Error(`inject() must be called from an injection context`);\n }\n else if (_currentInjector === null) {\n return injectRootLimpMode(token, undefined, flags);\n }\n else {\n return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);\n }\n}\n/**\n * @template T\n * @param {?} token\n * @param {?=} flags\n * @return {?}\n */\nfunction ɵɵinject(token, flags = InjectFlags.Default) {\n return (_injectImplementation || injectInjectorOnly)(resolveForwardRef(token), flags);\n}\n/**\n * Throws an error indicating that a factory function could not be generated by the compiler for a\n * particular class.\n *\n * This instruction allows the actual error message to be optimized away when ngDevMode is turned\n * off, saving bytes of generated code while still providing a good experience in dev mode.\n *\n * The name of the class is not mentioned here, but will be in the generated factory function name\n * and thus in the stack trace.\n *\n * \\@codeGenApi\n * @param {?} index\n * @return {?}\n */\nfunction ɵɵinvalidFactoryDep(index) {\n /** @type {?} */\n const msg = ngDevMode ?\n `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${index} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.` :\n 'invalid';\n throw new Error(msg);\n}\n/**\n * Injects a token from the currently active injector.\n *\n * Must be used in the context of a factory function such as one defined for an\n * `InjectionToken`. Throws an error if not called from such a context.\n *\n * Within such a factory function, using this function to request injection of a dependency\n * is faster and more type-safe than providing an additional array of dependencies\n * (as has been common with `useFactory` providers).\n *\n * \\@param token The injection token for the dependency to be injected.\n * \\@param flags Optional flags that control how injection is executed.\n * The flags correspond to injection strategies that can be specified with\n * parameter decorators `\\@Host`, `\\@Self`, `\\@SkipSef`, and `\\@Optional`.\n * \\@return True if injection is successful, null otherwise.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n * \\@publicApi\n * @type {?}\n */\nconst inject = ɵɵinject;\n/**\n * Injects `root` tokens in limp mode.\n *\n * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to\n * `\"root\"`. This is known as the limp mode injection. In such case the value is stored in the\n * `InjectableDef`.\n * @template T\n * @param {?} token\n * @param {?} notFoundValue\n * @param {?} flags\n * @return {?}\n */\nfunction injectRootLimpMode(token, notFoundValue, flags) {\n /** @type {?} */\n const injectableDef = getInjectableDef(token);\n if (injectableDef && injectableDef.providedIn == 'root') {\n return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() :\n injectableDef.value;\n }\n if (flags & InjectFlags.Optional)\n return null;\n if (notFoundValue !== undefined)\n return notFoundValue;\n throw new Error(`Injector: NOT_FOUND [${stringify(token)}]`);\n}\n/**\n * @param {?} types\n * @return {?}\n */\nfunction injectArgs(types) {\n /** @type {?} */\n const args = [];\n for (let i = 0; i < types.length; i++) {\n /** @type {?} */\n const arg = resolveForwardRef(types[i]);\n if (Array.isArray(arg)) {\n if (arg.length === 0) {\n throw new Error('Arguments array must have arguments.');\n }\n /** @type {?} */\n let type = undefined;\n /** @type {?} */\n let flags = InjectFlags.Default;\n for (let j = 0; j < arg.length; j++) {\n /** @type {?} */\n const meta = arg[j];\n if (meta instanceof Optional || meta.ngMetadataName === 'Optional' || meta === Optional) {\n flags |= InjectFlags.Optional;\n }\n else if (meta instanceof SkipSelf || meta.ngMetadataName === 'SkipSelf' || meta === SkipSelf) {\n flags |= InjectFlags.SkipSelf;\n }\n else if (meta instanceof Self || meta.ngMetadataName === 'Self' || meta === Self) {\n flags |= InjectFlags.Self;\n }\n else if (meta instanceof Inject || meta === Inject) {\n type = meta.token;\n }\n else {\n type = meta;\n }\n }\n args.push(ɵɵinject((/** @type {?} */ (type)), flags));\n }\n else {\n args.push(ɵɵinject(arg));\n }\n }\n return args;\n}\nclass NullInjector {\n /**\n * @param {?} token\n * @param {?=} notFoundValue\n * @return {?}\n */\n get(token, notFoundValue = THROW_IF_NOT_FOUND) {\n if (notFoundValue === THROW_IF_NOT_FOUND) {\n // Intentionally left behind: With dev tools open the debugger will stop here. There is no\n // reason why correctly written application should cause this exception.\n // TODO(misko): uncomment the next line once `ngDevMode` works with closure.\n // if (ngDevMode) debugger;\n /** @type {?} */\n const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`);\n error.name = 'NullInjectorError';\n throw error;\n }\n return notFoundValue;\n }\n}\n/**\n * @param {?} e\n * @param {?} token\n * @param {?} injectorErrorName\n * @param {?} source\n * @return {?}\n */\nfunction catchInjectorError(e, token, injectorErrorName, source) {\n /** @type {?} */\n const tokenPath = e[NG_TEMP_TOKEN_PATH];\n if (token[SOURCE]) {\n tokenPath.unshift(token[SOURCE]);\n }\n e.message = formatError('\\n' + e.message, tokenPath, injectorErrorName, source);\n e[NG_TOKEN_PATH] = tokenPath;\n e[NG_TEMP_TOKEN_PATH] = null;\n throw e;\n}\n/**\n * @param {?} text\n * @param {?} obj\n * @param {?} injectorErrorName\n * @param {?=} source\n * @return {?}\n */\nfunction formatError(text, obj, injectorErrorName, source = null) {\n text = text && text.charAt(0) === '\\n' && text.charAt(1) == NO_NEW_LINE ? text.substr(2) : text;\n /** @type {?} */\n let context = stringify(obj);\n if (Array.isArray(obj)) {\n context = obj.map(stringify).join(' -> ');\n }\n else if (typeof obj === 'object') {\n /** @type {?} */\n let parts = (/** @type {?} */ ([]));\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n /** @type {?} */\n let value = obj[key];\n parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));\n }\n }\n context = `{${parts.join(', ')}}`;\n }\n return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\\n ')}`;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/jit/environment.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A mapping of the \\@angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of \\@angular/core.\n * @type {?}\n */\nconst angularCoreDiEnv = {\n 'ɵɵdefineInjectable': ɵɵdefineInjectable,\n 'ɵɵdefineInjector': ɵɵdefineInjector,\n 'ɵɵinject': ɵɵinject,\n 'ɵɵgetFactoryOf': getFactoryOf,\n 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,\n};\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getFactoryOf(type) {\n /** @type {?} */\n const typeAny = (/** @type {?} */ (type));\n if (isForwardRef(type)) {\n return (/** @type {?} */ (((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const factory = getFactoryOf(resolveForwardRef(typeAny));\n return factory ? factory() : null;\n }))));\n }\n /** @type {?} */\n const def = getInjectableDef(typeAny) || getInjectorDef(typeAny);\n if (!def || def.factory === undefined) {\n return null;\n }\n return def.factory;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/linker/ng_module_factory.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Represents an instance of an NgModule created via a {\\@link NgModuleFactory}.\n *\n * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this\n * NgModule Instance.\n *\n * \\@publicApi\n * @abstract\n * @template T\n */\nclass NgModuleRef {\n}\nif (false) {\n /**\n * The injector that contains all of the providers of the NgModule.\n * @abstract\n * @return {?}\n */\n NgModuleRef.prototype.injector = function () { };\n /**\n * The ComponentFactoryResolver to get hold of the ComponentFactories\n * declared in the `entryComponents` property of the module.\n * @abstract\n * @return {?}\n */\n NgModuleRef.prototype.componentFactoryResolver = function () { };\n /**\n * The NgModule instance.\n * @abstract\n * @return {?}\n */\n NgModuleRef.prototype.instance = function () { };\n /**\n * Destroys the module instance and all of the data structures associated with it.\n * @abstract\n * @return {?}\n */\n NgModuleRef.prototype.destroy = function () { };\n /**\n * Allows to register a callback that will be called when the module is destroyed.\n * @abstract\n * @param {?} callback\n * @return {?}\n */\n NgModuleRef.prototype.onDestroy = function (callback) { };\n}\n/**\n * @record\n * @template T\n */\nfunction InternalNgModuleRef() { }\nif (false) {\n /** @type {?} */\n InternalNgModuleRef.prototype._bootstrapComponents;\n}\n/**\n * \\@publicApi\n * @abstract\n * @template T\n */\nclass NgModuleFactory {\n}\nif (false) {\n /**\n * @abstract\n * @return {?}\n */\n NgModuleFactory.prototype.moduleType = function () { };\n /**\n * @abstract\n * @param {?} parentInjector\n * @return {?}\n */\n NgModuleFactory.prototype.create = function (parentInjector) { };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction assertNumber(actual, msg) {\n if (!(typeof actual === 'number')) {\n throwError(msg, typeof actual, 'number', '===');\n }\n}\nfunction assertNumberInRange(actual, minInclusive, maxInclusive) {\n assertNumber(actual, 'Expected a number');\n assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to');\n assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to');\n}\nfunction assertString(actual, msg) {\n if (!(typeof actual === 'string')) {\n throwError(msg, actual === null ? 'null' : typeof actual, 'string', '===');\n }\n}\nfunction assertEqual(actual, expected, msg) {\n if (!(actual == expected)) {\n throwError(msg, actual, expected, '==');\n }\n}\nfunction assertNotEqual(actual, expected, msg) {\n if (!(actual != expected)) {\n throwError(msg, actual, expected, '!=');\n }\n}\nfunction assertSame(actual, expected, msg) {\n if (!(actual === expected)) {\n throwError(msg, actual, expected, '===');\n }\n}\nfunction assertNotSame(actual, expected, msg) {\n if (!(actual !== expected)) {\n throwError(msg, actual, expected, '!==');\n }\n}\nfunction assertLessThan(actual, expected, msg) {\n if (!(actual < expected)) {\n throwError(msg, actual, expected, '<');\n }\n}\nfunction assertLessThanOrEqual(actual, expected, msg) {\n if (!(actual <= expected)) {\n throwError(msg, actual, expected, '<=');\n }\n}\nfunction assertGreaterThan(actual, expected, msg) {\n if (!(actual > expected)) {\n throwError(msg, actual, expected, '>');\n }\n}\nfunction assertGreaterThanOrEqual(actual, expected, msg) {\n if (!(actual >= expected)) {\n throwError(msg, actual, expected, '>=');\n }\n}\nfunction assertNotDefined(actual, msg) {\n if (actual != null) {\n throwError(msg, actual, null, '==');\n }\n}\nfunction assertDefined(actual, msg) {\n if (actual == null) {\n throwError(msg, actual, null, '!=');\n }\n}\nfunction throwError(msg, actual, expected, comparison) {\n throw new Error(`ASSERTION ERROR: ${msg}` +\n (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));\n}\nfunction assertDomNode(node) {\n // If we're in a worker, `Node` will not be defined.\n assertEqual((typeof Node !== 'undefined' && node instanceof Node) ||\n (typeof node === 'object' && node != null &&\n node.constructor.name === 'WebWorkerRenderNode'), true, `The provided value must be an instance of a DOM Node but got ${stringify(node)}`);\n}\nfunction assertDataInRange(arr, index) {\n const maxLen = arr ? arr.length : 0;\n assertLessThan(index, maxLen, `Index expected to be less than ${maxLen} but got ${index}`);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Equivalent to ES6 spread, add each item to an array.\n *\n * @param items The items to add\n * @param arr The array to which you want to add the items\n */\nfunction addAllToArray(items, arr) {\n for (let i = 0; i < items.length; i++) {\n arr.push(items[i]);\n }\n}\n/**\n * Flattens an array.\n */\nfunction flatten(list, dst) {\n if (dst === undefined)\n dst = list;\n for (let i = 0; i < list.length; i++) {\n let item = list[i];\n if (Array.isArray(item)) {\n // we need to inline it.\n if (dst === list) {\n // Our assumption that the list was already flat was wrong and\n // we need to clone flat since we need to write to it.\n dst = list.slice(0, i);\n }\n flatten(item, dst);\n }\n else if (dst !== list) {\n dst.push(item);\n }\n }\n return dst;\n}\nfunction deepForEach(input, fn) {\n input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));\n}\nfunction addToArray(arr, index, value) {\n // perf: array.push is faster than array.splice!\n if (index >= arr.length) {\n arr.push(value);\n }\n else {\n arr.splice(index, 0, value);\n }\n}\nfunction removeFromArray(arr, index) {\n // perf: array.pop is faster than array.splice!\n if (index >= arr.length - 1) {\n return arr.pop();\n }\n else {\n return arr.splice(index, 1)[0];\n }\n}\nfunction newArray(size, value) {\n const list = [];\n for (let i = 0; i < size; i++) {\n list.push(value);\n }\n return list;\n}\n/**\n * Remove item from array (Same as `Array.splice()` but faster.)\n *\n * `Array.splice()` is not as fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * https://jsperf.com/fast-array-splice (About 20x faster)\n *\n * @param array Array to splice\n * @param index Index of element in array to remove.\n * @param count Number of items to remove.\n */\nfunction arraySplice(array, index, count) {\n const length = array.length - count;\n while (index < length) {\n array[index] = array[index + count];\n index++;\n }\n while (count--) {\n array.pop(); // shrink the array\n }\n}\n/**\n * Same as `Array.splice(index, 0, value)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value Value to add to array.\n */\nfunction arrayInsert(array, index, value) {\n ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n let end = array.length;\n while (end > index) {\n const previousEnd = end - 1;\n array[end] = array[previousEnd];\n end = previousEnd;\n }\n array[index] = value;\n}\n/**\n * Same as `Array.splice2(index, 0, value1, value2)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value1 Value to add to array.\n * @param value2 Value to add to array.\n */\nfunction arrayInsert2(array, index, value1, value2) {\n ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n let end = array.length;\n if (end == index) {\n // inserting at the end.\n array.push(value1, value2);\n }\n else if (end === 1) {\n // corner case when we have less items in array than we have items to insert.\n array.push(value2, array[0]);\n array[0] = value1;\n }\n else {\n end--;\n array.push(array[end - 1], array[end]);\n while (end > index) {\n const previousEnd = end - 2;\n array[end] = array[previousEnd];\n end--;\n }\n array[index] = value1;\n array[index + 1] = value2;\n }\n}\n/**\n * Insert a `value` into an `array` so that the array remains sorted.\n *\n * NOTE:\n * - Duplicates are not allowed, and are ignored.\n * - This uses binary search algorithm for fast inserts.\n *\n * @param array A sorted array to insert into.\n * @param value The value to insert.\n * @returns index of the inserted value.\n */\nfunction arrayInsertSorted(array, value) {\n let index = arrayIndexOfSorted(array, value);\n if (index < 0) {\n // if we did not find it insert it.\n index = ~index;\n arrayInsert(array, index, value);\n }\n return index;\n}\n/**\n * Remove `value` from a sorted `array`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to remove from.\n * @param value The value to remove.\n * @returns index of the removed value.\n * - positive index if value found and removed.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * inserted)\n */\nfunction arrayRemoveSorted(array, value) {\n const index = arrayIndexOfSorted(array, value);\n if (index >= 0) {\n arraySplice(array, index, 1);\n }\n return index;\n}\n/**\n * Get an index of an `value` in a sorted `array`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * located)\n */\nfunction arrayIndexOfSorted(array, value) {\n return _arrayIndexOfSorted(array, value, 0);\n}\n/**\n * Set a `value` for a `key`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or create.\n * @param value The value to set for a `key`.\n * @returns index (always even) of where the value vas set.\n */\nfunction keyValueArraySet(keyValueArray, key, value) {\n let index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it set it.\n keyValueArray[index | 1] = value;\n }\n else {\n index = ~index;\n arrayInsert2(keyValueArray, index, key, value);\n }\n return index;\n}\n/**\n * Retrieve a `value` for a `key` (on `undefined` if not found.)\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @return The `value` stored at the `key` location or `undefined if not found.\n */\nfunction keyValueArrayGet(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it retrieve it.\n return keyValueArray[index | 1];\n }\n return undefined;\n}\n/**\n * Retrieve a `key` index value in the array or `-1` if not found.\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @returns index of where the key is (or should have been.)\n * - positive (even) index if key found.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been inserted.)\n */\nfunction keyValueArrayIndexOf(keyValueArray, key) {\n return _arrayIndexOfSorted(keyValueArray, key, 1);\n}\n/**\n * Delete a `key` (and `value`) from the `KeyValueArray`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or delete (if exist).\n * @returns index of where the key was (or should have been.)\n * - positive (even) index if key found and deleted.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been.)\n */\nfunction keyValueArrayDelete(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it remove it.\n arraySplice(keyValueArray, index, 2);\n }\n return index;\n}\n/**\n * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @param shift grouping shift.\n * - `0` means look at every location\n * - `1` means only look at every other (even) location (the odd locations are to be ignored as\n * they are values.)\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * inserted)\n */\nfunction _arrayIndexOfSorted(array, value, shift) {\n ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array');\n let start = 0;\n let end = array.length >> shift;\n while (end !== start) {\n const middle = start + ((end - start) >> 1); // find the middle.\n const current = array[middle << shift];\n if (value === current) {\n return (middle << shift);\n }\n else if (current > value) {\n end = middle;\n }\n else {\n start = middle + 1; // We already searched middle so make it non-inclusive by adding 1\n }\n }\n return ~(end << shift);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/change_detection/constants.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst ChangeDetectionStrategy = {\n /**\n * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated\n * until reactivated by setting the strategy to `Default` (`CheckAlways`).\n * Change detection can still be explicitly invoked.\n * This strategy applies to all child directives and cannot be overridden.\n */\n OnPush: 0,\n /**\n * Use the default `CheckAlways` strategy, in which change detection is automatic until\n * explicitly deactivated.\n */\n Default: 1,\n};\nChangeDetectionStrategy[ChangeDetectionStrategy.OnPush] = 'OnPush';\nChangeDetectionStrategy[ChangeDetectionStrategy.Default] = 'Default';\n/** @enum {number} */\nconst ChangeDetectorStatus = {\n /**\n * A state in which, after calling `detectChanges()`, the change detector\n * state becomes `Checked`, and must be explicitly invoked or reactivated.\n */\n CheckOnce: 0,\n /**\n * A state in which change detection is skipped until the change detector mode\n * becomes `CheckOnce`.\n */\n Checked: 1,\n /**\n * A state in which change detection continues automatically until explicitly\n * deactivated.\n */\n CheckAlways: 2,\n /**\n * A state in which a change detector sub tree is not a part of the main tree and\n * should be skipped.\n */\n Detached: 3,\n /**\n * Indicates that the change detector encountered an error checking a binding\n * or calling a directive lifecycle method and is now in an inconsistent state. Change\n * detectors in this state do not detect changes.\n */\n Errored: 4,\n /**\n * Indicates that the change detector has been destroyed.\n */\n Destroyed: 5,\n};\nChangeDetectorStatus[ChangeDetectorStatus.CheckOnce] = 'CheckOnce';\nChangeDetectorStatus[ChangeDetectorStatus.Checked] = 'Checked';\nChangeDetectorStatus[ChangeDetectorStatus.CheckAlways] = 'CheckAlways';\nChangeDetectorStatus[ChangeDetectorStatus.Detached] = 'Detached';\nChangeDetectorStatus[ChangeDetectorStatus.Errored] = 'Errored';\nChangeDetectorStatus[ChangeDetectorStatus.Destroyed] = 'Destroyed';\n/**\n * Reports whether a given strategy is currently the default for change detection.\n * @see `ChangeDetectorStatus` / `ChangeDetectorRef`\n * @param {?} changeDetectionStrategy The strategy to check.\n * @return {?} True if the given strategy is the current default, false otherwise.\n */\nfunction isDefaultChangeDetectionStrategy(changeDetectionStrategy) {\n return changeDetectionStrategy == null ||\n changeDetectionStrategy === ChangeDetectionStrategy.Default;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/metadata/view.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst ViewEncapsulation$1 = {\n /**\n * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host\n * Element and pre-processing the style rules provided via {@link Component#styles styles} or\n * {@link Component#styleUrls styleUrls}, and adding the new Host Element attribute to all\n * selectors.\n *\n * This is the default option.\n */\n Emulated: 0,\n /**\n * @deprecated v6.1.0 - use {ViewEncapsulation.ShadowDom} instead.\n * Use the native encapsulation mechanism of the renderer.\n *\n * For the DOM this means using the deprecated [Shadow DOM\n * v0](https://w3c.github.io/webcomponents/spec/shadow/) and\n * creating a ShadowRoot for Component's Host Element.\n */\n Native: 1,\n /**\n * Don't provide any template or style encapsulation.\n */\n None: 2,\n /**\n * Use Shadow DOM to encapsulate styles.\n *\n * For the DOM this means using modern [Shadow\n * DOM](https://w3c.github.io/webcomponents/spec/shadow/) and\n * creating a ShadowRoot for Component's Host Element.\n */\n ShadowDom: 3,\n};\nViewEncapsulation$1[ViewEncapsulation$1.Emulated] = 'Emulated';\nViewEncapsulation$1[ViewEncapsulation$1.Native] = 'Native';\nViewEncapsulation$1[ViewEncapsulation$1.None] = 'None';\nViewEncapsulation$1[ViewEncapsulation$1.ShadowDom] = 'ShadowDom';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/empty.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This file contains reuseable \"empty\" symbols that can be used as default return values\n * in different parts of the rendering code. Because the same symbols are returned, this\n * allows for identity checks against these values to be consistently used by the framework\n * code.\n * @type {?}\n */\nconst EMPTY_OBJ = {};\n/** @type {?} */\nconst EMPTY_ARRAY = [];\n// freezing the values prevents any code from accidentally inserting new values in\nif ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {\n // These property accesses can be ignored because ngDevMode will be set to false\n // when optimizing code and the whole if statement will be dropped.\n // tslint:disable-next-line:no-toplevel-property-access\n Object.freeze(EMPTY_OBJ);\n // tslint:disable-next-line:no-toplevel-property-access\n Object.freeze(EMPTY_ARRAY);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/definition.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nlet _renderCompCount = 0;\n/**\n * Create a component definition object.\n *\n *\n * # Example\n * ```\n * class MyDirective {\n * // Generated by Angular Template Compiler\n * // [Symbol] syntax will not be supported by TypeScript until v2.7\n * static ɵcmp = defineComponent({\n * ...\n * });\n * }\n * ```\n * \\@codeGenApi\n * @template T\n * @param {?} componentDefinition\n * @return {?}\n */\nfunction ɵɵdefineComponent(componentDefinition) {\n return noSideEffects((/**\n * @return {?}\n */\n () => {\n // Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent.\n // See the `initNgDevMode` docstring for more information.\n (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();\n /** @type {?} */\n const type = componentDefinition.type;\n /** @type {?} */\n const typePrototype = type.prototype;\n /** @type {?} */\n const declaredInputs = (/** @type {?} */ ({}));\n /** @type {?} */\n const def = {\n type: type,\n providersResolver: null,\n decls: componentDefinition.decls,\n vars: componentDefinition.vars,\n factory: null,\n template: componentDefinition.template || (/** @type {?} */ (null)),\n consts: componentDefinition.consts || null,\n ngContentSelectors: componentDefinition.ngContentSelectors,\n hostBindings: componentDefinition.hostBindings || null,\n hostVars: componentDefinition.hostVars || 0,\n hostAttrs: componentDefinition.hostAttrs || null,\n contentQueries: componentDefinition.contentQueries || null,\n declaredInputs: declaredInputs,\n inputs: (/** @type {?} */ (null)),\n // assigned in noSideEffects\n outputs: (/** @type {?} */ (null)),\n // assigned in noSideEffects\n exportAs: componentDefinition.exportAs || null,\n onChanges: null,\n onInit: typePrototype.ngOnInit || null,\n doCheck: typePrototype.ngDoCheck || null,\n afterContentInit: typePrototype.ngAfterContentInit || null,\n afterContentChecked: typePrototype.ngAfterContentChecked || null,\n afterViewInit: typePrototype.ngAfterViewInit || null,\n afterViewChecked: typePrototype.ngAfterViewChecked || null,\n onDestroy: typePrototype.ngOnDestroy || null,\n onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,\n directiveDefs: (/** @type {?} */ (null)),\n // assigned in noSideEffects\n pipeDefs: (/** @type {?} */ (null)),\n // assigned in noSideEffects\n selectors: componentDefinition.selectors || EMPTY_ARRAY,\n viewQuery: componentDefinition.viewQuery || null,\n features: (/** @type {?} */ (componentDefinition.features)) || null,\n data: componentDefinition.data || {},\n // TODO(misko): convert ViewEncapsulation into const enum so that it can be used directly in\n // the next line. Also `None` should be 0 not 2.\n encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,\n id: 'c',\n styles: componentDefinition.styles || EMPTY_ARRAY,\n _: (/** @type {?} */ (null)),\n setInput: null,\n schemas: componentDefinition.schemas || null,\n tView: null,\n };\n /** @type {?} */\n const directiveTypes = (/** @type {?} */ (componentDefinition.directives));\n /** @type {?} */\n const feature = componentDefinition.features;\n /** @type {?} */\n const pipeTypes = (/** @type {?} */ (componentDefinition.pipes));\n def.id += _renderCompCount++;\n def.inputs = invertObject(componentDefinition.inputs, declaredInputs),\n def.outputs = invertObject(componentDefinition.outputs),\n feature && feature.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n (fn) => fn(def)));\n def.directiveDefs = directiveTypes ?\n (/**\n * @return {?}\n */\n () => (typeof directiveTypes === 'function' ? directiveTypes() : directiveTypes)\n .map(extractDirectiveDef)) :\n null;\n def.pipeDefs = pipeTypes ?\n (/**\n * @return {?}\n */\n () => (typeof pipeTypes === 'function' ? pipeTypes() : pipeTypes).map(extractPipeDef)) :\n null;\n return (/** @type {?} */ (def));\n }));\n}\n/**\n * \\@codeGenApi\n * @param {?} type\n * @param {?} directives\n * @param {?} pipes\n * @return {?}\n */\nfunction ɵɵsetComponentScope(type, directives, pipes) {\n /** @type {?} */\n const def = ((/** @type {?} */ (type.ɵcmp)));\n def.directiveDefs = (/**\n * @return {?}\n */\n () => directives.map(extractDirectiveDef));\n def.pipeDefs = (/**\n * @return {?}\n */\n () => pipes.map(extractPipeDef));\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction extractDirectiveDef(type) {\n /** @type {?} */\n const def = getComponentDef(type) || getDirectiveDef(type);\n if (ngDevMode && !def) {\n throw new Error(`'${type.name}' is neither 'ComponentType' or 'DirectiveType'.`);\n }\n return (/** @type {?} */ (def));\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction extractPipeDef(type) {\n /** @type {?} */\n const def = getPipeDef(type);\n if (ngDevMode && !def) {\n throw new Error(`'${type.name}' is not a 'PipeType'.`);\n }\n return (/** @type {?} */ (def));\n}\n/** @type {?} */\nconst autoRegisterModuleById = {};\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} def\n * @return {?}\n */\nfunction ɵɵdefineNgModule(def) {\n /** @type {?} */\n const res = {\n type: def.type,\n bootstrap: def.bootstrap || EMPTY_ARRAY,\n declarations: def.declarations || EMPTY_ARRAY,\n imports: def.imports || EMPTY_ARRAY,\n exports: def.exports || EMPTY_ARRAY,\n transitiveCompileScopes: null,\n schemas: def.schemas || null,\n id: def.id || null,\n };\n if (def.id != null) {\n noSideEffects((/**\n * @return {?}\n */\n () => {\n autoRegisterModuleById[(/** @type {?} */ (def.id))] = (/** @type {?} */ ((/** @type {?} */ (def.type))));\n }));\n }\n return (/** @type {?} */ (res));\n}\n/**\n * Adds the module metadata that is necessary to compute the module's transitive scope to an\n * existing module definition.\n *\n * Scope metadata of modules is not used in production builds, so calls to this function can be\n * marked pure to tree-shake it from the bundle, allowing for all referenced declarations\n * to become eligible for tree-shaking as well.\n *\n * \\@codeGenApi\n * @param {?} type\n * @param {?} scope\n * @return {?}\n */\nfunction ɵɵsetNgModuleScope(type, scope) {\n return (/** @type {?} */ (noSideEffects((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const ngModuleDef = getNgModuleDef(type, true);\n ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;\n ngModuleDef.imports = scope.imports || EMPTY_ARRAY;\n ngModuleDef.exports = scope.exports || EMPTY_ARRAY;\n }))));\n}\n/**\n * Inverts an inputs or outputs lookup such that the keys, which were the\n * minified keys, are part of the values, and the values are parsed so that\n * the publicName of the property is the new key\n *\n * e.g. for\n *\n * ```\n * class Comp {\n * \\@Input()\n * propName1: string;\n *\n * \\@Input('publicName2')\n * declaredPropName2: number;\n * }\n * ```\n *\n * will be serialized as\n *\n * ```\n * {\n * propName1: 'propName1',\n * declaredPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * which is than translated by the minifier as:\n *\n * ```\n * {\n * minifiedPropName1: 'propName1',\n * minifiedPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * becomes: (public name => minifiedName)\n *\n * ```\n * {\n * 'propName1': 'minifiedPropName1',\n * 'publicName2': 'minifiedPropName2',\n * }\n * ```\n *\n * Optionally the function can take `secondary` which will result in: (public name => declared name)\n *\n * ```\n * {\n * 'propName1': 'propName1',\n * 'publicName2': 'declaredPropName2',\n * }\n * ```\n *\n * @template T\n * @param {?=} obj\n * @param {?=} secondary\n * @return {?}\n */\nfunction invertObject(obj, secondary) {\n if (obj == null)\n return (/** @type {?} */ (EMPTY_OBJ));\n /** @type {?} */\n const newLookup = {};\n for (const minifiedKey in obj) {\n if (obj.hasOwnProperty(minifiedKey)) {\n /** @type {?} */\n let publicName = (/** @type {?} */ (obj[minifiedKey]));\n /** @type {?} */\n let declaredName = publicName;\n if (Array.isArray(publicName)) {\n declaredName = publicName[1];\n publicName = publicName[0];\n }\n newLookup[publicName] = minifiedKey;\n if (secondary) {\n (secondary[publicName] = (/** @type {?} */ (declaredName)));\n }\n }\n }\n return newLookup;\n}\n/**\n * Create a directive definition object.\n *\n * # Example\n * ```ts\n * class MyDirective {\n * // Generated by Angular Template Compiler\n * // [Symbol] syntax will not be supported by TypeScript until v2.7\n * static ɵdir = ɵɵdefineDirective({\n * ...\n * });\n * }\n * ```\n *\n * \\@codeGenApi\n * @type {?}\n */\nconst ɵɵdefineDirective = (/** @type {?} */ ((/** @type {?} */ (ɵɵdefineComponent))));\n/**\n * Create a pipe definition object.\n *\n * # Example\n * ```\n * class MyPipe implements PipeTransform {\n * // Generated by Angular Template Compiler\n * static ɵpipe = definePipe({\n * ...\n * });\n * }\n * ```\n * \\@codeGenApi\n * @template T\n * @param {?} pipeDef Pipe definition generated by the compiler\n *\n * @return {?}\n */\nfunction ɵɵdefinePipe(pipeDef) {\n return (/** @type {?} */ (((/** @type {?} */ ({\n type: pipeDef.type,\n name: pipeDef.name,\n factory: null,\n pure: pipeDef.pure !== false,\n onDestroy: pipeDef.type.prototype.ngOnDestroy || null\n })))));\n}\n/**\n * The following getter methods retrieve the definition form the type. Currently the retrieval\n * honors inheritance, but in the future we may change the rule to require that definitions are\n * explicit. This would require some sort of migration strategy.\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getComponentDef(type) {\n return type[NG_COMP_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getDirectiveDef(type) {\n return type[NG_DIR_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getPipeDef(type) {\n return type[NG_PIPE_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @param {?=} throwNotFound\n * @return {?}\n */\nfunction getFactoryDef(type, throwNotFound) {\n /** @type {?} */\n const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);\n if (!hasFactoryDef && throwNotFound === true && ngDevMode) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);\n }\n return hasFactoryDef ? type[NG_FACTORY_DEF] : null;\n}\n/**\n * @template T\n * @param {?} type\n * @param {?=} throwNotFound\n * @return {?}\n */\nfunction getNgModuleDef(type, throwNotFound) {\n /** @type {?} */\n const ngModuleDef = type[NG_MOD_DEF] || null;\n if (!ngModuleDef && throwNotFound === true) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵmod' property.`);\n }\n return ngModuleDef;\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction getNgLocaleIdDef(type) {\n return ((/** @type {?} */ (type)))[NG_LOC_ID_DEF] || null;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/view.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// Below are constants for LView indices to help us look up LView members\n// without having to remember the specific indices.\n// Uglify will inline these when minifying so there shouldn't be a cost.\n/** @type {?} */\nconst HOST = 0;\n/** @type {?} */\nconst TVIEW = 1;\n/** @type {?} */\nconst FLAGS = 2;\n/** @type {?} */\nconst PARENT = 3;\n/** @type {?} */\nconst NEXT = 4;\n/** @type {?} */\nconst TRANSPLANTED_VIEWS_TO_REFRESH = 5;\n/** @type {?} */\nconst T_HOST = 6;\n/** @type {?} */\nconst CLEANUP = 7;\n/** @type {?} */\nconst CONTEXT = 8;\n/** @type {?} */\nconst INJECTOR$1 = 9;\n/** @type {?} */\nconst RENDERER_FACTORY = 10;\n/** @type {?} */\nconst RENDERER = 11;\n/** @type {?} */\nconst SANITIZER = 12;\n/** @type {?} */\nconst CHILD_HEAD = 13;\n/** @type {?} */\nconst CHILD_TAIL = 14;\n/** @type {?} */\nconst DECLARATION_VIEW = 15;\n/** @type {?} */\nconst DECLARATION_COMPONENT_VIEW = 16;\n/** @type {?} */\nconst DECLARATION_LCONTAINER = 17;\n/** @type {?} */\nconst PREORDER_HOOK_FLAGS = 18;\n/** @type {?} */\nconst QUERIES = 19;\n/**\n * Size of LView's header. Necessary to adjust for it when setting slots.\n * @type {?}\n */\nconst HEADER_OFFSET = 20;\n/**\n * @record\n */\nfunction OpaqueViewState() { }\nif (false) {\n /** @type {?} */\n OpaqueViewState.prototype.__brand__;\n}\n/**\n * `LView` stores all of the information needed to process the instructions as\n * they are invoked from the template. Each embedded view and component view has its\n * own `LView`. When processing a particular view, we set the `viewData` to that\n * `LView`. When that view is done processing, the `viewData` is set back to\n * whatever the original `viewData` was before (the parent `LView`).\n *\n * Keeping separate state for each view facilities view insertion / deletion, so we\n * don't have to edit the data array based on which views are present.\n * @record\n */\nfunction LView() { }\nif (false) {\n /* Skipping unnamed member:\n [HOST]: RElement|null;*/\n /* Skipping unnamed member:\n readonly[TVIEW]: TView;*/\n /* Skipping unnamed member:\n [FLAGS]: LViewFlags;*/\n /* Skipping unnamed member:\n [PARENT]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [NEXT]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [QUERIES]: LQueries|null;*/\n /* Skipping unnamed member:\n [T_HOST]: TViewNode|TElementNode|null;*/\n /* Skipping unnamed member:\n [CLEANUP]: any[]|null;*/\n /* Skipping unnamed member:\n [CONTEXT]: {}|RootContext|null;*/\n /* Skipping unnamed member:\n readonly[INJECTOR]: Injector|null;*/\n /* Skipping unnamed member:\n [RENDERER_FACTORY]: RendererFactory3;*/\n /* Skipping unnamed member:\n [RENDERER]: Renderer3;*/\n /* Skipping unnamed member:\n [SANITIZER]: Sanitizer|null;*/\n /* Skipping unnamed member:\n [CHILD_HEAD]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [CHILD_TAIL]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [DECLARATION_VIEW]: LView|null;*/\n /* Skipping unnamed member:\n [DECLARATION_COMPONENT_VIEW]: LView;*/\n /* Skipping unnamed member:\n [DECLARATION_LCONTAINER]: LContainer|null;*/\n /* Skipping unnamed member:\n [PREORDER_HOOK_FLAGS]: PreOrderHookFlags;*/\n /* Skipping unnamed member:\n [TRANSPLANTED_VIEWS_TO_REFRESH]: number;*/\n}\n/** @enum {number} */\nconst LViewFlags = {\n /** The state of the init phase on the first 2 bits */\n InitPhaseStateIncrementer: 1,\n InitPhaseStateMask: 3,\n /**\n * Whether or not the view is in creationMode.\n *\n * This must be stored in the view rather than using `data` as a marker so that\n * we can properly support embedded views. Otherwise, when exiting a child view\n * back into the parent view, `data` will be defined and `creationMode` will be\n * improperly reported as false.\n */\n CreationMode: 4,\n /**\n * Whether or not this LView instance is on its first processing pass.\n *\n * An LView instance is considered to be on its \"first pass\" until it\n * has completed one creation mode run and one update mode run. At this\n * time, the flag is turned off.\n */\n FirstLViewPass: 8,\n /** Whether this view has default change detection strategy (checks always) or onPush */\n CheckAlways: 16,\n /**\n * Whether or not manual change detection is turned on for onPush components.\n *\n * This is a special mode that only marks components dirty in two cases:\n * 1) There has been a change to an @Input property\n * 2) `markDirty()` has been called manually by the user\n *\n * Note that in this mode, the firing of events does NOT mark components\n * dirty automatically.\n *\n * Manual mode is turned off by default for backwards compatibility, as events\n * automatically mark OnPush components dirty in View Engine.\n *\n * TODO: Add a public API to ChangeDetectionStrategy to turn this mode on\n */\n ManualOnPush: 32,\n /** Whether or not this view is currently dirty (needing check) */\n Dirty: 64,\n /** Whether or not this view is currently attached to change detection tree. */\n Attached: 128,\n /** Whether or not this view is destroyed. */\n Destroyed: 256,\n /** Whether or not this view is the root view */\n IsRoot: 512,\n /**\n * Whether this moved LView was needs to be refreshed at the insertion location because the\n * declaration was dirty.\n */\n RefreshTransplantedView: 1024,\n /**\n * Index of the current init phase on last 21 bits\n */\n IndexWithinInitPhaseIncrementer: 2048,\n IndexWithinInitPhaseShift: 11,\n IndexWithinInitPhaseReset: 2047,\n};\n/** @enum {number} */\nconst InitPhaseState = {\n OnInitHooksToBeRun: 0,\n AfterContentInitHooksToBeRun: 1,\n AfterViewInitHooksToBeRun: 2,\n InitPhaseCompleted: 3,\n};\n/** @enum {number} */\nconst PreOrderHookFlags = {\n /**\n The index of the next pre-order hook to be called in the hooks array, on the first 16\n bits\n */\n IndexOfTheNextPreOrderHookMaskMask: 65535,\n /**\n * The number of init hooks that have already been called, on the last 16 bits\n */\n NumberOfInitHooksCalledIncrementer: 65536,\n NumberOfInitHooksCalledShift: 16,\n NumberOfInitHooksCalledMask: 4294901760,\n};\n/**\n * Set of instructions used to process host bindings efficiently.\n *\n * See VIEW_DATA.md for more information.\n * @record\n */\nfunction ExpandoInstructions() { }\n/** @enum {number} */\nconst TViewType = {\n /**\n * Root `TView` is the used to bootstrap components into. It is used in conjunction with\n * `LView` which takes an existing DOM node not owned by Angular and wraps it in `TView`/`LView`\n * so that other components can be loaded into it.\n */\n Root: 0,\n /**\n * `TView` associated with a Component. This would be the `TView` directly associated with the\n * component view (as opposed an `Embedded` `TView` which would be a child of `Component` `TView`)\n */\n Component: 1,\n /**\n * `TView` associated with a template. Such as `*ngIf`, `` etc... A `Component`\n * can have zero or more `Embedede` `TView`s.\n */\n Embedded: 2,\n};\n/**\n * The static data for an LView (shared between all templates of a\n * given type).\n *\n * Stored on the `ComponentDef.tView`.\n * @record\n */\nfunction TView() { }\nif (false) {\n /**\n * Type of `TView` (`Root`|`Component`|`Embedded`).\n * @type {?}\n */\n TView.prototype.type;\n /**\n * ID for inline views to determine whether a view is the same as the previous view\n * in a certain position. If it's not, we know the new view needs to be inserted\n * and the one that exists needs to be removed (e.g. if/else statements)\n *\n * If this is -1, then this is a component view or a dynamically created view.\n * @type {?}\n */\n TView.prototype.id;\n /**\n * This is a blueprint used to generate LView instances for this TView. Copying this\n * blueprint is faster than creating a new LView from scratch.\n * @type {?}\n */\n TView.prototype.blueprint;\n /**\n * The template function used to refresh the view of dynamically created views\n * and components. Will be null for inline views.\n * @type {?}\n */\n TView.prototype.template;\n /**\n * A function containing query-related instructions.\n * @type {?}\n */\n TView.prototype.viewQuery;\n /**\n * Pointer to the host `TNode` (not part of this TView).\n *\n * If this is a `TViewNode` for an `LViewNode`, this is an embedded view of a container.\n * We need this pointer to be able to efficiently find this node when inserting the view\n * into an anchor.\n *\n * If this is a `TElementNode`, this is the view of a root component. It has exactly one\n * root TNode.\n *\n * If this is null, this is the view of a component that is not at root. We do not store\n * the host TNodes for child component views because they can potentially have several\n * different host TNodes, depending on where the component is being used. These host\n * TNodes cannot be shared (due to different indices, etc).\n * @type {?}\n */\n TView.prototype.node;\n /**\n * Whether or not this template has been processed in creation mode.\n * @type {?}\n */\n TView.prototype.firstCreatePass;\n /**\n * Whether or not this template has been processed in update mode (e.g. change detected)\n *\n * `firstUpdatePass` is used by styling to set up `TData` to contain metadata about the styling\n * instructions. (Mainly to build up a linked list of styling priority order.)\n *\n * Typically this function gets cleared after first execution. If exception is thrown then this\n * flag can remain turned un until there is first successful (no exception) pass. This means that\n * individual styling instructions keep track of if they have already been added to the linked\n * list to prevent double adding.\n * @type {?}\n */\n TView.prototype.firstUpdatePass;\n /**\n * Static data equivalent of LView.data[]. Contains TNodes, PipeDefInternal or TI18n.\n * @type {?}\n */\n TView.prototype.data;\n /**\n * The binding start index is the index at which the data array\n * starts to store bindings only. Saving this value ensures that we\n * will begin reading bindings at the correct point in the array when\n * we are in update mode.\n *\n * -1 means that it has not been initialized.\n * @type {?}\n */\n TView.prototype.bindingStartIndex;\n /**\n * The index where the \"expando\" section of `LView` begins. The expando\n * section contains injectors, directive instances, and host binding values.\n * Unlike the \"decls\" and \"vars\" sections of `LView`, the length of this\n * section cannot be calculated at compile-time because directives are matched\n * at runtime to preserve locality.\n *\n * We store this start index so we know where to start checking host bindings\n * in `setHostBindings`.\n * @type {?}\n */\n TView.prototype.expandoStartIndex;\n /**\n * Whether or not there are any static view queries tracked on this view.\n *\n * We store this so we know whether or not we should do a view query\n * refresh after creation mode to collect static query results.\n * @type {?}\n */\n TView.prototype.staticViewQueries;\n /**\n * Whether or not there are any static content queries tracked on this view.\n *\n * We store this so we know whether or not we should do a content query\n * refresh after creation mode to collect static query results.\n * @type {?}\n */\n TView.prototype.staticContentQueries;\n /**\n * A reference to the first child node located in the view.\n * @type {?}\n */\n TView.prototype.firstChild;\n /**\n * Set of instructions used to process host bindings efficiently.\n *\n * See VIEW_DATA.md for more information.\n * @type {?}\n */\n TView.prototype.expandoInstructions;\n /**\n * Full registry of directives and components that may be found in this view.\n *\n * It's necessary to keep a copy of the full def list on the TView so it's possible\n * to render template functions without a host component.\n * @type {?}\n */\n TView.prototype.directiveRegistry;\n /**\n * Full registry of pipes that may be found in this view.\n *\n * The property is either an array of `PipeDefs`s or a function which returns the array of\n * `PipeDefs`s. The function is necessary to be able to support forward declarations.\n *\n * It's necessary to keep a copy of the full def list on the TView so it's possible\n * to render template functions without a host component.\n * @type {?}\n */\n TView.prototype.pipeRegistry;\n /**\n * Array of ngOnInit, ngOnChanges and ngDoCheck hooks that should be executed for this view in\n * creation mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.preOrderHooks;\n /**\n * Array of ngOnChanges and ngDoCheck hooks that should be executed for this view in update mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.preOrderCheckHooks;\n /**\n * Array of ngAfterContentInit and ngAfterContentChecked hooks that should be executed\n * for this view in creation mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.contentHooks;\n /**\n * Array of ngAfterContentChecked hooks that should be executed for this view in update\n * mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.contentCheckHooks;\n /**\n * Array of ngAfterViewInit and ngAfterViewChecked hooks that should be executed for\n * this view in creation mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.viewHooks;\n /**\n * Array of ngAfterViewChecked hooks that should be executed for this view in\n * update mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.viewCheckHooks;\n /**\n * Array of ngOnDestroy hooks that should be executed when this view is destroyed.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.destroyHooks;\n /**\n * When a view is destroyed, listeners need to be released and outputs need to be\n * unsubscribed. This cleanup array stores both listener data (in chunks of 4)\n * and output data (in chunks of 2) for a particular view. Combining the arrays\n * saves on memory (70 bytes per array) and on a few bytes of code size (for two\n * separate for loops).\n *\n * If it's a native DOM listener or output subscription being stored:\n * 1st index is: event name `name = tView.cleanup[i+0]`\n * 2nd index is: index of native element or a function that retrieves global target (window,\n * document or body) reference based on the native element:\n * `typeof idxOrTargetGetter === 'function'`: global target getter function\n * `typeof idxOrTargetGetter === 'number'`: index of native element\n *\n * 3rd index is: index of listener function `listener = lView[CLEANUP][tView.cleanup[i+2]]`\n * 4th index is: `useCaptureOrIndx = tView.cleanup[i+3]`\n * `typeof useCaptureOrIndx == 'boolean' : useCapture boolean\n * `typeof useCaptureOrIndx == 'number':\n * `useCaptureOrIndx >= 0` `removeListener = LView[CLEANUP][useCaptureOrIndx]`\n * `useCaptureOrIndx < 0` `subscription = LView[CLEANUP][-useCaptureOrIndx]`\n *\n * If it's an output subscription or query list destroy hook:\n * 1st index is: output unsubscribe function / query list destroy function\n * 2nd index is: index of function context in LView.cleanupInstances[]\n * `tView.cleanup[i+0].call(lView[CLEANUP][tView.cleanup[i+1]])`\n * @type {?}\n */\n TView.prototype.cleanup;\n /**\n * A list of element indices for child components that will need to be\n * refreshed when the current view has finished its check. These indices have\n * already been adjusted for the HEADER_OFFSET.\n *\n * @type {?}\n */\n TView.prototype.components;\n /**\n * A collection of queries tracked in a given view.\n * @type {?}\n */\n TView.prototype.queries;\n /**\n * An array of indices pointing to directives with content queries alongside with the\n * corresponding\n * query index. Each entry in this array is a tuple of:\n * - index of the first content query index declared by a given directive;\n * - index of a directive.\n *\n * We are storing those indexes so we can refresh content queries as part of a view refresh\n * process.\n * @type {?}\n */\n TView.prototype.contentQueries;\n /**\n * Set of schemas that declare elements to be allowed inside the view.\n * @type {?}\n */\n TView.prototype.schemas;\n /**\n * Array of constants for the view. Includes attribute arrays, local definition arrays etc.\n * Used for directive matching, attribute bindings, local definitions and more.\n * @type {?}\n */\n TView.prototype.consts;\n /**\n * Indicates that there was an error before we managed to complete the first create pass of the\n * view. This means that the view is likely corrupted and we should try to recover it.\n * @type {?}\n */\n TView.prototype.incompleteFirstPass;\n}\n/** @enum {number} */\nconst RootContextFlags = {\n Empty: 0,\n DetectChanges: 1,\n FlushPlayers: 2,\n};\n/**\n * RootContext contains information which is shared for all components which\n * were bootstrapped with {\\@link renderComponent}.\n * @record\n */\nfunction RootContext() { }\nif (false) {\n /**\n * A function used for scheduling change detection in the future. Usually\n * this is `requestAnimationFrame`.\n * @type {?}\n */\n RootContext.prototype.scheduler;\n /**\n * A promise which is resolved when all components are considered clean (not dirty).\n *\n * This promise is overwritten every time a first call to {\\@link markDirty} is invoked.\n * @type {?}\n */\n RootContext.prototype.clean;\n /**\n * RootComponents - The components that were instantiated by the call to\n * {\\@link renderComponent}.\n * @type {?}\n */\n RootContext.prototype.components;\n /**\n * The player flushing handler to kick off all animations\n * @type {?}\n */\n RootContext.prototype.playerHandler;\n /**\n * What render-related operations to run once a scheduler has been set\n * @type {?}\n */\n RootContext.prototype.flags;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd = 1;\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/container.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Special location which allows easy identification of type. If we have an array which was\n * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is\n * `LContainer`.\n * @type {?}\n */\nconst TYPE = 1;\n/**\n * Flag to signify that this `LContainer` may have transplanted views which need to be change\n * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.\n *\n * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip\n * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify\n * that the `MOVED_VIEWS` are transplanted and on-push.\n * @type {?}\n */\nconst HAS_TRANSPLANTED_VIEWS = 2;\n// PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5\n// As we already have these constants in LView, we don't need to re-create them.\n// T_HOST is index 6\n// We already have this constants in LView, we don't need to re-create it.\n/** @type {?} */\nconst NATIVE = 7;\n/** @type {?} */\nconst VIEW_REFS = 8;\n/** @type {?} */\nconst MOVED_VIEWS = 9;\n/**\n * Size of LContainer's header. Represents the index after which all views in the\n * container will be inserted. We need to keep a record of current views so we know\n * which views are already in the DOM (and don't need to be re-added) and so we can\n * remove views from the DOM when they are no longer required.\n * @type {?}\n */\nconst CONTAINER_HEADER_OFFSET = 10;\n/**\n * The state associated with a container.\n *\n * This is an array so that its structure is closer to LView. This helps\n * when traversing the view tree (which is a mix of containers and component\n * views), so we can jump to viewOrContainer[NEXT] in the same way regardless\n * of type.\n * @record\n */\nfunction LContainer() { }\nif (false) {\n /* Skipping unnamed member:\n readonly[HOST]: RElement|RComment|LView;*/\n /* Skipping unnamed member:\n [TYPE]: true;*/\n /* Skipping unnamed member:\n [HAS_TRANSPLANTED_VIEWS]: boolean;*/\n /* Skipping unnamed member:\n [PARENT]: LView;*/\n /* Skipping unnamed member:\n [NEXT]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [TRANSPLANTED_VIEWS_TO_REFRESH]: number;*/\n /* Skipping unnamed member:\n [MOVED_VIEWS]: LView[]|null;*/\n /* Skipping unnamed member:\n [T_HOST]: TNode;*/\n /* Skipping unnamed member:\n readonly[NATIVE]:\n RComment;*/\n /* Skipping unnamed member:\n [VIEW_REFS]: ViewRef[]|null;*/\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$1 = 1;\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/type_checks.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * True if `value` is `LView`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction isLView(value) {\n return Array.isArray(value) && typeof value[TYPE] === 'object';\n}\n/**\n * True if `value` is `LContainer`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction isLContainer(value) {\n return Array.isArray(value) && value[TYPE] === true;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction isContentQueryHost(tNode) {\n return (tNode.flags & 8 /* hasContentQuery */) !== 0;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction isComponentHost(tNode) {\n return (tNode.flags & 2 /* isComponentHost */) === 2 /* isComponentHost */;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction isDirectiveHost(tNode) {\n return (tNode.flags & 1 /* isDirectiveHost */) === 1 /* isDirectiveHost */;\n}\n/**\n * @template T\n * @param {?} def\n * @return {?}\n */\nfunction isComponentDef(def) {\n return ((/** @type {?} */ (def))).template !== null;\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction isRootView(target) {\n return (target[FLAGS] & 512 /* IsRoot */) !== 0;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/assert.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// [Assert functions do not constraint type when they are guarded by a truthy\n// expression.](https://github.com/microsoft/TypeScript/issues/37295)\n/**\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction assertTNodeForLView(tNode, lView) {\n tNode.hasOwnProperty('tView_') &&\n assertEqual(((/** @type {?} */ ((/** @type {?} */ (tNode))))).tView_, lView[TVIEW], 'This TNode does not belong to this LView.');\n}\n/**\n * @param {?} actual\n * @param {?=} msg\n * @return {?}\n */\nfunction assertComponentType(actual, msg = 'Type passed in is not ComponentType, it does not have \\'ɵcmp\\' property.') {\n if (!getComponentDef(actual)) {\n throwError(msg);\n }\n}\n/**\n * @param {?} actual\n * @param {?=} msg\n * @return {?}\n */\nfunction assertNgModuleType(actual, msg = 'Type passed in is not NgModuleType, it does not have \\'ɵmod\\' property.') {\n if (!getNgModuleDef(actual)) {\n throwError(msg);\n }\n}\n/**\n * @param {?} isParent\n * @return {?}\n */\nfunction assertPreviousIsParent(isParent) {\n assertEqual(isParent, true, 'previousOrParentTNode should be a parent');\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction assertHasParent(tNode) {\n assertDefined(tNode, 'previousOrParentTNode should exist!');\n assertDefined((/** @type {?} */ (tNode)).parent, 'previousOrParentTNode should have a parent');\n}\n/**\n * @param {?} lView\n * @param {?} index\n * @param {?=} arr\n * @return {?}\n */\nfunction assertDataNext(lView, index, arr) {\n if (arr == null)\n arr = lView;\n assertEqual(arr.length, index, `index ${index} expected to be at the end of arr (length ${arr.length})`);\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLContainer(value) {\n assertDefined(value, 'LContainer must be defined');\n assertEqual(isLContainer(value), true, 'Expecting LContainer');\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLViewOrUndefined(value) {\n value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLView(value) {\n assertDefined(value, 'LView must be defined');\n assertEqual(isLView(value), true, 'Expecting LView');\n}\n/**\n * @param {?} tView\n * @param {?=} errMessage\n * @return {?}\n */\nfunction assertFirstCreatePass(tView, errMessage) {\n assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.');\n}\n/**\n * @param {?} tView\n * @param {?=} errMessage\n * @return {?}\n */\nfunction assertFirstUpdatePass(tView, errMessage) {\n assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.');\n}\n/**\n * This is a basic sanity check that an object is probably a directive def. DirectiveDef is\n * an interface, so we can't do a direct instanceof check.\n * @template T\n * @param {?} obj\n * @return {?}\n */\nfunction assertDirectiveDef(obj) {\n if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) {\n throwError(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/namespaces.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n/** @type {?} */\nconst MATH_ML_NAMESPACE = 'http://www.w3.org/1998/MathML/';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/context.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This property will be monkey-patched on elements, components and directives\n * @type {?}\n */\nconst MONKEY_PATCH_KEY_NAME = '__ngContext__';\n/**\n * The internal view context which is specific to a given DOM element, directive or\n * component instance. Each value in here (besides the LView and element node details)\n * can be present, null or undefined. If undefined then it implies the value has not been\n * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.\n *\n * Each value will get filled when the respective value is examined within the getContext\n * function. The component, element and each directive instance will share the same instance\n * of the context.\n * @record\n */\nfunction LContext() { }\nif (false) {\n /**\n * The component's parent view data.\n * @type {?}\n */\n LContext.prototype.lView;\n /**\n * The index instance of the node.\n * @type {?}\n */\n LContext.prototype.nodeIndex;\n /**\n * The instance of the DOM node that is attached to the lNode.\n * @type {?}\n */\n LContext.prototype.native;\n /**\n * The instance of the Component node.\n * @type {?}\n */\n LContext.prototype.component;\n /**\n * The list of active directives that exist on this element.\n * @type {?}\n */\n LContext.prototype.directives;\n /**\n * The map of local references (local reference name => element or directive instance) that exist\n * on this element.\n * @type {?}\n */\n LContext.prototype.localRefs;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/document.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Most of the use of `document` in Angular is from within the DI system so it is possible to simply\n * inject the `DOCUMENT` token and are done.\n *\n * Ivy is special because it does not rely upon the DI and must get hold of the document some other\n * way.\n *\n * The solution is to define `getDocument()` and `setDocument()` top-level functions for ivy.\n * Wherever ivy needs the global document, it calls `getDocument()` instead.\n *\n * When running ivy outside of a browser environment, it is necessary to call `setDocument()` to\n * tell ivy what the global `document` is.\n *\n * Angular does this for us in each of the standard platforms (`Browser`, `Server`, and `WebWorker`)\n * by calling `setDocument()` when providing the `DOCUMENT` token.\n * @type {?}\n */\nlet DOCUMENT = undefined;\n/**\n * Tell ivy what the `document` is for this platform.\n *\n * It is only necessary to call this if the current platform is not a browser.\n *\n * @param {?} document The object representing the global `document` in this environment.\n * @return {?}\n */\nfunction setDocument(document) {\n DOCUMENT = document;\n}\n/**\n * Access the object that represents the `document` for this platform.\n *\n * Ivy calls this whenever it needs to access the `document` object.\n * For example to create the renderer or to do sanitization.\n * @return {?}\n */\nfunction getDocument() {\n if (DOCUMENT !== undefined) {\n return DOCUMENT;\n }\n else if (typeof document !== 'undefined') {\n return document;\n }\n // No \"document\" can be found. This should only happen if we are running ivy outside Angular and\n // the current platform is not a browser. Since this is not a supported scenario at the moment\n // this should not happen in Angular apps.\n // Once we support running ivy outside of Angular we will need to publish `setDocument()` as a\n // public API. Meanwhile we just return `undefined` and let the application fail.\n return (/** @type {?} */ (undefined));\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/renderer.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @enum {number} */\nconst RendererStyleFlags3 = {\n Important: 1,\n DashCase: 2,\n};\nRendererStyleFlags3[RendererStyleFlags3.Important] = 'Important';\nRendererStyleFlags3[RendererStyleFlags3.DashCase] = 'DashCase';\n/**\n * Object Oriented style of API needed to create elements and text nodes.\n *\n * This is the native browser API style, e.g. operations are methods on individual objects\n * like HTMLElement. With this style, no additional code is needed as a facade\n * (reducing payload size).\n *\n * @record\n */\nfunction ObjectOrientedRenderer3() { }\nif (false) {\n /**\n * @param {?} data\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.createComment = function (data) { };\n /**\n * @param {?} tagName\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.createElement = function (tagName) { };\n /**\n * @param {?} namespace\n * @param {?} tagName\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.createElementNS = function (namespace, tagName) { };\n /**\n * @param {?} data\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.createTextNode = function (data) { };\n /**\n * @param {?} selectors\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.querySelector = function (selectors) { };\n}\n/**\n * Returns whether the `renderer` is a `ProceduralRenderer3`\n * @param {?} renderer\n * @return {?}\n */\nfunction isProceduralRenderer(renderer) {\n return !!(((/** @type {?} */ (renderer))).listen);\n}\n/**\n * Procedural style of API needed to create elements and text nodes.\n *\n * In non-native browser environments (e.g. platforms such as web-workers), this is the\n * facade that enables element manipulation. This also facilitates backwards compatibility\n * with Renderer2.\n * @record\n */\nfunction ProceduralRenderer3() { }\nif (false) {\n /**\n * This property is allowed to be null / undefined,\n * in which case the view engine won't call it.\n * This is used as a performance optimization for production mode.\n * @type {?|undefined}\n */\n ProceduralRenderer3.prototype.destroyNode;\n /**\n * @return {?}\n */\n ProceduralRenderer3.prototype.destroy = function () { };\n /**\n * @param {?} value\n * @return {?}\n */\n ProceduralRenderer3.prototype.createComment = function (value) { };\n /**\n * @param {?} name\n * @param {?=} namespace\n * @return {?}\n */\n ProceduralRenderer3.prototype.createElement = function (name, namespace) { };\n /**\n * @param {?} value\n * @return {?}\n */\n ProceduralRenderer3.prototype.createText = function (value) { };\n /**\n * @param {?} parent\n * @param {?} newChild\n * @return {?}\n */\n ProceduralRenderer3.prototype.appendChild = function (parent, newChild) { };\n /**\n * @param {?} parent\n * @param {?} newChild\n * @param {?} refChild\n * @return {?}\n */\n ProceduralRenderer3.prototype.insertBefore = function (parent, newChild, refChild) { };\n /**\n * @param {?} parent\n * @param {?} oldChild\n * @param {?=} isHostElement\n * @return {?}\n */\n ProceduralRenderer3.prototype.removeChild = function (parent, oldChild, isHostElement) { };\n /**\n * @param {?} selectorOrNode\n * @param {?=} preserveContent\n * @return {?}\n */\n ProceduralRenderer3.prototype.selectRootElement = function (selectorOrNode, preserveContent) { };\n /**\n * @param {?} node\n * @return {?}\n */\n ProceduralRenderer3.prototype.parentNode = function (node) { };\n /**\n * @param {?} node\n * @return {?}\n */\n ProceduralRenderer3.prototype.nextSibling = function (node) { };\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @param {?=} namespace\n * @return {?}\n */\n ProceduralRenderer3.prototype.setAttribute = function (el, name, value, namespace) { };\n /**\n * @param {?} el\n * @param {?} name\n * @param {?=} namespace\n * @return {?}\n */\n ProceduralRenderer3.prototype.removeAttribute = function (el, name, namespace) { };\n /**\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n ProceduralRenderer3.prototype.addClass = function (el, name) { };\n /**\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n ProceduralRenderer3.prototype.removeClass = function (el, name) { };\n /**\n * @param {?} el\n * @param {?} style\n * @param {?} value\n * @param {?=} flags\n * @return {?}\n */\n ProceduralRenderer3.prototype.setStyle = function (el, style, value, flags) { };\n /**\n * @param {?} el\n * @param {?} style\n * @param {?=} flags\n * @return {?}\n */\n ProceduralRenderer3.prototype.removeStyle = function (el, style, flags) { };\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n ProceduralRenderer3.prototype.setProperty = function (el, name, value) { };\n /**\n * @param {?} node\n * @param {?} value\n * @return {?}\n */\n ProceduralRenderer3.prototype.setValue = function (node, value) { };\n /**\n * @param {?} target\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n ProceduralRenderer3.prototype.listen = function (target, eventName, callback) { };\n}\n/**\n * @record\n */\nfunction RendererFactory3() { }\nif (false) {\n /**\n * @param {?} hostElement\n * @param {?} rendererType\n * @return {?}\n */\n RendererFactory3.prototype.createRenderer = function (hostElement, rendererType) { };\n /**\n * @return {?}\n */\n RendererFactory3.prototype.begin = function () { };\n /**\n * @return {?}\n */\n RendererFactory3.prototype.end = function () { };\n}\nconst ɵ0$2 = /**\n * @param {?} hostElement\n * @param {?} rendererType\n * @return {?}\n */\n(hostElement, rendererType) => {\n return getDocument();\n};\n/** @type {?} */\nconst domRendererFactory3 = {\n createRenderer: (ɵ0$2)\n};\n/**\n * Subset of API needed for appending elements and text nodes.\n * @record\n */\nfunction RNode() { }\nif (false) {\n /**\n * Returns the parent Element, Document, or DocumentFragment\n * @type {?}\n */\n RNode.prototype.parentNode;\n /**\n * Returns the parent Element if there is one\n * @type {?}\n */\n RNode.prototype.parentElement;\n /**\n * Gets the Node immediately following this one in the parent's childNodes\n * @type {?}\n */\n RNode.prototype.nextSibling;\n /**\n * Removes a child from the current node and returns the removed node\n * @param {?} oldChild the child node to remove\n * @return {?}\n */\n RNode.prototype.removeChild = function (oldChild) { };\n /**\n * Insert a child node.\n *\n * Used exclusively for adding View root nodes into ViewAnchor location.\n * @param {?} newChild\n * @param {?} refChild\n * @param {?} isViewRoot\n * @return {?}\n */\n RNode.prototype.insertBefore = function (newChild, refChild, isViewRoot) { };\n /**\n * Append a child node.\n *\n * Used exclusively for building up DOM which are static (ie not View roots)\n * @param {?} newChild\n * @return {?}\n */\n RNode.prototype.appendChild = function (newChild) { };\n}\n/**\n * Subset of API needed for writing attributes, properties, and setting up\n * listeners on Element.\n * @record\n */\nfunction RElement() { }\nif (false) {\n /** @type {?} */\n RElement.prototype.style;\n /** @type {?} */\n RElement.prototype.classList;\n /** @type {?} */\n RElement.prototype.className;\n /** @type {?} */\n RElement.prototype.textContent;\n /**\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n RElement.prototype.setAttribute = function (name, value) { };\n /**\n * @param {?} name\n * @return {?}\n */\n RElement.prototype.removeAttribute = function (name) { };\n /**\n * @param {?} namespaceURI\n * @param {?} qualifiedName\n * @param {?} value\n * @return {?}\n */\n RElement.prototype.setAttributeNS = function (namespaceURI, qualifiedName, value) { };\n /**\n * @param {?} type\n * @param {?} listener\n * @param {?=} useCapture\n * @return {?}\n */\n RElement.prototype.addEventListener = function (type, listener, useCapture) { };\n /**\n * @param {?} type\n * @param {?=} listener\n * @param {?=} options\n * @return {?}\n */\n RElement.prototype.removeEventListener = function (type, listener, options) { };\n /**\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n RElement.prototype.setProperty = function (name, value) { };\n}\n/**\n * @record\n */\nfunction RCssStyleDeclaration() { }\nif (false) {\n /**\n * @param {?} propertyName\n * @return {?}\n */\n RCssStyleDeclaration.prototype.removeProperty = function (propertyName) { };\n /**\n * @param {?} propertyName\n * @param {?} value\n * @param {?=} priority\n * @return {?}\n */\n RCssStyleDeclaration.prototype.setProperty = function (propertyName, value, priority) { };\n}\n/**\n * @record\n */\nfunction RDomTokenList() { }\nif (false) {\n /**\n * @param {?} token\n * @return {?}\n */\n RDomTokenList.prototype.add = function (token) { };\n /**\n * @param {?} token\n * @return {?}\n */\n RDomTokenList.prototype.remove = function (token) { };\n}\n/**\n * @record\n */\nfunction RText() { }\nif (false) {\n /** @type {?} */\n RText.prototype.textContent;\n}\n/**\n * @record\n */\nfunction RComment() { }\nif (false) {\n /** @type {?} */\n RComment.prototype.textContent;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$2 = 1;\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/util/view_utils.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)\n * in same location in `LView`. This is because we don't want to pre-allocate space for it\n * because the storage is sparse. This file contains utilities for dealing with such data types.\n *\n * How do we know what is stored at a given location in `LView`.\n * - `Array.isArray(value) === false` => `RNode` (The normal storage value)\n * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.\n * - `typeof value[TYPE] === 'object'` => `LView`\n * - This happens when we have a component at a given location\n * - `typeof value[TYPE] === true` => `LContainer`\n * - This happens when we have `LContainer` binding at a given location.\n *\n *\n * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.\n */\n/**\n * Returns `RNode`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapRNode(value) {\n while (Array.isArray(value)) {\n value = (/** @type {?} */ (value[HOST]));\n }\n return (/** @type {?} */ (value));\n}\n/**\n * Returns `LView` or `null` if not found.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapLView(value) {\n while (Array.isArray(value)) {\n // This check is same as `isLView()` but we don't call at as we don't want to call\n // `Array.isArray()` twice and give JITer more work for inlining.\n if (typeof value[TYPE] === 'object')\n return (/** @type {?} */ (value));\n value = (/** @type {?} */ (value[HOST]));\n }\n return null;\n}\n/**\n * Returns `LContainer` or `null` if not found.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapLContainer(value) {\n while (Array.isArray(value)) {\n // This check is same as `isLContainer()` but we don't call at as we don't want to call\n // `Array.isArray()` twice and give JITer more work for inlining.\n if (value[TYPE] === true)\n return (/** @type {?} */ (value));\n value = (/** @type {?} */ (value[HOST]));\n }\n return null;\n}\n/**\n * Retrieves an element value from the provided `viewData`, by unwrapping\n * from any containers, component views, or style contexts.\n * @param {?} index\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByIndex(index, lView) {\n return unwrapRNode(lView[index + HEADER_OFFSET]);\n}\n/**\n * Retrieve an `RNode` for a given `TNode` and `LView`.\n *\n * This function guarantees in dev mode to retrieve a non-null `RNode`.\n *\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByTNode(tNode, lView) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n ngDevMode && assertDataInRange(lView, tNode.index);\n /** @type {?} */\n const node = unwrapRNode(lView[tNode.index]);\n ngDevMode && !isProceduralRenderer(lView[RENDERER]) && assertDomNode(node);\n return node;\n}\n/**\n * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.\n *\n * Some `TNode`s don't have associated `RNode`s. For example `Projection`\n *\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByTNodeOrNull(tNode, lView) {\n /** @type {?} */\n const index = tNode.index;\n if (index !== -1) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n /** @type {?} */\n const node = unwrapRNode(lView[index]);\n ngDevMode && node !== null && !isProceduralRenderer(lView[RENDERER]) && assertDomNode(node);\n return node;\n }\n return null;\n}\n/**\n * @param {?} tView\n * @param {?} index\n * @return {?}\n */\nfunction getTNode(tView, index) {\n ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');\n ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode');\n return (/** @type {?} */ (tView.data[index + HEADER_OFFSET]));\n}\n/**\n * Retrieves a value from any `LView` or `TData`.\n * @template T\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction load(view, index) {\n ngDevMode && assertDataInRange(view, index + HEADER_OFFSET);\n return view[index + HEADER_OFFSET];\n}\n/**\n * @param {?} nodeIndex\n * @param {?} hostView\n * @return {?}\n */\nfunction getComponentLViewByIndex(nodeIndex, hostView) {\n // Could be an LView or an LContainer. If LContainer, unwrap to find LView.\n ngDevMode && assertDataInRange(hostView, nodeIndex);\n /** @type {?} */\n const slotValue = hostView[nodeIndex];\n /** @type {?} */\n const lView = isLView(slotValue) ? slotValue : slotValue[HOST];\n return lView;\n}\n/**\n * Returns the monkey-patch value data present on the target (which could be\n * a component, directive or a DOM node).\n * @param {?} target\n * @return {?}\n */\nfunction readPatchedData(target) {\n ngDevMode && assertDefined(target, 'Target expected');\n return target[MONKEY_PATCH_KEY_NAME] || null;\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction readPatchedLView(target) {\n /** @type {?} */\n const value = readPatchedData(target);\n if (value) {\n return Array.isArray(value) ? value : ((/** @type {?} */ (value))).lView;\n }\n return null;\n}\n/**\n * Checks whether a given view is in creation mode\n * @param {?} view\n * @return {?}\n */\nfunction isCreationMode(view) {\n return (view[FLAGS] & 4 /* CreationMode */) === 4 /* CreationMode */;\n}\n/**\n * Returns a boolean for whether the view is attached to the change detection tree.\n *\n * Note: This determines whether a view should be checked, not whether it's inserted\n * into a container. For that, you'll want `viewAttachedToContainer` below.\n * @param {?} view\n * @return {?}\n */\nfunction viewAttachedToChangeDetector(view) {\n return (view[FLAGS] & 128 /* Attached */) === 128 /* Attached */;\n}\n/**\n * Returns a boolean for whether the view is attached to a container.\n * @param {?} view\n * @return {?}\n */\nfunction viewAttachedToContainer(view) {\n return isLContainer(view[PARENT]);\n}\n/**\n * Returns a constant from `TConstants` instance.\n * @template T\n * @param {?} consts\n * @param {?} index\n * @return {?}\n */\nfunction getConstant(consts, index) {\n return consts === null || index == null ? null : (/** @type {?} */ ((/** @type {?} */ (consts[index]))));\n}\n/**\n * Resets the pre-order hook flags of the view.\n * @param {?} lView the LView on which the flags are reset\n * @return {?}\n */\nfunction resetPreOrderHookFlags(lView) {\n lView[PREORDER_HOOK_FLAGS] = 0;\n}\n/**\n * Updates the `TRANSPLANTED_VIEWS_TO_REFRESH` counter on the `LContainer` as well as the parents\n * whose\n * 1. counter goes from 0 to 1, indicating that there is a new child that has a view to refresh\n * or\n * 2. counter goes from 1 to 0, indicating there are no more descendant views to refresh\n * @param {?} lContainer\n * @param {?} amount\n * @return {?}\n */\nfunction updateTransplantedViewCount(lContainer, amount) {\n lContainer[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;\n /** @type {?} */\n let viewOrContainer = lContainer;\n /** @type {?} */\n let parent = lContainer[PARENT];\n while (parent !== null &&\n ((amount === 1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 1) ||\n (amount === -1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 0))) {\n parent[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;\n viewOrContainer = parent;\n parent = parent[PARENT];\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/state.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *\n * @record\n */\nfunction LFrame() { }\nif (false) {\n /**\n * Parent LFrame.\n *\n * This is needed when `leaveView` is called to restore the previous state.\n * @type {?}\n */\n LFrame.prototype.parent;\n /**\n * Child LFrame.\n *\n * This is used to cache existing LFrames to relieve the memory pressure.\n * @type {?}\n */\n LFrame.prototype.child;\n /**\n * State of the current view being processed.\n *\n * An array of nodes (text, element, container, etc), pipes, their bindings, and\n * any local variables that need to be stored between invocations.\n * @type {?}\n */\n LFrame.prototype.lView;\n /**\n * Current `TView` associated with the `LFrame.lView`.\n *\n * One can get `TView` from `lFrame[TVIEW]` however because it is so common it makes sense to\n * store it in `LFrame` for perf reasons.\n * @type {?}\n */\n LFrame.prototype.tView;\n /**\n * Used to set the parent property when nodes are created and track query results.\n *\n * This is used in conjunction with `isParent`.\n * @type {?}\n */\n LFrame.prototype.previousOrParentTNode;\n /**\n * If `isParent` is:\n * - `true`: then `previousOrParentTNode` points to a parent node.\n * - `false`: then `previousOrParentTNode` points to previous node (sibling).\n * @type {?}\n */\n LFrame.prototype.isParent;\n /**\n * Index of currently selected element in LView.\n *\n * Used by binding instructions. Updated as part of advance instruction.\n * @type {?}\n */\n LFrame.prototype.selectedIndex;\n /**\n * Current pointer to the binding index.\n * @type {?}\n */\n LFrame.prototype.bindingIndex;\n /**\n * The last viewData retrieved by nextContext().\n * Allows building nextContext() and reference() calls.\n *\n * e.g. const inner = x().$implicit; const outer = x().$implicit;\n * @type {?}\n */\n LFrame.prototype.contextLView;\n /**\n * Store the element depth count. This is used to identify the root elements of the template\n * so that we can then attach patch data `LView` to only those elements. We know that those\n * are the only places where the patch data could change, this way we will save on number\n * of places where tha patching occurs.\n * @type {?}\n */\n LFrame.prototype.elementDepthCount;\n /**\n * Current namespace to be used when creating elements\n * @type {?}\n */\n LFrame.prototype.currentNamespace;\n /**\n * Current sanitizer\n * @type {?}\n */\n LFrame.prototype.currentSanitizer;\n /**\n * The root index from which pure function instructions should calculate their binding\n * indices. In component views, this is TView.bindingStartIndex. In a host binding\n * context, this is the TView.expandoStartIndex + any dirs/hostVars before the given dir.\n * @type {?}\n */\n LFrame.prototype.bindingRootIndex;\n /**\n * Current index of a View or Content Query which needs to be processed next.\n * We iterate over the list of Queries and increment current query index at every step.\n * @type {?}\n */\n LFrame.prototype.currentQueryIndex;\n /**\n * When host binding is executing this points to the directive index.\n * `TView.data[currentDirectiveIndex]` is `DirectiveDef`\n * `LView[currentDirectiveIndex]` is directive instance.\n * @type {?}\n */\n LFrame.prototype.currentDirectiveIndex;\n}\n/**\n * All implicit instruction state is stored here.\n *\n * It is useful to have a single object where all of the state is stored as a mental model\n * (rather it being spread across many different variables.)\n *\n * PERF NOTE: Turns out that writing to a true global variable is slower than\n * having an intermediate object with properties.\n * @record\n */\nfunction InstructionState() { }\nif (false) {\n /**\n * Current `LFrame`\n *\n * `null` if we have not called `enterView`\n * @type {?}\n */\n InstructionState.prototype.lFrame;\n /**\n * Stores whether directives should be matched to elements.\n *\n * When template contains `ngNonBindable` then we need to prevent the runtime from matching\n * directives on children of that element.\n *\n * Example:\n * ```\n * \n * Should match component / directive.\n * \n *
    \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n *
    \n * ```\n * @type {?}\n */\n InstructionState.prototype.bindingsEnabled;\n /**\n * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.\n *\n * Necessary to support ChangeDetectorRef.checkNoChanges().\n * @type {?}\n */\n InstructionState.prototype.checkNoChangesMode;\n}\n/** @type {?} */\nconst instructionState = {\n lFrame: createLFrame(null),\n bindingsEnabled: true,\n checkNoChangesMode: false,\n};\n/**\n * @return {?}\n */\nfunction getElementDepthCount() {\n return instructionState.lFrame.elementDepthCount;\n}\n/**\n * @return {?}\n */\nfunction increaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount++;\n}\n/**\n * @return {?}\n */\nfunction decreaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount--;\n}\n/**\n * @return {?}\n */\nfunction getBindingsEnabled() {\n return instructionState.bindingsEnabled;\n}\n/**\n * Enables directive matching on elements.\n *\n * * Example:\n * ```\n * \n * Should match component / directive.\n * \n *
    \n * \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n * \n *
    \n * ```\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵenableBindings() {\n instructionState.bindingsEnabled = true;\n}\n/**\n * Disables directive matching on element.\n *\n * * Example:\n * ```\n * \n * Should match component / directive.\n * \n *
    \n * \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n * \n *
    \n * ```\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵdisableBindings() {\n instructionState.bindingsEnabled = false;\n}\n/**\n * Return the current `LView`.\n * @return {?}\n */\nfunction getLView() {\n return instructionState.lFrame.lView;\n}\n/**\n * Return the current `TView`.\n * @return {?}\n */\nfunction getTView() {\n return instructionState.lFrame.tView;\n}\n/**\n * Restores `contextViewData` to the given OpaqueViewState instance.\n *\n * Used in conjunction with the getCurrentView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * \\@codeGenApi\n * @param {?} viewToRestore The OpaqueViewState instance to restore.\n *\n * @return {?}\n */\nfunction ɵɵrestoreView(viewToRestore) {\n instructionState.lFrame.contextLView = (/** @type {?} */ ((/** @type {?} */ (viewToRestore))));\n}\n/**\n * @return {?}\n */\nfunction getPreviousOrParentTNode() {\n return instructionState.lFrame.previousOrParentTNode;\n}\n/**\n * @param {?} tNode\n * @param {?} isParent\n * @return {?}\n */\nfunction setPreviousOrParentTNode(tNode, isParent) {\n instructionState.lFrame.previousOrParentTNode = tNode;\n instructionState.lFrame.isParent = isParent;\n}\n/**\n * @return {?}\n */\nfunction getIsParent() {\n return instructionState.lFrame.isParent;\n}\n/**\n * @return {?}\n */\nfunction setIsNotParent() {\n instructionState.lFrame.isParent = false;\n}\n/**\n * @return {?}\n */\nfunction setIsParent() {\n instructionState.lFrame.isParent = true;\n}\n/**\n * @return {?}\n */\nfunction getContextLView() {\n return instructionState.lFrame.contextLView;\n}\n/**\n * @return {?}\n */\nfunction getCheckNoChangesMode() {\n // TODO(misko): remove this from the LView since it is ngDevMode=true mode only.\n return instructionState.checkNoChangesMode;\n}\n/**\n * @param {?} mode\n * @return {?}\n */\nfunction setCheckNoChangesMode(mode) {\n instructionState.checkNoChangesMode = mode;\n}\n// top level variables should not be exported for performance reasons (PERF_NOTES.md)\n/**\n * @return {?}\n */\nfunction getBindingRoot() {\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n /** @type {?} */\n let index = lFrame.bindingRootIndex;\n if (index === -1) {\n index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex;\n }\n return index;\n}\n/**\n * @return {?}\n */\nfunction getBindingIndex() {\n return instructionState.lFrame.bindingIndex;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction setBindingIndex(value) {\n return instructionState.lFrame.bindingIndex = value;\n}\n/**\n * @return {?}\n */\nfunction nextBindingIndex() {\n return instructionState.lFrame.bindingIndex++;\n}\n/**\n * @param {?} count\n * @return {?}\n */\nfunction incrementBindingIndex(count) {\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n /** @type {?} */\n const index = lFrame.bindingIndex;\n lFrame.bindingIndex = lFrame.bindingIndex + count;\n return index;\n}\n/**\n * Set a new binding root index so that host template functions can execute.\n *\n * Bindings inside the host template are 0 index. But because we don't know ahead of time\n * how many host bindings we have we can't pre-compute them. For this reason they are all\n * 0 index and we just shift the root so that they match next available location in the LView.\n *\n * @param {?} bindingRootIndex Root index for `hostBindings`\n * @param {?} currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive\n * whose `hostBindings` are being processed.\n * @return {?}\n */\nfunction setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) {\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex;\n setCurrentDirectiveIndex(currentDirectiveIndex);\n}\n/**\n * When host binding is executing this points to the directive index.\n * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef`\n * `LView[getCurrentDirectiveIndex()]` is directive instance.\n * @return {?}\n */\nfunction getCurrentDirectiveIndex() {\n return instructionState.lFrame.currentDirectiveIndex;\n}\n/**\n * Sets an index of a directive whose `hostBindings` are being processed.\n *\n * @param {?} currentDirectiveIndex `TData` index where current directive instance can be found.\n * @return {?}\n */\nfunction setCurrentDirectiveIndex(currentDirectiveIndex) {\n instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex;\n}\n/**\n * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being\n * executed.\n *\n * @param {?} tData Current `TData` where the `DirectiveDef` will be looked up at.\n * @return {?}\n */\nfunction getCurrentDirectiveDef(tData) {\n /** @type {?} */\n const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex;\n return currentDirectiveIndex === -1 ? null : (/** @type {?} */ (tData[currentDirectiveIndex]));\n}\n/**\n * @return {?}\n */\nfunction getCurrentQueryIndex() {\n return instructionState.lFrame.currentQueryIndex;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction setCurrentQueryIndex(value) {\n instructionState.lFrame.currentQueryIndex = value;\n}\n/**\n * This is a light weight version of the `enterView` which is needed by the DI system.\n * @param {?} newView\n * @param {?} tNode\n * @return {?}\n */\nfunction enterDI(newView, tNode) {\n ngDevMode && assertLViewOrUndefined(newView);\n /** @type {?} */\n const newLFrame = allocLFrame();\n instructionState.lFrame = newLFrame;\n newLFrame.previousOrParentTNode = (/** @type {?} */ (tNode));\n newLFrame.lView = newView;\n}\n/**\n * Swap the current lView with a new lView.\n *\n * For performance reasons we store the lView in the top level of the module.\n * This way we minimize the number of properties to read. Whenever a new view\n * is entered we have to store the lView for later, and when the view is\n * exited the state has to be restored\n *\n * @param {?} newView New lView to become active\n * @param {?} tNode Element to which the View is a child of\n * @return {?} the previously active lView;\n */\nfunction enterView(newView, tNode) {\n ngDevMode && assertLViewOrUndefined(newView);\n /** @type {?} */\n const newLFrame = allocLFrame();\n if (ngDevMode) {\n assertEqual(newLFrame.isParent, true, 'Expected clean LFrame');\n assertEqual(newLFrame.lView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.tView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.selectedIndex, 0, 'Expected clean LFrame');\n assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame');\n assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame');\n assertEqual(newLFrame.currentSanitizer, null, 'Expected clean LFrame');\n assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame');\n }\n /** @type {?} */\n const tView = newView[TVIEW];\n instructionState.lFrame = newLFrame;\n newLFrame.previousOrParentTNode = (/** @type {?} */ (tNode));\n newLFrame.lView = newView;\n newLFrame.tView = tView;\n newLFrame.contextLView = (/** @type {?} */ (newView));\n newLFrame.bindingIndex = tView.bindingStartIndex;\n}\n/**\n * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure.\n * @return {?}\n */\nfunction allocLFrame() {\n /** @type {?} */\n const currentLFrame = instructionState.lFrame;\n /** @type {?} */\n const childLFrame = currentLFrame === null ? null : currentLFrame.child;\n /** @type {?} */\n const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame;\n return newLFrame;\n}\n/**\n * @param {?} parent\n * @return {?}\n */\nfunction createLFrame(parent) {\n /** @type {?} */\n const lFrame = {\n previousOrParentTNode: (/** @type {?} */ (null)),\n //\n isParent: true,\n //\n lView: (/** @type {?} */ (null)),\n //\n tView: (/** @type {?} */ (null)),\n //\n selectedIndex: 0,\n //\n contextLView: (/** @type {?} */ (null)),\n //\n elementDepthCount: 0,\n //\n currentNamespace: null,\n //\n currentSanitizer: null,\n //\n currentDirectiveIndex: -1,\n //\n bindingRootIndex: -1,\n //\n bindingIndex: -1,\n //\n currentQueryIndex: 0,\n //\n parent: (/** @type {?} */ (parent)),\n //\n child: null,\n };\n parent !== null && (parent.child = lFrame); // link the new LFrame for reuse.\n return lFrame;\n}\n/**\n * A lightweight version of leave which is used with DI.\n *\n * This function only resets `previousOrParentTNode` and `LView` as those are the only properties\n * used with DI (`enterDI()`).\n *\n * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where\n * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`.\n * @return {?}\n */\nfunction leaveViewLight() {\n /** @type {?} */\n const oldLFrame = instructionState.lFrame;\n instructionState.lFrame = oldLFrame.parent;\n oldLFrame.previousOrParentTNode = (/** @type {?} */ (null));\n oldLFrame.lView = (/** @type {?} */ (null));\n return oldLFrame;\n}\n/**\n * This is a lightweight version of the `leaveView` which is needed by the DI system.\n *\n * NOTE: this function is an alias so that we can change the type of the function to have `void`\n * return type.\n * @type {?}\n */\nconst leaveDI = leaveViewLight;\n/**\n * Leave the current `LView`\n *\n * This pops the `LFrame` with the associated `LView` from the stack.\n *\n * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is\n * because for performance reasons we don't release `LFrame` but rather keep it for next use.\n * @return {?}\n */\nfunction leaveView() {\n /** @type {?} */\n const oldLFrame = leaveViewLight();\n oldLFrame.isParent = true;\n oldLFrame.tView = (/** @type {?} */ (null));\n oldLFrame.selectedIndex = 0;\n oldLFrame.contextLView = (/** @type {?} */ (null));\n oldLFrame.elementDepthCount = 0;\n oldLFrame.currentDirectiveIndex = -1;\n oldLFrame.currentNamespace = null;\n oldLFrame.currentSanitizer = null;\n oldLFrame.bindingRootIndex = -1;\n oldLFrame.bindingIndex = -1;\n oldLFrame.currentQueryIndex = 0;\n}\n/**\n * @template T\n * @param {?} level\n * @return {?}\n */\nfunction nextContextImpl(level) {\n /** @type {?} */\n const contextLView = instructionState.lFrame.contextLView =\n walkUpViews(level, (/** @type {?} */ (instructionState.lFrame.contextLView)));\n return (/** @type {?} */ (contextLView[CONTEXT]));\n}\n/**\n * @param {?} nestingLevel\n * @param {?} currentView\n * @return {?}\n */\nfunction walkUpViews(nestingLevel, currentView) {\n while (nestingLevel > 0) {\n ngDevMode &&\n assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');\n currentView = (/** @type {?} */ (currentView[DECLARATION_VIEW]));\n nestingLevel--;\n }\n return currentView;\n}\n/**\n * Gets the currently selected element index.\n *\n * Used with {\\@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n * @return {?}\n */\nfunction getSelectedIndex() {\n return instructionState.lFrame.selectedIndex;\n}\n/**\n * Sets the most recent index passed to {\\@link select}\n *\n * Used with {\\@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n *\n * (Note that if an \"exit function\" was set earlier (via `setElementExitFn()`) then that will be\n * run if and when the provided `index` value is different from the current selected index value.)\n * @param {?} index\n * @return {?}\n */\nfunction setSelectedIndex(index) {\n instructionState.lFrame.selectedIndex = index;\n}\n/**\n * Gets the `tNode` that represents currently selected element.\n * @return {?}\n */\nfunction getSelectedTNode() {\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n return getTNode(lFrame.tView, lFrame.selectedIndex);\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceSVG() {\n instructionState.lFrame.currentNamespace = SVG_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceMathML() {\n instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceHTML() {\n namespaceHTMLInternal();\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n * @return {?}\n */\nfunction namespaceHTMLInternal() {\n instructionState.lFrame.currentNamespace = null;\n}\n/**\n * @return {?}\n */\nfunction getNamespace() {\n return instructionState.lFrame.currentNamespace;\n}\n/**\n * @param {?} sanitizer\n * @return {?}\n */\nfunction setCurrentStyleSanitizer(sanitizer) {\n instructionState.lFrame.currentSanitizer = sanitizer;\n}\n/**\n * @return {?}\n */\nfunction resetCurrentStyleSanitizer() {\n setCurrentStyleSanitizer(null);\n}\n/**\n * @return {?}\n */\nfunction getCurrentStyleSanitizer() {\n // TODO(misko): This should throw when there is no LView, but it turns out we can get here from\n // `NodeStyleDebug` hence we return `null`. This should be fixed\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n return lFrame === null ? null : lFrame.currentSanitizer;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/hooks.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.\n *\n * Must be run *only* on the first template pass.\n *\n * Sets up the pre-order hooks on the provided `tView`,\n * see {\\@link HookData} for details about the data structure.\n *\n * @param {?} directiveIndex The index of the directive in LView\n * @param {?} directiveDef The definition containing the hooks to setup in tView\n * @param {?} tView The current TView\n * @return {?}\n */\nfunction registerPreOrderHooks(directiveIndex, directiveDef, tView) {\n ngDevMode && assertFirstCreatePass(tView);\n const { onChanges, onInit, doCheck } = directiveDef;\n if (onChanges) {\n (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, onChanges);\n (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, onChanges);\n }\n if (onInit) {\n (tView.preOrderHooks || (tView.preOrderHooks = [])).push(-directiveIndex, onInit);\n }\n if (doCheck) {\n (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, doCheck);\n (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, doCheck);\n }\n}\n/**\n *\n * Loops through the directives on the provided `tNode` and queues hooks to be\n * run that are not initialization hooks.\n *\n * Should be executed during `elementEnd()` and similar to\n * preserve hook execution order. Content, view, and destroy hooks for projected\n * components and directives must be called *before* their hosts.\n *\n * Sets up the content, view, and destroy hooks on the provided `tView`,\n * see {\\@link HookData} for details about the data structure.\n *\n * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up\n * separately at `elementStart`.\n *\n * @param {?} tView The current TView\n * @param {?} tNode The TNode whose directives are to be searched for hooks to queue\n * @return {?}\n */\nfunction registerPostOrderHooks(tView, tNode) {\n ngDevMode && assertFirstCreatePass(tView);\n // It's necessary to loop through the directives at elementEnd() (rather than processing in\n // directiveCreate) so we can preserve the current hook order. Content, view, and destroy\n // hooks for projected components and directives must be called *before* their hosts.\n for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {\n /** @type {?} */\n const directiveDef = (/** @type {?} */ (tView.data[i]));\n if (directiveDef.afterContentInit) {\n (tView.contentHooks || (tView.contentHooks = [])).push(-i, directiveDef.afterContentInit);\n }\n if (directiveDef.afterContentChecked) {\n (tView.contentHooks || (tView.contentHooks = [])).push(i, directiveDef.afterContentChecked);\n (tView.contentCheckHooks || (tView.contentCheckHooks = []))\n .push(i, directiveDef.afterContentChecked);\n }\n if (directiveDef.afterViewInit) {\n (tView.viewHooks || (tView.viewHooks = [])).push(-i, directiveDef.afterViewInit);\n }\n if (directiveDef.afterViewChecked) {\n (tView.viewHooks || (tView.viewHooks = [])).push(i, directiveDef.afterViewChecked);\n (tView.viewCheckHooks || (tView.viewCheckHooks = [])).push(i, directiveDef.afterViewChecked);\n }\n if (directiveDef.onDestroy != null) {\n (tView.destroyHooks || (tView.destroyHooks = [])).push(i, directiveDef.onDestroy);\n }\n }\n}\n/**\n * Executing hooks requires complex logic as we need to deal with 2 constraints.\n *\n * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only\n * once, across many change detection cycles. This must be true even if some hooks throw, or if\n * some recursively trigger a change detection cycle.\n * To solve that, it is required to track the state of the execution of these init hooks.\n * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},\n * and the index within that phase. They can be seen as a cursor in the following structure:\n * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]\n * They are are stored as flags in LView[FLAGS].\n *\n * 2. Pre-order hooks can be executed in batches, because of the select instruction.\n * To be able to pause and resume their execution, we also need some state about the hook's array\n * that is being processed:\n * - the index of the next hook to be executed\n * - the number of init hooks already found in the processed part of the array\n * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].\n */\n/**\n * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were\n * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read\n * / write of the init-hooks related flags.\n * @param {?} lView The LView where hooks are defined\n * @param {?} hooks Hooks to be run\n * @param {?=} nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n * @return {?}\n */\nfunction executeCheckHooks(lView, hooks, nodeIndex) {\n callHooks(lView, hooks, 3 /* InitPhaseCompleted */, nodeIndex);\n}\n/**\n * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,\n * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.\n * @param {?} lView The LView where hooks are defined\n * @param {?} hooks Hooks to be run\n * @param {?} initPhase A phase for which hooks should be run\n * @param {?=} nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n * @return {?}\n */\nfunction executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {\n ngDevMode &&\n assertNotEqual(initPhase, 3 /* InitPhaseCompleted */, 'Init pre-order hooks should not be called more than once');\n if ((lView[FLAGS] & 3 /* InitPhaseStateMask */) === initPhase) {\n callHooks(lView, hooks, initPhase, nodeIndex);\n }\n}\n/**\n * @param {?} lView\n * @param {?} initPhase\n * @return {?}\n */\nfunction incrementInitPhaseFlags(lView, initPhase) {\n ngDevMode &&\n assertNotEqual(initPhase, 3 /* InitPhaseCompleted */, 'Init hooks phase should not be incremented after all init hooks have been run.');\n /** @type {?} */\n let flags = lView[FLAGS];\n if ((flags & 3 /* InitPhaseStateMask */) === initPhase) {\n flags &= 2047 /* IndexWithinInitPhaseReset */;\n flags += 1 /* InitPhaseStateIncrementer */;\n lView[FLAGS] = flags;\n }\n}\n/**\n * Calls lifecycle hooks with their contexts, skipping init hooks if it's not\n * the first LView pass\n *\n * @param {?} currentView The current view\n * @param {?} arr The array in which the hooks are found\n * @param {?} initPhase\n * @param {?} currentNodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n * @return {?}\n */\nfunction callHooks(currentView, arr, initPhase, currentNodeIndex) {\n ngDevMode &&\n assertEqual(getCheckNoChangesMode(), false, 'Hooks should never be run in the check no changes mode.');\n /** @type {?} */\n const startIndex = currentNodeIndex !== undefined ?\n (currentView[PREORDER_HOOK_FLAGS] & 65535 /* IndexOfTheNextPreOrderHookMaskMask */) :\n 0;\n /** @type {?} */\n const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;\n /** @type {?} */\n let lastNodeIndexFound = 0;\n for (let i = startIndex; i < arr.length; i++) {\n /** @type {?} */\n const hook = (/** @type {?} */ (arr[i + 1]));\n if (typeof hook === 'number') {\n lastNodeIndexFound = (/** @type {?} */ (arr[i]));\n if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {\n break;\n }\n }\n else {\n /** @type {?} */\n const isInitHook = arr[i] < 0;\n if (isInitHook)\n currentView[PREORDER_HOOK_FLAGS] += 65536 /* NumberOfInitHooksCalledIncrementer */;\n if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {\n callHook(currentView, initPhase, arr, i);\n currentView[PREORDER_HOOK_FLAGS] =\n (currentView[PREORDER_HOOK_FLAGS] & 4294901760 /* NumberOfInitHooksCalledMask */) + i +\n 2;\n }\n i++;\n }\n }\n}\n/**\n * Execute one hook against the current `LView`.\n *\n * @param {?} currentView The current view\n * @param {?} initPhase\n * @param {?} arr The array in which the hooks are found\n * @param {?} i The current index within the hook data array\n * @return {?}\n */\nfunction callHook(currentView, initPhase, arr, i) {\n /** @type {?} */\n const isInitHook = arr[i] < 0;\n /** @type {?} */\n const hook = (/** @type {?} */ (arr[i + 1]));\n /** @type {?} */\n const directiveIndex = isInitHook ? -arr[i] : (/** @type {?} */ (arr[i]));\n /** @type {?} */\n const directive = currentView[directiveIndex];\n if (isInitHook) {\n /** @type {?} */\n const indexWithintInitPhase = currentView[FLAGS] >> 11 /* IndexWithinInitPhaseShift */;\n // The init phase state must be always checked here as it may have been recursively\n // updated\n if (indexWithintInitPhase <\n (currentView[PREORDER_HOOK_FLAGS] >> 16 /* NumberOfInitHooksCalledShift */) &&\n (currentView[FLAGS] & 3 /* InitPhaseStateMask */) === initPhase) {\n currentView[FLAGS] += 2048 /* IndexWithinInitPhaseIncrementer */;\n hook.call(directive);\n }\n }\n else {\n hook.call(directive);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/injector.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst TNODE = 8;\n/** @type {?} */\nconst PARENT_INJECTOR = 8;\n/** @type {?} */\nconst INJECTOR_BLOOM_PARENT_SIZE = 9;\n/**\n * Represents a relative location of parent injector.\n *\n * The interfaces encodes number of parents `LView`s to traverse and index in the `LView`\n * pointing to the parent injector.\n * @record\n */\nfunction RelativeInjectorLocation() { }\nif (false) {\n /** @type {?} */\n RelativeInjectorLocation.prototype.__brand__;\n}\n/** @enum {number} */\nconst RelativeInjectorLocationFlags = {\n InjectorIndexMask: 32767,\n ViewOffsetShift: 16,\n NO_PARENT: -1,\n};\n/** @type {?} */\nconst NO_PARENT_INJECTOR = (/** @type {?} */ (-1));\n/**\n * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in\n * `TView.data`. This allows us to store information about the current node's tokens (which\n * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be\n * shared, so they live in `LView`).\n *\n * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter\n * determines whether a directive is available on the associated node or not. This prevents us\n * from searching the directives array at this level unless it's probable the directive is in it.\n *\n * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.\n *\n * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed\n * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`\n * will differ based on where it is flattened into the main array, so it's not possible to know\n * the indices ahead of time and save their types here. The interfaces are still included here\n * for documentation purposes.\n *\n * export interface LInjector extends Array {\n *\n * // Cumulative bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Cumulative bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Cumulative bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Cumulative bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Cumulative bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Cumulative bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Cumulative bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Cumulative bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // We need to store a reference to the injector's parent so DI can keep looking up\n * // the injector tree until it finds the dependency it's looking for.\n * [PARENT_INJECTOR]: number;\n * }\n *\n * export interface TInjector extends Array {\n *\n * // Shared node bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Shared node bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Shared node bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Shared node bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Shared node bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Shared node bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Shared node bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Shared node bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // Necessary to find directive indices for a particular node.\n * [TNODE]: TElementNode|TElementContainerNode|TContainerNode;\n * }\n */\n/**\n * Factory for creating instances of injectors in the NodeInjector.\n *\n * This factory is complicated by the fact that it can resolve `multi` factories as well.\n *\n * NOTE: Some of the fields are optional which means that this class has two hidden classes.\n * - One without `multi` support (most common)\n * - One with `multi` values, (rare).\n *\n * Since VMs can cache up to 4 inline hidden classes this is OK.\n *\n * - Single factory: Only `resolving` and `factory` is defined.\n * - `providers` factory: `componentProviders` is a number and `index = -1`.\n * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.\n */\nclass NodeInjectorFactory {\n /**\n * @param {?} factory\n * @param {?} isViewProvider\n * @param {?} injectImplementation\n */\n constructor(factory, \n /**\n * Set to `true` if the token is declared in `viewProviders` (or if it is component).\n */\n isViewProvider, injectImplementation) {\n this.factory = factory;\n /**\n * Marker set to true during factory invocation to see if we get into recursive loop.\n * Recursive loop causes an error to be displayed.\n */\n this.resolving = false;\n this.canSeeViewProviders = isViewProvider;\n this.injectImpl = injectImplementation;\n }\n}\nif (false) {\n /**\n * The inject implementation to be activated when using the factory.\n * @type {?}\n */\n NodeInjectorFactory.prototype.injectImpl;\n /**\n * Marker set to true during factory invocation to see if we get into recursive loop.\n * Recursive loop causes an error to be displayed.\n * @type {?}\n */\n NodeInjectorFactory.prototype.resolving;\n /**\n * Marks that the token can see other Tokens declared in `viewProviders` on the same node.\n * @type {?}\n */\n NodeInjectorFactory.prototype.canSeeViewProviders;\n /**\n * An array of factories to use in case of `multi` provider.\n * @type {?}\n */\n NodeInjectorFactory.prototype.multi;\n /**\n * Number of `multi`-providers which belong to the component.\n *\n * This is needed because when multiple components and directives declare the `multi` provider\n * they have to be concatenated in the correct order.\n *\n * Example:\n *\n * If we have a component and directive active an a single element as declared here\n * ```\n * component:\n * provides: [ {provide: String, useValue: 'component', multi: true} ],\n * viewProvides: [ {provide: String, useValue: 'componentView', multi: true} ],\n *\n * directive:\n * provides: [ {provide: String, useValue: 'directive', multi: true} ],\n * ```\n *\n * Then the expected results are:\n *\n * ```\n * providers: ['component', 'directive']\n * viewProviders: ['component', 'componentView', 'directive']\n * ```\n *\n * The way to think about it is that the `viewProviders` have been inserted after the component\n * but before the directives, which is why we need to know how many `multi`s have been declared by\n * the component.\n * @type {?}\n */\n NodeInjectorFactory.prototype.componentProviders;\n /**\n * Current index of the Factory in the `data`. Needed for `viewProviders` and `providers` merging.\n * See `providerFactory`.\n * @type {?}\n */\n NodeInjectorFactory.prototype.index;\n /**\n * Because the same `multi` provider can be declared in `provides` and `viewProvides` it is\n * possible for `viewProvides` to shadow the `provides`. For this reason we store the\n * `provideFactory` of the `providers` so that `providers` can be extended with `viewProviders`.\n *\n * Example:\n *\n * Given:\n * ```\n * provides: [ {provide: String, useValue: 'all', multi: true} ],\n * viewProvides: [ {provide: String, useValue: 'viewOnly', multi: true} ],\n * ```\n *\n * We have to return `['all']` in case of content injection, but `['all', 'viewOnly']` in case\n * of view injection. We further have to make sure that the shared instances (in our case\n * `all`) are the exact same instance in both the content as well as the view injection. (We\n * have to make sure that we don't double instantiate.) For this reason the `viewProvides`\n * `Factory` has a pointer to the shadowed `provides` factory so that it can instantiate the\n * `providers` (`['all']`) and then extend it with `viewProviders` (`['all'] + ['viewOnly'] =\n * ['all', 'viewOnly']`).\n * @type {?}\n */\n NodeInjectorFactory.prototype.providerFactory;\n /**\n * Factory to invoke in order to create a new instance.\n * @type {?}\n */\n NodeInjectorFactory.prototype.factory;\n}\n/**\n * @param {?} obj\n * @return {?}\n */\nfunction isFactory(obj) {\n return obj instanceof NodeInjectorFactory;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$3 = 1;\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/node_assert.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} tNode\n * @param {?} type\n * @return {?}\n */\nfunction assertNodeType(tNode, type) {\n assertDefined(tNode, 'should be called with a TNode');\n assertEqual(tNode.type, type, `should be a ${typeName(type)}`);\n}\n/**\n * @param {?} tNode\n * @param {...?} types\n * @return {?}\n */\nfunction assertNodeOfPossibleTypes(tNode, ...types) {\n assertDefined(tNode, 'should be called with a TNode');\n /** @type {?} */\n const found = types.some((/**\n * @param {?} type\n * @return {?}\n */\n type => tNode.type === type));\n assertEqual(found, true, `Should be one of ${types.map(typeName).join(', ')} but got ${typeName(tNode.type)}`);\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction typeName(type) {\n if (type == 1 /* Projection */)\n return 'Projection';\n if (type == 0 /* Container */)\n return 'Container';\n if (type == 5 /* IcuContainer */)\n return 'IcuContainer';\n if (type == 2 /* View */)\n return 'View';\n if (type == 3 /* Element */)\n return 'Element';\n if (type == 4 /* ElementContainer */)\n return 'ElementContainer';\n return '';\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/util/attrs_utils.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Assigns all attribute values to the provided element via the inferred renderer.\n *\n * This function accepts two forms of attribute entries:\n *\n * default: (key, value):\n * attrs = [key1, value1, key2, value2]\n *\n * namespaced: (NAMESPACE_MARKER, uri, name, value)\n * attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]\n *\n * The `attrs` array can contain a mix of both the default and namespaced entries.\n * The \"default\" values are set without a marker, but if the function comes across\n * a marker value then it will attempt to set a namespaced value. If the marker is\n * not of a namespaced value then the function will quit and return the index value\n * where it stopped during the iteration of the attrs array.\n *\n * See [AttributeMarker] to understand what the namespace marker value is.\n *\n * Note that this instruction does not support assigning style and class values to\n * an element. See `elementStart` and `elementHostAttrs` to learn how styling values\n * are applied to an element.\n * @param {?} renderer The renderer to be used\n * @param {?} native The element that the attributes will be assigned to\n * @param {?} attrs The attribute array of values that will be assigned to the element\n * @return {?} the index value that was last accessed in the attributes array\n */\nfunction setUpAttributes(renderer, native, attrs) {\n /** @type {?} */\n const isProc = isProceduralRenderer(renderer);\n /** @type {?} */\n let i = 0;\n while (i < attrs.length) {\n /** @type {?} */\n const value = attrs[i];\n if (typeof value === 'number') {\n // only namespaces are supported. Other value types (such as style/class\n // entries) are not supported in this function.\n if (value !== 0 /* NamespaceURI */) {\n break;\n }\n // we just landed on the marker value ... therefore\n // we should skip to the next entry\n i++;\n /** @type {?} */\n const namespaceURI = (/** @type {?} */ (attrs[i++]));\n /** @type {?} */\n const attrName = (/** @type {?} */ (attrs[i++]));\n /** @type {?} */\n const attrVal = (/** @type {?} */ (attrs[i++]));\n ngDevMode && ngDevMode.rendererSetAttribute++;\n isProc ?\n ((/** @type {?} */ (renderer))).setAttribute(native, attrName, attrVal, namespaceURI) :\n native.setAttributeNS(namespaceURI, attrName, attrVal);\n }\n else {\n // attrName is string;\n /** @type {?} */\n const attrName = (/** @type {?} */ (value));\n /** @type {?} */\n const attrVal = attrs[++i];\n // Standard attributes\n ngDevMode && ngDevMode.rendererSetAttribute++;\n if (isAnimationProp(attrName)) {\n if (isProc) {\n ((/** @type {?} */ (renderer))).setProperty(native, attrName, attrVal);\n }\n }\n else {\n isProc ?\n ((/** @type {?} */ (renderer))).setAttribute(native, attrName, (/** @type {?} */ (attrVal))) :\n native.setAttribute(attrName, (/** @type {?} */ (attrVal)));\n }\n i++;\n }\n }\n // another piece of code may iterate over the same attributes array. Therefore\n // it may be helpful to return the exact spot where the attributes array exited\n // whether by running into an unsupported marker or if all the static values were\n // iterated over.\n return i;\n}\n/**\n * Test whether the given value is a marker that indicates that the following\n * attribute values in a `TAttributes` array are only the names of attributes,\n * and not name-value pairs.\n * @param {?} marker The attribute marker to test.\n * @return {?} true if the marker is a \"name-only\" marker (e.g. `Bindings`, `Template` or `I18n`).\n */\nfunction isNameOnlyAttributeMarker(marker) {\n return marker === 3 /* Bindings */ || marker === 4 /* Template */ ||\n marker === 6 /* I18n */;\n}\n/**\n * @param {?} name\n * @return {?}\n */\nfunction isAnimationProp(name) {\n // Perf note: accessing charCodeAt to check for the first character of a string is faster as\n // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that\n // charCodeAt doesn't allocate memory to return a substring.\n return name.charCodeAt(0) === 64 /* AT_SIGN */;\n}\n/**\n * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process.\n *\n * This merge function keeps the order of attrs same.\n *\n * @param {?} dst Location of where the merged `TAttributes` should end up.\n * @param {?} src `TAttributes` which should be appended to `dst`\n * @return {?}\n */\nfunction mergeHostAttrs(dst, src) {\n if (src === null || src.length === 0) {\n // do nothing\n }\n else if (dst === null || dst.length === 0) {\n // We have source, but dst is empty, just make a copy.\n dst = src.slice();\n }\n else {\n /** @type {?} */\n let srcMarker = -1 /* ImplicitAttributes */;\n for (let i = 0; i < src.length; i++) {\n /** @type {?} */\n const item = src[i];\n if (typeof item === 'number') {\n srcMarker = item;\n }\n else {\n if (srcMarker === 0 /* NamespaceURI */) {\n // Case where we need to consume `key1`, `key2`, `value` items.\n }\n else if (srcMarker === -1 /* ImplicitAttributes */ ||\n srcMarker === 2 /* Styles */) {\n // Case where we have to consume `key1` and `value` only.\n mergeHostAttribute(dst, srcMarker, (/** @type {?} */ (item)), null, (/** @type {?} */ (src[++i])));\n }\n else {\n // Case where we have to consume `key1` only.\n mergeHostAttribute(dst, srcMarker, (/** @type {?} */ (item)), null, null);\n }\n }\n }\n }\n return dst;\n}\n/**\n * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account.\n *\n * @param {?} dst `TAttributes` to append to.\n * @param {?} marker Region where the `key`/`value` should be added.\n * @param {?} key1 Key to add to `TAttributes`\n * @param {?} key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`)\n * @param {?} value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class.\n * @return {?}\n */\nfunction mergeHostAttribute(dst, marker, key1, key2, value) {\n /** @type {?} */\n let i = 0;\n // Assume that new markers will be inserted at the end.\n /** @type {?} */\n let markerInsertPosition = dst.length;\n // scan until correct type.\n if (marker === -1 /* ImplicitAttributes */) {\n markerInsertPosition = -1;\n }\n else {\n while (i < dst.length) {\n /** @type {?} */\n const dstValue = dst[i++];\n if (typeof dstValue === 'number') {\n if (dstValue === marker) {\n markerInsertPosition = -1;\n break;\n }\n else if (dstValue > marker) {\n // We need to save this as we want the markers to be inserted in specific order.\n markerInsertPosition = i - 1;\n break;\n }\n }\n }\n }\n // search until you find place of insertion\n while (i < dst.length) {\n /** @type {?} */\n const item = dst[i];\n if (typeof item === 'number') {\n // since `i` started as the index after the marker, we did not find it if we are at the next\n // marker\n break;\n }\n else if (item === key1) {\n // We already have same token\n if (key2 === null) {\n if (value !== null) {\n dst[i + 1] = value;\n }\n return;\n }\n else if (key2 === dst[i + 1]) {\n dst[i + 2] = (/** @type {?} */ (value));\n return;\n }\n }\n // Increment counter.\n i++;\n if (key2 !== null)\n i++;\n if (value !== null)\n i++;\n }\n // insert at location.\n if (markerInsertPosition !== -1) {\n dst.splice(markerInsertPosition, 0, marker);\n i = markerInsertPosition + 1;\n }\n dst.splice(i++, 0, key1);\n if (key2 !== null) {\n dst.splice(i++, 0, key2);\n }\n if (value !== null) {\n dst.splice(i++, 0, value);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/util/injector_utils.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/// Parent Injector Utils ///////////////////////////////////////////////////////////////\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction hasParentInjector(parentLocation) {\n return parentLocation !== NO_PARENT_INJECTOR;\n}\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction getParentInjectorIndex(parentLocation) {\n return ((/** @type {?} */ ((/** @type {?} */ (parentLocation))))) & 32767 /* InjectorIndexMask */;\n}\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction getParentInjectorViewOffset(parentLocation) {\n return ((/** @type {?} */ ((/** @type {?} */ (parentLocation))))) >> 16 /* ViewOffsetShift */;\n}\n/**\n * Unwraps a parent injector location number to find the view offset from the current injector,\n * then walks up the declaration view tree until the view is found that contains the parent\n * injector.\n *\n * @param {?} location The location of the parent injector, which contains the view offset\n * @param {?} startView The LView instance from which to start walking up the view tree\n * @return {?} The LView instance that contains the parent injector\n */\nfunction getParentInjectorView(location, startView) {\n /** @type {?} */\n let viewOffset = getParentInjectorViewOffset(location);\n /** @type {?} */\n let parentView = startView;\n // For most cases, the parent injector can be found on the host node (e.g. for component\n // or container), but we must keep the loop here to support the rarer case of deeply nested\n // tags or inline views, where the parent injector might live many views\n // above the child injector.\n while (viewOffset > 0) {\n parentView = (/** @type {?} */ (parentView[DECLARATION_VIEW]));\n viewOffset--;\n }\n return parentView;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/util/misc_utils.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used for stringify render output in Ivy.\n * Important! This function is very performance-sensitive and we should\n * be extra careful not to introduce megamorphic reads in it.\n * @param {?} value\n * @return {?}\n */\nfunction renderStringify(value) {\n if (typeof value === 'string')\n return value;\n if (value == null)\n return '';\n return '' + value;\n}\n/**\n * Used to stringify a value so that it can be displayed in an error message.\n * Important! This function contains a megamorphic read and should only be\n * used for error messages.\n * @param {?} value\n * @return {?}\n */\nfunction stringifyForError(value) {\n if (typeof value === 'function')\n return value.name || value.toString();\n if (typeof value === 'object' && value != null && typeof value.type === 'function') {\n return value.type.name || value.type.toString();\n }\n return renderStringify(value);\n}\nconst ɵ0$3 = /**\n * @return {?}\n */\n() => (typeof requestAnimationFrame !== 'undefined' &&\n requestAnimationFrame || // browser only\n setTimeout // everything else\n)\n .bind(_global);\n/** @type {?} */\nconst defaultScheduler = ((ɵ0$3))();\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveWindow(element) {\n return { name: 'window', target: element.ownerDocument.defaultView };\n}\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveDocument(element) {\n return { name: 'document', target: element.ownerDocument };\n}\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveBody(element) {\n return { name: 'body', target: element.ownerDocument.body };\n}\n/**\n * The special delimiter we use to separate property names, prefixes, and suffixes\n * in property binding metadata. See storeBindingMetadata().\n *\n * We intentionally use the Unicode \"REPLACEMENT CHARACTER\" (U+FFFD) as a delimiter\n * because it is a very uncommon character that is unlikely to be part of a user's\n * property names or interpolation strings. If it is in fact used in a property\n * binding, DebugElement.properties will not return the correct value for that\n * binding. However, there should be no runtime effect for real applications.\n *\n * This character is typically rendered as a question mark inside of a diamond.\n * See https://en.wikipedia.org/wiki/Specials_(Unicode_block)\n *\n * @type {?}\n */\nconst INTERPOLATION_DELIMITER = `�`;\n/**\n * Unwrap a value which might be behind a closure (for forward declaration reasons).\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction maybeUnwrapFn(value) {\n if (value instanceof Function) {\n return value();\n }\n else {\n return value;\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/di.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Defines if the call to `inject` should include `viewProviders` in its resolution.\n *\n * This is set to true when we try to instantiate a component. This value is reset in\n * `getNodeInjectable` to a value which matches the declaration location of the token about to be\n * instantiated. This is done so that if we are injecting a token which was declared outside of\n * `viewProviders` we don't accidentally pull `viewProviders` in.\n *\n * Example:\n *\n * ```\n * \\@Injectable()\n * class MyService {\n * constructor(public value: String) {}\n * }\n *\n * \\@Component({\n * providers: [\n * MyService,\n * {provide: String, value: 'providers' }\n * ]\n * viewProviders: [\n * {provide: String, value: 'viewProviders'}\n * ]\n * })\n * class MyComponent {\n * constructor(myService: MyService, value: String) {\n * // We expect that Component can see into `viewProviders`.\n * expect(value).toEqual('viewProviders');\n * // `MyService` was not declared in `viewProviders` hence it can't see it.\n * expect(myService.value).toEqual('providers');\n * }\n * }\n *\n * ```\n * @type {?}\n */\nlet includeViewProviders = true;\n/**\n * @param {?} v\n * @return {?}\n */\nfunction setIncludeViewProviders(v) {\n /** @type {?} */\n const oldValue = includeViewProviders;\n includeViewProviders = v;\n return oldValue;\n}\n/**\n * The number of slots in each bloom filter (used by DI). The larger this number, the fewer\n * directives that will share slots, and thus, the fewer false positives when checking for\n * the existence of a directive.\n * @type {?}\n */\nconst BLOOM_SIZE = 256;\n/** @type {?} */\nconst BLOOM_MASK = BLOOM_SIZE - 1;\n/**\n * Counter used to generate unique IDs for directives.\n * @type {?}\n */\nlet nextNgElementId = 0;\n/**\n * Registers this directive as present in its node's injector by flipping the directive's\n * corresponding bit in the injector's bloom filter.\n *\n * @param {?} injectorIndex The index of the node injector where this token should be registered\n * @param {?} tView The TView for the injector's bloom filters\n * @param {?} type The directive token to register\n * @return {?}\n */\nfunction bloomAdd(injectorIndex, tView, type) {\n ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true');\n /** @type {?} */\n let id = typeof type !== 'string' ? ((/** @type {?} */ (type)))[NG_ELEMENT_ID] : type.charCodeAt(0) || 0;\n // Set a unique ID on the directive type, so if something tries to inject the directive,\n // we can easily retrieve the ID and hash it into the bloom bit that should be checked.\n if (id == null) {\n id = ((/** @type {?} */ (type)))[NG_ELEMENT_ID] = nextNgElementId++;\n }\n // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),\n // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.\n /** @type {?} */\n const bloomBit = id & BLOOM_MASK;\n // Create a mask that targets the specific bit associated with the directive.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n /** @type {?} */\n const mask = 1 << bloomBit;\n // Use the raw bloomBit number to determine which bloom filter bucket we should check\n // e.g: bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc\n /** @type {?} */\n const b7 = bloomBit & 0x80;\n /** @type {?} */\n const b6 = bloomBit & 0x40;\n /** @type {?} */\n const b5 = bloomBit & 0x20;\n /** @type {?} */\n const tData = (/** @type {?} */ (tView.data));\n if (b7) {\n b6 ? (b5 ? (tData[injectorIndex + 7] |= mask) : (tData[injectorIndex + 6] |= mask)) :\n (b5 ? (tData[injectorIndex + 5] |= mask) : (tData[injectorIndex + 4] |= mask));\n }\n else {\n b6 ? (b5 ? (tData[injectorIndex + 3] |= mask) : (tData[injectorIndex + 2] |= mask)) :\n (b5 ? (tData[injectorIndex + 1] |= mask) : (tData[injectorIndex] |= mask));\n }\n}\n/**\n * Creates (or gets an existing) injector for a given element or container.\n *\n * @param {?} tNode for which an injector should be retrieved / created.\n * @param {?} hostView View where the node is stored\n * @return {?} Node injector\n */\nfunction getOrCreateNodeInjectorForNode(tNode, hostView) {\n /** @type {?} */\n const existingInjectorIndex = getInjectorIndex(tNode, hostView);\n if (existingInjectorIndex !== -1) {\n return existingInjectorIndex;\n }\n /** @type {?} */\n const tView = hostView[TVIEW];\n if (tView.firstCreatePass) {\n tNode.injectorIndex = hostView.length;\n insertBloom(tView.data, tNode); // foundation for node bloom\n insertBloom(hostView, null); // foundation for cumulative bloom\n insertBloom(tView.blueprint, null);\n }\n /** @type {?} */\n const parentLoc = getParentInjectorLocation(tNode, hostView);\n /** @type {?} */\n const injectorIndex = tNode.injectorIndex;\n // If a parent injector can't be found, its location is set to -1.\n // In that case, we don't need to set up a cumulative bloom\n if (hasParentInjector(parentLoc)) {\n /** @type {?} */\n const parentIndex = getParentInjectorIndex(parentLoc);\n /** @type {?} */\n const parentLView = getParentInjectorView(parentLoc, hostView);\n /** @type {?} */\n const parentData = (/** @type {?} */ (parentLView[TVIEW].data));\n // Creates a cumulative bloom filter that merges the parent's bloom filter\n // and its own cumulative bloom (which contains tokens for all ancestors)\n for (let i = 0; i < 8; i++) {\n hostView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];\n }\n }\n hostView[injectorIndex + PARENT_INJECTOR] = parentLoc;\n return injectorIndex;\n}\n/**\n * @param {?} arr\n * @param {?} footer\n * @return {?}\n */\nfunction insertBloom(arr, footer) {\n arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);\n}\n/**\n * @param {?} tNode\n * @param {?} hostView\n * @return {?}\n */\nfunction getInjectorIndex(tNode, hostView) {\n if (tNode.injectorIndex === -1 ||\n // If the injector index is the same as its parent's injector index, then the index has been\n // copied down from the parent node. No injector has been created yet on this node.\n (tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex) ||\n // After the first template pass, the injector index might exist but the parent values\n // might not have been calculated yet for this instance\n hostView[tNode.injectorIndex + PARENT_INJECTOR] == null) {\n return -1;\n }\n else {\n return tNode.injectorIndex;\n }\n}\n/**\n * Finds the index of the parent injector, with a view offset if applicable. Used to set the\n * parent injector initially.\n *\n * Returns a combination of number of `ViewData` we have to go up and index in that `Viewdata`\n * @param {?} tNode\n * @param {?} view\n * @return {?}\n */\nfunction getParentInjectorLocation(tNode, view) {\n if (tNode.parent && tNode.parent.injectorIndex !== -1) {\n return (/** @type {?} */ (tNode.parent.injectorIndex)); // ViewOffset is 0\n }\n // For most cases, the parent injector index can be found on the host node (e.g. for component\n // or container), so this loop will be skipped, but we must keep the loop here to support\n // the rarer case of deeply nested tags or inline views.\n /** @type {?} */\n let hostTNode = view[T_HOST];\n /** @type {?} */\n let viewOffset = 1;\n while (hostTNode && hostTNode.injectorIndex === -1) {\n view = (/** @type {?} */ (view[DECLARATION_VIEW]));\n hostTNode = view ? view[T_HOST] : null;\n viewOffset++;\n }\n return hostTNode ?\n hostTNode.injectorIndex | (viewOffset << 16 /* ViewOffsetShift */) :\n (/** @type {?} */ (-1));\n}\n/**\n * Makes a type or an injection token public to the DI system by adding it to an\n * injector's bloom filter.\n *\n * @param {?} injectorIndex\n * @param {?} tView\n * @param {?} token The type or the injection token to be made public\n * @return {?}\n */\nfunction diPublicInInjector(injectorIndex, tView, token) {\n bloomAdd(injectorIndex, tView, token);\n}\n/**\n * Inject static attribute value into directive constructor.\n *\n * This method is used with `factory` functions which are generated as part of\n * `defineDirective` or `defineComponent`. The method retrieves the static value\n * of an attribute. (Dynamic attributes are not supported since they are not resolved\n * at the time of injection and can change over time.)\n *\n * # Example\n * Given:\n * ```\n * \\@Component(...)\n * class MyComponent {\n * constructor(\\@Attribute('title') title: string) { ... }\n * }\n * ```\n * When instantiated with\n * ```\n * \n * ```\n *\n * Then factory method generated is:\n * ```\n * MyComponent.ɵcmp = defineComponent({\n * factory: () => new MyComponent(injectAttribute('title'))\n * ...\n * })\n * ```\n *\n * \\@publicApi\n * @param {?} tNode\n * @param {?} attrNameToInject\n * @return {?}\n */\nfunction injectAttributeImpl(tNode, attrNameToInject) {\n ngDevMode &&\n assertNodeOfPossibleTypes(tNode, 0 /* Container */, 3 /* Element */, 4 /* ElementContainer */);\n ngDevMode && assertDefined(tNode, 'expecting tNode');\n if (attrNameToInject === 'class') {\n return tNode.classes;\n }\n if (attrNameToInject === 'style') {\n return tNode.styles;\n }\n /** @type {?} */\n const attrs = tNode.attrs;\n if (attrs) {\n /** @type {?} */\n const attrsLength = attrs.length;\n /** @type {?} */\n let i = 0;\n while (i < attrsLength) {\n /** @type {?} */\n const value = attrs[i];\n // If we hit a `Bindings` or `Template` marker then we are done.\n if (isNameOnlyAttributeMarker(value))\n break;\n // Skip namespaced attributes\n if (value === 0 /* NamespaceURI */) {\n // we skip the next two values\n // as namespaced attributes looks like\n // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',\n // 'existValue', ...]\n i = i + 2;\n }\n else if (typeof value === 'number') {\n // Skip to the first value of the marked attribute.\n i++;\n while (i < attrsLength && typeof attrs[i] === 'string') {\n i++;\n }\n }\n else if (value === attrNameToInject) {\n return (/** @type {?} */ (attrs[i + 1]));\n }\n else {\n i = i + 2;\n }\n }\n }\n return null;\n}\n/**\n * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.\n *\n * Look for the injector providing the token by walking up the node injector tree and then\n * the module injector tree.\n *\n * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom\n * filter. Negative values are reserved for special objects.\n * - `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)\n *\n * @template T\n * @param {?} tNode The Node where the search for the injector should start\n * @param {?} lView The `LView` that contains the `tNode`\n * @param {?} token The token to look for\n * @param {?=} flags Injection flags\n * @param {?=} notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @return {?} the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {\n if (tNode !== null) {\n /** @type {?} */\n const bloomHash = bloomHashBitOrFactory(token);\n // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef\n // so just call the factory function to create it.\n if (typeof bloomHash === 'function') {\n enterDI(lView, tNode);\n try {\n /** @type {?} */\n const value = bloomHash();\n if (value == null && !(flags & InjectFlags.Optional)) {\n throw new Error(`No provider for ${stringifyForError(token)}!`);\n }\n else {\n return value;\n }\n }\n finally {\n leaveDI();\n }\n }\n else if (typeof bloomHash == 'number') {\n if (bloomHash === -1) {\n // `-1` is a special value used to identify `Injector` types.\n return (/** @type {?} */ (new NodeInjector(tNode, lView)));\n }\n // If the token has a bloom hash, then it is a token which could be in NodeInjector.\n // A reference to the previous injector TView that was found while climbing the element\n // injector tree. This is used to know if viewProviders can be accessed on the current\n // injector.\n /** @type {?} */\n let previousTView = null;\n /** @type {?} */\n let injectorIndex = getInjectorIndex(tNode, lView);\n /** @type {?} */\n let parentLocation = NO_PARENT_INJECTOR;\n /** @type {?} */\n let hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null;\n // If we should skip this injector, or if there is no injector on this node, start by\n // searching\n // the parent injector.\n if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {\n parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) :\n lView[injectorIndex + PARENT_INJECTOR];\n if (!shouldSearchParent(flags, false)) {\n injectorIndex = -1;\n }\n else {\n previousTView = lView[TVIEW];\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n }\n }\n // Traverse up the injector tree until we find a potential match or until we know there\n // *isn't* a match.\n while (injectorIndex !== -1) {\n parentLocation = lView[injectorIndex + PARENT_INJECTOR];\n // Check the current injector. If it matches, see if it contains token.\n /** @type {?} */\n const tView = lView[TVIEW];\n if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {\n // At this point, we have an injector which *may* contain the token, so we step through\n // the providers and directives associated with the injector's corresponding node to get\n // the instance.\n /** @type {?} */\n const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);\n if (instance !== NOT_FOUND) {\n return instance;\n }\n }\n if (shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + TNODE] === hostTElementNode) &&\n bloomHasToken(bloomHash, injectorIndex, lView)) {\n // The def wasn't found anywhere on this node, so it was a false positive.\n // Traverse up the tree and continue searching.\n previousTView = tView;\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n }\n else {\n // If we should not search parent OR If the ancestor bloom filter value does not have the\n // bit corresponding to the directive we can give up on traversing up to find the specific\n // injector.\n injectorIndex = -1;\n }\n }\n }\n }\n if (flags & InjectFlags.Optional && notFoundValue === undefined) {\n // This must be set or the NullInjector will throw for optional deps\n notFoundValue = null;\n }\n if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {\n /** @type {?} */\n const moduleInjector = lView[INJECTOR$1];\n // switch to `injectInjectorOnly` implementation for module injector, since module injector\n // should not have access to Component/Directive DI scope (that may happen through\n // `directiveInject` implementation)\n /** @type {?} */\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n if (moduleInjector) {\n return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);\n }\n else {\n return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);\n }\n }\n finally {\n setInjectImplementation(previousInjectImplementation);\n }\n }\n if (flags & InjectFlags.Optional) {\n return notFoundValue;\n }\n else {\n throw new Error(`NodeInjector: NOT_FOUND [${stringifyForError(token)}]`);\n }\n}\n/** @type {?} */\nconst NOT_FOUND = {};\n/**\n * @template T\n * @param {?} injectorIndex\n * @param {?} lView\n * @param {?} token\n * @param {?} previousTView\n * @param {?} flags\n * @param {?} hostTElementNode\n * @return {?}\n */\nfunction searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {\n /** @type {?} */\n const currentTView = lView[TVIEW];\n /** @type {?} */\n const tNode = (/** @type {?} */ (currentTView.data[injectorIndex + TNODE]));\n // First, we need to determine if view providers can be accessed by the starting element.\n // There are two possibities\n /** @type {?} */\n const canAccessViewProviders = previousTView == null ?\n // 1) This is the first invocation `previousTView == null` which means that we are at the\n // `TNode` of where injector is starting to look. In such a case the only time we are allowed\n // to look into the ViewProviders is if:\n // - we are on a component\n // - AND the injector set `includeViewProviders` to true (implying that the token can see\n // ViewProviders because it is the Component or a Service which itself was declared in\n // ViewProviders)\n (isComponentHost(tNode) && includeViewProviders) :\n // 2) `previousTView != null` which means that we are now walking across the parent nodes.\n // In such a case we are only allowed to look into the ViewProviders if:\n // - We just crossed from child View to Parent View `previousTView != currentTView`\n // - AND the parent TNode is an Element.\n // This means that we just came from the Component's View and therefore are allowed to see\n // into the ViewProviders.\n (previousTView != currentTView && (tNode.type === 3 /* Element */));\n // This special case happens when there is a @host on the inject and when we are searching\n // on the host element node.\n /** @type {?} */\n const isHostSpecialCase = (flags & InjectFlags.Host) && hostTElementNode === tNode;\n /** @type {?} */\n const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);\n if (injectableIdx !== null) {\n return getNodeInjectable(lView, currentTView, injectableIdx, (/** @type {?} */ (tNode)));\n }\n else {\n return NOT_FOUND;\n }\n}\n/**\n * Searches for the given token among the node's directives and providers.\n *\n * @template T\n * @param {?} tNode TNode on which directives are present.\n * @param {?} tView The tView we are currently processing\n * @param {?} token Provider token or type of a directive to look for.\n * @param {?} canAccessViewProviders Whether view providers should be considered.\n * @param {?} isHostSpecialCase Whether the host special case applies.\n * @return {?} Index of a found directive or provider, or null when none found.\n */\nfunction locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {\n /** @type {?} */\n const nodeProviderIndexes = tNode.providerIndexes;\n /** @type {?} */\n const tInjectables = tView.data;\n /** @type {?} */\n const injectablesStart = nodeProviderIndexes & 65535 /* ProvidersStartIndexMask */;\n /** @type {?} */\n const directivesStart = tNode.directiveStart;\n /** @type {?} */\n const directiveEnd = tNode.directiveEnd;\n /** @type {?} */\n const cptViewProvidersCount = nodeProviderIndexes >> 16 /* CptViewProvidersCountShift */;\n /** @type {?} */\n const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount;\n // When the host special case applies, only the viewProviders and the component are visible\n /** @type {?} */\n const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;\n for (let i = startingIndex; i < endIndex; i++) {\n /** @type {?} */\n const providerTokenOrDef = (/** @type {?} */ (tInjectables[i]));\n if (i < directivesStart && token === providerTokenOrDef ||\n i >= directivesStart && ((/** @type {?} */ (providerTokenOrDef))).type === token) {\n return i;\n }\n }\n if (isHostSpecialCase) {\n /** @type {?} */\n const dirDef = (/** @type {?} */ (tInjectables[directivesStart]));\n if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {\n return directivesStart;\n }\n }\n return null;\n}\n/**\n * Retrieve or instantiate the injectable from the `LView` at particular `index`.\n *\n * This function checks to see if the value has already been instantiated and if so returns the\n * cached `injectable`. Otherwise if it detects that the value is still a factory it\n * instantiates the `injectable` and caches the value.\n * @param {?} lView\n * @param {?} tView\n * @param {?} index\n * @param {?} tNode\n * @return {?}\n */\nfunction getNodeInjectable(lView, tView, index, tNode) {\n /** @type {?} */\n let value = lView[index];\n /** @type {?} */\n const tData = tView.data;\n if (isFactory(value)) {\n /** @type {?} */\n const factory = value;\n if (factory.resolving) {\n throw new Error(`Circular dep for ${stringifyForError(tData[index])}`);\n }\n /** @type {?} */\n const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);\n factory.resolving = true;\n /** @type {?} */\n let previousInjectImplementation;\n if (factory.injectImpl) {\n previousInjectImplementation = setInjectImplementation(factory.injectImpl);\n }\n enterDI(lView, tNode);\n try {\n value = lView[index] = factory.factory(undefined, tData, lView, tNode);\n // This code path is hit for both directives and providers.\n // For perf reasons, we want to avoid searching for hooks on providers.\n // It does no harm to try (the hooks just won't exist), but the extra\n // checks are unnecessary and this is a hot path. So we check to see\n // if the index of the dependency is in the directive range for this\n // tNode. If it's not, we know it's a provider and skip hook registration.\n if (tView.firstCreatePass && index >= tNode.directiveStart) {\n ngDevMode && assertDirectiveDef(tData[index]);\n registerPreOrderHooks(index, (/** @type {?} */ (tData[index])), tView);\n }\n }\n finally {\n if (factory.injectImpl)\n setInjectImplementation(previousInjectImplementation);\n setIncludeViewProviders(previousIncludeViewProviders);\n factory.resolving = false;\n leaveDI();\n }\n }\n return value;\n}\n/**\n * Returns the bit in an injector's bloom filter that should be used to determine whether or not\n * the directive might be provided by the injector.\n *\n * When a directive is public, it is added to the bloom filter and given a unique ID that can be\n * retrieved on the Type. When the directive isn't public or the token is not a directive `null`\n * is returned as the node injector can not possibly provide that token.\n *\n * @param {?} token the injection token\n * @return {?} the matching bit to check in the bloom filter or `null` if the token is not known.\n * When the returned value is negative then it represents special values such as `Injector`.\n */\nfunction bloomHashBitOrFactory(token) {\n ngDevMode && assertDefined(token, 'token must be defined');\n if (typeof token === 'string') {\n return token.charCodeAt(0) || 0;\n }\n /** @type {?} */\n const tokenId = ((/** @type {?} */ (token)))[NG_ELEMENT_ID];\n // Negative token IDs are used for special objects such as `Injector`\n return (typeof tokenId === 'number' && tokenId > 0) ? tokenId & BLOOM_MASK : tokenId;\n}\n/**\n * @param {?} bloomHash\n * @param {?} injectorIndex\n * @param {?} injectorView\n * @return {?}\n */\nfunction bloomHasToken(bloomHash, injectorIndex, injectorView) {\n // Create a mask that targets the specific bit associated with the directive we're looking for.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n /** @type {?} */\n const mask = 1 << bloomHash;\n /** @type {?} */\n const b7 = bloomHash & 0x80;\n /** @type {?} */\n const b6 = bloomHash & 0x40;\n /** @type {?} */\n const b5 = bloomHash & 0x20;\n // Our bloom filter size is 256 bits, which is eight 32-bit bloom filter buckets:\n // bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc.\n // Get the bloom filter value from the appropriate bucket based on the directive's bloomBit.\n /** @type {?} */\n let value;\n if (b7) {\n value = b6 ? (b5 ? injectorView[injectorIndex + 7] : injectorView[injectorIndex + 6]) :\n (b5 ? injectorView[injectorIndex + 5] : injectorView[injectorIndex + 4]);\n }\n else {\n value = b6 ? (b5 ? injectorView[injectorIndex + 3] : injectorView[injectorIndex + 2]) :\n (b5 ? injectorView[injectorIndex + 1] : injectorView[injectorIndex]);\n }\n // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,\n // this injector is a potential match.\n return !!(value & mask);\n}\n/**\n * Returns true if flags prevent parent injector from being searched for tokens\n * @param {?} flags\n * @param {?} isFirstHostTNode\n * @return {?}\n */\nfunction shouldSearchParent(flags, isFirstHostTNode) {\n return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);\n}\nclass NodeInjector {\n /**\n * @param {?} _tNode\n * @param {?} _lView\n */\n constructor(_tNode, _lView) {\n this._tNode = _tNode;\n this._lView = _lView;\n }\n /**\n * @param {?} token\n * @param {?=} notFoundValue\n * @return {?}\n */\n get(token, notFoundValue) {\n return getOrCreateInjectable(this._tNode, this._lView, token, undefined, notFoundValue);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NodeInjector.prototype._tNode;\n /**\n * @type {?}\n * @private\n */\n NodeInjector.prototype._lView;\n}\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction ɵɵgetFactoryOf(type) {\n /** @type {?} */\n const typeAny = (/** @type {?} */ (type));\n if (isForwardRef(type)) {\n return (/** @type {?} */ (((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const factory = ɵɵgetFactoryOf(resolveForwardRef(typeAny));\n return factory ? factory() : null;\n }))));\n }\n /** @type {?} */\n let factory = getFactoryDef(typeAny);\n if (factory === null) {\n /** @type {?} */\n const injectorDef = getInjectorDef(typeAny);\n factory = injectorDef && injectorDef.factory;\n }\n return factory || null;\n}\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction ɵɵgetInheritedFactory(type) {\n return noSideEffects((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const proto = (/** @type {?} */ (Object.getPrototypeOf(type.prototype).constructor));\n /** @type {?} */\n const factory = ((/** @type {?} */ (proto)))[NG_FACTORY_DEF] || ɵɵgetFactoryOf(proto);\n if (factory !== null) {\n return factory;\n }\n else {\n // There is no factory defined. Either this was improper usage of inheritance\n // (no Angular decorator on the superclass) or there is no constructor at all\n // in the inheritance chain. Since the two cases cannot be distinguished, the\n // latter has to be assumed.\n return (/**\n * @param {?} t\n * @return {?}\n */\n (t) => new t());\n }\n }));\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst ERROR_TYPE = 'ngType';\nconst ERROR_DEBUG_CONTEXT = 'ngDebugContext';\nconst ERROR_ORIGINAL_ERROR = 'ngOriginalError';\nconst ERROR_LOGGER = 'ngErrorLogger';\nfunction wrappedError(message, originalError) {\n const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;\n const error = Error(msg);\n error[ERROR_ORIGINAL_ERROR] = originalError;\n return error;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/errors.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getType(error) {\n return ((/** @type {?} */ (error)))[ERROR_TYPE];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getDebugContext(error) {\n return ((/** @type {?} */ (error)))[ERROR_DEBUG_CONTEXT];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getOriginalError(error) {\n return ((/** @type {?} */ (error)))[ERROR_ORIGINAL_ERROR];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getErrorLogger(error) {\n return ((/** @type {?} */ (error)))[ERROR_LOGGER] || defaultErrorLogger;\n}\n/**\n * @param {?} console\n * @param {...?} values\n * @return {?}\n */\nfunction defaultErrorLogger(console, ...values) {\n ((/** @type {?} */ (console.error)))(...values);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/error_handler.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Provides a hook for centralized exception handling.\n *\n * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n * intercept error handling, write a custom exception handler that replaces this default as\n * appropriate for your app.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```\n * class MyErrorHandler implements ErrorHandler {\n * handleError(error) {\n * // do something with the exception\n * }\n * }\n *\n * \\@NgModule({\n * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n * })\n * class MyModule {}\n * ```\n *\n * \\@publicApi\n */\nclass ErrorHandler {\n constructor() {\n /**\n * \\@internal\n */\n this._console = console;\n }\n /**\n * @param {?} error\n * @return {?}\n */\n handleError(error) {\n /** @type {?} */\n const originalError = this._findOriginalError(error);\n /** @type {?} */\n const context = this._findContext(error);\n // Note: Browser consoles show the place from where console.error was called.\n // We can use this to give users additional information about the error.\n /** @type {?} */\n const errorLogger = getErrorLogger(error);\n errorLogger(this._console, `ERROR`, error);\n if (originalError) {\n errorLogger(this._console, `ORIGINAL ERROR`, originalError);\n }\n if (context) {\n errorLogger(this._console, 'ERROR CONTEXT', context);\n }\n }\n /**\n * \\@internal\n * @param {?} error\n * @return {?}\n */\n _findContext(error) {\n if (error) {\n return getDebugContext(error) ? getDebugContext(error) :\n this._findContext(getOriginalError(error));\n }\n return null;\n }\n /**\n * \\@internal\n * @param {?} error\n * @return {?}\n */\n _findOriginalError(error) {\n /** @type {?} */\n let e = getOriginalError(error);\n while (e && getOriginalError(e)) {\n e = getOriginalError(e);\n }\n return e;\n }\n}\nif (false) {\n /**\n * \\@internal\n * @type {?}\n */\n ErrorHandler.prototype._console;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/metadata/schema.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A schema definition associated with an NgModule.\n *\n * @see `\\@NgModule`, `CUSTOM_ELEMENTS_SCHEMA`, `NO_ERRORS_SCHEMA`\n *\n * @param name The name of a defined schema.\n *\n * \\@publicApi\n * @record\n */\nfunction SchemaMetadata() { }\nif (false) {\n /** @type {?} */\n SchemaMetadata.prototype.name;\n}\n/**\n * Defines a schema that allows an NgModule to contain the following:\n * - Non-Angular elements named with dash case (`-`).\n * - Element properties named with dash case (`-`).\n * Dash case is the naming convention for custom elements.\n *\n * \\@publicApi\n * @type {?}\n */\nconst CUSTOM_ELEMENTS_SCHEMA = {\n name: 'custom-elements'\n};\n/**\n * Defines a schema that allows any property on any element.\n *\n * \\@publicApi\n * @type {?}\n */\nconst NO_ERRORS_SCHEMA = {\n name: 'no-errors-schema'\n};\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/sanitization/bypass.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {string} */\nconst BypassType = {\n Url: \"URL\",\n Html: \"HTML\",\n ResourceUrl: \"ResourceURL\",\n Script: \"Script\",\n Style: \"Style\",\n};\n/**\n * Marker interface for a value that's safe to use in a particular context.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeValue() { }\n/**\n * Marker interface for a value that's safe to use as HTML.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeHtml() { }\n/**\n * Marker interface for a value that's safe to use as style (CSS).\n *\n * \\@publicApi\n * @record\n */\nfunction SafeStyle() { }\n/**\n * Marker interface for a value that's safe to use as JavaScript.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeScript() { }\n/**\n * Marker interface for a value that's safe to use as a URL linking to a document.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeUrl() { }\n/**\n * Marker interface for a value that's safe to use as a URL to load executable code from.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeResourceUrl() { }\n/**\n * @abstract\n */\nclass SafeValueImpl {\n /**\n * @param {?} changingThisBreaksApplicationSecurity\n */\n constructor(changingThisBreaksApplicationSecurity) {\n this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;\n }\n /**\n * @return {?}\n */\n toString() {\n return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}` +\n ` (see http://g.co/ng/security#xss)`;\n }\n}\nif (false) {\n /** @type {?} */\n SafeValueImpl.prototype.changingThisBreaksApplicationSecurity;\n /**\n * @abstract\n * @return {?}\n */\n SafeValueImpl.prototype.getTypeName = function () { };\n}\nclass SafeHtmlImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"HTML\" /* Html */;\n }\n}\nclass SafeStyleImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"Style\" /* Style */;\n }\n}\nclass SafeScriptImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"Script\" /* Script */;\n }\n}\nclass SafeUrlImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"URL\" /* Url */;\n }\n}\nclass SafeResourceUrlImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"ResourceURL\" /* ResourceUrl */;\n }\n}\n/**\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction unwrapSafeValue(value) {\n return value instanceof SafeValueImpl ? (/** @type {?} */ ((/** @type {?} */ (value.changingThisBreaksApplicationSecurity)))) :\n (/** @type {?} */ ((/** @type {?} */ (value))));\n}\n/**\n * @param {?} value\n * @param {?} type\n * @return {?}\n */\nfunction allowSanitizationBypassAndThrow(value, type) {\n /** @type {?} */\n const actualType = getSanitizationBypassType(value);\n if (actualType != null && actualType !== type) {\n // Allow ResourceURLs in URL contexts, they are strictly more trusted.\n if (actualType === \"ResourceURL\" /* ResourceUrl */ && type === \"URL\" /* Url */)\n return true;\n throw new Error(`Required a safe ${type}, got a ${actualType} (see http://g.co/ng/security#xss)`);\n }\n return actualType === type;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction getSanitizationBypassType(value) {\n return value instanceof SafeValueImpl && (/** @type {?} */ (value.getTypeName())) || null;\n}\n/**\n * Mark `html` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link htmlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedHtml `html` string which needs to be implicitly trusted.\n * @return {?} a `html` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustHtml(trustedHtml) {\n return new SafeHtmlImpl(trustedHtml);\n}\n/**\n * Mark `style` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link styleSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedStyle `style` string which needs to be implicitly trusted.\n * @return {?} a `style` hich has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustStyle(trustedStyle) {\n return new SafeStyleImpl(trustedStyle);\n}\n/**\n * Mark `script` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link scriptSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedScript `script` string which needs to be implicitly trusted.\n * @return {?} a `script` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustScript(trustedScript) {\n return new SafeScriptImpl(trustedScript);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link urlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedUrl `url` string which needs to be implicitly trusted.\n * @return {?} a `url` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustUrl(trustedUrl) {\n return new SafeUrlImpl(trustedUrl);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link resourceUrlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedResourceUrl `url` string which needs to be implicitly trusted.\n * @return {?} a `url` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustResourceUrl(trustedResourceUrl) {\n return new SafeResourceUrlImpl(trustedResourceUrl);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This file is used to control if the default rendering pipeline should be `ViewEngine` or `Ivy`.\n *\n * For more information on how to run and debug tests with either Ivy or View Engine (legacy),\n * please see [BAZEL.md](./docs/BAZEL.md).\n */\nlet _devMode = true;\nlet _runModeLocked = false;\n/**\n * Returns whether Angular is in development mode. After called once,\n * the value is locked and won't change any more.\n *\n * By default, this is true, unless a user calls `enableProdMode` before calling this.\n *\n * @publicApi\n */\nfunction isDevMode() {\n _runModeLocked = true;\n return _devMode;\n}\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n *\n * @publicApi\n */\nfunction enableProdMode() {\n if (_runModeLocked) {\n throw new Error('Cannot enable prod mode after platform setup.');\n }\n _devMode = false;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/sanitization/inert_body.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This helper class is used to get hold of an inert tree of DOM elements containing dirty HTML\n * that needs sanitizing.\n * Depending upon browser support we must use one of three strategies for doing this.\n * Support: Safari 10.x -> XHR strategy\n * Support: Firefox -> DomParser strategy\n * Default: InertDocument strategy\n */\nclass InertBodyHelper {\n /**\n * @param {?} defaultDoc\n */\n constructor(defaultDoc) {\n this.defaultDoc = defaultDoc;\n this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert');\n /** @type {?} */\n let inertBodyElement = this.inertDocument.body;\n if (inertBodyElement == null) {\n // usually there should be only one body element in the document, but IE doesn't have any, so\n // we need to create one.\n /** @type {?} */\n const inertHtml = this.inertDocument.createElement('html');\n this.inertDocument.appendChild(inertHtml);\n inertBodyElement = this.inertDocument.createElement('body');\n inertHtml.appendChild(inertBodyElement);\n }\n inertBodyElement.innerHTML = '';\n if (inertBodyElement.querySelector && !inertBodyElement.querySelector('svg')) {\n // We just hit the Safari 10.1 bug - which allows JS to run inside the SVG G element\n // so use the XHR strategy.\n this.getInertBodyElement = this.getInertBodyElement_XHR;\n return;\n }\n inertBodyElement.innerHTML = '

    ';\n if (inertBodyElement.querySelector && inertBodyElement.querySelector('svg img')) {\n // We just hit the Firefox bug - which prevents the inner img JS from being sanitized\n // so use the DOMParser strategy, if it is available.\n // If the DOMParser is not available then we are not in Firefox (Server/WebWorker?) so we\n // fall through to the default strategy below.\n if (isDOMParserAvailable()) {\n this.getInertBodyElement = this.getInertBodyElement_DOMParser;\n return;\n }\n }\n // None of the bugs were hit so it is safe for us to use the default InertDocument strategy\n this.getInertBodyElement = this.getInertBodyElement_InertDocument;\n }\n /**\n * Use XHR to create and fill an inert body element (on Safari 10.1)\n * See\n * https://github.com/cure53/DOMPurify/blob/a992d3a75031cb8bb032e5ea8399ba972bdf9a65/src/purify.js#L439-L449\n * @private\n * @param {?} html\n * @return {?}\n */\n getInertBodyElement_XHR(html) {\n // We add these extra elements to ensure that the rest of the content is parsed as expected\n // e.g. leading whitespace is maintained and tags like `` do not get hoisted to the\n // `` tag.\n html = '' + html + '';\n try {\n html = encodeURI(html);\n }\n catch (_a) {\n return null;\n }\n /** @type {?} */\n const xhr = new XMLHttpRequest();\n xhr.responseType = 'document';\n xhr.open('GET', 'data:text/html;charset=utf-8,' + html, false);\n xhr.send(undefined);\n /** @type {?} */\n const body = xhr.response.body;\n body.removeChild((/** @type {?} */ (body.firstChild)));\n return body;\n }\n /**\n * Use DOMParser to create and fill an inert body element (on Firefox)\n * See https://github.com/cure53/DOMPurify/releases/tag/0.6.7\n *\n * @private\n * @param {?} html\n * @return {?}\n */\n getInertBodyElement_DOMParser(html) {\n // We add these extra elements to ensure that the rest of the content is parsed as expected\n // e.g. leading whitespace is maintained and tags like `` do not get hoisted to the\n // `` tag.\n html = '' + html + '';\n try {\n /** @type {?} */\n const body = (/** @type {?} */ (new ((/** @type {?} */ (window))).DOMParser().parseFromString(html, 'text/html').body));\n body.removeChild((/** @type {?} */ (body.firstChild)));\n return body;\n }\n catch (_a) {\n return null;\n }\n }\n /**\n * Use an HTML5 `template` element, if supported, or an inert body element created via\n * `createHtmlDocument` to create and fill an inert DOM element.\n * This is the default sane strategy to use if the browser does not require one of the specialised\n * strategies above.\n * @private\n * @param {?} html\n * @return {?}\n */\n getInertBodyElement_InertDocument(html) {\n // Prefer using