"use strict";
(self["webpackChunkproject"] = self["webpackChunkproject"] || []).push([[91],{

/***/ 4091:
/*!*********************************************************!*\
  !*** ./src/app/administration/administration.module.ts ***!
  \*********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AdministrationModule: () => (/* binding */ AdministrationModule)
/* harmony export */ });
/* harmony import */ var _angular_elements__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/elements */ 3440);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 6216);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common/http */ 8143);
/* harmony import */ var _components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/layout/layout.component */ 1412);
/* harmony import */ var _shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/ui/ui.module */ 663);
/* harmony import */ var _shared_navigation_services_internal_route_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/navigation/services/internal-route.service */ 8858);
/* harmony import */ var _services_administration_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./services/administration.service */ 3029);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 4380);



/* Components */

/* Modules */

/* Services */



let AdministrationModule = /*#__PURE__*/(() => {
  class AdministrationModule {
    constructor(injector) {
      this.injector = injector;
      this.ngDoBootstrap();
    }
    ngDoBootstrap() {
      const el = (0,_angular_elements__WEBPACK_IMPORTED_MODULE_4__.createCustomElement)(_components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__.LayoutComponent, {
        injector: this.injector
      });
      customElements.define('global-administration', el);
    }
    static #_ = (() => this.ɵfac = function AdministrationModule_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || AdministrationModule)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_5__.Injector));
    })();
    static #_2 = (() => this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineNgModule"]({
      type: AdministrationModule
    }))();
    static #_3 = (() => this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjector"]({
      providers: [_shared_navigation_services_internal_route_service__WEBPACK_IMPORTED_MODULE_2__.InternalRouteService, _services_administration_service__WEBPACK_IMPORTED_MODULE_3__.AdministrationService, (0,_angular_common_http__WEBPACK_IMPORTED_MODULE_6__.provideHttpClient)((0,_angular_common_http__WEBPACK_IMPORTED_MODULE_6__.withInterceptorsFromDi)())],
      imports: [_shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_1__.UiModule, _angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule]
    }))();
  }
  return AdministrationModule;
})();
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵsetNgModuleScope"](AdministrationModule, {
    declarations: [_components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__.LayoutComponent],
    imports: [_shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_1__.UiModule, _angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule]
  });
})();

/***/ }),

/***/ 1412:
/*!**********************************************************************!*\
  !*** ./src/app/administration/components/layout/layout.component.ts ***!
  \**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LayoutComponent: () => (/* binding */ LayoutComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 4380);
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 2836);
/* harmony import */ var src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/shared/navigation/models/navigation */ 9518);
/* harmony import */ var _models_navigation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../models/navigation */ 230);
/* harmony import */ var src_app_shared_navigation_services_internal_route_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/shared/navigation/services/internal-route.service */ 8858);
/* harmony import */ var _services_administration_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/administration.service */ 3029);
/* harmony import */ var src_app_shared_ui_services_ui_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/shared/ui/services/ui.service */ 345);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 6216);


/* Models */







const _c0 = ["componentElm"];
function LayoutComponent_administration_entities_12_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "administration-entities", 7);
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassMapInterpolate1"]("route ", ctx_r0.entitiesRoute == null ? null : ctx_r0.entitiesRoute.loadDirection, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassProp"]("animate", ctx_r0.entitiesRoute == null ? null : ctx_r0.entitiesRoute.animating)("closing", ctx_r0.entitiesRoute == null ? null : ctx_r0.entitiesRoute.closing);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("params", ctx_r0.routeParams);
  }
}
function LayoutComponent_administration_netsuite_13_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "administration-netsuite", 7);
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassMapInterpolate1"]("route ", ctx_r0.netsuiteRoute == null ? null : ctx_r0.netsuiteRoute.loadDirection, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassProp"]("animate", ctx_r0.netsuiteRoute == null ? null : ctx_r0.netsuiteRoute.animating)("closing", ctx_r0.netsuiteRoute == null ? null : ctx_r0.netsuiteRoute.closing);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("params", ctx_r0.routeParams);
  }
}
function LayoutComponent_administration_appointments_14_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "administration-appointments", 7);
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassMapInterpolate1"]("route ", ctx_r0.appointmentsRoute == null ? null : ctx_r0.appointmentsRoute.loadDirection, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassProp"]("animate", ctx_r0.appointmentsRoute == null ? null : ctx_r0.appointmentsRoute.animating)("closing", ctx_r0.appointmentsRoute == null ? null : ctx_r0.appointmentsRoute.closing);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("params", ctx_r0.routeParams);
  }
}
function LayoutComponent_administration_system_15_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "administration-system", 7);
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassMapInterpolate1"]("route ", ctx_r0.systemsRoute == null ? null : ctx_r0.systemsRoute.loadDirection, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassProp"]("animate", ctx_r0.systemsRoute == null ? null : ctx_r0.systemsRoute.animating)("closing", ctx_r0.systemsRoute == null ? null : ctx_r0.systemsRoute.closing);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("params", ctx_r0.routeParams);
  }
}
let LayoutComponent = /*#__PURE__*/(() => {
  class LayoutComponent {
    constructor(injector, routeService, adminService, uiService) {
      this.injector = injector;
      this.routeService = routeService;
      this.adminService = adminService;
      this.uiService = uiService;
      // #region Routes
      this.RouteType = _models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType;
      this.routesInitialized = false;
      this.params = new rxjs__WEBPACK_IMPORTED_MODULE_6__.BehaviorSubject([]);
      this.routeParams = new rxjs__WEBPACK_IMPORTED_MODULE_6__.BehaviorSubject(undefined);
    }
    get routeTitle() {
      return this.adminService.routeTitle;
    }
    get routes() {
      return this.routeService.routes;
    }
    initRoutes(initialRouteType = undefined) {
      setTimeout(() => {
        if (this.componentElm != null) {
          const routes = {
            [_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.entities]: new src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__.InternalRoute(_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.entities),
            [_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.netsuite]: new src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__.InternalRoute(_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.netsuite),
            [_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.appointments]: new src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__.InternalRoute(_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.appointments),
            [_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.system]: new src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__.InternalRoute(_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.system)
          };
          const initialRoute = initialRouteType != null ? initialRouteType : _models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.entities;
          this.routeService.init(routes, initialRoute, 250, this.componentElm.nativeElement);
          this.routeSubscription = this.routeService.activeRoute.subscribe({
            next: route => {
              if (route != null) {
                switch (route.type) {
                  case _models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.entities:
                    {
                      this.loadEntities();
                    }
                    break;
                  case _models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.netsuite:
                    {
                      this.loadNetSuite();
                    }
                    break;
                  case _models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.appointments:
                    {
                      this.loadAppointments();
                    }
                    break;
                  case _models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.system:
                    {
                      this.loadSystem();
                    }
                    break;
                }
              }
            }
          });
          this.routesInitialized = true;
        }
      }, 0);
    }
    viewRoute(name) {
      if (name != null) {
        this.routeService.viewRoute(name, src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__.RouteLoadDirection.Forward, true);
      }
    }
    // #endregion
    // #region Appointments
    get appointmentsRoute() {
      return this.routes[_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.appointments];
    }
    loadAppointments() {
      if (!customElements.get('administration-appointments')) {
        __webpack_require__.e(/*! import() */ 662).then(__webpack_require__.bind(__webpack_require__, /*! src/app/administration/appointments/appointments.module */ 3662)).then(mod => mod.AppointmentsModule).then(mod => {
          (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.createNgModule)(mod, this.injector);
        });
      }
    }
    // #endregion
    // #region Entities
    get entitiesRoute() {
      return this.routes[_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.entities];
    }
    loadEntities() {
      if (!customElements.get('administration-entities')) {
        __webpack_require__.e(/*! import() */ 876).then(__webpack_require__.bind(__webpack_require__, /*! src/app/administration/entities/entities.module */ 1876)).then(mod => mod.EntitiesModule).then(mod => {
          (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.createNgModule)(mod, this.injector);
        });
      }
    }
    // #endregion
    // #region Entities
    get netsuiteRoute() {
      return this.routes[_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.netsuite];
    }
    loadNetSuite() {
      if (!customElements.get('administration-netsuite')) {
        __webpack_require__.e(/*! import() */ 96).then(__webpack_require__.bind(__webpack_require__, /*! src/app/administration/netsuite/netsuite.module */ 7096)).then(mod => mod.NetSuiteModule).then(mod => {
          (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.createNgModule)(mod, this.injector);
        });
      }
    }
    // #endregion
    // #region System
    get systemsRoute() {
      return this.routes[_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType.system];
    }
    loadSystem() {
      if (!customElements.get('administration-system')) {
        __webpack_require__.e(/*! import() */ 848).then(__webpack_require__.bind(__webpack_require__, /*! src/app/administration/system/system.module */ 8848)).then(mod => mod.SystemModule).then(mod => {
          (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.createNgModule)(mod, this.injector);
        });
      }
    }
    watchParams() {
      this.paramsSubscription = this.params.subscribe({
        next: params => {
          let route = params[0]?.toLowerCase();
          if (route != null) {
            const routeMatches = Object.values(_models_navigation__WEBPACK_IMPORTED_MODULE_1__.RouteType).includes(route);
            const routeParams = params.slice(1);
            this.routeParams.next(routeParams);
            if (routeMatches) {
              if (!this.routesInitialized) {
                this.initRoutes(route);
              } else {
                this.viewRoute(route);
              }
            } else {
              if (!this.routesInitialized) {
                this.initRoutes();
              }
            }
          }
        }
      });
    }
    init() {
      this.watchParams();
    }
    // #endregion
    ngOnInit() {
      this.init();
    }
    ngOnDestroy() {}
    static #_ = (() => this.ɵfac = function LayoutComponent_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || LayoutComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_5__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](src_app_shared_navigation_services_internal_route_service__WEBPACK_IMPORTED_MODULE_2__.InternalRouteService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_administration_service__WEBPACK_IMPORTED_MODULE_3__.AdministrationService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](src_app_shared_ui_services_ui_service__WEBPACK_IMPORTED_MODULE_4__.UiService));
    })();
    static #_2 = (() => this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({
      type: LayoutComponent,
      selectors: [["layout"]],
      viewQuery: function LayoutComponent_Query(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵviewQuery"](_c0, 5);
        }
        if (rf & 2) {
          let _t;
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵloadQuery"]()) && (ctx.componentElm = _t.first);
        }
      },
      inputs: {
        params: "params"
      },
      standalone: false,
      decls: 16,
      vars: 7,
      consts: [["componentElm", ""], ["id", "adminLayout"], [1, "primary"], [1, "secondary"], [1, "content"], [1, "routes"], [3, "class", "params", "animate", "closing", 4, "ngIf"], [3, "params"]],
      template: function LayoutComponent_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "section", 1, 0)(2, "header")(3, "div", 2)(4, "h2");
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](5, "Administration");
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](6, "h1");
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](7);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](8, "async");
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](9, "div", 3);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](10, "div", 4)(11, "div", 5);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](12, LayoutComponent_administration_entities_12_Template, 1, 8, "administration-entities", 6)(13, LayoutComponent_administration_netsuite_13_Template, 1, 8, "administration-netsuite", 6)(14, LayoutComponent_administration_appointments_14_Template, 1, 8, "administration-appointments", 6)(15, LayoutComponent_administration_system_15_Template, 1, 8, "administration-system", 6);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
        }
        if (rf & 2) {
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](7);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind1"](8, 5, ctx.routeTitle));
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](5);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.entitiesRoute == null ? null : ctx.entitiesRoute.active);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.netsuiteRoute == null ? null : ctx.netsuiteRoute.active);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.appointmentsRoute == null ? null : ctx.appointmentsRoute.active);
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.systemsRoute == null ? null : ctx.systemsRoute.active);
        }
      },
      dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.AsyncPipe],
      styles: ["#adminLayout[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  display: flex;\n  flex-direction: column;\n  background-color: var(--color2Alt1);\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%] {\n  position: sticky;\n  top: 0;\n  z-index: 1;\n  padding: calc(1vw + var(--systemOffset-top)) 2vw 1vw 2vw;\n  background-color: var(--color2);\n  border-bottom: 0.1vw var(--color2Alt2) solid;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .primary[_ngcontent-%COMP%] {\n  position: relative;\n  left: var(--sideNav-adjust);\n  transition: left 0.2s linear;\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .primary[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%] {\n  font-size: 1.1vw;\n  color: var(--color2Alt4);\n  text-transform: uppercase;\n  font-weight: var(--mdweight);\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .primary[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%] {\n  line-height: 1;\n  font-size: 2.6vw;\n  color: var(--color1);\n  font-weight: var(--stronger);\n  transition: font-size 0.2s linear;\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n  justify-content: flex-end;\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%] {\n  margin-left: 2vw;\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > i[_ngcontent-%COMP%], #adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%] {\n  color: var(--color3);\n  transition: color 0.2s linear;\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > i[_ngcontent-%COMP%] {\n  font-size: 1.4vw;\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%] {\n  margin-left: 0.5vw;\n  line-height: 1;\n  font-size: 1.4vw;\n  font-weight: var(--strong);\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control.active[_ngcontent-%COMP%]    > i[_ngcontent-%COMP%], #adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control.active[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%] {\n  color: var(--color5);\n}\n#adminLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .secondary[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]:first-child {\n  margin-left: 0;\n}\n#adminLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%] {\n  flex: 1;\n  height: 100%;\n  position: relative;\n}\n#adminLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .routes[_ngcontent-%COMP%]    > .route[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  overflow-x: hidden;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,  */"]
    }))();
  }
  return LayoutComponent;
})();

/***/ }),

/***/ 230:
/*!*****************************************************!*\
  !*** ./src/app/administration/models/navigation.ts ***!
  \*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RouteType: () => (/* binding */ RouteType)
/* harmony export */ });
var RouteType = /*#__PURE__*/function (RouteType) {
  RouteType["entities"] = "entities";
  RouteType["netsuite"] = "netsuite";
  RouteType["appointments"] = "appointments";
  RouteType["system"] = "system";
  return RouteType;
}(RouteType || {});

/***/ }),

/***/ 3029:
/*!*******************************************************************!*\
  !*** ./src/app/administration/services/administration.service.ts ***!
  \*******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AdministrationService: () => (/* binding */ AdministrationService)
/* harmony export */ });
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 2836);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 4380);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ 8143);



/* Models */
/* Services */
let AdministrationService = /*#__PURE__*/(() => {
  class AdministrationService {
    constructor(http) {
      this.http = http;
      // #region Routes
      this.routeTitle = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject("Administration");
    }
    static #_ = (() => this.ɵfac = function AdministrationService_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || AdministrationService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__.HttpClient));
    })();
    static #_2 = (() => this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
      token: AdministrationService,
      factory: AdministrationService.ɵfac,
      providedIn: 'root'
    }))();
  }
  return AdministrationService;
})();

/***/ }),

/***/ 8858:
/*!**********************************************************************!*\
  !*** ./src/app/shared/navigation/services/internal-route.service.ts ***!
  \**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   InternalRouteService: () => (/* binding */ InternalRouteService)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 4380);
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 2836);
/* harmony import */ var _models_navigation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../models/navigation */ 9518);


/* Models */


/* Services */
let InternalRouteService = /*#__PURE__*/(() => {
  class InternalRouteService {
    constructor(renderFactory) {
      this.renderFactory = renderFactory;
      // #region UI
      this.transitionInMs = 250;
      // #endregion
      // #region Routes
      this.routes = {};
      this.routeChanging = false;
      this.activeRoute = new rxjs__WEBPACK_IMPORTED_MODULE_1__.BehaviorSubject(undefined);
      this.renderer = renderFactory.createRenderer(null, null);
    }
    setCssVariable(nativeElement, name, value) {
      this.renderer.setStyle(nativeElement, name, value, _angular_core__WEBPACK_IMPORTED_MODULE_2__.RendererStyleFlags2.DashCase);
    }
    viewRoute(type, direction, animate = false, activeDirection = _models_navigation__WEBPACK_IMPORTED_MODULE_0__.RouteLoadDirection.Forward, params = []) {
      const route = this.routes[type];
      if (route != null) {
        route.params.next(params);
        const activeRoute = this.activeRoute.getValue();
        if (activeRoute?.type != type) {
          this.closeActiveRoute(activeDirection, animate);
        }
        this.routeChanging = true;
        route.loadDirection = direction;
        route.active = true;
        this.activeRoute.next(route);
        const transitionInMs = animate ? this.transitionInMs : 0;
        const initSubscription = route.initialized.subscribe({
          next: () => {
            route.animating = animate;
            setTimeout(() => {
              this.routeChanging = false;
              route.animating = false;
              route.rendered = true;
            }, transitionInMs);
            initSubscription.unsubscribe();
          }
        });
      }
    }
    closeActiveRoute(direction, animate = false) {
      const route = this.activeRoute.getValue();
      if (route != null) {
        route.loadDirection = direction;
        route.closing = true;
        route.animating = animate;
        setTimeout(() => {
          route.active = false;
          route.closing = false;
          route.animating = false;
          route.rendered = false;
        }, this.transitionInMs);
      }
    }
    // #endregion
    // #region Bootstrapping
    init(routes, defaultRoute = null, transitionInMs = 250, componentElm) {
      this.routes = routes;
      this.transitionInMs = transitionInMs;
      this.setCssVariable(componentElm, "--routeTransition", `${transitionInMs}ms`);
      if (defaultRoute != null) {
        this.defaultRoute = this.routes[defaultRoute];
        this.viewRoute(defaultRoute, this.defaultRoute.loadDirection);
      }
    }
    // #endregion
    ngOnDestroy() {}
    static #_ = (() => this.ɵfac = function InternalRouteService_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || InternalRouteService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.RendererFactory2));
    })();
    static #_2 = (() => this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
      token: InternalRouteService,
      factory: InternalRouteService.ɵfac
    }))();
  }
  return InternalRouteService;
})();

/***/ })

}]);
//# sourceMappingURL=91.js.map