1 line
1.1 MiB
1 line
1.1 MiB
{"ast":null,"code":"import * as i0 from '@angular/core';\nimport { Directive, Input, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule, EventEmitter, ElementRef, ViewChild, Output, Injectable, InjectionToken, PLATFORM_ID, Inject, forwardRef, ViewContainerRef, Injector, HostListener, ViewChildren, Optional } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule, isPlatformBrowser, DOCUMENT } from '@angular/common';\nimport * as i1$1 from '@angular/forms';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { takeUntil, distinctUntilChanged, filter, skip, take } from 'rxjs/operators';\nimport { Subject, BehaviorSubject, timer, fromEvent, ReplaySubject } from 'rxjs';\nconst _c0 = [\"*\"];\nconst _c1 = [\"gui-button\", \"\"];\nconst _c2 = a0 => ({\n \"gui-card-img\": a0\n});\nconst _c3 = a0 => ({\n \"gui-card-title\": a0\n});\nconst _c4 = a0 => ({\n \"gui-card-content-block\": a0\n});\nconst _c5 = a0 => ({\n \"gui-card-content-block-item\": a0\n});\nfunction FabricCardComponent_div_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 3);\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const block_r1 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(2, _c5, ctx_r1.isContentBlockEnabled()));\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", block_r1, \" \");\n }\n}\nconst _c6 = [\"input\"];\nfunction FabricDatePickerDaysViewComponent_div_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\");\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const dayOfTheWeek_r1 = ctx.$implicit;\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(dayOfTheWeek_r1);\n }\n}\nfunction FabricDatePickerDaysViewComponent_div_3_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r2 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 6);\n i0.ɵɵlistener(\"click\", function FabricDatePickerDaysViewComponent_div_3_div_1_Template_div_click_0_listener() {\n const day_r3 = i0.ɵɵrestoreView(_r2).$implicit;\n const ctx_r3 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r3.selectDate(day_r3));\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const day_r3 = ctx.$implicit;\n const ctx_r3 = i0.ɵɵnextContext(2);\n i0.ɵɵclassProp(\"gui-date-picker-current-day\", ctx_r3.isDate(ctx_r3.currentDay, day_r3))(\"gui-date-picker-selected-day\", ctx_r3.isDate(ctx_r3.selectedDate, day_r3))(\"gui-date-picker-selected-month\", ctx_r3.displayMonthDays(day_r3.getMonth()));\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", day_r3.getDate(), \" \");\n }\n}\nfunction FabricDatePickerDaysViewComponent_div_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 4);\n i0.ɵɵtemplate(1, FabricDatePickerDaysViewComponent_div_3_div_1_Template, 2, 7, \"div\", 5);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const week_r5 = ctx.$implicit;\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", week_r5);\n }\n}\nfunction FabricDatePickerMonthsViewComponent_div_1_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 4);\n i0.ɵɵlistener(\"click\", function FabricDatePickerMonthsViewComponent_div_1_div_1_Template_div_click_0_listener() {\n const month_r2 = i0.ɵɵrestoreView(_r1).$implicit;\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.selectMonth(month_r2.nr));\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const month_r2 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵclassProp(\"gui-date-picker-current-month\", ctx_r2.isMonth(ctx_r2.currentDay, month_r2.nr))(\"gui-date-picker-selected-month\", ctx_r2.isMonth(ctx_r2.selectedDate, month_r2.nr));\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", month_r2.name, \" \");\n }\n}\nfunction FabricDatePickerMonthsViewComponent_div_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 2);\n i0.ɵɵtemplate(1, FabricDatePickerMonthsViewComponent_div_1_div_1_Template, 2, 5, \"div\", 3);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const quarter_r4 = ctx.$implicit;\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", quarter_r4);\n }\n}\nfunction FabricDatePickerYearsComponent_div_1_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 4);\n i0.ɵɵlistener(\"click\", function FabricDatePickerYearsComponent_div_1_div_1_Template_div_click_0_listener() {\n const year_r2 = i0.ɵɵrestoreView(_r1).$implicit;\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.selectYear(year_r2));\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const year_r2 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵclassProp(\"gui-date-picker-current-year\", ctx_r2.isYear(ctx_r2.currentDay, year_r2))(\"gui-date-picker-selected-year\", ctx_r2.isYear(ctx_r2.selectedDate, year_r2));\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", year_r2, \" \");\n }\n}\nfunction FabricDatePickerYearsComponent_div_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 2);\n i0.ɵɵtemplate(1, FabricDatePickerYearsComponent_div_1_div_1_Template, 2, 5, \"div\", 3);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const yearsChunk_r4 = ctx.$implicit;\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", yearsChunk_r4);\n }\n}\nconst _c7 = [\"gui-input\", \"\"];\nfunction FabricTimePickerComponent_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 4)(1, \"gui-arrow-icon\", 5);\n i0.ɵɵlistener(\"click\", function FabricTimePickerComponent_div_1_Template_gui_arrow_icon_click_1_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.changeTimeItem(\"hours\", ctx_r1.steps));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelement(2, \"input\", 6);\n i0.ɵɵelementStart(3, \"gui-arrow-icon\", 5);\n i0.ɵɵlistener(\"click\", function FabricTimePickerComponent_div_1_Template_gui_arrow_icon_click_3_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.changeTimeItem(\"hours\", -ctx_r1.steps));\n });\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"direction\", ctx_r1.Direction.TOP);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"direction\", ctx_r1.Direction.BOTTOM);\n }\n}\nfunction FabricTimePickerComponent_div_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 4)(1, \"gui-arrow-icon\", 5);\n i0.ɵɵlistener(\"click\", function FabricTimePickerComponent_div_2_Template_gui_arrow_icon_click_1_listener() {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.changeTimeItem(\"minutes\", ctx_r1.steps));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelement(2, \"input\", 7);\n i0.ɵɵelementStart(3, \"gui-arrow-icon\", 5);\n i0.ɵɵlistener(\"click\", function FabricTimePickerComponent_div_2_Template_gui_arrow_icon_click_3_listener() {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.changeTimeItem(\"minutes\", -ctx_r1.steps));\n });\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"direction\", ctx_r1.Direction.TOP);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"direction\", ctx_r1.Direction.BOTTOM);\n }\n}\nfunction FabricTimePickerComponent_div_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 4)(1, \"gui-arrow-icon\", 5);\n i0.ɵɵlistener(\"click\", function FabricTimePickerComponent_div_3_Template_gui_arrow_icon_click_1_listener() {\n i0.ɵɵrestoreView(_r4);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.changeTimeItem(\"seconds\", ctx_r1.steps));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelement(2, \"input\", 8);\n i0.ɵɵelementStart(3, \"gui-arrow-icon\", 5);\n i0.ɵɵlistener(\"click\", function FabricTimePickerComponent_div_3_Template_gui_arrow_icon_click_3_listener() {\n i0.ɵɵrestoreView(_r4);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.changeTimeItem(\"seconds\", -ctx_r1.steps));\n });\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"direction\", ctx_r1.Direction.TOP);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"direction\", ctx_r1.Direction.BOTTOM);\n }\n}\nfunction FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_days_view_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"gui-date-picker-days-view\", 7);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"activeMonth\", ctx_r0.activeMonth)(\"selectedDate\", ctx_r0.selectedDate)(\"weeks\", ctx_r0.weeks);\n }\n}\nfunction FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_months_view_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"gui-date-picker-months-view\", 8);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"activeYear\", ctx_r0.activeYear)(\"selectedDate\", ctx_r0.selectedDate);\n }\n}\nfunction FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_years_view_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"gui-date-picker-years-view\", 9);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"selectedDate\", ctx_r0.selectedDate)(\"years\", ctx_r0.years);\n }\n}\nfunction FabricDatePickerCalendarComponent_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"gui-date-picker-view-panel\", 2);\n i0.ɵɵelementContainerStart(2, 3);\n i0.ɵɵtemplate(3, FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_days_view_3_Template, 1, 3, \"gui-date-picker-days-view\", 4)(4, FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_months_view_4_Template, 1, 2, \"gui-date-picker-months-view\", 5)(5, FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_years_view_5_Template, 1, 2, \"gui-date-picker-years-view\", 6);\n i0.ɵɵelementContainerEnd()();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"activeMonth\", ctx_r0.activeMonth)(\"activeYear\", ctx_r0.activeYear)(\"fabricCalendarView\", ctx_r0.fabricCalendarView)(\"selectedDate\", ctx_r0.selectedDate)(\"years\", ctx_r0.years);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngSwitch\", ctx_r0.getCalendarView());\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngSwitchCase\", ctx_r0.FabricCalendarView.DAYS);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngSwitchCase\", ctx_r0.FabricCalendarView.MONTHS);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngSwitchCase\", ctx_r0.FabricCalendarView.YEARS);\n }\n}\nfunction FabricDatePickerCalendarComponent_gui_time_picker_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"gui-time-picker\", 10);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"datePickerComposition\", ctx_r0.datePickerComposition)(\"selectedDate\", ctx_r0.selectedDate);\n }\n}\nconst _c8 = [\"container\"];\nfunction FabricInlineDialogComponent_ng_template_2_Template(rf, ctx) {}\nconst _c9 = [\"datePicker\"];\nfunction FabricDrawerComponent_ng_template_3_Template(rf, ctx) {}\nconst _c10 = [\"dropdownMenu\"];\nfunction FabricDropdownComponent_div_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\");\n i0.ɵɵelement(1, \"gui-arrow-icon\", 6);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵclassProp(\"gui-dropdown-arrow\", ctx_r1.isArrowEnabled);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"direction\", ctx_r1.arrowDirection);\n }\n}\nfunction FabricDialogComponent_ng_template_3_Template(rf, ctx) {}\nconst _c11 = [\"guiNotification\"];\nfunction FabricNotificationsContainerComponent_gui_notification_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"gui-notification\", 1);\n i0.ɵɵlistener(\"onNotificationClose\", function FabricNotificationsContainerComponent_gui_notification_0_Template_gui_notification_onNotificationClose_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.emitClosedNotification($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const notification_r3 = ctx.$implicit;\n i0.ɵɵproperty(\"notification\", notification_r3);\n }\n}\nfunction FabricNotificationsOverlayComponent_gui_notifications_container_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"gui-notifications-container\", 1);\n i0.ɵɵlistener(\"onNotificationClose\", function FabricNotificationsOverlayComponent_gui_notifications_container_0_Template_gui_notifications_container_onNotificationClose_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.removeNotification($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"notifications\", ctx_r1.notificationsTopRight)(\"position\", ctx_r1.FabricNotificationPosition.TOP_RIGHT);\n }\n}\nfunction FabricNotificationsOverlayComponent_gui_notifications_container_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"gui-notifications-container\", 1);\n i0.ɵɵlistener(\"onNotificationClose\", function FabricNotificationsOverlayComponent_gui_notifications_container_1_Template_gui_notifications_container_onNotificationClose_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.removeNotification($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"notifications\", ctx_r1.notificationsTopLeft)(\"position\", ctx_r1.FabricNotificationPosition.TOP_LEFT);\n }\n}\nfunction FabricNotificationsOverlayComponent_gui_notifications_container_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"gui-notifications-container\", 1);\n i0.ɵɵlistener(\"onNotificationClose\", function FabricNotificationsOverlayComponent_gui_notifications_container_2_Template_gui_notifications_container_onNotificationClose_0_listener($event) {\n i0.ɵɵrestoreView(_r4);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.removeNotification($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"notifications\", ctx_r1.notificationsBottomRight)(\"position\", ctx_r1.FabricNotificationPosition.BOTTOM_RIGHT);\n }\n}\nfunction FabricNotificationsOverlayComponent_gui_notifications_container_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"gui-notifications-container\", 1);\n i0.ɵɵlistener(\"onNotificationClose\", function FabricNotificationsOverlayComponent_gui_notifications_container_3_Template_gui_notifications_container_onNotificationClose_0_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.removeNotification($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"notifications\", ctx_r1.notificationsBottomLeft)(\"position\", ctx_r1.FabricNotificationPosition.BOTTOM_LEFT);\n }\n}\nconst _c12 = [\"svgEl\"];\nconst _c13 = [\"tab\"];\nconst _c14 = [\"tabItem\"];\nconst _c15 = [\"tabMenuList\"];\nfunction FabricTabComponent_div_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 8);\n i0.ɵɵlistener(\"click\", function FabricTabComponent_div_3_Template_div_click_0_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.scrollTabList(false));\n });\n i0.ɵɵelement(1, \"gui-arrow-icon\", 9);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"direction\", ctx_r1.Direction.LEFT);\n }\n}\nfunction FabricTabComponent_div_5_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const tab_r4 = i0.ɵɵnextContext().$implicit;\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(tab_r4);\n }\n}\nfunction FabricTabComponent_div_5_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"gui-svg-template\", 12);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const tab_r4 = i0.ɵɵnextContext().$implicit;\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"svg\", tab_r4.svg);\n }\n}\nfunction FabricTabComponent_div_5_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 10, 2);\n i0.ɵɵlistener(\"click\", function FabricTabComponent_div_5_Template_div_click_0_listener() {\n const tab_r4 = i0.ɵɵrestoreView(_r3).$implicit;\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.toggleTab(tab_r4));\n });\n i0.ɵɵtemplate(2, FabricTabComponent_div_5_span_2_Template, 2, 1, \"span\", 11)(3, FabricTabComponent_div_5_ng_container_3_Template, 2, 1, \"ng-container\", 11);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const tab_r4 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵattribute(\"data-tab\", ctx_r1.getTabName(tab_r4));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.isSvg(tab_r4));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.isSvg(tab_r4));\n }\n}\nfunction FabricTabComponent_div_6_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 8);\n i0.ɵɵlistener(\"click\", function FabricTabComponent_div_6_Template_div_click_0_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.scrollTabList(true));\n });\n i0.ɵɵelement(1, \"gui-arrow-icon\");\n i0.ɵɵelementEnd();\n }\n}\nconst _c16 = [\"optionList\"];\nfunction FabricSelectOptionsComponent_div_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 3);\n i0.ɵɵlistener(\"click\", function FabricSelectOptionsComponent_div_2_Template_div_click_0_listener() {\n const option_r2 = i0.ɵɵrestoreView(_r1).$implicit;\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.selectOption(option_r2));\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const option_r2 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵstyleProp(\"width\", ctx_r2.width, \"px\");\n i0.ɵɵclassProp(\"gui-option-selected\", ctx_r2.isOptionSelected(option_r2));\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx_r2.getOptionValue(option_r2), \" \");\n }\n}\nfunction FabricRatingComponent_gui_star_icon_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"gui-star-icon\", 2);\n i0.ɵɵlistener(\"click\", function FabricRatingComponent_gui_star_icon_1_Template_gui_star_icon_click_0_listener() {\n const star_r2 = i0.ɵɵrestoreView(_r1).$implicit;\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.changeRating(star_r2));\n })(\"mouseenter\", function FabricRatingComponent_gui_star_icon_1_Template_gui_star_icon_mouseenter_0_listener() {\n const star_r2 = i0.ɵɵrestoreView(_r1).$implicit;\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.changePreviewRating(star_r2));\n })(\"mouseleave\", function FabricRatingComponent_gui_star_icon_1_Template_gui_star_icon_mouseleave_0_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.changePreviewRating(0));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const star_r2 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵclassProp(\"star-icon-gray\", ctx_r2.isRating(star_r2, ctx_r2.rating))(\"star-icon-hover\", ctx_r2.isRating(ctx_r2.previewRating, star_r2));\n }\n}\nvar Theme;\n(function (Theme) {\n Theme[\"FABRIC\"] = \"FABRIC\";\n Theme[\"MATERIAL\"] = \"MATERIAL\";\n Theme[\"GENERIC\"] = \"GENERIC\";\n Theme[\"LIGHT\"] = \"LIGHT\";\n Theme[\"DARK\"] = \"DARK\";\n})(Theme || (Theme = {}));\nclass Indicator {\n elementRef;\n renderer;\n static PRIMARY_CLASS_NAME = 'gui-primary';\n static SECONDARY_CLASS_NAME = 'gui-secondary';\n static OUTLINE_CLASS_NAME = 'gui-outline';\n primary = false;\n secondary = false;\n outline = false;\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n if (changes['primary']) {\n if (this.primary) {\n this.addClass(Indicator.PRIMARY_CLASS_NAME);\n } else {\n this.removeClass(Indicator.PRIMARY_CLASS_NAME);\n }\n }\n if (changes['secondary']) {\n if (this.secondary) {\n this.addClass(Indicator.SECONDARY_CLASS_NAME);\n } else {\n this.removeClass(Indicator.SECONDARY_CLASS_NAME);\n }\n }\n if (changes['outline']) {\n if (this.outline) {\n this.addClass(Indicator.OUTLINE_CLASS_NAME);\n } else {\n this.removeClass(Indicator.OUTLINE_CLASS_NAME);\n }\n }\n }\n addClass(className) {\n this.renderer.addClass(this.elementRef.nativeElement, className);\n }\n removeClass(className) {\n this.renderer.removeClass(this.elementRef.nativeElement, className);\n }\n static ɵfac = function Indicator_Factory(t) {\n return new (t || Indicator)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: Indicator,\n inputs: {\n primary: \"primary\",\n secondary: \"secondary\",\n outline: \"outline\"\n },\n features: [i0.ɵɵNgOnChangesFeature]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(Indicator, [{\n type: Directive\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n primary: [{\n type: Input\n }],\n secondary: [{\n type: Input\n }],\n outline: [{\n type: Input\n }]\n });\n})();\nclass FabricBadgeComponent extends Indicator {\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n static ɵfac = function FabricBadgeComponent_Factory(t) {\n return new (t || FabricBadgeComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricBadgeComponent,\n selectors: [[\"gui-badge\"]],\n hostVars: 2,\n hostBindings: function FabricBadgeComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-badge\", true);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function FabricBadgeComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n styles: [\".gui-badge{background:#e6e6e6;border-radius:4px;color:#595959;display:inline-block;font-family:Arial;font-size:12px;font-weight:700;margin:0 0 0 2px;padding:4px 9.6px;position:relative;-ms-transform:translateX(-70%) translateY(-80%);transform:translate(-70%) translateY(-80%);z-index:1}.gui-badge.gui-primary{background:#2185d0;color:#fff}.gui-badge.gui-primary.gui-outline{color:#2185d0}.gui-badge.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-badge.gui-primary:active{background:#1a69a4;color:#fff}.gui-badge.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-badge.gui-primary.gui-badge{background:#439de1}.gui-badge.gui-secondary{background:#3cb371;color:#fff}.gui-badge.gui-secondary.gui-outline{color:#3cb371}.gui-badge.gui-secondary.gui-button:hover{background:#36a065}.gui-badge.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-badge.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-badge.gui-secondary.gui-badge{background:#5ac88b}.gui-badge.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-badge.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-badge.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-badge.gui-outline.gui-badge{background:#fff}.gui-badge.gui-outline.gui-primary{border-color:#439de1}.gui-badge.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-badge.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-badge.gui-outline.gui-secondary{border-color:#5ac88b}.gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-badge.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}\\n\", \".gui-material .gui-badge{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500}.gui-material .gui-badge.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-badge.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-badge.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-badge.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-badge.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-badge.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-badge.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-badge.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-badge.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-badge.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-badge.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-badge.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-badge.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-badge.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-badge.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-badge.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-badge.gui-outline.gui-badge{background:#fff}.gui-material .gui-badge.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-badge.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-badge.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-badge.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}\\n\", \".gui-dark .gui-badge{background:#333;color:#bdbdbd}.gui-dark .gui-badge.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-badge.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-badge.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-badge.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-badge.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-badge.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-badge.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-badge.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-badge.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-badge.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-badge.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-badge.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-badge.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-badge.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-badge.gui-outline.gui-badge{background:#121212}.gui-dark .gui-badge.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-badge.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-badge.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-badge.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricBadgeComponent, [{\n type: Component,\n args: [{\n selector: 'gui-badge',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-badge]': 'true'\n },\n template: \"<ng-content></ng-content>\\n\",\n styles: [\".gui-badge{background:#e6e6e6;border-radius:4px;color:#595959;display:inline-block;font-family:Arial;font-size:12px;font-weight:700;margin:0 0 0 2px;padding:4px 9.6px;position:relative;-ms-transform:translateX(-70%) translateY(-80%);transform:translate(-70%) translateY(-80%);z-index:1}.gui-badge.gui-primary{background:#2185d0;color:#fff}.gui-badge.gui-primary.gui-outline{color:#2185d0}.gui-badge.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-badge.gui-primary:active{background:#1a69a4;color:#fff}.gui-badge.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-badge.gui-primary.gui-badge{background:#439de1}.gui-badge.gui-secondary{background:#3cb371;color:#fff}.gui-badge.gui-secondary.gui-outline{color:#3cb371}.gui-badge.gui-secondary.gui-button:hover{background:#36a065}.gui-badge.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-badge.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-badge.gui-secondary.gui-badge{background:#5ac88b}.gui-badge.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-badge.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-badge.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-badge.gui-outline.gui-badge{background:#fff}.gui-badge.gui-outline.gui-primary{border-color:#439de1}.gui-badge.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-badge.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-badge.gui-outline.gui-secondary{border-color:#5ac88b}.gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-badge.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}\\n\", \".gui-material .gui-badge{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500}.gui-material .gui-badge.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-badge.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-badge.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-badge.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-badge.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-badge.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-badge.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-badge.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-badge.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-badge.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-badge.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-badge.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-badge.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-badge.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-badge.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-badge.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-badge.gui-outline.gui-badge{background:#fff}.gui-material .gui-badge.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-badge.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-badge.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-badge.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}\\n\", \".gui-dark .gui-badge{background:#333;color:#bdbdbd}.gui-dark .gui-badge.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-badge.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-badge.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-badge.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-badge.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-badge.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-badge.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-badge.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-badge.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-badge.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-badge.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-badge.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-badge.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-badge.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-badge.gui-outline.gui-badge{background:#121212}.gui-dark .gui-badge.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-badge.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-badge.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-badge.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], null);\n})();\nclass FabricBadgeModule {\n static ɵfac = function FabricBadgeModule_Factory(t) {\n return new (t || FabricBadgeModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricBadgeModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricBadgeModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricBadgeComponent],\n exports: [FabricBadgeComponent]\n }]\n }], null, null);\n})();\nclass FabricButtonComponent extends Indicator {\n link = false;\n text = false;\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n if (changes['link']) {\n if (this.link) {\n this.addClass('gui-link');\n } else {\n this.removeClass('gui-link');\n }\n }\n if (changes['text']) {\n if (this.text) {\n this.addClass('gui-text');\n } else {\n this.removeClass('gui-text');\n }\n }\n }\n static ɵfac = function FabricButtonComponent_Factory(t) {\n return new (t || FabricButtonComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricButtonComponent,\n selectors: [[\"button\", \"gui-button\", \"\"], [\"a\", \"gui-button\", \"\"]],\n hostVars: 2,\n hostBindings: function FabricButtonComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-button\", true);\n }\n },\n inputs: {\n link: \"link\",\n text: \"text\"\n },\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n attrs: _c1,\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function FabricButtonComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n styles: [\".gui-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:start;align-items:flex-start;background:#e6e6e6;border-radius:4px;border-style:none;box-sizing:border-box;color:#595959;cursor:pointer;display:inline-block;font-family:Arial;font-size:13.3333px;letter-spacing:normal;outline:none;padding:10px 20px;text-align:center;text-indent:0;text-rendering:auto;text-shadow:none;text-transform:none;transition:background .2s;word-spacing:normal;-ms-writing-mode:lr-tb!important;writing-mode:horizontal-tb!important}.gui-button.gui-outline:focus{box-shadow:0 0 0 2px #d6d6d6}.gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 2px #439de1}.gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 2px #5ac88b}.gui-button.gui-primary{background:#2185d0;color:#fff}.gui-button.gui-primary.gui-outline{color:#2185d0}.gui-button.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-button.gui-primary:active{background:#1a69a4;color:#fff}.gui-button.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-button.gui-primary.gui-badge{background:#439de1}.gui-button.gui-secondary{background:#3cb371;color:#fff}.gui-button.gui-secondary.gui-outline{color:#3cb371}.gui-button.gui-secondary.gui-button:hover{background:#36a065}.gui-button.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-button.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-button.gui-secondary.gui-badge{background:#5ac88b}.gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-button.gui-link:focus{text-decoration:underline}.gui-button.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-button.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-button.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-button.gui-outline.gui-badge{background:#fff}.gui-button.gui-outline.gui-primary{border-color:#439de1}.gui-button.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-button.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-button.gui-outline.gui-secondary{border-color:#5ac88b}.gui-button.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-button.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}.gui-button.gui-text{background:transparent;border:0}.gui-button.gui-text:hover{background:#e6e6e6}.gui-button.gui-text:focus{background:#e6e6e6}.gui-button.gui-text.gui-primary{color:#2185d0}.gui-button.gui-text.gui-primary:hover{background:#2185d0;color:#fff}.gui-button.gui-text.gui-primary:focus{background:#2185d0;color:#fff}.gui-button.gui-text.gui-secondary{color:#3cb371}.gui-button.gui-text.gui-secondary:hover{background:#3cb371;color:#fff}.gui-button.gui-text.gui-secondary:focus{background:#3cb371;color:#fff}.gui-button.gui-text.gui-button:disabled{background:transparent}.gui-button.gui-text.gui-button:disabled .gui-text-disabled{display:inline-block}.gui-button:hover{background:#cccccc;color:#333}.gui-button:active{background:#999;color:#333}.gui-button:disabled{color:#ccc;cursor:default;pointer-events:none}\\n\", \".gui-dark .gui-button{background:#424242;color:#bdbdbd}.gui-dark .gui-button.gui-outline:focus{box-shadow:0 0 0 2px #616161}.gui-dark .gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 2px #ce93d8}.gui-dark .gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 2px #80cbc4}.gui-dark .gui-button.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-button.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-button.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-button.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-button.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-button.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-button.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-button.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-button.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-button.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-button.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-button.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-dark .gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-dark .gui-button.gui-link:focus{text-decoration:underline}.gui-dark .gui-button.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-button.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-button.gui-outline.gui-badge{background:#121212}.gui-dark .gui-button.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-button.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-button.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-button.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-button.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-button.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}.gui-dark .gui-button:hover{background:#616161}.gui-dark .gui-button:active{background:#212121}.gui-dark .gui-button:disabled{opacity:.36}\\n\", \".gui-light .gui-button{background:#f6f5f4;border-color:#d8d7d6;color:#333;font-family:Roboto,Helvetica Neue,sans-serif}.gui-light .gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-light .gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-light .gui-button.gui-link:focus{text-decoration:underline}.gui-light .gui-button:hover{background:#ecebeb}.gui-light .gui-button:active{background:#f6f5f4}.gui-light .gui-button:disabled{opacity:.5}\\n\", \".gui-material .gui-button{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500;padding:10px 16px}.gui-material .gui-button.gui-outline:focus{box-shadow:0 0 0 1px #5262c5}.gui-material .gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 1px #6200ee}.gui-material .gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 1px #0097a7}.gui-material .gui-button.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-button.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-button.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-button.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-button.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-button.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-button.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-button.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-button.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-button.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-button.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-button.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-button.gui-link{background:transparent;border:0;color:#3949ab}.gui-material .gui-button.gui-link:hover{color:#4051bf}.gui-material .gui-button.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-button.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-button.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-button.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-button.gui-outline.gui-badge{background:#fff}.gui-material .gui-button.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-button.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-button.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-button.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-button.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-button.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}.gui-material .gui-button:hover{background:#5262c5}.gui-material .gui-button:active{background:#4051bf}.gui-material .gui-button:disabled{background:#c5cae9;color:#7885d2}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricButtonComponent, [{\n type: Component,\n args: [{\n selector: 'button[gui-button], a[gui-button]',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-button]': 'true'\n },\n template: \"<ng-content></ng-content>\\n\",\n styles: [\".gui-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:start;align-items:flex-start;background:#e6e6e6;border-radius:4px;border-style:none;box-sizing:border-box;color:#595959;cursor:pointer;display:inline-block;font-family:Arial;font-size:13.3333px;letter-spacing:normal;outline:none;padding:10px 20px;text-align:center;text-indent:0;text-rendering:auto;text-shadow:none;text-transform:none;transition:background .2s;word-spacing:normal;-ms-writing-mode:lr-tb!important;writing-mode:horizontal-tb!important}.gui-button.gui-outline:focus{box-shadow:0 0 0 2px #d6d6d6}.gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 2px #439de1}.gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 2px #5ac88b}.gui-button.gui-primary{background:#2185d0;color:#fff}.gui-button.gui-primary.gui-outline{color:#2185d0}.gui-button.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-button.gui-primary:active{background:#1a69a4;color:#fff}.gui-button.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-button.gui-primary.gui-badge{background:#439de1}.gui-button.gui-secondary{background:#3cb371;color:#fff}.gui-button.gui-secondary.gui-outline{color:#3cb371}.gui-button.gui-secondary.gui-button:hover{background:#36a065}.gui-button.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-button.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-button.gui-secondary.gui-badge{background:#5ac88b}.gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-button.gui-link:focus{text-decoration:underline}.gui-button.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-button.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-button.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-button.gui-outline.gui-badge{background:#fff}.gui-button.gui-outline.gui-primary{border-color:#439de1}.gui-button.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-button.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-button.gui-outline.gui-secondary{border-color:#5ac88b}.gui-button.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-button.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}.gui-button.gui-text{background:transparent;border:0}.gui-button.gui-text:hover{background:#e6e6e6}.gui-button.gui-text:focus{background:#e6e6e6}.gui-button.gui-text.gui-primary{color:#2185d0}.gui-button.gui-text.gui-primary:hover{background:#2185d0;color:#fff}.gui-button.gui-text.gui-primary:focus{background:#2185d0;color:#fff}.gui-button.gui-text.gui-secondary{color:#3cb371}.gui-button.gui-text.gui-secondary:hover{background:#3cb371;color:#fff}.gui-button.gui-text.gui-secondary:focus{background:#3cb371;color:#fff}.gui-button.gui-text.gui-button:disabled{background:transparent}.gui-button.gui-text.gui-button:disabled .gui-text-disabled{display:inline-block}.gui-button:hover{background:#cccccc;color:#333}.gui-button:active{background:#999;color:#333}.gui-button:disabled{color:#ccc;cursor:default;pointer-events:none}\\n\", \".gui-dark .gui-button{background:#424242;color:#bdbdbd}.gui-dark .gui-button.gui-outline:focus{box-shadow:0 0 0 2px #616161}.gui-dark .gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 2px #ce93d8}.gui-dark .gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 2px #80cbc4}.gui-dark .gui-button.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-button.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-button.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-button.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-button.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-button.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-button.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-button.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-button.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-button.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-button.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-button.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-dark .gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-dark .gui-button.gui-link:focus{text-decoration:underline}.gui-dark .gui-button.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-button.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-button.gui-outline.gui-badge{background:#121212}.gui-dark .gui-button.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-button.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-button.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-button.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-button.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-button.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}.gui-dark .gui-button:hover{background:#616161}.gui-dark .gui-button:active{background:#212121}.gui-dark .gui-button:disabled{opacity:.36}\\n\", \".gui-light .gui-button{background:#f6f5f4;border-color:#d8d7d6;color:#333;font-family:Roboto,Helvetica Neue,sans-serif}.gui-light .gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-light .gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-light .gui-button.gui-link:focus{text-decoration:underline}.gui-light .gui-button:hover{background:#ecebeb}.gui-light .gui-button:active{background:#f6f5f4}.gui-light .gui-button:disabled{opacity:.5}\\n\", \".gui-material .gui-button{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500;padding:10px 16px}.gui-material .gui-button.gui-outline:focus{box-shadow:0 0 0 1px #5262c5}.gui-material .gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 1px #6200ee}.gui-material .gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 1px #0097a7}.gui-material .gui-button.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-button.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-button.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-button.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-button.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-button.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-button.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-button.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-button.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-button.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-button.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-button.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-button.gui-link{background:transparent;border:0;color:#3949ab}.gui-material .gui-button.gui-link:hover{color:#4051bf}.gui-material .gui-button.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-button.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-button.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-button.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-button.gui-outline.gui-badge{background:#fff}.gui-material .gui-button.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-button.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-button.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-button.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-button.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-button.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}.gui-material .gui-button:hover{background:#5262c5}.gui-material .gui-button:active{background:#4051bf}.gui-material .gui-button:disabled{background:#c5cae9;color:#7885d2}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n link: [{\n type: Input\n }],\n text: [{\n type: Input\n }]\n });\n})();\nclass FabricButtonModule {\n static ɵfac = function FabricButtonModule_Factory(t) {\n return new (t || FabricButtonModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricButtonModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricButtonModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricButtonComponent],\n exports: [FabricButtonComponent]\n }]\n }], null, null);\n})();\nclass FabricButtonGroupComponent {\n static ɵfac = function FabricButtonGroupComponent_Factory(t) {\n return new (t || FabricButtonGroupComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricButtonGroupComponent,\n selectors: [[\"gui-button-group\"]],\n hostVars: 2,\n hostBindings: function FabricButtonGroupComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-button-group\", true);\n }\n },\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function FabricButtonGroupComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n styles: [\".gui-button-group{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-button-group .gui-button{border-radius:0}.gui-button-group .gui-button:not(:last-child){border-right:none;margin:0}.gui-button-group .gui-button:last-child{border-radius:0 4px 4px 0}.gui-button-group .gui-button:first-child{border-radius:4px 0 0 4px}.gui-button-group .gui-button-toggle .gui-button{border-radius:0}.gui-button-group .gui-button-toggle:not(:last-child) .gui-button{border-right:none;margin:0}.gui-button-group .gui-button-toggle:last-child .gui-button{border-radius:0 4px 4px 0}.gui-button-group .gui-button-toggle:first-child .gui-button{border-radius:4px 0 0 4px}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricButtonGroupComponent, [{\n type: Component,\n args: [{\n selector: 'gui-button-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-button-group]': 'true'\n },\n template: \"<ng-content></ng-content>\\n\",\n styles: [\".gui-button-group{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-button-group .gui-button{border-radius:0}.gui-button-group .gui-button:not(:last-child){border-right:none;margin:0}.gui-button-group .gui-button:last-child{border-radius:0 4px 4px 0}.gui-button-group .gui-button:first-child{border-radius:4px 0 0 4px}.gui-button-group .gui-button-toggle .gui-button{border-radius:0}.gui-button-group .gui-button-toggle:not(:last-child) .gui-button{border-right:none;margin:0}.gui-button-group .gui-button-toggle:last-child .gui-button{border-radius:0 4px 4px 0}.gui-button-group .gui-button-toggle:first-child .gui-button{border-radius:4px 0 0 4px}\\n\"]\n }]\n }], null, null);\n})();\nclass FabricButtonGroupModule {\n static ɵfac = function FabricButtonGroupModule_Factory(t) {\n return new (t || FabricButtonGroupModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricButtonGroupModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricButtonGroupModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricButtonGroupComponent],\n exports: [FabricButtonGroupComponent]\n }]\n }], null, null);\n})();\nclass FabricCardComponent {\n title = '';\n image;\n alt;\n contentBlock = [];\n isTitleEnabled() {\n return !!this.title;\n }\n isImgEnabled() {\n return !!this.image;\n }\n isContentBlockEnabled() {\n return !!this.contentBlock;\n }\n static ɵfac = function FabricCardComponent_Factory(t) {\n return new (t || FabricCardComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricCardComponent,\n selectors: [[\"gui-card\"]],\n hostVars: 2,\n hostBindings: function FabricCardComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-card\", true);\n }\n },\n inputs: {\n title: \"title\",\n image: \"image\",\n alt: \"alt\",\n contentBlock: \"contentBlock\"\n },\n ngContentSelectors: _c0,\n decls: 9,\n vars: 13,\n consts: [[1, \"gui-card-body\"], [1, \"gui-card-image-wrapper\"], [3, \"ngClass\", \"alt\", \"src\"], [3, \"ngClass\"], [3, \"ngClass\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-content\"]],\n template: function FabricCardComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1);\n i0.ɵɵelement(2, \"img\", 2);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"div\", 3);\n i0.ɵɵtext(4);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(5, \"div\", 3);\n i0.ɵɵtemplate(6, FabricCardComponent_div_6_Template, 2, 4, \"div\", 4);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"div\", 5);\n i0.ɵɵprojection(8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(2);\n i0.ɵɵpropertyInterpolate(\"alt\", ctx.alt);\n i0.ɵɵpropertyInterpolate(\"src\", ctx.image, i0.ɵɵsanitizeUrl);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(7, _c2, ctx.isImgEnabled()));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(9, _c3, ctx.isTitleEnabled()));\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx.title, \" \");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(11, _c4, ctx.isContentBlockEnabled()));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx.contentBlock);\n }\n },\n dependencies: [i1.NgClass, i1.NgForOf],\n styles: [\".gui-card .gui-card-img{border-radius:4px 4px 0 0;height:auto;margin:0 0 12px;width:350px}.gui-card .gui-card-body{background:#fff;border-radius:4px;box-shadow:0 1px 3px #999;box-sizing:border-box;font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;margin:0;padding:0 0 20px;transition:transform .3s ease-in-out;width:350px}.gui-card .gui-card-body:hover{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.gui-card .gui-card-body .gui-card-title{font-size:20px;font-weight:700;margin:0 0 12px;padding:0 20px}.gui-card .gui-card-body .gui-card-content-block{margin:0 0 12px}.gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item{border-top-color:#d6d6d6;border-top-style:solid;border-top-width:1px;padding:12px 20px}.gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item:last-child{border-bottom-color:#d6d6d6;border-bottom-style:solid;border-bottom-width:1px}.gui-card .gui-card-body .gui-content{padding:0 20px}\\n\", \".gui-material .gui-card .gui-card-body{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-card .gui-card-body{background:#121212;border-color:#616161;color:#bdbdbd}.gui-dark .gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item{border-top-color:#616161}.gui-dark .gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item:last-child{border-bottom-color:#616161}.gui-dark .gui-content-block .gui-card-content-block{border-color:#616161}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricCardComponent, [{\n type: Component,\n args: [{\n selector: 'gui-card',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-card]': 'true'\n },\n template: \"<div class=\\\"gui-card-body\\\">\\n\\n\\t<div class=\\\"gui-card-image-wrapper\\\">\\n\\t\\t<img [ngClass]=\\\"{'gui-card-img': isImgEnabled()}\\\"\\n\\t\\t\\t alt=\\\"{{alt}}\\\" src=\\\"{{image}}\\\"/>\\n\\t</div>\\n\\n\\t<div [ngClass]=\\\"{'gui-card-title': isTitleEnabled()}\\\">\\n\\t\\t{{title}}\\n\\t</div>\\n\\n\\t<div [ngClass]=\\\"{'gui-card-content-block': isContentBlockEnabled()}\\\">\\n\\t\\t<div\\n\\t\\t\\t*ngFor=\\\"let block of contentBlock\\\"\\n\\t\\t\\t[ngClass]=\\\"{'gui-card-content-block-item': isContentBlockEnabled()}\\\">\\n\\t\\t\\t{{block}}\\n\\t\\t</div>\\n\\t</div>\\n\\n\\t<div class=\\\"gui-content\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\",\n styles: [\".gui-card .gui-card-img{border-radius:4px 4px 0 0;height:auto;margin:0 0 12px;width:350px}.gui-card .gui-card-body{background:#fff;border-radius:4px;box-shadow:0 1px 3px #999;box-sizing:border-box;font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;margin:0;padding:0 0 20px;transition:transform .3s ease-in-out;width:350px}.gui-card .gui-card-body:hover{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.gui-card .gui-card-body .gui-card-title{font-size:20px;font-weight:700;margin:0 0 12px;padding:0 20px}.gui-card .gui-card-body .gui-card-content-block{margin:0 0 12px}.gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item{border-top-color:#d6d6d6;border-top-style:solid;border-top-width:1px;padding:12px 20px}.gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item:last-child{border-bottom-color:#d6d6d6;border-bottom-style:solid;border-bottom-width:1px}.gui-card .gui-card-body .gui-content{padding:0 20px}\\n\", \".gui-material .gui-card .gui-card-body{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-card .gui-card-body{background:#121212;border-color:#616161;color:#bdbdbd}.gui-dark .gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item{border-top-color:#616161}.gui-dark .gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item:last-child{border-bottom-color:#616161}.gui-dark .gui-content-block .gui-card-content-block{border-color:#616161}\\n\"]\n }]\n }], null, {\n title: [{\n type: Input\n }],\n image: [{\n type: Input\n }],\n alt: [{\n type: Input\n }],\n contentBlock: [{\n type: Input\n }]\n });\n})();\nclass FabricCardModule {\n static ɵfac = function FabricCardModule_Factory(t) {\n return new (t || FabricCardModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricCardModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricCardModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricCardComponent],\n exports: [FabricCardComponent]\n }]\n }], null, null);\n})();\nclass FabricCheckboxComponent {\n elementRef;\n renderer;\n inputRef;\n name = '';\n inputChecked = false;\n disabled = false;\n readonly = false;\n indeterminate = false;\n changed = new EventEmitter();\n checked = false;\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n this.checked = this.inputChecked;\n if (changes['disabled']) {\n if (this.disabled) {\n this.renderer.addClass(this.elementRef.nativeElement, 'gui-disabled');\n } else {\n this.renderer.removeClass(this.elementRef.nativeElement, 'gui-disabled');\n }\n }\n if (changes['readonly']) {\n if (this.readonly) {\n this.renderer.addClass(this.elementRef.nativeElement, 'gui-readonly');\n } else {\n this.renderer.removeClass(this.elementRef.nativeElement, 'gui-readonly');\n }\n }\n if (changes['indeterminate']) {\n if (this.inputRef) {\n if (this.indeterminate) {\n this.inputRef.nativeElement.indeterminate = true;\n } else {\n this.inputRef.nativeElement.indeterminate = false;\n this.inputRef.nativeElement.checked = this.checked;\n }\n }\n }\n }\n ngAfterViewInit() {\n if (this.inputRef) {\n this.inputRef.nativeElement.indeterminate = this.indeterminate;\n }\n }\n check(event) {\n event.stopPropagation();\n this.checked = !this.checked;\n this.changed.emit(this.checked);\n }\n static ɵfac = function FabricCheckboxComponent_Factory(t) {\n return new (t || FabricCheckboxComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricCheckboxComponent,\n selectors: [[\"gui-checkbox\"]],\n viewQuery: function FabricCheckboxComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c6, 5, ElementRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);\n }\n },\n hostVars: 2,\n hostBindings: function FabricCheckboxComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-checkbox\", true);\n }\n },\n inputs: {\n name: \"name\",\n inputChecked: [i0.ɵɵInputFlags.None, \"checked\", \"inputChecked\"],\n disabled: \"disabled\",\n readonly: \"readonly\",\n indeterminate: \"indeterminate\"\n },\n outputs: {\n changed: \"changed\"\n },\n features: [i0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c0,\n decls: 5,\n vars: 3,\n consts: [[\"input\", \"\"], [\"type\", \"checkbox\", 3, \"click\", \"checked\", \"disabled\"], [1, \"gui-checkmark\"]],\n template: function FabricCheckboxComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"label\")(1, \"input\", 1, 0);\n i0.ɵɵlistener(\"click\", function FabricCheckboxComponent_Template_input_click_1_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.check($event));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelement(3, \"span\", 2);\n i0.ɵɵprojection(4);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"checked\", ctx.checked)(\"disabled\", ctx.disabled);\n i0.ɵɵattribute(\"name\", ctx.name);\n }\n },\n styles: [\".gui-checkbox{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:24px;padding-left:32px;position:relative}.gui-checkbox label{cursor:pointer}.gui-checkbox label:hover .gui-checkmark{border-color:#999}.gui-checkbox input{height:0;opacity:0;position:absolute;width:0}.gui-checkbox .gui-checkmark{border-color:#575757;border-radius:4px;border-style:solid;border-width:2px;box-sizing:content-box;height:20px;left:0;position:absolute;width:20px}.gui-checkbox input:checked+.gui-checkmark{border-color:#575757}.gui-checkbox.gui-disabled.gui-checkbox{color:#ccc;pointer-events:none}.gui-checkbox.gui-readonly.gui-checkbox{pointer-events:none}.gui-checkbox .gui-checkmark:after{content:\\\" \\\";display:none;left:6px;position:absolute;-ms-transform:rotate(45deg);transform:rotate(45deg)}.gui-checkbox input:checked+.gui-checkmark:after{box-sizing:content-box;display:block}.gui-checkbox .gui-checkmark:after{border-color:#575757;border-style:solid;border-width:0 3.2px 3.2px 0;height:12px;width:5.2px}.gui-checkbox input:indeterminate+.gui-checkmark:after{display:block;height:10px;left:9px;top:4px;-ms-transform:rotate(90deg);transform:rotate(90deg);width:0}\\n\", \".gui-material .gui-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.gui-material .gui-checkbox input:focus+.gui-checkmark{border-color:#3949ab}.gui-material .gui-checkbox label:hover .gui-checkmark{border-color:#575757}.gui-material .gui-checkbox .gui-checkmark{border-color:#999}.gui-material .gui-checkbox input:checked+.gui-checkmark{background:#3949ab;border-color:#3949ab}.gui-material .gui-checkbox .gui-checkmark:after{border-color:#fff}.gui-material .gui-checkbox.gui-indeterminate .gui-checkmark{background:#3949ab;border-color:#3949ab}\\n\", \".gui-dark .gui-checkbox{color:#bdbdbd}.gui-dark .gui-checkbox .gui-checkmark{border-color:#878787}.gui-dark .gui-checkbox input:checked+.gui-checkmark{border-color:#878787}.gui-dark .gui-checkbox .gui-checkmark:after{border-color:#878787}.gui-dark .gui-checkbox.gui-disabled.gui-checkbox{opacity:.36}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricCheckboxComponent, [{\n type: Component,\n args: [{\n selector: 'gui-checkbox',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-checkbox]': 'true'\n },\n template: \"<label>\\n\\t<input #input\\n\\t\\t (click)=\\\"check($event)\\\"\\n\\t\\t [attr.name]=\\\"name\\\"\\n\\t\\t [checked]=\\\"checked\\\"\\n\\t\\t [disabled]=\\\"disabled\\\"\\n\\t\\t type=\\\"checkbox\\\">\\n\\t<span class=\\\"gui-checkmark\\\"></span>\\n\\t<ng-content></ng-content>\\n</label>\\n\",\n styles: [\".gui-checkbox{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:24px;padding-left:32px;position:relative}.gui-checkbox label{cursor:pointer}.gui-checkbox label:hover .gui-checkmark{border-color:#999}.gui-checkbox input{height:0;opacity:0;position:absolute;width:0}.gui-checkbox .gui-checkmark{border-color:#575757;border-radius:4px;border-style:solid;border-width:2px;box-sizing:content-box;height:20px;left:0;position:absolute;width:20px}.gui-checkbox input:checked+.gui-checkmark{border-color:#575757}.gui-checkbox.gui-disabled.gui-checkbox{color:#ccc;pointer-events:none}.gui-checkbox.gui-readonly.gui-checkbox{pointer-events:none}.gui-checkbox .gui-checkmark:after{content:\\\" \\\";display:none;left:6px;position:absolute;-ms-transform:rotate(45deg);transform:rotate(45deg)}.gui-checkbox input:checked+.gui-checkmark:after{box-sizing:content-box;display:block}.gui-checkbox .gui-checkmark:after{border-color:#575757;border-style:solid;border-width:0 3.2px 3.2px 0;height:12px;width:5.2px}.gui-checkbox input:indeterminate+.gui-checkmark:after{display:block;height:10px;left:9px;top:4px;-ms-transform:rotate(90deg);transform:rotate(90deg);width:0}\\n\", \".gui-material .gui-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.gui-material .gui-checkbox input:focus+.gui-checkmark{border-color:#3949ab}.gui-material .gui-checkbox label:hover .gui-checkmark{border-color:#575757}.gui-material .gui-checkbox .gui-checkmark{border-color:#999}.gui-material .gui-checkbox input:checked+.gui-checkmark{background:#3949ab;border-color:#3949ab}.gui-material .gui-checkbox .gui-checkmark:after{border-color:#fff}.gui-material .gui-checkbox.gui-indeterminate .gui-checkmark{background:#3949ab;border-color:#3949ab}\\n\", \".gui-dark .gui-checkbox{color:#bdbdbd}.gui-dark .gui-checkbox .gui-checkmark{border-color:#878787}.gui-dark .gui-checkbox input:checked+.gui-checkmark{border-color:#878787}.gui-dark .gui-checkbox .gui-checkmark:after{border-color:#878787}.gui-dark .gui-checkbox.gui-disabled.gui-checkbox{opacity:.36}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n inputRef: [{\n type: ViewChild,\n args: ['input', {\n read: ElementRef,\n static: false\n }]\n }],\n name: [{\n type: Input\n }],\n inputChecked: [{\n type: Input,\n args: ['checked']\n }],\n disabled: [{\n type: Input\n }],\n readonly: [{\n type: Input\n }],\n indeterminate: [{\n type: Input\n }],\n changed: [{\n type: Output\n }]\n });\n})();\nclass FabricCheckboxModule {\n static ɵfac = function FabricCheckboxModule_Factory(t) {\n return new (t || FabricCheckboxModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricCheckboxModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricCheckboxModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricCheckboxComponent],\n exports: [FabricCheckboxComponent]\n }]\n }], null, null);\n})();\nclass FabricChipComponent extends Indicator {\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n static ɵfac = function FabricChipComponent_Factory(t) {\n return new (t || FabricChipComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricChipComponent,\n selectors: [[\"gui-chip\"]],\n hostVars: 2,\n hostBindings: function FabricChipComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-chip\", true);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function FabricChipComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n styles: [\".gui-chip{background:#e6e6e6;border-radius:4px;box-sizing:border-box;color:#595959;display:inline-block;font-family:Arial;font-size:14px;font-weight:700;margin:0 2px;padding:9.6px 12px}.gui-chip.gui-primary{background:#2185d0;color:#fff}.gui-chip.gui-primary.gui-outline{color:#2185d0}.gui-chip.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-chip.gui-primary:active{background:#1a69a4;color:#fff}.gui-chip.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-chip.gui-primary.gui-badge{background:#439de1}.gui-chip.gui-secondary{background:#3cb371;color:#fff}.gui-chip.gui-secondary.gui-outline{color:#3cb371}.gui-chip.gui-secondary.gui-button:hover{background:#36a065}.gui-chip.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-chip.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-chip.gui-secondary.gui-badge{background:#5ac88b}.gui-chip.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-chip.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-chip.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-chip.gui-outline.gui-badge{background:#fff}.gui-chip.gui-outline.gui-primary{border-color:#439de1}.gui-chip.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-chip.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-chip.gui-outline.gui-secondary{border-color:#5ac88b}.gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-chip.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}\\n\", \".gui-material .gui-chip{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500;padding:10px 16px}.gui-material .gui-chip.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-chip.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-chip.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-chip.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-chip.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-chip.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-chip.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-chip.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-chip.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-chip.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-chip.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-chip.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-chip.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-chip.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-chip.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-chip.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-chip.gui-outline.gui-badge{background:#fff}.gui-material .gui-chip.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-chip.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-chip.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-chip.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}\\n\", \".gui-dark .gui-chip{background:#333;color:#bdbdbd}.gui-dark .gui-chip.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-chip.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-chip.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-chip.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-chip.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-chip.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-chip.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-chip.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-chip.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-chip.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-chip.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-chip.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-chip.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-chip.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-chip.gui-outline.gui-badge{background:#121212}.gui-dark .gui-chip.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-chip.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-chip.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-chip.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}\\n\", \".gui-light .gui-chip{background:#f6f5f4;border-color:#333;border-style:solid;border-width:1px;color:#333}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricChipComponent, [{\n type: Component,\n args: [{\n selector: 'gui-chip',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-chip]': 'true'\n },\n template: \"<ng-content></ng-content>\\n\",\n styles: [\".gui-chip{background:#e6e6e6;border-radius:4px;box-sizing:border-box;color:#595959;display:inline-block;font-family:Arial;font-size:14px;font-weight:700;margin:0 2px;padding:9.6px 12px}.gui-chip.gui-primary{background:#2185d0;color:#fff}.gui-chip.gui-primary.gui-outline{color:#2185d0}.gui-chip.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-chip.gui-primary:active{background:#1a69a4;color:#fff}.gui-chip.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-chip.gui-primary.gui-badge{background:#439de1}.gui-chip.gui-secondary{background:#3cb371;color:#fff}.gui-chip.gui-secondary.gui-outline{color:#3cb371}.gui-chip.gui-secondary.gui-button:hover{background:#36a065}.gui-chip.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-chip.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-chip.gui-secondary.gui-badge{background:#5ac88b}.gui-chip.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-chip.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-chip.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-chip.gui-outline.gui-badge{background:#fff}.gui-chip.gui-outline.gui-primary{border-color:#439de1}.gui-chip.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-chip.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-chip.gui-outline.gui-secondary{border-color:#5ac88b}.gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-chip.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}\\n\", \".gui-material .gui-chip{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500;padding:10px 16px}.gui-material .gui-chip.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-chip.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-chip.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-chip.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-chip.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-chip.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-chip.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-chip.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-chip.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-chip.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-chip.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-chip.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-chip.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-chip.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-chip.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-chip.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-chip.gui-outline.gui-badge{background:#fff}.gui-material .gui-chip.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-chip.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-chip.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-chip.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}\\n\", \".gui-dark .gui-chip{background:#333;color:#bdbdbd}.gui-dark .gui-chip.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-chip.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-chip.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-chip.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-chip.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-chip.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-chip.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-chip.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-chip.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-chip.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-chip.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-chip.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-chip.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-chip.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-chip.gui-outline.gui-badge{background:#121212}.gui-dark .gui-chip.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-chip.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-chip.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-chip.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}\\n\", \".gui-light .gui-chip{background:#f6f5f4;border-color:#333;border-style:solid;border-width:1px;color:#333}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], null);\n})();\nclass FabricChipModule {\n static ɵfac = function FabricChipModule_Factory(t) {\n return new (t || FabricChipModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricChipModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricChipModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricChipComponent],\n exports: [FabricChipComponent]\n }]\n }], null, null);\n})();\nclass FabricReactive {\n unsubscribe$ = new Subject();\n constructor() {}\n ngOnDestroy() {\n this.unsubscribe();\n }\n unsubscribe() {\n if (this.unsubscribe$.isStopped) {\n return;\n }\n this.unsubscribe$.next();\n this.unsubscribe$.complete();\n }\n static ɵfac = function FabricReactive_Factory(t) {\n return new (t || FabricReactive)();\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: FabricReactive\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricReactive, [{\n type: Directive\n }], () => [], null);\n})();\nvar FabricCalendarView;\n(function (FabricCalendarView) {\n FabricCalendarView[FabricCalendarView[\"DAYS\"] = 0] = \"DAYS\";\n FabricCalendarView[FabricCalendarView[\"MONTHS\"] = 1] = \"MONTHS\";\n FabricCalendarView[FabricCalendarView[\"YEARS\"] = 2] = \"YEARS\";\n})(FabricCalendarView || (FabricCalendarView = {}));\nvar FabricDatePickerComposition;\n(function (FabricDatePickerComposition) {\n FabricDatePickerComposition[FabricDatePickerComposition[\"NONE\"] = 0] = \"NONE\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"DATE_PICKER\"] = 1] = \"DATE_PICKER\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER\"] = 2] = \"TIME_PICKER\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER_HOURS\"] = 4] = \"TIME_PICKER_HOURS\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER_MINUTES\"] = 8] = \"TIME_PICKER_MINUTES\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER_SECONDS\"] = 16] = \"TIME_PICKER_SECONDS\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER_MERIDIAN\"] = 32] = \"TIME_PICKER_MERIDIAN\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"ALL\"] = 63] = \"ALL\";\n})(FabricDatePickerComposition || (FabricDatePickerComposition = {}));\nconst FabricDatePickerDefaultActiveMonth = new Date().getMonth();\nconst FabricDatePickerDefaultActiveYear = new Date().getFullYear();\nclass FabricDatePickerService {\n selectedDate = new Date();\n selectedTime;\n selectedDate$ = new BehaviorSubject(this.selectedDate);\n observeSelectedDate() {\n return this.selectedDate$.asObservable();\n }\n dateSelected(date) {\n this.selectedDate = new Date(date.getTime());\n this.setSelectedDateTime();\n this.selectedDate$.next(this.selectedDate);\n }\n changeTime(timeValues, date) {\n this.selectedTime = timeValues;\n if (!this.selectedDate) {\n this.selectedDate = date;\n }\n this.setSelectedDateTime();\n }\n next() {\n this.dateSelected(this.selectedDate);\n }\n setSelectedDateTime() {\n if (this.selectedTime) {\n this.selectedDate.setHours(this.selectedTime.hours);\n this.selectedDate.setMinutes(this.selectedTime.minutes);\n this.selectedDate.setSeconds(this.selectedTime.seconds);\n }\n }\n static ɵfac = function FabricDatePickerService_Factory(t) {\n return new (t || FabricDatePickerService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDatePickerService,\n factory: FabricDatePickerService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerService, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricDatePickerCompositionService {\n datePickerFormat$ = new BehaviorSubject(FabricDatePickerComposition.DATE_PICKER);\n onComposition() {\n return this.datePickerFormat$.asObservable();\n }\n next(datePipeOptions) {\n this.datePickerFormat$.next(this.getComposition(datePipeOptions));\n }\n getComposition(datePipeOptions) {\n const removeDoubles = datePipeOptions.split(':').join(' '),\n removeDash = removeDoubles.split('/').join(' '),\n removeDot = removeDash.split('.').join(' '),\n removeComa = removeDot.split(',').join(' '),\n formatArray = removeComa.split(' ');\n let composition = FabricDatePickerComposition.NONE;\n formatArray.forEach(formatItem => {\n const isDays = formatItem.toLowerCase().includes('d'),\n isMonths = formatItem.includes('M'),\n isYears = formatItem.toLowerCase().includes('y'),\n showHours = formatItem.toLowerCase().includes('h'),\n showMinutes = formatItem.includes('m'),\n showSeconds = formatItem.toLowerCase().includes('s'),\n isMeridian = formatItem.includes('h'),\n showDatePicker = isDays || isMonths || isYears,\n showTimePicker = showHours || showMinutes || showSeconds;\n if (showDatePicker) {\n composition = composition | FabricDatePickerComposition.DATE_PICKER;\n }\n if (showTimePicker) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER;\n }\n if (isMeridian) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER_MERIDIAN;\n }\n if (showHours) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER_HOURS;\n }\n if (showMinutes) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER_MINUTES;\n }\n if (showSeconds) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER_SECONDS;\n }\n });\n return composition;\n }\n static ɵfac = function FabricDatePickerCompositionService_Factory(t) {\n return new (t || FabricDatePickerCompositionService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDatePickerCompositionService,\n factory: FabricDatePickerCompositionService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerCompositionService, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricDatePickerWeeks {\n weeks = [];\n getDaysInMonths(year, month) {\n this.resetWeeks();\n const numberOfDaysInMonth = new Date(year, month + 1, 0).getDate();\n for (let i = 1; i <= numberOfDaysInMonth; i++) {\n this.createWeeks(new Date(year, month, i));\n }\n return this.weeks;\n }\n createWeeks(date) {\n const day = date.getDate(),\n maxWeekNumber = 6;\n for (let i = 0; i < maxWeekNumber; i++) {\n if (day === 1) {\n this.addDaysToWeek(i, date);\n } else if (this.canAddDaysToWeek(i, day)) {\n this.addDaysToWeek(i, this.getLastDayDate(this.weeks[i - 1]));\n }\n }\n this.weeks = [this.weeks[0], this.weeks[1], this.weeks[2], this.weeks[3], this.weeks[4], this.weeks[5]];\n }\n addDaysToWeek(weekNumber, date) {\n const week = this.weeks[weekNumber];\n for (let i = 1; i <= 7; i++) {\n const isFirstDaySunday = date.getDay() === 0 && this.weeks[0].length === 0;\n let day;\n if (isFirstDaySunday) {\n day = date.getDate() - 6;\n } else {\n day = date.getDate() - date.getDay() + i;\n }\n const dayOfWeek = new Date(date.setDate(day));\n if (week.length < 7) {\n week.push(dayOfWeek);\n }\n }\n }\n getLastDayNumber(week) {\n if (week.length === 7) {\n return week[week.length - 1].getDate();\n }\n return 0;\n }\n getLastDayDate(week) {\n const lastDay = week[week.length - 1].getDate();\n return new Date(week[week.length - 1].setDate(lastDay));\n }\n canAddDaysToWeek(weekNumber, day) {\n return this.weeks[weekNumber].length === 0 && this.weeks[weekNumber - 1].length === 7 && day > this.getLastDayNumber(this.weeks[weekNumber - 1]);\n }\n resetWeeks() {\n this.weeks = [];\n this.weeks[0] = [];\n this.weeks[1] = [];\n this.weeks[2] = [];\n this.weeks[3] = [];\n this.weeks[4] = [];\n this.weeks[5] = [];\n }\n static ɵfac = function FabricDatePickerWeeks_Factory(t) {\n return new (t || FabricDatePickerWeeks)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDatePickerWeeks,\n factory: FabricDatePickerWeeks.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerWeeks, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricDatePickerYears {\n rowsForDisplay = [];\n minYear = 0;\n maxYear = 0;\n selectedYear = 0;\n inc = 10;\n getYears(selectedYear) {\n this.minYear = selectedYear - 50;\n this.maxYear = selectedYear + 50;\n const yearsRange = this.maxYear - this.minYear;\n let years = [],\n rows = [];\n years = this.createYearsPool(this.minYear, yearsRange, years);\n rows = this.divideYearsPool(years, rows);\n return this.rowsForDisplay = this.createRowsForDisplay(rows, selectedYear);\n }\n prevYearRange(year) {\n if (!this.selectedYear) {\n this.selectedYear = year;\n }\n if (this.selectedYear > this.minYear) {\n this.selectedYear -= this.inc;\n }\n if (this.selectedYear > this.minYear) {\n return this.getYears(this.selectedYear);\n } else {\n return this.rowsForDisplay;\n }\n }\n nextYearRange(year) {\n if (!this.selectedYear) {\n this.selectedYear = year;\n }\n if (this.selectedYear < this.maxYear) {\n this.selectedYear += this.inc;\n }\n if (this.selectedYear < this.maxYear) {\n return this.getYears(this.selectedYear);\n } else {\n return this.rowsForDisplay;\n }\n }\n createYearsPool(minYear, yearsRange, years) {\n for (let i = 0; i <= yearsRange; i++) {\n years.push(minYear + i);\n }\n return years;\n }\n divideYearsPool(years, rows) {\n for (let i = 0; i < years.length; i += 5) {\n rows.push(years.slice(i, i + 5));\n }\n return rows;\n }\n createRowsForDisplay(rows, selectedYear) {\n if (selectedYear >= this.minYear || selectedYear <= this.maxYear) {\n for (let i = 0; i < rows.length; i++) {\n if (rows[i].indexOf(selectedYear) > -1) {\n if (!rows[i - 1]) {\n return [rows[i], rows[i + 1], rows[i + 2], rows[i + 3], rows[i + 4]];\n }\n if (!rows[i - 2]) {\n return [rows[i - 1], rows[i], rows[i + 1], rows[i + 2], rows[i + 3]];\n }\n if (!rows[i + 1]) {\n return [rows[i - 4], rows[i - 3], rows[i - 2], rows[i - 1], rows[i]];\n }\n if (!rows[i + 2]) {\n return [rows[i - 3], rows[i - 2], rows[i - 1], rows[i], rows[i + 1]];\n }\n return this.rowsForDisplay = [rows[i - 2], rows[i - 1], rows[i], rows[i + 1], rows[i + 2]];\n }\n }\n }\n return [[]];\n }\n static ɵfac = function FabricDatePickerYears_Factory(t) {\n return new (t || FabricDatePickerYears)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDatePickerYears,\n factory: FabricDatePickerYears.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerYears, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricDatePickerYearsService {\n years$ = new Subject();\n onYears() {\n return this.years$.asObservable();\n }\n next(years) {\n this.years$.next(years);\n }\n static ɵfac = function FabricDatePickerYearsService_Factory(t) {\n return new (t || FabricDatePickerYearsService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDatePickerYearsService,\n factory: FabricDatePickerYearsService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerYearsService, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricDatePickerCalendarService {\n activeMonth$ = new Subject();\n activeYear$ = new Subject();\n onActiveMonth() {\n return this.activeMonth$.asObservable();\n }\n onActiveYear() {\n return this.activeYear$.asObservable();\n }\n nextMonth(year, month) {\n if (month === 11) {\n this.activeYear$.next(year + 1);\n this.selectMonth(0);\n } else {\n this.selectMonth(month + 1);\n }\n }\n prevMonth(year, month) {\n if (month === 0) {\n this.activeYear$.next(year - 1);\n this.selectMonth(11);\n } else {\n this.selectMonth(month - 1);\n }\n }\n selectYear(year) {\n this.activeYear$.next(year);\n }\n selectMonth(month) {\n this.activeMonth$.next(month);\n }\n static ɵfac = function FabricDatePickerCalendarService_Factory(t) {\n return new (t || FabricDatePickerCalendarService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDatePickerCalendarService,\n factory: FabricDatePickerCalendarService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerCalendarService, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricDatePickerCalendarViewService {\n activeView$ = new Subject();\n onActiveView() {\n return this.activeView$.asObservable();\n }\n switchView(viewName) {\n this.activeView$.next(viewName);\n }\n static ɵfac = function FabricDatePickerCalendarViewService_Factory(t) {\n return new (t || FabricDatePickerCalendarViewService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDatePickerCalendarViewService,\n factory: FabricDatePickerCalendarViewService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerCalendarViewService, [{\n type: Injectable\n }], null, null);\n})();\nconst daysOfTheWeek = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];\nclass FabricDateUtils {\n static areDatesSame(firstDay, secondDate) {\n return firstDay && secondDate && firstDay.getDate() === secondDate.getDate() && firstDay.getMonth() === secondDate.getMonth() && firstDay.getFullYear() === secondDate.getFullYear();\n }\n static isMonth(date, month, year) {\n return date.getMonth() === month && date.getFullYear() === year;\n }\n}\nclass FabricDatePickerDaysViewComponent {\n datePickerService;\n selectedDate;\n activeMonth = FabricDatePickerDefaultActiveMonth;\n weeks = [];\n daysOfTheWeek = daysOfTheWeek;\n currentDay = new Date();\n constructor(datePickerService) {\n this.datePickerService = datePickerService;\n }\n selectDate(date) {\n this.datePickerService.dateSelected(date);\n }\n isDate(comparedDate, date) {\n return FabricDateUtils.areDatesSame(comparedDate, date);\n }\n displayMonthDays(month) {\n return month === this.activeMonth;\n }\n static ɵfac = function FabricDatePickerDaysViewComponent_Factory(t) {\n return new (t || FabricDatePickerDaysViewComponent)(i0.ɵɵdirectiveInject(FabricDatePickerService));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDatePickerDaysViewComponent,\n selectors: [[\"gui-date-picker-days-view\"]],\n inputs: {\n selectedDate: \"selectedDate\",\n activeMonth: \"activeMonth\",\n weeks: \"weeks\"\n },\n decls: 4,\n vars: 2,\n consts: [[1, \"gui-display-grid\", \"gui-grid-rows-gap-8\", \"gui-py-6\"], [1, \"gui-display-grid\", \"gui-grid-cols-7\", \"gui-py-4\", \"gui-date-picker-header\"], [4, \"ngFor\", \"ngForOf\"], [\"class\", \"gui-display-grid gui-grid-cols-7\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-display-grid\", \"gui-grid-cols-7\"], [\"class\", \"gui-date-picker-cell gui-date-picker-day\", 3, \"gui-date-picker-current-day\", \"gui-date-picker-selected-day\", \"gui-date-picker-selected-month\", \"click\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-date-picker-cell\", \"gui-date-picker-day\", 3, \"click\"]],\n template: function FabricDatePickerDaysViewComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1);\n i0.ɵɵtemplate(2, FabricDatePickerDaysViewComponent_div_2_Template, 2, 1, \"div\", 2);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(3, FabricDatePickerDaysViewComponent_div_3_Template, 2, 1, \"div\", 3);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngForOf\", ctx.daysOfTheWeek);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx.weeks);\n }\n },\n dependencies: [i1.NgForOf],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerDaysViewComponent, [{\n type: Component,\n args: [{\n selector: 'gui-date-picker-days-view',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6\\\">\\n\\n\\t<div class=\\\"gui-display-grid gui-grid-cols-7 gui-py-4 gui-date-picker-header\\\">\\n\\t\\t<div *ngFor=\\\"let dayOfTheWeek of daysOfTheWeek\\\">{{dayOfTheWeek}}</div>\\n\\t</div>\\n\\n\\t<div *ngFor=\\\"let week of weeks\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-7\\\">\\n\\n\\t\\t<div (click)=\\\"selectDate(day)\\\"\\n\\t\\t\\t *ngFor=\\\"let day of week\\\"\\n\\t\\t\\t [class.gui-date-picker-current-day]=\\\"isDate(currentDay, day)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-day]=\\\"isDate(selectedDate, day)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-month]=\\\"displayMonthDays(day.getMonth())\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-day\\\">\\n\\t\\t\\t{{day.getDate()}}\\n\\t\\t</div>\\n\\n\\t</div>\\n</div>\\n\"\n }]\n }], () => [{\n type: FabricDatePickerService\n }], {\n selectedDate: [{\n type: Input\n }],\n activeMonth: [{\n type: Input\n }],\n weeks: [{\n type: Input\n }]\n });\n})();\nconst monthsPerQuarters = [[{\n nr: 0,\n name: 'Jan'\n}, {\n nr: 1,\n name: 'Feb'\n}, {\n nr: 2,\n name: 'Mar'\n}], [{\n nr: 3,\n name: 'Apr'\n}, {\n nr: 4,\n name: 'May'\n}, {\n nr: 5,\n name: 'Jun'\n}], [{\n nr: 6,\n name: 'Jul'\n}, {\n nr: 7,\n name: 'Aug'\n}, {\n nr: 8,\n name: 'Sep'\n}], [{\n nr: 9,\n name: 'Oct'\n}, {\n nr: 10,\n name: 'Nov'\n}, {\n nr: 11,\n name: 'Dec'\n}]];\nclass FabricDatePickerMonthsViewComponent {\n calendarService;\n calendarViewService;\n selectedDate;\n activeYear = FabricDatePickerDefaultActiveYear;\n currentDay = new Date();\n monthsPerQuarters = monthsPerQuarters;\n constructor(calendarService, calendarViewService) {\n this.calendarService = calendarService;\n this.calendarViewService = calendarViewService;\n }\n isMonth(date, month) {\n return FabricDateUtils.isMonth(date, month, this.activeYear);\n }\n selectMonth(month) {\n this.calendarService.selectMonth(month);\n this.calendarViewService.switchView(FabricCalendarView.DAYS);\n }\n static ɵfac = function FabricDatePickerMonthsViewComponent_Factory(t) {\n return new (t || FabricDatePickerMonthsViewComponent)(i0.ɵɵdirectiveInject(FabricDatePickerCalendarService), i0.ɵɵdirectiveInject(FabricDatePickerCalendarViewService));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDatePickerMonthsViewComponent,\n selectors: [[\"gui-date-picker-months-view\"]],\n inputs: {\n selectedDate: \"selectedDate\",\n activeYear: \"activeYear\"\n },\n decls: 2,\n vars: 1,\n consts: [[1, \"gui-display-grid\", \"gui-grid-rows-gap-8\", \"gui-py-6\", \"gui-date-picker-view-border-top\"], [\"class\", \"gui-display-grid gui-grid-cols-3\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-display-grid\", \"gui-grid-cols-3\"], [\"class\", \"gui-date-picker-cell gui-date-picker-month\", 3, \"gui-date-picker-current-month\", \"gui-date-picker-selected-month\", \"click\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-date-picker-cell\", \"gui-date-picker-month\", 3, \"click\"]],\n template: function FabricDatePickerMonthsViewComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵtemplate(1, FabricDatePickerMonthsViewComponent_div_1_Template, 2, 1, \"div\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx.monthsPerQuarters);\n }\n },\n dependencies: [i1.NgForOf],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerMonthsViewComponent, [{\n type: Component,\n args: [{\n selector: 'gui-date-picker-months-view',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6 gui-date-picker-view-border-top\\\">\\n\\t<div *ngFor=\\\"let quarter of monthsPerQuarters\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-3\\\">\\n\\t\\t<div (click)=\\\"selectMonth(month.nr)\\\"\\n\\t\\t\\t *ngFor=\\\"let month of quarter\\\"\\n\\t\\t\\t [class.gui-date-picker-current-month]=\\\"isMonth(currentDay, month.nr)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-month]=\\\"isMonth(selectedDate, month.nr)\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-month\\\">\\n\\t\\t\\t{{month.name}}\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n\"\n }]\n }], () => [{\n type: FabricDatePickerCalendarService\n }, {\n type: FabricDatePickerCalendarViewService\n }], {\n selectedDate: [{\n type: Input\n }],\n activeYear: [{\n type: Input\n }]\n });\n})();\nclass FabricDatePickerYearsComponent {\n calendarService;\n calendarViewService;\n selectedDate;\n years = [];\n currentDay = new Date();\n constructor(calendarService, calendarViewService) {\n this.calendarService = calendarService;\n this.calendarViewService = calendarViewService;\n }\n selectYear(year) {\n this.calendarService.selectYear(year);\n this.calendarViewService.switchView(FabricCalendarView.MONTHS);\n }\n isYear(date, year) {\n if (date) {\n return date.getFullYear() === year;\n }\n return false;\n }\n static ɵfac = function FabricDatePickerYearsComponent_Factory(t) {\n return new (t || FabricDatePickerYearsComponent)(i0.ɵɵdirectiveInject(FabricDatePickerCalendarService), i0.ɵɵdirectiveInject(FabricDatePickerCalendarViewService));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDatePickerYearsComponent,\n selectors: [[\"gui-date-picker-years-view\"]],\n inputs: {\n selectedDate: \"selectedDate\",\n years: \"years\"\n },\n decls: 2,\n vars: 1,\n consts: [[1, \"gui-display-grid\", \"gui-grid-rows-gap-8\", \"gui-py-6\", \"gui-date-picker-view-border-top\"], [\"class\", \"gui-display-grid gui-grid-cols-5\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-display-grid\", \"gui-grid-cols-5\"], [\"class\", \"gui-date-picker-cell gui-date-picker-year\", 3, \"gui-date-picker-current-year\", \"gui-date-picker-selected-year\", \"click\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-date-picker-cell\", \"gui-date-picker-year\", 3, \"click\"]],\n template: function FabricDatePickerYearsComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵtemplate(1, FabricDatePickerYearsComponent_div_1_Template, 2, 1, \"div\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx.years);\n }\n },\n dependencies: [i1.NgForOf],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerYearsComponent, [{\n type: Component,\n args: [{\n selector: 'gui-date-picker-years-view',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6 gui-date-picker-view-border-top\\\">\\n\\t<div *ngFor=\\\"let yearsChunk of years\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-5\\\">\\n\\t\\t<div (click)=\\\"selectYear(year)\\\"\\n\\t\\t\\t *ngFor=\\\"let year of yearsChunk\\\"\\n\\t\\t\\t [class.gui-date-picker-current-year]=\\\"isYear(currentDay, year)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-year]=\\\"isYear(selectedDate, year)\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-year\\\">\\n\\t\\t\\t{{year}}\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n\"\n }]\n }], () => [{\n type: FabricDatePickerCalendarService\n }, {\n type: FabricDatePickerCalendarViewService\n }], {\n selectedDate: [{\n type: Input\n }],\n years: [{\n type: Input\n }]\n });\n})();\nvar FabricCalendarCardView;\n(function (FabricCalendarCardView) {\n FabricCalendarCardView[FabricCalendarCardView[\"NEXT\"] = 0] = \"NEXT\";\n FabricCalendarCardView[FabricCalendarCardView[\"PREV\"] = 1] = \"PREV\";\n})(FabricCalendarCardView || (FabricCalendarCardView = {}));\nvar Direction;\n(function (Direction) {\n Direction[Direction[\"TOP\"] = -90] = \"TOP\";\n Direction[Direction[\"BOTTOM\"] = 90] = \"BOTTOM\";\n Direction[Direction[\"LEFT\"] = 180] = \"LEFT\";\n Direction[Direction[\"RIGHT\"] = 0] = \"RIGHT\";\n})(Direction || (Direction = {}));\nconst months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];\nclass FabricArrowIconComponent {\n direction = Direction.RIGHT;\n static ɵfac = function FabricArrowIconComponent_Factory(t) {\n return new (t || FabricArrowIconComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricArrowIconComponent,\n selectors: [[\"gui-arrow-icon\"]],\n hostVars: 4,\n hostBindings: function FabricArrowIconComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-arrow-icon\", true)(\"gui-icon\", true);\n }\n },\n inputs: {\n direction: \"direction\"\n },\n decls: 2,\n vars: 2,\n consts: [[\"height\", \"10.661\", \"viewBox\", \"0 0 6.081 10.661\", \"width\", \"6.081\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"d\", \"M.75.75,5.02,5.02.75,9.29\", \"fill\", \"none\", \"stroke-linecap\", \"round\", \"stroke-linejoin\", \"round\", \"stroke-width\", \"1.5\", \"transform\", \"translate(0.311 0.311)\"]],\n template: function FabricArrowIconComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"transform\", \"rotate(\" + ctx.direction + \"deg)\");\n }\n },\n styles: [\".gui-arrow-icon{cursor:pointer}.gui-arrow-icon svg path{stroke:#aaa;transition:stroke .2s ease-in-out}.gui-arrow-icon:hover svg path{stroke:#464646}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricArrowIconComponent, [{\n type: Component,\n args: [{\n selector: 'gui-arrow-icon',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-arrow-icon]': 'true',\n '[class.gui-icon]': 'true'\n },\n template: \"<svg [style.transform]=\\\"'rotate(' + direction + 'deg)'\\\"\\n\\t height=\\\"10.661\\\" viewBox=\\\"0 0 6.081 10.661\\\" width=\\\"6.081\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path d=\\\"M.75.75,5.02,5.02.75,9.29\\\"\\n\\t\\t fill=\\\"none\\\"\\n\\t\\t stroke-linecap=\\\"round\\\"\\n\\t\\t stroke-linejoin=\\\"round\\\"\\n\\t\\t stroke-width=\\\"1.5\\\"\\n\\t\\t transform=\\\"translate(0.311 0.311)\\\"/>\\n</svg>\\n\",\n styles: [\".gui-arrow-icon{cursor:pointer}.gui-arrow-icon svg path{stroke:#aaa;transition:stroke .2s ease-in-out}.gui-arrow-icon:hover svg path{stroke:#464646}\\n\"]\n }]\n }], null, {\n direction: [{\n type: Input\n }]\n });\n})();\nclass FabricDatePickerViewPanelComponent {\n calendarViewService;\n calendarService;\n datePickerYearsService;\n datePickerYears;\n fabricCalendarView = FabricCalendarView.DAYS;\n selectedDate;\n activeMonth = FabricDatePickerDefaultActiveMonth;\n activeYear = FabricDatePickerDefaultActiveYear;\n years = [];\n Direction = Direction;\n FabricCalendarCardView = FabricCalendarCardView;\n constructor(calendarViewService, calendarService, datePickerYearsService, datePickerYears) {\n this.calendarViewService = calendarViewService;\n this.calendarService = calendarService;\n this.datePickerYearsService = datePickerYearsService;\n this.datePickerYears = datePickerYears;\n }\n getDisplayedDate() {\n switch (this.fabricCalendarView) {\n case FabricCalendarView.DAYS:\n return `${months[this.activeMonth]} ${this.activeYear}`;\n case FabricCalendarView.MONTHS:\n return `${months[this.activeMonth]} ${this.activeYear}`;\n case FabricCalendarView.YEARS:\n return `${this.getDisplayedYearRange()}`;\n default:\n return '';\n }\n }\n switchCalendarView() {\n switch (this.fabricCalendarView) {\n case FabricCalendarView.DAYS:\n this.calendarViewService.switchView(FabricCalendarView.YEARS);\n break;\n case FabricCalendarView.MONTHS:\n this.calendarViewService.switchView(FabricCalendarView.DAYS);\n break;\n case FabricCalendarView.YEARS:\n this.calendarViewService.switchView(FabricCalendarView.DAYS);\n break;\n default:\n break;\n }\n }\n switchCard(cardView) {\n const next = cardView === FabricCalendarCardView.NEXT,\n inc = next ? 1 : -1,\n selectedYear = this.activeYear + inc,\n years = next ? this.datePickerYears.nextYearRange(this.activeYear) : this.datePickerYears.prevYearRange(this.activeYear);\n switch (this.fabricCalendarView) {\n case FabricCalendarView.DAYS:\n this.handleMonthChange(next);\n break;\n case FabricCalendarView.MONTHS:\n this.calendarService.selectYear(selectedYear);\n break;\n case FabricCalendarView.YEARS:\n this.datePickerYearsService.next(years);\n break;\n default:\n break;\n }\n }\n getDisplayedYearRange() {\n return this.years[0][0].toString() + '-' + this.years[4][this.years[4].length - 1].toString();\n }\n handleMonthChange(next) {\n if (next) {\n this.calendarService.nextMonth(this.activeYear, this.activeMonth);\n } else {\n this.calendarService.prevMonth(this.activeYear, this.activeMonth);\n }\n }\n static ɵfac = function FabricDatePickerViewPanelComponent_Factory(t) {\n return new (t || FabricDatePickerViewPanelComponent)(i0.ɵɵdirectiveInject(FabricDatePickerCalendarViewService), i0.ɵɵdirectiveInject(FabricDatePickerCalendarService), i0.ɵɵdirectiveInject(FabricDatePickerYearsService), i0.ɵɵdirectiveInject(FabricDatePickerYears));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDatePickerViewPanelComponent,\n selectors: [[\"gui-date-picker-view-panel\"]],\n inputs: {\n fabricCalendarView: \"fabricCalendarView\",\n selectedDate: \"selectedDate\",\n activeMonth: \"activeMonth\",\n activeYear: \"activeYear\",\n years: \"years\"\n },\n decls: 6,\n vars: 3,\n consts: [[1, \"gui-date-picker-view-panel\"], [1, \"gui-date-picker-view-panel-date\", 3, \"click\"], [1, \"gui-date-picker-arrows\"], [1, \"gui-date-picker-arrow\", 3, \"click\", \"direction\"]],\n template: function FabricDatePickerViewPanelComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1);\n i0.ɵɵlistener(\"click\", function FabricDatePickerViewPanelComponent_Template_div_click_1_listener() {\n return ctx.switchCalendarView();\n });\n i0.ɵɵtext(2);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"div\", 2)(4, \"gui-arrow-icon\", 3);\n i0.ɵɵlistener(\"click\", function FabricDatePickerViewPanelComponent_Template_gui_arrow_icon_click_4_listener() {\n return ctx.switchCard(ctx.FabricCalendarCardView.PREV);\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(5, \"gui-arrow-icon\", 3);\n i0.ɵɵlistener(\"click\", function FabricDatePickerViewPanelComponent_Template_gui_arrow_icon_click_5_listener() {\n return ctx.switchCard(ctx.FabricCalendarCardView.NEXT);\n });\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" \", ctx.getDisplayedDate(), \" \");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"direction\", ctx.Direction.LEFT);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"direction\", ctx.Direction.RIGHT);\n }\n },\n dependencies: [FabricArrowIconComponent],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerViewPanelComponent, [{\n type: Component,\n args: [{\n selector: 'gui-date-picker-view-panel',\n template: `\n\t\t<div class=\"gui-date-picker-view-panel\">\n\n\t\t\t<div (click)=\"switchCalendarView()\"\n\t\t\t\t class=\"gui-date-picker-view-panel-date\">\n\t\t\t\t{{getDisplayedDate()}}\n\t\t\t</div>\n\n\t\t\t<div class=\"gui-date-picker-arrows\">\n\t\t\t\t<gui-arrow-icon [direction]=\"Direction.LEFT\"\n\t\t\t\t\t\t\t\t(click)=\"switchCard(FabricCalendarCardView.PREV)\"\n\t\t\t\t\t\t\t\tclass=\"gui-date-picker-arrow\">\n\t\t\t\t</gui-arrow-icon>\n\n\t\t\t\t<gui-arrow-icon [direction]=\"Direction.RIGHT\"\n\t\t\t\t\t\t\t\t(click)=\"switchCard(FabricCalendarCardView.NEXT)\"\n\t\t\t\t\t\t\t\tclass=\"gui-date-picker-arrow\">\n\t\t\t\t</gui-arrow-icon>\n\t\t\t</div>\n\n\t\t</div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], () => [{\n type: FabricDatePickerCalendarViewService\n }, {\n type: FabricDatePickerCalendarService\n }, {\n type: FabricDatePickerYearsService\n }, {\n type: FabricDatePickerYears\n }], {\n fabricCalendarView: [{\n type: Input\n }],\n selectedDate: [{\n type: Input\n }],\n activeMonth: [{\n type: Input\n }],\n activeYear: [{\n type: Input\n }],\n years: [{\n type: Input\n }]\n });\n})();\nclass FabricTimeValues {\n hours;\n minutes;\n seconds;\n constructor(hours, minutes, seconds) {\n this.hours = hours;\n this.minutes = minutes;\n this.seconds = seconds;\n }\n}\nclass FabricInputComponent {\n static ɵfac = function FabricInputComponent_Factory(t) {\n return new (t || FabricInputComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricInputComponent,\n selectors: [[\"input\", \"gui-input\", \"\"]],\n hostVars: 2,\n hostBindings: function FabricInputComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-input\", true);\n }\n },\n attrs: _c7,\n decls: 0,\n vars: 0,\n template: function FabricInputComponent_Template(rf, ctx) {},\n styles: [\".gui-input{background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;color:#333;font:14px Arial;margin:0;max-width:100%;outline:0;padding:8px 12px;text-align:left;transition:border-color .3s ease-in-out}.gui-input:hover{border-color:#999}.gui-input:focus{border-color:#6fb4e8}.gui-input:disabled{color:#ccc;cursor:default;pointer-events:none}.gui-input:disabled::-moz-placeholder{color:#ccc}.gui-input:disabled:-ms-input-placeholder{color:#ccc}.gui-input:disabled::placeholder{color:#ccc}\\n\", \".gui-material .gui-input{border-color:#ccc;border-radius:0;border-style:solid;border-width:0 0 1px 0;font-family:Roboto,Helvetica Neue,sans-serif;padding-left:0;transition:border-color .3s ease-in-out}.gui-material .gui-input:not(:-moz-placeholder-shown){border-color:#6200ee}.gui-material .gui-input:not(:-ms-input-placeholder){border-color:#6200ee}.gui-material .gui-input:not(:placeholder-shown){border-color:#6200ee}.gui-material .gui-input:focus{border-color:#6200ee}\\n\", \".gui-dark .gui-input{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-input:hover{border-color:#757575}.gui-dark .gui-input:focus{border-color:#ce93d8}.gui-dark .gui-input:disabled{opacity:.36}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricInputComponent, [{\n type: Component,\n args: [{\n selector: 'input[gui-input]',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-input]': 'true'\n },\n template: \"\\n\",\n styles: [\".gui-input{background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;color:#333;font:14px Arial;margin:0;max-width:100%;outline:0;padding:8px 12px;text-align:left;transition:border-color .3s ease-in-out}.gui-input:hover{border-color:#999}.gui-input:focus{border-color:#6fb4e8}.gui-input:disabled{color:#ccc;cursor:default;pointer-events:none}.gui-input:disabled::-moz-placeholder{color:#ccc}.gui-input:disabled:-ms-input-placeholder{color:#ccc}.gui-input:disabled::placeholder{color:#ccc}\\n\", \".gui-material .gui-input{border-color:#ccc;border-radius:0;border-style:solid;border-width:0 0 1px 0;font-family:Roboto,Helvetica Neue,sans-serif;padding-left:0;transition:border-color .3s ease-in-out}.gui-material .gui-input:not(:-moz-placeholder-shown){border-color:#6200ee}.gui-material .gui-input:not(:-ms-input-placeholder){border-color:#6200ee}.gui-material .gui-input:not(:placeholder-shown){border-color:#6200ee}.gui-material .gui-input:focus{border-color:#6200ee}\\n\", \".gui-dark .gui-input{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-input:hover{border-color:#757575}.gui-dark .gui-input:focus{border-color:#ce93d8}.gui-dark .gui-input:disabled{opacity:.36}\\n\"]\n }]\n }], null, null);\n})();\nclass FabricTimePickerComponent extends FabricReactive {\n formBuilder;\n datePickerService;\n selectedDate;\n datePickerComposition = FabricDatePickerComposition.NONE;\n steps = 1;\n form;\n Direction = Direction;\n FabricDatePickerComposition = FabricDatePickerComposition;\n constructor(formBuilder, datePickerService) {\n super();\n this.formBuilder = formBuilder;\n this.datePickerService = datePickerService;\n this.form = this.formBuilder.group({\n hours: [''],\n minutes: [''],\n seconds: ['']\n });\n }\n ngOnChanges(changes) {\n if (changes['selectedDate']) {\n if (this.selectedDate) {}\n }\n }\n ngOnInit() {\n if (this.isActive(this.datePickerComposition, FabricDatePickerComposition.TIME_PICKER_HOURS)) {\n // @ts-ignore\n const hours$ = this.form.controls['hours'].valueChanges;\n hours$\n // @ts-ignore\n .pipe(takeUntil(this.unsubscribe$)).subscribe(hour => {\n const minHour = this.isMeridian() ? 1 : 0,\n maxHour = this.isMeridian() ? 12 : 23;\n if (hour > maxHour || hour < minHour) {\n this.form.controls['hours'].setValue(minHour);\n }\n this.changeSelectedDate();\n });\n }\n if (this.isActive(this.datePickerComposition, FabricDatePickerComposition.TIME_PICKER_MINUTES)) {\n this.form.controls['minutes'].valueChanges\n // @ts-ignore\n .pipe(takeUntil(this.unsubscribe$)).subscribe(value => {\n this.controlFormItemValue(value, 'minutes', 'hours');\n this.changeSelectedDate();\n });\n }\n if (this.isActive(this.datePickerComposition, FabricDatePickerComposition.TIME_PICKER_SECONDS)) {\n this.form.controls['seconds'].valueChanges\n // @ts-ignore\n .pipe(takeUntil(this.unsubscribe$)).subscribe(value => {\n this.controlFormItemValue(value, 'seconds', 'minutes');\n this.changeSelectedDate();\n });\n }\n this.setTimeFromSelectedDate();\n }\n changeTimeItem(formControlName, steps) {\n const value = this.form.controls[formControlName].value + steps;\n this.form.controls[formControlName].setValue(value);\n }\n changeSelectedDateTime() {\n this.datePickerService.next();\n }\n isActive(activeComposition, checkedComposition) {\n return !!(activeComposition & checkedComposition);\n }\n isMeridian() {\n return this.isActive(this.datePickerComposition, FabricDatePickerComposition.TIME_PICKER_MERIDIAN);\n }\n isOnlyTimePicker() {\n return !(this.datePickerComposition & FabricDatePickerComposition.DATE_PICKER);\n }\n changeSelectedDate() {\n if (this.selectedDate) {\n const hours = this.form.controls['hours'].value,\n minutes = this.form.controls['minutes'].value,\n seconds = this.form.controls['seconds'].value,\n timeValues = new FabricTimeValues(hours, minutes, seconds);\n this.datePickerService.changeTime(timeValues, this.selectedDate);\n }\n }\n controlFormItemValue(value, observedFormControlName, incFormControlName) {\n if (value > 59) {\n const timeItemValue = this.form.controls[incFormControlName].value,\n incTimeItemValue = timeItemValue + 1;\n this.form.controls[incFormControlName].setValue(incTimeItemValue);\n this.form.controls[observedFormControlName].setValue(0o0);\n } else if (value < 0) {\n this.form.controls[observedFormControlName].setValue(0);\n }\n }\n setTimeFromSelectedDate() {\n if (this.selectedDate) {\n const hours = this.selectedDate.getHours(),\n minutes = this.selectedDate.getMinutes(),\n seconds = this.selectedDate.getSeconds();\n this.form.controls['hours'].setValue(hours);\n this.form.controls['minutes'].setValue(minutes);\n this.form.controls['seconds'].setValue(seconds);\n }\n }\n static ɵfac = function FabricTimePickerComponent_Factory(t) {\n return new (t || FabricTimePickerComponent)(i0.ɵɵdirectiveInject(i1$1.FormBuilder), i0.ɵɵdirectiveInject(FabricDatePickerService));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricTimePickerComponent,\n selectors: [[\"gui-time-picker\"]],\n hostVars: 2,\n hostBindings: function FabricTimePickerComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"only-time-picker\", ctx.isOnlyTimePicker());\n }\n },\n inputs: {\n selectedDate: \"selectedDate\",\n datePickerComposition: \"datePickerComposition\"\n },\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n decls: 7,\n vars: 5,\n consts: [[3, \"formGroup\"], [\"class\", \"gui-time-picker-item\", 4, \"ngIf\"], [1, \"gui-time-picker-button-wrapper\", 3, \"click\"], [\"gui-button\", \"\", 3, \"outline\"], [1, \"gui-time-picker-item\"], [1, \"gui-date-picker-arrow\", 3, \"click\", \"direction\"], [\"formControlName\", \"hours\", \"gui-input\", \"\", \"maxlength\", \"2\"], [\"formControlName\", \"minutes\", \"gui-input\", \"\", \"maxlength\", \"2\", \"type\", \"number\"], [\"formControlName\", \"seconds\", \"gui-input\", \"\", \"maxlength\", \"2\", \"type\", \"number\"]],\n template: function FabricTimePickerComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"form\", 0);\n i0.ɵɵtemplate(1, FabricTimePickerComponent_div_1_Template, 4, 2, \"div\", 1)(2, FabricTimePickerComponent_div_2_Template, 4, 2, \"div\", 1)(3, FabricTimePickerComponent_div_3_Template, 4, 2, \"div\", 1);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"div\", 2);\n i0.ɵɵlistener(\"click\", function FabricTimePickerComponent_Template_div_click_4_listener() {\n return ctx.changeSelectedDateTime();\n });\n i0.ɵɵelementStart(5, \"button\", 3);\n i0.ɵɵtext(6, \" Ok \");\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"formGroup\", ctx.form);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isActive(ctx.datePickerComposition, ctx.FabricDatePickerComposition.TIME_PICKER_HOURS));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isActive(ctx.datePickerComposition, ctx.FabricDatePickerComposition.TIME_PICKER_MINUTES));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isActive(ctx.datePickerComposition, ctx.FabricDatePickerComposition.TIME_PICKER_SECONDS));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"outline\", true);\n }\n },\n dependencies: [i1.NgIf, i1$1.ɵNgNoValidate, i1$1.DefaultValueAccessor, i1$1.NumberValueAccessor, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.MaxLengthValidator, i1$1.FormGroupDirective, i1$1.FormControlName, FabricInputComponent, FabricButtonComponent, FabricArrowIconComponent],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricTimePickerComponent, [{\n type: Component,\n args: [{\n selector: 'gui-time-picker',\n host: {\n '[class.only-time-picker]': 'isOnlyTimePicker()'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: \"<form [formGroup]=\\\"form\\\">\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_HOURS)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('hours', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"hours\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('hours', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_MINUTES)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('minutes', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"minutes\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\"\\n\\t\\t\\t type=\\\"number\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('minutes', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_SECONDS)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('seconds', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"seconds\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\"\\n\\t\\t\\t type=\\\"number\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('seconds', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n</form>\\n\\n<div (click)=\\\"changeSelectedDateTime()\\\"\\n\\t class=\\\"gui-time-picker-button-wrapper\\\">\\n\\t<button [outline]=\\\"true\\\" gui-button>\\n\\t\\tOk\\n\\t</button>\\n</div>\\n\"\n }]\n }], () => [{\n type: i1$1.FormBuilder\n }, {\n type: FabricDatePickerService\n }], {\n selectedDate: [{\n type: Input\n }],\n datePickerComposition: [{\n type: Input\n }]\n });\n})();\nclass FabricDatePickerCalendarComponent extends FabricReactive {\n datePickerService;\n datePickerFormatService;\n datePickerWeeks;\n datePickerYears;\n datePickerYearsService;\n calendarService;\n calendarViewService;\n changeDetectorRef;\n /** Cells representing days in weeks of the active month. */\n weeks = [];\n /** Year cells displayed in years view. */\n years = [];\n selectedDate;\n activeMonth = FabricDatePickerDefaultActiveMonth;\n activeYear = FabricDatePickerDefaultActiveYear;\n datePickerComposition = FabricDatePickerComposition.NONE;\n FabricDatePickerComposition = FabricDatePickerComposition;\n FabricCalendarView = FabricCalendarView;\n fabricCalendarView = FabricCalendarView.DAYS;\n constructor(datePickerService, datePickerFormatService, datePickerWeeks, datePickerYears, datePickerYearsService, calendarService, calendarViewService, changeDetectorRef) {\n super();\n this.datePickerService = datePickerService;\n this.datePickerFormatService = datePickerFormatService;\n this.datePickerWeeks = datePickerWeeks;\n this.datePickerYears = datePickerYears;\n this.datePickerYearsService = datePickerYearsService;\n this.calendarService = calendarService;\n this.calendarViewService = calendarViewService;\n this.changeDetectorRef = changeDetectorRef;\n }\n ngOnInit() {\n this.datePickerFormatService.onComposition().pipe(takeUntil(this.unsubscribe$)).subscribe(datePickerComposition => {\n this.datePickerComposition = datePickerComposition;\n });\n this.calendarService.onActiveMonth().pipe(takeUntil(this.unsubscribe$)).subscribe(month => {\n this.activeMonth = month;\n this.calculateDatePickerData();\n this.changeDetectorRef.detectChanges();\n });\n this.calendarService.onActiveYear().pipe(takeUntil(this.unsubscribe$)).subscribe(year => {\n this.activeYear = year;\n this.calculateDatePickerData();\n this.changeDetectorRef.detectChanges();\n });\n this.datePickerService.observeSelectedDate().pipe(takeUntil(this.unsubscribe$)).subscribe(date => {\n this.selectedDate = date;\n this.activeYear = date.getFullYear();\n this.activeMonth = date.getMonth();\n });\n this.datePickerYearsService.onYears().pipe(takeUntil(this.unsubscribe$)).subscribe(years => {\n this.years = years;\n this.changeDetectorRef.detectChanges();\n });\n this.calendarViewService.onActiveView().pipe(takeUntil(this.unsubscribe$)).subscribe(fabricCalendarView => {\n this.fabricCalendarView = fabricCalendarView;\n this.changeDetectorRef.detectChanges();\n });\n this.calculateDatePickerData();\n }\n getCalendarView() {\n if (event) {\n event.stopPropagation();\n }\n return this.fabricCalendarView;\n }\n isVisible(activeComposition, checkedComposition) {\n return !!(activeComposition & checkedComposition);\n }\n calculateDatePickerData() {\n this.weeks = this.datePickerWeeks.getDaysInMonths(this.activeYear, this.activeMonth);\n this.years = this.datePickerYears.getYears(this.activeYear);\n }\n static ɵfac = function FabricDatePickerCalendarComponent_Factory(t) {\n return new (t || FabricDatePickerCalendarComponent)(i0.ɵɵdirectiveInject(FabricDatePickerService), i0.ɵɵdirectiveInject(FabricDatePickerCompositionService), i0.ɵɵdirectiveInject(FabricDatePickerWeeks), i0.ɵɵdirectiveInject(FabricDatePickerYears), i0.ɵɵdirectiveInject(FabricDatePickerYearsService), i0.ɵɵdirectiveInject(FabricDatePickerCalendarService), i0.ɵɵdirectiveInject(FabricDatePickerCalendarViewService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDatePickerCalendarComponent,\n selectors: [[\"gui-date-picker-toggle\"]],\n hostVars: 2,\n hostBindings: function FabricDatePickerCalendarComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-date-picker-calendar\", true);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 2,\n consts: [[4, \"ngIf\"], [3, \"datePickerComposition\", \"selectedDate\", 4, \"ngIf\"], [3, \"activeMonth\", \"activeYear\", \"fabricCalendarView\", \"selectedDate\", \"years\"], [3, \"ngSwitch\"], [3, \"activeMonth\", \"selectedDate\", \"weeks\", 4, \"ngSwitchCase\"], [3, \"activeYear\", \"selectedDate\", 4, \"ngSwitchCase\"], [3, \"selectedDate\", \"years\", 4, \"ngSwitchCase\"], [3, \"activeMonth\", \"selectedDate\", \"weeks\"], [3, \"activeYear\", \"selectedDate\"], [3, \"selectedDate\", \"years\"], [3, \"datePickerComposition\", \"selectedDate\"]],\n template: function FabricDatePickerCalendarComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, FabricDatePickerCalendarComponent_ng_container_0_Template, 6, 9, \"ng-container\", 0)(1, FabricDatePickerCalendarComponent_gui_time_picker_1_Template, 1, 2, \"gui-time-picker\", 1);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.isVisible(ctx.datePickerComposition, ctx.FabricDatePickerComposition.DATE_PICKER));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isVisible(ctx.datePickerComposition, ctx.FabricDatePickerComposition.TIME_PICKER));\n }\n },\n dependencies: [i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, FabricDatePickerDaysViewComponent, FabricDatePickerMonthsViewComponent, FabricDatePickerYearsComponent, FabricDatePickerViewPanelComponent, FabricTimePickerComponent],\n styles: [\".gui-box-border{box-sizing:border-box}.gui-bg-transparent{background-color:transparent}.gui-border{border-width:1px}.gui-border-0{border-width:0}.gui-border-b{border-bottom-width:1px}.gui-border-t{border-top-width:1px}.gui-border-solid{border-style:solid}.gui-border-b-solid{border-bottom-style:solid}.gui-border-t-solid{border-top-style:solid}.gui-border-none{border-style:none}.gui-rounded{border-radius:4px}.gui-cursor-pointer{cursor:pointer}.gui-block{display:block}.gui-inline-block{display:inline-block}.gui-inline{display:inline}.gui-flex{display:-ms-flexbox;display:flex}.gui-hidden{display:none}.gui-display-grid{display:grid}.gui-flex-row{-ms-flex-direction:row;flex-direction:row}.gui-flex-row-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gui-flex-col{-ms-flex-direction:column;flex-direction:column}.gui-flex-col-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.gui-justify-start{-ms-flex-pack:start;justify-content:flex-start}.gui-justify-end{-ms-flex-pack:end;justify-content:flex-end}.gui-justify-center{-ms-flex-pack:center;justify-content:center}.gui-justify-between{-ms-flex-pack:justify;justify-content:space-between}.gui-justify-around{-ms-flex-pack:distribute;justify-content:space-around}.gui-justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.gui-items-start{-ms-flex-align:start;align-items:flex-start}.gui-items-end{-ms-flex-align:end;align-items:flex-end}.gui-items-center{-ms-flex-align:center;align-items:center}.gui-items-between{-ms-flex-align:space-between;align-items:space-between}.gui-items-around{-ms-flex-align:space-around;align-items:space-around}.gui-items-evenly{-ms-flex-align:space-evenly;align-items:space-evenly}.gui-flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.gui-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.gui-flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.gui-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gui-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gui-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gui-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.gui-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.gui-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.gui-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.gui-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.gui-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.gui-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.gui-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.gui-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.gui-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.gui-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.gui-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.gui-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.gui-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.gui-grid-rows-gap-0{grid-row-gap:0}.gui-grid-rows-gap-1{grid-row-gap:1px}.gui-grid-rows-gap-2{grid-row-gap:2px}.gui-grid-rows-gap-3{grid-row-gap:3px}.gui-grid-rows-gap-4{grid-row-gap:4px}.gui-grid-rows-gap-5{grid-row-gap:6px}.gui-grid-rows-gap-6{grid-row-gap:8px}.gui-grid-rows-gap-7{grid-row-gap:10px}.gui-grid-rows-gap-8{grid-row-gap:12px}.gui-grid-rows-gap-10{grid-row-gap:16px}.gui-grid-rows-gap-13{grid-row-gap:22px}.gui-grid-rows-gap-23{grid-row-gap:42px}.gui-grid-cols-gap-0{grid-column-gap:0}.gui-grid-cols-gap-1{grid-column-gap:1px}.gui-grid-cols-gap-2{grid-column-gap:2px}.gui-grid-cols-gap-3{grid-column-gap:3px}.gui-grid-cols-gap-4{grid-column-gap:4px}.gui-grid-cols-gap-5{grid-column-gap:6px}.gui-grid-cols-gap-6{grid-column-gap:8px}.gui-grid-cols-gap-7{grid-column-gap:10px}.gui-grid-cols-gap-8{grid-column-gap:12px}.gui-grid-cols-gap-10{grid-column-gap:16px}.gui-grid-cols-gap-13{grid-column-gap:22px}.gui-grid-cols-gap-23{grid-column-gap:42px}.gui-h-full{height:100%}.gui-list-none{list-style-type:none}.gui-m-0{margin:0}.gui-mx-0{margin-left:0;margin-right:0}.gui-my-0{margin-bottom:0;margin-top:0}.-gui-m-0{margin:0}.-gui-mx-0{margin-left:0;margin-right:0}.-gui-my-0{margin-bottom:0;margin-top:0}.gui-m-1{margin:1px}.gui-mx-1{margin-left:1px;margin-right:1px}.gui-my-1{margin-bottom:1px;margin-top:1px}.-gui-m-1{margin:-1px}.-gui-mx-1{margin-left:-1px;margin-right:-1px}.-gui-my-1{margin-bottom:-1px;margin-top:-1px}.gui-m-2{margin:2px}.gui-mx-2{margin-left:2px;margin-right:2px}.gui-my-2{margin-bottom:2px;margin-top:2px}.-gui-m-2{margin:-2px}.-gui-mx-2{margin-left:-2px;margin-right:-2px}.-gui-my-2{margin-bottom:-2px;margin-top:-2px}.gui-m-3{margin:3px}.gui-mx-3{margin-left:3px;margin-right:3px}.gui-my-3{margin-bottom:3px;margin-top:3px}.-gui-m-3{margin:-3px}.-gui-mx-3{margin-left:-3px;margin-right:-3px}.-gui-my-3{margin-bottom:-3px;margin-top:-3px}.gui-m-4{margin:4px}.gui-mx-4{margin-left:4px;margin-right:4px}.gui-my-4{margin-bottom:4px;margin-top:4px}.-gui-m-4{margin:-4px}.-gui-mx-4{margin-left:-4px;margin-right:-4px}.-gui-my-4{margin-bottom:-4px;margin-top:-4px}.gui-m-5{margin:6px}.gui-mx-5{margin-left:6px;margin-right:6px}.gui-my-5{margin-bottom:6px;margin-top:6px}.-gui-m-5{margin:-6px}.-gui-mx-5{margin-left:-6px;margin-right:-6px}.-gui-my-5{margin-bottom:-6px;margin-top:-6px}.gui-m-6{margin:8px}.gui-mx-6{margin-left:8px;margin-right:8px}.gui-my-6{margin-bottom:8px;margin-top:8px}.-gui-m-6{margin:-8px}.-gui-mx-6{margin-left:-8px;margin-right:-8px}.-gui-my-6{margin-bottom:-8px;margin-top:-8px}.gui-m-7{margin:10px}.gui-mx-7{margin-left:10px;margin-right:10px}.gui-my-7{margin-bottom:10px;margin-top:10px}.-gui-m-7{margin:-10px}.-gui-mx-7{margin-left:-10px;margin-right:-10px}.-gui-my-7{margin-bottom:-10px;margin-top:-10px}.gui-m-8{margin:12px}.gui-mx-8{margin-left:12px;margin-right:12px}.gui-my-8{margin-bottom:12px;margin-top:12px}.-gui-m-8{margin:-12px}.-gui-mx-8{margin-left:-12px;margin-right:-12px}.-gui-my-8{margin-bottom:-12px;margin-top:-12px}.gui-m-10{margin:16px}.gui-mx-10{margin-left:16px;margin-right:16px}.gui-my-10{margin-bottom:16px;margin-top:16px}.-gui-m-10{margin:-16px}.-gui-mx-10{margin-left:-16px;margin-right:-16px}.-gui-my-10{margin-bottom:-16px;margin-top:-16px}.gui-m-13{margin:22px}.gui-mx-13{margin-left:22px;margin-right:22px}.gui-my-13{margin-bottom:22px;margin-top:22px}.-gui-m-13{margin:-22px}.-gui-mx-13{margin-left:-22px;margin-right:-22px}.-gui-my-13{margin-bottom:-22px;margin-top:-22px}.gui-m-23{margin:42px}.gui-mx-23{margin-left:42px;margin-right:42px}.gui-my-23{margin-bottom:42px;margin-top:42px}.-gui-m-23{margin:-42px}.-gui-mx-23{margin-left:-42px;margin-right:-42px}.-gui-my-23{margin-bottom:-42px;margin-top:-42px}.gui-mb-4{margin-bottom:4px}.gui-mb-6{margin-bottom:8px}.gui-mb-8{margin-bottom:12px}.gui-mb-10{margin-bottom:16px}.gui-mb-18{margin-bottom:32px}.gui-mr-0{margin-right:0}.gui-mr-5{margin-right:6px}.gui-mr-auto{margin-right:auto}.gui-ml-auto{margin-left:auto}.gui-ml-6{margin-left:8px}.gui-mt-0{margin-top:0}.gui-mt-4{margin-top:4px}.gui-mt-6{margin-top:8px}.gui-mt-10{margin-top:16px}.gui-mt-14{margin-top:24px}.gui-overflow-hidden{overflow:hidden}.gui-overflow-y-scroll{overflow-y:scroll}.gui-overflow-x-hidden{overflow-x:hidden}.gui-overflow-auto{overflow:auto}.gui-p-0{padding:0}.gui-px-0{padding-left:0;padding-right:0}.gui-py-0{padding-bottom:0;padding-top:0}.gui-p-1{padding:1px}.gui-px-1{padding-left:1px;padding-right:1px}.gui-py-1{padding-bottom:1px;padding-top:1px}.gui-p-2{padding:2px}.gui-px-2{padding-left:2px;padding-right:2px}.gui-py-2{padding-bottom:2px;padding-top:2px}.gui-p-3{padding:3px}.gui-px-3{padding-left:3px;padding-right:3px}.gui-py-3{padding-bottom:3px;padding-top:3px}.gui-p-4{padding:4px}.gui-px-4{padding-left:4px;padding-right:4px}.gui-py-4{padding-bottom:4px;padding-top:4px}.gui-p-5{padding:6px}.gui-px-5{padding-left:6px;padding-right:6px}.gui-py-5{padding-bottom:6px;padding-top:6px}.gui-p-6{padding:8px}.gui-px-6{padding-left:8px;padding-right:8px}.gui-py-6{padding-bottom:8px;padding-top:8px}.gui-p-7{padding:10px}.gui-px-7{padding-left:10px;padding-right:10px}.gui-py-7{padding-bottom:10px;padding-top:10px}.gui-p-8{padding:12px}.gui-px-8{padding-left:12px;padding-right:12px}.gui-py-8{padding-bottom:12px;padding-top:12px}.gui-p-10{padding:16px}.gui-px-10{padding-left:16px;padding-right:16px}.gui-py-10{padding-bottom:16px;padding-top:16px}.gui-p-13{padding:22px}.gui-px-13{padding-left:22px;padding-right:22px}.gui-py-13{padding-bottom:22px;padding-top:22px}.gui-p-23{padding:42px}.gui-px-23{padding-left:42px;padding-right:42px}.gui-py-23{padding-bottom:42px;padding-top:42px}.gui-pr-10{padding-right:16px}.gui-pl-9{padding-right:10px}.gui-pb-6{padding-bottom:8px}.gui-pb-12{padding-bottom:20px}.gui-pl-21{padding-left:38px}.gui-pt-4{padding-top:4px}.gui-pt-6{padding-top:8px}.gui-pt-10{padding-top:16px}.gui-pt-12{padding-top:20px}.gui-pt-14{padding-top:24px}.gui-static{position:static}.gui-fixed{position:fixed}.gui-relative{position:relative}.gui-absolute{position:absolute}.gui-text-xxs{font-size:11px}.gui-text-xs{font-size:12px}.gui-text-sm{font-size:13px}.gui-text-base{font-size:14px}.gui-text-lg{font-size:16px}.gui-text-xl{font-size:18px}.gui-text-2xl{font-size:20px}.gui-text-3xl{font-size:22px}.gui-leading-4{line-height:16px}.gui-leading-6{line-height:24px}.gui-font-thin{font-weight:100}.gui-font-extralight{font-weight:200}.gui-font-light{font-weight:300}.gui-font-normal{font-weight:400}.gui-font-medium{font-weight:500}.gui-font-semibold{font-weight:600}.gui-font-bold{font-weight:700}.gui-font-extrabold{font-weight:800}.gui-font-black{font-weight:900}.gui-italic{font-style:italic}.gui-not-italic{font-style:normal}.gui-whitespace-nowrap{white-space:nowrap}.gui-overflow-ellipsis{text-overflow:ellipsis}.gui-no-underline{text-decoration:none}.gui-text-center{text-align:center}.gui-w-full{width:100%}.gui-w-96{width:384px}.gui-w-3\\\\/5{width:60%}.gui-date-picker-calendar{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;font-family:Roboto,Helvetica Neue,sans-serif;border-radius:4px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0 0 12px;width:268px}.gui-date-picker-header{font-size:13px;font-weight:400;text-align:center;border-top:1px solid #999}.gui-date-picker-cell{border-radius:4px;border-color:transparent;border-style:solid;border-width:1px;padding:2px 4px;position:relative;text-align:center;font-size:13px;z-index:0}.gui-date-picker-cell:before{border:1px solid #999;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:none;height:36px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:36px;z-index:-1}.gui-date-picker-cell:after{background:transparent;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:block;height:32px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:32px;z-index:-1}.gui-date-picker-cell:hover:after{background:#e6e6e6}.gui-date-picker-day{color:#333;cursor:pointer;opacity:.2}.gui-date-picker-day.gui-date-picker-selected-month{opacity:1}.gui-date-picker-month,.gui-date-picker-year{cursor:pointer}.gui-date-picker-year{font-size:13px}.gui-date-picker-day.gui-date-picker-current-day:before,.gui-date-picker-month.gui-date-picker-current-month:before,.gui-date-picker-year.gui-date-picker-current-year:before{display:block}.gui-date-picker-day.gui-date-picker-selected-day{pointer-events:none}.gui-date-picker-day.gui-date-picker-selected-day,.gui-date-picker-month.gui-date-picker-selected-month,.gui-date-picker-year.gui-date-picker-selected-year{color:#fff}.gui-date-picker-day.gui-date-picker-selected-day:after,.gui-date-picker-month.gui-date-picker-selected-month:after,.gui-date-picker-year.gui-date-picker-selected-year:after{background:#2185d0}.gui-date-picker-arrows{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:32px}.gui-date-picker-view-padding{padding:0 8px}.gui-date-picker-view-border-top{border-top:1px solid #999}gui-time-picker{border-top:1px solid #999;margin:6px 0 0;padding:12px 0 2.6666666667px}gui-time-picker form{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}gui-time-picker.only-time-picker{border-top:none}.gui-time-picker-button-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding-right:8px}.gui-time-picker-button-wrapper .gui-button{font-size:12px}.gui-time-picker-item{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0 8px;position:relative}.gui-time-picker-item input{box-sizing:border-box;max-width:24px;text-align:center}.gui-time-picker-item input::-webkit-outer-spin-button,.gui-time-picker-item input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.gui-time-picker-item input[type=number]{-moz-appearance:textfield}.gui-time-picker-item .gui-date-picker-arrow:nth-of-type(1){margin-bottom:2px}.gui-time-picker-item .gui-date-picker-arrow:nth-of-type(2){margin-top:6px}.gui-date-picker-view-panel{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:16px 18px}.gui-date-picker-view-panel .gui-date-picker-view-panel-date{cursor:pointer;font-size:14px;font-weight:700;margin:0;pointer-events:auto}.gui-date-picker-arrow{position:relative;z-index:0}.gui-date-picker-arrow:hover:after{background:#e6e6e6;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:block;height:24px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:24px;z-index:-1}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerCalendarComponent, [{\n type: Component,\n args: [{\n selector: 'gui-date-picker-toggle',\n host: {\n '[class.gui-date-picker-calendar]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<ng-container *ngIf=\\\"isVisible(datePickerComposition, FabricDatePickerComposition.DATE_PICKER)\\\">\\n\\n\\t<gui-date-picker-view-panel [activeMonth]=\\\"activeMonth\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[activeYear]=\\\"activeYear\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[fabricCalendarView]=\\\"fabricCalendarView\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[years]=\\\"years\\\">\\n\\t</gui-date-picker-view-panel>\\n\\n\\t<ng-container [ngSwitch]=\\\"getCalendarView()\\\">\\n\\n\\t\\t<gui-date-picker-days-view *ngSwitchCase=\\\"FabricCalendarView.DAYS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [activeMonth]=\\\"activeMonth\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [weeks]=\\\"weeks\\\">\\n\\t\\t</gui-date-picker-days-view>\\n\\n\\t\\t<gui-date-picker-months-view *ngSwitchCase=\\\"FabricCalendarView.MONTHS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t [activeYear]=\\\"activeYear\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\">\\n\\t\\t</gui-date-picker-months-view>\\n\\n\\n\\t\\t<gui-date-picker-years-view *ngSwitchCase=\\\"FabricCalendarView.YEARS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t[selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t[years]=\\\"years\\\">\\n\\t\\t</gui-date-picker-years-view>\\n\\n\\t</ng-container>\\n\\n</ng-container>\\n\\n<gui-time-picker *ngIf=\\\"isVisible(datePickerComposition, FabricDatePickerComposition.TIME_PICKER)\\\"\\n\\t\\t\\t\\t [datePickerComposition]=\\\"datePickerComposition\\\"\\n\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\"></gui-time-picker>\\n\",\n styles: [\".gui-box-border{box-sizing:border-box}.gui-bg-transparent{background-color:transparent}.gui-border{border-width:1px}.gui-border-0{border-width:0}.gui-border-b{border-bottom-width:1px}.gui-border-t{border-top-width:1px}.gui-border-solid{border-style:solid}.gui-border-b-solid{border-bottom-style:solid}.gui-border-t-solid{border-top-style:solid}.gui-border-none{border-style:none}.gui-rounded{border-radius:4px}.gui-cursor-pointer{cursor:pointer}.gui-block{display:block}.gui-inline-block{display:inline-block}.gui-inline{display:inline}.gui-flex{display:-ms-flexbox;display:flex}.gui-hidden{display:none}.gui-display-grid{display:grid}.gui-flex-row{-ms-flex-direction:row;flex-direction:row}.gui-flex-row-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gui-flex-col{-ms-flex-direction:column;flex-direction:column}.gui-flex-col-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.gui-justify-start{-ms-flex-pack:start;justify-content:flex-start}.gui-justify-end{-ms-flex-pack:end;justify-content:flex-end}.gui-justify-center{-ms-flex-pack:center;justify-content:center}.gui-justify-between{-ms-flex-pack:justify;justify-content:space-between}.gui-justify-around{-ms-flex-pack:distribute;justify-content:space-around}.gui-justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.gui-items-start{-ms-flex-align:start;align-items:flex-start}.gui-items-end{-ms-flex-align:end;align-items:flex-end}.gui-items-center{-ms-flex-align:center;align-items:center}.gui-items-between{-ms-flex-align:space-between;align-items:space-between}.gui-items-around{-ms-flex-align:space-around;align-items:space-around}.gui-items-evenly{-ms-flex-align:space-evenly;align-items:space-evenly}.gui-flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.gui-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.gui-flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.gui-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gui-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gui-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gui-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.gui-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.gui-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.gui-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.gui-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.gui-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.gui-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.gui-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.gui-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.gui-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.gui-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.gui-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.gui-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.gui-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.gui-grid-rows-gap-0{grid-row-gap:0}.gui-grid-rows-gap-1{grid-row-gap:1px}.gui-grid-rows-gap-2{grid-row-gap:2px}.gui-grid-rows-gap-3{grid-row-gap:3px}.gui-grid-rows-gap-4{grid-row-gap:4px}.gui-grid-rows-gap-5{grid-row-gap:6px}.gui-grid-rows-gap-6{grid-row-gap:8px}.gui-grid-rows-gap-7{grid-row-gap:10px}.gui-grid-rows-gap-8{grid-row-gap:12px}.gui-grid-rows-gap-10{grid-row-gap:16px}.gui-grid-rows-gap-13{grid-row-gap:22px}.gui-grid-rows-gap-23{grid-row-gap:42px}.gui-grid-cols-gap-0{grid-column-gap:0}.gui-grid-cols-gap-1{grid-column-gap:1px}.gui-grid-cols-gap-2{grid-column-gap:2px}.gui-grid-cols-gap-3{grid-column-gap:3px}.gui-grid-cols-gap-4{grid-column-gap:4px}.gui-grid-cols-gap-5{grid-column-gap:6px}.gui-grid-cols-gap-6{grid-column-gap:8px}.gui-grid-cols-gap-7{grid-column-gap:10px}.gui-grid-cols-gap-8{grid-column-gap:12px}.gui-grid-cols-gap-10{grid-column-gap:16px}.gui-grid-cols-gap-13{grid-column-gap:22px}.gui-grid-cols-gap-23{grid-column-gap:42px}.gui-h-full{height:100%}.gui-list-none{list-style-type:none}.gui-m-0{margin:0}.gui-mx-0{margin-left:0;margin-right:0}.gui-my-0{margin-bottom:0;margin-top:0}.-gui-m-0{margin:0}.-gui-mx-0{margin-left:0;margin-right:0}.-gui-my-0{margin-bottom:0;margin-top:0}.gui-m-1{margin:1px}.gui-mx-1{margin-left:1px;margin-right:1px}.gui-my-1{margin-bottom:1px;margin-top:1px}.-gui-m-1{margin:-1px}.-gui-mx-1{margin-left:-1px;margin-right:-1px}.-gui-my-1{margin-bottom:-1px;margin-top:-1px}.gui-m-2{margin:2px}.gui-mx-2{margin-left:2px;margin-right:2px}.gui-my-2{margin-bottom:2px;margin-top:2px}.-gui-m-2{margin:-2px}.-gui-mx-2{margin-left:-2px;margin-right:-2px}.-gui-my-2{margin-bottom:-2px;margin-top:-2px}.gui-m-3{margin:3px}.gui-mx-3{margin-left:3px;margin-right:3px}.gui-my-3{margin-bottom:3px;margin-top:3px}.-gui-m-3{margin:-3px}.-gui-mx-3{margin-left:-3px;margin-right:-3px}.-gui-my-3{margin-bottom:-3px;margin-top:-3px}.gui-m-4{margin:4px}.gui-mx-4{margin-left:4px;margin-right:4px}.gui-my-4{margin-bottom:4px;margin-top:4px}.-gui-m-4{margin:-4px}.-gui-mx-4{margin-left:-4px;margin-right:-4px}.-gui-my-4{margin-bottom:-4px;margin-top:-4px}.gui-m-5{margin:6px}.gui-mx-5{margin-left:6px;margin-right:6px}.gui-my-5{margin-bottom:6px;margin-top:6px}.-gui-m-5{margin:-6px}.-gui-mx-5{margin-left:-6px;margin-right:-6px}.-gui-my-5{margin-bottom:-6px;margin-top:-6px}.gui-m-6{margin:8px}.gui-mx-6{margin-left:8px;margin-right:8px}.gui-my-6{margin-bottom:8px;margin-top:8px}.-gui-m-6{margin:-8px}.-gui-mx-6{margin-left:-8px;margin-right:-8px}.-gui-my-6{margin-bottom:-8px;margin-top:-8px}.gui-m-7{margin:10px}.gui-mx-7{margin-left:10px;margin-right:10px}.gui-my-7{margin-bottom:10px;margin-top:10px}.-gui-m-7{margin:-10px}.-gui-mx-7{margin-left:-10px;margin-right:-10px}.-gui-my-7{margin-bottom:-10px;margin-top:-10px}.gui-m-8{margin:12px}.gui-mx-8{margin-left:12px;margin-right:12px}.gui-my-8{margin-bottom:12px;margin-top:12px}.-gui-m-8{margin:-12px}.-gui-mx-8{margin-left:-12px;margin-right:-12px}.-gui-my-8{margin-bottom:-12px;margin-top:-12px}.gui-m-10{margin:16px}.gui-mx-10{margin-left:16px;margin-right:16px}.gui-my-10{margin-bottom:16px;margin-top:16px}.-gui-m-10{margin:-16px}.-gui-mx-10{margin-left:-16px;margin-right:-16px}.-gui-my-10{margin-bottom:-16px;margin-top:-16px}.gui-m-13{margin:22px}.gui-mx-13{margin-left:22px;margin-right:22px}.gui-my-13{margin-bottom:22px;margin-top:22px}.-gui-m-13{margin:-22px}.-gui-mx-13{margin-left:-22px;margin-right:-22px}.-gui-my-13{margin-bottom:-22px;margin-top:-22px}.gui-m-23{margin:42px}.gui-mx-23{margin-left:42px;margin-right:42px}.gui-my-23{margin-bottom:42px;margin-top:42px}.-gui-m-23{margin:-42px}.-gui-mx-23{margin-left:-42px;margin-right:-42px}.-gui-my-23{margin-bottom:-42px;margin-top:-42px}.gui-mb-4{margin-bottom:4px}.gui-mb-6{margin-bottom:8px}.gui-mb-8{margin-bottom:12px}.gui-mb-10{margin-bottom:16px}.gui-mb-18{margin-bottom:32px}.gui-mr-0{margin-right:0}.gui-mr-5{margin-right:6px}.gui-mr-auto{margin-right:auto}.gui-ml-auto{margin-left:auto}.gui-ml-6{margin-left:8px}.gui-mt-0{margin-top:0}.gui-mt-4{margin-top:4px}.gui-mt-6{margin-top:8px}.gui-mt-10{margin-top:16px}.gui-mt-14{margin-top:24px}.gui-overflow-hidden{overflow:hidden}.gui-overflow-y-scroll{overflow-y:scroll}.gui-overflow-x-hidden{overflow-x:hidden}.gui-overflow-auto{overflow:auto}.gui-p-0{padding:0}.gui-px-0{padding-left:0;padding-right:0}.gui-py-0{padding-bottom:0;padding-top:0}.gui-p-1{padding:1px}.gui-px-1{padding-left:1px;padding-right:1px}.gui-py-1{padding-bottom:1px;padding-top:1px}.gui-p-2{padding:2px}.gui-px-2{padding-left:2px;padding-right:2px}.gui-py-2{padding-bottom:2px;padding-top:2px}.gui-p-3{padding:3px}.gui-px-3{padding-left:3px;padding-right:3px}.gui-py-3{padding-bottom:3px;padding-top:3px}.gui-p-4{padding:4px}.gui-px-4{padding-left:4px;padding-right:4px}.gui-py-4{padding-bottom:4px;padding-top:4px}.gui-p-5{padding:6px}.gui-px-5{padding-left:6px;padding-right:6px}.gui-py-5{padding-bottom:6px;padding-top:6px}.gui-p-6{padding:8px}.gui-px-6{padding-left:8px;padding-right:8px}.gui-py-6{padding-bottom:8px;padding-top:8px}.gui-p-7{padding:10px}.gui-px-7{padding-left:10px;padding-right:10px}.gui-py-7{padding-bottom:10px;padding-top:10px}.gui-p-8{padding:12px}.gui-px-8{padding-left:12px;padding-right:12px}.gui-py-8{padding-bottom:12px;padding-top:12px}.gui-p-10{padding:16px}.gui-px-10{padding-left:16px;padding-right:16px}.gui-py-10{padding-bottom:16px;padding-top:16px}.gui-p-13{padding:22px}.gui-px-13{padding-left:22px;padding-right:22px}.gui-py-13{padding-bottom:22px;padding-top:22px}.gui-p-23{padding:42px}.gui-px-23{padding-left:42px;padding-right:42px}.gui-py-23{padding-bottom:42px;padding-top:42px}.gui-pr-10{padding-right:16px}.gui-pl-9{padding-right:10px}.gui-pb-6{padding-bottom:8px}.gui-pb-12{padding-bottom:20px}.gui-pl-21{padding-left:38px}.gui-pt-4{padding-top:4px}.gui-pt-6{padding-top:8px}.gui-pt-10{padding-top:16px}.gui-pt-12{padding-top:20px}.gui-pt-14{padding-top:24px}.gui-static{position:static}.gui-fixed{position:fixed}.gui-relative{position:relative}.gui-absolute{position:absolute}.gui-text-xxs{font-size:11px}.gui-text-xs{font-size:12px}.gui-text-sm{font-size:13px}.gui-text-base{font-size:14px}.gui-text-lg{font-size:16px}.gui-text-xl{font-size:18px}.gui-text-2xl{font-size:20px}.gui-text-3xl{font-size:22px}.gui-leading-4{line-height:16px}.gui-leading-6{line-height:24px}.gui-font-thin{font-weight:100}.gui-font-extralight{font-weight:200}.gui-font-light{font-weight:300}.gui-font-normal{font-weight:400}.gui-font-medium{font-weight:500}.gui-font-semibold{font-weight:600}.gui-font-bold{font-weight:700}.gui-font-extrabold{font-weight:800}.gui-font-black{font-weight:900}.gui-italic{font-style:italic}.gui-not-italic{font-style:normal}.gui-whitespace-nowrap{white-space:nowrap}.gui-overflow-ellipsis{text-overflow:ellipsis}.gui-no-underline{text-decoration:none}.gui-text-center{text-align:center}.gui-w-full{width:100%}.gui-w-96{width:384px}.gui-w-3\\\\/5{width:60%}.gui-date-picker-calendar{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;font-family:Roboto,Helvetica Neue,sans-serif;border-radius:4px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0 0 12px;width:268px}.gui-date-picker-header{font-size:13px;font-weight:400;text-align:center;border-top:1px solid #999}.gui-date-picker-cell{border-radius:4px;border-color:transparent;border-style:solid;border-width:1px;padding:2px 4px;position:relative;text-align:center;font-size:13px;z-index:0}.gui-date-picker-cell:before{border:1px solid #999;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:none;height:36px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:36px;z-index:-1}.gui-date-picker-cell:after{background:transparent;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:block;height:32px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:32px;z-index:-1}.gui-date-picker-cell:hover:after{background:#e6e6e6}.gui-date-picker-day{color:#333;cursor:pointer;opacity:.2}.gui-date-picker-day.gui-date-picker-selected-month{opacity:1}.gui-date-picker-month,.gui-date-picker-year{cursor:pointer}.gui-date-picker-year{font-size:13px}.gui-date-picker-day.gui-date-picker-current-day:before,.gui-date-picker-month.gui-date-picker-current-month:before,.gui-date-picker-year.gui-date-picker-current-year:before{display:block}.gui-date-picker-day.gui-date-picker-selected-day{pointer-events:none}.gui-date-picker-day.gui-date-picker-selected-day,.gui-date-picker-month.gui-date-picker-selected-month,.gui-date-picker-year.gui-date-picker-selected-year{color:#fff}.gui-date-picker-day.gui-date-picker-selected-day:after,.gui-date-picker-month.gui-date-picker-selected-month:after,.gui-date-picker-year.gui-date-picker-selected-year:after{background:#2185d0}.gui-date-picker-arrows{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:32px}.gui-date-picker-view-padding{padding:0 8px}.gui-date-picker-view-border-top{border-top:1px solid #999}gui-time-picker{border-top:1px solid #999;margin:6px 0 0;padding:12px 0 2.6666666667px}gui-time-picker form{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}gui-time-picker.only-time-picker{border-top:none}.gui-time-picker-button-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding-right:8px}.gui-time-picker-button-wrapper .gui-button{font-size:12px}.gui-time-picker-item{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0 8px;position:relative}.gui-time-picker-item input{box-sizing:border-box;max-width:24px;text-align:center}.gui-time-picker-item input::-webkit-outer-spin-button,.gui-time-picker-item input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.gui-time-picker-item input[type=number]{-moz-appearance:textfield}.gui-time-picker-item .gui-date-picker-arrow:nth-of-type(1){margin-bottom:2px}.gui-time-picker-item .gui-date-picker-arrow:nth-of-type(2){margin-top:6px}.gui-date-picker-view-panel{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:16px 18px}.gui-date-picker-view-panel .gui-date-picker-view-panel-date{cursor:pointer;font-size:14px;font-weight:700;margin:0;pointer-events:auto}.gui-date-picker-arrow{position:relative;z-index:0}.gui-date-picker-arrow:hover:after{background:#e6e6e6;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:block;height:24px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:24px;z-index:-1}\\n\"]\n }]\n }], () => [{\n type: FabricDatePickerService\n }, {\n type: FabricDatePickerCompositionService\n }, {\n type: FabricDatePickerWeeks\n }, {\n type: FabricDatePickerYears\n }, {\n type: FabricDatePickerYearsService\n }, {\n type: FabricDatePickerCalendarService\n }, {\n type: FabricDatePickerCalendarViewService\n }, {\n type: i0.ChangeDetectorRef\n }], null);\n})();\nvar FabricPlacement;\n(function (FabricPlacement) {\n FabricPlacement[FabricPlacement[\"TOP\"] = 1] = \"TOP\";\n FabricPlacement[FabricPlacement[\"BOTTOM\"] = 2] = \"BOTTOM\";\n FabricPlacement[FabricPlacement[\"BEFORE\"] = 3] = \"BEFORE\";\n FabricPlacement[FabricPlacement[\"AFTER\"] = 4] = \"AFTER\";\n})(FabricPlacement || (FabricPlacement = {}));\nconst themeToken = new InjectionToken('Theme token');\nclass FabricModalThemeService {\n fabricTheme$ = new BehaviorSubject(Theme.FABRIC);\n onTheme() {\n return this.fabricTheme$.asObservable();\n }\n changeTheme(theme) {\n const fabricTheme = typeof theme === 'string' ? this.convertToTheme(theme) : theme;\n this.fabricTheme$.next(fabricTheme);\n }\n convertToTheme(theme) {\n switch (theme.toLowerCase()) {\n case 'fabric':\n return Theme.FABRIC;\n case 'material':\n return Theme.MATERIAL;\n case 'generic':\n return Theme.GENERIC;\n case 'light':\n return Theme.LIGHT;\n case 'dark':\n return Theme.DARK;\n default:\n return Theme.FABRIC;\n }\n }\n static ɵfac = function FabricModalThemeService_Factory(t) {\n return new (t || FabricModalThemeService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricModalThemeService,\n factory: FabricModalThemeService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricModalThemeService, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricThemedComponent extends FabricReactive {\n elementRef;\n renderer;\n themeService;\n static CSS_CLASS_PREFIX = 'gui-';\n constructor(elementRef, renderer, themeService) {\n super();\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.themeService = themeService;\n }\n ngAfterViewInit() {\n this.themeService.onTheme().pipe(distinctUntilChanged(), takeUntil(this.unsubscribe$)).subscribe(theme => {\n this.addTheme(theme);\n });\n }\n addTheme(theme) {\n this.removeThemes();\n const cssClass = FabricThemedComponent.CSS_CLASS_PREFIX + theme.toLowerCase();\n this.renderer.addClass(this.elementRef.nativeElement, cssClass);\n }\n removeThemes() {\n const themes = Object.keys(Theme).map(key => Theme[key].toLowerCase()).filter(val => !Number.isInteger(val));\n themes.forEach(theme => {\n const cssClass = FabricThemedComponent.CSS_CLASS_PREFIX + theme;\n this.renderer.removeClass(this.elementRef.nativeElement, cssClass);\n });\n }\n getElementRef() {\n return this.elementRef;\n }\n getRenderer() {\n return this.renderer;\n }\n static ɵfac = function FabricThemedComponent_Factory(t) {\n return new (t || FabricThemedComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FabricModalThemeService));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: FabricThemedComponent,\n features: [i0.ɵɵInheritDefinitionFeature]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricThemedComponent, [{\n type: Directive\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: FabricModalThemeService\n }], null);\n})();\nclass FabricGeometry {\n elementRef;\n containerClassName;\n constructor(elementRef, containerClassName) {\n this.elementRef = elementRef;\n this.containerClassName = containerClassName;\n }\n getHeight() {\n return this.elementRef.nativeElement.querySelector(`.${this.containerClassName}`).offsetHeight;\n }\n getWidth() {\n return this.elementRef.nativeElement.querySelector(`.${this.containerClassName}`).offsetWidth;\n }\n}\nclass FabricCords extends FabricGeometry {\n verticalPosition = 0;\n horizontalPosition = 0;\n constructor(window, invokerElementRef, invokedElementRef, containerClassName, placement, offset) {\n super(invokedElementRef, containerClassName);\n this.calculateCords(window, invokerElementRef, offset, placement);\n }\n getVerticalPosition() {\n return this.verticalPosition;\n }\n getHorizontalPosition() {\n return this.horizontalPosition;\n }\n calculateCords(window, invokerElementRef, offset, placement) {\n const elementRect = invokerElementRef.nativeElement.getBoundingClientRect(),\n elementBottom = window.pageYOffset + elementRect.bottom,\n elementLeft = window.pageXOffset + elementRect.left,\n elementRight = window.pageXOffset + elementRect.right,\n elementTop = window.pageYOffset + elementRect.top,\n topCords = elementTop + offset - this.getHeight();\n switch (placement) {\n case FabricPlacement.BOTTOM:\n this.horizontalPosition = elementLeft;\n this.verticalPosition = elementBottom + offset;\n break;\n case FabricPlacement.TOP:\n this.horizontalPosition = elementLeft;\n this.verticalPosition = topCords;\n break;\n case FabricPlacement.BEFORE:\n this.horizontalPosition = elementRight + offset - this.getWidth();\n this.verticalPosition = elementBottom;\n break;\n case FabricPlacement.AFTER:\n this.horizontalPosition = elementLeft + offset;\n this.verticalPosition = elementBottom;\n break;\n default:\n this.horizontalPosition = elementLeft;\n this.verticalPosition = elementBottom + offset;\n }\n this.calculateDirection(invokerElementRef, window, topCords);\n }\n calculateDirection(invokerElementRef, window, topCords) {\n const windowHeightWithOffset = window.innerHeight + window.pageYOffset,\n windowWidthWithOffset = window.innerWidth + window.pageXOffset,\n invokerElementWidth = invokerElementRef.nativeElement.offsetWidth,\n invokedElementHeight = this.getHeight(),\n invokedElementWidth = this.getWidth();\n const invokedElementDoesNotFitHorizontally = windowWidthWithOffset - this.horizontalPosition - invokedElementWidth < 0,\n invokedElementDoesNotFitVertically = windowHeightWithOffset - this.verticalPosition - invokedElementHeight < 0;\n if (invokedElementDoesNotFitHorizontally) {\n this.horizontalPosition -= invokedElementWidth - invokerElementWidth;\n }\n if (invokedElementDoesNotFitVertically) {\n this.verticalPosition = topCords;\n }\n }\n}\nclass InlineDialogCords extends FabricCords {\n static defaultInlineDialogOffset = 8;\n constructor(invokerElementRef, invokedElementRef, window, placement, inlineDialogOffset = InlineDialogCords.defaultInlineDialogOffset) {\n super(window, invokerElementRef, invokedElementRef, 'gui-inline-dialog-wrapper', placement, inlineDialogOffset);\n }\n}\nclass InlineDialogGeometryService {\n platformId;\n inlineDialogGeometry;\n inlineDialogState$ = new Subject();\n constructor(platformId) {\n this.platformId = platformId;\n }\n observeInlineDialogCords() {\n return this.inlineDialogState$.asObservable();\n }\n changeGeometry(inlineDialogRef) {\n this.inlineDialogGeometry = inlineDialogRef;\n }\n getInlineDialogCords(invokerElementRef, placement, offset) {\n if (isPlatformBrowser(this.platformId)) {\n const inlineDialogCords = new InlineDialogCords(invokerElementRef, this.inlineDialogGeometry, window, placement, offset);\n this.inlineDialogState$.next(inlineDialogCords);\n }\n }\n static ɵfac = function InlineDialogGeometryService_Factory(t) {\n return new (t || InlineDialogGeometryService)(i0.ɵɵinject(PLATFORM_ID));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: InlineDialogGeometryService,\n factory: InlineDialogGeometryService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(InlineDialogGeometryService, [{\n type: Injectable\n }], () => [{\n type: undefined,\n decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }]\n }], null);\n})();\nclass FabricInlineDialogComponent extends FabricThemedComponent {\n componentFactoryResolver;\n changeDetectorRef;\n inlineDialogService;\n elRef;\n inlineDialogGeometryService;\n container;\n customClass = '';\n inlineDialogNestedComponent;\n inlineDialogNestedInjector;\n dialogTopAttribute;\n dialogLeftAttribute;\n visible = false;\n width = '400px';\n constructor(componentFactoryResolver, changeDetectorRef, inlineDialogService, elRef, inlineDialogGeometryService, renderer, themeService, theme) {\n super(elRef, renderer, themeService);\n this.componentFactoryResolver = componentFactoryResolver;\n this.changeDetectorRef = changeDetectorRef;\n this.inlineDialogService = inlineDialogService;\n this.elRef = elRef;\n this.inlineDialogGeometryService = inlineDialogGeometryService;\n }\n ngOnInit() {\n this.inlineDialogGeometryService.observeInlineDialogCords().pipe(takeUntil(this.unsubscribe$)).subscribe(inlineDialogCords => {\n this.dialogTopAttribute = inlineDialogCords.getVerticalPosition();\n this.dialogLeftAttribute = inlineDialogCords.getHorizontalPosition();\n this.changeDetectorRef.detectChanges();\n });\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.createNestedComponent(this.inlineDialogNestedComponent);\n this.inlineDialogGeometryService.changeGeometry(this.elRef);\n this.changeDetectorRef.detectChanges();\n timer(0).pipe(takeUntil(this.unsubscribe$)).subscribe(() => {\n this.visible = true;\n this.changeDetectorRef.detectChanges();\n });\n }\n ngOnDestroy() {\n this.unsubscribe();\n }\n clickOutside(event) {\n if (this.isContainerClicked(event)) {\n this.inlineDialogService.close();\n }\n }\n isContainerClicked(event) {\n return !this.elRef.nativeElement.contains(event.target);\n }\n createNestedComponent(component) {\n if (this.container && component) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(component);\n if (this.inlineDialogNestedInjector) {\n this.container.createComponent(componentFactory, undefined, this.inlineDialogNestedInjector);\n } else {\n this.container.createComponent(componentFactory);\n }\n this.changeDetectorRef.detectChanges();\n }\n }\n static ɵfac = function FabricInlineDialogComponent_Factory(t) {\n return new (t || FabricInlineDialogComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(forwardRef(() => FabricInlineDialogService)), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(InlineDialogGeometryService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FabricModalThemeService), i0.ɵɵdirectiveInject(themeToken));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricInlineDialogComponent,\n selectors: [[\"ng-component\"]],\n viewQuery: function FabricInlineDialogComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c8, 5, ViewContainerRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 4,\n vars: 9,\n consts: [[\"container\", \"\"], [1, \"gui-inline-dialog-wrapper\", 3, \"ngClass\"], [1, \"gui-inline-dialog-content\", 3, \"click\"]],\n template: function FabricInlineDialogComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 1)(1, \"div\", 2);\n i0.ɵɵlistener(\"click\", function FabricInlineDialogComponent_Template_div_click_1_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.clickOutside($event));\n }, false, i0.ɵɵresolveDocument);\n i0.ɵɵtemplate(2, FabricInlineDialogComponent_ng_template_2_Template, 0, 0, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"left\", ctx.dialogLeftAttribute, \"px\")(\"top\", ctx.dialogTopAttribute, \"px\");\n i0.ɵɵproperty(\"ngClass\", ctx.customClass);\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"max-width\", ctx.width);\n i0.ɵɵclassProp(\"gui-inline-dialog-visible\", ctx.visible);\n }\n },\n dependencies: [i1.NgClass],\n styles: [\".gui-inline-dialog-wrapper{box-sizing:border-box;position:absolute;z-index:1}.gui-inline-dialog-wrapper .gui-inline-dialog-content{background-color:#fff;border-radius:4px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;box-sizing:border-box;display:block;z-index:1000;opacity:0;transition:opacity .2s ease-in-out}.gui-inline-dialog-wrapper .gui-inline-dialog-content.gui-inline-dialog-visible{opacity:1}\\n\", \".gui-dark .gui-inline-dialog-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricInlineDialogComponent, [{\n type: Component,\n args: [{\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<div [ngClass]=\\\"customClass\\\"\\n\\t [style.left.px]=\\\"dialogLeftAttribute\\\"\\n\\t [style.top.px]=\\\"dialogTopAttribute\\\"\\n\\t class=\\\"gui-inline-dialog-wrapper\\\">\\n\\n\\t<div (document:click)=\\\"clickOutside($event)\\\"\\n\\t\\t [class.gui-inline-dialog-visible]=\\\"visible\\\"\\n\\t\\t [style.max-width]=\\\"width\\\"\\n\\t\\t class=\\\"gui-inline-dialog-content\\\">\\n\\n\\t\\t<ng-template #container></ng-template>\\n\\n\\t</div>\\n\\n</div>\\n\",\n styles: [\".gui-inline-dialog-wrapper{box-sizing:border-box;position:absolute;z-index:1}.gui-inline-dialog-wrapper .gui-inline-dialog-content{background-color:#fff;border-radius:4px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;box-sizing:border-box;display:block;z-index:1000;opacity:0;transition:opacity .2s ease-in-out}.gui-inline-dialog-wrapper .gui-inline-dialog-content.gui-inline-dialog-visible{opacity:1}\\n\", \".gui-dark .gui-inline-dialog-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}\\n\"]\n }]\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: FabricInlineDialogService,\n decorators: [{\n type: Inject,\n args: [forwardRef(() => FabricInlineDialogService)]\n }]\n }, {\n type: i0.ElementRef\n }, {\n type: InlineDialogGeometryService\n }, {\n type: i0.Renderer2\n }, {\n type: FabricModalThemeService\n }, {\n type: Theme,\n decorators: [{\n type: Inject,\n args: [themeToken]\n }]\n }], {\n container: [{\n type: ViewChild,\n args: ['container', {\n read: ViewContainerRef,\n static: false\n }]\n }]\n });\n})();\nclass FabricInlineDialogService {\n componentFactoryResolver;\n applicationRef;\n injector;\n document;\n inlineDialogGeometryService;\n inlineDialogRef = null;\n opened = false;\n opened$ = new BehaviorSubject(false);\n destroy$ = new Subject();\n constructor(componentFactoryResolver, applicationRef, injector, document, inlineDialogGeometryService) {\n this.componentFactoryResolver = componentFactoryResolver;\n this.applicationRef = applicationRef;\n this.injector = injector;\n this.document = document;\n this.inlineDialogGeometryService = inlineDialogGeometryService;\n }\n ngOnDestroy() {\n this.removeInlineDialog();\n }\n open(element, component, config) {\n if (event) {\n event.stopPropagation();\n }\n if (!this.inlineDialogRef) {\n let parentInjector = this.injector,\n placement = FabricPlacement.BOTTOM,\n offset = 0,\n theme = Theme.FABRIC,\n customClass = '';\n if (config && config.injector) {\n parentInjector = config.injector;\n }\n if (config && config.placement) {\n placement = config.placement;\n }\n if (config && config.offset) {\n offset = config.offset;\n }\n if (config && config.theme) {\n theme = config.theme;\n }\n if (config && config.customClass) {\n customClass = config.customClass;\n }\n const injector = Injector.create({\n providers: [{\n provide: themeToken,\n useValue: theme\n }],\n parent: parentInjector\n });\n this.setOpened(true);\n this.appendInlineDialogToElement(component, injector, customClass);\n this.inlineDialogGeometryService.getInlineDialogCords(element, placement, offset);\n this.closeOnEscKey();\n } else {\n this.close();\n }\n }\n close() {\n this.removeInlineDialog();\n this.destroy$.next(undefined);\n this.destroy$.complete();\n this.setOpened(false);\n }\n isOpened() {\n return this.opened;\n }\n onOpened() {\n return this.opened$.asObservable();\n }\n appendInlineDialogToElement(component, injector, customClass) {\n const componentRef = this.componentFactoryResolver.resolveComponentFactory(FabricInlineDialogComponent).create(injector);\n if (customClass) {\n componentRef.instance.customClass = customClass;\n }\n componentRef.instance.inlineDialogNestedComponent = component;\n componentRef.changeDetectorRef.detectChanges();\n this.applicationRef.attachView(componentRef.hostView);\n const domDialogElement = componentRef.hostView.rootNodes[0];\n this.document.body.appendChild(domDialogElement);\n this.inlineDialogRef = componentRef;\n }\n removeInlineDialog() {\n if (this.inlineDialogRef) {\n this.applicationRef.detachView(this.inlineDialogRef.hostView);\n this.inlineDialogRef.destroy();\n this.inlineDialogRef = null;\n }\n }\n setOpened(opened) {\n this.opened = opened;\n this.opened$.next(this.opened);\n }\n closeOnEscKey() {\n const close$ = fromEvent(this.document, 'keyup');\n close$.pipe(filter(key => key.code === 'Escape'), takeUntil(this.destroy$)).subscribe(() => this.close());\n }\n static ɵfac = function FabricInlineDialogService_Factory(t) {\n return new (t || FabricInlineDialogService)(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(InlineDialogGeometryService));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricInlineDialogService,\n factory: FabricInlineDialogService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricInlineDialogService, [{\n type: Injectable\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ApplicationRef\n }, {\n type: i0.Injector\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }]\n }, {\n type: InlineDialogGeometryService\n }], null);\n})();\nclass FabricDatePickerInlineDialogService {\n fabricInlineDialogService;\n constructor(fabricInlineDialogService) {\n this.fabricInlineDialogService = fabricInlineDialogService;\n }\n open(element, component, datePickerThem) {\n let theme = Theme.FABRIC;\n if (datePickerThem) {\n theme = datePickerThem;\n }\n this.fabricInlineDialogService.open(element, component, {\n placement: FabricPlacement.BOTTOM,\n offset: 0,\n theme\n });\n }\n close() {\n this.fabricInlineDialogService.close();\n }\n isOpened() {\n return this.fabricInlineDialogService.isOpened();\n }\n onOpened() {\n return this.fabricInlineDialogService.onOpened();\n }\n static ɵfac = function FabricDatePickerInlineDialogService_Factory(t) {\n return new (t || FabricDatePickerInlineDialogService)(i0.ɵɵinject(FabricInlineDialogService));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDatePickerInlineDialogService,\n factory: FabricDatePickerInlineDialogService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerInlineDialogService, [{\n type: Injectable\n }], () => [{\n type: FabricInlineDialogService\n }], null);\n})();\nclass DatePickerIconComponent {\n static ɵfac = function DatePickerIconComponent_Factory(t) {\n return new (t || DatePickerIconComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: DatePickerIconComponent,\n selectors: [[\"gui-date-picker-icon\"]],\n hostVars: 2,\n hostBindings: function DatePickerIconComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-date-picker-icon\", true);\n }\n },\n decls: 8,\n vars: 0,\n consts: [[\"height\", \"9.82\", \"viewBox\", \"0 0 8.76 9.82\", \"width\", \"8.76\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"d\", \"M401.41,308.63l-.46.15h-.15a.34.34,0,0,1-.08-.67l.68-.22a1.539,1.539,0,0,1,.38-.07h0a.39.39,0,0,1,.39.39V312a.38.38,0,0,1-.39.39.39.39,0,0,1-.39-.39Z\", \"fill\", \"#8c8b8b\", \"transform\", \"translate(-397.19 -304.36)\"], [\"fill\", \"none\", \"stroke-linecap\", \"round\", \"stroke-linejoin\", \"round\", \"stroke-width\", \"1\", \"transform\", \"translate(0.64 9.32)\", \"x1\", \"7.39\"], [\"fill\", \"none\", \"stroke-linecap\", \"round\", \"stroke-linejoin\", \"round\", \"stroke-width\", \"1\", \"transform\", \"translate(0.64 2.16)\", \"x1\", \"7.39\"], [\"fill\", \"none\", \"stroke-linecap\", \"round\", \"stroke-linejoin\", \"round\", \"stroke-width\", \"1\", \"transform\", \"translate(0.5 0.5)\", \"y2\", \"8.82\"], [\"fill\", \"none\", \"stroke-linecap\", \"round\", \"stroke-linejoin\", \"round\", \"stroke-width\", \"1\", \"transform\", \"translate(3.09 0.5)\", \"y2\", \"1.66\"], [\"fill\", \"none\", \"stroke-linecap\", \"round\", \"stroke-linejoin\", \"round\", \"stroke-width\", \"1\", \"transform\", \"translate(5.68 0.5)\", \"y2\", \"1.66\"], [\"fill\", \"none\", \"stroke-linecap\", \"round\", \"stroke-linejoin\", \"round\", \"stroke-width\", \"1\", \"transform\", \"translate(8.26 0.5)\", \"y2\", \"8.82\"]],\n template: function DatePickerIconComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1)(2, \"line\", 2)(3, \"line\", 3)(4, \"line\", 4)(5, \"line\", 5)(6, \"line\", 6)(7, \"line\", 7);\n i0.ɵɵelementEnd();\n }\n },\n styles: [\".gui-date-picker-icon svg{height:16px;width:16px}.gui-date-picker-icon svg line,.gui-date-picker-icon svg path{transition:all .3s ease-in-out}.gui-date-picker-icon svg line{stroke:#aaa}.gui-date-picker-icon svg path{fill:#aaa}.gui-date-picker-icon svg:hover line{stroke:#464646}.gui-date-picker-icon svg:hover path{fill:#464646}\\n\", \".gui-dark .gui-date-picker-icon svg line{stroke:#bdbdbd}.gui-dark .gui-date-picker-icon svg path{fill:#bdbdbd}.gui-dark .gui-date-picker-icon svg:hover line{stroke:#616161}.gui-dark .gui-date-picker-icon svg:hover path{fill:#616161}\\n\"],\n encapsulation: 2\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(DatePickerIconComponent, [{\n type: Component,\n args: [{\n selector: 'gui-date-picker-icon',\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-date-picker-icon]': 'true'\n },\n template: \"<svg height=\\\"9.82\\\" viewBox=\\\"0 0 8.76 9.82\\\" width=\\\"8.76\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path\\n\\t\\td=\\\"M401.41,308.63l-.46.15h-.15a.34.34,0,0,1-.08-.67l.68-.22a1.539,1.539,0,0,1,.38-.07h0a.39.39,0,0,1,.39.39V312a.38.38,0,0,1-.39.39.39.39,0,0,1-.39-.39Z\\\"\\n\\t\\tfill=\\\"#8c8b8b\\\" transform=\\\"translate(-397.19 -304.36)\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.64 9.32)\\\" x1=\\\"7.39\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.64 2.16)\\\" x1=\\\"7.39\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.5 0.5)\\\" y2=\\\"8.82\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(3.09 0.5)\\\" y2=\\\"1.66\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(5.68 0.5)\\\" y2=\\\"1.66\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(8.26 0.5)\\\" y2=\\\"8.82\\\"/>\\n</svg>\\n\",\n styles: [\".gui-date-picker-icon svg{height:16px;width:16px}.gui-date-picker-icon svg line,.gui-date-picker-icon svg path{transition:all .3s ease-in-out}.gui-date-picker-icon svg line{stroke:#aaa}.gui-date-picker-icon svg path{fill:#aaa}.gui-date-picker-icon svg:hover line{stroke:#464646}.gui-date-picker-icon svg:hover path{fill:#464646}\\n\", \".gui-dark .gui-date-picker-icon svg line{stroke:#bdbdbd}.gui-dark .gui-date-picker-icon svg path{fill:#bdbdbd}.gui-dark .gui-date-picker-icon svg:hover line{stroke:#616161}.gui-dark .gui-date-picker-icon svg:hover path{fill:#616161}\\n\"]\n }]\n }], null, null);\n})();\nclass FabricDatePickerComponent extends FabricReactive {\n fabricDatePickerInlineDialogService;\n datePickerService;\n datePickerCompositionService;\n changeDetectorRef;\n datePickerRef;\n parentElement;\n theme;\n selectDate;\n name = '';\n openDialog = false;\n onlyDialog = false;\n datePipeOptions = 'dd/MM/yyyy';\n dateSelected = new EventEmitter();\n dialogOpened = new EventEmitter();\n datePickerForm;\n pickedDate = new Date();\n inputDisabled = '';\n constructor(fabricDatePickerInlineDialogService, datePickerService, datePickerCompositionService, formBuilder, changeDetectorRef) {\n super();\n this.fabricDatePickerInlineDialogService = fabricDatePickerInlineDialogService;\n this.datePickerService = datePickerService;\n this.datePickerCompositionService = datePickerCompositionService;\n this.changeDetectorRef = changeDetectorRef;\n this.datePickerForm = formBuilder.group({\n date: ['']\n });\n }\n ngOnChanges(changes) {\n if (changes['selectDate']) {\n if (this.selectDate) {\n if (!this.pickedDate || !FabricDateUtils.areDatesSame(this.selectDate, this.pickedDate)) {\n this.datePickerService.dateSelected(this.selectDate);\n }\n }\n }\n if (changes['onlyDialog']) {\n this.inputDisabled = this.onlyDialog ? 'disabled' : '';\n }\n if (changes['datePipeOptions']) {\n this.datePickerCompositionService.next(this.datePipeOptions);\n }\n }\n ngOnInit() {\n this.datePickerService.observeSelectedDate().pipe(skip(1), takeUntil(this.unsubscribe$)).subscribe(date => {\n this.pickedDate = date;\n this.emitSelectedDate(date);\n this.changeDetectorRef.detectChanges();\n this.closeDatePicker();\n });\n this.fabricDatePickerInlineDialogService.onOpened().pipe(skip(1), takeUntil(this.unsubscribe$)).subscribe(opened => {\n this.dialogOpened.emit(opened);\n });\n // this.observeDayChanges();\n }\n ngAfterViewInit() {\n this.datePickerService.observeSelectedDate().pipe(take(1), takeUntil(this.unsubscribe$)).subscribe(date => {\n this.pickedDate = date;\n this.emitSelectedDate(date);\n this.changeDetectorRef.detectChanges();\n });\n if (this.openDialog) {\n this.openDatePicker();\n }\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this.fabricDatePickerInlineDialogService.close();\n }\n openDatePicker() {\n const shouldUseDatePickerRef = !this.parentElement && this.datePickerRef,\n parentElement = shouldUseDatePickerRef ? this.datePickerRef : this.parentElement;\n if (parentElement) {\n this.fabricDatePickerInlineDialogService.open(parentElement, FabricDatePickerCalendarComponent, this.theme);\n }\n }\n closeDatePicker() {\n this.fabricDatePickerInlineDialogService.close();\n }\n emitSelectedDate(date) {\n this.dateSelected.emit(date);\n }\n static ɵfac = function FabricDatePickerComponent_Factory(t) {\n return new (t || FabricDatePickerComponent)(i0.ɵɵdirectiveInject(FabricDatePickerInlineDialogService), i0.ɵɵdirectiveInject(FabricDatePickerService), i0.ɵɵdirectiveInject(FabricDatePickerCompositionService), i0.ɵɵdirectiveInject(i1$1.FormBuilder), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDatePickerComponent,\n selectors: [[\"gui-date-picker\"]],\n viewQuery: function FabricDatePickerComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c9, 5, ElementRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePickerRef = _t.first);\n }\n },\n inputs: {\n parentElement: \"parentElement\",\n theme: \"theme\",\n selectDate: \"selectDate\",\n name: \"name\",\n openDialog: \"openDialog\",\n onlyDialog: \"onlyDialog\",\n datePipeOptions: \"datePipeOptions\"\n },\n outputs: {\n dateSelected: \"dateSelected\",\n dialogOpened: \"dialogOpened\"\n },\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n decls: 6,\n vars: 7,\n consts: [[\"datePicker\", \"\"], [1, \"gui-date-picker\"], [3, \"formGroup\"], [\"formControlName\", \"date\", \"gui-input\", \"\", \"readonly\", \"\", 1, \"gui-date-picker-input\", 3, \"name\", \"value\"], [1, \"gui-date-picker-icon\", 3, \"click\"]],\n template: function FabricDatePickerComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 1, 0)(2, \"form\", 2);\n i0.ɵɵelement(3, \"input\", 3);\n i0.ɵɵpipe(4, \"date\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(5, \"gui-date-picker-icon\", 4);\n i0.ɵɵlistener(\"click\", function FabricDatePickerComponent_Template_gui_date_picker_icon_click_5_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.openDatePicker());\n });\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"formGroup\", ctx.datePickerForm);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"name\", ctx.name)(\"value\", i0.ɵɵpipeBind2(4, 4, ctx.pickedDate, ctx.datePipeOptions));\n i0.ɵɵattribute(\"disabled\", ctx.inputDisabled);\n }\n },\n dependencies: [i1$1.ɵNgNoValidate, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.FormGroupDirective, i1$1.FormControlName, FabricInputComponent, DatePickerIconComponent, i1.DatePipe],\n styles: [\".gui-date-picker{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;position:relative}.gui-date-picker .gui-date-picker-icon{cursor:pointer;position:absolute;right:0}.gui-date-picker input,.gui-date-picker-calendar input{background:transparent;border-radius:0;border-width:0 0 1px 0;font-family:Arial;font-size:14px;padding:4px}.gui-date-picker input:disabled,.gui-date-picker-calendar input:disabled{color:#333}.gui-date-picker .gui-date-picker-icon,.gui-date-picker-calendar .gui-date-picker-icon{cursor:pointer;position:absolute;right:0}\\n\", \".gui-dark .gui-input{background:transparent;color:#bdbdbd}.gui-dark .gui-date-picker-calendar .gui-arrow-icon:hover:after{background:#757575}.gui-dark .gui-date-picker-calendar .gui-date-picker-cell{color:#bdbdbd}.gui-dark .gui-date-picker-calendar .gui-date-picker-cell:hover:after{background:#757575}.gui-dark .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day,.gui-dark .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month,.gui-dark .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year{color:#333}.gui-dark .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day:after,.gui-dark .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month:after,.gui-dark .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year:after{background:#dfb8e6}\\n\", \".gui-material .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day:after,.gui-material .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month:after,.gui-material .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year:after{background:#6200ee}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerComponent, [{\n type: Component,\n args: [{\n selector: 'gui-date-picker',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<div #datePicker\\n\\t class=\\\"gui-date-picker\\\">\\n\\n\\t<form [formGroup]=\\\"datePickerForm\\\">\\n\\n\\t\\t<input [attr.disabled]=\\\"inputDisabled\\\"\\n\\t\\t\\t [name]=name\\n\\t\\t\\t [value]=\\\"pickedDate | date: datePipeOptions\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-input\\\"\\n\\t\\t\\t formControlName='date'\\n\\t\\t\\t gui-input\\n\\t\\t\\t readonly>\\n\\t</form>\\n\\n\\t<gui-date-picker-icon (click)=\\\"openDatePicker()\\\"\\n\\t\\t\\t\\t\\t\\t class=\\\"gui-date-picker-icon\\\">\\n\\t</gui-date-picker-icon>\\n\\n</div>\\n\",\n styles: [\".gui-date-picker{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;position:relative}.gui-date-picker .gui-date-picker-icon{cursor:pointer;position:absolute;right:0}.gui-date-picker input,.gui-date-picker-calendar input{background:transparent;border-radius:0;border-width:0 0 1px 0;font-family:Arial;font-size:14px;padding:4px}.gui-date-picker input:disabled,.gui-date-picker-calendar input:disabled{color:#333}.gui-date-picker .gui-date-picker-icon,.gui-date-picker-calendar .gui-date-picker-icon{cursor:pointer;position:absolute;right:0}\\n\", \".gui-dark .gui-input{background:transparent;color:#bdbdbd}.gui-dark .gui-date-picker-calendar .gui-arrow-icon:hover:after{background:#757575}.gui-dark .gui-date-picker-calendar .gui-date-picker-cell{color:#bdbdbd}.gui-dark .gui-date-picker-calendar .gui-date-picker-cell:hover:after{background:#757575}.gui-dark .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day,.gui-dark .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month,.gui-dark .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year{color:#333}.gui-dark .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day:after,.gui-dark .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month:after,.gui-dark .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year:after{background:#dfb8e6}\\n\", \".gui-material .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day:after,.gui-material .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month:after,.gui-material .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year:after{background:#6200ee}\\n\"]\n }]\n }], () => [{\n type: FabricDatePickerInlineDialogService\n }, {\n type: FabricDatePickerService\n }, {\n type: FabricDatePickerCompositionService\n }, {\n type: i1$1.FormBuilder\n }, {\n type: i0.ChangeDetectorRef\n }], {\n datePickerRef: [{\n type: ViewChild,\n args: ['datePicker', {\n read: ElementRef,\n static: false\n }]\n }],\n parentElement: [{\n type: Input\n }],\n theme: [{\n type: Input\n }],\n selectDate: [{\n type: Input\n }],\n name: [{\n type: Input\n }],\n openDialog: [{\n type: Input\n }],\n onlyDialog: [{\n type: Input\n }],\n datePipeOptions: [{\n type: Input\n }],\n dateSelected: [{\n type: Output\n }],\n dialogOpened: [{\n type: Output\n }]\n });\n})();\nclass FabricInlineDialogModule {\n static ɵfac = function FabricInlineDialogModule_Factory(t) {\n return new (t || FabricInlineDialogModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricInlineDialogModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [FabricInlineDialogService, InlineDialogGeometryService],\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricInlineDialogModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricInlineDialogComponent],\n providers: [FabricInlineDialogService, InlineDialogGeometryService]\n }]\n }], null, null);\n})();\nclass FabricInputModule {\n static ɵfac = function FabricInputModule_Factory(t) {\n return new (t || FabricInputModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricInputModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricInputModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricInputComponent],\n exports: [FabricInputComponent]\n }]\n }], null, null);\n})();\nclass FabricArrowIconModule {\n static ɵfac = function FabricArrowIconModule_Factory(t) {\n return new (t || FabricArrowIconModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricArrowIconModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricArrowIconModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricArrowIconComponent],\n exports: [FabricArrowIconComponent]\n }]\n }], null, null);\n})();\nclass DatePickerIconModule {\n static ɵfac = function DatePickerIconModule_Factory(t) {\n return new (t || DatePickerIconModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: DatePickerIconModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(DatePickerIconModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [DatePickerIconComponent],\n exports: [DatePickerIconComponent]\n }]\n }], null, null);\n})();\nclass FabricDatePickerModule {\n static ɵfac = function FabricDatePickerModule_Factory(t) {\n return new (t || FabricDatePickerModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricDatePickerModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [FabricDatePickerService, FabricDatePickerCompositionService, FabricDatePickerCalendarService, FabricDatePickerCalendarViewService, FabricDatePickerYearsService, FabricDatePickerWeeks, FabricDatePickerYears, FabricDatePickerInlineDialogService],\n imports: [CommonModule, FabricInlineDialogModule, ReactiveFormsModule, FabricInputModule, FabricButtonModule, DatePickerIconModule, FabricArrowIconModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDatePickerModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FabricInlineDialogModule, ReactiveFormsModule, FabricInputModule, FabricButtonModule, DatePickerIconModule, FabricArrowIconModule],\n declarations: [FabricDatePickerCalendarComponent, FabricDatePickerComponent, FabricDatePickerDaysViewComponent, FabricDatePickerMonthsViewComponent, FabricDatePickerYearsComponent, FabricDatePickerViewPanelComponent, FabricTimePickerComponent],\n exports: [FabricDatePickerCalendarComponent, FabricDatePickerComponent],\n providers: [FabricDatePickerService, FabricDatePickerCompositionService, FabricDatePickerCalendarService, FabricDatePickerCalendarViewService, FabricDatePickerYearsService, FabricDatePickerWeeks, FabricDatePickerYears, FabricDatePickerInlineDialogService]\n }]\n }], null, null);\n})();\nclass FabricModal extends FabricReactive {\n componentFactoryResolver;\n applicationRef;\n injector;\n document;\n componentRef = 'destroyed';\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super();\n this.componentFactoryResolver = componentFactoryResolver;\n this.applicationRef = applicationRef;\n this.injector = injector;\n this.document = document;\n }\n ngOnDestroy() {\n this.removeComponent();\n }\n createAndAppend(config) {\n const componentInjector = config?.injector ? config.injector : this.injector;\n this.componentRef = this.componentFactoryResolver.resolveComponentFactory(this.getComponent()).create(componentInjector);\n this.applicationRef.attachView(this.componentRef.hostView);\n const domModalElement = this.componentRef.hostView.rootNodes[0];\n this.getElement(config?.appendToElement).appendChild(domModalElement);\n if (config?.afterCompCreation) {\n config?.afterCompCreation();\n }\n this.componentRef.changeDetectorRef.detectChanges();\n }\n removeComponent() {\n if (this.componentRef !== 'destroyed') {\n this.applicationRef.detachView(this.componentRef.hostView);\n this.componentRef.destroy();\n this.componentRef = 'destroyed';\n this.unsubscribe();\n }\n }\n getComponentRef() {\n return this.componentRef;\n }\n getInjector() {\n return this.injector;\n }\n getDocument() {\n return this.document;\n }\n onCloseOnEsc() {\n const close$ = fromEvent(this.getDocument(), 'keyup');\n return close$.pipe(filter(key => key.code === 'Escape'), takeUntil(this.unsubscribe$));\n }\n isComponentCreated() {\n return this.componentRef !== 'destroyed';\n }\n getElement(el) {\n return el ? el.nativeElement : this.document.body;\n }\n static ɵfac = function FabricModal_Factory(t) {\n return new (t || FabricModal)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ApplicationRef), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(DOCUMENT));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: FabricModal,\n features: [i0.ɵɵInheritDefinitionFeature]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricModal, [{\n type: Directive\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ApplicationRef\n }, {\n type: i0.Injector\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }]\n }], null);\n})();\nclass FabricDrawerService extends FabricModal {\n /** To prevent multiple timers **/\n inProgress = false;\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n }\n getComponent() {\n return FabricDrawerComponent;\n }\n open(config) {\n if (event) {\n event.stopPropagation();\n }\n if (this.isComponentCreated() && config?.preventReopeningDrawer) {\n return;\n }\n if (this.isComponentCreated() && !this.inProgress && !config?.preventReopeningDrawer) {\n this.waitAndCreateNewDrawer(config);\n } else {\n this.createDrawer(config);\n }\n }\n close() {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.visible = false;\n componentRef.instance.detectChanges();\n timer(300).pipe(takeUntil(this.unsubscribe$)).subscribe(() => {\n this.removeComponent();\n this.inProgress = false;\n });\n }\n }\n createDrawer(config) {\n if (this.isComponentCreated()) {\n this.removeComponent();\n }\n let theme = Theme.FABRIC,\n parentInjector = this.getInjector();\n if (config && config.theme) {\n theme = config.theme;\n }\n if (config && config.injector) {\n parentInjector = config.injector;\n }\n const injector = Injector.create({\n providers: [{\n provide: themeToken,\n useValue: theme\n }],\n parent: parentInjector\n });\n this.createAndAppend({\n injector: injector,\n afterCompCreation: () => this.applyInstanceVars(config),\n appendToElement: config?.appendToElement\n });\n this.closeOnEscKey();\n }\n waitAndCreateNewDrawer(config) {\n this.inProgress = true;\n this.close();\n timer(400).pipe(takeUntil(this.unsubscribe$)).subscribe(() => {\n this.createDrawer(config);\n });\n }\n applyInstanceVars(config) {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n if (config?.width) {\n componentRef.instance.width = config.width;\n }\n if (config?.closeOnClickOutside) {\n componentRef.instance.closeOnClickOutside = config.closeOnClickOutside;\n }\n componentRef.instance.dialogNestedComponent = config?.component;\n componentRef.instance.isFixed = !config?.appendToElement;\n }\n }\n closeOnEscKey() {\n this.onCloseOnEsc().subscribe(() => this.close());\n }\n static ɵfac = function FabricDrawerService_Factory(t) {\n return new (t || FabricDrawerService)(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(DOCUMENT));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDrawerService,\n factory: FabricDrawerService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDrawerService, [{\n type: Injectable\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ApplicationRef\n }, {\n type: i0.Injector\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }]\n }], null);\n})();\nconst selector = 'gui-close-icon';\nclass FabricCloseIconComponent {\n static ɵfac = function FabricCloseIconComponent_Factory(t) {\n return new (t || FabricCloseIconComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricCloseIconComponent,\n selectors: [[\"gui-close-icon\"]],\n hostVars: 2,\n hostBindings: function FabricCloseIconComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-close-icon-wrapper\", true);\n }\n },\n decls: 1,\n vars: 0,\n consts: [[1, \"gui-close-icon\"]],\n template: function FabricCloseIconComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 0);\n }\n },\n styles: [\".gui-close-icon-wrapper .gui-close-icon{cursor:pointer;height:16px;position:absolute;right:8px;top:8px;width:16px}.gui-close-icon-wrapper .gui-close-icon:before,.gui-close-icon-wrapper .gui-close-icon:after{background-color:#aaa;content:\\\" \\\";height:16px;left:7px;position:absolute;width:2px}.gui-close-icon-wrapper .gui-close-icon:before{-ms-transform:rotate(45deg);transform:rotate(45deg)}.gui-close-icon-wrapper .gui-close-icon:after{-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.gui-close-icon-wrapper .gui-close-icon:hover:before,.gui-close-icon-wrapper .gui-close-icon:hover:after{background-color:#464646}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricCloseIconComponent, [{\n type: Component,\n args: [{\n selector: selector,\n template: `\n\t\t<span class=\"gui-close-icon\"></span>\n\t`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-close-icon-wrapper]': 'true'\n },\n styles: [\".gui-close-icon-wrapper .gui-close-icon{cursor:pointer;height:16px;position:absolute;right:8px;top:8px;width:16px}.gui-close-icon-wrapper .gui-close-icon:before,.gui-close-icon-wrapper .gui-close-icon:after{background-color:#aaa;content:\\\" \\\";height:16px;left:7px;position:absolute;width:2px}.gui-close-icon-wrapper .gui-close-icon:before{-ms-transform:rotate(45deg);transform:rotate(45deg)}.gui-close-icon-wrapper .gui-close-icon:after{-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.gui-close-icon-wrapper .gui-close-icon:hover:before,.gui-close-icon-wrapper .gui-close-icon:hover:after{background-color:#464646}\\n\"]\n }]\n }], null, null);\n})();\nclass FabricDrawerComponent extends FabricThemedComponent {\n componentFactoryResolver;\n changeDetectorRef;\n elRef;\n dialogService;\n container;\n width = '400px';\n closeOnClickOutside = false;\n dialogNestedComponent;\n visible = false;\n isFixed = false;\n constructor(componentFactoryResolver, changeDetectorRef, elRef, dialogService, themeModalService, renderer) {\n super(elRef, renderer, themeModalService);\n this.componentFactoryResolver = componentFactoryResolver;\n this.changeDetectorRef = changeDetectorRef;\n this.elRef = elRef;\n this.dialogService = dialogService;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.createNestedComponent();\n timer(50).pipe(takeUntil(this.unsubscribe$)).subscribe(() => {\n this.visible = true;\n this.changeDetectorRef.detectChanges();\n });\n }\n closeDrawer() {\n this.dialogService.close();\n }\n clickOutside(event) {\n if (this.closeOnClickOutside) {\n if (this.isContainerClicked(event)) {\n this.closeDrawer();\n }\n }\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n isContainerClicked(event) {\n const dialogContentRef = this.elRef.nativeElement.querySelector('.gui-drawer-content');\n if (dialogContentRef) {\n return !dialogContentRef.contains(event.target);\n }\n return false;\n }\n createNestedComponent() {\n if (this.container) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.dialogNestedComponent);\n this.container.createComponent(componentFactory);\n this.changeDetectorRef.detectChanges();\n }\n }\n static ɵfac = function FabricDrawerComponent_Factory(t) {\n return new (t || FabricDrawerComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(FabricDrawerService), i0.ɵɵdirectiveInject(FabricModalThemeService), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDrawerComponent,\n selectors: [[\"ng-component\"]],\n viewQuery: function FabricDrawerComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c8, 5, ViewContainerRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 5,\n vars: 6,\n consts: [[\"container\", \"\"], [1, \"gui-drawer-wrapper\", 3, \"click\"], [1, \"gui-drawer-content\"], [3, \"click\"]],\n template: function FabricDrawerComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 1);\n i0.ɵɵlistener(\"click\", function FabricDrawerComponent_Template_div_click_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.clickOutside($event));\n }, false, i0.ɵɵresolveDocument);\n i0.ɵɵelementStart(1, \"div\", 2)(2, \"gui-close-icon\", 3);\n i0.ɵɵlistener(\"click\", function FabricDrawerComponent_Template_gui_close_icon_click_2_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.closeDrawer());\n });\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(3, FabricDrawerComponent_ng_template_3_Template, 0, 0, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"max-width\", ctx.width);\n i0.ɵɵclassProp(\"gui-drawer-fixed\", ctx.isFixed)(\"gui-drawer-visible\", ctx.visible);\n }\n },\n dependencies: [FabricCloseIconComponent],\n styles: [\".gui-drawer-wrapper{display:-ms-flexbox;display:flex;font-family:Arial;height:100%;width:auto;position:absolute;padding-left:50px;right:0;top:0;overflow:hidden;z-index:1000}.gui-drawer-wrapper .gui-drawer-content{background-color:#fff;height:100%;position:relative;margin-left:auto;-ms-transform:translateX(100%);transform:translate(100%);transition:all .3s ease-in-out}.gui-drawer-wrapper.gui-drawer-visible .gui-drawer-content{-ms-transform:translateX(0);transform:translate(0);box-shadow:-6px 0 16px -8px #00000014,-9px 0 28px #0000000d,-12px 0 48px 16px #00000008}.gui-drawer-wrapper.gui-drawer-fixed{position:fixed;height:100vh}\\n\", \".gui-dark .gui-drawer-wrapper .gui-drawer-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDrawerComponent, [{\n type: Component,\n args: [{\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<div (document:click)=\\\"clickOutside($event)\\\"\\n\\t [class.gui-drawer-fixed]=\\\"isFixed\\\"\\n\\t [class.gui-drawer-visible]=\\\"visible\\\"\\n\\t [style.max-width]=\\\"width\\\"\\n\\t class=\\\"gui-drawer-wrapper\\\">\\n\\t<div\\n\\t\\tclass=\\\"gui-drawer-content\\\">\\n\\t\\t<gui-close-icon (click)=\\\"closeDrawer()\\\"></gui-close-icon>\\n\\t\\t<ng-template #container></ng-template>\\n\\t</div>\\n</div>\\n\",\n styles: [\".gui-drawer-wrapper{display:-ms-flexbox;display:flex;font-family:Arial;height:100%;width:auto;position:absolute;padding-left:50px;right:0;top:0;overflow:hidden;z-index:1000}.gui-drawer-wrapper .gui-drawer-content{background-color:#fff;height:100%;position:relative;margin-left:auto;-ms-transform:translateX(100%);transform:translate(100%);transition:all .3s ease-in-out}.gui-drawer-wrapper.gui-drawer-visible .gui-drawer-content{-ms-transform:translateX(0);transform:translate(0);box-shadow:-6px 0 16px -8px #00000014,-9px 0 28px #0000000d,-12px 0 48px 16px #00000008}.gui-drawer-wrapper.gui-drawer-fixed{position:fixed;height:100vh}\\n\", \".gui-dark .gui-drawer-wrapper .gui-drawer-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}\\n\"]\n }]\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: i0.ElementRef\n }, {\n type: FabricDrawerService\n }, {\n type: FabricModalThemeService\n }, {\n type: i0.Renderer2\n }], {\n container: [{\n type: ViewChild,\n args: ['container', {\n read: ViewContainerRef,\n static: false\n }]\n }]\n });\n})();\nclass FabricCloseIconModule {\n static ɵfac = function FabricCloseIconModule_Factory(t) {\n return new (t || FabricCloseIconModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricCloseIconModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricCloseIconModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricCloseIconComponent],\n exports: [FabricCloseIconComponent]\n }]\n }], null, null);\n})();\nclass FabricDrawerModule {\n static ɵfac = function FabricDrawerModule_Factory(t) {\n return new (t || FabricDrawerModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricDrawerModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [FabricDrawerService],\n imports: [CommonModule, FabricCloseIconModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDrawerModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FabricCloseIconModule],\n declarations: [FabricDrawerComponent],\n providers: [FabricDrawerService]\n }]\n }], null, null);\n})();\nclass Geometry {\n container;\n menu;\n windowSize;\n containerHeight = 0;\n containerWidth = 0;\n availableBottomSpace = 0;\n availableTopSpace = 0;\n constructor(container, menu, windowSize) {\n this.container = container;\n this.menu = menu;\n this.windowSize = windowSize;\n this.calculate(this.menu, this.windowSize);\n }\n getContainerHeight() {\n return this.containerHeight;\n }\n getContainerWidth() {\n return this.containerWidth;\n }\n canOpenDownward() {\n return this.availableBottomSpace > 0;\n }\n canOpenUpward() {\n return this.availableTopSpace > 0;\n }\n calculate(menu, windowSize) {\n const containerEl = this.container.nativeElement,\n menuHeight = menu.nativeElement.offsetHeight,\n rectBottom = containerEl.getBoundingClientRect().bottom;\n this.containerHeight = containerEl.offsetHeight;\n this.containerWidth = containerEl.offsetWidth;\n this.availableBottomSpace = windowSize - rectBottom - menuHeight;\n this.availableTopSpace = rectBottom - menuHeight - this.containerHeight;\n }\n}\nclass GeometryService {\n geometryResults$ = new Subject();\n watchGeometry() {\n return this.geometryResults$.asObservable();\n }\n changeGeometry(container, menu, windowSize) {\n const geometry = new Geometry(container, menu, windowSize);\n this.geometryResults$.next(geometry);\n }\n static ɵfac = function GeometryService_Factory(t) {\n return new (t || GeometryService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: GeometryService,\n factory: GeometryService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GeometryService, [{\n type: Injectable\n }], null, null);\n})();\nvar Placement;\n(function (Placement) {\n Placement[Placement[\"Right\"] = 0] = \"Right\";\n Placement[Placement[\"Left\"] = 1] = \"Left\";\n})(Placement || (Placement = {}));\nclass FabricDropdownComponent extends FabricReactive {\n platformId;\n elementRef;\n renderer;\n changeDetectorRef;\n geometryService;\n dropdownMenuRef;\n containerRef;\n onResize() {\n if (isPlatformBrowser(this.platformId)) {\n this.windowSize = window.innerHeight;\n }\n }\n disabled = false;\n dropdownText = 'Dropdown';\n isArrowEnabled = true;\n placement;\n width = 120;\n showOnHover = false;\n containerWidth = 0;\n containerHeight = 0;\n windowSize = 0;\n horizontalPosition = 0;\n bottomPosition = 0;\n topPosition = 0;\n arrowDirection = Direction.BOTTOM;\n canOpenDownward = false;\n canOpenUpward = false;\n open = false;\n topBorderWidth = 1;\n constructor(platformId, elementRef, renderer, changeDetectorRef, geometryService) {\n super();\n this.platformId = platformId;\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.changeDetectorRef = changeDetectorRef;\n this.geometryService = geometryService;\n this.onResize();\n }\n ngOnChanges(changes) {\n if (changes['placement']) {\n this.changePlacement();\n }\n }\n ngOnInit() {\n this.geometryService.watchGeometry().pipe(takeUntil(this.unsubscribe$)).subscribe(geometry => {\n this.containerHeight = geometry.getContainerHeight();\n this.containerWidth = geometry.getContainerWidth();\n this.canOpenUpward = geometry.canOpenUpward();\n this.canOpenDownward = geometry.canOpenDownward();\n });\n }\n tryToOpen(event) {\n if (this.isContainerDisabled(event)) {\n event.stopPropagation();\n } else {\n this.openMenu(!this.open);\n this.changeDetectorRef.detectChanges();\n }\n }\n tryToOpenOnHover() {\n if (this.showOnHover) {\n this.openMenu(!this.open);\n this.changeDetectorRef.detectChanges();\n }\n }\n hideOnHover() {\n if (this.showOnHover) {\n this.hideItems();\n this.open = false;\n }\n }\n clickOutside(event) {\n if (this.isContainerClicked(event)) {\n this.openMenu(false);\n }\n }\n isDirectionLeft() {\n return this.isArrowEnabled && this.arrowDirection === Direction.LEFT;\n }\n openMenu(opened) {\n this.open = opened;\n if (this.open) {\n this.showItems();\n } else {\n this.hideItems();\n }\n }\n showItems() {\n if (this.containerRef && this.dropdownMenuRef) {\n this.addClass(this.elementRef.nativeElement, 'gui-menu-opened');\n this.geometryService.changeGeometry(this.containerRef, this.dropdownMenuRef, this.windowSize);\n if (this.canOpenDownward || !this.canOpenUpward) {\n this.openDownward();\n } else {\n this.openUpward();\n }\n if (this.placement === Placement.Right) {\n this.openRight();\n }\n if (this.placement === Placement.Left) {\n this.openLeft();\n }\n }\n }\n openDownward() {\n this.topPosition = null;\n this.bottomPosition = this.containerHeight;\n }\n openUpward() {\n this.bottomPosition = null;\n this.topPosition = this.containerHeight;\n }\n openRight() {\n this.bottomPosition = -this.topBorderWidth;\n this.topPosition = null;\n this.horizontalPosition = this.containerWidth;\n }\n openLeft() {\n this.bottomPosition = -this.topBorderWidth;\n this.topPosition = null;\n this.horizontalPosition = -(this.containerWidth + 1);\n }\n changePlacement() {\n if (!this.dropdownMenuRef) {\n return;\n }\n switch (this.placement) {\n case Placement.Right:\n {\n this.removeClass(this.dropdownMenuRef.nativeElement, 'gui-dropdown-left');\n this.addClass(this.dropdownMenuRef.nativeElement, 'gui-dropdown-right');\n this.arrowDirection = Direction.RIGHT;\n break;\n }\n case Placement.Left:\n {\n this.removeClass(this.dropdownMenuRef.nativeElement, 'gui-dropdown-right');\n this.addClass(this.dropdownMenuRef.nativeElement, 'gui-dropdown-left');\n this.arrowDirection = Direction.LEFT;\n break;\n }\n default:\n break;\n }\n }\n hideItems() {\n const itemsElHasOpenClass = this.elementRef.nativeElement.classList.contains('gui-menu-opened');\n if (itemsElHasOpenClass) {\n this.removeClass(this.elementRef.nativeElement, 'gui-menu-opened');\n }\n }\n isContainerClicked(event) {\n return !this.elementRef.nativeElement.contains(event.target);\n }\n isContainerDisabled(event) {\n return event.target.classList.contains('gui-disabled');\n }\n addClass(element, name) {\n this.renderer.addClass(element, name);\n }\n removeClass(element, name) {\n this.renderer.removeClass(element, name);\n }\n static ɵfac = function FabricDropdownComponent_Factory(t) {\n return new (t || FabricDropdownComponent)(i0.ɵɵdirectiveInject(PLATFORM_ID), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(GeometryService));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDropdownComponent,\n selectors: [[\"gui-dropdown\"]],\n viewQuery: function FabricDropdownComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c10, 7, ElementRef);\n i0.ɵɵviewQuery(_c8, 7, ElementRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownMenuRef = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerRef = _t.first);\n }\n },\n hostVars: 2,\n hostBindings: function FabricDropdownComponent_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"resize\", function FabricDropdownComponent_resize_HostBindingHandler() {\n return ctx.onResize();\n }, false, i0.ɵɵresolveWindow);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-dropdown\", true);\n }\n },\n inputs: {\n disabled: \"disabled\",\n dropdownText: \"dropdownText\",\n isArrowEnabled: \"isArrowEnabled\",\n placement: \"placement\",\n width: \"width\",\n showOnHover: \"showOnHover\"\n },\n features: [i0.ɵɵProvidersFeature([GeometryService]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c0,\n decls: 8,\n vars: 14,\n consts: [[\"container\", \"\"], [\"dropdownMenu\", \"\"], [1, \"gui-dropdown-container\", 3, \"click\", \"mouseenter\", \"mouseleave\"], [1, \"gui-dropdown-text\"], [3, \"gui-dropdown-arrow\", 4, \"ngIf\"], [1, \"gui-dropdown-menu\"], [3, \"direction\"]],\n template: function FabricDropdownComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"div\", 2, 0);\n i0.ɵɵlistener(\"click\", function FabricDropdownComponent_Template_div_click_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.tryToOpen($event));\n })(\"click\", function FabricDropdownComponent_Template_div_click_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.clickOutside($event));\n }, false, i0.ɵɵresolveDocument)(\"mouseenter\", function FabricDropdownComponent_Template_div_mouseenter_0_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.tryToOpenOnHover());\n })(\"mouseleave\", function FabricDropdownComponent_Template_div_mouseleave_0_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.hideOnHover());\n });\n i0.ɵɵelementStart(2, \"div\", 3);\n i0.ɵɵtext(3);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(4, FabricDropdownComponent_div_4_Template, 2, 3, \"div\", 4);\n i0.ɵɵelementStart(5, \"div\", 5, 1);\n i0.ɵɵprojection(7);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"width\", ctx.width, \"px\");\n i0.ɵɵclassProp(\"gui-arrow-left\", ctx.isDirectionLeft())(\"gui-disabled\", ctx.disabled);\n i0.ɵɵadvance(3);\n i0.ɵɵtextInterpolate(ctx.dropdownText);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isArrowEnabled);\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"bottom\", ctx.topPosition, \"px\")(\"left\", ctx.horizontalPosition, \"px\")(\"top\", ctx.bottomPosition, \"px\");\n }\n },\n dependencies: [i1.NgIf, FabricArrowIconComponent],\n styles: [\".gui-dropdown .gui-dropdown-container{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;color:#333;cursor:pointer;display:inline-block;font:14px Arial;padding:8px 12px;position:relative;width:auto}.gui-dropdown .gui-dropdown-container:hover{border-color:#999}.gui-dropdown .gui-dropdown-container:hover .gui-arrow-icon svg path{stroke:#464646}.gui-dropdown .gui-dropdown-container .gui-dropdown-arrow{cursor:pointer;position:absolute;right:12px;top:8px}.gui-dropdown .gui-dropdown-container .gui-dropdown-right.gui-dropdown-menu,.gui-dropdown .gui-dropdown-container .gui-dropdown-left.gui-dropdown-menu{margin:0}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu{background:inherit;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;display:none;left:-1px;overflow:hidden;position:absolute;width:inherit;z-index:2}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item{list-style-type:none;padding:8px 12px;width:inherit}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item:hover{background:#cccccc}.gui-dropdown .gui-dropdown-container.gui-arrow-left{padding:8px 12px 8px 32px}.gui-dropdown .gui-dropdown-container.gui-arrow-left .gui-dropdown-arrow{left:12px;right:initial}.gui-dropdown.gui-menu-opened .gui-dropdown-container{border-color:#999}.gui-dropdown.gui-menu-opened .gui-dropdown-menu{display:block}.gui-dropdown .gui-disabled{color:#ccc;pointer-events:none}\\n\", \".gui-material .gui-dropdown .gui-dropdown-container{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-dropdown .gui-dropdown-container{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-dropdown .gui-dropdown-container:hover{border-color:#ce93d8}.gui-dark .gui-dropdown .gui-dropdown-container:hover .gui-dropdown-arrow svg path{stroke:#ce93d8}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu{border-color:#616161}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item{border-top-color:#757575}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item:hover{background:#616161}.gui-dark .gui-dropdown.gui-options-opened .gui-dropdown-container{border-color:#ce93d8}.gui-dark .gui-dropdown .gui-disabled{opacity:.36}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDropdownComponent, [{\n type: Component,\n args: [{\n selector: 'gui-dropdown',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-dropdown]': 'true'\n },\n providers: [GeometryService],\n template: \"<div #container\\n\\t (click)=\\\"tryToOpen($event)\\\"\\n\\t (document:click)=\\\"clickOutside($event)\\\"\\n\\t (mouseenter)=\\\"tryToOpenOnHover()\\\"\\n\\t (mouseleave)=\\\"hideOnHover()\\\"\\n\\t [class.gui-arrow-left]=\\\"isDirectionLeft()\\\"\\n\\t [class.gui-disabled]=\\\"disabled\\\"\\n\\t [style.width.px]=\\\"width\\\"\\n\\t class=\\\"gui-dropdown-container\\\">\\n\\n\\t<div class=\\\"gui-dropdown-text\\\">{{dropdownText}}</div>\\n\\n\\t<div *ngIf=\\\"isArrowEnabled\\\"\\n\\t\\t [class.gui-dropdown-arrow]=\\\"isArrowEnabled\\\">\\n\\t\\t<gui-arrow-icon [direction]=\\\"arrowDirection\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div #dropdownMenu\\n\\t\\t [style.bottom.px]=\\\"topPosition\\\"\\n\\t\\t [style.left.px]=\\\"horizontalPosition\\\"\\n\\t\\t [style.top.px]=\\\"bottomPosition\\\"\\n\\t\\t class=\\\"gui-dropdown-menu\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\",\n styles: [\".gui-dropdown .gui-dropdown-container{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;color:#333;cursor:pointer;display:inline-block;font:14px Arial;padding:8px 12px;position:relative;width:auto}.gui-dropdown .gui-dropdown-container:hover{border-color:#999}.gui-dropdown .gui-dropdown-container:hover .gui-arrow-icon svg path{stroke:#464646}.gui-dropdown .gui-dropdown-container .gui-dropdown-arrow{cursor:pointer;position:absolute;right:12px;top:8px}.gui-dropdown .gui-dropdown-container .gui-dropdown-right.gui-dropdown-menu,.gui-dropdown .gui-dropdown-container .gui-dropdown-left.gui-dropdown-menu{margin:0}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu{background:inherit;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;display:none;left:-1px;overflow:hidden;position:absolute;width:inherit;z-index:2}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item{list-style-type:none;padding:8px 12px;width:inherit}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item:hover{background:#cccccc}.gui-dropdown .gui-dropdown-container.gui-arrow-left{padding:8px 12px 8px 32px}.gui-dropdown .gui-dropdown-container.gui-arrow-left .gui-dropdown-arrow{left:12px;right:initial}.gui-dropdown.gui-menu-opened .gui-dropdown-container{border-color:#999}.gui-dropdown.gui-menu-opened .gui-dropdown-menu{display:block}.gui-dropdown .gui-disabled{color:#ccc;pointer-events:none}\\n\", \".gui-material .gui-dropdown .gui-dropdown-container{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-dropdown .gui-dropdown-container{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-dropdown .gui-dropdown-container:hover{border-color:#ce93d8}.gui-dark .gui-dropdown .gui-dropdown-container:hover .gui-dropdown-arrow svg path{stroke:#ce93d8}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu{border-color:#616161}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item{border-top-color:#757575}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item:hover{background:#616161}.gui-dark .gui-dropdown.gui-options-opened .gui-dropdown-container{border-color:#ce93d8}.gui-dark .gui-dropdown .gui-disabled{opacity:.36}\\n\"]\n }]\n }], () => [{\n type: undefined,\n decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }]\n }, {\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: GeometryService\n }], {\n dropdownMenuRef: [{\n type: ViewChild,\n args: ['dropdownMenu', {\n read: ElementRef,\n static: true\n }]\n }],\n containerRef: [{\n type: ViewChild,\n args: ['container', {\n read: ElementRef,\n static: true\n }]\n }],\n onResize: [{\n type: HostListener,\n args: ['window:resize']\n }],\n disabled: [{\n type: Input\n }],\n dropdownText: [{\n type: Input\n }],\n isArrowEnabled: [{\n type: Input\n }],\n placement: [{\n type: Input\n }],\n width: [{\n type: Input\n }],\n showOnHover: [{\n type: Input\n }]\n });\n})();\nclass FabricDropdownItemComponent {\n static ɵfac = function FabricDropdownItemComponent_Factory(t) {\n return new (t || FabricDropdownItemComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDropdownItemComponent,\n selectors: [[\"gui-dropdown-item\"]],\n ngContentSelectors: _c0,\n decls: 2,\n vars: 0,\n consts: [[1, \"gui-item\"]],\n template: function FabricDropdownItemComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementEnd();\n }\n },\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDropdownItemComponent, [{\n type: Component,\n args: [{\n selector: 'gui-dropdown-item',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<div class=\\\"gui-item\\\">\\n\\t<ng-content></ng-content>\\n</div>\\n\"\n }]\n }], null, null);\n})();\nclass FabricDropdownModule {\n static ɵfac = function FabricDropdownModule_Factory(t) {\n return new (t || FabricDropdownModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricDropdownModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule, FabricArrowIconModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDropdownModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FabricArrowIconModule],\n declarations: [FabricDropdownComponent, FabricDropdownItemComponent],\n exports: [FabricDropdownComponent, FabricDropdownItemComponent]\n }]\n }], null, null);\n})();\nclass FabricDialogService extends FabricModal {\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n }\n getComponent() {\n return FabricDialogComponent;\n }\n open(config) {\n if (this.isComponentCreated()) {\n return;\n }\n let theme = Theme.FABRIC,\n parentInjector = this.getInjector();\n if (config && config.theme) {\n theme = config.theme;\n }\n if (config && config.injector) {\n parentInjector = config.injector;\n }\n const injector = Injector.create({\n providers: [{\n provide: themeToken,\n useValue: theme\n }],\n parent: parentInjector\n });\n this.createAndAppend({\n afterCompCreation: () => this.afterComponentCreation(config),\n injector\n });\n this.closeOnEscKey();\n }\n close() {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.visible = false;\n componentRef.instance.detectChanges();\n timer(400).pipe(takeUntil(this.unsubscribe$)).subscribe(() => {\n this.removeComponent();\n });\n }\n }\n closeOnEscKey() {\n this.onCloseOnEsc().subscribe(() => this.close());\n }\n afterComponentCreation(config) {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.dialogNestedComponent = config.component;\n if (config?.width) {\n componentRef.instance.width = config.width;\n }\n if (config?.height) {\n componentRef.instance.height = config.height;\n }\n componentRef.instance.setTransformOrigin(event);\n }\n }\n static ɵfac = function FabricDialogService_Factory(t) {\n return new (t || FabricDialogService)(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(DOCUMENT));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDialogService,\n factory: FabricDialogService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDialogService, [{\n type: Injectable\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ApplicationRef\n }, {\n type: i0.Injector\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }]\n }], null);\n})();\nclass FabricDialogComponent extends FabricThemedComponent {\n componentFactoryResolver;\n changeDetectorRef;\n elRef;\n platformId;\n dialogService;\n container;\n dialogNestedComponent;\n visible = false;\n width = '400px';\n height = '90vh';\n triggerPosition = '';\n constructor(componentFactoryResolver, changeDetectorRef, elRef, platformId, themeModalService, renderer, dialogService) {\n super(elRef, renderer, themeModalService);\n this.componentFactoryResolver = componentFactoryResolver;\n this.changeDetectorRef = changeDetectorRef;\n this.elRef = elRef;\n this.platformId = platformId;\n this.dialogService = dialogService;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.createNestedComponent();\n timer(0).pipe(takeUntil(this.unsubscribe$)).subscribe(() => {\n this.visible = true;\n this.detectChanges();\n });\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n closeDialog() {\n this.dialogService.close();\n }\n clickOutside(event) {\n if (this.isContainerClicked(event)) {\n this.dialogService.close();\n }\n }\n setTransformOrigin(event) {\n if (isPlatformBrowser(this.platformId) && event) {\n const x = event.clientX - window.innerWidth / 2,\n y = event.clientY - window.innerHeight / 2;\n this.triggerPosition = `${x}px ${y}px`;\n }\n }\n isContainerClicked(event) {\n const dialogContentRef = this.elRef.nativeElement.querySelector('.gui-dialog-content');\n if (dialogContentRef) {\n return !dialogContentRef.contains(event.target);\n }\n return false;\n }\n createNestedComponent() {\n if (this.dialogNestedComponent && this.container) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.dialogNestedComponent);\n this.container.createComponent(componentFactory);\n this.detectChanges();\n }\n }\n static ɵfac = function FabricDialogComponent_Factory(t) {\n return new (t || FabricDialogComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PLATFORM_ID), i0.ɵɵdirectiveInject(FabricModalThemeService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(forwardRef(() => FabricDialogService)));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricDialogComponent,\n selectors: [[\"gui-fabric-dialog\"]],\n viewQuery: function FabricDialogComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c8, 5, ViewContainerRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);\n }\n },\n hostVars: 2,\n hostBindings: function FabricDialogComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-fabric-dialog\", true);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 6,\n vars: 8,\n consts: [[\"container\", \"\"], [1, \"gui-dialog-blanket\"], [1, \"gui-dialog-wrapper\", 3, \"click\"], [1, \"gui-dialog-content\"], [3, \"click\"]],\n template: function FabricDialogComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelement(0, \"div\", 1);\n i0.ɵɵelementStart(1, \"div\", 2);\n i0.ɵɵlistener(\"click\", function FabricDialogComponent_Template_div_click_1_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.clickOutside($event));\n });\n i0.ɵɵelementStart(2, \"div\", 3);\n i0.ɵɵtemplate(3, FabricDialogComponent_ng_template_3_Template, 0, 0, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementStart(5, \"gui-close-icon\", 4);\n i0.ɵɵlistener(\"click\", function FabricDialogComponent_Template_gui_close_icon_click_5_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.closeDialog());\n });\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(2);\n i0.ɵɵstyleProp(\"max-height\", ctx.height)(\"max-width\", ctx.width)(\"transform-origin\", ctx.triggerPosition);\n i0.ɵɵclassProp(\"gui-dialog-visible\", ctx.visible);\n }\n },\n dependencies: [FabricCloseIconComponent],\n styles: [\".gui-box-border{box-sizing:border-box}.gui-bg-transparent{background-color:transparent}.gui-border{border-width:1px}.gui-border-0{border-width:0}.gui-border-b{border-bottom-width:1px}.gui-border-t{border-top-width:1px}.gui-border-solid{border-style:solid}.gui-border-b-solid{border-bottom-style:solid}.gui-border-t-solid{border-top-style:solid}.gui-border-none{border-style:none}.gui-rounded{border-radius:4px}.gui-cursor-pointer{cursor:pointer}.gui-block{display:block}.gui-inline-block{display:inline-block}.gui-inline{display:inline}.gui-flex{display:-ms-flexbox;display:flex}.gui-hidden{display:none}.gui-display-grid{display:grid}.gui-flex-row{-ms-flex-direction:row;flex-direction:row}.gui-flex-row-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gui-flex-col{-ms-flex-direction:column;flex-direction:column}.gui-flex-col-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.gui-justify-start{-ms-flex-pack:start;justify-content:flex-start}.gui-justify-end{-ms-flex-pack:end;justify-content:flex-end}.gui-justify-center{-ms-flex-pack:center;justify-content:center}.gui-justify-between{-ms-flex-pack:justify;justify-content:space-between}.gui-justify-around{-ms-flex-pack:distribute;justify-content:space-around}.gui-justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.gui-items-start{-ms-flex-align:start;align-items:flex-start}.gui-items-end{-ms-flex-align:end;align-items:flex-end}.gui-items-center{-ms-flex-align:center;align-items:center}.gui-items-between{-ms-flex-align:space-between;align-items:space-between}.gui-items-around{-ms-flex-align:space-around;align-items:space-around}.gui-items-evenly{-ms-flex-align:space-evenly;align-items:space-evenly}.gui-flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.gui-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.gui-flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.gui-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gui-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gui-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gui-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.gui-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.gui-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.gui-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.gui-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.gui-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.gui-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.gui-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.gui-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.gui-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.gui-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.gui-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.gui-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.gui-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.gui-grid-rows-gap-0{grid-row-gap:0}.gui-grid-rows-gap-1{grid-row-gap:1px}.gui-grid-rows-gap-2{grid-row-gap:2px}.gui-grid-rows-gap-3{grid-row-gap:3px}.gui-grid-rows-gap-4{grid-row-gap:4px}.gui-grid-rows-gap-5{grid-row-gap:6px}.gui-grid-rows-gap-6{grid-row-gap:8px}.gui-grid-rows-gap-7{grid-row-gap:10px}.gui-grid-rows-gap-8{grid-row-gap:12px}.gui-grid-rows-gap-10{grid-row-gap:16px}.gui-grid-rows-gap-13{grid-row-gap:22px}.gui-grid-rows-gap-23{grid-row-gap:42px}.gui-grid-cols-gap-0{grid-column-gap:0}.gui-grid-cols-gap-1{grid-column-gap:1px}.gui-grid-cols-gap-2{grid-column-gap:2px}.gui-grid-cols-gap-3{grid-column-gap:3px}.gui-grid-cols-gap-4{grid-column-gap:4px}.gui-grid-cols-gap-5{grid-column-gap:6px}.gui-grid-cols-gap-6{grid-column-gap:8px}.gui-grid-cols-gap-7{grid-column-gap:10px}.gui-grid-cols-gap-8{grid-column-gap:12px}.gui-grid-cols-gap-10{grid-column-gap:16px}.gui-grid-cols-gap-13{grid-column-gap:22px}.gui-grid-cols-gap-23{grid-column-gap:42px}.gui-h-full{height:100%}.gui-list-none{list-style-type:none}.gui-m-0{margin:0}.gui-mx-0{margin-left:0;margin-right:0}.gui-my-0{margin-bottom:0;margin-top:0}.-gui-m-0{margin:0}.-gui-mx-0{margin-left:0;margin-right:0}.-gui-my-0{margin-bottom:0;margin-top:0}.gui-m-1{margin:1px}.gui-mx-1{margin-left:1px;margin-right:1px}.gui-my-1{margin-bottom:1px;margin-top:1px}.-gui-m-1{margin:-1px}.-gui-mx-1{margin-left:-1px;margin-right:-1px}.-gui-my-1{margin-bottom:-1px;margin-top:-1px}.gui-m-2{margin:2px}.gui-mx-2{margin-left:2px;margin-right:2px}.gui-my-2{margin-bottom:2px;margin-top:2px}.-gui-m-2{margin:-2px}.-gui-mx-2{margin-left:-2px;margin-right:-2px}.-gui-my-2{margin-bottom:-2px;margin-top:-2px}.gui-m-3{margin:3px}.gui-mx-3{margin-left:3px;margin-right:3px}.gui-my-3{margin-bottom:3px;margin-top:3px}.-gui-m-3{margin:-3px}.-gui-mx-3{margin-left:-3px;margin-right:-3px}.-gui-my-3{margin-bottom:-3px;margin-top:-3px}.gui-m-4{margin:4px}.gui-mx-4{margin-left:4px;margin-right:4px}.gui-my-4{margin-bottom:4px;margin-top:4px}.-gui-m-4{margin:-4px}.-gui-mx-4{margin-left:-4px;margin-right:-4px}.-gui-my-4{margin-bottom:-4px;margin-top:-4px}.gui-m-5{margin:6px}.gui-mx-5{margin-left:6px;margin-right:6px}.gui-my-5{margin-bottom:6px;margin-top:6px}.-gui-m-5{margin:-6px}.-gui-mx-5{margin-left:-6px;margin-right:-6px}.-gui-my-5{margin-bottom:-6px;margin-top:-6px}.gui-m-6{margin:8px}.gui-mx-6{margin-left:8px;margin-right:8px}.gui-my-6{margin-bottom:8px;margin-top:8px}.-gui-m-6{margin:-8px}.-gui-mx-6{margin-left:-8px;margin-right:-8px}.-gui-my-6{margin-bottom:-8px;margin-top:-8px}.gui-m-7{margin:10px}.gui-mx-7{margin-left:10px;margin-right:10px}.gui-my-7{margin-bottom:10px;margin-top:10px}.-gui-m-7{margin:-10px}.-gui-mx-7{margin-left:-10px;margin-right:-10px}.-gui-my-7{margin-bottom:-10px;margin-top:-10px}.gui-m-8{margin:12px}.gui-mx-8{margin-left:12px;margin-right:12px}.gui-my-8{margin-bottom:12px;margin-top:12px}.-gui-m-8{margin:-12px}.-gui-mx-8{margin-left:-12px;margin-right:-12px}.-gui-my-8{margin-bottom:-12px;margin-top:-12px}.gui-m-10{margin:16px}.gui-mx-10{margin-left:16px;margin-right:16px}.gui-my-10{margin-bottom:16px;margin-top:16px}.-gui-m-10{margin:-16px}.-gui-mx-10{margin-left:-16px;margin-right:-16px}.-gui-my-10{margin-bottom:-16px;margin-top:-16px}.gui-m-13{margin:22px}.gui-mx-13{margin-left:22px;margin-right:22px}.gui-my-13{margin-bottom:22px;margin-top:22px}.-gui-m-13{margin:-22px}.-gui-mx-13{margin-left:-22px;margin-right:-22px}.-gui-my-13{margin-bottom:-22px;margin-top:-22px}.gui-m-23{margin:42px}.gui-mx-23{margin-left:42px;margin-right:42px}.gui-my-23{margin-bottom:42px;margin-top:42px}.-gui-m-23{margin:-42px}.-gui-mx-23{margin-left:-42px;margin-right:-42px}.-gui-my-23{margin-bottom:-42px;margin-top:-42px}.gui-mb-4{margin-bottom:4px}.gui-mb-6{margin-bottom:8px}.gui-mb-8{margin-bottom:12px}.gui-mb-10{margin-bottom:16px}.gui-mb-18{margin-bottom:32px}.gui-mr-0{margin-right:0}.gui-mr-5{margin-right:6px}.gui-mr-auto{margin-right:auto}.gui-ml-auto{margin-left:auto}.gui-ml-6{margin-left:8px}.gui-mt-0{margin-top:0}.gui-mt-4{margin-top:4px}.gui-mt-6{margin-top:8px}.gui-mt-10{margin-top:16px}.gui-mt-14{margin-top:24px}.gui-overflow-hidden{overflow:hidden}.gui-overflow-y-scroll{overflow-y:scroll}.gui-overflow-x-hidden{overflow-x:hidden}.gui-overflow-auto{overflow:auto}.gui-p-0{padding:0}.gui-px-0{padding-left:0;padding-right:0}.gui-py-0{padding-bottom:0;padding-top:0}.gui-p-1{padding:1px}.gui-px-1{padding-left:1px;padding-right:1px}.gui-py-1{padding-bottom:1px;padding-top:1px}.gui-p-2{padding:2px}.gui-px-2{padding-left:2px;padding-right:2px}.gui-py-2{padding-bottom:2px;padding-top:2px}.gui-p-3{padding:3px}.gui-px-3{padding-left:3px;padding-right:3px}.gui-py-3{padding-bottom:3px;padding-top:3px}.gui-p-4{padding:4px}.gui-px-4{padding-left:4px;padding-right:4px}.gui-py-4{padding-bottom:4px;padding-top:4px}.gui-p-5{padding:6px}.gui-px-5{padding-left:6px;padding-right:6px}.gui-py-5{padding-bottom:6px;padding-top:6px}.gui-p-6{padding:8px}.gui-px-6{padding-left:8px;padding-right:8px}.gui-py-6{padding-bottom:8px;padding-top:8px}.gui-p-7{padding:10px}.gui-px-7{padding-left:10px;padding-right:10px}.gui-py-7{padding-bottom:10px;padding-top:10px}.gui-p-8{padding:12px}.gui-px-8{padding-left:12px;padding-right:12px}.gui-py-8{padding-bottom:12px;padding-top:12px}.gui-p-10{padding:16px}.gui-px-10{padding-left:16px;padding-right:16px}.gui-py-10{padding-bottom:16px;padding-top:16px}.gui-p-13{padding:22px}.gui-px-13{padding-left:22px;padding-right:22px}.gui-py-13{padding-bottom:22px;padding-top:22px}.gui-p-23{padding:42px}.gui-px-23{padding-left:42px;padding-right:42px}.gui-py-23{padding-bottom:42px;padding-top:42px}.gui-pr-10{padding-right:16px}.gui-pl-9{padding-right:10px}.gui-pb-6{padding-bottom:8px}.gui-pb-12{padding-bottom:20px}.gui-pl-21{padding-left:38px}.gui-pt-4{padding-top:4px}.gui-pt-6{padding-top:8px}.gui-pt-10{padding-top:16px}.gui-pt-12{padding-top:20px}.gui-pt-14{padding-top:24px}.gui-static{position:static}.gui-fixed{position:fixed}.gui-relative{position:relative}.gui-absolute{position:absolute}.gui-text-xxs{font-size:11px}.gui-text-xs{font-size:12px}.gui-text-sm{font-size:13px}.gui-text-base{font-size:14px}.gui-text-lg{font-size:16px}.gui-text-xl{font-size:18px}.gui-text-2xl{font-size:20px}.gui-text-3xl{font-size:22px}.gui-leading-4{line-height:16px}.gui-leading-6{line-height:24px}.gui-font-thin{font-weight:100}.gui-font-extralight{font-weight:200}.gui-font-light{font-weight:300}.gui-font-normal{font-weight:400}.gui-font-medium{font-weight:500}.gui-font-semibold{font-weight:600}.gui-font-bold{font-weight:700}.gui-font-extrabold{font-weight:800}.gui-font-black{font-weight:900}.gui-italic{font-style:italic}.gui-not-italic{font-style:normal}.gui-whitespace-nowrap{white-space:nowrap}.gui-overflow-ellipsis{text-overflow:ellipsis}.gui-no-underline{text-decoration:none}.gui-text-center{text-align:center}.gui-w-full{width:100%}.gui-w-96{width:384px}.gui-w-3\\\\/5{width:60%}.gui-fabric-dialog *,.gui-fabric-dialog *:after,.gui-fabric-dialog *:before{box-sizing:border-box}.gui-fabric-dialog input{font-size:13px;outline:0}.gui-dialog-blanket{background:rgba(0,0,0,.32);height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:1000}.gui-dialog-wrapper{font-family:Arial;height:100%;width:100%;position:fixed;pointer-events:auto;left:0;top:0;z-index:1000}.gui-dialog-content{background-color:#fff;border-radius:4px;box-shadow:0 3px 7px #999;padding:24px 16px;position:fixed;left:50%;top:50%;transform:scale3d(0,0,0) translate(-50%) translateY(-50%);opacity:0;transition:all .4s;overflow:auto;z-index:1000}.gui-dialog-content.gui-dialog-visible{transform:scaleZ(1) translate(-50%) translateY(-50%);opacity:1}\\n\", \".gui-dark .gui-dialog-wrapper .gui-dialog-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}.gui-dark .gui-dialog-wrapper .gui-dialog-content .gui-dialog-close:before,.gui-dark .gui-dialog-wrapper .gui-dialog-content .gui-dialog-close:after{background:#bdbdbd}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDialogComponent, [{\n type: Component,\n args: [{\n selector: 'gui-fabric-dialog',\n host: {\n '[class.gui-fabric-dialog]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<div class=\\\"gui-dialog-blanket\\\"></div>\\n<div (click)=\\\"clickOutside($event)\\\"\\n\\t class=\\\"gui-dialog-wrapper\\\">\\n\\t<div [class.gui-dialog-visible]=\\\"visible\\\"\\n\\t\\t [style.max-height]=\\\"height\\\"\\n\\t\\t [style.max-width]=\\\"width\\\"\\n\\t\\t [style.transform-origin]=\\\"triggerPosition\\\"\\n\\t\\t class=\\\"gui-dialog-content\\\">\\n\\t\\t<ng-template #container></ng-template>\\n\\t\\t<gui-close-icon (click)=\\\"closeDialog()\\\"></gui-close-icon>\\n\\t</div>\\n</div>\\n\",\n styles: [\".gui-box-border{box-sizing:border-box}.gui-bg-transparent{background-color:transparent}.gui-border{border-width:1px}.gui-border-0{border-width:0}.gui-border-b{border-bottom-width:1px}.gui-border-t{border-top-width:1px}.gui-border-solid{border-style:solid}.gui-border-b-solid{border-bottom-style:solid}.gui-border-t-solid{border-top-style:solid}.gui-border-none{border-style:none}.gui-rounded{border-radius:4px}.gui-cursor-pointer{cursor:pointer}.gui-block{display:block}.gui-inline-block{display:inline-block}.gui-inline{display:inline}.gui-flex{display:-ms-flexbox;display:flex}.gui-hidden{display:none}.gui-display-grid{display:grid}.gui-flex-row{-ms-flex-direction:row;flex-direction:row}.gui-flex-row-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gui-flex-col{-ms-flex-direction:column;flex-direction:column}.gui-flex-col-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.gui-justify-start{-ms-flex-pack:start;justify-content:flex-start}.gui-justify-end{-ms-flex-pack:end;justify-content:flex-end}.gui-justify-center{-ms-flex-pack:center;justify-content:center}.gui-justify-between{-ms-flex-pack:justify;justify-content:space-between}.gui-justify-around{-ms-flex-pack:distribute;justify-content:space-around}.gui-justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.gui-items-start{-ms-flex-align:start;align-items:flex-start}.gui-items-end{-ms-flex-align:end;align-items:flex-end}.gui-items-center{-ms-flex-align:center;align-items:center}.gui-items-between{-ms-flex-align:space-between;align-items:space-between}.gui-items-around{-ms-flex-align:space-around;align-items:space-around}.gui-items-evenly{-ms-flex-align:space-evenly;align-items:space-evenly}.gui-flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.gui-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.gui-flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.gui-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gui-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gui-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gui-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.gui-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.gui-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.gui-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.gui-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.gui-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.gui-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.gui-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.gui-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.gui-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.gui-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.gui-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.gui-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.gui-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.gui-grid-rows-gap-0{grid-row-gap:0}.gui-grid-rows-gap-1{grid-row-gap:1px}.gui-grid-rows-gap-2{grid-row-gap:2px}.gui-grid-rows-gap-3{grid-row-gap:3px}.gui-grid-rows-gap-4{grid-row-gap:4px}.gui-grid-rows-gap-5{grid-row-gap:6px}.gui-grid-rows-gap-6{grid-row-gap:8px}.gui-grid-rows-gap-7{grid-row-gap:10px}.gui-grid-rows-gap-8{grid-row-gap:12px}.gui-grid-rows-gap-10{grid-row-gap:16px}.gui-grid-rows-gap-13{grid-row-gap:22px}.gui-grid-rows-gap-23{grid-row-gap:42px}.gui-grid-cols-gap-0{grid-column-gap:0}.gui-grid-cols-gap-1{grid-column-gap:1px}.gui-grid-cols-gap-2{grid-column-gap:2px}.gui-grid-cols-gap-3{grid-column-gap:3px}.gui-grid-cols-gap-4{grid-column-gap:4px}.gui-grid-cols-gap-5{grid-column-gap:6px}.gui-grid-cols-gap-6{grid-column-gap:8px}.gui-grid-cols-gap-7{grid-column-gap:10px}.gui-grid-cols-gap-8{grid-column-gap:12px}.gui-grid-cols-gap-10{grid-column-gap:16px}.gui-grid-cols-gap-13{grid-column-gap:22px}.gui-grid-cols-gap-23{grid-column-gap:42px}.gui-h-full{height:100%}.gui-list-none{list-style-type:none}.gui-m-0{margin:0}.gui-mx-0{margin-left:0;margin-right:0}.gui-my-0{margin-bottom:0;margin-top:0}.-gui-m-0{margin:0}.-gui-mx-0{margin-left:0;margin-right:0}.-gui-my-0{margin-bottom:0;margin-top:0}.gui-m-1{margin:1px}.gui-mx-1{margin-left:1px;margin-right:1px}.gui-my-1{margin-bottom:1px;margin-top:1px}.-gui-m-1{margin:-1px}.-gui-mx-1{margin-left:-1px;margin-right:-1px}.-gui-my-1{margin-bottom:-1px;margin-top:-1px}.gui-m-2{margin:2px}.gui-mx-2{margin-left:2px;margin-right:2px}.gui-my-2{margin-bottom:2px;margin-top:2px}.-gui-m-2{margin:-2px}.-gui-mx-2{margin-left:-2px;margin-right:-2px}.-gui-my-2{margin-bottom:-2px;margin-top:-2px}.gui-m-3{margin:3px}.gui-mx-3{margin-left:3px;margin-right:3px}.gui-my-3{margin-bottom:3px;margin-top:3px}.-gui-m-3{margin:-3px}.-gui-mx-3{margin-left:-3px;margin-right:-3px}.-gui-my-3{margin-bottom:-3px;margin-top:-3px}.gui-m-4{margin:4px}.gui-mx-4{margin-left:4px;margin-right:4px}.gui-my-4{margin-bottom:4px;margin-top:4px}.-gui-m-4{margin:-4px}.-gui-mx-4{margin-left:-4px;margin-right:-4px}.-gui-my-4{margin-bottom:-4px;margin-top:-4px}.gui-m-5{margin:6px}.gui-mx-5{margin-left:6px;margin-right:6px}.gui-my-5{margin-bottom:6px;margin-top:6px}.-gui-m-5{margin:-6px}.-gui-mx-5{margin-left:-6px;margin-right:-6px}.-gui-my-5{margin-bottom:-6px;margin-top:-6px}.gui-m-6{margin:8px}.gui-mx-6{margin-left:8px;margin-right:8px}.gui-my-6{margin-bottom:8px;margin-top:8px}.-gui-m-6{margin:-8px}.-gui-mx-6{margin-left:-8px;margin-right:-8px}.-gui-my-6{margin-bottom:-8px;margin-top:-8px}.gui-m-7{margin:10px}.gui-mx-7{margin-left:10px;margin-right:10px}.gui-my-7{margin-bottom:10px;margin-top:10px}.-gui-m-7{margin:-10px}.-gui-mx-7{margin-left:-10px;margin-right:-10px}.-gui-my-7{margin-bottom:-10px;margin-top:-10px}.gui-m-8{margin:12px}.gui-mx-8{margin-left:12px;margin-right:12px}.gui-my-8{margin-bottom:12px;margin-top:12px}.-gui-m-8{margin:-12px}.-gui-mx-8{margin-left:-12px;margin-right:-12px}.-gui-my-8{margin-bottom:-12px;margin-top:-12px}.gui-m-10{margin:16px}.gui-mx-10{margin-left:16px;margin-right:16px}.gui-my-10{margin-bottom:16px;margin-top:16px}.-gui-m-10{margin:-16px}.-gui-mx-10{margin-left:-16px;margin-right:-16px}.-gui-my-10{margin-bottom:-16px;margin-top:-16px}.gui-m-13{margin:22px}.gui-mx-13{margin-left:22px;margin-right:22px}.gui-my-13{margin-bottom:22px;margin-top:22px}.-gui-m-13{margin:-22px}.-gui-mx-13{margin-left:-22px;margin-right:-22px}.-gui-my-13{margin-bottom:-22px;margin-top:-22px}.gui-m-23{margin:42px}.gui-mx-23{margin-left:42px;margin-right:42px}.gui-my-23{margin-bottom:42px;margin-top:42px}.-gui-m-23{margin:-42px}.-gui-mx-23{margin-left:-42px;margin-right:-42px}.-gui-my-23{margin-bottom:-42px;margin-top:-42px}.gui-mb-4{margin-bottom:4px}.gui-mb-6{margin-bottom:8px}.gui-mb-8{margin-bottom:12px}.gui-mb-10{margin-bottom:16px}.gui-mb-18{margin-bottom:32px}.gui-mr-0{margin-right:0}.gui-mr-5{margin-right:6px}.gui-mr-auto{margin-right:auto}.gui-ml-auto{margin-left:auto}.gui-ml-6{margin-left:8px}.gui-mt-0{margin-top:0}.gui-mt-4{margin-top:4px}.gui-mt-6{margin-top:8px}.gui-mt-10{margin-top:16px}.gui-mt-14{margin-top:24px}.gui-overflow-hidden{overflow:hidden}.gui-overflow-y-scroll{overflow-y:scroll}.gui-overflow-x-hidden{overflow-x:hidden}.gui-overflow-auto{overflow:auto}.gui-p-0{padding:0}.gui-px-0{padding-left:0;padding-right:0}.gui-py-0{padding-bottom:0;padding-top:0}.gui-p-1{padding:1px}.gui-px-1{padding-left:1px;padding-right:1px}.gui-py-1{padding-bottom:1px;padding-top:1px}.gui-p-2{padding:2px}.gui-px-2{padding-left:2px;padding-right:2px}.gui-py-2{padding-bottom:2px;padding-top:2px}.gui-p-3{padding:3px}.gui-px-3{padding-left:3px;padding-right:3px}.gui-py-3{padding-bottom:3px;padding-top:3px}.gui-p-4{padding:4px}.gui-px-4{padding-left:4px;padding-right:4px}.gui-py-4{padding-bottom:4px;padding-top:4px}.gui-p-5{padding:6px}.gui-px-5{padding-left:6px;padding-right:6px}.gui-py-5{padding-bottom:6px;padding-top:6px}.gui-p-6{padding:8px}.gui-px-6{padding-left:8px;padding-right:8px}.gui-py-6{padding-bottom:8px;padding-top:8px}.gui-p-7{padding:10px}.gui-px-7{padding-left:10px;padding-right:10px}.gui-py-7{padding-bottom:10px;padding-top:10px}.gui-p-8{padding:12px}.gui-px-8{padding-left:12px;padding-right:12px}.gui-py-8{padding-bottom:12px;padding-top:12px}.gui-p-10{padding:16px}.gui-px-10{padding-left:16px;padding-right:16px}.gui-py-10{padding-bottom:16px;padding-top:16px}.gui-p-13{padding:22px}.gui-px-13{padding-left:22px;padding-right:22px}.gui-py-13{padding-bottom:22px;padding-top:22px}.gui-p-23{padding:42px}.gui-px-23{padding-left:42px;padding-right:42px}.gui-py-23{padding-bottom:42px;padding-top:42px}.gui-pr-10{padding-right:16px}.gui-pl-9{padding-right:10px}.gui-pb-6{padding-bottom:8px}.gui-pb-12{padding-bottom:20px}.gui-pl-21{padding-left:38px}.gui-pt-4{padding-top:4px}.gui-pt-6{padding-top:8px}.gui-pt-10{padding-top:16px}.gui-pt-12{padding-top:20px}.gui-pt-14{padding-top:24px}.gui-static{position:static}.gui-fixed{position:fixed}.gui-relative{position:relative}.gui-absolute{position:absolute}.gui-text-xxs{font-size:11px}.gui-text-xs{font-size:12px}.gui-text-sm{font-size:13px}.gui-text-base{font-size:14px}.gui-text-lg{font-size:16px}.gui-text-xl{font-size:18px}.gui-text-2xl{font-size:20px}.gui-text-3xl{font-size:22px}.gui-leading-4{line-height:16px}.gui-leading-6{line-height:24px}.gui-font-thin{font-weight:100}.gui-font-extralight{font-weight:200}.gui-font-light{font-weight:300}.gui-font-normal{font-weight:400}.gui-font-medium{font-weight:500}.gui-font-semibold{font-weight:600}.gui-font-bold{font-weight:700}.gui-font-extrabold{font-weight:800}.gui-font-black{font-weight:900}.gui-italic{font-style:italic}.gui-not-italic{font-style:normal}.gui-whitespace-nowrap{white-space:nowrap}.gui-overflow-ellipsis{text-overflow:ellipsis}.gui-no-underline{text-decoration:none}.gui-text-center{text-align:center}.gui-w-full{width:100%}.gui-w-96{width:384px}.gui-w-3\\\\/5{width:60%}.gui-fabric-dialog *,.gui-fabric-dialog *:after,.gui-fabric-dialog *:before{box-sizing:border-box}.gui-fabric-dialog input{font-size:13px;outline:0}.gui-dialog-blanket{background:rgba(0,0,0,.32);height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:1000}.gui-dialog-wrapper{font-family:Arial;height:100%;width:100%;position:fixed;pointer-events:auto;left:0;top:0;z-index:1000}.gui-dialog-content{background-color:#fff;border-radius:4px;box-shadow:0 3px 7px #999;padding:24px 16px;position:fixed;left:50%;top:50%;transform:scale3d(0,0,0) translate(-50%) translateY(-50%);opacity:0;transition:all .4s;overflow:auto;z-index:1000}.gui-dialog-content.gui-dialog-visible{transform:scaleZ(1) translate(-50%) translateY(-50%);opacity:1}\\n\", \".gui-dark .gui-dialog-wrapper .gui-dialog-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}.gui-dark .gui-dialog-wrapper .gui-dialog-content .gui-dialog-close:before,.gui-dark .gui-dialog-wrapper .gui-dialog-content .gui-dialog-close:after{background:#bdbdbd}\\n\"]\n }]\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: i0.ElementRef\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }]\n }, {\n type: FabricModalThemeService\n }, {\n type: i0.Renderer2\n }, {\n type: FabricDialogService,\n decorators: [{\n type: Inject,\n args: [forwardRef(() => FabricDialogService)]\n }]\n }], {\n container: [{\n type: ViewChild,\n args: ['container', {\n read: ViewContainerRef,\n static: false\n }]\n }]\n });\n})();\nclass FabricDialogThemeService {\n theme$ = new Subject();\n onTheme() {\n return this.theme$.asObservable();\n }\n nextTheme(theme) {\n this.theme$.next(this.toTheme(theme));\n }\n toTheme(theme) {\n switch (theme.toLowerCase()) {\n case 'fabric':\n return Theme.FABRIC;\n case 'material':\n return Theme.MATERIAL;\n case 'generic':\n return Theme.GENERIC;\n case 'light':\n return Theme.LIGHT;\n case 'dark':\n return Theme.DARK;\n default:\n return Theme.FABRIC;\n }\n }\n static ɵfac = function FabricDialogThemeService_Factory(t) {\n return new (t || FabricDialogThemeService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricDialogThemeService,\n factory: FabricDialogThemeService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDialogThemeService, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricDialogModule {\n static ɵfac = function FabricDialogModule_Factory(t) {\n return new (t || FabricDialogModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricDialogModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [FabricDialogService, FabricDialogThemeService],\n imports: [CommonModule, FabricCloseIconModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricDialogModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FabricCloseIconModule],\n declarations: [FabricDialogComponent],\n providers: [FabricDialogService, FabricDialogThemeService]\n }]\n }], null, null);\n})();\nclass FabricProgressBarComponent {\n elementRef;\n renderer;\n progress = 0;\n color;\n height;\n width;\n textTop = '';\n textAlign = '';\n primary = false;\n secondary = false;\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n if (changes['primary']) {\n if (this.primary) {\n this.addClass('gui-primary');\n } else {\n this.removeClass('gui-primary');\n }\n }\n if (changes['secondary']) {\n if (this.secondary) {\n this.addClass('gui-secondary');\n } else {\n this.removeClass('gui-secondary');\n }\n }\n }\n addClass(className) {\n this.renderer.addClass(this.elementRef.nativeElement, className);\n }\n removeClass(className) {\n this.renderer.removeClass(this.elementRef.nativeElement, className);\n }\n static ɵfac = function FabricProgressBarComponent_Factory(t) {\n return new (t || FabricProgressBarComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricProgressBarComponent,\n selectors: [[\"gui-progress-bar\"]],\n hostVars: 2,\n hostBindings: function FabricProgressBarComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-progress\", true);\n }\n },\n inputs: {\n progress: \"progress\",\n color: \"color\",\n height: \"height\",\n width: \"width\",\n textTop: \"textTop\",\n textAlign: \"textAlign\",\n primary: \"primary\",\n secondary: \"secondary\"\n },\n features: [i0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c0,\n decls: 4,\n vars: 12,\n consts: [[1, \"gui-progress-bar\"], [1, \"gui-progress\"], [1, \"gui-progress-text\"]],\n template: function FabricProgressBarComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"span\", 2);\n i0.ɵɵprojection(3);\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"height\", ctx.height, \"px\")(\"text-align\", ctx.textAlign)(\"width\", ctx.width, \"px\");\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"background\", ctx.color)(\"width\", ctx.progress, \"%\");\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"top\", ctx.textTop);\n }\n },\n styles: [\".gui-progress-bar{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-color:#d6d6d6;border-style:solid;border-width:1px;display:block;font-family:Arial;height:18px;margin-bottom:10px;text-align:center}.gui-progress-bar .gui-progress{background:#999;border-bottom:inherit;height:inherit;width:0}.gui-primary .gui-progress-bar .gui-progress.gui-progress{background:#2185d0}.gui-secondary .gui-progress-bar .gui-progress.gui-progress{background:#3cb371}.gui-progress-bar .gui-progress-text{position:relative}\\n\", \".gui-material .gui-progress-bar{border-color:#5262c5;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif}.gui-material .gui-progress{background:#3949ab}.gui-material .gui-progress.gui-primary .gui-progress{background:#6200ee}.gui-material .gui-progress.gui-primary .gui-progress-bar{border-color:#6200ee}.gui-material .gui-progress.gui-secondary .gui-progress{background:#0097a7}.gui-material .gui-progress.gui-secondary .gui-progress-bar{border-color:#0097a7}\\n\", \".gui-dark .gui-progress-bar{border-color:#616161;color:#bdbdbd}.gui-dark .gui-progress{background:#424242}.gui-dark .gui-progress.gui-primary .gui-progress{background:#ce93d8}.gui-dark .gui-progress.gui-primary .gui-progress-bar{border-color:#ce93d8;color:#212121}.gui-dark .gui-progress.gui-secondary .gui-progress{background:#80cbc4}.gui-dark .gui-progress.gui-secondary .gui-progress-bar{border-color:#80cbc4;color:#212121}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricProgressBarComponent, [{\n type: Component,\n args: [{\n selector: 'gui-progress-bar',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-progress]': 'true'\n },\n template: \"<div\\n\\t[style.height.px]=\\\"height\\\"\\n\\t[style.text-align]=\\\"textAlign\\\"\\n\\t[style.width.px]=\\\"width\\\"\\n\\tclass=\\\"gui-progress-bar\\\">\\n\\t<div\\n\\t\\t[style.background]=\\\"color\\\"\\n\\t\\t[style.width.%]=\\\"progress\\\"\\n\\t\\tclass=\\\"gui-progress\\\">\\n\\t\\t<span\\n\\t\\t\\t[style.top]=\\\"textTop\\\"\\n\\t\\t\\tclass=\\\"gui-progress-text\\\">\\n\\t\\t\\t<ng-content></ng-content>\\n\\t\\t</span>\\n\\t</div>\\n</div>\\n\",\n styles: [\".gui-progress-bar{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-color:#d6d6d6;border-style:solid;border-width:1px;display:block;font-family:Arial;height:18px;margin-bottom:10px;text-align:center}.gui-progress-bar .gui-progress{background:#999;border-bottom:inherit;height:inherit;width:0}.gui-primary .gui-progress-bar .gui-progress.gui-progress{background:#2185d0}.gui-secondary .gui-progress-bar .gui-progress.gui-progress{background:#3cb371}.gui-progress-bar .gui-progress-text{position:relative}\\n\", \".gui-material .gui-progress-bar{border-color:#5262c5;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif}.gui-material .gui-progress{background:#3949ab}.gui-material .gui-progress.gui-primary .gui-progress{background:#6200ee}.gui-material .gui-progress.gui-primary .gui-progress-bar{border-color:#6200ee}.gui-material .gui-progress.gui-secondary .gui-progress{background:#0097a7}.gui-material .gui-progress.gui-secondary .gui-progress-bar{border-color:#0097a7}\\n\", \".gui-dark .gui-progress-bar{border-color:#616161;color:#bdbdbd}.gui-dark .gui-progress{background:#424242}.gui-dark .gui-progress.gui-primary .gui-progress{background:#ce93d8}.gui-dark .gui-progress.gui-primary .gui-progress-bar{border-color:#ce93d8;color:#212121}.gui-dark .gui-progress.gui-secondary .gui-progress{background:#80cbc4}.gui-dark .gui-progress.gui-secondary .gui-progress-bar{border-color:#80cbc4;color:#212121}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n progress: [{\n type: Input\n }],\n color: [{\n type: Input\n }],\n height: [{\n type: Input\n }],\n width: [{\n type: Input\n }],\n textTop: [{\n type: Input\n }],\n textAlign: [{\n type: Input\n }],\n primary: [{\n type: Input\n }],\n secondary: [{\n type: Input\n }]\n });\n})();\nclass FabricProgressBarModule {\n static ɵfac = function FabricProgressBarModule_Factory(t) {\n return new (t || FabricProgressBarModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricProgressBarModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricProgressBarModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricProgressBarComponent],\n exports: [FabricProgressBarComponent]\n }]\n }], null, null);\n})();\nclass AbstractSpinner {\n elementRef;\n renderer;\n width = 5;\n diameter = 90;\n primary = false;\n secondary = false;\n r = 0;\n circumference = 0;\n croppedCircle = 0;\n circleSize = 0;\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n this.calculateCircle();\n if (changes['primary']) {\n if (this.primary) {\n this.addClass('gui-primary');\n } else {\n this.removeClass('gui-primary');\n }\n }\n if (changes['secondary']) {\n if (this.secondary) {\n this.addClass('gui-secondary');\n } else {\n this.removeClass('gui-secondary');\n }\n }\n }\n ngOnInit() {\n this.calculateCircle();\n }\n calculateCircle() {\n this.circumference = this.calculateCircumference(this.diameter);\n this.r = this.calculateR(this.diameter);\n this.croppedCircle = this.calculateDashes(this.circumference);\n this.circleSize = this.calculateSize(this.diameter, this.width);\n }\n calculateCircumference(diameter) {\n return diameter * Math.PI;\n }\n calculateR(diameter) {\n return diameter / 2;\n }\n calculateDashes(circumference) {\n return circumference * 0.25;\n }\n calculateSize(diameter, width) {\n return diameter + width;\n }\n addClass(className) {\n this.renderer.addClass(this.elementRef.nativeElement, className);\n }\n removeClass(className) {\n this.renderer.removeClass(this.elementRef.nativeElement, className);\n }\n static ɵfac = function AbstractSpinner_Factory(t) {\n return new (t || AbstractSpinner)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: AbstractSpinner,\n inputs: {\n width: \"width\",\n diameter: \"diameter\",\n primary: \"primary\",\n secondary: \"secondary\"\n },\n features: [i0.ɵɵNgOnChangesFeature]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(AbstractSpinner, [{\n type: Directive\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n width: [{\n type: Input\n }],\n diameter: [{\n type: Input\n }],\n primary: [{\n type: Input\n }],\n secondary: [{\n type: Input\n }]\n });\n})();\nvar SpinnerMode;\n(function (SpinnerMode) {\n SpinnerMode[SpinnerMode[\"NoSpin\"] = 0] = \"NoSpin\";\n SpinnerMode[SpinnerMode[\"Spin\"] = 1] = \"Spin\";\n})(SpinnerMode || (SpinnerMode = {}));\nclass FabricProgressSpinnerComponent extends AbstractSpinner {\n value = 0;\n mode = SpinnerMode.NoSpin;\n color;\n animationsDisabled = true;\n secondCircleDisabled = true;\n valuePercentage = 0;\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n this.calculateValuePercentage(this.circumference, this.value);\n if (this.mode === SpinnerMode.Spin) {\n this.animationsDisabled = false;\n this.secondCircleDisabled = false;\n this.value = 0;\n this.circumference = this.croppedCircle;\n }\n if (this.animationsDisabled) {\n this.addClass('gui-animations-disabled');\n } else {\n this.removeClass('gui-animations-disabled');\n }\n if (this.secondCircleDisabled) {\n this.addClass('gui-second-circle-disabled');\n } else {\n this.removeClass('gui-second-circle-disabled');\n }\n }\n ngOnInit() {\n this.calculateValuePercentage(this.circumference, this.value);\n }\n calculateValuePercentage(circumference, value) {\n this.valuePercentage = circumference - value * circumference / 100;\n }\n static ɵfac = function FabricProgressSpinnerComponent_Factory(t) {\n return new (t || FabricProgressSpinnerComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricProgressSpinnerComponent,\n selectors: [[\"gui-progress-spinner\"]],\n inputs: {\n value: \"value\",\n mode: \"mode\",\n color: \"color\"\n },\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n decls: 5,\n vars: 30,\n consts: [[1, \"gui-progress-spinner\"], [1, \"circle-outer\"], [\"cx\", \"50%\", \"cy\", \"50%\"], [1, \"circle-inner\"]],\n template: function FabricProgressSpinnerComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(1, \"svg\", 1);\n i0.ɵɵelement(2, \"circle\", 2);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"svg\", 3);\n i0.ɵɵelement(4, \"circle\", 2);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"height\", ctx.circleSize, \"px\")(\"width\", ctx.circleSize, \"px\");\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"height\", ctx.circleSize, \"px\")(\"width\", ctx.circleSize, \"px\");\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"stroke-dasharray\", ctx.circumference)(\"stroke-dashoffset\", ctx.valuePercentage)(\"stroke-width\", ctx.width)(\"stroke\", ctx.color);\n i0.ɵɵattribute(\"r\", ctx.r);\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"height\", ctx.circleSize, \"px\")(\"width\", ctx.circleSize, \"px\");\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"stroke-dasharray\", ctx.croppedCircle)(\"stroke-dashoffset\", ctx.circumference)(\"stroke-width\", ctx.width)(\"stroke\", ctx.color);\n i0.ɵɵattribute(\"r\", ctx.r);\n }\n },\n styles: [\".gui-progress-spinner{display:inline-block;margin:4px;position:relative;-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.gui-progress-spinner circle{fill:transparent;stroke:#999}.gui-progress-spinner svg{position:absolute}.gui-progress-spinner .circle-inner{animation:gui-spin-reverse 2s infinite linear forwards reverse}.gui-progress-spinner .circle-outer{animation:gui-spin 2s infinite linear forwards}.gui-animations-disabled .gui-progress-spinner.gui-progress-spinner .circle-outer,.gui-animations-disabled .gui-progress-spinner.gui-progress-spinner.gui-progress-spinner{animation:none}.gui-second-circle-disabled .gui-progress-spinner.gui-progress-spinner .circle-inner{opacity:0}.gui-primary .gui-progress-spinner.gui-progress-spinner circle{stroke:#2185d0}.gui-secondary .gui-progress-spinner.gui-progress-spinner circle{stroke:#3cb371}\\n\", \".gui-material .gui-progress-spinner circle{stroke:#3949ab}.gui-material .gui-primary .gui-progress-spinner circle{stroke:#6200ee}.gui-material .gui-secondary .gui-progress-spinner circle{stroke:#0097a7}\\n\", \".gui-dark .gui-progress-spinner circle{stroke:#424242}.gui-dark .gui-primary .gui-progress-spinner circle{stroke:#ce93d8}.gui-dark .gui-secondary .gui-progress-spinner circle{stroke:#80cbc4}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricProgressSpinnerComponent, [{\n type: Component,\n args: [{\n selector: 'gui-progress-spinner',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<div\\n\\t[style.height.px]=\\\"circleSize\\\"\\n\\t[style.width.px]=\\\"circleSize\\\"\\n\\tclass=\\\"gui-progress-spinner\\\">\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-outer\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"valuePercentage\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-inner\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n</div>\\n\",\n styles: [\".gui-progress-spinner{display:inline-block;margin:4px;position:relative;-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.gui-progress-spinner circle{fill:transparent;stroke:#999}.gui-progress-spinner svg{position:absolute}.gui-progress-spinner .circle-inner{animation:gui-spin-reverse 2s infinite linear forwards reverse}.gui-progress-spinner .circle-outer{animation:gui-spin 2s infinite linear forwards}.gui-animations-disabled .gui-progress-spinner.gui-progress-spinner .circle-outer,.gui-animations-disabled .gui-progress-spinner.gui-progress-spinner.gui-progress-spinner{animation:none}.gui-second-circle-disabled .gui-progress-spinner.gui-progress-spinner .circle-inner{opacity:0}.gui-primary .gui-progress-spinner.gui-progress-spinner circle{stroke:#2185d0}.gui-secondary .gui-progress-spinner.gui-progress-spinner circle{stroke:#3cb371}\\n\", \".gui-material .gui-progress-spinner circle{stroke:#3949ab}.gui-material .gui-primary .gui-progress-spinner circle{stroke:#6200ee}.gui-material .gui-secondary .gui-progress-spinner circle{stroke:#0097a7}\\n\", \".gui-dark .gui-progress-spinner circle{stroke:#424242}.gui-dark .gui-primary .gui-progress-spinner circle{stroke:#ce93d8}.gui-dark .gui-secondary .gui-progress-spinner circle{stroke:#80cbc4}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n value: [{\n type: Input\n }],\n mode: [{\n type: Input\n }],\n color: [{\n type: Input\n }]\n });\n})();\nclass FabricProgressSpinnerModule {\n static ɵfac = function FabricProgressSpinnerModule_Factory(t) {\n return new (t || FabricProgressSpinnerModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricProgressSpinnerModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricProgressSpinnerModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricProgressSpinnerComponent],\n exports: [FabricProgressSpinnerComponent]\n }]\n }], null, null);\n})();\nclass FabricRadioButtonComponent {\n elementRef;\n renderer;\n name = '';\n checked = false;\n disabled = false;\n changed = new EventEmitter();\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges() {\n if (this.disabled) {\n this.renderer.addClass(this.elementRef.nativeElement, 'gui-disabled');\n } else {\n this.renderer.removeClass(this.elementRef.nativeElement, 'gui-disabled');\n }\n }\n check() {\n this.checked = true;\n this.changed.emit(this.checked);\n }\n static ɵfac = function FabricRadioButtonComponent_Factory(t) {\n return new (t || FabricRadioButtonComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricRadioButtonComponent,\n selectors: [[\"gui-radio-button\"]],\n hostVars: 2,\n hostBindings: function FabricRadioButtonComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-radio-button\", true);\n }\n },\n inputs: {\n name: \"name\",\n checked: \"checked\",\n disabled: \"disabled\"\n },\n outputs: {\n changed: \"changed\"\n },\n features: [i0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c0,\n decls: 4,\n vars: 3,\n consts: [[\"type\", \"radio\", 3, \"click\", \"checked\", \"disabled\"], [1, \"gui-radio-checkmark\"]],\n template: function FabricRadioButtonComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"label\")(1, \"input\", 0);\n i0.ɵɵlistener(\"click\", function FabricRadioButtonComponent_Template_input_click_1_listener() {\n return ctx.check();\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelement(2, \"span\", 1);\n i0.ɵɵprojection(3);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"checked\", ctx.checked)(\"disabled\", ctx.disabled);\n i0.ɵɵattribute(\"name\", ctx.name);\n }\n },\n styles: [\".gui-radio-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;font:14px Arial;line-height:18px;padding-left:32px;position:relative}.gui-radio-button label{cursor:pointer}.gui-radio-button label:hover .gui-radio-checkmark{border-color:#999}.gui-radio-button input{height:0;opacity:0;position:absolute;width:0}.gui-radio-button .gui-radio-checkmark{border-color:#d6d6d6;border-radius:50%;border-style:solid;border-width:1px;box-sizing:content-box;height:16px;left:0;position:absolute;width:16px}.gui-radio-button input:checked+.gui-radio-checkmark{border-color:#999}.gui-radio-button input:focus+.gui-radio-checkmark{border-color:#6fb4e8}.gui-radio-button.gui-disabled.gui-radio-button{color:#ccc;pointer-events:none}.gui-radio-button .gui-radio-checkmark:after{content:\\\"\\\";display:none;position:absolute}.gui-radio-button input:checked+.gui-radio-checkmark:after{box-sizing:content-box;display:block}.gui-radio-button .gui-radio-checkmark:after{background:#333;border-radius:50%;height:16px;-ms-transform:scale(.5);transform:scale(.5);width:16px}\\n\", \".gui-material .gui-radio-button{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-radio-button{color:#bdbdbd}.gui-dark .gui-radio-button .gui-radio-checkmark{border-color:#878787}.gui-dark .gui-radio-button input:checked+.gui-radio-checkmark{border-color:#878787}.gui-dark .gui-radio-button input:focus+.gui-radio-checkmark{border-color:#ce93d8}.gui-dark .gui-radio-button .gui-radio-checkmark:after{background:#878787}.gui-dark .gui-radio-button.gui-disabled.gui-radio-button{opacity:.36}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricRadioButtonComponent, [{\n type: Component,\n args: [{\n selector: 'gui-radio-button',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-radio-button]': 'true'\n },\n template: \"<label>\\n\\t<input\\n\\t\\t(click)=\\\"check()\\\"\\n\\t\\t[attr.name]=\\\"name\\\"\\n\\t\\t[checked]=\\\"checked\\\"\\n\\t\\t[disabled]=\\\"disabled\\\"\\n\\t\\ttype=\\\"radio\\\">\\n\\t<span class=\\\"gui-radio-checkmark\\\"></span>\\n\\t<ng-content></ng-content>\\n</label>\\n\",\n styles: [\".gui-radio-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;font:14px Arial;line-height:18px;padding-left:32px;position:relative}.gui-radio-button label{cursor:pointer}.gui-radio-button label:hover .gui-radio-checkmark{border-color:#999}.gui-radio-button input{height:0;opacity:0;position:absolute;width:0}.gui-radio-button .gui-radio-checkmark{border-color:#d6d6d6;border-radius:50%;border-style:solid;border-width:1px;box-sizing:content-box;height:16px;left:0;position:absolute;width:16px}.gui-radio-button input:checked+.gui-radio-checkmark{border-color:#999}.gui-radio-button input:focus+.gui-radio-checkmark{border-color:#6fb4e8}.gui-radio-button.gui-disabled.gui-radio-button{color:#ccc;pointer-events:none}.gui-radio-button .gui-radio-checkmark:after{content:\\\"\\\";display:none;position:absolute}.gui-radio-button input:checked+.gui-radio-checkmark:after{box-sizing:content-box;display:block}.gui-radio-button .gui-radio-checkmark:after{background:#333;border-radius:50%;height:16px;-ms-transform:scale(.5);transform:scale(.5);width:16px}\\n\", \".gui-material .gui-radio-button{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-radio-button{color:#bdbdbd}.gui-dark .gui-radio-button .gui-radio-checkmark{border-color:#878787}.gui-dark .gui-radio-button input:checked+.gui-radio-checkmark{border-color:#878787}.gui-dark .gui-radio-button input:focus+.gui-radio-checkmark{border-color:#ce93d8}.gui-dark .gui-radio-button .gui-radio-checkmark:after{background:#878787}.gui-dark .gui-radio-button.gui-disabled.gui-radio-button{opacity:.36}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n name: [{\n type: Input\n }],\n checked: [{\n type: Input\n }],\n disabled: [{\n type: Input\n }],\n changed: [{\n type: Output\n }]\n });\n})();\nclass FabricRadioButtonModule {\n static ɵfac = function FabricRadioButtonModule_Factory(t) {\n return new (t || FabricRadioButtonModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricRadioButtonModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricRadioButtonModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricRadioButtonComponent],\n exports: [FabricRadioButtonComponent]\n }]\n }], null, null);\n})();\nclass FabricRadioGroupComponent {\n static ɵfac = function FabricRadioGroupComponent_Factory(t) {\n return new (t || FabricRadioGroupComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricRadioGroupComponent,\n selectors: [[\"gui-radio-group\"]],\n hostVars: 2,\n hostBindings: function FabricRadioGroupComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-radio-group\", true);\n }\n },\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function FabricRadioGroupComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n styles: [\".gui-radio-group .gui-radio-button{display:block;margin-bottom:10px}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricRadioGroupComponent, [{\n type: Component,\n args: [{\n selector: 'gui-radio-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-radio-group]': 'true'\n },\n template: \"<ng-content></ng-content>\\n\",\n styles: [\".gui-radio-group .gui-radio-button{display:block;margin-bottom:10px}\\n\"]\n }]\n }], null, null);\n})();\nclass FabricRadioGroupModule {\n static ɵfac = function FabricRadioGroupModule_Factory(t) {\n return new (t || FabricRadioGroupModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricRadioGroupModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricRadioGroupModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricRadioGroupComponent],\n exports: [FabricRadioGroupComponent]\n }]\n }], null, null);\n})();\nvar FabricNotificationPosition;\n(function (FabricNotificationPosition) {\n FabricNotificationPosition[FabricNotificationPosition[\"TOP_RIGHT\"] = 0] = \"TOP_RIGHT\";\n FabricNotificationPosition[FabricNotificationPosition[\"TOP_LEFT\"] = 1] = \"TOP_LEFT\";\n FabricNotificationPosition[FabricNotificationPosition[\"BOTTOM_RIGHT\"] = 2] = \"BOTTOM_RIGHT\";\n FabricNotificationPosition[FabricNotificationPosition[\"BOTTOM_LEFT\"] = 3] = \"BOTTOM_LEFT\";\n})(FabricNotificationPosition || (FabricNotificationPosition = {}));\nclass FabricNotificationComponent {\n renderer;\n notificationRef;\n notification;\n onNotificationClose = new EventEmitter();\n unsub$ = new Subject();\n constructor(renderer) {\n this.renderer = renderer;\n }\n ngOnInit() {\n if (this.notification?.timer.enabled) {\n timer(this.notification.timer.duration || 0).pipe(takeUntil(this.unsub$)).subscribe(() => this.closeNotification());\n }\n }\n ngOnDestroy() {\n this.unsub$.next();\n this.unsub$.complete();\n }\n closeNotification() {\n this.addCloseAnimation();\n timer(200).pipe(takeUntil(this.unsub$)).subscribe(() => this.onNotificationClose.emit(this.notification));\n }\n addCloseAnimation() {\n if (this.notificationRef) {\n const notificationEl = this.notificationRef.nativeElement;\n this.renderer.addClass(notificationEl, 'gui-notification-active');\n }\n }\n isRightSide() {\n return this.notification?.position === FabricNotificationPosition.TOP_RIGHT || this.notification?.position === FabricNotificationPosition.BOTTOM_RIGHT;\n }\n static ɵfac = function FabricNotificationComponent_Factory(t) {\n return new (t || FabricNotificationComponent)(i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricNotificationComponent,\n selectors: [[\"gui-notification\"]],\n viewQuery: function FabricNotificationComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c11, 5, ElementRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.notificationRef = _t.first);\n }\n },\n inputs: {\n notification: \"notification\"\n },\n outputs: {\n onNotificationClose: \"onNotificationClose\"\n },\n decls: 4,\n vars: 5,\n consts: [[\"guiNotification\", \"\"], [1, \"gui-notification\"], [3, \"click\"]],\n template: function FabricNotificationComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 1, 0)(2, \"gui-close-icon\", 2);\n i0.ɵɵlistener(\"click\", function FabricNotificationComponent_Template_gui_close_icon_click_2_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.closeNotification());\n });\n i0.ɵɵelementEnd();\n i0.ɵɵtext(3);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-notification-right-side\", ctx.isRightSide())(\"gui-notification-left-side\", !ctx.isRightSide());\n i0.ɵɵadvance(3);\n i0.ɵɵtextInterpolate1(\" \", ctx.notification.description, \" \");\n }\n },\n dependencies: [FabricCloseIconComponent],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricNotificationComponent, [{\n type: Component,\n args: [{\n selector: 'gui-notification',\n template: `\n\t\t<div #guiNotification\n\t\t\t [class.gui-notification-right-side]=\"isRightSide()\"\n\t\t\t [class.gui-notification-left-side]=\"!isRightSide()\"\n\t\t\t class=\"gui-notification\">\n\t\t\t<gui-close-icon (click)=\"closeNotification()\"></gui-close-icon>\n\t\t\t{{notification.description}}\n\t\t</div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], () => [{\n type: i0.Renderer2\n }], {\n notificationRef: [{\n type: ViewChild,\n args: ['guiNotification', {\n read: ElementRef,\n static: false\n }]\n }],\n notification: [{\n type: Input\n }],\n onNotificationClose: [{\n type: Output\n }]\n });\n})();\nclass FabricNotification {\n description;\n index;\n timer;\n position;\n constructor(description, index, timer, position) {\n this.description = description;\n this.index = index;\n this.timer = timer;\n this.position = position;\n }\n}\nclass FabricNotificationService extends FabricModal {\n static DEFAULT_DURATION = 4000;\n fabricNotification;\n notificationIndex = 0;\n unsub$ = new Subject();\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n }\n ngOnDestroy() {\n this.removeNotificationContainer();\n }\n getComponent() {\n return FabricNotificationsOverlayComponent;\n }\n open(notification, config) {\n let position = FabricNotificationPosition.TOP_RIGHT;\n if (config && config.position) {\n position = config.position;\n }\n this.createFabricNotification(notification, position, config);\n if (!this.isComponentCreated()) {\n let theme = Theme.FABRIC,\n parentInjector = this.getInjector();\n if (config && config.theme) {\n theme = config.theme;\n }\n if (config && config.injector) {\n parentInjector = config.injector;\n }\n const injector = Injector.create({\n providers: [{\n provide: themeToken,\n useValue: theme\n }],\n parent: parentInjector\n });\n this.createAndAppend({\n injector\n });\n this.pushNotification(position);\n } else {\n this.pushNotification(position);\n }\n }\n close() {\n this.removeNotificationContainer();\n this.unsub$.next();\n this.unsub$.complete();\n }\n removeNotificationContainer() {\n if (this.isComponentCreated()) {\n this.removeComponent();\n this.notificationIndex = 0;\n }\n }\n createFabricNotification(description, position, config) {\n let duration = FabricNotificationService.DEFAULT_DURATION,\n enabled = true;\n if (config && config.timer) {\n if (config.timer.duration) {\n duration = config.timer.duration;\n if (config.timer.extendTimer) {\n duration = config.timer.duration * (this.notificationIndex + 1);\n }\n }\n if (config.timer.enabled !== undefined) {\n enabled = config.timer.enabled;\n }\n }\n this.fabricNotification = new FabricNotification(description, this.notificationIndex, {\n duration,\n enabled\n }, position);\n this.notificationIndex += 1;\n }\n pushNotification(position) {\n if (!this.fabricNotification || !this.isComponentCreated()) {\n return;\n }\n const componentRef = this.getComponentRef();\n switch (position) {\n case FabricNotificationPosition.TOP_RIGHT:\n componentRef.instance.notificationsTopRight = componentRef.instance.notificationsTopRight.concat(this.fabricNotification);\n break;\n case FabricNotificationPosition.TOP_LEFT:\n componentRef.instance.notificationsTopLeft = componentRef.instance.notificationsTopLeft.concat(this.fabricNotification);\n break;\n case FabricNotificationPosition.BOTTOM_RIGHT:\n componentRef.instance.notificationsBottomRight = componentRef.instance.notificationsBottomRight.concat(this.fabricNotification);\n break;\n case FabricNotificationPosition.BOTTOM_LEFT:\n componentRef.instance.notificationsBottomLeft = componentRef.instance.notificationsBottomLeft.concat(this.fabricNotification);\n break;\n default:\n break;\n }\n componentRef.instance.detectChanges();\n }\n static ɵfac = function FabricNotificationService_Factory(t) {\n return new (t || FabricNotificationService)(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(DOCUMENT));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricNotificationService,\n factory: FabricNotificationService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricNotificationService, [{\n type: Injectable\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ApplicationRef\n }, {\n type: i0.Injector\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }]\n }], null);\n})();\nclass FabricNotificationsContainerComponent {\n notifications = [];\n position;\n onNotificationClose = new EventEmitter();\n FabricNotificationPosition = FabricNotificationPosition;\n emitClosedNotification(selectedNotification) {\n this.onNotificationClose.emit(selectedNotification);\n }\n isPosition(fabricNotificationPosition) {\n return this.position === fabricNotificationPosition;\n }\n static ɵfac = function FabricNotificationsContainerComponent_Factory(t) {\n return new (t || FabricNotificationsContainerComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricNotificationsContainerComponent,\n selectors: [[\"gui-notifications-container\"]],\n hostVars: 8,\n hostBindings: function FabricNotificationsContainerComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-notifications-top-right\", ctx.isPosition(ctx.FabricNotificationPosition.TOP_RIGHT))(\"gui-notifications-top-left\", ctx.isPosition(ctx.FabricNotificationPosition.TOP_LEFT))(\"gui-notifications-bottom-right\", ctx.isPosition(ctx.FabricNotificationPosition.BOTTOM_RIGHT))(\"gui-notifications-bottom-left\", ctx.isPosition(ctx.FabricNotificationPosition.BOTTOM_LEFT));\n }\n },\n inputs: {\n notifications: \"notifications\",\n position: \"position\"\n },\n outputs: {\n onNotificationClose: \"onNotificationClose\"\n },\n decls: 1,\n vars: 1,\n consts: [[3, \"notification\", \"onNotificationClose\", 4, \"ngFor\", \"ngForOf\"], [3, \"onNotificationClose\", \"notification\"]],\n template: function FabricNotificationsContainerComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, FabricNotificationsContainerComponent_gui_notification_0_Template, 1, 1, \"gui-notification\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngForOf\", ctx.notifications);\n }\n },\n dependencies: [i1.NgForOf, FabricNotificationComponent],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricNotificationsContainerComponent, [{\n type: Component,\n args: [{\n selector: 'gui-notifications-container',\n template: `\n\t\t<gui-notification *ngFor=\"let notification of notifications\"\n\t\t\t\t\t\t [notification]=\"notification\"\n\t\t\t\t\t\t (onNotificationClose)=\"emitClosedNotification($event)\">\n\t\t</gui-notification>\n\t`,\n host: {\n '[class.gui-notifications-top-right]': 'isPosition(FabricNotificationPosition.TOP_RIGHT)',\n '[class.gui-notifications-top-left]': 'isPosition(FabricNotificationPosition.TOP_LEFT)',\n '[class.gui-notifications-bottom-right]': 'isPosition(FabricNotificationPosition.BOTTOM_RIGHT)',\n '[class.gui-notifications-bottom-left]': 'isPosition(FabricNotificationPosition.BOTTOM_LEFT)'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], null, {\n notifications: [{\n type: Input\n }],\n position: [{\n type: Input\n }],\n onNotificationClose: [{\n type: Output\n }]\n });\n})();\nclass FabricNotificationsOverlayComponent extends FabricThemedComponent {\n changeDetectorRef;\n notificationsService;\n notificationsTopRight = [];\n notificationsTopLeft = [];\n notificationsBottomRight = [];\n notificationsBottomLeft = [];\n FabricNotificationPosition = FabricNotificationPosition;\n constructor(changeDetectorRef, elRef, renderer, themeService, theme, notificationsService) {\n super(elRef, renderer, themeService);\n this.changeDetectorRef = changeDetectorRef;\n this.notificationsService = notificationsService;\n }\n removeNotification(selectedNotification) {\n switch (selectedNotification.position) {\n case FabricNotificationPosition.TOP_RIGHT:\n this.notificationsTopRight = this.notificationsTopRight.filter(notification => notification.index !== selectedNotification.index);\n break;\n case FabricNotificationPosition.TOP_LEFT:\n this.notificationsTopLeft = this.notificationsTopLeft.filter(notification => notification.index !== selectedNotification.index);\n break;\n case FabricNotificationPosition.BOTTOM_RIGHT:\n this.notificationsBottomRight = this.notificationsBottomRight.filter(notification => notification.index !== selectedNotification.index);\n break;\n case FabricNotificationPosition.BOTTOM_LEFT:\n this.notificationsBottomLeft = this.notificationsBottomLeft.filter(notification => notification.index !== selectedNotification.index);\n break;\n default:\n break;\n }\n this.detectChanges();\n this.checkNotificationsLength();\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n checkNotificationsLength() {\n if (this.notificationsTopRight.length === 0 && this.notificationsTopLeft.length === 0 && this.notificationsBottomRight.length === 0 && this.notificationsBottomLeft.length === 0) {\n this.notificationsService.close();\n }\n }\n isContainerNotEmpty(container) {\n return container && container.length > 0;\n }\n static ɵfac = function FabricNotificationsOverlayComponent_Factory(t) {\n return new (t || FabricNotificationsOverlayComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FabricModalThemeService), i0.ɵɵdirectiveInject(themeToken), i0.ɵɵdirectiveInject(forwardRef(() => FabricNotificationService)));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricNotificationsOverlayComponent,\n selectors: [[\"ng-component\"]],\n hostVars: 2,\n hostBindings: function FabricNotificationsOverlayComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-notifications-overlay\", true);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 4,\n vars: 4,\n consts: [[3, \"notifications\", \"position\", \"onNotificationClose\", 4, \"ngIf\"], [3, \"onNotificationClose\", \"notifications\", \"position\"]],\n template: function FabricNotificationsOverlayComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, FabricNotificationsOverlayComponent_gui_notifications_container_0_Template, 1, 2, \"gui-notifications-container\", 0)(1, FabricNotificationsOverlayComponent_gui_notifications_container_1_Template, 1, 2, \"gui-notifications-container\", 0)(2, FabricNotificationsOverlayComponent_gui_notifications_container_2_Template, 1, 2, \"gui-notifications-container\", 0)(3, FabricNotificationsOverlayComponent_gui_notifications_container_3_Template, 1, 2, \"gui-notifications-container\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.isContainerNotEmpty(ctx.notificationsTopRight));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isContainerNotEmpty(ctx.notificationsTopLeft));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isContainerNotEmpty(ctx.notificationsBottomRight));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isContainerNotEmpty(ctx.notificationsBottomLeft));\n }\n },\n dependencies: [i1.NgIf, FabricNotificationsContainerComponent],\n styles: [\".gui-notifications-overlay{-ms-flex-align:center;align-items:center;font-family:Arial;-ms-flex-pack:center;justify-content:center;max-width:400px;position:fixed;z-index:1000}.gui-notifications-overlay gui-notifications-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed}.gui-notifications-overlay gui-notifications-container.gui-notifications-top-left{left:0;top:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-top-right{right:0;top:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-bottom-left{bottom:0;left:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-bottom-right{bottom:0;right:0}.gui-notifications-overlay .gui-notification{background:#fff;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;display:block;margin:16px;padding:32px;position:relative}.gui-notifications-overlay .gui-notification.gui-notification-right-side{animation:loadNotificationRightSide .1s forwards}.gui-notifications-overlay .gui-notification.gui-notification-left-side{animation:loadNotificationLeftSide .1s forwards}@keyframes loadNotificationRightSide{0%{transform:translate(50%)}to{transform:translate(0)}}@keyframes loadNotificationLeftSide{0%{transform:translate(-50%)}to{transform:translate(0)}}.gui-notifications-overlay .gui-notification.gui-notification-active.gui-notification-right-side{animation:closeNotificationRightSide .2s forwards}@keyframes closeNotificationRightSide{0%{transform:translate(0)}to{transform:translate(100%)}}.gui-notifications-overlay .gui-notification.gui-notification-active.gui-notification-left-side{animation:closeNotificationLeftSide .2s forwards}@keyframes closeNotificationLeftSide{0%{transform:translate(0)}to{transform:translate(-100%)}}\\n\", \".gui-dark .gui-notification{background:#424242}\\n\", \".gui-material .gui-notification{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricNotificationsOverlayComponent, [{\n type: Component,\n args: [{\n host: {\n '[class.gui-notifications-overlay]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsTopRight)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsTopRight\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.TOP_RIGHT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsTopLeft)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsTopLeft\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.TOP_LEFT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsBottomRight)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsBottomRight\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.BOTTOM_RIGHT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsBottomLeft)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsBottomLeft\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.BOTTOM_LEFT\\\"></gui-notifications-container>\\n\",\n styles: [\".gui-notifications-overlay{-ms-flex-align:center;align-items:center;font-family:Arial;-ms-flex-pack:center;justify-content:center;max-width:400px;position:fixed;z-index:1000}.gui-notifications-overlay gui-notifications-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed}.gui-notifications-overlay gui-notifications-container.gui-notifications-top-left{left:0;top:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-top-right{right:0;top:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-bottom-left{bottom:0;left:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-bottom-right{bottom:0;right:0}.gui-notifications-overlay .gui-notification{background:#fff;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;display:block;margin:16px;padding:32px;position:relative}.gui-notifications-overlay .gui-notification.gui-notification-right-side{animation:loadNotificationRightSide .1s forwards}.gui-notifications-overlay .gui-notification.gui-notification-left-side{animation:loadNotificationLeftSide .1s forwards}@keyframes loadNotificationRightSide{0%{transform:translate(50%)}to{transform:translate(0)}}@keyframes loadNotificationLeftSide{0%{transform:translate(-50%)}to{transform:translate(0)}}.gui-notifications-overlay .gui-notification.gui-notification-active.gui-notification-right-side{animation:closeNotificationRightSide .2s forwards}@keyframes closeNotificationRightSide{0%{transform:translate(0)}to{transform:translate(100%)}}.gui-notifications-overlay .gui-notification.gui-notification-active.gui-notification-left-side{animation:closeNotificationLeftSide .2s forwards}@keyframes closeNotificationLeftSide{0%{transform:translate(0)}to{transform:translate(-100%)}}\\n\", \".gui-dark .gui-notification{background:#424242}\\n\", \".gui-material .gui-notification{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500}\\n\"]\n }]\n }], () => [{\n type: i0.ChangeDetectorRef\n }, {\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: FabricModalThemeService\n }, {\n type: Theme,\n decorators: [{\n type: Inject,\n args: [themeToken]\n }]\n }, {\n type: FabricNotificationService,\n decorators: [{\n type: Inject,\n args: [forwardRef(() => FabricNotificationService)]\n }]\n }], null);\n})();\nclass FabricNotificationModule {\n static ɵfac = function FabricNotificationModule_Factory(t) {\n return new (t || FabricNotificationModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricNotificationModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [FabricNotificationService],\n imports: [CommonModule, FabricCloseIconModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricNotificationModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FabricCloseIconModule],\n declarations: [FabricNotificationsOverlayComponent, FabricNotificationsContainerComponent, FabricNotificationComponent],\n providers: [FabricNotificationService]\n }]\n }], null, null);\n})();\nclass FabricMessageService extends FabricModal {\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n }\n getComponent() {\n return FabricMessageComponent;\n }\n open(text) {\n this.createAndAppend({\n afterCompCreation: () => this.afterCompCreation(text)\n });\n }\n close() {\n this.removeComponent();\n }\n afterCompCreation(text) {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.text = text;\n componentRef.instance.detectChanges();\n }\n }\n static ɵfac = function FabricMessageService_Factory(t) {\n return new (t || FabricMessageService)(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(DOCUMENT));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricMessageService,\n factory: FabricMessageService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricMessageService, [{\n type: Injectable\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ApplicationRef\n }, {\n type: i0.Injector\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }]\n }], null);\n})();\nclass FabricMessageComponent {\n messageService;\n changeDetectorRef;\n text = '';\n constructor(messageService, changeDetectorRef) {\n this.messageService = messageService;\n this.changeDetectorRef = changeDetectorRef;\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n close() {\n this.messageService.close();\n }\n static ɵfac = function FabricMessageComponent_Factory(t) {\n return new (t || FabricMessageComponent)(i0.ɵɵdirectiveInject(FabricMessageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricMessageComponent,\n selectors: [[\"gui-message\"]],\n decls: 4,\n vars: 1,\n consts: [[1, \"gui-message\"], [3, \"click\"]],\n template: function FabricMessageComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵtext(1);\n i0.ɵɵelementStart(2, \"button\", 1);\n i0.ɵɵlistener(\"click\", function FabricMessageComponent_Template_button_click_2_listener() {\n return ctx.close();\n });\n i0.ɵɵtext(3, \"X\");\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx.text, \" \");\n }\n },\n styles: [\".gui-message{left:50%;position:fixed;top:50%}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricMessageComponent, [{\n type: Component,\n args: [{\n selector: 'gui-message',\n template: `\n\t\t<div class=\"gui-message\">\n\t\t\t{{text}}\n\t\t\t<button (click)=\"close()\">X</button>\n\t\t</div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styles: [\".gui-message{left:50%;position:fixed;top:50%}\\n\"]\n }]\n }], () => [{\n type: FabricMessageService\n }, {\n type: i0.ChangeDetectorRef\n }], null);\n})();\nclass FabricMessageModule {\n static ɵfac = function FabricMessageModule_Factory(t) {\n return new (t || FabricMessageModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricMessageModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [FabricMessageService],\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricMessageModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricMessageComponent],\n providers: [FabricMessageService]\n }]\n }], null, null);\n})();\nclass FabricSvgTemplate {\n svgRef;\n svg = '';\n // todo sanitize\n ngAfterViewInit() {\n if (this.svgRef) {\n this.svgRef.nativeElement.innerHTML = this.svg;\n }\n }\n static ɵfac = function FabricSvgTemplate_Factory(t) {\n return new (t || FabricSvgTemplate)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricSvgTemplate,\n selectors: [[\"gui-svg-template\"]],\n viewQuery: function FabricSvgTemplate_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c12, 5, ElementRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgRef = _t.first);\n }\n },\n inputs: {\n svg: \"svg\"\n },\n decls: 2,\n vars: 0,\n consts: [[\"svgEl\", \"\"]],\n template: function FabricSvgTemplate_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", null, 0);\n }\n },\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSvgTemplate, [{\n type: Component,\n args: [{\n selector: 'gui-svg-template',\n template: `\n\t\t<div #svgEl></div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], null, {\n svgRef: [{\n type: ViewChild,\n args: ['svgEl', {\n read: ElementRef,\n static: false\n }]\n }],\n svg: [{\n type: Input\n }]\n });\n})();\nclass FabricTabComponent extends FabricReactive {\n renderer;\n changeDetectorRef;\n platformId;\n tabRef;\n tabItemRef;\n tabMenuList;\n menu = [];\n active = '';\n scrollActive = false;\n Direction = Direction;\n listPosition = 0;\n menuListWidth = 0;\n scrollAmount = 60;\n ACTIVE_TAB_CLASS_NAME = 'gui-active';\n constructor(renderer, changeDetectorRef, platformId) {\n super();\n this.renderer = renderer;\n this.changeDetectorRef = changeDetectorRef;\n this.platformId = platformId;\n }\n ngAfterViewInit() {\n this.toggleTab(this.active);\n this.calculateMenuWidth();\n this.showMenuArrows();\n this.checkIfMenuFitsOnResize();\n }\n toggleTab(tab) {\n this.removeActive();\n this.setActive(tab);\n }\n isSvg(item) {\n return typeof item === 'object';\n }\n getTabName(item) {\n return typeof item === 'object' ? item.name : item;\n }\n scrollTabList(scrollRightClicked) {\n if (this.tabRef) {\n const listWidth = this.tabRef.nativeElement.querySelector('.gui-tab-menu-list').offsetWidth,\n menuOverflow = this.menuListWidth - listWidth;\n if (scrollRightClicked && menuOverflow > this.listPosition) {\n this.listPosition += this.scrollAmount;\n } else if (!scrollRightClicked && this.listPosition > 0) {\n this.listPosition -= this.scrollAmount;\n }\n this.tabRef.nativeElement.querySelector('.' + 'gui-tab-menu-list').scrollLeft = this.listPosition;\n }\n }\n setActive(tab) {\n if (this.tabRef && this.tabItemRef) {\n if (typeof tab === 'object') {\n tab = tab.name;\n }\n const navMenuTabEl = this.tabRef.nativeElement.querySelector('[data-tab=\"' + tab + '\"]'),\n navTabItemEl = this.tabItemRef.nativeElement.querySelector('[data-tab=\"' + tab + '\"]');\n this.addClass(navMenuTabEl, this.ACTIVE_TAB_CLASS_NAME);\n this.addClass(navTabItemEl, this.ACTIVE_TAB_CLASS_NAME);\n }\n }\n removeActive() {\n if (this.tabRef && this.tabItemRef) {\n const navMenuTabEl = this.tabRef.nativeElement.querySelector('.' + this.ACTIVE_TAB_CLASS_NAME),\n navTabItemEl = this.tabItemRef.nativeElement.querySelector('.' + this.ACTIVE_TAB_CLASS_NAME);\n this.removeClass(navMenuTabEl, this.ACTIVE_TAB_CLASS_NAME);\n this.removeClass(navTabItemEl, this.ACTIVE_TAB_CLASS_NAME);\n }\n }\n addClass(element, name) {\n if (element) {\n this.renderer.addClass(element, name);\n }\n }\n removeClass(element, name) {\n if (element) {\n this.renderer.removeClass(element, name);\n }\n }\n checkIfMenuFitsOnResize() {\n if (isPlatformBrowser(this.platformId)) {\n fromEvent(window, 'resize').pipe(takeUntil(this.unsubscribe$)).subscribe(() => this.showMenuArrows());\n }\n }\n calculateMenuWidth() {\n if (this.tabMenuList) {\n this.menuListWidth = 0;\n this.tabMenuList.forEach(listItem => {\n this.menuListWidth += listItem.nativeElement.offsetWidth;\n });\n }\n }\n showMenuArrows() {\n if (this.tabRef) {\n const menuWidth = this.tabRef.nativeElement.querySelector('.gui-tab-menu').offsetWidth;\n this.scrollActive = menuWidth < this.menuListWidth;\n this.changeDetectorRef.detectChanges();\n }\n }\n static ɵfac = function FabricTabComponent_Factory(t) {\n return new (t || FabricTabComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PLATFORM_ID));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricTabComponent,\n selectors: [[\"gui-tab\"]],\n viewQuery: function FabricTabComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c13, 5, ElementRef);\n i0.ɵɵviewQuery(_c14, 5, ElementRef);\n i0.ɵɵviewQuery(_c15, 5, ElementRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabRef = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabItemRef = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabMenuList = _t);\n }\n },\n hostVars: 2,\n hostBindings: function FabricTabComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-tab\", true);\n }\n },\n inputs: {\n menu: \"menu\",\n active: \"active\",\n scrollActive: \"scrollActive\"\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c0,\n decls: 10,\n vars: 3,\n consts: [[\"tab\", \"\"], [\"tabItem\", \"\"], [\"tabMenuList\", \"\"], [1, \"gui-tab-menu\"], [\"class\", \"scroll-button\", 3, \"click\", 4, \"ngIf\"], [1, \"gui-tab-menu-list\"], [\"class\", \"gui-tab-menu-item\", 3, \"click\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-tab-content\"], [1, \"scroll-button\", 3, \"click\"], [3, \"direction\"], [1, \"gui-tab-menu-item\", 3, \"click\"], [4, \"ngIf\"], [3, \"svg\"]],\n template: function FabricTabComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"div\", null, 0)(2, \"div\", 3);\n i0.ɵɵtemplate(3, FabricTabComponent_div_3_Template, 2, 1, \"div\", 4);\n i0.ɵɵelementStart(4, \"div\", 5);\n i0.ɵɵtemplate(5, FabricTabComponent_div_5_Template, 4, 3, \"div\", 6);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(6, FabricTabComponent_div_6_Template, 2, 0, \"div\", 4);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"div\", 7, 1);\n i0.ɵɵprojection(9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx.scrollActive);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngForOf\", ctx.menu);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.scrollActive);\n }\n },\n dependencies: [i1.NgForOf, i1.NgIf, FabricArrowIconComponent, FabricSvgTemplate],\n styles: [\".gui-tab{font:14px Arial}.gui-tab .gui-tab-content{background:#fff;border-color:#d6d6d6;border-radius:0 0 4px 4px;border-style:solid;border-width:1px;padding:12px}.gui-tab .gui-tab-menu{display:-ms-flexbox;display:flex;margin-bottom:-1px}.gui-tab .gui-tab-menu .gui-tab-menu-list{border-radius:4px 4px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden}.gui-tab .gui-tab-menu .gui-tab-menu-item{background:#fafafa;border-color:#d6d6d6;border-radius:4px 4px 0 0;border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;display:inline-block;height:34px;margin-right:2px;padding:8px 16px;position:relative;text-align:center;white-space:nowrap}.gui-tab .gui-tab-menu .gui-tab-menu-item:nth-last-child(1){margin-right:0}.gui-tab .gui-tab-menu .gui-tab-menu-item svg{height:16px;width:16px}.gui-tab .gui-tab-menu .gui-tab-menu-item svg path{fill:#aaa}.gui-tab .gui-tab-menu .scroll-button{background:transparent;box-sizing:border-box;color:#ccc;cursor:pointer;font-weight:700;height:34px;padding:8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-tab .gui-tab-menu .scroll-button:hover svg path{stroke:#464646}.gui-tab .gui-tab-item{display:none}.gui-tab .gui-active.gui-tab-menu-item{background:#fff;border-color:#d6d6d6 #d6d6d6 #fff #d6d6d6;border-radius:4px 4px 0 0;border-style:solid;border-width:1px;color:#2185d0}.gui-tab .gui-active.gui-tab-menu-item svg path{fill:#2185d0}.gui-tab .gui-active.gui-tab-item{display:block}\\n\", \".gui-material .gui-tab{font:14px Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-tab{color:#bdbdbd}.gui-dark .gui-tab .gui-tab-content{background:#424242;border-color:#616161}.gui-dark .gui-tab .gui-tab-menu-item{background:#616161;border-color:transparent}.gui-dark .gui-tab .gui-active.gui-tab-menu-item{background:#424242;border-color:#616161 #616161 transparent #616161;color:#ce93d8}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricTabComponent, [{\n type: Component,\n args: [{\n selector: 'gui-tab',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-tab]': 'true'\n },\n template: \"<div #tab>\\n\\n\\t<div class=\\\"gui-tab-menu\\\">\\n\\n\\t\\t<div (click)=\\\"scrollTabList(false)\\\"\\n\\t\\t\\t *ngIf=\\\"scrollActive\\\"\\n\\t\\t\\t class=\\\"scroll-button\\\">\\n\\t\\t\\t<gui-arrow-icon [direction]=\\\"Direction.LEFT\\\"></gui-arrow-icon>\\n\\t\\t</div>\\n\\n\\t\\t<div class=\\\"gui-tab-menu-list\\\">\\n\\t\\t\\t<div #tabMenuList\\n\\t\\t\\t\\t (click)=\\\"toggleTab(tab)\\\"\\n\\t\\t\\t\\t *ngFor=\\\"let tab of menu\\\"\\n\\t\\t\\t\\t [attr.data-tab]=\\\"getTabName(tab)\\\"\\n\\t\\t\\t\\t class=\\\"gui-tab-menu-item\\\">\\n\\t\\t\\t\\t<span *ngIf=\\\"!isSvg(tab)\\\">{{tab}}</span>\\n\\t\\t\\t\\t<ng-container *ngIf=\\\"isSvg(tab)\\\">\\n\\t\\t\\t\\t\\t<gui-svg-template [svg]=\\\"tab.svg\\\"></gui-svg-template>\\n\\t\\t\\t\\t</ng-container>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\n\\t\\t<div (click)=\\\"scrollTabList(true)\\\"\\n\\t\\t\\t *ngIf=\\\"scrollActive\\\"\\n\\t\\t\\t class=\\\"scroll-button\\\">\\n\\t\\t\\t<gui-arrow-icon></gui-arrow-icon>\\n\\t\\t</div>\\n\\n\\t</div>\\n\\n\\t<div #tabItem\\n\\t\\t class=\\\"gui-tab-content\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\",\n styles: [\".gui-tab{font:14px Arial}.gui-tab .gui-tab-content{background:#fff;border-color:#d6d6d6;border-radius:0 0 4px 4px;border-style:solid;border-width:1px;padding:12px}.gui-tab .gui-tab-menu{display:-ms-flexbox;display:flex;margin-bottom:-1px}.gui-tab .gui-tab-menu .gui-tab-menu-list{border-radius:4px 4px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden}.gui-tab .gui-tab-menu .gui-tab-menu-item{background:#fafafa;border-color:#d6d6d6;border-radius:4px 4px 0 0;border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;display:inline-block;height:34px;margin-right:2px;padding:8px 16px;position:relative;text-align:center;white-space:nowrap}.gui-tab .gui-tab-menu .gui-tab-menu-item:nth-last-child(1){margin-right:0}.gui-tab .gui-tab-menu .gui-tab-menu-item svg{height:16px;width:16px}.gui-tab .gui-tab-menu .gui-tab-menu-item svg path{fill:#aaa}.gui-tab .gui-tab-menu .scroll-button{background:transparent;box-sizing:border-box;color:#ccc;cursor:pointer;font-weight:700;height:34px;padding:8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-tab .gui-tab-menu .scroll-button:hover svg path{stroke:#464646}.gui-tab .gui-tab-item{display:none}.gui-tab .gui-active.gui-tab-menu-item{background:#fff;border-color:#d6d6d6 #d6d6d6 #fff #d6d6d6;border-radius:4px 4px 0 0;border-style:solid;border-width:1px;color:#2185d0}.gui-tab .gui-active.gui-tab-menu-item svg path{fill:#2185d0}.gui-tab .gui-active.gui-tab-item{display:block}\\n\", \".gui-material .gui-tab{font:14px Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-tab{color:#bdbdbd}.gui-dark .gui-tab .gui-tab-content{background:#424242;border-color:#616161}.gui-dark .gui-tab .gui-tab-menu-item{background:#616161;border-color:transparent}.gui-dark .gui-tab .gui-active.gui-tab-menu-item{background:#424242;border-color:#616161 #616161 transparent #616161;color:#ce93d8}\\n\"]\n }]\n }], () => [{\n type: i0.Renderer2\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }]\n }], {\n tabRef: [{\n type: ViewChild,\n args: ['tab', {\n read: ElementRef,\n static: false\n }]\n }],\n tabItemRef: [{\n type: ViewChild,\n args: ['tabItem', {\n read: ElementRef,\n static: false\n }]\n }],\n tabMenuList: [{\n type: ViewChildren,\n args: ['tabMenuList', {\n read: ElementRef\n }]\n }],\n menu: [{\n type: Input\n }],\n active: [{\n type: Input\n }],\n scrollActive: [{\n type: Input\n }]\n });\n})();\nclass FabricTabItemComponent {\n tab = '';\n static ɵfac = function FabricTabItemComponent_Factory(t) {\n return new (t || FabricTabItemComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricTabItemComponent,\n selectors: [[\"gui-tab-item\"]],\n inputs: {\n tab: \"tab\"\n },\n ngContentSelectors: _c0,\n decls: 2,\n vars: 1,\n consts: [[1, \"gui-tab-item\"]],\n template: function FabricTabItemComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"data-tab\", ctx.tab);\n }\n },\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricTabItemComponent, [{\n type: Component,\n args: [{\n selector: 'gui-tab-item',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<div [attr.data-tab]=\\\"tab\\\"\\n\\t class=\\\"gui-tab-item\\\">\\n\\t<ng-content></ng-content>\\n</div>\\n\"\n }]\n }], null, {\n tab: [{\n type: Input\n }]\n });\n})();\nclass FabricSvgTemplateModule {\n static ɵfac = function FabricSvgTemplateModule_Factory(t) {\n return new (t || FabricSvgTemplateModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricSvgTemplateModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSvgTemplateModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricSvgTemplate],\n exports: [FabricSvgTemplate]\n }]\n }], null, null);\n})();\nclass FabricTabModule {\n static ɵfac = function FabricTabModule_Factory(t) {\n return new (t || FabricTabModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricTabModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule, FabricArrowIconModule, FabricSvgTemplateModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricTabModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FabricArrowIconModule, FabricSvgTemplateModule],\n declarations: [FabricTabComponent, FabricTabItemComponent],\n exports: [FabricTabComponent, FabricTabItemComponent]\n }]\n }], null, null);\n})();\nclass FabricTooltipComponent {\n elementRef;\n text = '';\n left = 0;\n top = 0;\n constructor(elementRef) {\n this.elementRef = elementRef;\n }\n correctPosition() {\n this.top -= this.elementRef.nativeElement.offsetHeight;\n }\n static ɵfac = function FabricTooltipComponent_Factory(t) {\n return new (t || FabricTooltipComponent)(i0.ɵɵdirectiveInject(i0.ElementRef));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricTooltipComponent,\n selectors: [[\"ng-component\"]],\n hostVars: 6,\n hostBindings: function FabricTooltipComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵstyleProp(\"left\", ctx.left, \"px\")(\"top\", ctx.top, \"px\");\n i0.ɵɵclassProp(\"gui-tooltip\", true);\n }\n },\n decls: 1,\n vars: 1,\n template: function FabricTooltipComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtext(0);\n }\n if (rf & 2) {\n i0.ɵɵtextInterpolate1(\" \", ctx.text, \" \");\n }\n },\n styles: [\".gui-tooltip{background:rgba(0,0,0,.8);border-radius:4px;border-style:solid;border-width:0;box-sizing:border-box;color:#fff;display:block;font:14px Arial;font-weight:400;padding:8px 12px;position:absolute;-ms-transform:translateX(-50%);transform:translate(-50%);vertical-align:middle;z-index:10}.gui-tooltip:after{border-color:#333 transparent transparent transparent;border-style:solid;border-width:5px;content:\\\"\\\";left:50%;margin-left:-5px;position:absolute;top:100%}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricTooltipComponent, [{\n type: Component,\n args: [{\n template: `\n\t\t{{text}}\n\t`,\n host: {\n '[class.gui-tooltip]': 'true',\n '[style.left.px]': 'left',\n '[style.top.px]': 'top'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styles: [\".gui-tooltip{background:rgba(0,0,0,.8);border-radius:4px;border-style:solid;border-width:0;box-sizing:border-box;color:#fff;display:block;font:14px Arial;font-weight:400;padding:8px 12px;position:absolute;-ms-transform:translateX(-50%);transform:translate(-50%);vertical-align:middle;z-index:10}.gui-tooltip:after{border-color:#333 transparent transparent transparent;border-style:solid;border-width:5px;content:\\\"\\\";left:50%;margin-left:-5px;position:absolute;top:100%}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }], null);\n})();\nclass FabricTooltipDirective extends FabricReactive {\n componentFactoryResolver;\n injector;\n elementRef;\n applicationRef;\n document;\n platformId;\n static tooltipOffset = 8;\n text = '';\n tooltipRef = null;\n tooltipTopPosition;\n tooltipLeftPosition;\n constructor(componentFactoryResolver, injector, elementRef, applicationRef, document, platformId) {\n super();\n this.componentFactoryResolver = componentFactoryResolver;\n this.injector = injector;\n this.elementRef = elementRef;\n this.applicationRef = applicationRef;\n this.document = document;\n this.platformId = platformId;\n }\n ngOnInit() {\n const open$ = fromEvent(this.elementRef.nativeElement, 'mouseenter'),\n close$ = fromEvent(this.elementRef.nativeElement, 'mouseleave');\n open$.pipe(takeUntil(this.unsubscribe$)).subscribe(() => this.show());\n close$.pipe(takeUntil(this.unsubscribe$)).subscribe(() => {\n if (this.tooltipRef) {\n this.hide();\n }\n });\n }\n show() {\n const tooltipRef = this.componentFactoryResolver.resolveComponentFactory(FabricTooltipComponent).create(this.injector);\n tooltipRef.instance.text = this.text;\n tooltipRef.changeDetectorRef.detectChanges();\n const domElement = tooltipRef.hostView.rootNodes[0];\n this.document.body.appendChild(domElement);\n this.tooltipRef = tooltipRef;\n this.calculateCords();\n this.tooltipRef.instance.correctPosition();\n this.tooltipRef.changeDetectorRef.detectChanges();\n }\n hide() {\n if (this.tooltipRef) {\n this.applicationRef.detachView(this.tooltipRef.hostView);\n this.tooltipRef.destroy();\n this.tooltipRef = null;\n }\n }\n calculateCords() {\n if (this.tooltipRef) {\n const elementRef = this.elementRef.nativeElement,\n elementRect = elementRef.getBoundingClientRect(),\n elementBottom = elementRect.bottom,\n elementLeft = elementRect.left;\n if (isPlatformBrowser(this.platformId)) {\n this.tooltipTopPosition = elementBottom + window.scrollY - elementRef.offsetHeight - FabricTooltipDirective.tooltipOffset;\n this.tooltipLeftPosition = window.scrollX + elementLeft + elementRef.offsetWidth / 2;\n if (this.tooltipTopPosition) {\n this.tooltipRef.instance.top = this.tooltipTopPosition;\n }\n if (this.tooltipLeftPosition) {\n this.tooltipRef.instance.left = this.tooltipLeftPosition;\n }\n this.tooltipRef.changeDetectorRef.detectChanges();\n }\n }\n }\n static ɵfac = function FabricTooltipDirective_Factory(t) {\n return new (t || FabricTooltipDirective)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ApplicationRef), i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(PLATFORM_ID));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: FabricTooltipDirective,\n selectors: [[\"\", \"gui-tooltip\", \"\"]],\n inputs: {\n text: [i0.ɵɵInputFlags.None, \"gui-tooltip\", \"text\"]\n },\n exportAs: [\"guiTooltip\"],\n features: [i0.ɵɵInheritDefinitionFeature]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricTooltipDirective, [{\n type: Directive,\n args: [{\n selector: '[gui-tooltip]',\n exportAs: 'guiTooltip'\n }]\n }], () => [{\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.Injector\n }, {\n type: i0.ElementRef\n }, {\n type: i0.ApplicationRef\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }]\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }]\n }], {\n text: [{\n type: Input,\n args: ['gui-tooltip']\n }]\n });\n})();\nclass FabricTooltipModule {\n static ɵfac = function FabricTooltipModule_Factory(t) {\n return new (t || FabricTooltipModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricTooltipModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricTooltipModule, [{\n type: NgModule,\n args: [{\n imports: [],\n declarations: [FabricTooltipDirective, FabricTooltipComponent],\n exports: [FabricTooltipDirective, FabricTooltipComponent]\n }]\n }], null, null);\n})();\nclass SelectOptionsCords {\n window;\n static BORDER_WIDTH = 1;\n verticalPosition = 0;\n horizontalPosition = 0;\n canOpenUpward = false;\n constructor(element, selectContainerGeometry, window) {\n this.window = window;\n this.calculateCords(element, selectContainerGeometry);\n }\n getVerticalPosition() {\n return this.verticalPosition;\n }\n getHorizontalPosition() {\n return this.horizontalPosition;\n }\n getCanOpenUpward() {\n return this.canOpenUpward;\n }\n calculateCords(element, selectOptionsGeometry) {\n const elementRect = element.nativeElement.getBoundingClientRect(),\n elementBottom = this.window.pageYOffset + elementRect.bottom,\n elementLeft = this.window.pageXOffset + elementRect.left;\n this.horizontalPosition = elementLeft;\n this.verticalPosition = elementBottom - SelectOptionsCords.BORDER_WIDTH;\n this.calculateDirection(selectOptionsGeometry, element);\n }\n calculateDirection(selectOptionsGeometry, element) {\n const windowHeight = this.window.innerHeight + this.window.pageYOffset,\n elementHeight = element.nativeElement.offsetHeight,\n selectOptionsHeight = selectOptionsGeometry.getHeight();\n const selectOptionsDoesNotFitVertically = windowHeight - this.verticalPosition - selectOptionsHeight < 0;\n if (selectOptionsDoesNotFitVertically) {\n this.canOpenUpward = true;\n this.verticalPosition -= selectOptionsHeight + elementHeight - SelectOptionsCords.BORDER_WIDTH;\n }\n }\n}\nclass SelectOptionsGeometry {\n selectOptionsGeometry;\n constructor(selectOptionsGeometry) {\n this.selectOptionsGeometry = selectOptionsGeometry;\n }\n getHeight() {\n return this.selectOptionsGeometry.nativeElement.querySelector('.gui-options-list').offsetHeight;\n }\n getWidth() {\n return this.selectOptionsGeometry.nativeElement.querySelector('.gui-options-list').offsetWidth;\n }\n}\nclass SelectOptionsGeometryService {\n platformId;\n selectContainerGeometry;\n selectOptionsCords$ = new ReplaySubject(1);\n constructor(platformId) {\n this.platformId = platformId;\n }\n onSelectOptionsCords() {\n return this.selectOptionsCords$.asObservable();\n }\n setGeometry(selectContainerRef) {\n this.selectContainerGeometry = new SelectOptionsGeometry(selectContainerRef);\n }\n nextCords(element) {\n if (isPlatformBrowser(this.platformId) && this.selectContainerGeometry) {\n const selectOptionsCords = new SelectOptionsCords(element, this.selectContainerGeometry, window);\n this.selectOptionsCords$.next(selectOptionsCords);\n }\n }\n static ɵfac = function SelectOptionsGeometryService_Factory(t) {\n return new (t || SelectOptionsGeometryService)(i0.ɵɵinject(PLATFORM_ID));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SelectOptionsGeometryService,\n factory: SelectOptionsGeometryService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SelectOptionsGeometryService, [{\n type: Injectable\n }], () => [{\n type: undefined,\n decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }]\n }], null);\n})();\nclass FabricSelectedOptionsRepository {\n selectedOption$ = new ReplaySubject(1);\n onSelectedOption() {\n return this.selectedOption$.asObservable();\n }\n next(option) {\n this.selectedOption$.next(option);\n }\n static ɵfac = function FabricSelectedOptionsRepository_Factory(t) {\n return new (t || FabricSelectedOptionsRepository)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FabricSelectedOptionsRepository,\n factory: FabricSelectedOptionsRepository.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSelectedOptionsRepository, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricSelectOptionsComponent extends FabricThemedComponent {\n selectOptionsGeometryService;\n selectService;\n changeDetectorRef;\n optionListRef;\n options = [];\n optionsContainerLeftAttribute = 0;\n optionsContainerTopAttribute = 0;\n width = 100;\n selectedOption;\n canOpenUpward = false;\n constructor(selectOptionsGeometryService, selectService, changeDetectorRef, elementRef, renderer, themeService) {\n super(elementRef, renderer, themeService);\n this.selectOptionsGeometryService = selectOptionsGeometryService;\n this.selectService = selectService;\n this.changeDetectorRef = changeDetectorRef;\n }\n ngOnInit() {\n this.selectOptionsGeometryService.onSelectOptionsCords().pipe(takeUntil(this.unsubscribe$)).subscribe(cords => {\n this.optionsContainerTopAttribute = cords.getVerticalPosition();\n this.optionsContainerLeftAttribute = cords.getHorizontalPosition();\n this.canOpenUpward = cords.getCanOpenUpward();\n this.changeDetectorRef.detectChanges();\n });\n this.selectService.onSelectedOption().pipe(takeUntil(this.unsubscribe$)).subscribe(selectedOption => {\n this.selectedOption = selectedOption;\n this.changeDetectorRef.detectChanges();\n });\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.initOpenAnimation();\n }\n getElementRef() {\n return super.getElementRef();\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n selectOption(option) {\n this.selectService.next(option);\n }\n isOptionSelected(option) {\n return this.selectedOption?.name === option.name;\n }\n getOptionValue(option) {\n return option.value ? option.value : option.name;\n }\n initOpenAnimation() {\n if (this.optionListRef) {\n const optionsEl = this.optionListRef.nativeElement;\n this.getRenderer().addClass(optionsEl, 'gui-options-opened');\n }\n }\n static ɵfac = function FabricSelectOptionsComponent_Factory(t) {\n return new (t || FabricSelectOptionsComponent)(i0.ɵɵdirectiveInject(SelectOptionsGeometryService), i0.ɵɵdirectiveInject(FabricSelectedOptionsRepository), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FabricModalThemeService));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricSelectOptionsComponent,\n selectors: [[\"ng-component\"]],\n viewQuery: function FabricSelectOptionsComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c16, 5, ElementRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.optionListRef = _t.first);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 3,\n vars: 9,\n consts: [[\"optionList\", \"\"], [1, \"gui-options-list\"], [\"class\", \"gui-option\", 3, \"gui-option-selected\", \"width\", \"click\", 4, \"ngFor\", \"ngForOf\"], [1, \"gui-option\", 3, \"click\"]],\n template: function FabricSelectOptionsComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 1, 0);\n i0.ɵɵtemplate(2, FabricSelectOptionsComponent_div_2_Template, 2, 5, \"div\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"left\", ctx.optionsContainerLeftAttribute, \"px\")(\"top\", ctx.optionsContainerTopAttribute, \"px\");\n i0.ɵɵclassProp(\"gui-upward\", ctx.canOpenUpward)(\"gui-downward\", !ctx.canOpenUpward);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngForOf\", ctx.options);\n }\n },\n dependencies: [i1.NgForOf],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSelectOptionsComponent, [{\n type: Component,\n args: [{\n template: `\n\t\t<div #optionList\n\t\t\t [class.gui-upward]=\"canOpenUpward\"\n\t\t\t [class.gui-downward]=\"!canOpenUpward\"\n\t\t\t [style.left.px]=\"optionsContainerLeftAttribute\"\n\t\t\t [style.top.px]=\"optionsContainerTopAttribute\"\n\t\t\t class=\"gui-options-list\">\n\n\t\t\t<div *ngFor=\"let option of options\"\n\t\t\t\t [class.gui-option-selected]=\"isOptionSelected(option)\"\n\t\t\t\t [style.width.px]=\"width\"\n\t\t\t\t (click)=\"selectOption(option)\"\n\t\t\t\t class=\"gui-option\">\n\t\t\t\t{{getOptionValue(option)}}\n\t\t\t</div>\n\t\t</div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], () => [{\n type: SelectOptionsGeometryService\n }, {\n type: FabricSelectedOptionsRepository\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: FabricModalThemeService\n }], {\n optionListRef: [{\n type: ViewChild,\n args: ['optionList', {\n read: ElementRef,\n static: false\n }]\n }]\n });\n})();\nclass SelectOptionModalService extends FabricModal {\n selectOptionsGeometryService;\n constructor(selectOptionsGeometryService, componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n this.selectOptionsGeometryService = selectOptionsGeometryService;\n }\n getComponent() {\n return FabricSelectOptionsComponent;\n }\n open(options, width) {\n this.createAndAppend({\n afterCompCreation: () => this.afterCompCreation(options, width)\n });\n }\n closeOptions() {\n this.removeComponent();\n }\n afterCompCreation(options, width) {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.options = options;\n componentRef.instance.width = width;\n componentRef.instance.detectChanges();\n this.selectOptionsGeometryService.setGeometry(componentRef.instance.getElementRef());\n componentRef.instance.detectChanges();\n }\n }\n static ɵfac = function SelectOptionModalService_Factory(t) {\n return new (t || SelectOptionModalService)(i0.ɵɵinject(SelectOptionsGeometryService), i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(DOCUMENT));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SelectOptionModalService,\n factory: SelectOptionModalService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SelectOptionModalService, [{\n type: Injectable\n }], () => [{\n type: SelectOptionsGeometryService\n }, {\n type: i0.ComponentFactoryResolver\n }, {\n type: i0.ApplicationRef\n }, {\n type: i0.Injector\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }]\n }], null);\n})();\nclass FabricSelectComponent extends FabricReactive {\n selectService;\n selectOptionsGeometryService;\n selectOptionModalService;\n changeDetectorRef;\n platformId;\n elementRef;\n renderer;\n containerRef;\n options = [];\n placeholder = '...';\n selected;\n width = 100;\n disabled = false;\n optionChanged = new EventEmitter();\n selectedOption;\n containerText;\n scrollListenerFn;\n doNotEmitValues = false;\n opened = false;\n constructor(selectService, selectOptionsGeometryService, selectOptionModalService, changeDetectorRef, platformId, elementRef, renderer) {\n super();\n this.selectService = selectService;\n this.selectOptionsGeometryService = selectOptionsGeometryService;\n this.selectOptionModalService = selectOptionModalService;\n this.changeDetectorRef = changeDetectorRef;\n this.platformId = platformId;\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n if (changes['placeholder']) {\n this.containerText = this.placeholder;\n }\n if (changes['selected']) {\n if (this.selected) {\n this.tryToSelect(this.selected);\n }\n }\n }\n ngOnInit() {\n this.selectService.onSelectedOption().pipe(takeUntil(this.unsubscribe$)).subscribe(selectedOption => {\n this.emitSelectedOption(selectedOption);\n this.selectedOption = selectedOption;\n this.containerText = selectedOption.value ?? '';\n this.doNotEmitValues = false;\n this.changeDetectorRef.detectChanges();\n });\n this.selectOptionsGeometryService.onSelectOptionsCords().pipe(takeUntil(this.unsubscribe$)).subscribe(cords => {\n if (cords.getCanOpenUpward()) {\n this.openUpward();\n } else {\n this.openDownward();\n }\n });\n }\n tryToOpen(event) {\n if (this.isContainerDisabled(event)) {\n event.stopPropagation();\n } else {\n this.open(this.options, this.width);\n this.toggleOptions(!this.opened);\n this.changeDetectorRef.detectChanges();\n }\n }\n clickOutside(event) {\n if (this.isContainerClicked(event)) {\n this.toggleOptions(false);\n }\n }\n toggleOptions(opened) {\n this.opened = opened;\n this.maintainOptionsListPosition();\n if (!this.opened) {\n this.closeOptions();\n }\n }\n isOptionSelected(option) {\n return this.selectedOption?.name === option.name;\n }\n getOptionValue(option) {\n if (option) {\n return option.value ? option.value : option.name;\n }\n return '';\n }\n open(options, width) {\n if (this.containerRef) {\n this.closeSelect();\n this.selectOptionModalService.open(options, width);\n this.selectOptionsGeometryService.nextCords(this.containerRef);\n }\n }\n tryToSelect(option) {\n const canSelect = this.selectedOption ? option.name !== this.selectedOption.name : true;\n if (canSelect) {\n this.doNotEmitValues = true;\n this.selectService.next(option);\n this.selectedOption = option;\n this.containerText = this.getOptionValue(option);\n }\n }\n maintainOptionsListPosition() {\n if (isPlatformBrowser(this.platformId)) {\n if (this.opened) {\n this.scrollListenerFn = this.renderer.listen('window', 'scroll', () => {\n if (this.containerRef) {\n this.selectOptionsGeometryService.nextCords(this.containerRef);\n }\n });\n } else {\n if (this.scrollListenerFn) {\n this.scrollListenerFn();\n }\n }\n }\n }\n closeSelect() {\n this.selectOptionModalService.closeOptions();\n }\n emitSelectedOption(option) {\n if (!this.doNotEmitValues) {\n if (!this.isOptionSelected(option)) {\n this.optionChanged.emit(option);\n }\n }\n }\n openDownward() {\n this.addClass('gui-options-opened');\n this.addClass('gui-downward');\n this.removeClass('gui-upward');\n }\n openUpward() {\n this.addClass('gui-options-opened');\n this.addClass('gui-upward');\n this.removeClass('gui-downward');\n }\n closeOptions() {\n const optionsElHasOpenClass = this.elementRef.nativeElement.classList.contains('gui-options-opened');\n if (optionsElHasOpenClass) {\n this.removeClass('gui-options-opened');\n this.closeSelect();\n }\n }\n isContainerClicked(event) {\n return !this.elementRef.nativeElement.contains(event.target);\n }\n isContainerDisabled(event) {\n return event.target.classList.contains('gui-disabled');\n }\n addClass(className) {\n this.renderer.addClass(this.elementRef.nativeElement, className);\n }\n removeClass(className) {\n this.renderer.removeClass(this.elementRef.nativeElement, className);\n }\n static ɵfac = function FabricSelectComponent_Factory(t) {\n return new (t || FabricSelectComponent)(i0.ɵɵdirectiveInject(FabricSelectedOptionsRepository), i0.ɵɵdirectiveInject(SelectOptionsGeometryService), i0.ɵɵdirectiveInject(SelectOptionModalService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PLATFORM_ID), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricSelectComponent,\n selectors: [[\"gui-select\"]],\n viewQuery: function FabricSelectComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c8, 5, ElementRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerRef = _t.first);\n }\n },\n hostVars: 2,\n hostBindings: function FabricSelectComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-select\", true);\n }\n },\n inputs: {\n options: \"options\",\n placeholder: \"placeholder\",\n selected: \"selected\",\n width: \"width\",\n disabled: \"disabled\"\n },\n outputs: {\n optionChanged: \"optionChanged\"\n },\n features: [i0.ɵɵProvidersFeature([FabricSelectedOptionsRepository, SelectOptionsGeometryService, SelectOptionModalService]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n decls: 5,\n vars: 5,\n consts: [[\"container\", \"\"], [1, \"gui-select-container\", 3, \"click\"], [1, \"gui-select-value\"], [1, \"gui-select-arrow\"]],\n template: function FabricSelectComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 1, 0);\n i0.ɵɵlistener(\"click\", function FabricSelectComponent_Template_div_click_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.tryToOpen($event));\n })(\"click\", function FabricSelectComponent_Template_div_click_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.clickOutside($event));\n }, false, i0.ɵɵresolveDocument);\n i0.ɵɵelementStart(2, \"div\", 2);\n i0.ɵɵtext(3);\n i0.ɵɵelementEnd();\n i0.ɵɵelement(4, \"span\", 3);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"width\", ctx.width, \"px\");\n i0.ɵɵclassProp(\"gui-disabled\", ctx.disabled);\n i0.ɵɵadvance(3);\n i0.ɵɵtextInterpolate1(\" \", ctx.containerText, \" \");\n }\n },\n styles: [\".gui-select .gui-select-container{min-height:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:content-box;color:#333;cursor:pointer;display:inline-block;font:14px Arial;padding:8px 24px 8px 12px;position:relative}.gui-select .gui-select-container:hover{border-color:#999}.gui-select .gui-select-container .gui-select-arrow{border:4px solid transparent;border-color:#595959 transparent transparent transparent;height:0;margin:8px;position:absolute;right:5px;top:5px;width:0}.gui-select.gui-options-opened .gui-select-container{border-color:#6fb4e8 #6fb4e8 transparent #6fb4e8;border-radius:4px 4px 0 0;border-width:1px}.gui-select.gui-downward .gui-options-list{border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-top:none;border-width:1px}.gui-select.gui-downward .gui-option{border-color:#e6e6e6;border-style:solid;border-width:1px 0 0 0}.gui-select.gui-upward .gui-select-container{padding:8px 12px 8px 24px;-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select.gui-upward .gui-select-container .gui-select-value{-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select.gui-upward .gui-select-container .gui-select-arrow{border:4px solid transparent;border-color:transparent transparent #595959 transparent;bottom:5px;left:5px;top:auto}.gui-select.gui-upward .gui-options-list{border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-top:none;border-width:1px}.gui-select.gui-upward .gui-option{border-color:#e6e6e6;border-style:solid;border-width:0 0 1px 0;-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select .gui-disabled{color:#ccc;pointer-events:none}.gui-select .gui-disabled .gui-select-arrow{border-color:#cccccc transparent transparent transparent}.gui-select .initAnimationDisabled.gui-options-list{display:none}.gui-options-list{background:#fff;border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px 1px;overflow:hidden;padding:0;position:absolute;z-index:1000}.gui-options-list .gui-option{box-sizing:content-box;cursor:pointer;font-size:14px;list-style-type:none;padding:8px 24px 8px 12px}.gui-options-list .gui-option:hover{background:#dcdcdc}.gui-options-list .gui-option-selected{background:#e6e6e6;font-weight:700}.gui-options-list.gui-upward{animation:loadUpward .2s forwards;border-bottom:none;border-color:#6fb4e8;border-radius:4px 4px 0 0;border-style:solid;border-width:1px}@keyframes loadUpward{0%{transform:translateY(50%) scaleY(0)}to{transform:translateY(0) scaleY(1)}}.gui-options-list.gui-downward{animation:loadDownward .2s forwards;border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px 1px}@keyframes loadDownward{0%{transform:translateY(-50%) scaleY(0)}to{transform:translateY(0) scaleY(1)}}\\n\", \".gui-material .gui-select .gui-select-container,.gui-material .gui-options-list .gui-option{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-select .gui-select-container{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-select .gui-select-container:hover{border-color:#ce93d8}.gui-dark .gui-select .gui-select-container .gui-select-arrow{border-color:#ce93d8 transparent transparent transparent}.gui-dark .gui-select.gui-options-opened .gui-select-container{border-color:#ce93d8}.gui-dark .gui-select.gui-upward .gui-select-container .gui-select-arrow{border-color:transparent transparent #ce93d8 transparent}.gui-dark .gui-select .gui-disabled{opacity:.36}.gui-dark .gui-options-list{border-color:#ce93d8}.gui-dark .gui-options-list .gui-option{background:#424242;border-color:#757575;color:#bdbdbd}.gui-dark .gui-options-list .gui-option:hover{background:#616161}.gui-dark .gui-options-list .gui-option-selected{background:#757575}\\n\", \".gui-light .gui-select .gui-select-container{background:#fff;color:#333;font-family:Roboto,Helvetica Neue,sans-serif}.gui-light .gui-options-list .gui-option:hover{background:#f6f6f5}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSelectComponent, [{\n type: Component,\n args: [{\n selector: 'gui-select',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-select]': 'true'\n },\n providers: [FabricSelectedOptionsRepository, SelectOptionsGeometryService, SelectOptionModalService],\n template: \"<div #container\\n\\t (click)=\\\"tryToOpen($event)\\\"\\n\\t (document:click)=\\\"clickOutside($event)\\\"\\n\\t [class.gui-disabled]=\\\"disabled\\\"\\n\\t [style.width.px]=\\\"width\\\"\\n\\t class=\\\"gui-select-container\\\">\\n\\n\\t<div class=\\\"gui-select-value\\\">\\n\\t\\t{{containerText}}\\n\\t</div>\\n\\n\\t<span class=\\\"gui-select-arrow\\\"></span>\\n\\n</div>\\n\",\n styles: [\".gui-select .gui-select-container{min-height:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:content-box;color:#333;cursor:pointer;display:inline-block;font:14px Arial;padding:8px 24px 8px 12px;position:relative}.gui-select .gui-select-container:hover{border-color:#999}.gui-select .gui-select-container .gui-select-arrow{border:4px solid transparent;border-color:#595959 transparent transparent transparent;height:0;margin:8px;position:absolute;right:5px;top:5px;width:0}.gui-select.gui-options-opened .gui-select-container{border-color:#6fb4e8 #6fb4e8 transparent #6fb4e8;border-radius:4px 4px 0 0;border-width:1px}.gui-select.gui-downward .gui-options-list{border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-top:none;border-width:1px}.gui-select.gui-downward .gui-option{border-color:#e6e6e6;border-style:solid;border-width:1px 0 0 0}.gui-select.gui-upward .gui-select-container{padding:8px 12px 8px 24px;-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select.gui-upward .gui-select-container .gui-select-value{-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select.gui-upward .gui-select-container .gui-select-arrow{border:4px solid transparent;border-color:transparent transparent #595959 transparent;bottom:5px;left:5px;top:auto}.gui-select.gui-upward .gui-options-list{border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-top:none;border-width:1px}.gui-select.gui-upward .gui-option{border-color:#e6e6e6;border-style:solid;border-width:0 0 1px 0;-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select .gui-disabled{color:#ccc;pointer-events:none}.gui-select .gui-disabled .gui-select-arrow{border-color:#cccccc transparent transparent transparent}.gui-select .initAnimationDisabled.gui-options-list{display:none}.gui-options-list{background:#fff;border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px 1px;overflow:hidden;padding:0;position:absolute;z-index:1000}.gui-options-list .gui-option{box-sizing:content-box;cursor:pointer;font-size:14px;list-style-type:none;padding:8px 24px 8px 12px}.gui-options-list .gui-option:hover{background:#dcdcdc}.gui-options-list .gui-option-selected{background:#e6e6e6;font-weight:700}.gui-options-list.gui-upward{animation:loadUpward .2s forwards;border-bottom:none;border-color:#6fb4e8;border-radius:4px 4px 0 0;border-style:solid;border-width:1px}@keyframes loadUpward{0%{transform:translateY(50%) scaleY(0)}to{transform:translateY(0) scaleY(1)}}.gui-options-list.gui-downward{animation:loadDownward .2s forwards;border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px 1px}@keyframes loadDownward{0%{transform:translateY(-50%) scaleY(0)}to{transform:translateY(0) scaleY(1)}}\\n\", \".gui-material .gui-select .gui-select-container,.gui-material .gui-options-list .gui-option{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-select .gui-select-container{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-select .gui-select-container:hover{border-color:#ce93d8}.gui-dark .gui-select .gui-select-container .gui-select-arrow{border-color:#ce93d8 transparent transparent transparent}.gui-dark .gui-select.gui-options-opened .gui-select-container{border-color:#ce93d8}.gui-dark .gui-select.gui-upward .gui-select-container .gui-select-arrow{border-color:transparent transparent #ce93d8 transparent}.gui-dark .gui-select .gui-disabled{opacity:.36}.gui-dark .gui-options-list{border-color:#ce93d8}.gui-dark .gui-options-list .gui-option{background:#424242;border-color:#757575;color:#bdbdbd}.gui-dark .gui-options-list .gui-option:hover{background:#616161}.gui-dark .gui-options-list .gui-option-selected{background:#757575}\\n\", \".gui-light .gui-select .gui-select-container{background:#fff;color:#333;font-family:Roboto,Helvetica Neue,sans-serif}.gui-light .gui-options-list .gui-option:hover{background:#f6f6f5}\\n\"]\n }]\n }], () => [{\n type: FabricSelectedOptionsRepository\n }, {\n type: SelectOptionsGeometryService\n }, {\n type: SelectOptionModalService\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }]\n }, {\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n containerRef: [{\n type: ViewChild,\n args: ['container', {\n read: ElementRef,\n static: false\n }]\n }],\n options: [{\n type: Input\n }],\n placeholder: [{\n type: Input\n }],\n selected: [{\n type: Input\n }],\n width: [{\n type: Input\n }],\n disabled: [{\n type: Input\n }],\n optionChanged: [{\n type: Output\n }]\n });\n})();\nclass FabricSelectModule {\n static ɵfac = function FabricSelectModule_Factory(t) {\n return new (t || FabricSelectModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricSelectModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSelectModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricSelectComponent, FabricSelectOptionsComponent],\n exports: [FabricSelectComponent]\n }]\n }], null, null);\n})();\nclass FabricSliderComponent {\n toggled = false;\n changed = new EventEmitter();\n toggle(event) {\n event.stopPropagation();\n this.toggled = !this.toggled;\n this.changed.emit(this.toggled);\n }\n static ɵfac = function FabricSliderComponent_Factory(t) {\n return new (t || FabricSliderComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricSliderComponent,\n selectors: [[\"gui-slider\"]],\n inputs: {\n toggled: \"toggled\"\n },\n outputs: {\n changed: \"changed\"\n },\n decls: 2,\n vars: 2,\n consts: [[1, \"gui-slider\", 3, \"click\"], [1, \"gui-slider-indicator\"]],\n template: function FabricSliderComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵlistener(\"click\", function FabricSliderComponent_Template_div_click_0_listener($event) {\n return ctx.toggle($event);\n });\n i0.ɵɵelement(1, \"span\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵclassProp(\"is-toggled\", ctx.toggled);\n }\n },\n styles: [\".gui-slider{background:#cccccc;border-radius:4px;cursor:pointer;display:block;height:12px;position:relative;width:32px}.gui-slider .gui-slider-indicator{background:#2185d0;border-radius:50%;box-sizing:border-box;height:16px;overflow:hidden;position:absolute;top:-2px;-ms-transform:translateX(-5.3333333333px);transform:translate(-5.3333333333px);transition:all .2s ease-in-out;width:16px}.gui-slider .gui-slider-indicator.is-toggled{-ms-transform:translateX(calc(100% + 16px / 3));transform:translate(calc(100% + 16px / 3))}\\n\", \".gui-dark .gui-slider{background:#424242}.gui-dark .gui-slider .gui-slider-indicator{background:#ce93d8}\\n\", \".gui-material .gui-slider .gui-slider-indicator{background:#6200ee}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSliderComponent, [{\n type: Component,\n args: [{\n selector: 'gui-slider',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: \"<div (click)=\\\"toggle($event)\\\"\\n\\t class=\\\"gui-slider\\\">\\n\\t<span [class.is-toggled]=\\\"toggled\\\"\\n\\t\\t class=\\\"gui-slider-indicator\\\"></span>\\n</div>\\n\",\n styles: [\".gui-slider{background:#cccccc;border-radius:4px;cursor:pointer;display:block;height:12px;position:relative;width:32px}.gui-slider .gui-slider-indicator{background:#2185d0;border-radius:50%;box-sizing:border-box;height:16px;overflow:hidden;position:absolute;top:-2px;-ms-transform:translateX(-5.3333333333px);transform:translate(-5.3333333333px);transition:all .2s ease-in-out;width:16px}.gui-slider .gui-slider-indicator.is-toggled{-ms-transform:translateX(calc(100% + 16px / 3));transform:translate(calc(100% + 16px / 3))}\\n\", \".gui-dark .gui-slider{background:#424242}.gui-dark .gui-slider .gui-slider-indicator{background:#ce93d8}\\n\", \".gui-material .gui-slider .gui-slider-indicator{background:#6200ee}\\n\"]\n }]\n }], null, {\n toggled: [{\n type: Input\n }],\n changed: [{\n type: Output\n }]\n });\n})();\nclass FabricSliderModule {\n static ɵfac = function FabricSliderModule_Factory(t) {\n return new (t || FabricSliderModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricSliderModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSliderModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricSliderComponent],\n exports: [FabricSliderComponent]\n }]\n }], null, null);\n})();\nclass FabricSpinnerComponent extends AbstractSpinner {\n color = '';\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n ngOnInit() {\n super.ngOnInit();\n }\n static ɵfac = function FabricSpinnerComponent_Factory(t) {\n return new (t || FabricSpinnerComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricSpinnerComponent,\n selectors: [[\"gui-spinner\"]],\n hostVars: 2,\n hostBindings: function FabricSpinnerComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-spinner\", true);\n }\n },\n inputs: {\n color: \"color\"\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 5,\n vars: 30,\n consts: [[1, \"gui-spinner\"], [1, \"circle-outer\"], [\"cx\", \"50%\", \"cy\", \"50%\"], [1, \"circle-inner\"]],\n template: function FabricSpinnerComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(1, \"svg\", 1);\n i0.ɵɵelement(2, \"circle\", 2);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"svg\", 3);\n i0.ɵɵelement(4, \"circle\", 2);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"height\", ctx.circleSize, \"px\")(\"width\", ctx.circleSize, \"px\");\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"height\", ctx.circleSize, \"px\")(\"width\", ctx.circleSize, \"px\");\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"stroke-dasharray\", ctx.croppedCircle)(\"stroke-dashoffset\", ctx.circumference)(\"stroke-width\", ctx.width)(\"stroke\", ctx.color);\n i0.ɵɵattribute(\"r\", ctx.r);\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"height\", ctx.circleSize, \"px\")(\"width\", ctx.circleSize, \"px\");\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"stroke-dasharray\", ctx.croppedCircle)(\"stroke-dashoffset\", ctx.circumference)(\"stroke-width\", ctx.width)(\"stroke\", ctx.color);\n i0.ɵɵattribute(\"r\", ctx.r);\n }\n },\n styles: [\"@keyframes gui-spin{0%{transform:rotate(-90deg)}to{transform:rotate(270deg)}}@keyframes gui-spin-reverse{0%{transform:rotate(-90deg) scale(.8)}to{transform:rotate(270deg) scale(.8)}}.gui-spinner{display:inline-block;margin:4px;position:relative;-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.gui-spinner circle{fill:transparent;stroke:#999}.gui-spinner svg{position:absolute}.gui-spinner .circle-inner{animation:gui-spin-reverse 2s infinite linear forwards reverse}.gui-spinner .circle-outer{animation:gui-spin 2s infinite linear forwards}.gui-primary .gui-spinner.gui-spinner circle{stroke:#2185d0}.gui-secondary .gui-spinner.gui-spinner circle{stroke:#3cb371}\\n\", \".gui-material .gui-spinner circle{stroke:#3949ab}.gui-material .gui-primary .gui-spinner circle{stroke:#6200ee}.gui-material .gui-secondary .gui-spinner circle{stroke:#0097a7}\\n\", \".gui-dark .gui-spinner circle{stroke:#424242}.gui-dark .gui-primary .gui-spinner circle{stroke:#ce93d8}.gui-dark .gui-secondary .gui-spinner circle{stroke:#80cbc4}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSpinnerComponent, [{\n type: Component,\n args: [{\n selector: 'gui-spinner',\n host: {\n '[class.gui-spinner]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: \"<div\\n\\t[style.height.px]=\\\"circleSize\\\"\\n\\t[style.width.px]=\\\"circleSize\\\"\\n\\tclass=\\\"gui-spinner\\\">\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-outer\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-inner\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n</div>\\n\",\n styles: [\"@keyframes gui-spin{0%{transform:rotate(-90deg)}to{transform:rotate(270deg)}}@keyframes gui-spin-reverse{0%{transform:rotate(-90deg) scale(.8)}to{transform:rotate(270deg) scale(.8)}}.gui-spinner{display:inline-block;margin:4px;position:relative;-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.gui-spinner circle{fill:transparent;stroke:#999}.gui-spinner svg{position:absolute}.gui-spinner .circle-inner{animation:gui-spin-reverse 2s infinite linear forwards reverse}.gui-spinner .circle-outer{animation:gui-spin 2s infinite linear forwards}.gui-primary .gui-spinner.gui-spinner circle{stroke:#2185d0}.gui-secondary .gui-spinner.gui-spinner circle{stroke:#3cb371}\\n\", \".gui-material .gui-spinner circle{stroke:#3949ab}.gui-material .gui-primary .gui-spinner circle{stroke:#6200ee}.gui-material .gui-secondary .gui-spinner circle{stroke:#0097a7}\\n\", \".gui-dark .gui-spinner circle{stroke:#424242}.gui-dark .gui-primary .gui-spinner circle{stroke:#ce93d8}.gui-dark .gui-secondary .gui-spinner circle{stroke:#80cbc4}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }], {\n color: [{\n type: Input\n }]\n });\n})();\nclass FabricSpinnerModule {\n static ɵfac = function FabricSpinnerModule_Factory(t) {\n return new (t || FabricSpinnerModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricSpinnerModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricSpinnerModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricSpinnerComponent],\n exports: [FabricSpinnerComponent]\n }]\n }], null, null);\n})();\nclass ToggleButtonGroupService {\n toggleButtonId$ = new Subject();\n ngOnDestroy() {\n // this.toggleButtonId$.next();\n this.toggleButtonId$.complete();\n }\n observeToggledButton() {\n return this.toggleButtonId$.asObservable();\n }\n toggleButton(id) {\n this.toggleButtonId$.next(id);\n }\n static ɵfac = function ToggleButtonGroupService_Factory(t) {\n return new (t || ToggleButtonGroupService)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ToggleButtonGroupService,\n factory: ToggleButtonGroupService.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(ToggleButtonGroupService, [{\n type: Injectable\n }], null, null);\n})();\nclass FabricToggleButtonComponent extends Indicator {\n toggleButtonGroupService;\n checked = false;\n disabled = false;\n changed = new EventEmitter();\n buttonChecked = false;\n buttonId = Math.floor(Math.random() * 1000000);\n constructor(elementRef, renderer, toggleButtonGroupService) {\n super(elementRef, renderer);\n this.toggleButtonGroupService = toggleButtonGroupService;\n this.generateButtonId();\n }\n ngOnChanges(changes) {\n if (changes['checked']) {\n this.setButtonChecked(this.checked);\n }\n if (changes['disabled']) {\n this.toggleDisabledCssClass();\n }\n }\n ngOnInit() {\n this.observeToggleButtonGroup();\n }\n tryToToggle(e) {\n if (e.target.disabled) {\n e.stopPropagation();\n } else {\n this.toggle();\n }\n }\n toggle() {\n this.toggleButtonChecked();\n this.changed.emit(this.buttonChecked);\n }\n toggleButtonChecked() {\n this.setButtonChecked(!this.buttonChecked);\n }\n setButtonChecked(checked) {\n this.buttonChecked = checked;\n if (this.toggleButtonGroupService !== null) {\n this.toggleButtonGroupService.toggleButton(this.buttonId);\n }\n if (this.buttonChecked) {\n this.addClass('gui-checked');\n } else {\n this.removeClass('gui-checked');\n }\n }\n observeToggleButtonGroup() {\n if (this.toggleButtonGroupService !== null) {\n this.toggleButtonGroupService.observeToggledButton().subscribe(id => {\n if (id !== this.buttonId) {\n this.buttonChecked = !this.buttonChecked;\n this.removeClass('gui-checked');\n } else {\n this.buttonChecked = true;\n }\n this.changed.emit(this.buttonChecked);\n });\n }\n }\n generateButtonId() {\n return this.buttonId;\n }\n toggleDisabledCssClass() {\n if (this.disabled) {\n this.addClass('gui-disabled');\n } else {\n this.removeClass('gui-disabled');\n }\n }\n static ɵfac = function FabricToggleButtonComponent_Factory(t) {\n return new (t || FabricToggleButtonComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(ToggleButtonGroupService, 8));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricToggleButtonComponent,\n selectors: [[\"gui-button-toggle\"]],\n hostVars: 2,\n hostBindings: function FabricToggleButtonComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-button-toggle\", true);\n }\n },\n inputs: {\n checked: \"checked\",\n disabled: \"disabled\"\n },\n outputs: {\n changed: \"changed\"\n },\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c0,\n decls: 2,\n vars: 4,\n consts: [[\"gui-button\", \"\", 3, \"click\", \"disabled\", \"outline\", \"primary\", \"secondary\"]],\n template: function FabricToggleButtonComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"button\", 0);\n i0.ɵɵlistener(\"click\", function FabricToggleButtonComponent_Template_button_click_0_listener($event) {\n return ctx.tryToToggle($event);\n });\n i0.ɵɵprojection(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"disabled\", ctx.disabled)(\"outline\", ctx.outline)(\"primary\", ctx.primary)(\"secondary\", ctx.secondary);\n }\n },\n dependencies: [FabricButtonComponent],\n styles: [\".gui-checked .gui-button{background:#e6e6e6;box-shadow:inset 0 10px 0 -5px #999;color:#333}.gui-checked .gui-button:hover{background:#cccccc}.gui-checked .gui-button:active{background:#999}.gui-checked .gui-button.gui-outline{background:transparent;box-shadow:0 0 0 2px #d6d6d6}.gui-checked .gui-button.gui-outline.gui-primary{background:transparent;box-shadow:0 0 0 2px #439de1;color:#2185d0}.gui-checked .gui-button.gui-outline.gui-primary:hover{color:#fff}.gui-checked .gui-button.gui-outline.gui-secondary{background:transparent;box-shadow:0 0 0 2px #5ac88b;color:#3cb371}.gui-checked .gui-button.gui-outline.gui-secondary:hover{color:#fff}.gui-checked .gui-button.gui-primary{background:#2185d0;box-shadow:inset 0 10px 0 -5px #175b8e;color:#fff}.gui-checked .gui-button.gui-secondary{background:#3cb371;box-shadow:inset 0 10px 0 -5px #2b8152;color:#fff}.gui-disabled{pointer-events:none}\\n\", \".gui-material .gui-button{background:#3949ab;color:#fff}.gui-material .gui-checked .gui-button{background:#3949ab;box-shadow:inset 0 10px 0 -5px #7885d2;color:#fff}.gui-material .gui-checked .gui-button:hover{background:#5262c5}.gui-material .gui-checked .gui-button:active{background:#4051bf}.gui-material .gui-checked .gui-button.gui-outline{background:#c5cae9;box-shadow:0 0 0 1px #5262c5;color:#3949ab}.gui-material .gui-checked .gui-button.gui-outline.gui-primary{background:#d1c4e9;box-shadow:0 0 0 1px #6200ee;color:#6200ee}.gui-material .gui-checked .gui-button.gui-outline.gui-secondary{background:#b2ebf2;box-shadow:0 0 0 1px #0097a7;color:#0097a7}.gui-material .gui-checked .gui-button.gui-primary{background:#6200ee;box-shadow:inset 0 10px 0 -5px #d1c4e9;color:#fff}.gui-material .gui-checked .gui-button.gui-secondary{background:#0097a7;box-shadow:inset 0 10px 0 -5px #b2ebf2;color:#fff}\\n\", \".gui-dark .gui-button{background:#424242;color:#bdbdbd}.gui-dark .gui-checked .gui-button{color:#bdbdbd}.gui-dark .gui-checked .gui-button:hover{background:#616161}.gui-dark .gui-checked .gui-button:active{background:#212121}.gui-dark .gui-checked .gui-button.gui-outline{background:#2e2e2e;box-shadow:0 0 0 1px #616161;color:#bdbdbd}.gui-dark .gui-checked .gui-button.gui-outline.gui-primary{background:#b55bc4;box-shadow:0 0 0 1px #ce93d8;color:#212121}.gui-dark .gui-checked .gui-button.gui-outline.gui-secondary{background:#26a69a;box-shadow:0 0 0 1px #80cbc4;color:#212121}.gui-dark .gui-checked .gui-button.gui-primary{background:#ce93d8;box-shadow:inset 0 10px 0 -5px #b55bc4;color:#212121}.gui-dark .gui-checked .gui-button.gui-secondary{background:#80cbc4;box-shadow:inset 0 10px 0 -5px #26a69a;color:#212121}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricToggleButtonComponent, [{\n type: Component,\n args: [{\n selector: 'gui-button-toggle',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-button-toggle]': 'true'\n },\n template: \"<button (click)=\\\"tryToToggle($event)\\\"\\n\\t\\t[disabled]=\\\"disabled\\\"\\n\\t\\t[outline]=\\\"outline\\\"\\n\\t\\t[primary]=\\\"primary\\\"\\n\\t\\t[secondary]=\\\"secondary\\\"\\n\\t\\tgui-button>\\n\\t<ng-content></ng-content>\\n</button>\\n\",\n styles: [\".gui-checked .gui-button{background:#e6e6e6;box-shadow:inset 0 10px 0 -5px #999;color:#333}.gui-checked .gui-button:hover{background:#cccccc}.gui-checked .gui-button:active{background:#999}.gui-checked .gui-button.gui-outline{background:transparent;box-shadow:0 0 0 2px #d6d6d6}.gui-checked .gui-button.gui-outline.gui-primary{background:transparent;box-shadow:0 0 0 2px #439de1;color:#2185d0}.gui-checked .gui-button.gui-outline.gui-primary:hover{color:#fff}.gui-checked .gui-button.gui-outline.gui-secondary{background:transparent;box-shadow:0 0 0 2px #5ac88b;color:#3cb371}.gui-checked .gui-button.gui-outline.gui-secondary:hover{color:#fff}.gui-checked .gui-button.gui-primary{background:#2185d0;box-shadow:inset 0 10px 0 -5px #175b8e;color:#fff}.gui-checked .gui-button.gui-secondary{background:#3cb371;box-shadow:inset 0 10px 0 -5px #2b8152;color:#fff}.gui-disabled{pointer-events:none}\\n\", \".gui-material .gui-button{background:#3949ab;color:#fff}.gui-material .gui-checked .gui-button{background:#3949ab;box-shadow:inset 0 10px 0 -5px #7885d2;color:#fff}.gui-material .gui-checked .gui-button:hover{background:#5262c5}.gui-material .gui-checked .gui-button:active{background:#4051bf}.gui-material .gui-checked .gui-button.gui-outline{background:#c5cae9;box-shadow:0 0 0 1px #5262c5;color:#3949ab}.gui-material .gui-checked .gui-button.gui-outline.gui-primary{background:#d1c4e9;box-shadow:0 0 0 1px #6200ee;color:#6200ee}.gui-material .gui-checked .gui-button.gui-outline.gui-secondary{background:#b2ebf2;box-shadow:0 0 0 1px #0097a7;color:#0097a7}.gui-material .gui-checked .gui-button.gui-primary{background:#6200ee;box-shadow:inset 0 10px 0 -5px #d1c4e9;color:#fff}.gui-material .gui-checked .gui-button.gui-secondary{background:#0097a7;box-shadow:inset 0 10px 0 -5px #b2ebf2;color:#fff}\\n\", \".gui-dark .gui-button{background:#424242;color:#bdbdbd}.gui-dark .gui-checked .gui-button{color:#bdbdbd}.gui-dark .gui-checked .gui-button:hover{background:#616161}.gui-dark .gui-checked .gui-button:active{background:#212121}.gui-dark .gui-checked .gui-button.gui-outline{background:#2e2e2e;box-shadow:0 0 0 1px #616161;color:#bdbdbd}.gui-dark .gui-checked .gui-button.gui-outline.gui-primary{background:#b55bc4;box-shadow:0 0 0 1px #ce93d8;color:#212121}.gui-dark .gui-checked .gui-button.gui-outline.gui-secondary{background:#26a69a;box-shadow:0 0 0 1px #80cbc4;color:#212121}.gui-dark .gui-checked .gui-button.gui-primary{background:#ce93d8;box-shadow:inset 0 10px 0 -5px #b55bc4;color:#212121}.gui-dark .gui-checked .gui-button.gui-secondary{background:#80cbc4;box-shadow:inset 0 10px 0 -5px #26a69a;color:#212121}\\n\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: ToggleButtonGroupService,\n decorators: [{\n type: Optional\n }]\n }], {\n checked: [{\n type: Input\n }],\n disabled: [{\n type: Input\n }],\n changed: [{\n type: Output\n }]\n });\n})();\nclass FabricToggleButtonModule {\n static ɵfac = function FabricToggleButtonModule_Factory(t) {\n return new (t || FabricToggleButtonModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricToggleButtonModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule, FabricButtonModule, FabricButtonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricToggleButtonModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FabricButtonModule],\n declarations: [FabricToggleButtonComponent],\n exports: [FabricToggleButtonComponent, FabricButtonModule]\n }]\n }], null, null);\n})();\nclass FabricToggleButtonGroupComponent {\n static ɵfac = function FabricToggleButtonGroupComponent_Factory(t) {\n return new (t || FabricToggleButtonGroupComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricToggleButtonGroupComponent,\n selectors: [[\"gui-toggle-button-group\"]],\n hostVars: 2,\n hostBindings: function FabricToggleButtonGroupComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-toggle-button-group\", true);\n }\n },\n features: [i0.ɵɵProvidersFeature([ToggleButtonGroupService])],\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function FabricToggleButtonGroupComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n styles: [\".gui-toggle-button-group{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-toggle-button-group .gui-button-toggle .gui-button{border-radius:0}.gui-toggle-button-group .gui-button-toggle:not(:last-child) .gui-button{border-right:none;margin:0}.gui-toggle-button-group .gui-button-toggle:last-child .gui-button{border-radius:0 4px 4px 0}.gui-toggle-button-group .gui-button-toggle:first-child .gui-button{border-radius:4px 0 0 4px}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricToggleButtonGroupComponent, [{\n type: Component,\n args: [{\n selector: 'gui-toggle-button-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-toggle-button-group]': 'true'\n },\n providers: [ToggleButtonGroupService],\n template: \"<ng-content></ng-content>\\n\",\n styles: [\".gui-toggle-button-group{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-toggle-button-group .gui-button-toggle .gui-button{border-radius:0}.gui-toggle-button-group .gui-button-toggle:not(:last-child) .gui-button{border-right:none;margin:0}.gui-toggle-button-group .gui-button-toggle:last-child .gui-button{border-radius:0 4px 4px 0}.gui-toggle-button-group .gui-button-toggle:first-child .gui-button{border-radius:4px 0 0 4px}\\n\"]\n }]\n }], null, null);\n})();\nclass FabricToggleButtonGroupModule {\n static ɵfac = function FabricToggleButtonGroupModule_Factory(t) {\n return new (t || FabricToggleButtonGroupModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricToggleButtonGroupModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricToggleButtonGroupModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [FabricToggleButtonGroupComponent],\n exports: [FabricToggleButtonGroupComponent]\n }]\n }], null, null);\n})();\nclass StarIconComponent {\n static ɵfac = function StarIconComponent_Factory(t) {\n return new (t || StarIconComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: StarIconComponent,\n selectors: [[\"gui-star-icon\"]],\n hostVars: 2,\n hostBindings: function StarIconComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-star-icon\", true);\n }\n },\n decls: 2,\n vars: 0,\n consts: [[\"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"34.542\", \"height\", \"32.852\", \"viewBox\", \"0 0 34.542 32.852\"], [\"data-name\", \"Path 572\", \"d\", \"M-121.168-469.432l5.337,10.814,11.934,1.734-8.636,8.418,2.039,11.886-10.674-5.612-10.674,5.612,2.039-11.886-8.636-8.418,11.934-1.734Z\", \"transform\", \"translate(138.44 469.432)\", \"fill\", \"#ffe623\", \"fill-rule\", \"evenodd\"]],\n template: function StarIconComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n },\n encapsulation: 2\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(StarIconComponent, [{\n type: Component,\n args: [{\n selector: 'gui-star-icon',\n template: `\n\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"34.542\" height=\"32.852\" viewBox=\"0 0 34.542 32.852\">\n\t\t\t<path data-name=\"Path 572\"\n\t\t\t\t d=\"M-121.168-469.432l5.337,10.814,11.934,1.734-8.636,8.418,2.039,11.886-10.674-5.612-10.674,5.612,2.039-11.886-8.636-8.418,11.934-1.734Z\"\n\t\t\t\t transform=\"translate(138.44 469.432)\" fill=\"#ffe623\" fill-rule=\"evenodd\"/>\n\t\t</svg>\n\t`,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-star-icon]': 'true'\n }\n }]\n }], null, null);\n})();\nclass FabricRatingComponent {\n starsLength = 5;\n rating = 3;\n onRatingChange = new EventEmitter();\n stars = [];\n previewRating = 0;\n ngOnChanges(changes) {\n if (changes['starsLength']) {\n this.createStarsArray(this.starsLength);\n }\n }\n ngOnInit() {\n this.createStarsArray(this.starsLength);\n }\n isRating(starNumber, rating) {\n return !(rating >= starNumber);\n }\n changeRating(star) {\n this.rating = star;\n this.onRatingChange.emit(star);\n }\n changePreviewRating(star) {\n this.previewRating = star + 1;\n }\n createStarsArray(length) {\n if (length) {\n for (let i = 1; i <= length; i++) {\n this.stars.push(i);\n }\n }\n }\n static ɵfac = function FabricRatingComponent_Factory(t) {\n return new (t || FabricRatingComponent)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: FabricRatingComponent,\n selectors: [[\"gui-rating\"]],\n hostVars: 2,\n hostBindings: function FabricRatingComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"gui-rating\", true);\n }\n },\n inputs: {\n starsLength: \"starsLength\",\n rating: \"rating\"\n },\n outputs: {\n onRatingChange: \"onRatingChange\"\n },\n features: [i0.ɵɵNgOnChangesFeature],\n decls: 2,\n vars: 1,\n consts: [[1, \"gui-rating-container\"], [3, \"star-icon-gray\", \"star-icon-hover\", \"click\", \"mouseenter\", \"mouseleave\", 4, \"ngFor\", \"ngForOf\"], [3, \"click\", \"mouseenter\", \"mouseleave\"]],\n template: function FabricRatingComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵtemplate(1, FabricRatingComponent_gui_star_icon_1_Template, 1, 4, \"gui-star-icon\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx.stars);\n }\n },\n dependencies: [i1.NgForOf, StarIconComponent],\n styles: [\".gui-rating .gui-star-icon{cursor:pointer;padding-right:8px}.gui-rating .gui-star-icon svg{height:24px;width:24px}.gui-rating .gui-star-icon svg path{transition:fill .3s ease-in-out}.gui-rating .gui-rating-container{display:-ms-flexbox;display:flex}.gui-rating .gui-rating-container .star-icon-gray svg path{fill:#dedede}.gui-rating .gui-rating-container .star-icon-hover svg path{fill:#fc0}\\n\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricRatingComponent, [{\n type: Component,\n args: [{\n selector: 'gui-rating',\n host: {\n '[class.gui-rating]': 'true'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: \"<div class=\\\"gui-rating-container\\\">\\n\\t<gui-star-icon (click)=\\\"changeRating(star)\\\"\\n\\t\\t\\t\\t (mouseenter)=\\\"changePreviewRating(star)\\\"\\n\\t\\t\\t\\t (mouseleave)=\\\"changePreviewRating(0)\\\"\\n\\t\\t\\t\\t *ngFor=\\\"let star of stars\\\"\\n\\t\\t\\t\\t [class.star-icon-gray]=\\\"isRating(star, rating)\\\"\\n\\t\\t\\t\\t [class.star-icon-hover]=\\\"isRating(previewRating, star)\\\">\\n\\t</gui-star-icon>\\n</div>\\n\",\n styles: [\".gui-rating .gui-star-icon{cursor:pointer;padding-right:8px}.gui-rating .gui-star-icon svg{height:24px;width:24px}.gui-rating .gui-star-icon svg path{transition:fill .3s ease-in-out}.gui-rating .gui-rating-container{display:-ms-flexbox;display:flex}.gui-rating .gui-rating-container .star-icon-gray svg path{fill:#dedede}.gui-rating .gui-rating-container .star-icon-hover svg path{fill:#fc0}\\n\"]\n }]\n }], null, {\n starsLength: [{\n type: Input\n }],\n rating: [{\n type: Input\n }],\n onRatingChange: [{\n type: Output\n }]\n });\n})();\nclass StarIconModule {\n static ɵfac = function StarIconModule_Factory(t) {\n return new (t || StarIconModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: StarIconModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(StarIconModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [StarIconComponent],\n exports: [StarIconComponent]\n }]\n }], null, null);\n})();\nclass FabricRatingModule {\n static ɵfac = function FabricRatingModule_Factory(t) {\n return new (t || FabricRatingModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricRatingModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule, StarIconModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricRatingModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, StarIconModule],\n declarations: [FabricRatingComponent],\n exports: [FabricRatingComponent]\n }]\n }], null, null);\n})();\nclass FabricModule {\n static ɵfac = function FabricModule_Factory(t) {\n return new (t || FabricModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FabricModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [FabricModalThemeService],\n imports: [CommonModule, FabricBadgeModule, FabricButtonModule, FabricButtonGroupModule, FabricCardModule, FabricCheckboxModule, FabricChipModule, FabricDatePickerModule, FabricDrawerModule, FabricDropdownModule, FabricDialogModule, FabricInlineDialogModule, FabricRadioButtonModule, FabricRadioGroupModule, FabricRatingModule, FabricNotificationModule, FabricMessageModule, FabricTabModule, FabricTooltipModule, FabricProgressBarModule, FabricProgressSpinnerModule, FabricSelectModule, FabricSliderModule, FabricSpinnerModule, FabricToggleButtonModule, FabricToggleButtonGroupModule, FabricInputModule, FabricBadgeModule, FabricButtonModule, FabricButtonGroupModule, FabricCardModule, FabricCheckboxModule, FabricChipModule, FabricDatePickerModule, FabricDrawerModule, FabricDropdownModule, FabricDialogModule, FabricInlineDialogModule, FabricRadioButtonModule, FabricRadioGroupModule, FabricRatingModule, FabricNotificationModule, FabricMessageModule, FabricTabModule, FabricTooltipModule, FabricProgressBarModule, FabricProgressSpinnerModule, FabricSelectModule, FabricSliderModule, FabricSpinnerModule, FabricToggleButtonModule, FabricToggleButtonGroupModule, FabricInputModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FabricModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FabricBadgeModule, FabricButtonModule, FabricButtonGroupModule, FabricCardModule, FabricCheckboxModule, FabricChipModule, FabricDatePickerModule, FabricDrawerModule, FabricDropdownModule, FabricDialogModule, FabricInlineDialogModule, FabricRadioButtonModule, FabricRadioGroupModule, FabricRatingModule, FabricNotificationModule, FabricMessageModule, FabricTabModule, FabricTooltipModule, FabricProgressBarModule, FabricProgressSpinnerModule, FabricSelectModule, FabricSliderModule, FabricSpinnerModule, FabricToggleButtonModule, FabricToggleButtonGroupModule, FabricInputModule],\n exports: [FabricBadgeModule, FabricButtonModule, FabricButtonGroupModule, FabricCardModule, FabricCheckboxModule, FabricChipModule, FabricDatePickerModule, FabricDrawerModule, FabricDropdownModule, FabricDialogModule, FabricInlineDialogModule, FabricRadioButtonModule, FabricRadioGroupModule, FabricRatingModule, FabricNotificationModule, FabricMessageModule, FabricTabModule, FabricTooltipModule, FabricProgressBarModule, FabricProgressSpinnerModule, FabricSelectModule, FabricSliderModule, FabricSpinnerModule, FabricToggleButtonModule, FabricToggleButtonGroupModule, FabricInputModule],\n providers: [FabricModalThemeService]\n }]\n }], null, null);\n})();\nclass FabricNestedDialogComponent {\n constructor() {}\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FabricBadgeComponent, FabricBadgeModule, FabricButtonComponent, FabricButtonGroupComponent, FabricButtonGroupModule, FabricButtonModule, FabricCardComponent, FabricCardModule, FabricCheckboxComponent, FabricCheckboxModule, FabricChipComponent, FabricChipModule, FabricDatePickerCalendarComponent, FabricDatePickerComponent, FabricDatePickerModule, FabricDialogModule, FabricDialogService, FabricDialogThemeService, FabricDrawerModule, FabricDrawerService, FabricDropdownComponent, FabricDropdownItemComponent, FabricDropdownModule, FabricInlineDialogModule, FabricInlineDialogService, FabricInputComponent, FabricInputModule, FabricMessageModule, FabricMessageService, FabricModalThemeService, FabricModule, FabricNestedDialogComponent, FabricNotificationModule, FabricNotificationPosition, FabricNotificationService, FabricPlacement, FabricProgressBarComponent, FabricProgressBarModule, FabricProgressSpinnerComponent, FabricProgressSpinnerModule, FabricRadioButtonComponent, FabricRadioButtonModule, FabricRadioGroupComponent, FabricRadioGroupModule, FabricRatingComponent, FabricRatingModule, FabricSelectComponent, FabricSelectModule, FabricSliderComponent, FabricSliderModule, FabricSpinnerComponent, FabricSpinnerModule, FabricTabComponent, FabricTabItemComponent, FabricTabModule, FabricToggleButtonComponent, FabricToggleButtonGroupComponent, FabricToggleButtonGroupModule, FabricToggleButtonModule, FabricTooltipComponent, FabricTooltipDirective, FabricTooltipModule, Placement, SpinnerMode, Theme };","map":{"version":3,"names":["i0","Directive","Input","Component","ChangeDetectionStrategy","ViewEncapsulation","NgModule","EventEmitter","ElementRef","ViewChild","Output","Injectable","InjectionToken","PLATFORM_ID","Inject","forwardRef","ViewContainerRef","Injector","HostListener","ViewChildren","Optional","i1","CommonModule","isPlatformBrowser","DOCUMENT","i1$1","ReactiveFormsModule","takeUntil","distinctUntilChanged","filter","skip","take","Subject","BehaviorSubject","timer","fromEvent","ReplaySubject","_c0","_c1","_c2","a0","_c3","_c4","_c5","FabricCardComponent_div_6_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","block_r1","$implicit","ctx_r1","ɵɵnextContext","ɵɵproperty","ɵɵpureFunction1","isContentBlockEnabled","ɵɵadvance","ɵɵtextInterpolate1","_c6","FabricDatePickerDaysViewComponent_div_2_Template","dayOfTheWeek_r1","ɵɵtextInterpolate","FabricDatePickerDaysViewComponent_div_3_div_1_Template","_r2","ɵɵgetCurrentView","ɵɵlistener","FabricDatePickerDaysViewComponent_div_3_div_1_Template_div_click_0_listener","day_r3","ɵɵrestoreView","ctx_r3","ɵɵresetView","selectDate","ɵɵclassProp","isDate","currentDay","selectedDate","displayMonthDays","getMonth","getDate","FabricDatePickerDaysViewComponent_div_3_Template","ɵɵtemplate","week_r5","FabricDatePickerMonthsViewComponent_div_1_div_1_Template","_r1","FabricDatePickerMonthsViewComponent_div_1_div_1_Template_div_click_0_listener","month_r2","ctx_r2","selectMonth","nr","isMonth","name","FabricDatePickerMonthsViewComponent_div_1_Template","quarter_r4","FabricDatePickerYearsComponent_div_1_div_1_Template","FabricDatePickerYearsComponent_div_1_div_1_Template_div_click_0_listener","year_r2","selectYear","isYear","FabricDatePickerYearsComponent_div_1_Template","yearsChunk_r4","_c7","FabricTimePickerComponent_div_1_Template","FabricTimePickerComponent_div_1_Template_gui_arrow_icon_click_1_listener","changeTimeItem","steps","ɵɵelement","FabricTimePickerComponent_div_1_Template_gui_arrow_icon_click_3_listener","Direction","TOP","BOTTOM","FabricTimePickerComponent_div_2_Template","_r3","FabricTimePickerComponent_div_2_Template_gui_arrow_icon_click_1_listener","FabricTimePickerComponent_div_2_Template_gui_arrow_icon_click_3_listener","FabricTimePickerComponent_div_3_Template","_r4","FabricTimePickerComponent_div_3_Template_gui_arrow_icon_click_1_listener","FabricTimePickerComponent_div_3_Template_gui_arrow_icon_click_3_listener","FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_days_view_3_Template","ctx_r0","activeMonth","weeks","FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_months_view_4_Template","activeYear","FabricDatePickerCalendarComponent_ng_container_0_gui_date_picker_years_view_5_Template","years","FabricDatePickerCalendarComponent_ng_container_0_Template","ɵɵelementContainerStart","ɵɵelementContainerEnd","fabricCalendarView","getCalendarView","FabricCalendarView","DAYS","MONTHS","YEARS","FabricDatePickerCalendarComponent_gui_time_picker_1_Template","datePickerComposition","_c8","FabricInlineDialogComponent_ng_template_2_Template","_c9","FabricDrawerComponent_ng_template_3_Template","_c10","FabricDropdownComponent_div_4_Template","isArrowEnabled","arrowDirection","FabricDialogComponent_ng_template_3_Template","_c11","FabricNotificationsContainerComponent_gui_notification_0_Template","FabricNotificationsContainerComponent_gui_notification_0_Template_gui_notification_onNotificationClose_0_listener","$event","emitClosedNotification","notification_r3","FabricNotificationsOverlayComponent_gui_notifications_container_0_Template","FabricNotificationsOverlayComponent_gui_notifications_container_0_Template_gui_notifications_container_onNotificationClose_0_listener","removeNotification","notificationsTopRight","FabricNotificationPosition","TOP_RIGHT","FabricNotificationsOverlayComponent_gui_notifications_container_1_Template","FabricNotificationsOverlayComponent_gui_notifications_container_1_Template_gui_notifications_container_onNotificationClose_0_listener","notificationsTopLeft","TOP_LEFT","FabricNotificationsOverlayComponent_gui_notifications_container_2_Template","FabricNotificationsOverlayComponent_gui_notifications_container_2_Template_gui_notifications_container_onNotificationClose_0_listener","notificationsBottomRight","BOTTOM_RIGHT","FabricNotificationsOverlayComponent_gui_notifications_container_3_Template","_r5","FabricNotificationsOverlayComponent_gui_notifications_container_3_Template_gui_notifications_container_onNotificationClose_0_listener","notificationsBottomLeft","BOTTOM_LEFT","_c12","_c13","_c14","_c15","FabricTabComponent_div_3_Template","FabricTabComponent_div_3_Template_div_click_0_listener","scrollTabList","LEFT","FabricTabComponent_div_5_span_2_Template","tab_r4","FabricTabComponent_div_5_ng_container_3_Template","svg","FabricTabComponent_div_5_Template","FabricTabComponent_div_5_Template_div_click_0_listener","toggleTab","ɵɵattribute","getTabName","isSvg","FabricTabComponent_div_6_Template","FabricTabComponent_div_6_Template_div_click_0_listener","_c16","FabricSelectOptionsComponent_div_2_Template","FabricSelectOptionsComponent_div_2_Template_div_click_0_listener","option_r2","selectOption","ɵɵstyleProp","width","isOptionSelected","getOptionValue","FabricRatingComponent_gui_star_icon_1_Template","FabricRatingComponent_gui_star_icon_1_Template_gui_star_icon_click_0_listener","star_r2","changeRating","FabricRatingComponent_gui_star_icon_1_Template_gui_star_icon_mouseenter_0_listener","changePreviewRating","FabricRatingComponent_gui_star_icon_1_Template_gui_star_icon_mouseleave_0_listener","isRating","rating","previewRating","Theme","Indicator","elementRef","renderer","PRIMARY_CLASS_NAME","SECONDARY_CLASS_NAME","OUTLINE_CLASS_NAME","primary","secondary","outline","constructor","ngOnChanges","changes","addClass","removeClass","className","nativeElement","ɵfac","Indicator_Factory","t","ɵɵdirectiveInject","Renderer2","ɵdir","ɵɵdefineDirective","type","inputs","features","ɵɵNgOnChangesFeature","ngDevMode","ɵsetClassMetadata","FabricBadgeComponent","FabricBadgeComponent_Factory","ɵcmp","ɵɵdefineComponent","selectors","hostVars","hostBindings","FabricBadgeComponent_HostBindings","ɵɵInheritDefinitionFeature","ngContentSelectors","decls","vars","template","FabricBadgeComponent_Template","ɵɵprojectionDef","ɵɵprojection","styles","encapsulation","changeDetection","args","selector","OnPush","None","host","FabricBadgeModule","FabricBadgeModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","imports","declarations","exports","FabricButtonComponent","link","text","FabricButtonComponent_Factory","FabricButtonComponent_HostBindings","attrs","FabricButtonComponent_Template","FabricButtonModule","FabricButtonModule_Factory","FabricButtonGroupComponent","FabricButtonGroupComponent_Factory","FabricButtonGroupComponent_HostBindings","FabricButtonGroupComponent_Template","FabricButtonGroupModule","FabricButtonGroupModule_Factory","FabricCardComponent","title","image","alt","contentBlock","isTitleEnabled","isImgEnabled","FabricCardComponent_Factory","FabricCardComponent_HostBindings","consts","FabricCardComponent_Template","ɵɵpropertyInterpolate","ɵɵsanitizeUrl","dependencies","NgClass","NgForOf","FabricCardModule","FabricCardModule_Factory","FabricCheckboxComponent","inputRef","inputChecked","disabled","readonly","indeterminate","changed","checked","ngAfterViewInit","check","event","stopPropagation","emit","FabricCheckboxComponent_Factory","viewQuery","FabricCheckboxComponent_Query","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","first","FabricCheckboxComponent_HostBindings","ɵɵInputFlags","outputs","FabricCheckboxComponent_Template","FabricCheckboxComponent_Template_input_click_1_listener","read","static","FabricCheckboxModule","FabricCheckboxModule_Factory","FabricChipComponent","FabricChipComponent_Factory","FabricChipComponent_HostBindings","FabricChipComponent_Template","FabricChipModule","FabricChipModule_Factory","FabricReactive","unsubscribe$","ngOnDestroy","unsubscribe","isStopped","next","complete","FabricReactive_Factory","FabricDatePickerComposition","FabricDatePickerDefaultActiveMonth","Date","FabricDatePickerDefaultActiveYear","getFullYear","FabricDatePickerService","selectedTime","selectedDate$","observeSelectedDate","asObservable","dateSelected","date","getTime","setSelectedDateTime","changeTime","timeValues","setHours","hours","setMinutes","minutes","setSeconds","seconds","FabricDatePickerService_Factory","ɵprov","ɵɵdefineInjectable","token","factory","FabricDatePickerCompositionService","datePickerFormat$","DATE_PICKER","onComposition","datePipeOptions","getComposition","removeDoubles","split","join","removeDash","removeDot","removeComa","formatArray","composition","NONE","forEach","formatItem","isDays","toLowerCase","includes","isMonths","isYears","showHours","showMinutes","showSeconds","isMeridian","showDatePicker","showTimePicker","TIME_PICKER","TIME_PICKER_MERIDIAN","TIME_PICKER_HOURS","TIME_PICKER_MINUTES","TIME_PICKER_SECONDS","FabricDatePickerCompositionService_Factory","FabricDatePickerWeeks","getDaysInMonths","year","month","resetWeeks","numberOfDaysInMonth","i","createWeeks","day","maxWeekNumber","addDaysToWeek","canAddDaysToWeek","getLastDayDate","weekNumber","week","isFirstDaySunday","getDay","length","dayOfWeek","setDate","push","getLastDayNumber","lastDay","FabricDatePickerWeeks_Factory","FabricDatePickerYears","rowsForDisplay","minYear","maxYear","selectedYear","inc","getYears","yearsRange","rows","createYearsPool","divideYearsPool","createRowsForDisplay","prevYearRange","nextYearRange","slice","indexOf","FabricDatePickerYears_Factory","FabricDatePickerYearsService","years$","onYears","FabricDatePickerYearsService_Factory","FabricDatePickerCalendarService","activeMonth$","activeYear$","onActiveMonth","onActiveYear","nextMonth","prevMonth","FabricDatePickerCalendarService_Factory","FabricDatePickerCalendarViewService","activeView$","onActiveView","switchView","viewName","FabricDatePickerCalendarViewService_Factory","daysOfTheWeek","FabricDateUtils","areDatesSame","firstDay","secondDate","FabricDatePickerDaysViewComponent","datePickerService","comparedDate","FabricDatePickerDaysViewComponent_Factory","FabricDatePickerDaysViewComponent_Template","monthsPerQuarters","FabricDatePickerMonthsViewComponent","calendarService","calendarViewService","FabricDatePickerMonthsViewComponent_Factory","FabricDatePickerMonthsViewComponent_Template","FabricDatePickerYearsComponent","FabricDatePickerYearsComponent_Factory","FabricDatePickerYearsComponent_Template","FabricCalendarCardView","months","FabricArrowIconComponent","direction","RIGHT","FabricArrowIconComponent_Factory","FabricArrowIconComponent_HostBindings","FabricArrowIconComponent_Template","ɵɵnamespaceSVG","FabricDatePickerViewPanelComponent","datePickerYearsService","datePickerYears","getDisplayedDate","getDisplayedYearRange","switchCalendarView","switchCard","cardView","NEXT","handleMonthChange","toString","FabricDatePickerViewPanelComponent_Factory","FabricDatePickerViewPanelComponent_Template","FabricDatePickerViewPanelComponent_Template_div_click_1_listener","FabricDatePickerViewPanelComponent_Template_gui_arrow_icon_click_4_listener","PREV","FabricDatePickerViewPanelComponent_Template_gui_arrow_icon_click_5_listener","FabricTimeValues","FabricInputComponent","FabricInputComponent_Factory","FabricInputComponent_HostBindings","FabricInputComponent_Template","FabricTimePickerComponent","formBuilder","form","group","ngOnInit","isActive","hours$","controls","valueChanges","pipe","subscribe","hour","minHour","maxHour","setValue","changeSelectedDate","value","controlFormItemValue","setTimeFromSelectedDate","formControlName","changeSelectedDateTime","activeComposition","checkedComposition","isOnlyTimePicker","observedFormControlName","incFormControlName","timeItemValue","incTimeItemValue","getHours","getMinutes","getSeconds","FabricTimePickerComponent_Factory","FormBuilder","FabricTimePickerComponent_HostBindings","FabricTimePickerComponent_Template","FabricTimePickerComponent_Template_div_click_4_listener","NgIf","ɵNgNoValidate","DefaultValueAccessor","NumberValueAccessor","NgControlStatus","NgControlStatusGroup","MaxLengthValidator","FormGroupDirective","FormControlName","FabricDatePickerCalendarComponent","datePickerFormatService","datePickerWeeks","changeDetectorRef","calculateDatePickerData","detectChanges","isVisible","FabricDatePickerCalendarComponent_Factory","ChangeDetectorRef","FabricDatePickerCalendarComponent_HostBindings","FabricDatePickerCalendarComponent_Template","NgSwitch","NgSwitchCase","FabricPlacement","themeToken","FabricModalThemeService","fabricTheme$","FABRIC","onTheme","changeTheme","theme","fabricTheme","convertToTheme","MATERIAL","GENERIC","LIGHT","DARK","FabricModalThemeService_Factory","FabricThemedComponent","themeService","CSS_CLASS_PREFIX","addTheme","removeThemes","cssClass","themes","Object","keys","map","key","val","Number","isInteger","getElementRef","getRenderer","FabricThemedComponent_Factory","FabricGeometry","containerClassName","getHeight","querySelector","offsetHeight","getWidth","offsetWidth","FabricCords","verticalPosition","horizontalPosition","window","invokerElementRef","invokedElementRef","placement","offset","calculateCords","getVerticalPosition","getHorizontalPosition","elementRect","getBoundingClientRect","elementBottom","pageYOffset","bottom","elementLeft","pageXOffset","left","elementRight","right","elementTop","top","topCords","BEFORE","AFTER","calculateDirection","windowHeightWithOffset","innerHeight","windowWidthWithOffset","innerWidth","invokerElementWidth","invokedElementHeight","invokedElementWidth","invokedElementDoesNotFitHorizontally","invokedElementDoesNotFitVertically","InlineDialogCords","defaultInlineDialogOffset","inlineDialogOffset","InlineDialogGeometryService","platformId","inlineDialogGeometry","inlineDialogState$","observeInlineDialogCords","changeGeometry","inlineDialogRef","getInlineDialogCords","inlineDialogCords","InlineDialogGeometryService_Factory","ɵɵinject","undefined","decorators","FabricInlineDialogComponent","componentFactoryResolver","inlineDialogService","elRef","inlineDialogGeometryService","container","customClass","inlineDialogNestedComponent","inlineDialogNestedInjector","dialogTopAttribute","dialogLeftAttribute","visible","createNestedComponent","clickOutside","isContainerClicked","close","contains","target","component","componentFactory","resolveComponentFactory","createComponent","FabricInlineDialogComponent_Factory","ComponentFactoryResolver","FabricInlineDialogService","FabricInlineDialogComponent_Query","FabricInlineDialogComponent_Template","FabricInlineDialogComponent_Template_div_click_1_listener","ɵɵresolveDocument","ɵɵtemplateRefExtractor","applicationRef","injector","document","opened","opened$","destroy$","removeInlineDialog","open","element","config","parentInjector","create","providers","provide","useValue","parent","setOpened","appendInlineDialogToElement","closeOnEscKey","isOpened","onOpened","componentRef","instance","attachView","hostView","domDialogElement","rootNodes","body","appendChild","detachView","destroy","close$","code","FabricInlineDialogService_Factory","ApplicationRef","FabricDatePickerInlineDialogService","fabricInlineDialogService","datePickerThem","FabricDatePickerInlineDialogService_Factory","DatePickerIconComponent","DatePickerIconComponent_Factory","DatePickerIconComponent_HostBindings","DatePickerIconComponent_Template","FabricDatePickerComponent","fabricDatePickerInlineDialogService","datePickerCompositionService","datePickerRef","parentElement","openDialog","onlyDialog","dialogOpened","datePickerForm","pickedDate","inputDisabled","emitSelectedDate","closeDatePicker","openDatePicker","shouldUseDatePickerRef","FabricDatePickerComponent_Factory","FabricDatePickerComponent_Query","FabricDatePickerComponent_Template","ɵɵpipe","FabricDatePickerComponent_Template_gui_date_picker_icon_click_5_listener","ɵɵpipeBind2","DatePipe","FabricInlineDialogModule","FabricInlineDialogModule_Factory","FabricInputModule","FabricInputModule_Factory","FabricArrowIconModule","FabricArrowIconModule_Factory","DatePickerIconModule","DatePickerIconModule_Factory","FabricDatePickerModule","FabricDatePickerModule_Factory","FabricModal","removeComponent","createAndAppend","componentInjector","getComponent","domModalElement","getElement","appendToElement","afterCompCreation","getComponentRef","getInjector","getDocument","onCloseOnEsc","isComponentCreated","el","FabricModal_Factory","FabricDrawerService","inProgress","FabricDrawerComponent","preventReopeningDrawer","waitAndCreateNewDrawer","createDrawer","applyInstanceVars","closeOnClickOutside","dialogNestedComponent","isFixed","FabricDrawerService_Factory","FabricCloseIconComponent","FabricCloseIconComponent_Factory","FabricCloseIconComponent_HostBindings","FabricCloseIconComponent_Template","dialogService","themeModalService","closeDrawer","dialogContentRef","FabricDrawerComponent_Factory","FabricDrawerComponent_Query","FabricDrawerComponent_Template","FabricDrawerComponent_Template_div_click_0_listener","FabricDrawerComponent_Template_gui_close_icon_click_2_listener","FabricCloseIconModule","FabricCloseIconModule_Factory","FabricDrawerModule","FabricDrawerModule_Factory","Geometry","menu","windowSize","containerHeight","containerWidth","availableBottomSpace","availableTopSpace","calculate","getContainerHeight","getContainerWidth","canOpenDownward","canOpenUpward","containerEl","menuHeight","rectBottom","GeometryService","geometryResults$","watchGeometry","geometry","GeometryService_Factory","Placement","FabricDropdownComponent","geometryService","dropdownMenuRef","containerRef","onResize","dropdownText","showOnHover","bottomPosition","topPosition","topBorderWidth","changePlacement","tryToOpen","isContainerDisabled","openMenu","tryToOpenOnHover","hideOnHover","hideItems","isDirectionLeft","showItems","openDownward","openUpward","Right","openRight","Left","openLeft","itemsElHasOpenClass","classList","FabricDropdownComponent_Factory","FabricDropdownComponent_Query","FabricDropdownComponent_HostBindings","FabricDropdownComponent_resize_HostBindingHandler","ɵɵresolveWindow","ɵɵProvidersFeature","FabricDropdownComponent_Template","FabricDropdownComponent_Template_div_click_0_listener","FabricDropdownComponent_Template_div_mouseenter_0_listener","FabricDropdownComponent_Template_div_mouseleave_0_listener","FabricDropdownItemComponent","FabricDropdownItemComponent_Factory","FabricDropdownItemComponent_Template","FabricDropdownModule","FabricDropdownModule_Factory","FabricDialogService","FabricDialogComponent","afterComponentCreation","height","setTransformOrigin","FabricDialogService_Factory","triggerPosition","closeDialog","x","clientX","y","clientY","FabricDialogComponent_Factory","FabricDialogComponent_Query","FabricDialogComponent_HostBindings","FabricDialogComponent_Template","FabricDialogComponent_Template_div_click_1_listener","FabricDialogComponent_Template_gui_close_icon_click_5_listener","FabricDialogThemeService","theme$","nextTheme","toTheme","FabricDialogThemeService_Factory","FabricDialogModule","FabricDialogModule_Factory","FabricProgressBarComponent","progress","color","textTop","textAlign","FabricProgressBarComponent_Factory","FabricProgressBarComponent_HostBindings","FabricProgressBarComponent_Template","FabricProgressBarModule","FabricProgressBarModule_Factory","AbstractSpinner","diameter","r","circumference","croppedCircle","circleSize","calculateCircle","calculateCircumference","calculateR","calculateDashes","calculateSize","Math","PI","AbstractSpinner_Factory","SpinnerMode","FabricProgressSpinnerComponent","mode","NoSpin","animationsDisabled","secondCircleDisabled","valuePercentage","calculateValuePercentage","Spin","FabricProgressSpinnerComponent_Factory","FabricProgressSpinnerComponent_Template","FabricProgressSpinnerModule","FabricProgressSpinnerModule_Factory","FabricRadioButtonComponent","FabricRadioButtonComponent_Factory","FabricRadioButtonComponent_HostBindings","FabricRadioButtonComponent_Template","FabricRadioButtonComponent_Template_input_click_1_listener","FabricRadioButtonModule","FabricRadioButtonModule_Factory","FabricRadioGroupComponent","FabricRadioGroupComponent_Factory","FabricRadioGroupComponent_HostBindings","FabricRadioGroupComponent_Template","FabricRadioGroupModule","FabricRadioGroupModule_Factory","FabricNotificationComponent","notificationRef","notification","onNotificationClose","unsub$","enabled","duration","closeNotification","addCloseAnimation","notificationEl","isRightSide","position","FabricNotificationComponent_Factory","FabricNotificationComponent_Query","FabricNotificationComponent_Template","FabricNotificationComponent_Template_gui_close_icon_click_2_listener","description","FabricNotification","index","FabricNotificationService","DEFAULT_DURATION","fabricNotification","notificationIndex","removeNotificationContainer","FabricNotificationsOverlayComponent","createFabricNotification","pushNotification","extendTimer","concat","FabricNotificationService_Factory","FabricNotificationsContainerComponent","notifications","selectedNotification","isPosition","fabricNotificationPosition","FabricNotificationsContainerComponent_Factory","FabricNotificationsContainerComponent_HostBindings","FabricNotificationsContainerComponent_Template","notificationsService","checkNotificationsLength","isContainerNotEmpty","FabricNotificationsOverlayComponent_Factory","FabricNotificationsOverlayComponent_HostBindings","FabricNotificationsOverlayComponent_Template","FabricNotificationModule","FabricNotificationModule_Factory","FabricMessageService","FabricMessageComponent","FabricMessageService_Factory","messageService","FabricMessageComponent_Factory","FabricMessageComponent_Template","FabricMessageComponent_Template_button_click_2_listener","FabricMessageModule","FabricMessageModule_Factory","FabricSvgTemplate","svgRef","innerHTML","FabricSvgTemplate_Factory","FabricSvgTemplate_Query","FabricSvgTemplate_Template","FabricTabComponent","tabRef","tabItemRef","tabMenuList","active","scrollActive","listPosition","menuListWidth","scrollAmount","ACTIVE_TAB_CLASS_NAME","calculateMenuWidth","showMenuArrows","checkIfMenuFitsOnResize","tab","removeActive","setActive","item","scrollRightClicked","listWidth","menuOverflow","scrollLeft","navMenuTabEl","navTabItemEl","listItem","menuWidth","FabricTabComponent_Factory","FabricTabComponent_Query","FabricTabComponent_HostBindings","FabricTabComponent_Template","FabricTabItemComponent","FabricTabItemComponent_Factory","FabricTabItemComponent_Template","FabricSvgTemplateModule","FabricSvgTemplateModule_Factory","FabricTabModule","FabricTabModule_Factory","FabricTooltipComponent","correctPosition","FabricTooltipComponent_Factory","FabricTooltipComponent_HostBindings","FabricTooltipComponent_Template","FabricTooltipDirective","tooltipOffset","tooltipRef","tooltipTopPosition","tooltipLeftPosition","open$","show","hide","domElement","scrollY","scrollX","FabricTooltipDirective_Factory","exportAs","FabricTooltipModule","FabricTooltipModule_Factory","SelectOptionsCords","BORDER_WIDTH","selectContainerGeometry","getCanOpenUpward","selectOptionsGeometry","windowHeight","elementHeight","selectOptionsHeight","selectOptionsDoesNotFitVertically","SelectOptionsGeometry","SelectOptionsGeometryService","selectOptionsCords$","onSelectOptionsCords","setGeometry","selectContainerRef","nextCords","selectOptionsCords","SelectOptionsGeometryService_Factory","FabricSelectedOptionsRepository","selectedOption$","onSelectedOption","option","FabricSelectedOptionsRepository_Factory","FabricSelectOptionsComponent","selectOptionsGeometryService","selectService","optionListRef","options","optionsContainerLeftAttribute","optionsContainerTopAttribute","selectedOption","cords","initOpenAnimation","optionsEl","FabricSelectOptionsComponent_Factory","FabricSelectOptionsComponent_Query","FabricSelectOptionsComponent_Template","SelectOptionModalService","closeOptions","SelectOptionModalService_Factory","FabricSelectComponent","selectOptionModalService","placeholder","selected","optionChanged","containerText","scrollListenerFn","doNotEmitValues","tryToSelect","emitSelectedOption","toggleOptions","maintainOptionsListPosition","closeSelect","canSelect","listen","optionsElHasOpenClass","FabricSelectComponent_Factory","FabricSelectComponent_Query","FabricSelectComponent_HostBindings","FabricSelectComponent_Template","FabricSelectComponent_Template_div_click_0_listener","FabricSelectModule","FabricSelectModule_Factory","FabricSliderComponent","toggled","toggle","FabricSliderComponent_Factory","FabricSliderComponent_Template","FabricSliderComponent_Template_div_click_0_listener","FabricSliderModule","FabricSliderModule_Factory","FabricSpinnerComponent","FabricSpinnerComponent_Factory","FabricSpinnerComponent_HostBindings","FabricSpinnerComponent_Template","FabricSpinnerModule","FabricSpinnerModule_Factory","ToggleButtonGroupService","toggleButtonId$","observeToggledButton","toggleButton","id","ToggleButtonGroupService_Factory","FabricToggleButtonComponent","toggleButtonGroupService","buttonChecked","buttonId","floor","random","generateButtonId","setButtonChecked","toggleDisabledCssClass","observeToggleButtonGroup","tryToToggle","e","toggleButtonChecked","FabricToggleButtonComponent_Factory","FabricToggleButtonComponent_HostBindings","FabricToggleButtonComponent_Template","FabricToggleButtonComponent_Template_button_click_0_listener","FabricToggleButtonModule","FabricToggleButtonModule_Factory","FabricToggleButtonGroupComponent","FabricToggleButtonGroupComponent_Factory","FabricToggleButtonGroupComponent_HostBindings","FabricToggleButtonGroupComponent_Template","FabricToggleButtonGroupModule","FabricToggleButtonGroupModule_Factory","StarIconComponent","StarIconComponent_Factory","StarIconComponent_HostBindings","StarIconComponent_Template","FabricRatingComponent","starsLength","onRatingChange","stars","createStarsArray","starNumber","star","FabricRatingComponent_Factory","FabricRatingComponent_HostBindings","FabricRatingComponent_Template","StarIconModule","StarIconModule_Factory","FabricRatingModule","FabricRatingModule_Factory","FabricModule","FabricModule_Factory","FabricNestedDialogComponent"],"sources":["E:/TekH/Visual Studio/WebUserManager/DigitalData.UserManager.NgWebUI/ClientApp/node_modules/@generic-ui/fabric/fesm2022/generic-ui-fabric.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Directive, Input, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule, EventEmitter, ElementRef, ViewChild, Output, Injectable, InjectionToken, PLATFORM_ID, Inject, forwardRef, ViewContainerRef, Injector, HostListener, ViewChildren, Optional } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule, isPlatformBrowser, DOCUMENT } from '@angular/common';\nimport * as i1$1 from '@angular/forms';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { takeUntil, distinctUntilChanged, filter, skip, take } from 'rxjs/operators';\nimport { Subject, BehaviorSubject, timer, fromEvent, ReplaySubject } from 'rxjs';\n\nvar Theme;\n(function (Theme) {\n Theme[\"FABRIC\"] = \"FABRIC\";\n Theme[\"MATERIAL\"] = \"MATERIAL\";\n Theme[\"GENERIC\"] = \"GENERIC\";\n Theme[\"LIGHT\"] = \"LIGHT\";\n Theme[\"DARK\"] = \"DARK\";\n})(Theme || (Theme = {}));\n\nclass Indicator {\n elementRef;\n renderer;\n static PRIMARY_CLASS_NAME = 'gui-primary';\n static SECONDARY_CLASS_NAME = 'gui-secondary';\n static OUTLINE_CLASS_NAME = 'gui-outline';\n primary = false;\n secondary = false;\n outline = false;\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n if (changes['primary']) {\n if (this.primary) {\n this.addClass(Indicator.PRIMARY_CLASS_NAME);\n }\n else {\n this.removeClass(Indicator.PRIMARY_CLASS_NAME);\n }\n }\n if (changes['secondary']) {\n if (this.secondary) {\n this.addClass(Indicator.SECONDARY_CLASS_NAME);\n }\n else {\n this.removeClass(Indicator.SECONDARY_CLASS_NAME);\n }\n }\n if (changes['outline']) {\n if (this.outline) {\n this.addClass(Indicator.OUTLINE_CLASS_NAME);\n }\n else {\n this.removeClass(Indicator.OUTLINE_CLASS_NAME);\n }\n }\n }\n addClass(className) {\n this.renderer.addClass(this.elementRef.nativeElement, className);\n }\n removeClass(className) {\n this.renderer.removeClass(this.elementRef.nativeElement, className);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: Indicator, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: Indicator, inputs: { primary: \"primary\", secondary: \"secondary\", outline: \"outline\" }, usesOnChanges: true, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: Indicator, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { primary: [{\n type: Input\n }], secondary: [{\n type: Input\n }], outline: [{\n type: Input\n }] } });\n\nclass FabricBadgeComponent extends Indicator {\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricBadgeComponent, selector: \"gui-badge\", host: { properties: { \"class.gui-badge\": \"true\" } }, usesInheritance: true, ngImport: i0, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-badge{background:#e6e6e6;border-radius:4px;color:#595959;display:inline-block;font-family:Arial;font-size:12px;font-weight:700;margin:0 0 0 2px;padding:4px 9.6px;position:relative;-ms-transform:translateX(-70%) translateY(-80%);transform:translate(-70%) translateY(-80%);z-index:1}.gui-badge.gui-primary{background:#2185d0;color:#fff}.gui-badge.gui-primary.gui-outline{color:#2185d0}.gui-badge.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-badge.gui-primary:active{background:#1a69a4;color:#fff}.gui-badge.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-badge.gui-primary.gui-badge{background:#439de1}.gui-badge.gui-secondary{background:#3cb371;color:#fff}.gui-badge.gui-secondary.gui-outline{color:#3cb371}.gui-badge.gui-secondary.gui-button:hover{background:#36a065}.gui-badge.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-badge.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-badge.gui-secondary.gui-badge{background:#5ac88b}.gui-badge.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-badge.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-badge.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-badge.gui-outline.gui-badge{background:#fff}.gui-badge.gui-outline.gui-primary{border-color:#439de1}.gui-badge.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-badge.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-badge.gui-outline.gui-secondary{border-color:#5ac88b}.gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-badge.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}\\n\", \".gui-material .gui-badge{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500}.gui-material .gui-badge.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-badge.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-badge.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-badge.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-badge.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-badge.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-badge.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-badge.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-badge.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-badge.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-badge.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-badge.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-badge.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-badge.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-badge.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-badge.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-badge.gui-outline.gui-badge{background:#fff}.gui-material .gui-badge.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-badge.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-badge.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-badge.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}\\n\", \".gui-dark .gui-badge{background:#333;color:#bdbdbd}.gui-dark .gui-badge.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-badge.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-badge.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-badge.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-badge.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-badge.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-badge.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-badge.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-badge.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-badge.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-badge.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-badge.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-badge.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-badge.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-badge.gui-outline.gui-badge{background:#121212}.gui-dark .gui-badge.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-badge.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-badge.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-badge.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricBadgeComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-badge', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-badge]': 'true'\n }, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-badge{background:#e6e6e6;border-radius:4px;color:#595959;display:inline-block;font-family:Arial;font-size:12px;font-weight:700;margin:0 0 0 2px;padding:4px 9.6px;position:relative;-ms-transform:translateX(-70%) translateY(-80%);transform:translate(-70%) translateY(-80%);z-index:1}.gui-badge.gui-primary{background:#2185d0;color:#fff}.gui-badge.gui-primary.gui-outline{color:#2185d0}.gui-badge.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-badge.gui-primary:active{background:#1a69a4;color:#fff}.gui-badge.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-badge.gui-primary.gui-badge{background:#439de1}.gui-badge.gui-secondary{background:#3cb371;color:#fff}.gui-badge.gui-secondary.gui-outline{color:#3cb371}.gui-badge.gui-secondary.gui-button:hover{background:#36a065}.gui-badge.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-badge.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-badge.gui-secondary.gui-badge{background:#5ac88b}.gui-badge.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-badge.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-badge.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-badge.gui-outline.gui-badge{background:#fff}.gui-badge.gui-outline.gui-primary{border-color:#439de1}.gui-badge.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-badge.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-badge.gui-outline.gui-secondary{border-color:#5ac88b}.gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-badge.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}\\n\", \".gui-material .gui-badge{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500}.gui-material .gui-badge.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-badge.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-badge.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-badge.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-badge.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-badge.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-badge.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-badge.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-badge.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-badge.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-badge.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-badge.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-badge.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-badge.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-badge.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-badge.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-badge.gui-outline.gui-badge{background:#fff}.gui-material .gui-badge.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-badge.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-badge.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-badge.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}\\n\", \".gui-dark .gui-badge{background:#333;color:#bdbdbd}.gui-dark .gui-badge.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-badge.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-badge.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-badge.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-badge.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-badge.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-badge.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-badge.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-badge.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-badge.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-badge.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-badge.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-badge.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-badge.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-badge.gui-outline.gui-badge{background:#121212}.gui-dark .gui-badge.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-badge.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-badge.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-badge.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-badge.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-badge.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });\n\nclass FabricBadgeModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricBadgeModule, declarations: [FabricBadgeComponent], imports: [CommonModule], exports: [FabricBadgeComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricBadgeModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricBadgeModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricBadgeComponent\n ],\n exports: [\n FabricBadgeComponent\n ]\n }]\n }] });\n\nclass FabricButtonComponent extends Indicator {\n link = false;\n text = false;\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n if (changes['link']) {\n if (this.link) {\n this.addClass('gui-link');\n }\n else {\n this.removeClass('gui-link');\n }\n }\n if (changes['text']) {\n if (this.text) {\n this.addClass('gui-text');\n }\n else {\n this.removeClass('gui-text');\n }\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricButtonComponent, selector: \"button[gui-button], a[gui-button]\", inputs: { link: \"link\", text: \"text\" }, host: { properties: { \"class.gui-button\": \"true\" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:start;align-items:flex-start;background:#e6e6e6;border-radius:4px;border-style:none;box-sizing:border-box;color:#595959;cursor:pointer;display:inline-block;font-family:Arial;font-size:13.3333px;letter-spacing:normal;outline:none;padding:10px 20px;text-align:center;text-indent:0;text-rendering:auto;text-shadow:none;text-transform:none;transition:background .2s;word-spacing:normal;-ms-writing-mode:lr-tb!important;writing-mode:horizontal-tb!important}.gui-button.gui-outline:focus{box-shadow:0 0 0 2px #d6d6d6}.gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 2px #439de1}.gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 2px #5ac88b}.gui-button.gui-primary{background:#2185d0;color:#fff}.gui-button.gui-primary.gui-outline{color:#2185d0}.gui-button.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-button.gui-primary:active{background:#1a69a4;color:#fff}.gui-button.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-button.gui-primary.gui-badge{background:#439de1}.gui-button.gui-secondary{background:#3cb371;color:#fff}.gui-button.gui-secondary.gui-outline{color:#3cb371}.gui-button.gui-secondary.gui-button:hover{background:#36a065}.gui-button.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-button.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-button.gui-secondary.gui-badge{background:#5ac88b}.gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-button.gui-link:focus{text-decoration:underline}.gui-button.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-button.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-button.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-button.gui-outline.gui-badge{background:#fff}.gui-button.gui-outline.gui-primary{border-color:#439de1}.gui-button.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-button.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-button.gui-outline.gui-secondary{border-color:#5ac88b}.gui-button.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-button.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}.gui-button.gui-text{background:transparent;border:0}.gui-button.gui-text:hover{background:#e6e6e6}.gui-button.gui-text:focus{background:#e6e6e6}.gui-button.gui-text.gui-primary{color:#2185d0}.gui-button.gui-text.gui-primary:hover{background:#2185d0;color:#fff}.gui-button.gui-text.gui-primary:focus{background:#2185d0;color:#fff}.gui-button.gui-text.gui-secondary{color:#3cb371}.gui-button.gui-text.gui-secondary:hover{background:#3cb371;color:#fff}.gui-button.gui-text.gui-secondary:focus{background:#3cb371;color:#fff}.gui-button.gui-text.gui-button:disabled{background:transparent}.gui-button.gui-text.gui-button:disabled .gui-text-disabled{display:inline-block}.gui-button:hover{background:#cccccc;color:#333}.gui-button:active{background:#999;color:#333}.gui-button:disabled{color:#ccc;cursor:default;pointer-events:none}\\n\", \".gui-dark .gui-button{background:#424242;color:#bdbdbd}.gui-dark .gui-button.gui-outline:focus{box-shadow:0 0 0 2px #616161}.gui-dark .gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 2px #ce93d8}.gui-dark .gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 2px #80cbc4}.gui-dark .gui-button.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-button.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-button.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-button.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-button.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-button.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-button.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-button.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-button.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-button.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-button.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-button.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-dark .gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-dark .gui-button.gui-link:focus{text-decoration:underline}.gui-dark .gui-button.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-button.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-button.gui-outline.gui-badge{background:#121212}.gui-dark .gui-button.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-button.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-button.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-button.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-button.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-button.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}.gui-dark .gui-button:hover{background:#616161}.gui-dark .gui-button:active{background:#212121}.gui-dark .gui-button:disabled{opacity:.36}\\n\", \".gui-light .gui-button{background:#f6f5f4;border-color:#d8d7d6;color:#333;font-family:Roboto,Helvetica Neue,sans-serif}.gui-light .gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-light .gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-light .gui-button.gui-link:focus{text-decoration:underline}.gui-light .gui-button:hover{background:#ecebeb}.gui-light .gui-button:active{background:#f6f5f4}.gui-light .gui-button:disabled{opacity:.5}\\n\", \".gui-material .gui-button{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500;padding:10px 16px}.gui-material .gui-button.gui-outline:focus{box-shadow:0 0 0 1px #5262c5}.gui-material .gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 1px #6200ee}.gui-material .gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 1px #0097a7}.gui-material .gui-button.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-button.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-button.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-button.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-button.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-button.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-button.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-button.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-button.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-button.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-button.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-button.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-button.gui-link{background:transparent;border:0;color:#3949ab}.gui-material .gui-button.gui-link:hover{color:#4051bf}.gui-material .gui-button.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-button.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-button.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-button.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-button.gui-outline.gui-badge{background:#fff}.gui-material .gui-button.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-button.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-button.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-button.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-button.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-button.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}.gui-material .gui-button:hover{background:#5262c5}.gui-material .gui-button:active{background:#4051bf}.gui-material .gui-button:disabled{background:#c5cae9;color:#7885d2}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonComponent, decorators: [{\n type: Component,\n args: [{ selector: 'button[gui-button], a[gui-button]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-button]': 'true'\n }, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:start;align-items:flex-start;background:#e6e6e6;border-radius:4px;border-style:none;box-sizing:border-box;color:#595959;cursor:pointer;display:inline-block;font-family:Arial;font-size:13.3333px;letter-spacing:normal;outline:none;padding:10px 20px;text-align:center;text-indent:0;text-rendering:auto;text-shadow:none;text-transform:none;transition:background .2s;word-spacing:normal;-ms-writing-mode:lr-tb!important;writing-mode:horizontal-tb!important}.gui-button.gui-outline:focus{box-shadow:0 0 0 2px #d6d6d6}.gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 2px #439de1}.gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 2px #5ac88b}.gui-button.gui-primary{background:#2185d0;color:#fff}.gui-button.gui-primary.gui-outline{color:#2185d0}.gui-button.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-button.gui-primary:active{background:#1a69a4;color:#fff}.gui-button.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-button.gui-primary.gui-badge{background:#439de1}.gui-button.gui-secondary{background:#3cb371;color:#fff}.gui-button.gui-secondary.gui-outline{color:#3cb371}.gui-button.gui-secondary.gui-button:hover{background:#36a065}.gui-button.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-button.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-button.gui-secondary.gui-badge{background:#5ac88b}.gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-button.gui-link:focus{text-decoration:underline}.gui-button.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-button.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-button.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-button.gui-outline.gui-badge{background:#fff}.gui-button.gui-outline.gui-primary{border-color:#439de1}.gui-button.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-button.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-button.gui-outline.gui-secondary{border-color:#5ac88b}.gui-button.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-button.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}.gui-button.gui-text{background:transparent;border:0}.gui-button.gui-text:hover{background:#e6e6e6}.gui-button.gui-text:focus{background:#e6e6e6}.gui-button.gui-text.gui-primary{color:#2185d0}.gui-button.gui-text.gui-primary:hover{background:#2185d0;color:#fff}.gui-button.gui-text.gui-primary:focus{background:#2185d0;color:#fff}.gui-button.gui-text.gui-secondary{color:#3cb371}.gui-button.gui-text.gui-secondary:hover{background:#3cb371;color:#fff}.gui-button.gui-text.gui-secondary:focus{background:#3cb371;color:#fff}.gui-button.gui-text.gui-button:disabled{background:transparent}.gui-button.gui-text.gui-button:disabled .gui-text-disabled{display:inline-block}.gui-button:hover{background:#cccccc;color:#333}.gui-button:active{background:#999;color:#333}.gui-button:disabled{color:#ccc;cursor:default;pointer-events:none}\\n\", \".gui-dark .gui-button{background:#424242;color:#bdbdbd}.gui-dark .gui-button.gui-outline:focus{box-shadow:0 0 0 2px #616161}.gui-dark .gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 2px #ce93d8}.gui-dark .gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 2px #80cbc4}.gui-dark .gui-button.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-button.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-button.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-button.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-button.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-button.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-button.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-button.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-button.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-button.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-button.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-button.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-dark .gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-dark .gui-button.gui-link:focus{text-decoration:underline}.gui-dark .gui-button.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-button.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-button.gui-outline.gui-badge{background:#121212}.gui-dark .gui-button.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-button.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-button.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-button.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-button.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-button.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}.gui-dark .gui-button:hover{background:#616161}.gui-dark .gui-button:active{background:#212121}.gui-dark .gui-button:disabled{opacity:.36}\\n\", \".gui-light .gui-button{background:#f6f5f4;border-color:#d8d7d6;color:#333;font-family:Roboto,Helvetica Neue,sans-serif}.gui-light .gui-button.gui-link{background:transparent;border:0;color:#2185d0}.gui-light .gui-button.gui-link:hover{background:none;color:#1e77ba;text-decoration:underline}.gui-light .gui-button.gui-link:focus{text-decoration:underline}.gui-light .gui-button:hover{background:#ecebeb}.gui-light .gui-button:active{background:#f6f5f4}.gui-light .gui-button:disabled{opacity:.5}\\n\", \".gui-material .gui-button{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500;padding:10px 16px}.gui-material .gui-button.gui-outline:focus{box-shadow:0 0 0 1px #5262c5}.gui-material .gui-button.gui-outline.gui-primary:focus{box-shadow:0 0 0 1px #6200ee}.gui-material .gui-button.gui-outline.gui-secondary:focus{box-shadow:0 0 0 1px #0097a7}.gui-material .gui-button.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-button.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-button.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-button.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-button.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-button.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-button.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-button.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-button.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-button.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-button.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-button.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-button.gui-link{background:transparent;border:0;color:#3949ab}.gui-material .gui-button.gui-link:hover{color:#4051bf}.gui-material .gui-button.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-button.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-button.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-button.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-button.gui-outline.gui-badge{background:#fff}.gui-material .gui-button.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-button.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-button.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-button.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-button.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-button.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-button.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-button.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}.gui-material .gui-button:hover{background:#5262c5}.gui-material .gui-button:active{background:#4051bf}.gui-material .gui-button:disabled{background:#c5cae9;color:#7885d2}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { link: [{\n type: Input\n }], text: [{\n type: Input\n }] } });\n\nclass FabricButtonModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonModule, declarations: [FabricButtonComponent], imports: [CommonModule], exports: [FabricButtonComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricButtonComponent\n ],\n exports: [\n FabricButtonComponent\n ]\n }]\n }] });\n\nclass FabricButtonGroupComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricButtonGroupComponent, selector: \"gui-button-group\", host: { properties: { \"class.gui-button-group\": \"true\" } }, ngImport: i0, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-button-group{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-button-group .gui-button{border-radius:0}.gui-button-group .gui-button:not(:last-child){border-right:none;margin:0}.gui-button-group .gui-button:last-child{border-radius:0 4px 4px 0}.gui-button-group .gui-button:first-child{border-radius:4px 0 0 4px}.gui-button-group .gui-button-toggle .gui-button{border-radius:0}.gui-button-group .gui-button-toggle:not(:last-child) .gui-button{border-right:none;margin:0}.gui-button-group .gui-button-toggle:last-child .gui-button{border-radius:0 4px 4px 0}.gui-button-group .gui-button-toggle:first-child .gui-button{border-radius:4px 0 0 4px}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonGroupComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-button-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-button-group]': 'true'\n }, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-button-group{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-button-group .gui-button{border-radius:0}.gui-button-group .gui-button:not(:last-child){border-right:none;margin:0}.gui-button-group .gui-button:last-child{border-radius:0 4px 4px 0}.gui-button-group .gui-button:first-child{border-radius:4px 0 0 4px}.gui-button-group .gui-button-toggle .gui-button{border-radius:0}.gui-button-group .gui-button-toggle:not(:last-child) .gui-button{border-right:none;margin:0}.gui-button-group .gui-button-toggle:last-child .gui-button{border-radius:0 4px 4px 0}.gui-button-group .gui-button-toggle:first-child .gui-button{border-radius:4px 0 0 4px}\\n\"] }]\n }] });\n\nclass FabricButtonGroupModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonGroupModule, declarations: [FabricButtonGroupComponent], imports: [CommonModule], exports: [FabricButtonGroupComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonGroupModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricButtonGroupModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricButtonGroupComponent\n ],\n exports: [\n FabricButtonGroupComponent\n ]\n }]\n }] });\n\nclass FabricCardComponent {\n title = '';\n image;\n alt;\n contentBlock = [];\n isTitleEnabled() {\n return !!this.title;\n }\n isImgEnabled() {\n return !!this.image;\n }\n isContentBlockEnabled() {\n return !!this.contentBlock;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricCardComponent, selector: \"gui-card\", inputs: { title: \"title\", image: \"image\", alt: \"alt\", contentBlock: \"contentBlock\" }, host: { properties: { \"class.gui-card\": \"true\" } }, ngImport: i0, template: \"<div class=\\\"gui-card-body\\\">\\n\\n\\t<div class=\\\"gui-card-image-wrapper\\\">\\n\\t\\t<img [ngClass]=\\\"{'gui-card-img': isImgEnabled()}\\\"\\n\\t\\t\\t alt=\\\"{{alt}}\\\" src=\\\"{{image}}\\\"/>\\n\\t</div>\\n\\n\\t<div [ngClass]=\\\"{'gui-card-title': isTitleEnabled()}\\\">\\n\\t\\t{{title}}\\n\\t</div>\\n\\n\\t<div [ngClass]=\\\"{'gui-card-content-block': isContentBlockEnabled()}\\\">\\n\\t\\t<div\\n\\t\\t\\t*ngFor=\\\"let block of contentBlock\\\"\\n\\t\\t\\t[ngClass]=\\\"{'gui-card-content-block-item': isContentBlockEnabled()}\\\">\\n\\t\\t\\t{{block}}\\n\\t\\t</div>\\n\\t</div>\\n\\n\\t<div class=\\\"gui-content\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-card .gui-card-img{border-radius:4px 4px 0 0;height:auto;margin:0 0 12px;width:350px}.gui-card .gui-card-body{background:#fff;border-radius:4px;box-shadow:0 1px 3px #999;box-sizing:border-box;font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;margin:0;padding:0 0 20px;transition:transform .3s ease-in-out;width:350px}.gui-card .gui-card-body:hover{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.gui-card .gui-card-body .gui-card-title{font-size:20px;font-weight:700;margin:0 0 12px;padding:0 20px}.gui-card .gui-card-body .gui-card-content-block{margin:0 0 12px}.gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item{border-top-color:#d6d6d6;border-top-style:solid;border-top-width:1px;padding:12px 20px}.gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item:last-child{border-bottom-color:#d6d6d6;border-bottom-style:solid;border-bottom-width:1px}.gui-card .gui-card-body .gui-content{padding:0 20px}\\n\", \".gui-material .gui-card .gui-card-body{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-card .gui-card-body{background:#121212;border-color:#616161;color:#bdbdbd}.gui-dark .gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item{border-top-color:#616161}.gui-dark .gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item:last-child{border-bottom-color:#616161}.gui-dark .gui-content-block .gui-card-content-block{border-color:#616161}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCardComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-card', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-card]': 'true'\n }, template: \"<div class=\\\"gui-card-body\\\">\\n\\n\\t<div class=\\\"gui-card-image-wrapper\\\">\\n\\t\\t<img [ngClass]=\\\"{'gui-card-img': isImgEnabled()}\\\"\\n\\t\\t\\t alt=\\\"{{alt}}\\\" src=\\\"{{image}}\\\"/>\\n\\t</div>\\n\\n\\t<div [ngClass]=\\\"{'gui-card-title': isTitleEnabled()}\\\">\\n\\t\\t{{title}}\\n\\t</div>\\n\\n\\t<div [ngClass]=\\\"{'gui-card-content-block': isContentBlockEnabled()}\\\">\\n\\t\\t<div\\n\\t\\t\\t*ngFor=\\\"let block of contentBlock\\\"\\n\\t\\t\\t[ngClass]=\\\"{'gui-card-content-block-item': isContentBlockEnabled()}\\\">\\n\\t\\t\\t{{block}}\\n\\t\\t</div>\\n\\t</div>\\n\\n\\t<div class=\\\"gui-content\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-card .gui-card-img{border-radius:4px 4px 0 0;height:auto;margin:0 0 12px;width:350px}.gui-card .gui-card-body{background:#fff;border-radius:4px;box-shadow:0 1px 3px #999;box-sizing:border-box;font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;margin:0;padding:0 0 20px;transition:transform .3s ease-in-out;width:350px}.gui-card .gui-card-body:hover{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.gui-card .gui-card-body .gui-card-title{font-size:20px;font-weight:700;margin:0 0 12px;padding:0 20px}.gui-card .gui-card-body .gui-card-content-block{margin:0 0 12px}.gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item{border-top-color:#d6d6d6;border-top-style:solid;border-top-width:1px;padding:12px 20px}.gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item:last-child{border-bottom-color:#d6d6d6;border-bottom-style:solid;border-bottom-width:1px}.gui-card .gui-card-body .gui-content{padding:0 20px}\\n\", \".gui-material .gui-card .gui-card-body{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-card .gui-card-body{background:#121212;border-color:#616161;color:#bdbdbd}.gui-dark .gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item{border-top-color:#616161}.gui-dark .gui-card .gui-card-body .gui-card-content-block .gui-card-content-block-item:last-child{border-bottom-color:#616161}.gui-dark .gui-content-block .gui-card-content-block{border-color:#616161}\\n\"] }]\n }], propDecorators: { title: [{\n type: Input\n }], image: [{\n type: Input\n }], alt: [{\n type: Input\n }], contentBlock: [{\n type: Input\n }] } });\n\nclass FabricCardModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCardModule, declarations: [FabricCardComponent], imports: [CommonModule], exports: [FabricCardComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCardModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCardModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricCardComponent\n ],\n exports: [\n FabricCardComponent\n ]\n }]\n }] });\n\nclass FabricCheckboxComponent {\n elementRef;\n renderer;\n inputRef;\n name = '';\n inputChecked = false;\n disabled = false;\n readonly = false;\n indeterminate = false;\n changed = new EventEmitter();\n checked = false;\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n this.checked = this.inputChecked;\n if (changes['disabled']) {\n if (this.disabled) {\n this.renderer.addClass(this.elementRef.nativeElement, 'gui-disabled');\n }\n else {\n this.renderer.removeClass(this.elementRef.nativeElement, 'gui-disabled');\n }\n }\n if (changes['readonly']) {\n if (this.readonly) {\n this.renderer.addClass(this.elementRef.nativeElement, 'gui-readonly');\n }\n else {\n this.renderer.removeClass(this.elementRef.nativeElement, 'gui-readonly');\n }\n }\n if (changes['indeterminate']) {\n if (this.inputRef) {\n if (this.indeterminate) {\n this.inputRef.nativeElement.indeterminate = true;\n }\n else {\n this.inputRef.nativeElement.indeterminate = false;\n this.inputRef.nativeElement.checked = this.checked;\n }\n }\n }\n }\n ngAfterViewInit() {\n if (this.inputRef) {\n this.inputRef.nativeElement.indeterminate = this.indeterminate;\n }\n }\n check(event) {\n event.stopPropagation();\n this.checked = !this.checked;\n this.changed.emit(this.checked);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCheckboxComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricCheckboxComponent, selector: \"gui-checkbox\", inputs: { name: \"name\", inputChecked: [\"checked\", \"inputChecked\"], disabled: \"disabled\", readonly: \"readonly\", indeterminate: \"indeterminate\" }, outputs: { changed: \"changed\" }, host: { properties: { \"class.gui-checkbox\": \"true\" } }, viewQueries: [{ propertyName: \"inputRef\", first: true, predicate: [\"input\"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: \"<label>\\n\\t<input #input\\n\\t\\t (click)=\\\"check($event)\\\"\\n\\t\\t [attr.name]=\\\"name\\\"\\n\\t\\t [checked]=\\\"checked\\\"\\n\\t\\t [disabled]=\\\"disabled\\\"\\n\\t\\t type=\\\"checkbox\\\">\\n\\t<span class=\\\"gui-checkmark\\\"></span>\\n\\t<ng-content></ng-content>\\n</label>\\n\", styles: [\".gui-checkbox{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:24px;padding-left:32px;position:relative}.gui-checkbox label{cursor:pointer}.gui-checkbox label:hover .gui-checkmark{border-color:#999}.gui-checkbox input{height:0;opacity:0;position:absolute;width:0}.gui-checkbox .gui-checkmark{border-color:#575757;border-radius:4px;border-style:solid;border-width:2px;box-sizing:content-box;height:20px;left:0;position:absolute;width:20px}.gui-checkbox input:checked+.gui-checkmark{border-color:#575757}.gui-checkbox.gui-disabled.gui-checkbox{color:#ccc;pointer-events:none}.gui-checkbox.gui-readonly.gui-checkbox{pointer-events:none}.gui-checkbox .gui-checkmark:after{content:\\\" \\\";display:none;left:6px;position:absolute;-ms-transform:rotate(45deg);transform:rotate(45deg)}.gui-checkbox input:checked+.gui-checkmark:after{box-sizing:content-box;display:block}.gui-checkbox .gui-checkmark:after{border-color:#575757;border-style:solid;border-width:0 3.2px 3.2px 0;height:12px;width:5.2px}.gui-checkbox input:indeterminate+.gui-checkmark:after{display:block;height:10px;left:9px;top:4px;-ms-transform:rotate(90deg);transform:rotate(90deg);width:0}\\n\", \".gui-material .gui-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.gui-material .gui-checkbox input:focus+.gui-checkmark{border-color:#3949ab}.gui-material .gui-checkbox label:hover .gui-checkmark{border-color:#575757}.gui-material .gui-checkbox .gui-checkmark{border-color:#999}.gui-material .gui-checkbox input:checked+.gui-checkmark{background:#3949ab;border-color:#3949ab}.gui-material .gui-checkbox .gui-checkmark:after{border-color:#fff}.gui-material .gui-checkbox.gui-indeterminate .gui-checkmark{background:#3949ab;border-color:#3949ab}\\n\", \".gui-dark .gui-checkbox{color:#bdbdbd}.gui-dark .gui-checkbox .gui-checkmark{border-color:#878787}.gui-dark .gui-checkbox input:checked+.gui-checkmark{border-color:#878787}.gui-dark .gui-checkbox .gui-checkmark:after{border-color:#878787}.gui-dark .gui-checkbox.gui-disabled.gui-checkbox{opacity:.36}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCheckboxComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-checkbox]': 'true'\n }, template: \"<label>\\n\\t<input #input\\n\\t\\t (click)=\\\"check($event)\\\"\\n\\t\\t [attr.name]=\\\"name\\\"\\n\\t\\t [checked]=\\\"checked\\\"\\n\\t\\t [disabled]=\\\"disabled\\\"\\n\\t\\t type=\\\"checkbox\\\">\\n\\t<span class=\\\"gui-checkmark\\\"></span>\\n\\t<ng-content></ng-content>\\n</label>\\n\", styles: [\".gui-checkbox{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:24px;padding-left:32px;position:relative}.gui-checkbox label{cursor:pointer}.gui-checkbox label:hover .gui-checkmark{border-color:#999}.gui-checkbox input{height:0;opacity:0;position:absolute;width:0}.gui-checkbox .gui-checkmark{border-color:#575757;border-radius:4px;border-style:solid;border-width:2px;box-sizing:content-box;height:20px;left:0;position:absolute;width:20px}.gui-checkbox input:checked+.gui-checkmark{border-color:#575757}.gui-checkbox.gui-disabled.gui-checkbox{color:#ccc;pointer-events:none}.gui-checkbox.gui-readonly.gui-checkbox{pointer-events:none}.gui-checkbox .gui-checkmark:after{content:\\\" \\\";display:none;left:6px;position:absolute;-ms-transform:rotate(45deg);transform:rotate(45deg)}.gui-checkbox input:checked+.gui-checkmark:after{box-sizing:content-box;display:block}.gui-checkbox .gui-checkmark:after{border-color:#575757;border-style:solid;border-width:0 3.2px 3.2px 0;height:12px;width:5.2px}.gui-checkbox input:indeterminate+.gui-checkmark:after{display:block;height:10px;left:9px;top:4px;-ms-transform:rotate(90deg);transform:rotate(90deg);width:0}\\n\", \".gui-material .gui-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.gui-material .gui-checkbox input:focus+.gui-checkmark{border-color:#3949ab}.gui-material .gui-checkbox label:hover .gui-checkmark{border-color:#575757}.gui-material .gui-checkbox .gui-checkmark{border-color:#999}.gui-material .gui-checkbox input:checked+.gui-checkmark{background:#3949ab;border-color:#3949ab}.gui-material .gui-checkbox .gui-checkmark:after{border-color:#fff}.gui-material .gui-checkbox.gui-indeterminate .gui-checkmark{background:#3949ab;border-color:#3949ab}\\n\", \".gui-dark .gui-checkbox{color:#bdbdbd}.gui-dark .gui-checkbox .gui-checkmark{border-color:#878787}.gui-dark .gui-checkbox input:checked+.gui-checkmark{border-color:#878787}.gui-dark .gui-checkbox .gui-checkmark:after{border-color:#878787}.gui-dark .gui-checkbox.gui-disabled.gui-checkbox{opacity:.36}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { inputRef: [{\n type: ViewChild,\n args: ['input', { read: ElementRef, static: false }]\n }], name: [{\n type: Input\n }], inputChecked: [{\n type: Input,\n args: ['checked']\n }], disabled: [{\n type: Input\n }], readonly: [{\n type: Input\n }], indeterminate: [{\n type: Input\n }], changed: [{\n type: Output\n }] } });\n\nclass FabricCheckboxModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCheckboxModule, declarations: [FabricCheckboxComponent], imports: [CommonModule], exports: [FabricCheckboxComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCheckboxModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCheckboxModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricCheckboxComponent\n ],\n exports: [\n FabricCheckboxComponent\n ]\n }]\n }] });\n\nclass FabricChipComponent extends Indicator {\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricChipComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricChipComponent, selector: \"gui-chip\", host: { properties: { \"class.gui-chip\": \"true\" } }, usesInheritance: true, ngImport: i0, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-chip{background:#e6e6e6;border-radius:4px;box-sizing:border-box;color:#595959;display:inline-block;font-family:Arial;font-size:14px;font-weight:700;margin:0 2px;padding:9.6px 12px}.gui-chip.gui-primary{background:#2185d0;color:#fff}.gui-chip.gui-primary.gui-outline{color:#2185d0}.gui-chip.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-chip.gui-primary:active{background:#1a69a4;color:#fff}.gui-chip.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-chip.gui-primary.gui-badge{background:#439de1}.gui-chip.gui-secondary{background:#3cb371;color:#fff}.gui-chip.gui-secondary.gui-outline{color:#3cb371}.gui-chip.gui-secondary.gui-button:hover{background:#36a065}.gui-chip.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-chip.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-chip.gui-secondary.gui-badge{background:#5ac88b}.gui-chip.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-chip.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-chip.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-chip.gui-outline.gui-badge{background:#fff}.gui-chip.gui-outline.gui-primary{border-color:#439de1}.gui-chip.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-chip.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-chip.gui-outline.gui-secondary{border-color:#5ac88b}.gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-chip.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}\\n\", \".gui-material .gui-chip{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500;padding:10px 16px}.gui-material .gui-chip.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-chip.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-chip.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-chip.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-chip.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-chip.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-chip.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-chip.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-chip.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-chip.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-chip.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-chip.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-chip.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-chip.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-chip.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-chip.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-chip.gui-outline.gui-badge{background:#fff}.gui-material .gui-chip.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-chip.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-chip.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-chip.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}\\n\", \".gui-dark .gui-chip{background:#333;color:#bdbdbd}.gui-dark .gui-chip.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-chip.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-chip.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-chip.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-chip.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-chip.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-chip.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-chip.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-chip.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-chip.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-chip.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-chip.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-chip.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-chip.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-chip.gui-outline.gui-badge{background:#121212}.gui-dark .gui-chip.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-chip.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-chip.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-chip.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}\\n\", \".gui-light .gui-chip{background:#f6f5f4;border-color:#333;border-style:solid;border-width:1px;color:#333}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricChipComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-chip', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-chip]': 'true'\n }, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-chip{background:#e6e6e6;border-radius:4px;box-sizing:border-box;color:#595959;display:inline-block;font-family:Arial;font-size:14px;font-weight:700;margin:0 2px;padding:9.6px 12px}.gui-chip.gui-primary{background:#2185d0;color:#fff}.gui-chip.gui-primary.gui-outline{color:#2185d0}.gui-chip.gui-primary:hover:not(.gui-chip,.gui-badge){background:#1e77ba}.gui-chip.gui-primary:active{background:#1a69a4;color:#fff}.gui-chip.gui-primary:disabled{background:#6fb4e8;color:#439de1}.gui-chip.gui-primary.gui-badge{background:#439de1}.gui-chip.gui-secondary{background:#3cb371;color:#fff}.gui-chip.gui-secondary.gui-outline{color:#3cb371}.gui-chip.gui-secondary.gui-button:hover{background:#36a065}.gui-chip.gui-secondary.gui-button:active{background:#32945e;color:#fff}.gui-chip.gui-secondary.gui-button:disabled{background:#80d5a6;color:#5ac88b}.gui-chip.gui-secondary.gui-badge{background:#5ac88b}.gui-chip.gui-outline{background:transparent;color:#999;border-color:#d6d6d6;border-style:solid;border-width:1px}.gui-chip.gui-outline.gui-button:hover{background:#cccccc;color:#fff}.gui-chip.gui-outline.gui-button:disabled{border-color:#ccc;color:#ccc}.gui-chip.gui-outline.gui-badge{background:#fff}.gui-chip.gui-outline.gui-primary{border-color:#439de1}.gui-chip.gui-outline.gui-primary.gui-button:hover{background:#2185d0;border-color:#2185d0}.gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#6fb4e8;color:#6fb4e8}.gui-chip.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#439de1;color:#439de1}.gui-chip.gui-outline.gui-secondary{border-color:#5ac88b}.gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#3cb371;border-color:#3cb371}.gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#80d5a6;color:#80d5a6}.gui-chip.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#5ac88b;color:#5ac88b}\\n\", \".gui-material .gui-chip{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500;padding:10px 16px}.gui-material .gui-chip.gui-primary{background:#6200ee;color:#fff}.gui-material .gui-chip.gui-primary.gui-outline{color:#6200ee}.gui-material .gui-chip.gui-primary.gui-button:hover{background:#974dff}.gui-material .gui-chip.gui-primary.gui-button:active{background:#791aff;color:#fff}.gui-material .gui-chip.gui-primary.gui-button:disabled{background:#d1c4e9;color:#7d22ff}.gui-material .gui-chip.gui-primary.gui-badge{background:#6200ee}.gui-material .gui-chip.gui-secondary{background:#0097a7;color:#fff}.gui-material .gui-chip.gui-secondary.gui-outline{color:#0097a7}.gui-material .gui-chip.gui-secondary.gui-button:hover{background:#00a1b3}.gui-material .gui-chip.gui-secondary.gui-button:active{background:#00808e;color:#fff}.gui-material .gui-chip.gui-secondary.gui-button:disabled{background:#b2ebf2;color:#00c5da}.gui-material .gui-chip.gui-secondary.gui-badge{background:#0097a7}.gui-material .gui-chip.gui-outline{background:transparent;color:#3949ab;border-color:#5262c5}.gui-material .gui-chip.gui-outline.gui-button:hover{background:#e8eaf6;color:#3949ab}.gui-material .gui-chip.gui-outline.gui-button:active{background:#c5cae9}.gui-material .gui-chip.gui-outline.gui-button:disabled{border-color:#c5cae9;color:#c5cae9}.gui-material .gui-chip.gui-outline.gui-badge{background:#fff}.gui-material .gui-chip.gui-outline.gui-primary{border-color:#6200ee}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:hover{background:#ede7f6;border-color:#6200ee;color:#6200ee}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:active{background:#d1c4e9}.gui-material .gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#d1c4e9;color:#d1c4e9}.gui-material .gui-chip.gui-outline.gui-primary.gui-badge{background:#fff;border-color:#6200ee;color:#7d22ff}.gui-material .gui-chip.gui-outline.gui-secondary{border-color:#0097a7}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#e0f7fa;border-color:#0097a7;color:#0097a7}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:active{background:#b2ebf2}.gui-material .gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-material .gui-chip.gui-outline.gui-secondary.gui-badge{background:#fff;border-color:#0097a7;color:#0097a7}\\n\", \".gui-dark .gui-chip{background:#333;color:#bdbdbd}.gui-dark .gui-chip.gui-primary{background:#ce93d8;color:#212121}.gui-dark .gui-chip.gui-primary.gui-outline{color:#ce93d8}.gui-dark .gui-chip.gui-primary.gui-button:hover{background:#c680d1}.gui-dark .gui-chip.gui-primary.gui-button:active{background:#b55bc4;color:#212121}.gui-dark .gui-chip.gui-primary.gui-button:disabled{background:#ce93d8;color:#212121;opacity:.5}.gui-dark .gui-chip.gui-primary.gui-badge{background:#dfb8e6}.gui-dark .gui-chip.gui-secondary{background:#80cbc4;color:#212121}.gui-dark .gui-chip.gui-secondary.gui-outline{color:#80cbc4}.gui-dark .gui-chip.gui-secondary.gui-button:hover{background:#6ec4bc}.gui-dark .gui-chip.gui-secondary.gui-button:active{background:#26a69a;color:#212121}.gui-dark .gui-chip.gui-secondary.gui-button:disabled{background:#80cbc4;color:#212121;opacity:.5}.gui-dark .gui-chip.gui-secondary.gui-badge{background:#a4dad5}.gui-dark .gui-chip.gui-outline{background:transparent;color:#bdbdbd;border-color:#616161;border-style:solid;border-width:1px}.gui-dark .gui-chip.gui-outline.gui-button:hover{background:#616161;color:#bdbdbd}.gui-dark .gui-chip.gui-outline.gui-badge{background:#121212}.gui-dark .gui-chip.gui-outline.gui-primary{border-color:#ce93d8}.gui-dark .gui-chip.gui-outline.gui-primary.gui-button:hover{background:#ce93d8;border-color:#ce93d8;color:#212121}.gui-dark .gui-chip.gui-outline.gui-primary.gui-button:disabled{background:transparent;border-color:#f0def3;color:#f0def3}.gui-dark .gui-chip.gui-outline.gui-primary.gui-badge{background:#121212;border-color:#ce93d8;color:#dfb8e6}.gui-dark .gui-chip.gui-outline.gui-secondary{border-color:#80cbc4}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-button:hover{background:#80cbc4;border-color:#80cbc4;color:#212121}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-button:disabled{background:transparent;border-color:#b2ebf2;color:#b2ebf2}.gui-dark .gui-chip.gui-outline.gui-secondary.gui-badge{background:#121212;border-color:#80cbc4;color:#80cbc4}\\n\", \".gui-light .gui-chip{background:#f6f5f4;border-color:#333;border-style:solid;border-width:1px;color:#333}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });\n\nclass FabricChipModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricChipModule, declarations: [FabricChipComponent], imports: [CommonModule], exports: [FabricChipComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricChipModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricChipModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricChipComponent\n ],\n exports: [\n FabricChipComponent\n ]\n }]\n }] });\n\nclass FabricReactive {\n unsubscribe$ = new Subject();\n constructor() {\n }\n ngOnDestroy() {\n this.unsubscribe();\n }\n unsubscribe() {\n if (this.unsubscribe$.isStopped) {\n return;\n }\n this.unsubscribe$.next();\n this.unsubscribe$.complete();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricReactive, deps: [], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricReactive, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricReactive, decorators: [{\n type: Directive\n }], ctorParameters: () => [] });\n\nvar FabricCalendarView;\n(function (FabricCalendarView) {\n FabricCalendarView[FabricCalendarView[\"DAYS\"] = 0] = \"DAYS\";\n FabricCalendarView[FabricCalendarView[\"MONTHS\"] = 1] = \"MONTHS\";\n FabricCalendarView[FabricCalendarView[\"YEARS\"] = 2] = \"YEARS\";\n})(FabricCalendarView || (FabricCalendarView = {}));\n\nvar FabricDatePickerComposition;\n(function (FabricDatePickerComposition) {\n FabricDatePickerComposition[FabricDatePickerComposition[\"NONE\"] = 0] = \"NONE\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"DATE_PICKER\"] = 1] = \"DATE_PICKER\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER\"] = 2] = \"TIME_PICKER\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER_HOURS\"] = 4] = \"TIME_PICKER_HOURS\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER_MINUTES\"] = 8] = \"TIME_PICKER_MINUTES\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER_SECONDS\"] = 16] = \"TIME_PICKER_SECONDS\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"TIME_PICKER_MERIDIAN\"] = 32] = \"TIME_PICKER_MERIDIAN\";\n FabricDatePickerComposition[FabricDatePickerComposition[\"ALL\"] = 63] = \"ALL\";\n})(FabricDatePickerComposition || (FabricDatePickerComposition = {}));\n\nconst FabricDatePickerDefaultActiveMonth = new Date().getMonth();\nconst FabricDatePickerDefaultActiveYear = new Date().getFullYear();\n\nclass FabricDatePickerService {\n selectedDate = new Date();\n selectedTime;\n selectedDate$ = new BehaviorSubject(this.selectedDate);\n observeSelectedDate() {\n return this.selectedDate$.asObservable();\n }\n dateSelected(date) {\n this.selectedDate = new Date(date.getTime());\n this.setSelectedDateTime();\n this.selectedDate$.next(this.selectedDate);\n }\n changeTime(timeValues, date) {\n this.selectedTime = timeValues;\n if (!this.selectedDate) {\n this.selectedDate = date;\n }\n this.setSelectedDateTime();\n }\n next() {\n this.dateSelected(this.selectedDate);\n }\n setSelectedDateTime() {\n if (this.selectedTime) {\n this.selectedDate.setHours(this.selectedTime.hours);\n this.selectedDate.setMinutes(this.selectedTime.minutes);\n this.selectedDate.setSeconds(this.selectedTime.seconds);\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerService, decorators: [{\n type: Injectable\n }] });\n\nclass FabricDatePickerCompositionService {\n datePickerFormat$ = new BehaviorSubject(FabricDatePickerComposition.DATE_PICKER);\n onComposition() {\n return this.datePickerFormat$.asObservable();\n }\n next(datePipeOptions) {\n this.datePickerFormat$.next(this.getComposition(datePipeOptions));\n }\n getComposition(datePipeOptions) {\n const removeDoubles = datePipeOptions.split(':').join(' '), removeDash = removeDoubles.split('/').join(' '), removeDot = removeDash.split('.').join(' '), removeComa = removeDot.split(',').join(' '), formatArray = removeComa.split(' ');\n let composition = FabricDatePickerComposition.NONE;\n formatArray.forEach((formatItem) => {\n const isDays = formatItem.toLowerCase().includes('d'), isMonths = formatItem.includes('M'), isYears = formatItem.toLowerCase().includes('y'), showHours = formatItem.toLowerCase().includes('h'), showMinutes = formatItem.includes('m'), showSeconds = formatItem.toLowerCase().includes('s'), isMeridian = formatItem.includes('h'), showDatePicker = isDays || isMonths || isYears, showTimePicker = showHours || showMinutes || showSeconds;\n if (showDatePicker) {\n composition = composition | FabricDatePickerComposition.DATE_PICKER;\n }\n if (showTimePicker) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER;\n }\n if (isMeridian) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER_MERIDIAN;\n }\n if (showHours) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER_HOURS;\n }\n if (showMinutes) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER_MINUTES;\n }\n if (showSeconds) {\n composition = composition | FabricDatePickerComposition.TIME_PICKER_SECONDS;\n }\n });\n return composition;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCompositionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCompositionService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCompositionService, decorators: [{\n type: Injectable\n }] });\n\nclass FabricDatePickerWeeks {\n weeks = [];\n getDaysInMonths(year, month) {\n this.resetWeeks();\n const numberOfDaysInMonth = (new Date(year, month + 1, 0)).getDate();\n for (let i = 1; i <= numberOfDaysInMonth; i++) {\n this.createWeeks(new Date(year, month, i));\n }\n return this.weeks;\n }\n createWeeks(date) {\n const day = date.getDate(), maxWeekNumber = 6;\n for (let i = 0; i < maxWeekNumber; i++) {\n if (day === 1) {\n this.addDaysToWeek(i, date);\n }\n else if (this.canAddDaysToWeek(i, day)) {\n this.addDaysToWeek(i, this.getLastDayDate(this.weeks[i - 1]));\n }\n }\n this.weeks = [this.weeks[0], this.weeks[1], this.weeks[2], this.weeks[3], this.weeks[4], this.weeks[5]];\n }\n addDaysToWeek(weekNumber, date) {\n const week = this.weeks[weekNumber];\n for (let i = 1; i <= 7; i++) {\n const isFirstDaySunday = date.getDay() === 0 && this.weeks[0].length === 0;\n let day;\n if (isFirstDaySunday) {\n day = date.getDate() - 6;\n }\n else {\n day = date.getDate() - date.getDay() + i;\n }\n const dayOfWeek = new Date(date.setDate(day));\n if (week.length < 7) {\n week.push(dayOfWeek);\n }\n }\n }\n getLastDayNumber(week) {\n if (week.length === 7) {\n return week[week.length - 1].getDate();\n }\n return 0;\n }\n getLastDayDate(week) {\n const lastDay = week[week.length - 1].getDate();\n return new Date(week[week.length - 1].setDate(lastDay));\n }\n canAddDaysToWeek(weekNumber, day) {\n return this.weeks[weekNumber].length === 0\n && this.weeks[weekNumber - 1].length === 7\n && day > this.getLastDayNumber(this.weeks[weekNumber - 1]);\n }\n resetWeeks() {\n this.weeks = [];\n this.weeks[0] = [];\n this.weeks[1] = [];\n this.weeks[2] = [];\n this.weeks[3] = [];\n this.weeks[4] = [];\n this.weeks[5] = [];\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerWeeks, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerWeeks });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerWeeks, decorators: [{\n type: Injectable\n }] });\n\nclass FabricDatePickerYears {\n rowsForDisplay = [];\n minYear = 0;\n maxYear = 0;\n selectedYear = 0;\n inc = 10;\n getYears(selectedYear) {\n this.minYear = selectedYear - 50;\n this.maxYear = selectedYear + 50;\n const yearsRange = this.maxYear - this.minYear;\n let years = [], rows = [];\n years = this.createYearsPool(this.minYear, yearsRange, years);\n rows = this.divideYearsPool(years, rows);\n return this.rowsForDisplay = this.createRowsForDisplay(rows, selectedYear);\n }\n prevYearRange(year) {\n if (!this.selectedYear) {\n this.selectedYear = year;\n }\n if (this.selectedYear > this.minYear) {\n this.selectedYear -= this.inc;\n }\n if (this.selectedYear > this.minYear) {\n return this.getYears(this.selectedYear);\n }\n else {\n return this.rowsForDisplay;\n }\n }\n nextYearRange(year) {\n if (!this.selectedYear) {\n this.selectedYear = year;\n }\n if (this.selectedYear < this.maxYear) {\n this.selectedYear += this.inc;\n }\n if (this.selectedYear < this.maxYear) {\n return this.getYears(this.selectedYear);\n }\n else {\n return this.rowsForDisplay;\n }\n }\n createYearsPool(minYear, yearsRange, years) {\n for (let i = 0; i <= yearsRange; i++) {\n years.push(minYear + i);\n }\n return years;\n }\n divideYearsPool(years, rows) {\n for (let i = 0; i < years.length; i += 5) {\n rows.push(years.slice(i, i + 5));\n }\n return rows;\n }\n createRowsForDisplay(rows, selectedYear) {\n if (selectedYear >= this.minYear || selectedYear <= this.maxYear) {\n for (let i = 0; i < rows.length; i++) {\n if (rows[i].indexOf(selectedYear) > -1) {\n if (!rows[i - 1]) {\n return [rows[i], rows[i + 1], rows[i + 2], rows[i + 3], rows[i + 4]];\n }\n if (!rows[i - 2]) {\n return [rows[i - 1], rows[i], rows[i + 1], rows[i + 2], rows[i + 3]];\n }\n if (!rows[i + 1]) {\n return [rows[i - 4], rows[i - 3], rows[i - 2], rows[i - 1], rows[i]];\n }\n if (!rows[i + 2]) {\n return [rows[i - 3], rows[i - 2], rows[i - 1], rows[i], rows[i + 1]];\n }\n return this.rowsForDisplay = [rows[i - 2], rows[i - 1], rows[i], rows[i + 1], rows[i + 2]];\n }\n }\n }\n return [[]];\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerYears, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerYears });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerYears, decorators: [{\n type: Injectable\n }] });\n\nclass FabricDatePickerYearsService {\n years$ = new Subject();\n onYears() {\n return this.years$.asObservable();\n }\n next(years) {\n this.years$.next(years);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerYearsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerYearsService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerYearsService, decorators: [{\n type: Injectable\n }] });\n\nclass FabricDatePickerCalendarService {\n activeMonth$ = new Subject();\n activeYear$ = new Subject();\n onActiveMonth() {\n return this.activeMonth$.asObservable();\n }\n onActiveYear() {\n return this.activeYear$.asObservable();\n }\n nextMonth(year, month) {\n if (month === 11) {\n this.activeYear$.next(year + 1);\n this.selectMonth(0);\n }\n else {\n this.selectMonth(month + 1);\n }\n }\n prevMonth(year, month) {\n if (month === 0) {\n this.activeYear$.next(year - 1);\n this.selectMonth(11);\n }\n else {\n this.selectMonth(month - 1);\n }\n }\n selectYear(year) {\n this.activeYear$.next(year);\n }\n selectMonth(month) {\n this.activeMonth$.next(month);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCalendarService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCalendarService, decorators: [{\n type: Injectable\n }] });\n\nclass FabricDatePickerCalendarViewService {\n activeView$ = new Subject();\n onActiveView() {\n return this.activeView$.asObservable();\n }\n switchView(viewName) {\n this.activeView$.next(viewName);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCalendarViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCalendarViewService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCalendarViewService, decorators: [{\n type: Injectable\n }] });\n\nconst daysOfTheWeek = [\n 'Mo',\n 'Tu',\n 'We',\n 'Th',\n 'Fr',\n 'Sa',\n 'Su'\n];\n\nclass FabricDateUtils {\n static areDatesSame(firstDay, secondDate) {\n return firstDay && secondDate &&\n firstDay.getDate() === secondDate.getDate() &&\n firstDay.getMonth() === secondDate.getMonth() &&\n firstDay.getFullYear() === secondDate.getFullYear();\n }\n static isMonth(date, month, year) {\n return date.getMonth() === month &&\n date.getFullYear() === year;\n }\n}\n\nclass FabricDatePickerDaysViewComponent {\n datePickerService;\n selectedDate;\n activeMonth = FabricDatePickerDefaultActiveMonth;\n weeks = [];\n daysOfTheWeek = daysOfTheWeek;\n currentDay = new Date();\n constructor(datePickerService) {\n this.datePickerService = datePickerService;\n }\n selectDate(date) {\n this.datePickerService.dateSelected(date);\n }\n isDate(comparedDate, date) {\n return FabricDateUtils.areDatesSame(comparedDate, date);\n }\n displayMonthDays(month) {\n return month === this.activeMonth;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerDaysViewComponent, deps: [{ token: FabricDatePickerService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDatePickerDaysViewComponent, selector: \"gui-date-picker-days-view\", inputs: { selectedDate: \"selectedDate\", activeMonth: \"activeMonth\", weeks: \"weeks\" }, ngImport: i0, template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6\\\">\\n\\n\\t<div class=\\\"gui-display-grid gui-grid-cols-7 gui-py-4 gui-date-picker-header\\\">\\n\\t\\t<div *ngFor=\\\"let dayOfTheWeek of daysOfTheWeek\\\">{{dayOfTheWeek}}</div>\\n\\t</div>\\n\\n\\t<div *ngFor=\\\"let week of weeks\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-7\\\">\\n\\n\\t\\t<div (click)=\\\"selectDate(day)\\\"\\n\\t\\t\\t *ngFor=\\\"let day of week\\\"\\n\\t\\t\\t [class.gui-date-picker-current-day]=\\\"isDate(currentDay, day)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-day]=\\\"isDate(selectedDate, day)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-month]=\\\"displayMonthDays(day.getMonth())\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-day\\\">\\n\\t\\t\\t{{day.getDate()}}\\n\\t\\t</div>\\n\\n\\t</div>\\n</div>\\n\", dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerDaysViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-date-picker-days-view', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6\\\">\\n\\n\\t<div class=\\\"gui-display-grid gui-grid-cols-7 gui-py-4 gui-date-picker-header\\\">\\n\\t\\t<div *ngFor=\\\"let dayOfTheWeek of daysOfTheWeek\\\">{{dayOfTheWeek}}</div>\\n\\t</div>\\n\\n\\t<div *ngFor=\\\"let week of weeks\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-7\\\">\\n\\n\\t\\t<div (click)=\\\"selectDate(day)\\\"\\n\\t\\t\\t *ngFor=\\\"let day of week\\\"\\n\\t\\t\\t [class.gui-date-picker-current-day]=\\\"isDate(currentDay, day)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-day]=\\\"isDate(selectedDate, day)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-month]=\\\"displayMonthDays(day.getMonth())\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-day\\\">\\n\\t\\t\\t{{day.getDate()}}\\n\\t\\t</div>\\n\\n\\t</div>\\n</div>\\n\" }]\n }], ctorParameters: () => [{ type: FabricDatePickerService }], propDecorators: { selectedDate: [{\n type: Input\n }], activeMonth: [{\n type: Input\n }], weeks: [{\n type: Input\n }] } });\n\nconst monthsPerQuarters = [\n [{ nr: 0, name: 'Jan' }, { nr: 1, name: 'Feb' }, { nr: 2, name: 'Mar' }],\n [{ nr: 3, name: 'Apr' }, { nr: 4, name: 'May' }, { nr: 5, name: 'Jun' }],\n [{ nr: 6, name: 'Jul' }, { nr: 7, name: 'Aug' }, { nr: 8, name: 'Sep' }],\n [{ nr: 9, name: 'Oct' }, { nr: 10, name: 'Nov' }, { nr: 11, name: 'Dec' }]\n];\n\nclass FabricDatePickerMonthsViewComponent {\n calendarService;\n calendarViewService;\n selectedDate;\n activeYear = FabricDatePickerDefaultActiveYear;\n currentDay = new Date();\n monthsPerQuarters = monthsPerQuarters;\n constructor(calendarService, calendarViewService) {\n this.calendarService = calendarService;\n this.calendarViewService = calendarViewService;\n }\n isMonth(date, month) {\n return FabricDateUtils.isMonth(date, month, this.activeYear);\n }\n selectMonth(month) {\n this.calendarService.selectMonth(month);\n this.calendarViewService.switchView(FabricCalendarView.DAYS);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerMonthsViewComponent, deps: [{ token: FabricDatePickerCalendarService }, { token: FabricDatePickerCalendarViewService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDatePickerMonthsViewComponent, selector: \"gui-date-picker-months-view\", inputs: { selectedDate: \"selectedDate\", activeYear: \"activeYear\" }, ngImport: i0, template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6 gui-date-picker-view-border-top\\\">\\n\\t<div *ngFor=\\\"let quarter of monthsPerQuarters\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-3\\\">\\n\\t\\t<div (click)=\\\"selectMonth(month.nr)\\\"\\n\\t\\t\\t *ngFor=\\\"let month of quarter\\\"\\n\\t\\t\\t [class.gui-date-picker-current-month]=\\\"isMonth(currentDay, month.nr)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-month]=\\\"isMonth(selectedDate, month.nr)\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-month\\\">\\n\\t\\t\\t{{month.name}}\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n\", dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerMonthsViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-date-picker-months-view', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6 gui-date-picker-view-border-top\\\">\\n\\t<div *ngFor=\\\"let quarter of monthsPerQuarters\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-3\\\">\\n\\t\\t<div (click)=\\\"selectMonth(month.nr)\\\"\\n\\t\\t\\t *ngFor=\\\"let month of quarter\\\"\\n\\t\\t\\t [class.gui-date-picker-current-month]=\\\"isMonth(currentDay, month.nr)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-month]=\\\"isMonth(selectedDate, month.nr)\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-month\\\">\\n\\t\\t\\t{{month.name}}\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n\" }]\n }], ctorParameters: () => [{ type: FabricDatePickerCalendarService }, { type: FabricDatePickerCalendarViewService }], propDecorators: { selectedDate: [{\n type: Input\n }], activeYear: [{\n type: Input\n }] } });\n\nclass FabricDatePickerYearsComponent {\n calendarService;\n calendarViewService;\n selectedDate;\n years = [];\n currentDay = new Date();\n constructor(calendarService, calendarViewService) {\n this.calendarService = calendarService;\n this.calendarViewService = calendarViewService;\n }\n selectYear(year) {\n this.calendarService.selectYear(year);\n this.calendarViewService.switchView(FabricCalendarView.MONTHS);\n }\n isYear(date, year) {\n if (date) {\n return date.getFullYear() === year;\n }\n return false;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerYearsComponent, deps: [{ token: FabricDatePickerCalendarService }, { token: FabricDatePickerCalendarViewService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDatePickerYearsComponent, selector: \"gui-date-picker-years-view\", inputs: { selectedDate: \"selectedDate\", years: \"years\" }, ngImport: i0, template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6 gui-date-picker-view-border-top\\\">\\n\\t<div *ngFor=\\\"let yearsChunk of years\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-5\\\">\\n\\t\\t<div (click)=\\\"selectYear(year)\\\"\\n\\t\\t\\t *ngFor=\\\"let year of yearsChunk\\\"\\n\\t\\t\\t [class.gui-date-picker-current-year]=\\\"isYear(currentDay, year)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-year]=\\\"isYear(selectedDate, year)\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-year\\\">\\n\\t\\t\\t{{year}}\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n\", dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerYearsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-date-picker-years-view', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"gui-display-grid gui-grid-rows-gap-8 gui-py-6 gui-date-picker-view-border-top\\\">\\n\\t<div *ngFor=\\\"let yearsChunk of years\\\"\\n\\t\\t class=\\\"gui-display-grid gui-grid-cols-5\\\">\\n\\t\\t<div (click)=\\\"selectYear(year)\\\"\\n\\t\\t\\t *ngFor=\\\"let year of yearsChunk\\\"\\n\\t\\t\\t [class.gui-date-picker-current-year]=\\\"isYear(currentDay, year)\\\"\\n\\t\\t\\t [class.gui-date-picker-selected-year]=\\\"isYear(selectedDate, year)\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-cell gui-date-picker-year\\\">\\n\\t\\t\\t{{year}}\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n\" }]\n }], ctorParameters: () => [{ type: FabricDatePickerCalendarService }, { type: FabricDatePickerCalendarViewService }], propDecorators: { selectedDate: [{\n type: Input\n }], years: [{\n type: Input\n }] } });\n\nvar FabricCalendarCardView;\n(function (FabricCalendarCardView) {\n FabricCalendarCardView[FabricCalendarCardView[\"NEXT\"] = 0] = \"NEXT\";\n FabricCalendarCardView[FabricCalendarCardView[\"PREV\"] = 1] = \"PREV\";\n})(FabricCalendarCardView || (FabricCalendarCardView = {}));\n\nvar Direction;\n(function (Direction) {\n Direction[Direction[\"TOP\"] = -90] = \"TOP\";\n Direction[Direction[\"BOTTOM\"] = 90] = \"BOTTOM\";\n Direction[Direction[\"LEFT\"] = 180] = \"LEFT\";\n Direction[Direction[\"RIGHT\"] = 0] = \"RIGHT\";\n})(Direction || (Direction = {}));\n\nconst months = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December'\n];\n\nclass FabricArrowIconComponent {\n direction = Direction.RIGHT;\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricArrowIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricArrowIconComponent, selector: \"gui-arrow-icon\", inputs: { direction: \"direction\" }, host: { properties: { \"class.gui-arrow-icon\": \"true\", \"class.gui-icon\": \"true\" } }, ngImport: i0, template: \"<svg [style.transform]=\\\"'rotate(' + direction + 'deg)'\\\"\\n\\t height=\\\"10.661\\\" viewBox=\\\"0 0 6.081 10.661\\\" width=\\\"6.081\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path d=\\\"M.75.75,5.02,5.02.75,9.29\\\"\\n\\t\\t fill=\\\"none\\\"\\n\\t\\t stroke-linecap=\\\"round\\\"\\n\\t\\t stroke-linejoin=\\\"round\\\"\\n\\t\\t stroke-width=\\\"1.5\\\"\\n\\t\\t transform=\\\"translate(0.311 0.311)\\\"/>\\n</svg>\\n\", styles: [\".gui-arrow-icon{cursor:pointer}.gui-arrow-icon svg path{stroke:#aaa;transition:stroke .2s ease-in-out}.gui-arrow-icon:hover svg path{stroke:#464646}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricArrowIconComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-arrow-icon', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-arrow-icon]': 'true',\n '[class.gui-icon]': 'true'\n }, template: \"<svg [style.transform]=\\\"'rotate(' + direction + 'deg)'\\\"\\n\\t height=\\\"10.661\\\" viewBox=\\\"0 0 6.081 10.661\\\" width=\\\"6.081\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path d=\\\"M.75.75,5.02,5.02.75,9.29\\\"\\n\\t\\t fill=\\\"none\\\"\\n\\t\\t stroke-linecap=\\\"round\\\"\\n\\t\\t stroke-linejoin=\\\"round\\\"\\n\\t\\t stroke-width=\\\"1.5\\\"\\n\\t\\t transform=\\\"translate(0.311 0.311)\\\"/>\\n</svg>\\n\", styles: [\".gui-arrow-icon{cursor:pointer}.gui-arrow-icon svg path{stroke:#aaa;transition:stroke .2s ease-in-out}.gui-arrow-icon:hover svg path{stroke:#464646}\\n\"] }]\n }], propDecorators: { direction: [{\n type: Input\n }] } });\n\nclass FabricDatePickerViewPanelComponent {\n calendarViewService;\n calendarService;\n datePickerYearsService;\n datePickerYears;\n fabricCalendarView = FabricCalendarView.DAYS;\n selectedDate;\n activeMonth = FabricDatePickerDefaultActiveMonth;\n activeYear = FabricDatePickerDefaultActiveYear;\n years = [];\n Direction = Direction;\n FabricCalendarCardView = FabricCalendarCardView;\n constructor(calendarViewService, calendarService, datePickerYearsService, datePickerYears) {\n this.calendarViewService = calendarViewService;\n this.calendarService = calendarService;\n this.datePickerYearsService = datePickerYearsService;\n this.datePickerYears = datePickerYears;\n }\n getDisplayedDate() {\n switch (this.fabricCalendarView) {\n case FabricCalendarView.DAYS:\n return `${months[this.activeMonth]} ${this.activeYear}`;\n case FabricCalendarView.MONTHS:\n return `${months[this.activeMonth]} ${this.activeYear}`;\n case FabricCalendarView.YEARS:\n return `${this.getDisplayedYearRange()}`;\n default:\n return '';\n }\n }\n switchCalendarView() {\n switch (this.fabricCalendarView) {\n case FabricCalendarView.DAYS:\n this.calendarViewService.switchView(FabricCalendarView.YEARS);\n break;\n case FabricCalendarView.MONTHS:\n this.calendarViewService.switchView(FabricCalendarView.DAYS);\n break;\n case FabricCalendarView.YEARS:\n this.calendarViewService.switchView(FabricCalendarView.DAYS);\n break;\n default:\n break;\n }\n }\n switchCard(cardView) {\n const next = cardView === FabricCalendarCardView.NEXT, inc = next ? 1 : -1, selectedYear = this.activeYear + inc, years = next ?\n this.datePickerYears.nextYearRange(this.activeYear)\n : this.datePickerYears.prevYearRange(this.activeYear);\n switch (this.fabricCalendarView) {\n case FabricCalendarView.DAYS:\n this.handleMonthChange(next);\n break;\n case FabricCalendarView.MONTHS:\n this.calendarService.selectYear(selectedYear);\n break;\n case FabricCalendarView.YEARS:\n this.datePickerYearsService.next(years);\n break;\n default:\n break;\n }\n }\n getDisplayedYearRange() {\n return this.years[0][0].toString() + '-' + this.years[4][this.years[4].length - 1].toString();\n }\n handleMonthChange(next) {\n if (next) {\n this.calendarService.nextMonth(this.activeYear, this.activeMonth);\n }\n else {\n this.calendarService.prevMonth(this.activeYear, this.activeMonth);\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerViewPanelComponent, deps: [{ token: FabricDatePickerCalendarViewService }, { token: FabricDatePickerCalendarService }, { token: FabricDatePickerYearsService }, { token: FabricDatePickerYears }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDatePickerViewPanelComponent, selector: \"gui-date-picker-view-panel\", inputs: { fabricCalendarView: \"fabricCalendarView\", selectedDate: \"selectedDate\", activeMonth: \"activeMonth\", activeYear: \"activeYear\", years: \"years\" }, ngImport: i0, template: `\n\t\t<div class=\"gui-date-picker-view-panel\">\n\n\t\t\t<div (click)=\"switchCalendarView()\"\n\t\t\t\t class=\"gui-date-picker-view-panel-date\">\n\t\t\t\t{{getDisplayedDate()}}\n\t\t\t</div>\n\n\t\t\t<div class=\"gui-date-picker-arrows\">\n\t\t\t\t<gui-arrow-icon [direction]=\"Direction.LEFT\"\n\t\t\t\t\t\t\t\t(click)=\"switchCard(FabricCalendarCardView.PREV)\"\n\t\t\t\t\t\t\t\tclass=\"gui-date-picker-arrow\">\n\t\t\t\t</gui-arrow-icon>\n\n\t\t\t\t<gui-arrow-icon [direction]=\"Direction.RIGHT\"\n\t\t\t\t\t\t\t\t(click)=\"switchCard(FabricCalendarCardView.NEXT)\"\n\t\t\t\t\t\t\t\tclass=\"gui-date-picker-arrow\">\n\t\t\t\t</gui-arrow-icon>\n\t\t\t</div>\n\n\t\t</div>\n\t`, isInline: true, dependencies: [{ kind: \"component\", type: FabricArrowIconComponent, selector: \"gui-arrow-icon\", inputs: [\"direction\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerViewPanelComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'gui-date-picker-view-panel',\n template: `\n\t\t<div class=\"gui-date-picker-view-panel\">\n\n\t\t\t<div (click)=\"switchCalendarView()\"\n\t\t\t\t class=\"gui-date-picker-view-panel-date\">\n\t\t\t\t{{getDisplayedDate()}}\n\t\t\t</div>\n\n\t\t\t<div class=\"gui-date-picker-arrows\">\n\t\t\t\t<gui-arrow-icon [direction]=\"Direction.LEFT\"\n\t\t\t\t\t\t\t\t(click)=\"switchCard(FabricCalendarCardView.PREV)\"\n\t\t\t\t\t\t\t\tclass=\"gui-date-picker-arrow\">\n\t\t\t\t</gui-arrow-icon>\n\n\t\t\t\t<gui-arrow-icon [direction]=\"Direction.RIGHT\"\n\t\t\t\t\t\t\t\t(click)=\"switchCard(FabricCalendarCardView.NEXT)\"\n\t\t\t\t\t\t\t\tclass=\"gui-date-picker-arrow\">\n\t\t\t\t</gui-arrow-icon>\n\t\t\t</div>\n\n\t\t</div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], ctorParameters: () => [{ type: FabricDatePickerCalendarViewService }, { type: FabricDatePickerCalendarService }, { type: FabricDatePickerYearsService }, { type: FabricDatePickerYears }], propDecorators: { fabricCalendarView: [{\n type: Input\n }], selectedDate: [{\n type: Input\n }], activeMonth: [{\n type: Input\n }], activeYear: [{\n type: Input\n }], years: [{\n type: Input\n }] } });\n\nclass FabricTimeValues {\n hours;\n minutes;\n seconds;\n constructor(hours, minutes, seconds) {\n this.hours = hours;\n this.minutes = minutes;\n this.seconds = seconds;\n }\n}\n\nclass FabricInputComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricInputComponent, selector: \"input[gui-input]\", host: { properties: { \"class.gui-input\": \"true\" } }, ngImport: i0, template: \"\\n\", styles: [\".gui-input{background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;color:#333;font:14px Arial;margin:0;max-width:100%;outline:0;padding:8px 12px;text-align:left;transition:border-color .3s ease-in-out}.gui-input:hover{border-color:#999}.gui-input:focus{border-color:#6fb4e8}.gui-input:disabled{color:#ccc;cursor:default;pointer-events:none}.gui-input:disabled::-moz-placeholder{color:#ccc}.gui-input:disabled:-ms-input-placeholder{color:#ccc}.gui-input:disabled::placeholder{color:#ccc}\\n\", \".gui-material .gui-input{border-color:#ccc;border-radius:0;border-style:solid;border-width:0 0 1px 0;font-family:Roboto,Helvetica Neue,sans-serif;padding-left:0;transition:border-color .3s ease-in-out}.gui-material .gui-input:not(:-moz-placeholder-shown){border-color:#6200ee}.gui-material .gui-input:not(:-ms-input-placeholder){border-color:#6200ee}.gui-material .gui-input:not(:placeholder-shown){border-color:#6200ee}.gui-material .gui-input:focus{border-color:#6200ee}\\n\", \".gui-dark .gui-input{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-input:hover{border-color:#757575}.gui-dark .gui-input:focus{border-color:#ce93d8}.gui-dark .gui-input:disabled{opacity:.36}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInputComponent, decorators: [{\n type: Component,\n args: [{ selector: 'input[gui-input]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-input]': 'true'\n }, template: \"\\n\", styles: [\".gui-input{background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;color:#333;font:14px Arial;margin:0;max-width:100%;outline:0;padding:8px 12px;text-align:left;transition:border-color .3s ease-in-out}.gui-input:hover{border-color:#999}.gui-input:focus{border-color:#6fb4e8}.gui-input:disabled{color:#ccc;cursor:default;pointer-events:none}.gui-input:disabled::-moz-placeholder{color:#ccc}.gui-input:disabled:-ms-input-placeholder{color:#ccc}.gui-input:disabled::placeholder{color:#ccc}\\n\", \".gui-material .gui-input{border-color:#ccc;border-radius:0;border-style:solid;border-width:0 0 1px 0;font-family:Roboto,Helvetica Neue,sans-serif;padding-left:0;transition:border-color .3s ease-in-out}.gui-material .gui-input:not(:-moz-placeholder-shown){border-color:#6200ee}.gui-material .gui-input:not(:-ms-input-placeholder){border-color:#6200ee}.gui-material .gui-input:not(:placeholder-shown){border-color:#6200ee}.gui-material .gui-input:focus{border-color:#6200ee}\\n\", \".gui-dark .gui-input{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-input:hover{border-color:#757575}.gui-dark .gui-input:focus{border-color:#ce93d8}.gui-dark .gui-input:disabled{opacity:.36}\\n\"] }]\n }] });\n\nclass FabricTimePickerComponent extends FabricReactive {\n formBuilder;\n datePickerService;\n selectedDate;\n datePickerComposition = FabricDatePickerComposition.NONE;\n steps = 1;\n form;\n Direction = Direction;\n FabricDatePickerComposition = FabricDatePickerComposition;\n constructor(formBuilder, datePickerService) {\n super();\n this.formBuilder = formBuilder;\n this.datePickerService = datePickerService;\n this.form = this.formBuilder.group({\n hours: [''],\n minutes: [''],\n seconds: ['']\n });\n }\n ngOnChanges(changes) {\n if (changes['selectedDate']) {\n if (this.selectedDate) {\n }\n }\n }\n ngOnInit() {\n if (this.isActive(this.datePickerComposition, FabricDatePickerComposition.TIME_PICKER_HOURS)) {\n // @ts-ignore\n const hours$ = this.form\n .controls['hours']\n .valueChanges;\n hours$\n // @ts-ignore\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((hour) => {\n const minHour = this.isMeridian() ? 1 : 0, maxHour = this.isMeridian() ? 12 : 23;\n if (hour > maxHour || hour < minHour) {\n this.form.controls['hours'].setValue(minHour);\n }\n this.changeSelectedDate();\n });\n }\n if (this.isActive(this.datePickerComposition, FabricDatePickerComposition.TIME_PICKER_MINUTES)) {\n this.form\n .controls['minutes']\n .valueChanges\n // @ts-ignore\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((value) => {\n this.controlFormItemValue(value, 'minutes', 'hours');\n this.changeSelectedDate();\n });\n }\n if (this.isActive(this.datePickerComposition, FabricDatePickerComposition.TIME_PICKER_SECONDS)) {\n this.form\n .controls['seconds']\n .valueChanges\n // @ts-ignore\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((value) => {\n this.controlFormItemValue(value, 'seconds', 'minutes');\n this.changeSelectedDate();\n });\n }\n this.setTimeFromSelectedDate();\n }\n changeTimeItem(formControlName, steps) {\n const value = this.form.controls[formControlName].value + steps;\n this.form.controls[formControlName].setValue(value);\n }\n changeSelectedDateTime() {\n this.datePickerService.next();\n }\n isActive(activeComposition, checkedComposition) {\n return !!(activeComposition & checkedComposition);\n }\n isMeridian() {\n return this.isActive(this.datePickerComposition, FabricDatePickerComposition.TIME_PICKER_MERIDIAN);\n }\n isOnlyTimePicker() {\n return !(this.datePickerComposition & FabricDatePickerComposition.DATE_PICKER);\n }\n changeSelectedDate() {\n if (this.selectedDate) {\n const hours = this.form.controls['hours'].value, minutes = this.form.controls['minutes'].value, seconds = this.form.controls['seconds'].value, timeValues = new FabricTimeValues(hours, minutes, seconds);\n this.datePickerService.changeTime(timeValues, this.selectedDate);\n }\n }\n controlFormItemValue(value, observedFormControlName, incFormControlName) {\n if (value > 59) {\n const timeItemValue = this.form.controls[incFormControlName].value, incTimeItemValue = timeItemValue + 1;\n this.form.controls[incFormControlName].setValue(incTimeItemValue);\n this.form.controls[observedFormControlName].setValue(0o0);\n }\n else if (value < 0) {\n this.form.controls[observedFormControlName].setValue(0);\n }\n }\n setTimeFromSelectedDate() {\n if (this.selectedDate) {\n const hours = this.selectedDate.getHours(), minutes = this.selectedDate.getMinutes(), seconds = this.selectedDate.getSeconds();\n this.form.controls['hours'].setValue(hours);\n this.form.controls['minutes'].setValue(minutes);\n this.form.controls['seconds'].setValue(seconds);\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTimePickerComponent, deps: [{ token: i1$1.FormBuilder }, { token: FabricDatePickerService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricTimePickerComponent, selector: \"gui-time-picker\", inputs: { selectedDate: \"selectedDate\", datePickerComposition: \"datePickerComposition\" }, host: { properties: { \"class.only-time-picker\": \"isOnlyTimePicker()\" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<form [formGroup]=\\\"form\\\">\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_HOURS)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('hours', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"hours\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('hours', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_MINUTES)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('minutes', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"minutes\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\"\\n\\t\\t\\t type=\\\"number\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('minutes', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_SECONDS)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('seconds', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"seconds\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\"\\n\\t\\t\\t type=\\\"number\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('seconds', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n</form>\\n\\n<div (click)=\\\"changeSelectedDateTime()\\\"\\n\\t class=\\\"gui-time-picker-button-wrapper\\\">\\n\\t<button [outline]=\\\"true\\\" gui-button>\\n\\t\\tOk\\n\\t</button>\\n</div>\\n\", dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1$1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$1.NumberValueAccessor, selector: \"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]\" }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.MaxLengthValidator, selector: \"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]\", inputs: [\"maxlength\"] }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: FabricInputComponent, selector: \"input[gui-input]\" }, { kind: \"component\", type: FabricButtonComponent, selector: \"button[gui-button], a[gui-button]\", inputs: [\"link\", \"text\"] }, { kind: \"component\", type: FabricArrowIconComponent, selector: \"gui-arrow-icon\", inputs: [\"direction\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTimePickerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-time-picker', host: {\n '[class.only-time-picker]': 'isOnlyTimePicker()'\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<form [formGroup]=\\\"form\\\">\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_HOURS)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('hours', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"hours\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('hours', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_MINUTES)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('minutes', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"minutes\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\"\\n\\t\\t\\t type=\\\"number\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('minutes', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div *ngIf=\\\"isActive(datePickerComposition, FabricDatePickerComposition.TIME_PICKER_SECONDS)\\\"\\n\\t\\t class=\\\"gui-time-picker-item\\\">\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('seconds', steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.TOP\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\n\\t\\t<input formControlName=\\\"seconds\\\"\\n\\t\\t\\t gui-input\\n\\t\\t\\t maxlength=\\\"2\\\"\\n\\t\\t\\t type=\\\"number\\\">\\n\\n\\t\\t<gui-arrow-icon (click)=\\\"changeTimeItem('seconds', -steps)\\\"\\n\\t\\t\\t\\t\\t\\t[direction]=\\\"Direction.BOTTOM\\\"\\n\\t\\t\\t\\t\\t\\tclass=\\\"gui-date-picker-arrow\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n</form>\\n\\n<div (click)=\\\"changeSelectedDateTime()\\\"\\n\\t class=\\\"gui-time-picker-button-wrapper\\\">\\n\\t<button [outline]=\\\"true\\\" gui-button>\\n\\t\\tOk\\n\\t</button>\\n</div>\\n\" }]\n }], ctorParameters: () => [{ type: i1$1.FormBuilder }, { type: FabricDatePickerService }], propDecorators: { selectedDate: [{\n type: Input\n }], datePickerComposition: [{\n type: Input\n }] } });\n\nclass FabricDatePickerCalendarComponent extends FabricReactive {\n datePickerService;\n datePickerFormatService;\n datePickerWeeks;\n datePickerYears;\n datePickerYearsService;\n calendarService;\n calendarViewService;\n changeDetectorRef;\n /** Cells representing days in weeks of the active month. */\n weeks = [];\n /** Year cells displayed in years view. */\n years = [];\n selectedDate;\n activeMonth = FabricDatePickerDefaultActiveMonth;\n activeYear = FabricDatePickerDefaultActiveYear;\n datePickerComposition = FabricDatePickerComposition.NONE;\n FabricDatePickerComposition = FabricDatePickerComposition;\n FabricCalendarView = FabricCalendarView;\n fabricCalendarView = FabricCalendarView.DAYS;\n constructor(datePickerService, datePickerFormatService, datePickerWeeks, datePickerYears, datePickerYearsService, calendarService, calendarViewService, changeDetectorRef) {\n super();\n this.datePickerService = datePickerService;\n this.datePickerFormatService = datePickerFormatService;\n this.datePickerWeeks = datePickerWeeks;\n this.datePickerYears = datePickerYears;\n this.datePickerYearsService = datePickerYearsService;\n this.calendarService = calendarService;\n this.calendarViewService = calendarViewService;\n this.changeDetectorRef = changeDetectorRef;\n }\n ngOnInit() {\n this.datePickerFormatService\n .onComposition()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((datePickerComposition) => {\n this.datePickerComposition = datePickerComposition;\n });\n this.calendarService\n .onActiveMonth()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((month) => {\n this.activeMonth = month;\n this.calculateDatePickerData();\n this.changeDetectorRef.detectChanges();\n });\n this.calendarService\n .onActiveYear()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((year) => {\n this.activeYear = year;\n this.calculateDatePickerData();\n this.changeDetectorRef.detectChanges();\n });\n this.datePickerService\n .observeSelectedDate()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((date) => {\n this.selectedDate = date;\n this.activeYear = date.getFullYear();\n this.activeMonth = date.getMonth();\n });\n this.datePickerYearsService\n .onYears()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((years) => {\n this.years = years;\n this.changeDetectorRef.detectChanges();\n });\n this.calendarViewService\n .onActiveView()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((fabricCalendarView) => {\n this.fabricCalendarView = fabricCalendarView;\n this.changeDetectorRef.detectChanges();\n });\n this.calculateDatePickerData();\n }\n getCalendarView() {\n if (event) {\n event.stopPropagation();\n }\n return this.fabricCalendarView;\n }\n isVisible(activeComposition, checkedComposition) {\n return !!(activeComposition & checkedComposition);\n }\n calculateDatePickerData() {\n this.weeks = this.datePickerWeeks.getDaysInMonths(this.activeYear, this.activeMonth);\n this.years = this.datePickerYears.getYears(this.activeYear);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCalendarComponent, deps: [{ token: FabricDatePickerService }, { token: FabricDatePickerCompositionService }, { token: FabricDatePickerWeeks }, { token: FabricDatePickerYears }, { token: FabricDatePickerYearsService }, { token: FabricDatePickerCalendarService }, { token: FabricDatePickerCalendarViewService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDatePickerCalendarComponent, selector: \"gui-date-picker-toggle\", host: { properties: { \"class.gui-date-picker-calendar\": \"true\" } }, usesInheritance: true, ngImport: i0, template: \"<ng-container *ngIf=\\\"isVisible(datePickerComposition, FabricDatePickerComposition.DATE_PICKER)\\\">\\n\\n\\t<gui-date-picker-view-panel [activeMonth]=\\\"activeMonth\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[activeYear]=\\\"activeYear\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[fabricCalendarView]=\\\"fabricCalendarView\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[years]=\\\"years\\\">\\n\\t</gui-date-picker-view-panel>\\n\\n\\t<ng-container [ngSwitch]=\\\"getCalendarView()\\\">\\n\\n\\t\\t<gui-date-picker-days-view *ngSwitchCase=\\\"FabricCalendarView.DAYS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [activeMonth]=\\\"activeMonth\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [weeks]=\\\"weeks\\\">\\n\\t\\t</gui-date-picker-days-view>\\n\\n\\t\\t<gui-date-picker-months-view *ngSwitchCase=\\\"FabricCalendarView.MONTHS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t [activeYear]=\\\"activeYear\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\">\\n\\t\\t</gui-date-picker-months-view>\\n\\n\\n\\t\\t<gui-date-picker-years-view *ngSwitchCase=\\\"FabricCalendarView.YEARS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t[selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t[years]=\\\"years\\\">\\n\\t\\t</gui-date-picker-years-view>\\n\\n\\t</ng-container>\\n\\n</ng-container>\\n\\n<gui-time-picker *ngIf=\\\"isVisible(datePickerComposition, FabricDatePickerComposition.TIME_PICKER)\\\"\\n\\t\\t\\t\\t [datePickerComposition]=\\\"datePickerComposition\\\"\\n\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\"></gui-time-picker>\\n\", styles: [\".gui-box-border{box-sizing:border-box}.gui-bg-transparent{background-color:transparent}.gui-border{border-width:1px}.gui-border-0{border-width:0}.gui-border-b{border-bottom-width:1px}.gui-border-t{border-top-width:1px}.gui-border-solid{border-style:solid}.gui-border-b-solid{border-bottom-style:solid}.gui-border-t-solid{border-top-style:solid}.gui-border-none{border-style:none}.gui-rounded{border-radius:4px}.gui-cursor-pointer{cursor:pointer}.gui-block{display:block}.gui-inline-block{display:inline-block}.gui-inline{display:inline}.gui-flex{display:-ms-flexbox;display:flex}.gui-hidden{display:none}.gui-display-grid{display:grid}.gui-flex-row{-ms-flex-direction:row;flex-direction:row}.gui-flex-row-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gui-flex-col{-ms-flex-direction:column;flex-direction:column}.gui-flex-col-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.gui-justify-start{-ms-flex-pack:start;justify-content:flex-start}.gui-justify-end{-ms-flex-pack:end;justify-content:flex-end}.gui-justify-center{-ms-flex-pack:center;justify-content:center}.gui-justify-between{-ms-flex-pack:justify;justify-content:space-between}.gui-justify-around{-ms-flex-pack:distribute;justify-content:space-around}.gui-justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.gui-items-start{-ms-flex-align:start;align-items:flex-start}.gui-items-end{-ms-flex-align:end;align-items:flex-end}.gui-items-center{-ms-flex-align:center;align-items:center}.gui-items-between{-ms-flex-align:space-between;align-items:space-between}.gui-items-around{-ms-flex-align:space-around;align-items:space-around}.gui-items-evenly{-ms-flex-align:space-evenly;align-items:space-evenly}.gui-flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.gui-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.gui-flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.gui-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gui-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gui-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gui-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.gui-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.gui-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.gui-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.gui-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.gui-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.gui-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.gui-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.gui-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.gui-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.gui-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.gui-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.gui-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.gui-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.gui-grid-rows-gap-0{grid-row-gap:0}.gui-grid-rows-gap-1{grid-row-gap:1px}.gui-grid-rows-gap-2{grid-row-gap:2px}.gui-grid-rows-gap-3{grid-row-gap:3px}.gui-grid-rows-gap-4{grid-row-gap:4px}.gui-grid-rows-gap-5{grid-row-gap:6px}.gui-grid-rows-gap-6{grid-row-gap:8px}.gui-grid-rows-gap-7{grid-row-gap:10px}.gui-grid-rows-gap-8{grid-row-gap:12px}.gui-grid-rows-gap-10{grid-row-gap:16px}.gui-grid-rows-gap-13{grid-row-gap:22px}.gui-grid-rows-gap-23{grid-row-gap:42px}.gui-grid-cols-gap-0{grid-column-gap:0}.gui-grid-cols-gap-1{grid-column-gap:1px}.gui-grid-cols-gap-2{grid-column-gap:2px}.gui-grid-cols-gap-3{grid-column-gap:3px}.gui-grid-cols-gap-4{grid-column-gap:4px}.gui-grid-cols-gap-5{grid-column-gap:6px}.gui-grid-cols-gap-6{grid-column-gap:8px}.gui-grid-cols-gap-7{grid-column-gap:10px}.gui-grid-cols-gap-8{grid-column-gap:12px}.gui-grid-cols-gap-10{grid-column-gap:16px}.gui-grid-cols-gap-13{grid-column-gap:22px}.gui-grid-cols-gap-23{grid-column-gap:42px}.gui-h-full{height:100%}.gui-list-none{list-style-type:none}.gui-m-0{margin:0}.gui-mx-0{margin-left:0;margin-right:0}.gui-my-0{margin-bottom:0;margin-top:0}.-gui-m-0{margin:0}.-gui-mx-0{margin-left:0;margin-right:0}.-gui-my-0{margin-bottom:0;margin-top:0}.gui-m-1{margin:1px}.gui-mx-1{margin-left:1px;margin-right:1px}.gui-my-1{margin-bottom:1px;margin-top:1px}.-gui-m-1{margin:-1px}.-gui-mx-1{margin-left:-1px;margin-right:-1px}.-gui-my-1{margin-bottom:-1px;margin-top:-1px}.gui-m-2{margin:2px}.gui-mx-2{margin-left:2px;margin-right:2px}.gui-my-2{margin-bottom:2px;margin-top:2px}.-gui-m-2{margin:-2px}.-gui-mx-2{margin-left:-2px;margin-right:-2px}.-gui-my-2{margin-bottom:-2px;margin-top:-2px}.gui-m-3{margin:3px}.gui-mx-3{margin-left:3px;margin-right:3px}.gui-my-3{margin-bottom:3px;margin-top:3px}.-gui-m-3{margin:-3px}.-gui-mx-3{margin-left:-3px;margin-right:-3px}.-gui-my-3{margin-bottom:-3px;margin-top:-3px}.gui-m-4{margin:4px}.gui-mx-4{margin-left:4px;margin-right:4px}.gui-my-4{margin-bottom:4px;margin-top:4px}.-gui-m-4{margin:-4px}.-gui-mx-4{margin-left:-4px;margin-right:-4px}.-gui-my-4{margin-bottom:-4px;margin-top:-4px}.gui-m-5{margin:6px}.gui-mx-5{margin-left:6px;margin-right:6px}.gui-my-5{margin-bottom:6px;margin-top:6px}.-gui-m-5{margin:-6px}.-gui-mx-5{margin-left:-6px;margin-right:-6px}.-gui-my-5{margin-bottom:-6px;margin-top:-6px}.gui-m-6{margin:8px}.gui-mx-6{margin-left:8px;margin-right:8px}.gui-my-6{margin-bottom:8px;margin-top:8px}.-gui-m-6{margin:-8px}.-gui-mx-6{margin-left:-8px;margin-right:-8px}.-gui-my-6{margin-bottom:-8px;margin-top:-8px}.gui-m-7{margin:10px}.gui-mx-7{margin-left:10px;margin-right:10px}.gui-my-7{margin-bottom:10px;margin-top:10px}.-gui-m-7{margin:-10px}.-gui-mx-7{margin-left:-10px;margin-right:-10px}.-gui-my-7{margin-bottom:-10px;margin-top:-10px}.gui-m-8{margin:12px}.gui-mx-8{margin-left:12px;margin-right:12px}.gui-my-8{margin-bottom:12px;margin-top:12px}.-gui-m-8{margin:-12px}.-gui-mx-8{margin-left:-12px;margin-right:-12px}.-gui-my-8{margin-bottom:-12px;margin-top:-12px}.gui-m-10{margin:16px}.gui-mx-10{margin-left:16px;margin-right:16px}.gui-my-10{margin-bottom:16px;margin-top:16px}.-gui-m-10{margin:-16px}.-gui-mx-10{margin-left:-16px;margin-right:-16px}.-gui-my-10{margin-bottom:-16px;margin-top:-16px}.gui-m-13{margin:22px}.gui-mx-13{margin-left:22px;margin-right:22px}.gui-my-13{margin-bottom:22px;margin-top:22px}.-gui-m-13{margin:-22px}.-gui-mx-13{margin-left:-22px;margin-right:-22px}.-gui-my-13{margin-bottom:-22px;margin-top:-22px}.gui-m-23{margin:42px}.gui-mx-23{margin-left:42px;margin-right:42px}.gui-my-23{margin-bottom:42px;margin-top:42px}.-gui-m-23{margin:-42px}.-gui-mx-23{margin-left:-42px;margin-right:-42px}.-gui-my-23{margin-bottom:-42px;margin-top:-42px}.gui-mb-4{margin-bottom:4px}.gui-mb-6{margin-bottom:8px}.gui-mb-8{margin-bottom:12px}.gui-mb-10{margin-bottom:16px}.gui-mb-18{margin-bottom:32px}.gui-mr-0{margin-right:0}.gui-mr-5{margin-right:6px}.gui-mr-auto{margin-right:auto}.gui-ml-auto{margin-left:auto}.gui-ml-6{margin-left:8px}.gui-mt-0{margin-top:0}.gui-mt-4{margin-top:4px}.gui-mt-6{margin-top:8px}.gui-mt-10{margin-top:16px}.gui-mt-14{margin-top:24px}.gui-overflow-hidden{overflow:hidden}.gui-overflow-y-scroll{overflow-y:scroll}.gui-overflow-x-hidden{overflow-x:hidden}.gui-overflow-auto{overflow:auto}.gui-p-0{padding:0}.gui-px-0{padding-left:0;padding-right:0}.gui-py-0{padding-bottom:0;padding-top:0}.gui-p-1{padding:1px}.gui-px-1{padding-left:1px;padding-right:1px}.gui-py-1{padding-bottom:1px;padding-top:1px}.gui-p-2{padding:2px}.gui-px-2{padding-left:2px;padding-right:2px}.gui-py-2{padding-bottom:2px;padding-top:2px}.gui-p-3{padding:3px}.gui-px-3{padding-left:3px;padding-right:3px}.gui-py-3{padding-bottom:3px;padding-top:3px}.gui-p-4{padding:4px}.gui-px-4{padding-left:4px;padding-right:4px}.gui-py-4{padding-bottom:4px;padding-top:4px}.gui-p-5{padding:6px}.gui-px-5{padding-left:6px;padding-right:6px}.gui-py-5{padding-bottom:6px;padding-top:6px}.gui-p-6{padding:8px}.gui-px-6{padding-left:8px;padding-right:8px}.gui-py-6{padding-bottom:8px;padding-top:8px}.gui-p-7{padding:10px}.gui-px-7{padding-left:10px;padding-right:10px}.gui-py-7{padding-bottom:10px;padding-top:10px}.gui-p-8{padding:12px}.gui-px-8{padding-left:12px;padding-right:12px}.gui-py-8{padding-bottom:12px;padding-top:12px}.gui-p-10{padding:16px}.gui-px-10{padding-left:16px;padding-right:16px}.gui-py-10{padding-bottom:16px;padding-top:16px}.gui-p-13{padding:22px}.gui-px-13{padding-left:22px;padding-right:22px}.gui-py-13{padding-bottom:22px;padding-top:22px}.gui-p-23{padding:42px}.gui-px-23{padding-left:42px;padding-right:42px}.gui-py-23{padding-bottom:42px;padding-top:42px}.gui-pr-10{padding-right:16px}.gui-pl-9{padding-right:10px}.gui-pb-6{padding-bottom:8px}.gui-pb-12{padding-bottom:20px}.gui-pl-21{padding-left:38px}.gui-pt-4{padding-top:4px}.gui-pt-6{padding-top:8px}.gui-pt-10{padding-top:16px}.gui-pt-12{padding-top:20px}.gui-pt-14{padding-top:24px}.gui-static{position:static}.gui-fixed{position:fixed}.gui-relative{position:relative}.gui-absolute{position:absolute}.gui-text-xxs{font-size:11px}.gui-text-xs{font-size:12px}.gui-text-sm{font-size:13px}.gui-text-base{font-size:14px}.gui-text-lg{font-size:16px}.gui-text-xl{font-size:18px}.gui-text-2xl{font-size:20px}.gui-text-3xl{font-size:22px}.gui-leading-4{line-height:16px}.gui-leading-6{line-height:24px}.gui-font-thin{font-weight:100}.gui-font-extralight{font-weight:200}.gui-font-light{font-weight:300}.gui-font-normal{font-weight:400}.gui-font-medium{font-weight:500}.gui-font-semibold{font-weight:600}.gui-font-bold{font-weight:700}.gui-font-extrabold{font-weight:800}.gui-font-black{font-weight:900}.gui-italic{font-style:italic}.gui-not-italic{font-style:normal}.gui-whitespace-nowrap{white-space:nowrap}.gui-overflow-ellipsis{text-overflow:ellipsis}.gui-no-underline{text-decoration:none}.gui-text-center{text-align:center}.gui-w-full{width:100%}.gui-w-96{width:384px}.gui-w-3\\\\/5{width:60%}.gui-date-picker-calendar{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;font-family:Roboto,Helvetica Neue,sans-serif;border-radius:4px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0 0 12px;width:268px}.gui-date-picker-header{font-size:13px;font-weight:400;text-align:center;border-top:1px solid #999}.gui-date-picker-cell{border-radius:4px;border-color:transparent;border-style:solid;border-width:1px;padding:2px 4px;position:relative;text-align:center;font-size:13px;z-index:0}.gui-date-picker-cell:before{border:1px solid #999;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:none;height:36px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:36px;z-index:-1}.gui-date-picker-cell:after{background:transparent;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:block;height:32px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:32px;z-index:-1}.gui-date-picker-cell:hover:after{background:#e6e6e6}.gui-date-picker-day{color:#333;cursor:pointer;opacity:.2}.gui-date-picker-day.gui-date-picker-selected-month{opacity:1}.gui-date-picker-month,.gui-date-picker-year{cursor:pointer}.gui-date-picker-year{font-size:13px}.gui-date-picker-day.gui-date-picker-current-day:before,.gui-date-picker-month.gui-date-picker-current-month:before,.gui-date-picker-year.gui-date-picker-current-year:before{display:block}.gui-date-picker-day.gui-date-picker-selected-day{pointer-events:none}.gui-date-picker-day.gui-date-picker-selected-day,.gui-date-picker-month.gui-date-picker-selected-month,.gui-date-picker-year.gui-date-picker-selected-year{color:#fff}.gui-date-picker-day.gui-date-picker-selected-day:after,.gui-date-picker-month.gui-date-picker-selected-month:after,.gui-date-picker-year.gui-date-picker-selected-year:after{background:#2185d0}.gui-date-picker-arrows{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:32px}.gui-date-picker-view-padding{padding:0 8px}.gui-date-picker-view-border-top{border-top:1px solid #999}gui-time-picker{border-top:1px solid #999;margin:6px 0 0;padding:12px 0 2.6666666667px}gui-time-picker form{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}gui-time-picker.only-time-picker{border-top:none}.gui-time-picker-button-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding-right:8px}.gui-time-picker-button-wrapper .gui-button{font-size:12px}.gui-time-picker-item{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0 8px;position:relative}.gui-time-picker-item input{box-sizing:border-box;max-width:24px;text-align:center}.gui-time-picker-item input::-webkit-outer-spin-button,.gui-time-picker-item input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.gui-time-picker-item input[type=number]{-moz-appearance:textfield}.gui-time-picker-item .gui-date-picker-arrow:nth-of-type(1){margin-bottom:2px}.gui-time-picker-item .gui-date-picker-arrow:nth-of-type(2){margin-top:6px}.gui-date-picker-view-panel{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:16px 18px}.gui-date-picker-view-panel .gui-date-picker-view-panel-date{cursor:pointer;font-size:14px;font-weight:700;margin:0;pointer-events:auto}.gui-date-picker-arrow{position:relative;z-index:0}.gui-date-picker-arrow:hover:after{background:#e6e6e6;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:block;height:24px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:24px;z-index:-1}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: FabricDatePickerDaysViewComponent, selector: \"gui-date-picker-days-view\", inputs: [\"selectedDate\", \"activeMonth\", \"weeks\"] }, { kind: \"component\", type: FabricDatePickerMonthsViewComponent, selector: \"gui-date-picker-months-view\", inputs: [\"selectedDate\", \"activeYear\"] }, { kind: \"component\", type: FabricDatePickerYearsComponent, selector: \"gui-date-picker-years-view\", inputs: [\"selectedDate\", \"years\"] }, { kind: \"component\", type: FabricDatePickerViewPanelComponent, selector: \"gui-date-picker-view-panel\", inputs: [\"fabricCalendarView\", \"selectedDate\", \"activeMonth\", \"activeYear\", \"years\"] }, { kind: \"component\", type: FabricTimePickerComponent, selector: \"gui-time-picker\", inputs: [\"selectedDate\", \"datePickerComposition\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerCalendarComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-date-picker-toggle', host: {\n '[class.gui-date-picker-calendar]': 'true'\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<ng-container *ngIf=\\\"isVisible(datePickerComposition, FabricDatePickerComposition.DATE_PICKER)\\\">\\n\\n\\t<gui-date-picker-view-panel [activeMonth]=\\\"activeMonth\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[activeYear]=\\\"activeYear\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[fabricCalendarView]=\\\"fabricCalendarView\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t[years]=\\\"years\\\">\\n\\t</gui-date-picker-view-panel>\\n\\n\\t<ng-container [ngSwitch]=\\\"getCalendarView()\\\">\\n\\n\\t\\t<gui-date-picker-days-view *ngSwitchCase=\\\"FabricCalendarView.DAYS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [activeMonth]=\\\"activeMonth\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t [weeks]=\\\"weeks\\\">\\n\\t\\t</gui-date-picker-days-view>\\n\\n\\t\\t<gui-date-picker-months-view *ngSwitchCase=\\\"FabricCalendarView.MONTHS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t [activeYear]=\\\"activeYear\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\">\\n\\t\\t</gui-date-picker-months-view>\\n\\n\\n\\t\\t<gui-date-picker-years-view *ngSwitchCase=\\\"FabricCalendarView.YEARS\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t[selectedDate]=\\\"selectedDate\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t[years]=\\\"years\\\">\\n\\t\\t</gui-date-picker-years-view>\\n\\n\\t</ng-container>\\n\\n</ng-container>\\n\\n<gui-time-picker *ngIf=\\\"isVisible(datePickerComposition, FabricDatePickerComposition.TIME_PICKER)\\\"\\n\\t\\t\\t\\t [datePickerComposition]=\\\"datePickerComposition\\\"\\n\\t\\t\\t\\t [selectedDate]=\\\"selectedDate\\\"></gui-time-picker>\\n\", styles: [\".gui-box-border{box-sizing:border-box}.gui-bg-transparent{background-color:transparent}.gui-border{border-width:1px}.gui-border-0{border-width:0}.gui-border-b{border-bottom-width:1px}.gui-border-t{border-top-width:1px}.gui-border-solid{border-style:solid}.gui-border-b-solid{border-bottom-style:solid}.gui-border-t-solid{border-top-style:solid}.gui-border-none{border-style:none}.gui-rounded{border-radius:4px}.gui-cursor-pointer{cursor:pointer}.gui-block{display:block}.gui-inline-block{display:inline-block}.gui-inline{display:inline}.gui-flex{display:-ms-flexbox;display:flex}.gui-hidden{display:none}.gui-display-grid{display:grid}.gui-flex-row{-ms-flex-direction:row;flex-direction:row}.gui-flex-row-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gui-flex-col{-ms-flex-direction:column;flex-direction:column}.gui-flex-col-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.gui-justify-start{-ms-flex-pack:start;justify-content:flex-start}.gui-justify-end{-ms-flex-pack:end;justify-content:flex-end}.gui-justify-center{-ms-flex-pack:center;justify-content:center}.gui-justify-between{-ms-flex-pack:justify;justify-content:space-between}.gui-justify-around{-ms-flex-pack:distribute;justify-content:space-around}.gui-justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.gui-items-start{-ms-flex-align:start;align-items:flex-start}.gui-items-end{-ms-flex-align:end;align-items:flex-end}.gui-items-center{-ms-flex-align:center;align-items:center}.gui-items-between{-ms-flex-align:space-between;align-items:space-between}.gui-items-around{-ms-flex-align:space-around;align-items:space-around}.gui-items-evenly{-ms-flex-align:space-evenly;align-items:space-evenly}.gui-flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.gui-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.gui-flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.gui-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gui-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gui-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gui-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.gui-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.gui-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.gui-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.gui-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.gui-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.gui-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.gui-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.gui-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.gui-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.gui-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.gui-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.gui-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.gui-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.gui-grid-rows-gap-0{grid-row-gap:0}.gui-grid-rows-gap-1{grid-row-gap:1px}.gui-grid-rows-gap-2{grid-row-gap:2px}.gui-grid-rows-gap-3{grid-row-gap:3px}.gui-grid-rows-gap-4{grid-row-gap:4px}.gui-grid-rows-gap-5{grid-row-gap:6px}.gui-grid-rows-gap-6{grid-row-gap:8px}.gui-grid-rows-gap-7{grid-row-gap:10px}.gui-grid-rows-gap-8{grid-row-gap:12px}.gui-grid-rows-gap-10{grid-row-gap:16px}.gui-grid-rows-gap-13{grid-row-gap:22px}.gui-grid-rows-gap-23{grid-row-gap:42px}.gui-grid-cols-gap-0{grid-column-gap:0}.gui-grid-cols-gap-1{grid-column-gap:1px}.gui-grid-cols-gap-2{grid-column-gap:2px}.gui-grid-cols-gap-3{grid-column-gap:3px}.gui-grid-cols-gap-4{grid-column-gap:4px}.gui-grid-cols-gap-5{grid-column-gap:6px}.gui-grid-cols-gap-6{grid-column-gap:8px}.gui-grid-cols-gap-7{grid-column-gap:10px}.gui-grid-cols-gap-8{grid-column-gap:12px}.gui-grid-cols-gap-10{grid-column-gap:16px}.gui-grid-cols-gap-13{grid-column-gap:22px}.gui-grid-cols-gap-23{grid-column-gap:42px}.gui-h-full{height:100%}.gui-list-none{list-style-type:none}.gui-m-0{margin:0}.gui-mx-0{margin-left:0;margin-right:0}.gui-my-0{margin-bottom:0;margin-top:0}.-gui-m-0{margin:0}.-gui-mx-0{margin-left:0;margin-right:0}.-gui-my-0{margin-bottom:0;margin-top:0}.gui-m-1{margin:1px}.gui-mx-1{margin-left:1px;margin-right:1px}.gui-my-1{margin-bottom:1px;margin-top:1px}.-gui-m-1{margin:-1px}.-gui-mx-1{margin-left:-1px;margin-right:-1px}.-gui-my-1{margin-bottom:-1px;margin-top:-1px}.gui-m-2{margin:2px}.gui-mx-2{margin-left:2px;margin-right:2px}.gui-my-2{margin-bottom:2px;margin-top:2px}.-gui-m-2{margin:-2px}.-gui-mx-2{margin-left:-2px;margin-right:-2px}.-gui-my-2{margin-bottom:-2px;margin-top:-2px}.gui-m-3{margin:3px}.gui-mx-3{margin-left:3px;margin-right:3px}.gui-my-3{margin-bottom:3px;margin-top:3px}.-gui-m-3{margin:-3px}.-gui-mx-3{margin-left:-3px;margin-right:-3px}.-gui-my-3{margin-bottom:-3px;margin-top:-3px}.gui-m-4{margin:4px}.gui-mx-4{margin-left:4px;margin-right:4px}.gui-my-4{margin-bottom:4px;margin-top:4px}.-gui-m-4{margin:-4px}.-gui-mx-4{margin-left:-4px;margin-right:-4px}.-gui-my-4{margin-bottom:-4px;margin-top:-4px}.gui-m-5{margin:6px}.gui-mx-5{margin-left:6px;margin-right:6px}.gui-my-5{margin-bottom:6px;margin-top:6px}.-gui-m-5{margin:-6px}.-gui-mx-5{margin-left:-6px;margin-right:-6px}.-gui-my-5{margin-bottom:-6px;margin-top:-6px}.gui-m-6{margin:8px}.gui-mx-6{margin-left:8px;margin-right:8px}.gui-my-6{margin-bottom:8px;margin-top:8px}.-gui-m-6{margin:-8px}.-gui-mx-6{margin-left:-8px;margin-right:-8px}.-gui-my-6{margin-bottom:-8px;margin-top:-8px}.gui-m-7{margin:10px}.gui-mx-7{margin-left:10px;margin-right:10px}.gui-my-7{margin-bottom:10px;margin-top:10px}.-gui-m-7{margin:-10px}.-gui-mx-7{margin-left:-10px;margin-right:-10px}.-gui-my-7{margin-bottom:-10px;margin-top:-10px}.gui-m-8{margin:12px}.gui-mx-8{margin-left:12px;margin-right:12px}.gui-my-8{margin-bottom:12px;margin-top:12px}.-gui-m-8{margin:-12px}.-gui-mx-8{margin-left:-12px;margin-right:-12px}.-gui-my-8{margin-bottom:-12px;margin-top:-12px}.gui-m-10{margin:16px}.gui-mx-10{margin-left:16px;margin-right:16px}.gui-my-10{margin-bottom:16px;margin-top:16px}.-gui-m-10{margin:-16px}.-gui-mx-10{margin-left:-16px;margin-right:-16px}.-gui-my-10{margin-bottom:-16px;margin-top:-16px}.gui-m-13{margin:22px}.gui-mx-13{margin-left:22px;margin-right:22px}.gui-my-13{margin-bottom:22px;margin-top:22px}.-gui-m-13{margin:-22px}.-gui-mx-13{margin-left:-22px;margin-right:-22px}.-gui-my-13{margin-bottom:-22px;margin-top:-22px}.gui-m-23{margin:42px}.gui-mx-23{margin-left:42px;margin-right:42px}.gui-my-23{margin-bottom:42px;margin-top:42px}.-gui-m-23{margin:-42px}.-gui-mx-23{margin-left:-42px;margin-right:-42px}.-gui-my-23{margin-bottom:-42px;margin-top:-42px}.gui-mb-4{margin-bottom:4px}.gui-mb-6{margin-bottom:8px}.gui-mb-8{margin-bottom:12px}.gui-mb-10{margin-bottom:16px}.gui-mb-18{margin-bottom:32px}.gui-mr-0{margin-right:0}.gui-mr-5{margin-right:6px}.gui-mr-auto{margin-right:auto}.gui-ml-auto{margin-left:auto}.gui-ml-6{margin-left:8px}.gui-mt-0{margin-top:0}.gui-mt-4{margin-top:4px}.gui-mt-6{margin-top:8px}.gui-mt-10{margin-top:16px}.gui-mt-14{margin-top:24px}.gui-overflow-hidden{overflow:hidden}.gui-overflow-y-scroll{overflow-y:scroll}.gui-overflow-x-hidden{overflow-x:hidden}.gui-overflow-auto{overflow:auto}.gui-p-0{padding:0}.gui-px-0{padding-left:0;padding-right:0}.gui-py-0{padding-bottom:0;padding-top:0}.gui-p-1{padding:1px}.gui-px-1{padding-left:1px;padding-right:1px}.gui-py-1{padding-bottom:1px;padding-top:1px}.gui-p-2{padding:2px}.gui-px-2{padding-left:2px;padding-right:2px}.gui-py-2{padding-bottom:2px;padding-top:2px}.gui-p-3{padding:3px}.gui-px-3{padding-left:3px;padding-right:3px}.gui-py-3{padding-bottom:3px;padding-top:3px}.gui-p-4{padding:4px}.gui-px-4{padding-left:4px;padding-right:4px}.gui-py-4{padding-bottom:4px;padding-top:4px}.gui-p-5{padding:6px}.gui-px-5{padding-left:6px;padding-right:6px}.gui-py-5{padding-bottom:6px;padding-top:6px}.gui-p-6{padding:8px}.gui-px-6{padding-left:8px;padding-right:8px}.gui-py-6{padding-bottom:8px;padding-top:8px}.gui-p-7{padding:10px}.gui-px-7{padding-left:10px;padding-right:10px}.gui-py-7{padding-bottom:10px;padding-top:10px}.gui-p-8{padding:12px}.gui-px-8{padding-left:12px;padding-right:12px}.gui-py-8{padding-bottom:12px;padding-top:12px}.gui-p-10{padding:16px}.gui-px-10{padding-left:16px;padding-right:16px}.gui-py-10{padding-bottom:16px;padding-top:16px}.gui-p-13{padding:22px}.gui-px-13{padding-left:22px;padding-right:22px}.gui-py-13{padding-bottom:22px;padding-top:22px}.gui-p-23{padding:42px}.gui-px-23{padding-left:42px;padding-right:42px}.gui-py-23{padding-bottom:42px;padding-top:42px}.gui-pr-10{padding-right:16px}.gui-pl-9{padding-right:10px}.gui-pb-6{padding-bottom:8px}.gui-pb-12{padding-bottom:20px}.gui-pl-21{padding-left:38px}.gui-pt-4{padding-top:4px}.gui-pt-6{padding-top:8px}.gui-pt-10{padding-top:16px}.gui-pt-12{padding-top:20px}.gui-pt-14{padding-top:24px}.gui-static{position:static}.gui-fixed{position:fixed}.gui-relative{position:relative}.gui-absolute{position:absolute}.gui-text-xxs{font-size:11px}.gui-text-xs{font-size:12px}.gui-text-sm{font-size:13px}.gui-text-base{font-size:14px}.gui-text-lg{font-size:16px}.gui-text-xl{font-size:18px}.gui-text-2xl{font-size:20px}.gui-text-3xl{font-size:22px}.gui-leading-4{line-height:16px}.gui-leading-6{line-height:24px}.gui-font-thin{font-weight:100}.gui-font-extralight{font-weight:200}.gui-font-light{font-weight:300}.gui-font-normal{font-weight:400}.gui-font-medium{font-weight:500}.gui-font-semibold{font-weight:600}.gui-font-bold{font-weight:700}.gui-font-extrabold{font-weight:800}.gui-font-black{font-weight:900}.gui-italic{font-style:italic}.gui-not-italic{font-style:normal}.gui-whitespace-nowrap{white-space:nowrap}.gui-overflow-ellipsis{text-overflow:ellipsis}.gui-no-underline{text-decoration:none}.gui-text-center{text-align:center}.gui-w-full{width:100%}.gui-w-96{width:384px}.gui-w-3\\\\/5{width:60%}.gui-date-picker-calendar{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;font-family:Roboto,Helvetica Neue,sans-serif;border-radius:4px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0 0 12px;width:268px}.gui-date-picker-header{font-size:13px;font-weight:400;text-align:center;border-top:1px solid #999}.gui-date-picker-cell{border-radius:4px;border-color:transparent;border-style:solid;border-width:1px;padding:2px 4px;position:relative;text-align:center;font-size:13px;z-index:0}.gui-date-picker-cell:before{border:1px solid #999;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:none;height:36px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:36px;z-index:-1}.gui-date-picker-cell:after{background:transparent;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:block;height:32px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:32px;z-index:-1}.gui-date-picker-cell:hover:after{background:#e6e6e6}.gui-date-picker-day{color:#333;cursor:pointer;opacity:.2}.gui-date-picker-day.gui-date-picker-selected-month{opacity:1}.gui-date-picker-month,.gui-date-picker-year{cursor:pointer}.gui-date-picker-year{font-size:13px}.gui-date-picker-day.gui-date-picker-current-day:before,.gui-date-picker-month.gui-date-picker-current-month:before,.gui-date-picker-year.gui-date-picker-current-year:before{display:block}.gui-date-picker-day.gui-date-picker-selected-day{pointer-events:none}.gui-date-picker-day.gui-date-picker-selected-day,.gui-date-picker-month.gui-date-picker-selected-month,.gui-date-picker-year.gui-date-picker-selected-year{color:#fff}.gui-date-picker-day.gui-date-picker-selected-day:after,.gui-date-picker-month.gui-date-picker-selected-month:after,.gui-date-picker-year.gui-date-picker-selected-year:after{background:#2185d0}.gui-date-picker-arrows{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:32px}.gui-date-picker-view-padding{padding:0 8px}.gui-date-picker-view-border-top{border-top:1px solid #999}gui-time-picker{border-top:1px solid #999;margin:6px 0 0;padding:12px 0 2.6666666667px}gui-time-picker form{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}gui-time-picker.only-time-picker{border-top:none}.gui-time-picker-button-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding-right:8px}.gui-time-picker-button-wrapper .gui-button{font-size:12px}.gui-time-picker-item{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0 8px;position:relative}.gui-time-picker-item input{box-sizing:border-box;max-width:24px;text-align:center}.gui-time-picker-item input::-webkit-outer-spin-button,.gui-time-picker-item input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.gui-time-picker-item input[type=number]{-moz-appearance:textfield}.gui-time-picker-item .gui-date-picker-arrow:nth-of-type(1){margin-bottom:2px}.gui-time-picker-item .gui-date-picker-arrow:nth-of-type(2){margin-top:6px}.gui-date-picker-view-panel{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:16px 18px}.gui-date-picker-view-panel .gui-date-picker-view-panel-date{cursor:pointer;font-size:14px;font-weight:700;margin:0;pointer-events:auto}.gui-date-picker-arrow{position:relative;z-index:0}.gui-date-picker-arrow:hover:after{background:#e6e6e6;border-radius:50%;box-sizing:border-box;content:\\\"\\\";display:block;height:24px;left:50%;position:absolute;top:50%;-ms-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%);width:24px;z-index:-1}\\n\"] }]\n }], ctorParameters: () => [{ type: FabricDatePickerService }, { type: FabricDatePickerCompositionService }, { type: FabricDatePickerWeeks }, { type: FabricDatePickerYears }, { type: FabricDatePickerYearsService }, { type: FabricDatePickerCalendarService }, { type: FabricDatePickerCalendarViewService }, { type: i0.ChangeDetectorRef }] });\n\nvar FabricPlacement;\n(function (FabricPlacement) {\n FabricPlacement[FabricPlacement[\"TOP\"] = 1] = \"TOP\";\n FabricPlacement[FabricPlacement[\"BOTTOM\"] = 2] = \"BOTTOM\";\n FabricPlacement[FabricPlacement[\"BEFORE\"] = 3] = \"BEFORE\";\n FabricPlacement[FabricPlacement[\"AFTER\"] = 4] = \"AFTER\";\n})(FabricPlacement || (FabricPlacement = {}));\n\nconst themeToken = new InjectionToken('Theme token');\n\nclass FabricModalThemeService {\n fabricTheme$ = new BehaviorSubject(Theme.FABRIC);\n onTheme() {\n return this.fabricTheme$.asObservable();\n }\n changeTheme(theme) {\n const fabricTheme = typeof theme === 'string' ? this.convertToTheme(theme) : theme;\n this.fabricTheme$.next(fabricTheme);\n }\n convertToTheme(theme) {\n switch (theme.toLowerCase()) {\n case 'fabric':\n return Theme.FABRIC;\n case 'material':\n return Theme.MATERIAL;\n case 'generic':\n return Theme.GENERIC;\n case 'light':\n return Theme.LIGHT;\n case 'dark':\n return Theme.DARK;\n default:\n return Theme.FABRIC;\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModalThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModalThemeService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModalThemeService, decorators: [{\n type: Injectable\n }] });\n\nclass FabricThemedComponent extends FabricReactive {\n elementRef;\n renderer;\n themeService;\n static CSS_CLASS_PREFIX = 'gui-';\n constructor(elementRef, renderer, themeService) {\n super();\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.themeService = themeService;\n }\n ngAfterViewInit() {\n this.themeService\n .onTheme()\n .pipe(distinctUntilChanged(), takeUntil(this.unsubscribe$))\n .subscribe((theme) => {\n this.addTheme(theme);\n });\n }\n addTheme(theme) {\n this.removeThemes();\n const cssClass = FabricThemedComponent.CSS_CLASS_PREFIX + theme.toLowerCase();\n this.renderer.addClass(this.elementRef.nativeElement, cssClass);\n }\n removeThemes() {\n const themes = Object.keys(Theme)\n .map((key) => Theme[key].toLowerCase())\n .filter((val) => !Number.isInteger(val));\n themes.forEach((theme) => {\n const cssClass = FabricThemedComponent.CSS_CLASS_PREFIX + theme;\n this.renderer.removeClass(this.elementRef.nativeElement, cssClass);\n });\n }\n getElementRef() {\n return this.elementRef;\n }\n getRenderer() {\n return this.renderer;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricThemedComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FabricModalThemeService }], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricThemedComponent, usesInheritance: true, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricThemedComponent, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: FabricModalThemeService }] });\n\nclass FabricGeometry {\n elementRef;\n containerClassName;\n constructor(elementRef, containerClassName) {\n this.elementRef = elementRef;\n this.containerClassName = containerClassName;\n }\n getHeight() {\n return this.elementRef.nativeElement.querySelector(`.${this.containerClassName}`).offsetHeight;\n }\n getWidth() {\n return this.elementRef.nativeElement.querySelector(`.${this.containerClassName}`).offsetWidth;\n }\n}\n\nclass FabricCords extends FabricGeometry {\n verticalPosition = 0;\n horizontalPosition = 0;\n constructor(window, invokerElementRef, invokedElementRef, containerClassName, placement, offset) {\n super(invokedElementRef, containerClassName);\n this.calculateCords(window, invokerElementRef, offset, placement);\n }\n getVerticalPosition() {\n return this.verticalPosition;\n }\n getHorizontalPosition() {\n return this.horizontalPosition;\n }\n calculateCords(window, invokerElementRef, offset, placement) {\n const elementRect = invokerElementRef.nativeElement.getBoundingClientRect(), elementBottom = window.pageYOffset + elementRect.bottom, elementLeft = window.pageXOffset + elementRect.left, elementRight = window.pageXOffset + elementRect.right, elementTop = window.pageYOffset + elementRect.top, topCords = elementTop + offset - this.getHeight();\n switch (placement) {\n case FabricPlacement.BOTTOM:\n this.horizontalPosition = elementLeft;\n this.verticalPosition = elementBottom + offset;\n break;\n case FabricPlacement.TOP:\n this.horizontalPosition = elementLeft;\n this.verticalPosition = topCords;\n break;\n case FabricPlacement.BEFORE:\n this.horizontalPosition = elementRight + offset - this.getWidth();\n this.verticalPosition = elementBottom;\n break;\n case FabricPlacement.AFTER:\n this.horizontalPosition = elementLeft + offset;\n this.verticalPosition = elementBottom;\n break;\n default:\n this.horizontalPosition = elementLeft;\n this.verticalPosition = elementBottom + offset;\n }\n this.calculateDirection(invokerElementRef, window, topCords);\n }\n calculateDirection(invokerElementRef, window, topCords) {\n const windowHeightWithOffset = window.innerHeight + window.pageYOffset, windowWidthWithOffset = window.innerWidth + window.pageXOffset, invokerElementWidth = invokerElementRef.nativeElement.offsetWidth, invokedElementHeight = this.getHeight(), invokedElementWidth = this.getWidth();\n const invokedElementDoesNotFitHorizontally = (windowWidthWithOffset - this.horizontalPosition - invokedElementWidth) < 0, invokedElementDoesNotFitVertically = (windowHeightWithOffset - this.verticalPosition - invokedElementHeight) < 0;\n if (invokedElementDoesNotFitHorizontally) {\n this.horizontalPosition -= invokedElementWidth - invokerElementWidth;\n }\n if (invokedElementDoesNotFitVertically) {\n this.verticalPosition = topCords;\n }\n }\n}\n\nclass InlineDialogCords extends FabricCords {\n static defaultInlineDialogOffset = 8;\n constructor(invokerElementRef, invokedElementRef, window, placement, inlineDialogOffset = InlineDialogCords.defaultInlineDialogOffset) {\n super(window, invokerElementRef, invokedElementRef, 'gui-inline-dialog-wrapper', placement, inlineDialogOffset);\n }\n}\n\nclass InlineDialogGeometryService {\n platformId;\n inlineDialogGeometry;\n inlineDialogState$ = new Subject();\n constructor(platformId) {\n this.platformId = platformId;\n }\n observeInlineDialogCords() {\n return this.inlineDialogState$.asObservable();\n }\n changeGeometry(inlineDialogRef) {\n this.inlineDialogGeometry = inlineDialogRef;\n }\n getInlineDialogCords(invokerElementRef, placement, offset) {\n if (isPlatformBrowser(this.platformId)) {\n const inlineDialogCords = new InlineDialogCords(invokerElementRef, this.inlineDialogGeometry, window, placement, offset);\n this.inlineDialogState$.next(inlineDialogCords);\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: InlineDialogGeometryService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: InlineDialogGeometryService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: InlineDialogGeometryService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }] });\n\nclass FabricInlineDialogComponent extends FabricThemedComponent {\n componentFactoryResolver;\n changeDetectorRef;\n inlineDialogService;\n elRef;\n inlineDialogGeometryService;\n container;\n customClass = '';\n inlineDialogNestedComponent;\n inlineDialogNestedInjector;\n dialogTopAttribute;\n dialogLeftAttribute;\n visible = false;\n width = '400px';\n constructor(componentFactoryResolver, changeDetectorRef, inlineDialogService, elRef, inlineDialogGeometryService, renderer, themeService, theme) {\n super(elRef, renderer, themeService);\n this.componentFactoryResolver = componentFactoryResolver;\n this.changeDetectorRef = changeDetectorRef;\n this.inlineDialogService = inlineDialogService;\n this.elRef = elRef;\n this.inlineDialogGeometryService = inlineDialogGeometryService;\n }\n ngOnInit() {\n this.inlineDialogGeometryService\n .observeInlineDialogCords()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((inlineDialogCords) => {\n this.dialogTopAttribute = inlineDialogCords.getVerticalPosition();\n this.dialogLeftAttribute = inlineDialogCords.getHorizontalPosition();\n this.changeDetectorRef.detectChanges();\n });\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.createNestedComponent(this.inlineDialogNestedComponent);\n this.inlineDialogGeometryService.changeGeometry(this.elRef);\n this.changeDetectorRef.detectChanges();\n timer(0)\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => {\n this.visible = true;\n this.changeDetectorRef.detectChanges();\n });\n }\n ngOnDestroy() {\n this.unsubscribe();\n }\n clickOutside(event) {\n if (this.isContainerClicked(event)) {\n this.inlineDialogService.close();\n }\n }\n isContainerClicked(event) {\n return !this.elRef.nativeElement.contains(event.target);\n }\n createNestedComponent(component) {\n if (this.container && component) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(component);\n if (this.inlineDialogNestedInjector) {\n this.container.createComponent(componentFactory, undefined, this.inlineDialogNestedInjector);\n }\n else {\n this.container.createComponent(componentFactory);\n }\n this.changeDetectorRef.detectChanges();\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: forwardRef(() => FabricInlineDialogService) }, { token: i0.ElementRef }, { token: InlineDialogGeometryService }, { token: i0.Renderer2 }, { token: FabricModalThemeService }, { token: themeToken }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricInlineDialogComponent, selector: \"ng-component\", viewQueries: [{ propertyName: \"container\", first: true, predicate: [\"container\"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: \"<div [ngClass]=\\\"customClass\\\"\\n\\t [style.left.px]=\\\"dialogLeftAttribute\\\"\\n\\t [style.top.px]=\\\"dialogTopAttribute\\\"\\n\\t class=\\\"gui-inline-dialog-wrapper\\\">\\n\\n\\t<div (document:click)=\\\"clickOutside($event)\\\"\\n\\t\\t [class.gui-inline-dialog-visible]=\\\"visible\\\"\\n\\t\\t [style.max-width]=\\\"width\\\"\\n\\t\\t class=\\\"gui-inline-dialog-content\\\">\\n\\n\\t\\t<ng-template #container></ng-template>\\n\\n\\t</div>\\n\\n</div>\\n\", styles: [\".gui-inline-dialog-wrapper{box-sizing:border-box;position:absolute;z-index:1}.gui-inline-dialog-wrapper .gui-inline-dialog-content{background-color:#fff;border-radius:4px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;box-sizing:border-box;display:block;z-index:1000;opacity:0;transition:opacity .2s ease-in-out}.gui-inline-dialog-wrapper .gui-inline-dialog-content.gui-inline-dialog-visible{opacity:1}\\n\", \".gui-dark .gui-inline-dialog-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogComponent, decorators: [{\n type: Component,\n args: [{ changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div [ngClass]=\\\"customClass\\\"\\n\\t [style.left.px]=\\\"dialogLeftAttribute\\\"\\n\\t [style.top.px]=\\\"dialogTopAttribute\\\"\\n\\t class=\\\"gui-inline-dialog-wrapper\\\">\\n\\n\\t<div (document:click)=\\\"clickOutside($event)\\\"\\n\\t\\t [class.gui-inline-dialog-visible]=\\\"visible\\\"\\n\\t\\t [style.max-width]=\\\"width\\\"\\n\\t\\t class=\\\"gui-inline-dialog-content\\\">\\n\\n\\t\\t<ng-template #container></ng-template>\\n\\n\\t</div>\\n\\n</div>\\n\", styles: [\".gui-inline-dialog-wrapper{box-sizing:border-box;position:absolute;z-index:1}.gui-inline-dialog-wrapper .gui-inline-dialog-content{background-color:#fff;border-radius:4px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;box-sizing:border-box;display:block;z-index:1000;opacity:0;transition:opacity .2s ease-in-out}.gui-inline-dialog-wrapper .gui-inline-dialog-content.gui-inline-dialog-visible{opacity:1}\\n\", \".gui-dark .gui-inline-dialog-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: FabricInlineDialogService, decorators: [{\n type: Inject,\n args: [forwardRef(() => FabricInlineDialogService)]\n }] }, { type: i0.ElementRef }, { type: InlineDialogGeometryService }, { type: i0.Renderer2 }, { type: FabricModalThemeService }, { type: Theme, decorators: [{\n type: Inject,\n args: [themeToken]\n }] }], propDecorators: { container: [{\n type: ViewChild,\n args: ['container', { read: ViewContainerRef, static: false }]\n }] } });\n\nclass FabricInlineDialogService {\n componentFactoryResolver;\n applicationRef;\n injector;\n document;\n inlineDialogGeometryService;\n inlineDialogRef = null;\n opened = false;\n opened$ = new BehaviorSubject(false);\n destroy$ = new Subject();\n constructor(componentFactoryResolver, applicationRef, injector, document, inlineDialogGeometryService) {\n this.componentFactoryResolver = componentFactoryResolver;\n this.applicationRef = applicationRef;\n this.injector = injector;\n this.document = document;\n this.inlineDialogGeometryService = inlineDialogGeometryService;\n }\n ngOnDestroy() {\n this.removeInlineDialog();\n }\n open(element, component, config) {\n if (event) {\n event.stopPropagation();\n }\n if (!this.inlineDialogRef) {\n let parentInjector = this.injector, placement = FabricPlacement.BOTTOM, offset = 0, theme = Theme.FABRIC, customClass = '';\n if (config && config.injector) {\n parentInjector = config.injector;\n }\n if (config && config.placement) {\n placement = config.placement;\n }\n if (config && config.offset) {\n offset = config.offset;\n }\n if (config && config.theme) {\n theme = config.theme;\n }\n if (config && config.customClass) {\n customClass = config.customClass;\n }\n const injector = Injector.create({\n providers: [{\n provide: themeToken,\n useValue: theme\n }],\n parent: parentInjector\n });\n this.setOpened(true);\n this.appendInlineDialogToElement(component, injector, customClass);\n this.inlineDialogGeometryService.getInlineDialogCords(element, placement, offset);\n this.closeOnEscKey();\n }\n else {\n this.close();\n }\n }\n close() {\n this.removeInlineDialog();\n this.destroy$.next(undefined);\n this.destroy$.complete();\n this.setOpened(false);\n }\n isOpened() {\n return this.opened;\n }\n onOpened() {\n return this.opened$.asObservable();\n }\n appendInlineDialogToElement(component, injector, customClass) {\n const componentRef = this.componentFactoryResolver\n .resolveComponentFactory(FabricInlineDialogComponent)\n .create(injector);\n if (customClass) {\n componentRef.instance.customClass = customClass;\n }\n componentRef.instance.inlineDialogNestedComponent = component;\n componentRef.changeDetectorRef.detectChanges();\n this.applicationRef.attachView(componentRef.hostView);\n const domDialogElement = componentRef.hostView\n .rootNodes[0];\n this.document.body.appendChild(domDialogElement);\n this.inlineDialogRef = componentRef;\n }\n removeInlineDialog() {\n if (this.inlineDialogRef) {\n this.applicationRef.detachView(this.inlineDialogRef.hostView);\n this.inlineDialogRef.destroy();\n this.inlineDialogRef = null;\n }\n }\n setOpened(opened) {\n this.opened = opened;\n this.opened$.next(this.opened);\n }\n closeOnEscKey() {\n const close$ = fromEvent(this.document, 'keyup');\n close$\n .pipe(filter((key) => key.code === 'Escape'), takeUntil(this.destroy$))\n .subscribe(() => this.close());\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: DOCUMENT }, { token: InlineDialogGeometryService }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: InlineDialogGeometryService }] });\n\nclass FabricDatePickerInlineDialogService {\n fabricInlineDialogService;\n constructor(fabricInlineDialogService) {\n this.fabricInlineDialogService = fabricInlineDialogService;\n }\n open(element, component, datePickerThem) {\n let theme = Theme.FABRIC;\n if (datePickerThem) {\n theme = datePickerThem;\n }\n this.fabricInlineDialogService.open(element, component, { placement: FabricPlacement.BOTTOM, offset: 0, theme });\n }\n close() {\n this.fabricInlineDialogService.close();\n }\n isOpened() {\n return this.fabricInlineDialogService.isOpened();\n }\n onOpened() {\n return this.fabricInlineDialogService.onOpened();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerInlineDialogService, deps: [{ token: FabricInlineDialogService }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerInlineDialogService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerInlineDialogService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: FabricInlineDialogService }] });\n\nclass DatePickerIconComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: DatePickerIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: DatePickerIconComponent, selector: \"gui-date-picker-icon\", host: { properties: { \"class.gui-date-picker-icon\": \"true\" } }, ngImport: i0, template: \"<svg height=\\\"9.82\\\" viewBox=\\\"0 0 8.76 9.82\\\" width=\\\"8.76\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path\\n\\t\\td=\\\"M401.41,308.63l-.46.15h-.15a.34.34,0,0,1-.08-.67l.68-.22a1.539,1.539,0,0,1,.38-.07h0a.39.39,0,0,1,.39.39V312a.38.38,0,0,1-.39.39.39.39,0,0,1-.39-.39Z\\\"\\n\\t\\tfill=\\\"#8c8b8b\\\" transform=\\\"translate(-397.19 -304.36)\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.64 9.32)\\\" x1=\\\"7.39\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.64 2.16)\\\" x1=\\\"7.39\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.5 0.5)\\\" y2=\\\"8.82\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(3.09 0.5)\\\" y2=\\\"1.66\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(5.68 0.5)\\\" y2=\\\"1.66\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(8.26 0.5)\\\" y2=\\\"8.82\\\"/>\\n</svg>\\n\", styles: [\".gui-date-picker-icon svg{height:16px;width:16px}.gui-date-picker-icon svg line,.gui-date-picker-icon svg path{transition:all .3s ease-in-out}.gui-date-picker-icon svg line{stroke:#aaa}.gui-date-picker-icon svg path{fill:#aaa}.gui-date-picker-icon svg:hover line{stroke:#464646}.gui-date-picker-icon svg:hover path{fill:#464646}\\n\", \".gui-dark .gui-date-picker-icon svg line{stroke:#bdbdbd}.gui-dark .gui-date-picker-icon svg path{fill:#bdbdbd}.gui-dark .gui-date-picker-icon svg:hover line{stroke:#616161}.gui-dark .gui-date-picker-icon svg:hover path{fill:#616161}\\n\"], encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: DatePickerIconComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-date-picker-icon', encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-date-picker-icon]': 'true'\n }, template: \"<svg height=\\\"9.82\\\" viewBox=\\\"0 0 8.76 9.82\\\" width=\\\"8.76\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path\\n\\t\\td=\\\"M401.41,308.63l-.46.15h-.15a.34.34,0,0,1-.08-.67l.68-.22a1.539,1.539,0,0,1,.38-.07h0a.39.39,0,0,1,.39.39V312a.38.38,0,0,1-.39.39.39.39,0,0,1-.39-.39Z\\\"\\n\\t\\tfill=\\\"#8c8b8b\\\" transform=\\\"translate(-397.19 -304.36)\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.64 9.32)\\\" x1=\\\"7.39\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.64 2.16)\\\" x1=\\\"7.39\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(0.5 0.5)\\\" y2=\\\"8.82\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(3.09 0.5)\\\" y2=\\\"1.66\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(5.68 0.5)\\\" y2=\\\"1.66\\\"/>\\n\\t<line fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"1\\\"\\n\\t\\t transform=\\\"translate(8.26 0.5)\\\" y2=\\\"8.82\\\"/>\\n</svg>\\n\", styles: [\".gui-date-picker-icon svg{height:16px;width:16px}.gui-date-picker-icon svg line,.gui-date-picker-icon svg path{transition:all .3s ease-in-out}.gui-date-picker-icon svg line{stroke:#aaa}.gui-date-picker-icon svg path{fill:#aaa}.gui-date-picker-icon svg:hover line{stroke:#464646}.gui-date-picker-icon svg:hover path{fill:#464646}\\n\", \".gui-dark .gui-date-picker-icon svg line{stroke:#bdbdbd}.gui-dark .gui-date-picker-icon svg path{fill:#bdbdbd}.gui-dark .gui-date-picker-icon svg:hover line{stroke:#616161}.gui-dark .gui-date-picker-icon svg:hover path{fill:#616161}\\n\"] }]\n }] });\n\nclass FabricDatePickerComponent extends FabricReactive {\n fabricDatePickerInlineDialogService;\n datePickerService;\n datePickerCompositionService;\n changeDetectorRef;\n datePickerRef;\n parentElement;\n theme;\n selectDate;\n name = '';\n openDialog = false;\n onlyDialog = false;\n datePipeOptions = 'dd/MM/yyyy';\n dateSelected = new EventEmitter();\n dialogOpened = new EventEmitter();\n datePickerForm;\n pickedDate = new Date();\n inputDisabled = '';\n constructor(fabricDatePickerInlineDialogService, datePickerService, datePickerCompositionService, formBuilder, changeDetectorRef) {\n super();\n this.fabricDatePickerInlineDialogService = fabricDatePickerInlineDialogService;\n this.datePickerService = datePickerService;\n this.datePickerCompositionService = datePickerCompositionService;\n this.changeDetectorRef = changeDetectorRef;\n this.datePickerForm = formBuilder.group({\n date: ['']\n });\n }\n ngOnChanges(changes) {\n if (changes['selectDate']) {\n if (this.selectDate) {\n if (!this.pickedDate || !FabricDateUtils.areDatesSame(this.selectDate, this.pickedDate)) {\n this.datePickerService.dateSelected(this.selectDate);\n }\n }\n }\n if (changes['onlyDialog']) {\n this.inputDisabled = this.onlyDialog ? 'disabled' : '';\n }\n if (changes['datePipeOptions']) {\n this.datePickerCompositionService.next(this.datePipeOptions);\n }\n }\n ngOnInit() {\n this.datePickerService\n .observeSelectedDate()\n .pipe(skip(1), takeUntil(this.unsubscribe$))\n .subscribe((date) => {\n this.pickedDate = date;\n this.emitSelectedDate(date);\n this.changeDetectorRef.detectChanges();\n this.closeDatePicker();\n });\n this.fabricDatePickerInlineDialogService\n .onOpened()\n .pipe(skip(1), takeUntil(this.unsubscribe$))\n .subscribe((opened) => {\n this.dialogOpened.emit(opened);\n });\n // this.observeDayChanges();\n }\n ngAfterViewInit() {\n this.datePickerService\n .observeSelectedDate()\n .pipe(take(1), takeUntil(this.unsubscribe$))\n .subscribe((date) => {\n this.pickedDate = date;\n this.emitSelectedDate(date);\n this.changeDetectorRef.detectChanges();\n });\n if (this.openDialog) {\n this.openDatePicker();\n }\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this.fabricDatePickerInlineDialogService.close();\n }\n openDatePicker() {\n const shouldUseDatePickerRef = !this.parentElement && this.datePickerRef, parentElement = shouldUseDatePickerRef ? this.datePickerRef : this.parentElement;\n if (parentElement) {\n this.fabricDatePickerInlineDialogService\n .open(parentElement, FabricDatePickerCalendarComponent, this.theme);\n }\n }\n closeDatePicker() {\n this.fabricDatePickerInlineDialogService.close();\n }\n emitSelectedDate(date) {\n this.dateSelected.emit(date);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerComponent, deps: [{ token: FabricDatePickerInlineDialogService }, { token: FabricDatePickerService }, { token: FabricDatePickerCompositionService }, { token: i1$1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDatePickerComponent, selector: \"gui-date-picker\", inputs: { parentElement: \"parentElement\", theme: \"theme\", selectDate: \"selectDate\", name: \"name\", openDialog: \"openDialog\", onlyDialog: \"onlyDialog\", datePipeOptions: \"datePipeOptions\" }, outputs: { dateSelected: \"dateSelected\", dialogOpened: \"dialogOpened\" }, viewQueries: [{ propertyName: \"datePickerRef\", first: true, predicate: [\"datePicker\"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<div #datePicker\\n\\t class=\\\"gui-date-picker\\\">\\n\\n\\t<form [formGroup]=\\\"datePickerForm\\\">\\n\\n\\t\\t<input [attr.disabled]=\\\"inputDisabled\\\"\\n\\t\\t\\t [name]=name\\n\\t\\t\\t [value]=\\\"pickedDate | date: datePipeOptions\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-input\\\"\\n\\t\\t\\t formControlName='date'\\n\\t\\t\\t gui-input\\n\\t\\t\\t readonly>\\n\\t</form>\\n\\n\\t<gui-date-picker-icon (click)=\\\"openDatePicker()\\\"\\n\\t\\t\\t\\t\\t\\t class=\\\"gui-date-picker-icon\\\">\\n\\t</gui-date-picker-icon>\\n\\n</div>\\n\", styles: [\".gui-date-picker{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;position:relative}.gui-date-picker .gui-date-picker-icon{cursor:pointer;position:absolute;right:0}.gui-date-picker input,.gui-date-picker-calendar input{background:transparent;border-radius:0;border-width:0 0 1px 0;font-family:Arial;font-size:14px;padding:4px}.gui-date-picker input:disabled,.gui-date-picker-calendar input:disabled{color:#333}.gui-date-picker .gui-date-picker-icon,.gui-date-picker-calendar .gui-date-picker-icon{cursor:pointer;position:absolute;right:0}\\n\", \".gui-dark .gui-input{background:transparent;color:#bdbdbd}.gui-dark .gui-date-picker-calendar .gui-arrow-icon:hover:after{background:#757575}.gui-dark .gui-date-picker-calendar .gui-date-picker-cell{color:#bdbdbd}.gui-dark .gui-date-picker-calendar .gui-date-picker-cell:hover:after{background:#757575}.gui-dark .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day,.gui-dark .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month,.gui-dark .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year{color:#333}.gui-dark .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day:after,.gui-dark .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month:after,.gui-dark .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year:after{background:#dfb8e6}\\n\", \".gui-material .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day:after,.gui-material .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month:after,.gui-material .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year:after{background:#6200ee}\\n\"], dependencies: [{ kind: \"directive\", type: i1$1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: FabricInputComponent, selector: \"input[gui-input]\" }, { kind: \"component\", type: DatePickerIconComponent, selector: \"gui-date-picker-icon\" }, { kind: \"pipe\", type: i1.DatePipe, name: \"date\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-date-picker', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div #datePicker\\n\\t class=\\\"gui-date-picker\\\">\\n\\n\\t<form [formGroup]=\\\"datePickerForm\\\">\\n\\n\\t\\t<input [attr.disabled]=\\\"inputDisabled\\\"\\n\\t\\t\\t [name]=name\\n\\t\\t\\t [value]=\\\"pickedDate | date: datePipeOptions\\\"\\n\\t\\t\\t class=\\\"gui-date-picker-input\\\"\\n\\t\\t\\t formControlName='date'\\n\\t\\t\\t gui-input\\n\\t\\t\\t readonly>\\n\\t</form>\\n\\n\\t<gui-date-picker-icon (click)=\\\"openDatePicker()\\\"\\n\\t\\t\\t\\t\\t\\t class=\\\"gui-date-picker-icon\\\">\\n\\t</gui-date-picker-icon>\\n\\n</div>\\n\", styles: [\".gui-date-picker{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;position:relative}.gui-date-picker .gui-date-picker-icon{cursor:pointer;position:absolute;right:0}.gui-date-picker input,.gui-date-picker-calendar input{background:transparent;border-radius:0;border-width:0 0 1px 0;font-family:Arial;font-size:14px;padding:4px}.gui-date-picker input:disabled,.gui-date-picker-calendar input:disabled{color:#333}.gui-date-picker .gui-date-picker-icon,.gui-date-picker-calendar .gui-date-picker-icon{cursor:pointer;position:absolute;right:0}\\n\", \".gui-dark .gui-input{background:transparent;color:#bdbdbd}.gui-dark .gui-date-picker-calendar .gui-arrow-icon:hover:after{background:#757575}.gui-dark .gui-date-picker-calendar .gui-date-picker-cell{color:#bdbdbd}.gui-dark .gui-date-picker-calendar .gui-date-picker-cell:hover:after{background:#757575}.gui-dark .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day,.gui-dark .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month,.gui-dark .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year{color:#333}.gui-dark .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day:after,.gui-dark .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month:after,.gui-dark .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year:after{background:#dfb8e6}\\n\", \".gui-material .gui-date-picker-calendar .gui-date-picker-day.gui-date-picker-selected-day:after,.gui-material .gui-date-picker-calendar .gui-date-picker-month.gui-date-picker-selected-month:after,.gui-material .gui-date-picker-calendar .gui-date-picker-year.gui-date-picker-selected-year:after{background:#6200ee}\\n\"] }]\n }], ctorParameters: () => [{ type: FabricDatePickerInlineDialogService }, { type: FabricDatePickerService }, { type: FabricDatePickerCompositionService }, { type: i1$1.FormBuilder }, { type: i0.ChangeDetectorRef }], propDecorators: { datePickerRef: [{\n type: ViewChild,\n args: ['datePicker', { read: ElementRef, static: false }]\n }], parentElement: [{\n type: Input\n }], theme: [{\n type: Input\n }], selectDate: [{\n type: Input\n }], name: [{\n type: Input\n }], openDialog: [{\n type: Input\n }], onlyDialog: [{\n type: Input\n }], datePipeOptions: [{\n type: Input\n }], dateSelected: [{\n type: Output\n }], dialogOpened: [{\n type: Output\n }] } });\n\nclass FabricInlineDialogModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogModule, declarations: [FabricInlineDialogComponent], imports: [CommonModule] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogModule, providers: [\n FabricInlineDialogService,\n InlineDialogGeometryService\n ], imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInlineDialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricInlineDialogComponent\n ],\n providers: [\n FabricInlineDialogService,\n InlineDialogGeometryService\n ]\n }]\n }] });\n\nclass FabricInputModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInputModule, declarations: [FabricInputComponent], imports: [CommonModule], exports: [FabricInputComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInputModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricInputModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricInputComponent\n ],\n exports: [\n FabricInputComponent\n ]\n }]\n }] });\n\nclass FabricArrowIconModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricArrowIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricArrowIconModule, declarations: [FabricArrowIconComponent], imports: [CommonModule], exports: [FabricArrowIconComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricArrowIconModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricArrowIconModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricArrowIconComponent\n ],\n exports: [\n FabricArrowIconComponent\n ]\n }]\n }] });\n\nclass DatePickerIconModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: DatePickerIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: DatePickerIconModule, declarations: [DatePickerIconComponent], imports: [CommonModule], exports: [DatePickerIconComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: DatePickerIconModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: DatePickerIconModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n DatePickerIconComponent\n ],\n exports: [\n DatePickerIconComponent\n ]\n }]\n }] });\n\nclass FabricDatePickerModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerModule, declarations: [FabricDatePickerCalendarComponent,\n FabricDatePickerComponent,\n FabricDatePickerDaysViewComponent,\n FabricDatePickerMonthsViewComponent,\n FabricDatePickerYearsComponent,\n FabricDatePickerViewPanelComponent,\n FabricTimePickerComponent], imports: [CommonModule,\n FabricInlineDialogModule,\n ReactiveFormsModule,\n FabricInputModule,\n FabricButtonModule,\n DatePickerIconModule,\n FabricArrowIconModule], exports: [FabricDatePickerCalendarComponent,\n FabricDatePickerComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerModule, providers: [\n FabricDatePickerService,\n FabricDatePickerCompositionService,\n FabricDatePickerCalendarService,\n FabricDatePickerCalendarViewService,\n FabricDatePickerYearsService,\n FabricDatePickerWeeks,\n FabricDatePickerYears,\n FabricDatePickerInlineDialogService\n ], imports: [CommonModule,\n FabricInlineDialogModule,\n ReactiveFormsModule,\n FabricInputModule,\n FabricButtonModule,\n DatePickerIconModule,\n FabricArrowIconModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDatePickerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FabricInlineDialogModule,\n ReactiveFormsModule,\n FabricInputModule,\n FabricButtonModule,\n DatePickerIconModule,\n FabricArrowIconModule\n ],\n declarations: [\n FabricDatePickerCalendarComponent,\n FabricDatePickerComponent,\n FabricDatePickerDaysViewComponent,\n FabricDatePickerMonthsViewComponent,\n FabricDatePickerYearsComponent,\n FabricDatePickerViewPanelComponent,\n FabricTimePickerComponent\n ],\n exports: [\n FabricDatePickerCalendarComponent,\n FabricDatePickerComponent\n ],\n providers: [\n FabricDatePickerService,\n FabricDatePickerCompositionService,\n FabricDatePickerCalendarService,\n FabricDatePickerCalendarViewService,\n FabricDatePickerYearsService,\n FabricDatePickerWeeks,\n FabricDatePickerYears,\n FabricDatePickerInlineDialogService\n ]\n }]\n }] });\n\nclass FabricModal extends FabricReactive {\n componentFactoryResolver;\n applicationRef;\n injector;\n document;\n componentRef = 'destroyed';\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super();\n this.componentFactoryResolver = componentFactoryResolver;\n this.applicationRef = applicationRef;\n this.injector = injector;\n this.document = document;\n }\n ngOnDestroy() {\n this.removeComponent();\n }\n createAndAppend(config) {\n const componentInjector = config?.injector ? config.injector : this.injector;\n this.componentRef = this.componentFactoryResolver\n .resolveComponentFactory(this.getComponent())\n .create(componentInjector);\n this.applicationRef.attachView(this.componentRef.hostView);\n const domModalElement = this.componentRef.hostView\n .rootNodes[0];\n this.getElement(config?.appendToElement).appendChild(domModalElement);\n if (config?.afterCompCreation) {\n config?.afterCompCreation();\n }\n this.componentRef.changeDetectorRef.detectChanges();\n }\n removeComponent() {\n if (this.componentRef !== 'destroyed') {\n this.applicationRef.detachView(this.componentRef.hostView);\n this.componentRef.destroy();\n this.componentRef = 'destroyed';\n this.unsubscribe();\n }\n }\n getComponentRef() {\n return this.componentRef;\n }\n getInjector() {\n return this.injector;\n }\n getDocument() {\n return this.document;\n }\n onCloseOnEsc() {\n const close$ = fromEvent(this.getDocument(), 'keyup');\n return close$\n .pipe(filter((key) => key.code === 'Escape'), takeUntil(this.unsubscribe$));\n }\n isComponentCreated() {\n return this.componentRef !== 'destroyed';\n }\n getElement(el) {\n return el ? el.nativeElement : this.document.body;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModal, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricModal, usesInheritance: true, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModal, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }] });\n\nclass FabricDrawerService extends FabricModal {\n /** To prevent multiple timers **/\n inProgress = false;\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n }\n getComponent() {\n return FabricDrawerComponent;\n }\n open(config) {\n if (event) {\n event.stopPropagation();\n }\n if (this.isComponentCreated() && config?.preventReopeningDrawer) {\n return;\n }\n if (this.isComponentCreated() && !this.inProgress && !config?.preventReopeningDrawer) {\n this.waitAndCreateNewDrawer(config);\n }\n else {\n this.createDrawer(config);\n }\n }\n close() {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.visible = false;\n componentRef.instance.detectChanges();\n timer(300)\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => {\n this.removeComponent();\n this.inProgress = false;\n });\n }\n }\n createDrawer(config) {\n if (this.isComponentCreated()) {\n this.removeComponent();\n }\n let theme = Theme.FABRIC, parentInjector = this.getInjector();\n if (config && config.theme) {\n theme = config.theme;\n }\n if (config && config.injector) {\n parentInjector = config.injector;\n }\n const injector = Injector.create({\n providers: [{\n provide: themeToken,\n useValue: theme\n }],\n parent: parentInjector\n });\n this.createAndAppend({\n injector: injector,\n afterCompCreation: () => this.applyInstanceVars(config),\n appendToElement: config?.appendToElement\n });\n this.closeOnEscKey();\n }\n waitAndCreateNewDrawer(config) {\n this.inProgress = true;\n this.close();\n timer(400)\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => {\n this.createDrawer(config);\n });\n }\n applyInstanceVars(config) {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n if (config?.width) {\n componentRef.instance.width = config.width;\n }\n if (config?.closeOnClickOutside) {\n componentRef.instance.closeOnClickOutside = config.closeOnClickOutside;\n }\n componentRef.instance.dialogNestedComponent = config?.component;\n componentRef.instance.isFixed = !config?.appendToElement;\n }\n }\n closeOnEscKey() {\n this.onCloseOnEsc()\n .subscribe(() => this.close());\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }] });\n\nconst selector = 'gui-close-icon';\nclass FabricCloseIconComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCloseIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricCloseIconComponent, selector: \"gui-close-icon\", host: { properties: { \"class.gui-close-icon-wrapper\": \"true\" } }, ngImport: i0, template: `\n\t\t<span class=\"gui-close-icon\"></span>\n\t`, isInline: true, styles: [\".gui-close-icon-wrapper .gui-close-icon{cursor:pointer;height:16px;position:absolute;right:8px;top:8px;width:16px}.gui-close-icon-wrapper .gui-close-icon:before,.gui-close-icon-wrapper .gui-close-icon:after{background-color:#aaa;content:\\\" \\\";height:16px;left:7px;position:absolute;width:2px}.gui-close-icon-wrapper .gui-close-icon:before{-ms-transform:rotate(45deg);transform:rotate(45deg)}.gui-close-icon-wrapper .gui-close-icon:after{-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.gui-close-icon-wrapper .gui-close-icon:hover:before,.gui-close-icon-wrapper .gui-close-icon:hover:after{background-color:#464646}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCloseIconComponent, decorators: [{\n type: Component,\n args: [{ selector: selector, template: `\n\t\t<span class=\"gui-close-icon\"></span>\n\t`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-close-icon-wrapper]': 'true'\n }, styles: [\".gui-close-icon-wrapper .gui-close-icon{cursor:pointer;height:16px;position:absolute;right:8px;top:8px;width:16px}.gui-close-icon-wrapper .gui-close-icon:before,.gui-close-icon-wrapper .gui-close-icon:after{background-color:#aaa;content:\\\" \\\";height:16px;left:7px;position:absolute;width:2px}.gui-close-icon-wrapper .gui-close-icon:before{-ms-transform:rotate(45deg);transform:rotate(45deg)}.gui-close-icon-wrapper .gui-close-icon:after{-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.gui-close-icon-wrapper .gui-close-icon:hover:before,.gui-close-icon-wrapper .gui-close-icon:hover:after{background-color:#464646}\\n\"] }]\n }] });\n\nclass FabricDrawerComponent extends FabricThemedComponent {\n componentFactoryResolver;\n changeDetectorRef;\n elRef;\n dialogService;\n container;\n width = '400px';\n closeOnClickOutside = false;\n dialogNestedComponent;\n visible = false;\n isFixed = false;\n constructor(componentFactoryResolver, changeDetectorRef, elRef, dialogService, themeModalService, renderer) {\n super(elRef, renderer, themeModalService);\n this.componentFactoryResolver = componentFactoryResolver;\n this.changeDetectorRef = changeDetectorRef;\n this.elRef = elRef;\n this.dialogService = dialogService;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.createNestedComponent();\n timer(50)\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => {\n this.visible = true;\n this.changeDetectorRef.detectChanges();\n });\n }\n closeDrawer() {\n this.dialogService.close();\n }\n clickOutside(event) {\n if (this.closeOnClickOutside) {\n if (this.isContainerClicked(event)) {\n this.closeDrawer();\n }\n }\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n isContainerClicked(event) {\n const dialogContentRef = this.elRef.nativeElement.querySelector('.gui-drawer-content');\n if (dialogContentRef) {\n return !dialogContentRef.contains(event.target);\n }\n return false;\n }\n createNestedComponent() {\n if (this.container) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.dialogNestedComponent);\n this.container.createComponent(componentFactory);\n this.changeDetectorRef.detectChanges();\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: FabricDrawerService }, { token: FabricModalThemeService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDrawerComponent, selector: \"ng-component\", viewQueries: [{ propertyName: \"container\", first: true, predicate: [\"container\"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: \"<div (document:click)=\\\"clickOutside($event)\\\"\\n\\t [class.gui-drawer-fixed]=\\\"isFixed\\\"\\n\\t [class.gui-drawer-visible]=\\\"visible\\\"\\n\\t [style.max-width]=\\\"width\\\"\\n\\t class=\\\"gui-drawer-wrapper\\\">\\n\\t<div\\n\\t\\tclass=\\\"gui-drawer-content\\\">\\n\\t\\t<gui-close-icon (click)=\\\"closeDrawer()\\\"></gui-close-icon>\\n\\t\\t<ng-template #container></ng-template>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-drawer-wrapper{display:-ms-flexbox;display:flex;font-family:Arial;height:100%;width:auto;position:absolute;padding-left:50px;right:0;top:0;overflow:hidden;z-index:1000}.gui-drawer-wrapper .gui-drawer-content{background-color:#fff;height:100%;position:relative;margin-left:auto;-ms-transform:translateX(100%);transform:translate(100%);transition:all .3s ease-in-out}.gui-drawer-wrapper.gui-drawer-visible .gui-drawer-content{-ms-transform:translateX(0);transform:translate(0);box-shadow:-6px 0 16px -8px #00000014,-9px 0 28px #0000000d,-12px 0 48px 16px #00000008}.gui-drawer-wrapper.gui-drawer-fixed{position:fixed;height:100vh}\\n\", \".gui-dark .gui-drawer-wrapper .gui-drawer-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}\\n\"], dependencies: [{ kind: \"component\", type: FabricCloseIconComponent, selector: \"gui-close-icon\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerComponent, decorators: [{\n type: Component,\n args: [{ changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div (document:click)=\\\"clickOutside($event)\\\"\\n\\t [class.gui-drawer-fixed]=\\\"isFixed\\\"\\n\\t [class.gui-drawer-visible]=\\\"visible\\\"\\n\\t [style.max-width]=\\\"width\\\"\\n\\t class=\\\"gui-drawer-wrapper\\\">\\n\\t<div\\n\\t\\tclass=\\\"gui-drawer-content\\\">\\n\\t\\t<gui-close-icon (click)=\\\"closeDrawer()\\\"></gui-close-icon>\\n\\t\\t<ng-template #container></ng-template>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-drawer-wrapper{display:-ms-flexbox;display:flex;font-family:Arial;height:100%;width:auto;position:absolute;padding-left:50px;right:0;top:0;overflow:hidden;z-index:1000}.gui-drawer-wrapper .gui-drawer-content{background-color:#fff;height:100%;position:relative;margin-left:auto;-ms-transform:translateX(100%);transform:translate(100%);transition:all .3s ease-in-out}.gui-drawer-wrapper.gui-drawer-visible .gui-drawer-content{-ms-transform:translateX(0);transform:translate(0);box-shadow:-6px 0 16px -8px #00000014,-9px 0 28px #0000000d,-12px 0 48px 16px #00000008}.gui-drawer-wrapper.gui-drawer-fixed{position:fixed;height:100vh}\\n\", \".gui-dark .gui-drawer-wrapper .gui-drawer-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: FabricDrawerService }, { type: FabricModalThemeService }, { type: i0.Renderer2 }], propDecorators: { container: [{\n type: ViewChild,\n args: ['container', { read: ViewContainerRef, static: false }]\n }] } });\n\nclass FabricCloseIconModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCloseIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCloseIconModule, declarations: [FabricCloseIconComponent], imports: [CommonModule], exports: [FabricCloseIconComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCloseIconModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricCloseIconModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricCloseIconComponent\n ],\n exports: [\n FabricCloseIconComponent\n ]\n }]\n }] });\n\nclass FabricDrawerModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerModule, declarations: [FabricDrawerComponent], imports: [CommonModule,\n FabricCloseIconModule] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerModule, providers: [\n FabricDrawerService\n ], imports: [CommonModule,\n FabricCloseIconModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDrawerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FabricCloseIconModule\n ],\n declarations: [\n FabricDrawerComponent\n ],\n providers: [\n FabricDrawerService\n ]\n }]\n }] });\n\nclass Geometry {\n container;\n menu;\n windowSize;\n containerHeight = 0;\n containerWidth = 0;\n availableBottomSpace = 0;\n availableTopSpace = 0;\n constructor(container, menu, windowSize) {\n this.container = container;\n this.menu = menu;\n this.windowSize = windowSize;\n this.calculate(this.menu, this.windowSize);\n }\n getContainerHeight() {\n return this.containerHeight;\n }\n getContainerWidth() {\n return this.containerWidth;\n }\n canOpenDownward() {\n return this.availableBottomSpace > 0;\n }\n canOpenUpward() {\n return this.availableTopSpace > 0;\n }\n calculate(menu, windowSize) {\n const containerEl = this.container.nativeElement, menuHeight = menu.nativeElement.offsetHeight, rectBottom = containerEl.getBoundingClientRect().bottom;\n this.containerHeight = containerEl.offsetHeight;\n this.containerWidth = containerEl.offsetWidth;\n this.availableBottomSpace = windowSize - rectBottom - menuHeight;\n this.availableTopSpace = rectBottom - menuHeight - this.containerHeight;\n }\n}\n\nclass GeometryService {\n geometryResults$ = new Subject();\n watchGeometry() {\n return this.geometryResults$.asObservable();\n }\n changeGeometry(container, menu, windowSize) {\n const geometry = new Geometry(container, menu, windowSize);\n this.geometryResults$.next(geometry);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: GeometryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: GeometryService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: GeometryService, decorators: [{\n type: Injectable\n }] });\n\nvar Placement;\n(function (Placement) {\n Placement[Placement[\"Right\"] = 0] = \"Right\";\n Placement[Placement[\"Left\"] = 1] = \"Left\";\n})(Placement || (Placement = {}));\n\nclass FabricDropdownComponent extends FabricReactive {\n platformId;\n elementRef;\n renderer;\n changeDetectorRef;\n geometryService;\n dropdownMenuRef;\n containerRef;\n onResize() {\n if (isPlatformBrowser(this.platformId)) {\n this.windowSize = window.innerHeight;\n }\n }\n disabled = false;\n dropdownText = 'Dropdown';\n isArrowEnabled = true;\n placement;\n width = 120;\n showOnHover = false;\n containerWidth = 0;\n containerHeight = 0;\n windowSize = 0;\n horizontalPosition = 0;\n bottomPosition = 0;\n topPosition = 0;\n arrowDirection = Direction.BOTTOM;\n canOpenDownward = false;\n canOpenUpward = false;\n open = false;\n topBorderWidth = 1;\n constructor(platformId, elementRef, renderer, changeDetectorRef, geometryService) {\n super();\n this.platformId = platformId;\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.changeDetectorRef = changeDetectorRef;\n this.geometryService = geometryService;\n this.onResize();\n }\n ngOnChanges(changes) {\n if (changes['placement']) {\n this.changePlacement();\n }\n }\n ngOnInit() {\n this.geometryService\n .watchGeometry()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((geometry) => {\n this.containerHeight = geometry.getContainerHeight();\n this.containerWidth = geometry.getContainerWidth();\n this.canOpenUpward = geometry.canOpenUpward();\n this.canOpenDownward = geometry.canOpenDownward();\n });\n }\n tryToOpen(event) {\n if (this.isContainerDisabled(event)) {\n event.stopPropagation();\n }\n else {\n this.openMenu(!this.open);\n this.changeDetectorRef.detectChanges();\n }\n }\n tryToOpenOnHover() {\n if (this.showOnHover) {\n this.openMenu(!this.open);\n this.changeDetectorRef.detectChanges();\n }\n }\n hideOnHover() {\n if (this.showOnHover) {\n this.hideItems();\n this.open = false;\n }\n }\n clickOutside(event) {\n if (this.isContainerClicked(event)) {\n this.openMenu(false);\n }\n }\n isDirectionLeft() {\n return this.isArrowEnabled && this.arrowDirection === Direction.LEFT;\n }\n openMenu(opened) {\n this.open = opened;\n if (this.open) {\n this.showItems();\n }\n else {\n this.hideItems();\n }\n }\n showItems() {\n if (this.containerRef && this.dropdownMenuRef) {\n this.addClass(this.elementRef.nativeElement, 'gui-menu-opened');\n this.geometryService.changeGeometry(this.containerRef, this.dropdownMenuRef, this.windowSize);\n if (this.canOpenDownward || !this.canOpenUpward) {\n this.openDownward();\n }\n else {\n this.openUpward();\n }\n if (this.placement === Placement.Right) {\n this.openRight();\n }\n if (this.placement === Placement.Left) {\n this.openLeft();\n }\n }\n }\n openDownward() {\n this.topPosition = null;\n this.bottomPosition = this.containerHeight;\n }\n openUpward() {\n this.bottomPosition = null;\n this.topPosition = this.containerHeight;\n }\n openRight() {\n this.bottomPosition = -this.topBorderWidth;\n this.topPosition = null;\n this.horizontalPosition = this.containerWidth;\n }\n openLeft() {\n this.bottomPosition = -this.topBorderWidth;\n this.topPosition = null;\n this.horizontalPosition = -(this.containerWidth + 1);\n }\n changePlacement() {\n if (!this.dropdownMenuRef) {\n return;\n }\n switch (this.placement) {\n case Placement.Right: {\n this.removeClass(this.dropdownMenuRef.nativeElement, 'gui-dropdown-left');\n this.addClass(this.dropdownMenuRef.nativeElement, 'gui-dropdown-right');\n this.arrowDirection = Direction.RIGHT;\n break;\n }\n case Placement.Left: {\n this.removeClass(this.dropdownMenuRef.nativeElement, 'gui-dropdown-right');\n this.addClass(this.dropdownMenuRef.nativeElement, 'gui-dropdown-left');\n this.arrowDirection = Direction.LEFT;\n break;\n }\n default:\n break;\n }\n }\n hideItems() {\n const itemsElHasOpenClass = this.elementRef.nativeElement.classList.contains('gui-menu-opened');\n if (itemsElHasOpenClass) {\n this.removeClass(this.elementRef.nativeElement, 'gui-menu-opened');\n }\n }\n isContainerClicked(event) {\n return !this.elementRef.nativeElement.contains(event.target);\n }\n isContainerDisabled(event) {\n return event.target.classList.contains('gui-disabled');\n }\n addClass(element, name) {\n this.renderer.addClass(element, name);\n }\n removeClass(element, name) {\n this.renderer.removeClass(element, name);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDropdownComponent, deps: [{ token: PLATFORM_ID }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: GeometryService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDropdownComponent, selector: \"gui-dropdown\", inputs: { disabled: \"disabled\", dropdownText: \"dropdownText\", isArrowEnabled: \"isArrowEnabled\", placement: \"placement\", width: \"width\", showOnHover: \"showOnHover\" }, host: { listeners: { \"window:resize\": \"onResize()\" }, properties: { \"class.gui-dropdown\": \"true\" } }, providers: [\n GeometryService\n ], viewQueries: [{ propertyName: \"dropdownMenuRef\", first: true, predicate: [\"dropdownMenu\"], descendants: true, read: ElementRef, static: true }, { propertyName: \"containerRef\", first: true, predicate: [\"container\"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<div #container\\n\\t (click)=\\\"tryToOpen($event)\\\"\\n\\t (document:click)=\\\"clickOutside($event)\\\"\\n\\t (mouseenter)=\\\"tryToOpenOnHover()\\\"\\n\\t (mouseleave)=\\\"hideOnHover()\\\"\\n\\t [class.gui-arrow-left]=\\\"isDirectionLeft()\\\"\\n\\t [class.gui-disabled]=\\\"disabled\\\"\\n\\t [style.width.px]=\\\"width\\\"\\n\\t class=\\\"gui-dropdown-container\\\">\\n\\n\\t<div class=\\\"gui-dropdown-text\\\">{{dropdownText}}</div>\\n\\n\\t<div *ngIf=\\\"isArrowEnabled\\\"\\n\\t\\t [class.gui-dropdown-arrow]=\\\"isArrowEnabled\\\">\\n\\t\\t<gui-arrow-icon [direction]=\\\"arrowDirection\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div #dropdownMenu\\n\\t\\t [style.bottom.px]=\\\"topPosition\\\"\\n\\t\\t [style.left.px]=\\\"horizontalPosition\\\"\\n\\t\\t [style.top.px]=\\\"bottomPosition\\\"\\n\\t\\t class=\\\"gui-dropdown-menu\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-dropdown .gui-dropdown-container{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;color:#333;cursor:pointer;display:inline-block;font:14px Arial;padding:8px 12px;position:relative;width:auto}.gui-dropdown .gui-dropdown-container:hover{border-color:#999}.gui-dropdown .gui-dropdown-container:hover .gui-arrow-icon svg path{stroke:#464646}.gui-dropdown .gui-dropdown-container .gui-dropdown-arrow{cursor:pointer;position:absolute;right:12px;top:8px}.gui-dropdown .gui-dropdown-container .gui-dropdown-right.gui-dropdown-menu,.gui-dropdown .gui-dropdown-container .gui-dropdown-left.gui-dropdown-menu{margin:0}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu{background:inherit;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;display:none;left:-1px;overflow:hidden;position:absolute;width:inherit;z-index:2}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item{list-style-type:none;padding:8px 12px;width:inherit}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item:hover{background:#cccccc}.gui-dropdown .gui-dropdown-container.gui-arrow-left{padding:8px 12px 8px 32px}.gui-dropdown .gui-dropdown-container.gui-arrow-left .gui-dropdown-arrow{left:12px;right:initial}.gui-dropdown.gui-menu-opened .gui-dropdown-container{border-color:#999}.gui-dropdown.gui-menu-opened .gui-dropdown-menu{display:block}.gui-dropdown .gui-disabled{color:#ccc;pointer-events:none}\\n\", \".gui-material .gui-dropdown .gui-dropdown-container{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-dropdown .gui-dropdown-container{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-dropdown .gui-dropdown-container:hover{border-color:#ce93d8}.gui-dark .gui-dropdown .gui-dropdown-container:hover .gui-dropdown-arrow svg path{stroke:#ce93d8}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu{border-color:#616161}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item{border-top-color:#757575}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item:hover{background:#616161}.gui-dark .gui-dropdown.gui-options-opened .gui-dropdown-container{border-color:#ce93d8}.gui-dark .gui-dropdown .gui-disabled{opacity:.36}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: FabricArrowIconComponent, selector: \"gui-arrow-icon\", inputs: [\"direction\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDropdownComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-dropdown]': 'true'\n }, providers: [\n GeometryService\n ], template: \"<div #container\\n\\t (click)=\\\"tryToOpen($event)\\\"\\n\\t (document:click)=\\\"clickOutside($event)\\\"\\n\\t (mouseenter)=\\\"tryToOpenOnHover()\\\"\\n\\t (mouseleave)=\\\"hideOnHover()\\\"\\n\\t [class.gui-arrow-left]=\\\"isDirectionLeft()\\\"\\n\\t [class.gui-disabled]=\\\"disabled\\\"\\n\\t [style.width.px]=\\\"width\\\"\\n\\t class=\\\"gui-dropdown-container\\\">\\n\\n\\t<div class=\\\"gui-dropdown-text\\\">{{dropdownText}}</div>\\n\\n\\t<div *ngIf=\\\"isArrowEnabled\\\"\\n\\t\\t [class.gui-dropdown-arrow]=\\\"isArrowEnabled\\\">\\n\\t\\t<gui-arrow-icon [direction]=\\\"arrowDirection\\\"></gui-arrow-icon>\\n\\t</div>\\n\\n\\t<div #dropdownMenu\\n\\t\\t [style.bottom.px]=\\\"topPosition\\\"\\n\\t\\t [style.left.px]=\\\"horizontalPosition\\\"\\n\\t\\t [style.top.px]=\\\"bottomPosition\\\"\\n\\t\\t class=\\\"gui-dropdown-menu\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-dropdown .gui-dropdown-container{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;color:#333;cursor:pointer;display:inline-block;font:14px Arial;padding:8px 12px;position:relative;width:auto}.gui-dropdown .gui-dropdown-container:hover{border-color:#999}.gui-dropdown .gui-dropdown-container:hover .gui-arrow-icon svg path{stroke:#464646}.gui-dropdown .gui-dropdown-container .gui-dropdown-arrow{cursor:pointer;position:absolute;right:12px;top:8px}.gui-dropdown .gui-dropdown-container .gui-dropdown-right.gui-dropdown-menu,.gui-dropdown .gui-dropdown-container .gui-dropdown-left.gui-dropdown-menu{margin:0}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu{background:inherit;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;display:none;left:-1px;overflow:hidden;position:absolute;width:inherit;z-index:2}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item{list-style-type:none;padding:8px 12px;width:inherit}.gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item:hover{background:#cccccc}.gui-dropdown .gui-dropdown-container.gui-arrow-left{padding:8px 12px 8px 32px}.gui-dropdown .gui-dropdown-container.gui-arrow-left .gui-dropdown-arrow{left:12px;right:initial}.gui-dropdown.gui-menu-opened .gui-dropdown-container{border-color:#999}.gui-dropdown.gui-menu-opened .gui-dropdown-menu{display:block}.gui-dropdown .gui-disabled{color:#ccc;pointer-events:none}\\n\", \".gui-material .gui-dropdown .gui-dropdown-container{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-dropdown .gui-dropdown-container{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-dropdown .gui-dropdown-container:hover{border-color:#ce93d8}.gui-dark .gui-dropdown .gui-dropdown-container:hover .gui-dropdown-arrow svg path{stroke:#ce93d8}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu{border-color:#616161}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item{border-top-color:#757575}.gui-dark .gui-dropdown .gui-dropdown-container .gui-dropdown-menu .gui-item:hover{background:#616161}.gui-dark .gui-dropdown.gui-options-opened .gui-dropdown-container{border-color:#ce93d8}.gui-dark .gui-dropdown .gui-disabled{opacity:.36}\\n\"] }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: GeometryService }], propDecorators: { dropdownMenuRef: [{\n type: ViewChild,\n args: ['dropdownMenu', { read: ElementRef, static: true }]\n }], containerRef: [{\n type: ViewChild,\n args: ['container', { read: ElementRef, static: true }]\n }], onResize: [{\n type: HostListener,\n args: ['window:resize']\n }], disabled: [{\n type: Input\n }], dropdownText: [{\n type: Input\n }], isArrowEnabled: [{\n type: Input\n }], placement: [{\n type: Input\n }], width: [{\n type: Input\n }], showOnHover: [{\n type: Input\n }] } });\n\nclass FabricDropdownItemComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDropdownItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDropdownItemComponent, selector: \"gui-dropdown-item\", ngImport: i0, template: \"<div class=\\\"gui-item\\\">\\n\\t<ng-content></ng-content>\\n</div>\\n\", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDropdownItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-dropdown-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div class=\\\"gui-item\\\">\\n\\t<ng-content></ng-content>\\n</div>\\n\" }]\n }] });\n\nclass FabricDropdownModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDropdownModule, declarations: [FabricDropdownComponent,\n FabricDropdownItemComponent], imports: [CommonModule,\n FabricArrowIconModule], exports: [FabricDropdownComponent,\n FabricDropdownItemComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDropdownModule, imports: [CommonModule,\n FabricArrowIconModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDropdownModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FabricArrowIconModule\n ],\n declarations: [\n FabricDropdownComponent,\n FabricDropdownItemComponent\n ],\n exports: [\n FabricDropdownComponent,\n FabricDropdownItemComponent\n ]\n }]\n }] });\n\nclass FabricDialogService extends FabricModal {\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n }\n getComponent() {\n return FabricDialogComponent;\n }\n open(config) {\n if (this.isComponentCreated()) {\n return;\n }\n let theme = Theme.FABRIC, parentInjector = this.getInjector();\n if (config && config.theme) {\n theme = config.theme;\n }\n if (config && config.injector) {\n parentInjector = config.injector;\n }\n const injector = Injector.create({\n providers: [{\n provide: themeToken,\n useValue: theme\n }],\n parent: parentInjector\n });\n this.createAndAppend({\n afterCompCreation: () => this.afterComponentCreation(config),\n injector\n });\n this.closeOnEscKey();\n }\n close() {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.visible = false;\n componentRef.instance.detectChanges();\n timer(400)\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => {\n this.removeComponent();\n });\n }\n }\n closeOnEscKey() {\n this.onCloseOnEsc()\n .subscribe(() => this.close());\n }\n afterComponentCreation(config) {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.dialogNestedComponent = config.component;\n if (config?.width) {\n componentRef.instance.width = config.width;\n }\n if (config?.height) {\n componentRef.instance.height = config.height;\n }\n componentRef.instance.setTransformOrigin(event);\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }] });\n\nclass FabricDialogComponent extends FabricThemedComponent {\n componentFactoryResolver;\n changeDetectorRef;\n elRef;\n platformId;\n dialogService;\n container;\n dialogNestedComponent;\n visible = false;\n width = '400px';\n height = '90vh';\n triggerPosition = '';\n constructor(componentFactoryResolver, changeDetectorRef, elRef, platformId, themeModalService, renderer, dialogService) {\n super(elRef, renderer, themeModalService);\n this.componentFactoryResolver = componentFactoryResolver;\n this.changeDetectorRef = changeDetectorRef;\n this.elRef = elRef;\n this.platformId = platformId;\n this.dialogService = dialogService;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.createNestedComponent();\n timer(0)\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => {\n this.visible = true;\n this.detectChanges();\n });\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n closeDialog() {\n this.dialogService.close();\n }\n clickOutside(event) {\n if (this.isContainerClicked(event)) {\n this.dialogService.close();\n }\n }\n setTransformOrigin(event) {\n if (isPlatformBrowser(this.platformId) && event) {\n const x = (event.clientX - (window.innerWidth / 2)), y = (event.clientY - (window.innerHeight / 2));\n this.triggerPosition = `${x}px ${y}px`;\n }\n }\n isContainerClicked(event) {\n const dialogContentRef = this.elRef.nativeElement.querySelector('.gui-dialog-content');\n if (dialogContentRef) {\n return !dialogContentRef.contains(event.target);\n }\n return false;\n }\n createNestedComponent() {\n if (this.dialogNestedComponent && this.container) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.dialogNestedComponent);\n this.container.createComponent(componentFactory);\n this.detectChanges();\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: PLATFORM_ID }, { token: FabricModalThemeService }, { token: i0.Renderer2 }, { token: forwardRef(() => FabricDialogService) }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricDialogComponent, selector: \"gui-fabric-dialog\", host: { properties: { \"class.gui-fabric-dialog\": \"true\" } }, viewQueries: [{ propertyName: \"container\", first: true, predicate: [\"container\"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"gui-dialog-blanket\\\"></div>\\n<div (click)=\\\"clickOutside($event)\\\"\\n\\t class=\\\"gui-dialog-wrapper\\\">\\n\\t<div [class.gui-dialog-visible]=\\\"visible\\\"\\n\\t\\t [style.max-height]=\\\"height\\\"\\n\\t\\t [style.max-width]=\\\"width\\\"\\n\\t\\t [style.transform-origin]=\\\"triggerPosition\\\"\\n\\t\\t class=\\\"gui-dialog-content\\\">\\n\\t\\t<ng-template #container></ng-template>\\n\\t\\t<gui-close-icon (click)=\\\"closeDialog()\\\"></gui-close-icon>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-box-border{box-sizing:border-box}.gui-bg-transparent{background-color:transparent}.gui-border{border-width:1px}.gui-border-0{border-width:0}.gui-border-b{border-bottom-width:1px}.gui-border-t{border-top-width:1px}.gui-border-solid{border-style:solid}.gui-border-b-solid{border-bottom-style:solid}.gui-border-t-solid{border-top-style:solid}.gui-border-none{border-style:none}.gui-rounded{border-radius:4px}.gui-cursor-pointer{cursor:pointer}.gui-block{display:block}.gui-inline-block{display:inline-block}.gui-inline{display:inline}.gui-flex{display:-ms-flexbox;display:flex}.gui-hidden{display:none}.gui-display-grid{display:grid}.gui-flex-row{-ms-flex-direction:row;flex-direction:row}.gui-flex-row-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gui-flex-col{-ms-flex-direction:column;flex-direction:column}.gui-flex-col-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.gui-justify-start{-ms-flex-pack:start;justify-content:flex-start}.gui-justify-end{-ms-flex-pack:end;justify-content:flex-end}.gui-justify-center{-ms-flex-pack:center;justify-content:center}.gui-justify-between{-ms-flex-pack:justify;justify-content:space-between}.gui-justify-around{-ms-flex-pack:distribute;justify-content:space-around}.gui-justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.gui-items-start{-ms-flex-align:start;align-items:flex-start}.gui-items-end{-ms-flex-align:end;align-items:flex-end}.gui-items-center{-ms-flex-align:center;align-items:center}.gui-items-between{-ms-flex-align:space-between;align-items:space-between}.gui-items-around{-ms-flex-align:space-around;align-items:space-around}.gui-items-evenly{-ms-flex-align:space-evenly;align-items:space-evenly}.gui-flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.gui-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.gui-flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.gui-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gui-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gui-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gui-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.gui-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.gui-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.gui-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.gui-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.gui-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.gui-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.gui-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.gui-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.gui-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.gui-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.gui-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.gui-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.gui-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.gui-grid-rows-gap-0{grid-row-gap:0}.gui-grid-rows-gap-1{grid-row-gap:1px}.gui-grid-rows-gap-2{grid-row-gap:2px}.gui-grid-rows-gap-3{grid-row-gap:3px}.gui-grid-rows-gap-4{grid-row-gap:4px}.gui-grid-rows-gap-5{grid-row-gap:6px}.gui-grid-rows-gap-6{grid-row-gap:8px}.gui-grid-rows-gap-7{grid-row-gap:10px}.gui-grid-rows-gap-8{grid-row-gap:12px}.gui-grid-rows-gap-10{grid-row-gap:16px}.gui-grid-rows-gap-13{grid-row-gap:22px}.gui-grid-rows-gap-23{grid-row-gap:42px}.gui-grid-cols-gap-0{grid-column-gap:0}.gui-grid-cols-gap-1{grid-column-gap:1px}.gui-grid-cols-gap-2{grid-column-gap:2px}.gui-grid-cols-gap-3{grid-column-gap:3px}.gui-grid-cols-gap-4{grid-column-gap:4px}.gui-grid-cols-gap-5{grid-column-gap:6px}.gui-grid-cols-gap-6{grid-column-gap:8px}.gui-grid-cols-gap-7{grid-column-gap:10px}.gui-grid-cols-gap-8{grid-column-gap:12px}.gui-grid-cols-gap-10{grid-column-gap:16px}.gui-grid-cols-gap-13{grid-column-gap:22px}.gui-grid-cols-gap-23{grid-column-gap:42px}.gui-h-full{height:100%}.gui-list-none{list-style-type:none}.gui-m-0{margin:0}.gui-mx-0{margin-left:0;margin-right:0}.gui-my-0{margin-bottom:0;margin-top:0}.-gui-m-0{margin:0}.-gui-mx-0{margin-left:0;margin-right:0}.-gui-my-0{margin-bottom:0;margin-top:0}.gui-m-1{margin:1px}.gui-mx-1{margin-left:1px;margin-right:1px}.gui-my-1{margin-bottom:1px;margin-top:1px}.-gui-m-1{margin:-1px}.-gui-mx-1{margin-left:-1px;margin-right:-1px}.-gui-my-1{margin-bottom:-1px;margin-top:-1px}.gui-m-2{margin:2px}.gui-mx-2{margin-left:2px;margin-right:2px}.gui-my-2{margin-bottom:2px;margin-top:2px}.-gui-m-2{margin:-2px}.-gui-mx-2{margin-left:-2px;margin-right:-2px}.-gui-my-2{margin-bottom:-2px;margin-top:-2px}.gui-m-3{margin:3px}.gui-mx-3{margin-left:3px;margin-right:3px}.gui-my-3{margin-bottom:3px;margin-top:3px}.-gui-m-3{margin:-3px}.-gui-mx-3{margin-left:-3px;margin-right:-3px}.-gui-my-3{margin-bottom:-3px;margin-top:-3px}.gui-m-4{margin:4px}.gui-mx-4{margin-left:4px;margin-right:4px}.gui-my-4{margin-bottom:4px;margin-top:4px}.-gui-m-4{margin:-4px}.-gui-mx-4{margin-left:-4px;margin-right:-4px}.-gui-my-4{margin-bottom:-4px;margin-top:-4px}.gui-m-5{margin:6px}.gui-mx-5{margin-left:6px;margin-right:6px}.gui-my-5{margin-bottom:6px;margin-top:6px}.-gui-m-5{margin:-6px}.-gui-mx-5{margin-left:-6px;margin-right:-6px}.-gui-my-5{margin-bottom:-6px;margin-top:-6px}.gui-m-6{margin:8px}.gui-mx-6{margin-left:8px;margin-right:8px}.gui-my-6{margin-bottom:8px;margin-top:8px}.-gui-m-6{margin:-8px}.-gui-mx-6{margin-left:-8px;margin-right:-8px}.-gui-my-6{margin-bottom:-8px;margin-top:-8px}.gui-m-7{margin:10px}.gui-mx-7{margin-left:10px;margin-right:10px}.gui-my-7{margin-bottom:10px;margin-top:10px}.-gui-m-7{margin:-10px}.-gui-mx-7{margin-left:-10px;margin-right:-10px}.-gui-my-7{margin-bottom:-10px;margin-top:-10px}.gui-m-8{margin:12px}.gui-mx-8{margin-left:12px;margin-right:12px}.gui-my-8{margin-bottom:12px;margin-top:12px}.-gui-m-8{margin:-12px}.-gui-mx-8{margin-left:-12px;margin-right:-12px}.-gui-my-8{margin-bottom:-12px;margin-top:-12px}.gui-m-10{margin:16px}.gui-mx-10{margin-left:16px;margin-right:16px}.gui-my-10{margin-bottom:16px;margin-top:16px}.-gui-m-10{margin:-16px}.-gui-mx-10{margin-left:-16px;margin-right:-16px}.-gui-my-10{margin-bottom:-16px;margin-top:-16px}.gui-m-13{margin:22px}.gui-mx-13{margin-left:22px;margin-right:22px}.gui-my-13{margin-bottom:22px;margin-top:22px}.-gui-m-13{margin:-22px}.-gui-mx-13{margin-left:-22px;margin-right:-22px}.-gui-my-13{margin-bottom:-22px;margin-top:-22px}.gui-m-23{margin:42px}.gui-mx-23{margin-left:42px;margin-right:42px}.gui-my-23{margin-bottom:42px;margin-top:42px}.-gui-m-23{margin:-42px}.-gui-mx-23{margin-left:-42px;margin-right:-42px}.-gui-my-23{margin-bottom:-42px;margin-top:-42px}.gui-mb-4{margin-bottom:4px}.gui-mb-6{margin-bottom:8px}.gui-mb-8{margin-bottom:12px}.gui-mb-10{margin-bottom:16px}.gui-mb-18{margin-bottom:32px}.gui-mr-0{margin-right:0}.gui-mr-5{margin-right:6px}.gui-mr-auto{margin-right:auto}.gui-ml-auto{margin-left:auto}.gui-ml-6{margin-left:8px}.gui-mt-0{margin-top:0}.gui-mt-4{margin-top:4px}.gui-mt-6{margin-top:8px}.gui-mt-10{margin-top:16px}.gui-mt-14{margin-top:24px}.gui-overflow-hidden{overflow:hidden}.gui-overflow-y-scroll{overflow-y:scroll}.gui-overflow-x-hidden{overflow-x:hidden}.gui-overflow-auto{overflow:auto}.gui-p-0{padding:0}.gui-px-0{padding-left:0;padding-right:0}.gui-py-0{padding-bottom:0;padding-top:0}.gui-p-1{padding:1px}.gui-px-1{padding-left:1px;padding-right:1px}.gui-py-1{padding-bottom:1px;padding-top:1px}.gui-p-2{padding:2px}.gui-px-2{padding-left:2px;padding-right:2px}.gui-py-2{padding-bottom:2px;padding-top:2px}.gui-p-3{padding:3px}.gui-px-3{padding-left:3px;padding-right:3px}.gui-py-3{padding-bottom:3px;padding-top:3px}.gui-p-4{padding:4px}.gui-px-4{padding-left:4px;padding-right:4px}.gui-py-4{padding-bottom:4px;padding-top:4px}.gui-p-5{padding:6px}.gui-px-5{padding-left:6px;padding-right:6px}.gui-py-5{padding-bottom:6px;padding-top:6px}.gui-p-6{padding:8px}.gui-px-6{padding-left:8px;padding-right:8px}.gui-py-6{padding-bottom:8px;padding-top:8px}.gui-p-7{padding:10px}.gui-px-7{padding-left:10px;padding-right:10px}.gui-py-7{padding-bottom:10px;padding-top:10px}.gui-p-8{padding:12px}.gui-px-8{padding-left:12px;padding-right:12px}.gui-py-8{padding-bottom:12px;padding-top:12px}.gui-p-10{padding:16px}.gui-px-10{padding-left:16px;padding-right:16px}.gui-py-10{padding-bottom:16px;padding-top:16px}.gui-p-13{padding:22px}.gui-px-13{padding-left:22px;padding-right:22px}.gui-py-13{padding-bottom:22px;padding-top:22px}.gui-p-23{padding:42px}.gui-px-23{padding-left:42px;padding-right:42px}.gui-py-23{padding-bottom:42px;padding-top:42px}.gui-pr-10{padding-right:16px}.gui-pl-9{padding-right:10px}.gui-pb-6{padding-bottom:8px}.gui-pb-12{padding-bottom:20px}.gui-pl-21{padding-left:38px}.gui-pt-4{padding-top:4px}.gui-pt-6{padding-top:8px}.gui-pt-10{padding-top:16px}.gui-pt-12{padding-top:20px}.gui-pt-14{padding-top:24px}.gui-static{position:static}.gui-fixed{position:fixed}.gui-relative{position:relative}.gui-absolute{position:absolute}.gui-text-xxs{font-size:11px}.gui-text-xs{font-size:12px}.gui-text-sm{font-size:13px}.gui-text-base{font-size:14px}.gui-text-lg{font-size:16px}.gui-text-xl{font-size:18px}.gui-text-2xl{font-size:20px}.gui-text-3xl{font-size:22px}.gui-leading-4{line-height:16px}.gui-leading-6{line-height:24px}.gui-font-thin{font-weight:100}.gui-font-extralight{font-weight:200}.gui-font-light{font-weight:300}.gui-font-normal{font-weight:400}.gui-font-medium{font-weight:500}.gui-font-semibold{font-weight:600}.gui-font-bold{font-weight:700}.gui-font-extrabold{font-weight:800}.gui-font-black{font-weight:900}.gui-italic{font-style:italic}.gui-not-italic{font-style:normal}.gui-whitespace-nowrap{white-space:nowrap}.gui-overflow-ellipsis{text-overflow:ellipsis}.gui-no-underline{text-decoration:none}.gui-text-center{text-align:center}.gui-w-full{width:100%}.gui-w-96{width:384px}.gui-w-3\\\\/5{width:60%}.gui-fabric-dialog *,.gui-fabric-dialog *:after,.gui-fabric-dialog *:before{box-sizing:border-box}.gui-fabric-dialog input{font-size:13px;outline:0}.gui-dialog-blanket{background:rgba(0,0,0,.32);height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:1000}.gui-dialog-wrapper{font-family:Arial;height:100%;width:100%;position:fixed;pointer-events:auto;left:0;top:0;z-index:1000}.gui-dialog-content{background-color:#fff;border-radius:4px;box-shadow:0 3px 7px #999;padding:24px 16px;position:fixed;left:50%;top:50%;transform:scale3d(0,0,0) translate(-50%) translateY(-50%);opacity:0;transition:all .4s;overflow:auto;z-index:1000}.gui-dialog-content.gui-dialog-visible{transform:scaleZ(1) translate(-50%) translateY(-50%);opacity:1}\\n\", \".gui-dark .gui-dialog-wrapper .gui-dialog-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}.gui-dark .gui-dialog-wrapper .gui-dialog-content .gui-dialog-close:before,.gui-dark .gui-dialog-wrapper .gui-dialog-content .gui-dialog-close:after{background:#bdbdbd}\\n\"], dependencies: [{ kind: \"component\", type: FabricCloseIconComponent, selector: \"gui-close-icon\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-fabric-dialog', host: {\n '[class.gui-fabric-dialog]': 'true'\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div class=\\\"gui-dialog-blanket\\\"></div>\\n<div (click)=\\\"clickOutside($event)\\\"\\n\\t class=\\\"gui-dialog-wrapper\\\">\\n\\t<div [class.gui-dialog-visible]=\\\"visible\\\"\\n\\t\\t [style.max-height]=\\\"height\\\"\\n\\t\\t [style.max-width]=\\\"width\\\"\\n\\t\\t [style.transform-origin]=\\\"triggerPosition\\\"\\n\\t\\t class=\\\"gui-dialog-content\\\">\\n\\t\\t<ng-template #container></ng-template>\\n\\t\\t<gui-close-icon (click)=\\\"closeDialog()\\\"></gui-close-icon>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-box-border{box-sizing:border-box}.gui-bg-transparent{background-color:transparent}.gui-border{border-width:1px}.gui-border-0{border-width:0}.gui-border-b{border-bottom-width:1px}.gui-border-t{border-top-width:1px}.gui-border-solid{border-style:solid}.gui-border-b-solid{border-bottom-style:solid}.gui-border-t-solid{border-top-style:solid}.gui-border-none{border-style:none}.gui-rounded{border-radius:4px}.gui-cursor-pointer{cursor:pointer}.gui-block{display:block}.gui-inline-block{display:inline-block}.gui-inline{display:inline}.gui-flex{display:-ms-flexbox;display:flex}.gui-hidden{display:none}.gui-display-grid{display:grid}.gui-flex-row{-ms-flex-direction:row;flex-direction:row}.gui-flex-row-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gui-flex-col{-ms-flex-direction:column;flex-direction:column}.gui-flex-col-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.gui-justify-start{-ms-flex-pack:start;justify-content:flex-start}.gui-justify-end{-ms-flex-pack:end;justify-content:flex-end}.gui-justify-center{-ms-flex-pack:center;justify-content:center}.gui-justify-between{-ms-flex-pack:justify;justify-content:space-between}.gui-justify-around{-ms-flex-pack:distribute;justify-content:space-around}.gui-justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.gui-items-start{-ms-flex-align:start;align-items:flex-start}.gui-items-end{-ms-flex-align:end;align-items:flex-end}.gui-items-center{-ms-flex-align:center;align-items:center}.gui-items-between{-ms-flex-align:space-between;align-items:space-between}.gui-items-around{-ms-flex-align:space-around;align-items:space-around}.gui-items-evenly{-ms-flex-align:space-evenly;align-items:space-evenly}.gui-flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.gui-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.gui-flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.gui-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gui-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gui-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gui-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.gui-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.gui-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.gui-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.gui-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.gui-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.gui-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.gui-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.gui-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.gui-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.gui-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.gui-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.gui-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.gui-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.gui-grid-rows-gap-0{grid-row-gap:0}.gui-grid-rows-gap-1{grid-row-gap:1px}.gui-grid-rows-gap-2{grid-row-gap:2px}.gui-grid-rows-gap-3{grid-row-gap:3px}.gui-grid-rows-gap-4{grid-row-gap:4px}.gui-grid-rows-gap-5{grid-row-gap:6px}.gui-grid-rows-gap-6{grid-row-gap:8px}.gui-grid-rows-gap-7{grid-row-gap:10px}.gui-grid-rows-gap-8{grid-row-gap:12px}.gui-grid-rows-gap-10{grid-row-gap:16px}.gui-grid-rows-gap-13{grid-row-gap:22px}.gui-grid-rows-gap-23{grid-row-gap:42px}.gui-grid-cols-gap-0{grid-column-gap:0}.gui-grid-cols-gap-1{grid-column-gap:1px}.gui-grid-cols-gap-2{grid-column-gap:2px}.gui-grid-cols-gap-3{grid-column-gap:3px}.gui-grid-cols-gap-4{grid-column-gap:4px}.gui-grid-cols-gap-5{grid-column-gap:6px}.gui-grid-cols-gap-6{grid-column-gap:8px}.gui-grid-cols-gap-7{grid-column-gap:10px}.gui-grid-cols-gap-8{grid-column-gap:12px}.gui-grid-cols-gap-10{grid-column-gap:16px}.gui-grid-cols-gap-13{grid-column-gap:22px}.gui-grid-cols-gap-23{grid-column-gap:42px}.gui-h-full{height:100%}.gui-list-none{list-style-type:none}.gui-m-0{margin:0}.gui-mx-0{margin-left:0;margin-right:0}.gui-my-0{margin-bottom:0;margin-top:0}.-gui-m-0{margin:0}.-gui-mx-0{margin-left:0;margin-right:0}.-gui-my-0{margin-bottom:0;margin-top:0}.gui-m-1{margin:1px}.gui-mx-1{margin-left:1px;margin-right:1px}.gui-my-1{margin-bottom:1px;margin-top:1px}.-gui-m-1{margin:-1px}.-gui-mx-1{margin-left:-1px;margin-right:-1px}.-gui-my-1{margin-bottom:-1px;margin-top:-1px}.gui-m-2{margin:2px}.gui-mx-2{margin-left:2px;margin-right:2px}.gui-my-2{margin-bottom:2px;margin-top:2px}.-gui-m-2{margin:-2px}.-gui-mx-2{margin-left:-2px;margin-right:-2px}.-gui-my-2{margin-bottom:-2px;margin-top:-2px}.gui-m-3{margin:3px}.gui-mx-3{margin-left:3px;margin-right:3px}.gui-my-3{margin-bottom:3px;margin-top:3px}.-gui-m-3{margin:-3px}.-gui-mx-3{margin-left:-3px;margin-right:-3px}.-gui-my-3{margin-bottom:-3px;margin-top:-3px}.gui-m-4{margin:4px}.gui-mx-4{margin-left:4px;margin-right:4px}.gui-my-4{margin-bottom:4px;margin-top:4px}.-gui-m-4{margin:-4px}.-gui-mx-4{margin-left:-4px;margin-right:-4px}.-gui-my-4{margin-bottom:-4px;margin-top:-4px}.gui-m-5{margin:6px}.gui-mx-5{margin-left:6px;margin-right:6px}.gui-my-5{margin-bottom:6px;margin-top:6px}.-gui-m-5{margin:-6px}.-gui-mx-5{margin-left:-6px;margin-right:-6px}.-gui-my-5{margin-bottom:-6px;margin-top:-6px}.gui-m-6{margin:8px}.gui-mx-6{margin-left:8px;margin-right:8px}.gui-my-6{margin-bottom:8px;margin-top:8px}.-gui-m-6{margin:-8px}.-gui-mx-6{margin-left:-8px;margin-right:-8px}.-gui-my-6{margin-bottom:-8px;margin-top:-8px}.gui-m-7{margin:10px}.gui-mx-7{margin-left:10px;margin-right:10px}.gui-my-7{margin-bottom:10px;margin-top:10px}.-gui-m-7{margin:-10px}.-gui-mx-7{margin-left:-10px;margin-right:-10px}.-gui-my-7{margin-bottom:-10px;margin-top:-10px}.gui-m-8{margin:12px}.gui-mx-8{margin-left:12px;margin-right:12px}.gui-my-8{margin-bottom:12px;margin-top:12px}.-gui-m-8{margin:-12px}.-gui-mx-8{margin-left:-12px;margin-right:-12px}.-gui-my-8{margin-bottom:-12px;margin-top:-12px}.gui-m-10{margin:16px}.gui-mx-10{margin-left:16px;margin-right:16px}.gui-my-10{margin-bottom:16px;margin-top:16px}.-gui-m-10{margin:-16px}.-gui-mx-10{margin-left:-16px;margin-right:-16px}.-gui-my-10{margin-bottom:-16px;margin-top:-16px}.gui-m-13{margin:22px}.gui-mx-13{margin-left:22px;margin-right:22px}.gui-my-13{margin-bottom:22px;margin-top:22px}.-gui-m-13{margin:-22px}.-gui-mx-13{margin-left:-22px;margin-right:-22px}.-gui-my-13{margin-bottom:-22px;margin-top:-22px}.gui-m-23{margin:42px}.gui-mx-23{margin-left:42px;margin-right:42px}.gui-my-23{margin-bottom:42px;margin-top:42px}.-gui-m-23{margin:-42px}.-gui-mx-23{margin-left:-42px;margin-right:-42px}.-gui-my-23{margin-bottom:-42px;margin-top:-42px}.gui-mb-4{margin-bottom:4px}.gui-mb-6{margin-bottom:8px}.gui-mb-8{margin-bottom:12px}.gui-mb-10{margin-bottom:16px}.gui-mb-18{margin-bottom:32px}.gui-mr-0{margin-right:0}.gui-mr-5{margin-right:6px}.gui-mr-auto{margin-right:auto}.gui-ml-auto{margin-left:auto}.gui-ml-6{margin-left:8px}.gui-mt-0{margin-top:0}.gui-mt-4{margin-top:4px}.gui-mt-6{margin-top:8px}.gui-mt-10{margin-top:16px}.gui-mt-14{margin-top:24px}.gui-overflow-hidden{overflow:hidden}.gui-overflow-y-scroll{overflow-y:scroll}.gui-overflow-x-hidden{overflow-x:hidden}.gui-overflow-auto{overflow:auto}.gui-p-0{padding:0}.gui-px-0{padding-left:0;padding-right:0}.gui-py-0{padding-bottom:0;padding-top:0}.gui-p-1{padding:1px}.gui-px-1{padding-left:1px;padding-right:1px}.gui-py-1{padding-bottom:1px;padding-top:1px}.gui-p-2{padding:2px}.gui-px-2{padding-left:2px;padding-right:2px}.gui-py-2{padding-bottom:2px;padding-top:2px}.gui-p-3{padding:3px}.gui-px-3{padding-left:3px;padding-right:3px}.gui-py-3{padding-bottom:3px;padding-top:3px}.gui-p-4{padding:4px}.gui-px-4{padding-left:4px;padding-right:4px}.gui-py-4{padding-bottom:4px;padding-top:4px}.gui-p-5{padding:6px}.gui-px-5{padding-left:6px;padding-right:6px}.gui-py-5{padding-bottom:6px;padding-top:6px}.gui-p-6{padding:8px}.gui-px-6{padding-left:8px;padding-right:8px}.gui-py-6{padding-bottom:8px;padding-top:8px}.gui-p-7{padding:10px}.gui-px-7{padding-left:10px;padding-right:10px}.gui-py-7{padding-bottom:10px;padding-top:10px}.gui-p-8{padding:12px}.gui-px-8{padding-left:12px;padding-right:12px}.gui-py-8{padding-bottom:12px;padding-top:12px}.gui-p-10{padding:16px}.gui-px-10{padding-left:16px;padding-right:16px}.gui-py-10{padding-bottom:16px;padding-top:16px}.gui-p-13{padding:22px}.gui-px-13{padding-left:22px;padding-right:22px}.gui-py-13{padding-bottom:22px;padding-top:22px}.gui-p-23{padding:42px}.gui-px-23{padding-left:42px;padding-right:42px}.gui-py-23{padding-bottom:42px;padding-top:42px}.gui-pr-10{padding-right:16px}.gui-pl-9{padding-right:10px}.gui-pb-6{padding-bottom:8px}.gui-pb-12{padding-bottom:20px}.gui-pl-21{padding-left:38px}.gui-pt-4{padding-top:4px}.gui-pt-6{padding-top:8px}.gui-pt-10{padding-top:16px}.gui-pt-12{padding-top:20px}.gui-pt-14{padding-top:24px}.gui-static{position:static}.gui-fixed{position:fixed}.gui-relative{position:relative}.gui-absolute{position:absolute}.gui-text-xxs{font-size:11px}.gui-text-xs{font-size:12px}.gui-text-sm{font-size:13px}.gui-text-base{font-size:14px}.gui-text-lg{font-size:16px}.gui-text-xl{font-size:18px}.gui-text-2xl{font-size:20px}.gui-text-3xl{font-size:22px}.gui-leading-4{line-height:16px}.gui-leading-6{line-height:24px}.gui-font-thin{font-weight:100}.gui-font-extralight{font-weight:200}.gui-font-light{font-weight:300}.gui-font-normal{font-weight:400}.gui-font-medium{font-weight:500}.gui-font-semibold{font-weight:600}.gui-font-bold{font-weight:700}.gui-font-extrabold{font-weight:800}.gui-font-black{font-weight:900}.gui-italic{font-style:italic}.gui-not-italic{font-style:normal}.gui-whitespace-nowrap{white-space:nowrap}.gui-overflow-ellipsis{text-overflow:ellipsis}.gui-no-underline{text-decoration:none}.gui-text-center{text-align:center}.gui-w-full{width:100%}.gui-w-96{width:384px}.gui-w-3\\\\/5{width:60%}.gui-fabric-dialog *,.gui-fabric-dialog *:after,.gui-fabric-dialog *:before{box-sizing:border-box}.gui-fabric-dialog input{font-size:13px;outline:0}.gui-dialog-blanket{background:rgba(0,0,0,.32);height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:1000}.gui-dialog-wrapper{font-family:Arial;height:100%;width:100%;position:fixed;pointer-events:auto;left:0;top:0;z-index:1000}.gui-dialog-content{background-color:#fff;border-radius:4px;box-shadow:0 3px 7px #999;padding:24px 16px;position:fixed;left:50%;top:50%;transform:scale3d(0,0,0) translate(-50%) translateY(-50%);opacity:0;transition:all .4s;overflow:auto;z-index:1000}.gui-dialog-content.gui-dialog-visible{transform:scaleZ(1) translate(-50%) translateY(-50%);opacity:1}\\n\", \".gui-dark .gui-dialog-wrapper .gui-dialog-content{background:#424242;box-shadow:0 1px 2px #424242;color:#bdbdbd}.gui-dark .gui-dialog-wrapper .gui-dialog-content .gui-dialog-close:before,.gui-dark .gui-dialog-wrapper .gui-dialog-content .gui-dialog-close:after{background:#bdbdbd}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: FabricModalThemeService }, { type: i0.Renderer2 }, { type: FabricDialogService, decorators: [{\n type: Inject,\n args: [forwardRef(() => FabricDialogService)]\n }] }], propDecorators: { container: [{\n type: ViewChild,\n args: ['container', { read: ViewContainerRef, static: false }]\n }] } });\n\nclass FabricDialogThemeService {\n theme$ = new Subject();\n onTheme() {\n return this.theme$.asObservable();\n }\n nextTheme(theme) {\n this.theme$.next(this.toTheme(theme));\n }\n toTheme(theme) {\n switch (theme.toLowerCase()) {\n case 'fabric':\n return Theme.FABRIC;\n case 'material':\n return Theme.MATERIAL;\n case 'generic':\n return Theme.GENERIC;\n case 'light':\n return Theme.LIGHT;\n case 'dark':\n return Theme.DARK;\n default:\n return Theme.FABRIC;\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogThemeService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogThemeService, decorators: [{\n type: Injectable\n }] });\n\nclass FabricDialogModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogModule, declarations: [FabricDialogComponent], imports: [CommonModule,\n FabricCloseIconModule] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogModule, providers: [\n FabricDialogService,\n FabricDialogThemeService\n ], imports: [CommonModule,\n FabricCloseIconModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricDialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FabricCloseIconModule\n ],\n declarations: [\n FabricDialogComponent\n ],\n providers: [\n FabricDialogService,\n FabricDialogThemeService\n ]\n }]\n }] });\n\nclass FabricProgressBarComponent {\n elementRef;\n renderer;\n progress = 0;\n color;\n height;\n width;\n textTop = '';\n textAlign = '';\n primary = false;\n secondary = false;\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n if (changes['primary']) {\n if (this.primary) {\n this.addClass('gui-primary');\n }\n else {\n this.removeClass('gui-primary');\n }\n }\n if (changes['secondary']) {\n if (this.secondary) {\n this.addClass('gui-secondary');\n }\n else {\n this.removeClass('gui-secondary');\n }\n }\n }\n addClass(className) {\n this.renderer.addClass(this.elementRef.nativeElement, className);\n }\n removeClass(className) {\n this.renderer.removeClass(this.elementRef.nativeElement, className);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressBarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricProgressBarComponent, selector: \"gui-progress-bar\", inputs: { progress: \"progress\", color: \"color\", height: \"height\", width: \"width\", textTop: \"textTop\", textAlign: \"textAlign\", primary: \"primary\", secondary: \"secondary\" }, host: { properties: { \"class.gui-progress\": \"true\" } }, usesOnChanges: true, ngImport: i0, template: \"<div\\n\\t[style.height.px]=\\\"height\\\"\\n\\t[style.text-align]=\\\"textAlign\\\"\\n\\t[style.width.px]=\\\"width\\\"\\n\\tclass=\\\"gui-progress-bar\\\">\\n\\t<div\\n\\t\\t[style.background]=\\\"color\\\"\\n\\t\\t[style.width.%]=\\\"progress\\\"\\n\\t\\tclass=\\\"gui-progress\\\">\\n\\t\\t<span\\n\\t\\t\\t[style.top]=\\\"textTop\\\"\\n\\t\\t\\tclass=\\\"gui-progress-text\\\">\\n\\t\\t\\t<ng-content></ng-content>\\n\\t\\t</span>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-progress-bar{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-color:#d6d6d6;border-style:solid;border-width:1px;display:block;font-family:Arial;height:18px;margin-bottom:10px;text-align:center}.gui-progress-bar .gui-progress{background:#999;border-bottom:inherit;height:inherit;width:0}.gui-primary .gui-progress-bar .gui-progress.gui-progress{background:#2185d0}.gui-secondary .gui-progress-bar .gui-progress.gui-progress{background:#3cb371}.gui-progress-bar .gui-progress-text{position:relative}\\n\", \".gui-material .gui-progress-bar{border-color:#5262c5;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif}.gui-material .gui-progress{background:#3949ab}.gui-material .gui-progress.gui-primary .gui-progress{background:#6200ee}.gui-material .gui-progress.gui-primary .gui-progress-bar{border-color:#6200ee}.gui-material .gui-progress.gui-secondary .gui-progress{background:#0097a7}.gui-material .gui-progress.gui-secondary .gui-progress-bar{border-color:#0097a7}\\n\", \".gui-dark .gui-progress-bar{border-color:#616161;color:#bdbdbd}.gui-dark .gui-progress{background:#424242}.gui-dark .gui-progress.gui-primary .gui-progress{background:#ce93d8}.gui-dark .gui-progress.gui-primary .gui-progress-bar{border-color:#ce93d8;color:#212121}.gui-dark .gui-progress.gui-secondary .gui-progress{background:#80cbc4}.gui-dark .gui-progress.gui-secondary .gui-progress-bar{border-color:#80cbc4;color:#212121}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressBarComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-progress]': 'true'\n }, template: \"<div\\n\\t[style.height.px]=\\\"height\\\"\\n\\t[style.text-align]=\\\"textAlign\\\"\\n\\t[style.width.px]=\\\"width\\\"\\n\\tclass=\\\"gui-progress-bar\\\">\\n\\t<div\\n\\t\\t[style.background]=\\\"color\\\"\\n\\t\\t[style.width.%]=\\\"progress\\\"\\n\\t\\tclass=\\\"gui-progress\\\">\\n\\t\\t<span\\n\\t\\t\\t[style.top]=\\\"textTop\\\"\\n\\t\\t\\tclass=\\\"gui-progress-text\\\">\\n\\t\\t\\t<ng-content></ng-content>\\n\\t\\t</span>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-progress-bar{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-color:#d6d6d6;border-style:solid;border-width:1px;display:block;font-family:Arial;height:18px;margin-bottom:10px;text-align:center}.gui-progress-bar .gui-progress{background:#999;border-bottom:inherit;height:inherit;width:0}.gui-primary .gui-progress-bar .gui-progress.gui-progress{background:#2185d0}.gui-secondary .gui-progress-bar .gui-progress.gui-progress{background:#3cb371}.gui-progress-bar .gui-progress-text{position:relative}\\n\", \".gui-material .gui-progress-bar{border-color:#5262c5;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif}.gui-material .gui-progress{background:#3949ab}.gui-material .gui-progress.gui-primary .gui-progress{background:#6200ee}.gui-material .gui-progress.gui-primary .gui-progress-bar{border-color:#6200ee}.gui-material .gui-progress.gui-secondary .gui-progress{background:#0097a7}.gui-material .gui-progress.gui-secondary .gui-progress-bar{border-color:#0097a7}\\n\", \".gui-dark .gui-progress-bar{border-color:#616161;color:#bdbdbd}.gui-dark .gui-progress{background:#424242}.gui-dark .gui-progress.gui-primary .gui-progress{background:#ce93d8}.gui-dark .gui-progress.gui-primary .gui-progress-bar{border-color:#ce93d8;color:#212121}.gui-dark .gui-progress.gui-secondary .gui-progress{background:#80cbc4}.gui-dark .gui-progress.gui-secondary .gui-progress-bar{border-color:#80cbc4;color:#212121}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { progress: [{\n type: Input\n }], color: [{\n type: Input\n }], height: [{\n type: Input\n }], width: [{\n type: Input\n }], textTop: [{\n type: Input\n }], textAlign: [{\n type: Input\n }], primary: [{\n type: Input\n }], secondary: [{\n type: Input\n }] } });\n\nclass FabricProgressBarModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressBarModule, declarations: [FabricProgressBarComponent], imports: [CommonModule], exports: [FabricProgressBarComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressBarModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressBarModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricProgressBarComponent\n ],\n exports: [\n FabricProgressBarComponent\n ]\n }]\n }] });\n\nclass AbstractSpinner {\n elementRef;\n renderer;\n width = 5;\n diameter = 90;\n primary = false;\n secondary = false;\n r = 0;\n circumference = 0;\n croppedCircle = 0;\n circleSize = 0;\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n this.calculateCircle();\n if (changes['primary']) {\n if (this.primary) {\n this.addClass('gui-primary');\n }\n else {\n this.removeClass('gui-primary');\n }\n }\n if (changes['secondary']) {\n if (this.secondary) {\n this.addClass('gui-secondary');\n }\n else {\n this.removeClass('gui-secondary');\n }\n }\n }\n ngOnInit() {\n this.calculateCircle();\n }\n calculateCircle() {\n this.circumference = this.calculateCircumference(this.diameter);\n this.r = this.calculateR(this.diameter);\n this.croppedCircle = this.calculateDashes(this.circumference);\n this.circleSize = this.calculateSize(this.diameter, this.width);\n }\n calculateCircumference(diameter) {\n return diameter * Math.PI;\n }\n calculateR(diameter) {\n return diameter / 2;\n }\n calculateDashes(circumference) {\n return circumference * 0.25;\n }\n calculateSize(diameter, width) {\n return diameter + width;\n }\n addClass(className) {\n this.renderer.addClass(this.elementRef.nativeElement, className);\n }\n removeClass(className) {\n this.renderer.removeClass(this.elementRef.nativeElement, className);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AbstractSpinner, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: AbstractSpinner, inputs: { width: \"width\", diameter: \"diameter\", primary: \"primary\", secondary: \"secondary\" }, usesOnChanges: true, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AbstractSpinner, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { width: [{\n type: Input\n }], diameter: [{\n type: Input\n }], primary: [{\n type: Input\n }], secondary: [{\n type: Input\n }] } });\n\nvar SpinnerMode;\n(function (SpinnerMode) {\n SpinnerMode[SpinnerMode[\"NoSpin\"] = 0] = \"NoSpin\";\n SpinnerMode[SpinnerMode[\"Spin\"] = 1] = \"Spin\";\n})(SpinnerMode || (SpinnerMode = {}));\n\nclass FabricProgressSpinnerComponent extends AbstractSpinner {\n value = 0;\n mode = SpinnerMode.NoSpin;\n color;\n animationsDisabled = true;\n secondCircleDisabled = true;\n valuePercentage = 0;\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n this.calculateValuePercentage(this.circumference, this.value);\n if (this.mode === SpinnerMode.Spin) {\n this.animationsDisabled = false;\n this.secondCircleDisabled = false;\n this.value = 0;\n this.circumference = this.croppedCircle;\n }\n if (this.animationsDisabled) {\n this.addClass('gui-animations-disabled');\n }\n else {\n this.removeClass('gui-animations-disabled');\n }\n if (this.secondCircleDisabled) {\n this.addClass('gui-second-circle-disabled');\n }\n else {\n this.removeClass('gui-second-circle-disabled');\n }\n }\n ngOnInit() {\n this.calculateValuePercentage(this.circumference, this.value);\n }\n calculateValuePercentage(circumference, value) {\n this.valuePercentage = circumference - (value * circumference / 100);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressSpinnerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricProgressSpinnerComponent, selector: \"gui-progress-spinner\", inputs: { value: \"value\", mode: \"mode\", color: \"color\" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<div\\n\\t[style.height.px]=\\\"circleSize\\\"\\n\\t[style.width.px]=\\\"circleSize\\\"\\n\\tclass=\\\"gui-progress-spinner\\\">\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-outer\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"valuePercentage\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-inner\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n</div>\\n\", styles: [\".gui-progress-spinner{display:inline-block;margin:4px;position:relative;-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.gui-progress-spinner circle{fill:transparent;stroke:#999}.gui-progress-spinner svg{position:absolute}.gui-progress-spinner .circle-inner{animation:gui-spin-reverse 2s infinite linear forwards reverse}.gui-progress-spinner .circle-outer{animation:gui-spin 2s infinite linear forwards}.gui-animations-disabled .gui-progress-spinner.gui-progress-spinner .circle-outer,.gui-animations-disabled .gui-progress-spinner.gui-progress-spinner.gui-progress-spinner{animation:none}.gui-second-circle-disabled .gui-progress-spinner.gui-progress-spinner .circle-inner{opacity:0}.gui-primary .gui-progress-spinner.gui-progress-spinner circle{stroke:#2185d0}.gui-secondary .gui-progress-spinner.gui-progress-spinner circle{stroke:#3cb371}\\n\", \".gui-material .gui-progress-spinner circle{stroke:#3949ab}.gui-material .gui-primary .gui-progress-spinner circle{stroke:#6200ee}.gui-material .gui-secondary .gui-progress-spinner circle{stroke:#0097a7}\\n\", \".gui-dark .gui-progress-spinner circle{stroke:#424242}.gui-dark .gui-primary .gui-progress-spinner circle{stroke:#ce93d8}.gui-dark .gui-secondary .gui-progress-spinner circle{stroke:#80cbc4}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressSpinnerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-progress-spinner', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div\\n\\t[style.height.px]=\\\"circleSize\\\"\\n\\t[style.width.px]=\\\"circleSize\\\"\\n\\tclass=\\\"gui-progress-spinner\\\">\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-outer\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"valuePercentage\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-inner\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n</div>\\n\", styles: [\".gui-progress-spinner{display:inline-block;margin:4px;position:relative;-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.gui-progress-spinner circle{fill:transparent;stroke:#999}.gui-progress-spinner svg{position:absolute}.gui-progress-spinner .circle-inner{animation:gui-spin-reverse 2s infinite linear forwards reverse}.gui-progress-spinner .circle-outer{animation:gui-spin 2s infinite linear forwards}.gui-animations-disabled .gui-progress-spinner.gui-progress-spinner .circle-outer,.gui-animations-disabled .gui-progress-spinner.gui-progress-spinner.gui-progress-spinner{animation:none}.gui-second-circle-disabled .gui-progress-spinner.gui-progress-spinner .circle-inner{opacity:0}.gui-primary .gui-progress-spinner.gui-progress-spinner circle{stroke:#2185d0}.gui-secondary .gui-progress-spinner.gui-progress-spinner circle{stroke:#3cb371}\\n\", \".gui-material .gui-progress-spinner circle{stroke:#3949ab}.gui-material .gui-primary .gui-progress-spinner circle{stroke:#6200ee}.gui-material .gui-secondary .gui-progress-spinner circle{stroke:#0097a7}\\n\", \".gui-dark .gui-progress-spinner circle{stroke:#424242}.gui-dark .gui-primary .gui-progress-spinner circle{stroke:#ce93d8}.gui-dark .gui-secondary .gui-progress-spinner circle{stroke:#80cbc4}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { value: [{\n type: Input\n }], mode: [{\n type: Input\n }], color: [{\n type: Input\n }] } });\n\nclass FabricProgressSpinnerModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressSpinnerModule, declarations: [FabricProgressSpinnerComponent], imports: [CommonModule], exports: [FabricProgressSpinnerComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressSpinnerModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricProgressSpinnerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricProgressSpinnerComponent\n ],\n exports: [\n FabricProgressSpinnerComponent\n ]\n }]\n }] });\n\nclass FabricRadioButtonComponent {\n elementRef;\n renderer;\n name = '';\n checked = false;\n disabled = false;\n changed = new EventEmitter();\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges() {\n if (this.disabled) {\n this.renderer.addClass(this.elementRef.nativeElement, 'gui-disabled');\n }\n else {\n this.renderer.removeClass(this.elementRef.nativeElement, 'gui-disabled');\n }\n }\n check() {\n this.checked = true;\n this.changed.emit(this.checked);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricRadioButtonComponent, selector: \"gui-radio-button\", inputs: { name: \"name\", checked: \"checked\", disabled: \"disabled\" }, outputs: { changed: \"changed\" }, host: { properties: { \"class.gui-radio-button\": \"true\" } }, usesOnChanges: true, ngImport: i0, template: \"<label>\\n\\t<input\\n\\t\\t(click)=\\\"check()\\\"\\n\\t\\t[attr.name]=\\\"name\\\"\\n\\t\\t[checked]=\\\"checked\\\"\\n\\t\\t[disabled]=\\\"disabled\\\"\\n\\t\\ttype=\\\"radio\\\">\\n\\t<span class=\\\"gui-radio-checkmark\\\"></span>\\n\\t<ng-content></ng-content>\\n</label>\\n\", styles: [\".gui-radio-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;font:14px Arial;line-height:18px;padding-left:32px;position:relative}.gui-radio-button label{cursor:pointer}.gui-radio-button label:hover .gui-radio-checkmark{border-color:#999}.gui-radio-button input{height:0;opacity:0;position:absolute;width:0}.gui-radio-button .gui-radio-checkmark{border-color:#d6d6d6;border-radius:50%;border-style:solid;border-width:1px;box-sizing:content-box;height:16px;left:0;position:absolute;width:16px}.gui-radio-button input:checked+.gui-radio-checkmark{border-color:#999}.gui-radio-button input:focus+.gui-radio-checkmark{border-color:#6fb4e8}.gui-radio-button.gui-disabled.gui-radio-button{color:#ccc;pointer-events:none}.gui-radio-button .gui-radio-checkmark:after{content:\\\"\\\";display:none;position:absolute}.gui-radio-button input:checked+.gui-radio-checkmark:after{box-sizing:content-box;display:block}.gui-radio-button .gui-radio-checkmark:after{background:#333;border-radius:50%;height:16px;-ms-transform:scale(.5);transform:scale(.5);width:16px}\\n\", \".gui-material .gui-radio-button{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-radio-button{color:#bdbdbd}.gui-dark .gui-radio-button .gui-radio-checkmark{border-color:#878787}.gui-dark .gui-radio-button input:checked+.gui-radio-checkmark{border-color:#878787}.gui-dark .gui-radio-button input:focus+.gui-radio-checkmark{border-color:#ce93d8}.gui-dark .gui-radio-button .gui-radio-checkmark:after{background:#878787}.gui-dark .gui-radio-button.gui-disabled.gui-radio-button{opacity:.36}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioButtonComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-radio-button', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-radio-button]': 'true'\n }, template: \"<label>\\n\\t<input\\n\\t\\t(click)=\\\"check()\\\"\\n\\t\\t[attr.name]=\\\"name\\\"\\n\\t\\t[checked]=\\\"checked\\\"\\n\\t\\t[disabled]=\\\"disabled\\\"\\n\\t\\ttype=\\\"radio\\\">\\n\\t<span class=\\\"gui-radio-checkmark\\\"></span>\\n\\t<ng-content></ng-content>\\n</label>\\n\", styles: [\".gui-radio-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;font:14px Arial;line-height:18px;padding-left:32px;position:relative}.gui-radio-button label{cursor:pointer}.gui-radio-button label:hover .gui-radio-checkmark{border-color:#999}.gui-radio-button input{height:0;opacity:0;position:absolute;width:0}.gui-radio-button .gui-radio-checkmark{border-color:#d6d6d6;border-radius:50%;border-style:solid;border-width:1px;box-sizing:content-box;height:16px;left:0;position:absolute;width:16px}.gui-radio-button input:checked+.gui-radio-checkmark{border-color:#999}.gui-radio-button input:focus+.gui-radio-checkmark{border-color:#6fb4e8}.gui-radio-button.gui-disabled.gui-radio-button{color:#ccc;pointer-events:none}.gui-radio-button .gui-radio-checkmark:after{content:\\\"\\\";display:none;position:absolute}.gui-radio-button input:checked+.gui-radio-checkmark:after{box-sizing:content-box;display:block}.gui-radio-button .gui-radio-checkmark:after{background:#333;border-radius:50%;height:16px;-ms-transform:scale(.5);transform:scale(.5);width:16px}\\n\", \".gui-material .gui-radio-button{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-radio-button{color:#bdbdbd}.gui-dark .gui-radio-button .gui-radio-checkmark{border-color:#878787}.gui-dark .gui-radio-button input:checked+.gui-radio-checkmark{border-color:#878787}.gui-dark .gui-radio-button input:focus+.gui-radio-checkmark{border-color:#ce93d8}.gui-dark .gui-radio-button .gui-radio-checkmark:after{background:#878787}.gui-dark .gui-radio-button.gui-disabled.gui-radio-button{opacity:.36}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { name: [{\n type: Input\n }], checked: [{\n type: Input\n }], disabled: [{\n type: Input\n }], changed: [{\n type: Output\n }] } });\n\nclass FabricRadioButtonModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioButtonModule, declarations: [FabricRadioButtonComponent], imports: [CommonModule], exports: [FabricRadioButtonComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioButtonModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioButtonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricRadioButtonComponent\n ],\n exports: [\n FabricRadioButtonComponent\n ]\n }]\n }] });\n\nclass FabricRadioGroupComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricRadioGroupComponent, selector: \"gui-radio-group\", host: { properties: { \"class.gui-radio-group\": \"true\" } }, ngImport: i0, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-radio-group .gui-radio-button{display:block;margin-bottom:10px}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioGroupComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-radio-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-radio-group]': 'true'\n }, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-radio-group .gui-radio-button{display:block;margin-bottom:10px}\\n\"] }]\n }] });\n\nclass FabricRadioGroupModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioGroupModule, declarations: [FabricRadioGroupComponent], imports: [CommonModule], exports: [FabricRadioGroupComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioGroupModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRadioGroupModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricRadioGroupComponent\n ],\n exports: [\n FabricRadioGroupComponent\n ]\n }]\n }] });\n\nvar FabricNotificationPosition;\n(function (FabricNotificationPosition) {\n FabricNotificationPosition[FabricNotificationPosition[\"TOP_RIGHT\"] = 0] = \"TOP_RIGHT\";\n FabricNotificationPosition[FabricNotificationPosition[\"TOP_LEFT\"] = 1] = \"TOP_LEFT\";\n FabricNotificationPosition[FabricNotificationPosition[\"BOTTOM_RIGHT\"] = 2] = \"BOTTOM_RIGHT\";\n FabricNotificationPosition[FabricNotificationPosition[\"BOTTOM_LEFT\"] = 3] = \"BOTTOM_LEFT\";\n})(FabricNotificationPosition || (FabricNotificationPosition = {}));\n\nclass FabricNotificationComponent {\n renderer;\n notificationRef;\n notification;\n onNotificationClose = new EventEmitter();\n unsub$ = new Subject();\n constructor(renderer) {\n this.renderer = renderer;\n }\n ngOnInit() {\n if (this.notification?.timer.enabled) {\n timer(this.notification.timer.duration || 0)\n .pipe(takeUntil(this.unsub$))\n .subscribe(() => this.closeNotification());\n }\n }\n ngOnDestroy() {\n this.unsub$.next();\n this.unsub$.complete();\n }\n closeNotification() {\n this.addCloseAnimation();\n timer(200)\n .pipe(takeUntil(this.unsub$))\n .subscribe(() => this.onNotificationClose.emit(this.notification));\n }\n addCloseAnimation() {\n if (this.notificationRef) {\n const notificationEl = this.notificationRef.nativeElement;\n this.renderer.addClass(notificationEl, 'gui-notification-active');\n }\n }\n isRightSide() {\n return this.notification?.position === FabricNotificationPosition.TOP_RIGHT\n || this.notification?.position === FabricNotificationPosition.BOTTOM_RIGHT;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricNotificationComponent, selector: \"gui-notification\", inputs: { notification: \"notification\" }, outputs: { onNotificationClose: \"onNotificationClose\" }, viewQueries: [{ propertyName: \"notificationRef\", first: true, predicate: [\"guiNotification\"], descendants: true, read: ElementRef }], ngImport: i0, template: `\n\t\t<div #guiNotification\n\t\t\t [class.gui-notification-right-side]=\"isRightSide()\"\n\t\t\t [class.gui-notification-left-side]=\"!isRightSide()\"\n\t\t\t class=\"gui-notification\">\n\t\t\t<gui-close-icon (click)=\"closeNotification()\"></gui-close-icon>\n\t\t\t{{notification.description}}\n\t\t</div>\n\t`, isInline: true, dependencies: [{ kind: \"component\", type: FabricCloseIconComponent, selector: \"gui-close-icon\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'gui-notification',\n template: `\n\t\t<div #guiNotification\n\t\t\t [class.gui-notification-right-side]=\"isRightSide()\"\n\t\t\t [class.gui-notification-left-side]=\"!isRightSide()\"\n\t\t\t class=\"gui-notification\">\n\t\t\t<gui-close-icon (click)=\"closeNotification()\"></gui-close-icon>\n\t\t\t{{notification.description}}\n\t\t</div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { notificationRef: [{\n type: ViewChild,\n args: ['guiNotification', { read: ElementRef, static: false }]\n }], notification: [{\n type: Input\n }], onNotificationClose: [{\n type: Output\n }] } });\n\nclass FabricNotification {\n description;\n index;\n timer;\n position;\n constructor(description, index, timer, position) {\n this.description = description;\n this.index = index;\n this.timer = timer;\n this.position = position;\n }\n}\n\nclass FabricNotificationService extends FabricModal {\n static DEFAULT_DURATION = 4000;\n fabricNotification;\n notificationIndex = 0;\n unsub$ = new Subject();\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n }\n ngOnDestroy() {\n this.removeNotificationContainer();\n }\n getComponent() {\n return FabricNotificationsOverlayComponent;\n }\n open(notification, config) {\n let position = FabricNotificationPosition.TOP_RIGHT;\n if (config && config.position) {\n position = config.position;\n }\n this.createFabricNotification(notification, position, config);\n if (!this.isComponentCreated()) {\n let theme = Theme.FABRIC, parentInjector = this.getInjector();\n if (config && config.theme) {\n theme = config.theme;\n }\n if (config && config.injector) {\n parentInjector = config.injector;\n }\n const injector = Injector.create({\n providers: [{\n provide: themeToken,\n useValue: theme\n }],\n parent: parentInjector\n });\n this.createAndAppend({ injector });\n this.pushNotification(position);\n }\n else {\n this.pushNotification(position);\n }\n }\n close() {\n this.removeNotificationContainer();\n this.unsub$.next();\n this.unsub$.complete();\n }\n removeNotificationContainer() {\n if (this.isComponentCreated()) {\n this.removeComponent();\n this.notificationIndex = 0;\n }\n }\n createFabricNotification(description, position, config) {\n let duration = FabricNotificationService.DEFAULT_DURATION, enabled = true;\n if (config && config.timer) {\n if (config.timer.duration) {\n duration = config.timer.duration;\n if (config.timer.extendTimer) {\n duration = config.timer.duration * (this.notificationIndex + 1);\n }\n }\n if (config.timer.enabled !== undefined) {\n enabled = config.timer.enabled;\n }\n }\n this.fabricNotification = new FabricNotification(description, this.notificationIndex, { duration, enabled }, position);\n this.notificationIndex += 1;\n }\n pushNotification(position) {\n if (!this.fabricNotification || !this.isComponentCreated()) {\n return;\n }\n const componentRef = this.getComponentRef();\n switch (position) {\n case FabricNotificationPosition.TOP_RIGHT:\n componentRef.instance.notificationsTopRight =\n componentRef.instance.notificationsTopRight.concat(this.fabricNotification);\n break;\n case FabricNotificationPosition.TOP_LEFT:\n componentRef.instance.notificationsTopLeft =\n componentRef.instance.notificationsTopLeft.concat(this.fabricNotification);\n break;\n case FabricNotificationPosition.BOTTOM_RIGHT:\n componentRef.instance.notificationsBottomRight =\n componentRef.instance.notificationsBottomRight.concat(this.fabricNotification);\n break;\n case FabricNotificationPosition.BOTTOM_LEFT:\n componentRef.instance.notificationsBottomLeft =\n componentRef.instance.notificationsBottomLeft.concat(this.fabricNotification);\n break;\n default:\n break;\n }\n componentRef.instance.detectChanges();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }] });\n\nclass FabricNotificationsContainerComponent {\n notifications = [];\n position;\n onNotificationClose = new EventEmitter();\n FabricNotificationPosition = FabricNotificationPosition;\n emitClosedNotification(selectedNotification) {\n this.onNotificationClose.emit(selectedNotification);\n }\n isPosition(fabricNotificationPosition) {\n return this.position === fabricNotificationPosition;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationsContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricNotificationsContainerComponent, selector: \"gui-notifications-container\", inputs: { notifications: \"notifications\", position: \"position\" }, outputs: { onNotificationClose: \"onNotificationClose\" }, host: { properties: { \"class.gui-notifications-top-right\": \"isPosition(FabricNotificationPosition.TOP_RIGHT)\", \"class.gui-notifications-top-left\": \"isPosition(FabricNotificationPosition.TOP_LEFT)\", \"class.gui-notifications-bottom-right\": \"isPosition(FabricNotificationPosition.BOTTOM_RIGHT)\", \"class.gui-notifications-bottom-left\": \"isPosition(FabricNotificationPosition.BOTTOM_LEFT)\" } }, ngImport: i0, template: `\n\t\t<gui-notification *ngFor=\"let notification of notifications\"\n\t\t\t\t\t\t [notification]=\"notification\"\n\t\t\t\t\t\t (onNotificationClose)=\"emitClosedNotification($event)\">\n\t\t</gui-notification>\n\t`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"component\", type: FabricNotificationComponent, selector: \"gui-notification\", inputs: [\"notification\"], outputs: [\"onNotificationClose\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationsContainerComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'gui-notifications-container',\n template: `\n\t\t<gui-notification *ngFor=\"let notification of notifications\"\n\t\t\t\t\t\t [notification]=\"notification\"\n\t\t\t\t\t\t (onNotificationClose)=\"emitClosedNotification($event)\">\n\t\t</gui-notification>\n\t`,\n host: {\n '[class.gui-notifications-top-right]': 'isPosition(FabricNotificationPosition.TOP_RIGHT)',\n '[class.gui-notifications-top-left]': 'isPosition(FabricNotificationPosition.TOP_LEFT)',\n '[class.gui-notifications-bottom-right]': 'isPosition(FabricNotificationPosition.BOTTOM_RIGHT)',\n '[class.gui-notifications-bottom-left]': 'isPosition(FabricNotificationPosition.BOTTOM_LEFT)'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], propDecorators: { notifications: [{\n type: Input\n }], position: [{\n type: Input\n }], onNotificationClose: [{\n type: Output\n }] } });\n\nclass FabricNotificationsOverlayComponent extends FabricThemedComponent {\n changeDetectorRef;\n notificationsService;\n notificationsTopRight = [];\n notificationsTopLeft = [];\n notificationsBottomRight = [];\n notificationsBottomLeft = [];\n FabricNotificationPosition = FabricNotificationPosition;\n constructor(changeDetectorRef, elRef, renderer, themeService, theme, notificationsService) {\n super(elRef, renderer, themeService);\n this.changeDetectorRef = changeDetectorRef;\n this.notificationsService = notificationsService;\n }\n removeNotification(selectedNotification) {\n switch (selectedNotification.position) {\n case FabricNotificationPosition.TOP_RIGHT:\n this.notificationsTopRight = this.notificationsTopRight\n .filter((notification) => notification.index !== selectedNotification.index);\n break;\n case FabricNotificationPosition.TOP_LEFT:\n this.notificationsTopLeft = this.notificationsTopLeft\n .filter((notification) => notification.index !== selectedNotification.index);\n break;\n case FabricNotificationPosition.BOTTOM_RIGHT:\n this.notificationsBottomRight = this.notificationsBottomRight\n .filter((notification) => notification.index !== selectedNotification.index);\n break;\n case FabricNotificationPosition.BOTTOM_LEFT:\n this.notificationsBottomLeft = this.notificationsBottomLeft\n .filter((notification) => notification.index !== selectedNotification.index);\n break;\n default:\n break;\n }\n this.detectChanges();\n this.checkNotificationsLength();\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n checkNotificationsLength() {\n if (this.notificationsTopRight.length === 0\n && this.notificationsTopLeft.length === 0\n && this.notificationsBottomRight.length === 0\n && this.notificationsBottomLeft.length === 0) {\n this.notificationsService.close();\n }\n }\n isContainerNotEmpty(container) {\n return container && container.length > 0;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationsOverlayComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FabricModalThemeService }, { token: themeToken }, { token: forwardRef(() => FabricNotificationService) }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricNotificationsOverlayComponent, selector: \"ng-component\", host: { properties: { \"class.gui-notifications-overlay\": \"true\" } }, usesInheritance: true, ngImport: i0, template: \"<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsTopRight)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsTopRight\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.TOP_RIGHT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsTopLeft)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsTopLeft\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.TOP_LEFT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsBottomRight)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsBottomRight\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.BOTTOM_RIGHT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsBottomLeft)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsBottomLeft\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.BOTTOM_LEFT\\\"></gui-notifications-container>\\n\", styles: [\".gui-notifications-overlay{-ms-flex-align:center;align-items:center;font-family:Arial;-ms-flex-pack:center;justify-content:center;max-width:400px;position:fixed;z-index:1000}.gui-notifications-overlay gui-notifications-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed}.gui-notifications-overlay gui-notifications-container.gui-notifications-top-left{left:0;top:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-top-right{right:0;top:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-bottom-left{bottom:0;left:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-bottom-right{bottom:0;right:0}.gui-notifications-overlay .gui-notification{background:#fff;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;display:block;margin:16px;padding:32px;position:relative}.gui-notifications-overlay .gui-notification.gui-notification-right-side{animation:loadNotificationRightSide .1s forwards}.gui-notifications-overlay .gui-notification.gui-notification-left-side{animation:loadNotificationLeftSide .1s forwards}@keyframes loadNotificationRightSide{0%{transform:translate(50%)}to{transform:translate(0)}}@keyframes loadNotificationLeftSide{0%{transform:translate(-50%)}to{transform:translate(0)}}.gui-notifications-overlay .gui-notification.gui-notification-active.gui-notification-right-side{animation:closeNotificationRightSide .2s forwards}@keyframes closeNotificationRightSide{0%{transform:translate(0)}to{transform:translate(100%)}}.gui-notifications-overlay .gui-notification.gui-notification-active.gui-notification-left-side{animation:closeNotificationLeftSide .2s forwards}@keyframes closeNotificationLeftSide{0%{transform:translate(0)}to{transform:translate(-100%)}}\\n\", \".gui-dark .gui-notification{background:#424242}\\n\", \".gui-material .gui-notification{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: FabricNotificationsContainerComponent, selector: \"gui-notifications-container\", inputs: [\"notifications\", \"position\"], outputs: [\"onNotificationClose\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationsOverlayComponent, decorators: [{\n type: Component,\n args: [{ host: {\n '[class.gui-notifications-overlay]': 'true'\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsTopRight)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsTopRight\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.TOP_RIGHT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsTopLeft)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsTopLeft\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.TOP_LEFT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsBottomRight)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsBottomRight\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.BOTTOM_RIGHT\\\"></gui-notifications-container>\\n\\n<gui-notifications-container (onNotificationClose)=\\\"removeNotification($event)\\\"\\n\\t\\t\\t\\t\\t\\t\\t *ngIf=\\\"isContainerNotEmpty(notificationsBottomLeft)\\\"\\n\\t\\t\\t\\t\\t\\t\\t [notifications]=\\\"notificationsBottomLeft\\\"\\n\\t\\t\\t\\t\\t\\t\\t [position]=\\\"FabricNotificationPosition.BOTTOM_LEFT\\\"></gui-notifications-container>\\n\", styles: [\".gui-notifications-overlay{-ms-flex-align:center;align-items:center;font-family:Arial;-ms-flex-pack:center;justify-content:center;max-width:400px;position:fixed;z-index:1000}.gui-notifications-overlay gui-notifications-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed}.gui-notifications-overlay gui-notifications-container.gui-notifications-top-left{left:0;top:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-top-right{right:0;top:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-bottom-left{bottom:0;left:0}.gui-notifications-overlay gui-notifications-container.gui-notifications-bottom-right{bottom:0;right:0}.gui-notifications-overlay .gui-notification{background:#fff;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;display:block;margin:16px;padding:32px;position:relative}.gui-notifications-overlay .gui-notification.gui-notification-right-side{animation:loadNotificationRightSide .1s forwards}.gui-notifications-overlay .gui-notification.gui-notification-left-side{animation:loadNotificationLeftSide .1s forwards}@keyframes loadNotificationRightSide{0%{transform:translate(50%)}to{transform:translate(0)}}@keyframes loadNotificationLeftSide{0%{transform:translate(-50%)}to{transform:translate(0)}}.gui-notifications-overlay .gui-notification.gui-notification-active.gui-notification-right-side{animation:closeNotificationRightSide .2s forwards}@keyframes closeNotificationRightSide{0%{transform:translate(0)}to{transform:translate(100%)}}.gui-notifications-overlay .gui-notification.gui-notification-active.gui-notification-left-side{animation:closeNotificationLeftSide .2s forwards}@keyframes closeNotificationLeftSide{0%{transform:translate(0)}to{transform:translate(-100%)}}\\n\", \".gui-dark .gui-notification{background:#424242}\\n\", \".gui-material .gui-notification{background:#3949ab;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:500}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: FabricModalThemeService }, { type: Theme, decorators: [{\n type: Inject,\n args: [themeToken]\n }] }, { type: FabricNotificationService, decorators: [{\n type: Inject,\n args: [forwardRef(() => FabricNotificationService)]\n }] }] });\n\nclass FabricNotificationModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationModule, declarations: [FabricNotificationsOverlayComponent,\n FabricNotificationsContainerComponent,\n FabricNotificationComponent], imports: [CommonModule,\n FabricCloseIconModule] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationModule, providers: [\n FabricNotificationService\n ], imports: [CommonModule,\n FabricCloseIconModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricNotificationModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FabricCloseIconModule\n ],\n declarations: [\n FabricNotificationsOverlayComponent,\n FabricNotificationsContainerComponent,\n FabricNotificationComponent\n ],\n providers: [\n FabricNotificationService\n ]\n }]\n }] });\n\nclass FabricMessageService extends FabricModal {\n constructor(componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n }\n getComponent() {\n return FabricMessageComponent;\n }\n open(text) {\n this.createAndAppend({\n afterCompCreation: () => this.afterCompCreation(text)\n });\n }\n close() {\n this.removeComponent();\n }\n afterCompCreation(text) {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.text = text;\n componentRef.instance.detectChanges();\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }] });\n\nclass FabricMessageComponent {\n messageService;\n changeDetectorRef;\n text = '';\n constructor(messageService, changeDetectorRef) {\n this.messageService = messageService;\n this.changeDetectorRef = changeDetectorRef;\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n close() {\n this.messageService.close();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageComponent, deps: [{ token: FabricMessageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricMessageComponent, selector: \"gui-message\", ngImport: i0, template: `\n\t\t<div class=\"gui-message\">\n\t\t\t{{text}}\n\t\t\t<button (click)=\"close()\">X</button>\n\t\t</div>\n\t`, isInline: true, styles: [\".gui-message{left:50%;position:fixed;top:50%}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-message', template: `\n\t\t<div class=\"gui-message\">\n\t\t\t{{text}}\n\t\t\t<button (click)=\"close()\">X</button>\n\t\t</div>\n\t`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [\".gui-message{left:50%;position:fixed;top:50%}\\n\"] }]\n }], ctorParameters: () => [{ type: FabricMessageService }, { type: i0.ChangeDetectorRef }] });\n\nclass FabricMessageModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageModule, declarations: [FabricMessageComponent], imports: [CommonModule] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageModule, providers: [\n FabricMessageService\n ], imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricMessageModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricMessageComponent\n ],\n providers: [\n FabricMessageService\n ]\n }]\n }] });\n\nclass FabricSvgTemplate {\n svgRef;\n svg = '';\n // todo sanitize\n ngAfterViewInit() {\n if (this.svgRef) {\n this.svgRef.nativeElement.innerHTML = this.svg;\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSvgTemplate, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricSvgTemplate, selector: \"gui-svg-template\", inputs: { svg: \"svg\" }, viewQueries: [{ propertyName: \"svgRef\", first: true, predicate: [\"svgEl\"], descendants: true, read: ElementRef }], ngImport: i0, template: `\n\t\t<div #svgEl></div>\n\t`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSvgTemplate, decorators: [{\n type: Component,\n args: [{\n selector: 'gui-svg-template',\n template: `\n\t\t<div #svgEl></div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], propDecorators: { svgRef: [{\n type: ViewChild,\n args: ['svgEl', { read: ElementRef, static: false }]\n }], svg: [{\n type: Input\n }] } });\n\nclass FabricTabComponent extends FabricReactive {\n renderer;\n changeDetectorRef;\n platformId;\n tabRef;\n tabItemRef;\n tabMenuList;\n menu = [];\n active = '';\n scrollActive = false;\n Direction = Direction;\n listPosition = 0;\n menuListWidth = 0;\n scrollAmount = 60;\n ACTIVE_TAB_CLASS_NAME = 'gui-active';\n constructor(renderer, changeDetectorRef, platformId) {\n super();\n this.renderer = renderer;\n this.changeDetectorRef = changeDetectorRef;\n this.platformId = platformId;\n }\n ngAfterViewInit() {\n this.toggleTab(this.active);\n this.calculateMenuWidth();\n this.showMenuArrows();\n this.checkIfMenuFitsOnResize();\n }\n toggleTab(tab) {\n this.removeActive();\n this.setActive(tab);\n }\n isSvg(item) {\n return typeof item === 'object';\n }\n getTabName(item) {\n return typeof item === 'object' ? item.name : item;\n }\n scrollTabList(scrollRightClicked) {\n if (this.tabRef) {\n const listWidth = this.tabRef.nativeElement.querySelector('.gui-tab-menu-list').offsetWidth, menuOverflow = this.menuListWidth - listWidth;\n if (scrollRightClicked && menuOverflow > this.listPosition) {\n this.listPosition += this.scrollAmount;\n }\n else if (!scrollRightClicked && this.listPosition > 0) {\n this.listPosition -= this.scrollAmount;\n }\n this.tabRef.nativeElement.querySelector('.' + 'gui-tab-menu-list').scrollLeft = this.listPosition;\n }\n }\n setActive(tab) {\n if (this.tabRef && this.tabItemRef) {\n if (typeof tab === 'object') {\n tab = tab.name;\n }\n const navMenuTabEl = this.tabRef.nativeElement.querySelector('[data-tab=\"' + tab + '\"]'), navTabItemEl = this.tabItemRef.nativeElement.querySelector('[data-tab=\"' + tab + '\"]');\n this.addClass(navMenuTabEl, this.ACTIVE_TAB_CLASS_NAME);\n this.addClass(navTabItemEl, this.ACTIVE_TAB_CLASS_NAME);\n }\n }\n removeActive() {\n if (this.tabRef && this.tabItemRef) {\n const navMenuTabEl = this.tabRef.nativeElement.querySelector('.' + this.ACTIVE_TAB_CLASS_NAME), navTabItemEl = this.tabItemRef.nativeElement.querySelector('.' + this.ACTIVE_TAB_CLASS_NAME);\n this.removeClass(navMenuTabEl, this.ACTIVE_TAB_CLASS_NAME);\n this.removeClass(navTabItemEl, this.ACTIVE_TAB_CLASS_NAME);\n }\n }\n addClass(element, name) {\n if (element) {\n this.renderer.addClass(element, name);\n }\n }\n removeClass(element, name) {\n if (element) {\n this.renderer.removeClass(element, name);\n }\n }\n checkIfMenuFitsOnResize() {\n if (isPlatformBrowser(this.platformId)) {\n fromEvent(window, 'resize')\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => this.showMenuArrows());\n }\n }\n calculateMenuWidth() {\n if (this.tabMenuList) {\n this.menuListWidth = 0;\n this.tabMenuList\n .forEach((listItem) => {\n this.menuListWidth += listItem.nativeElement.offsetWidth;\n });\n }\n }\n showMenuArrows() {\n if (this.tabRef) {\n const menuWidth = this.tabRef.nativeElement.querySelector('.gui-tab-menu').offsetWidth;\n this.scrollActive = menuWidth < this.menuListWidth;\n this.changeDetectorRef.detectChanges();\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTabComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricTabComponent, selector: \"gui-tab\", inputs: { menu: \"menu\", active: \"active\", scrollActive: \"scrollActive\" }, host: { properties: { \"class.gui-tab\": \"true\" } }, viewQueries: [{ propertyName: \"tabRef\", first: true, predicate: [\"tab\"], descendants: true, read: ElementRef }, { propertyName: \"tabItemRef\", first: true, predicate: [\"tabItem\"], descendants: true, read: ElementRef }, { propertyName: \"tabMenuList\", predicate: [\"tabMenuList\"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: \"<div #tab>\\n\\n\\t<div class=\\\"gui-tab-menu\\\">\\n\\n\\t\\t<div (click)=\\\"scrollTabList(false)\\\"\\n\\t\\t\\t *ngIf=\\\"scrollActive\\\"\\n\\t\\t\\t class=\\\"scroll-button\\\">\\n\\t\\t\\t<gui-arrow-icon [direction]=\\\"Direction.LEFT\\\"></gui-arrow-icon>\\n\\t\\t</div>\\n\\n\\t\\t<div class=\\\"gui-tab-menu-list\\\">\\n\\t\\t\\t<div #tabMenuList\\n\\t\\t\\t\\t (click)=\\\"toggleTab(tab)\\\"\\n\\t\\t\\t\\t *ngFor=\\\"let tab of menu\\\"\\n\\t\\t\\t\\t [attr.data-tab]=\\\"getTabName(tab)\\\"\\n\\t\\t\\t\\t class=\\\"gui-tab-menu-item\\\">\\n\\t\\t\\t\\t<span *ngIf=\\\"!isSvg(tab)\\\">{{tab}}</span>\\n\\t\\t\\t\\t<ng-container *ngIf=\\\"isSvg(tab)\\\">\\n\\t\\t\\t\\t\\t<gui-svg-template [svg]=\\\"tab.svg\\\"></gui-svg-template>\\n\\t\\t\\t\\t</ng-container>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\n\\t\\t<div (click)=\\\"scrollTabList(true)\\\"\\n\\t\\t\\t *ngIf=\\\"scrollActive\\\"\\n\\t\\t\\t class=\\\"scroll-button\\\">\\n\\t\\t\\t<gui-arrow-icon></gui-arrow-icon>\\n\\t\\t</div>\\n\\n\\t</div>\\n\\n\\t<div #tabItem\\n\\t\\t class=\\\"gui-tab-content\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-tab{font:14px Arial}.gui-tab .gui-tab-content{background:#fff;border-color:#d6d6d6;border-radius:0 0 4px 4px;border-style:solid;border-width:1px;padding:12px}.gui-tab .gui-tab-menu{display:-ms-flexbox;display:flex;margin-bottom:-1px}.gui-tab .gui-tab-menu .gui-tab-menu-list{border-radius:4px 4px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden}.gui-tab .gui-tab-menu .gui-tab-menu-item{background:#fafafa;border-color:#d6d6d6;border-radius:4px 4px 0 0;border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;display:inline-block;height:34px;margin-right:2px;padding:8px 16px;position:relative;text-align:center;white-space:nowrap}.gui-tab .gui-tab-menu .gui-tab-menu-item:nth-last-child(1){margin-right:0}.gui-tab .gui-tab-menu .gui-tab-menu-item svg{height:16px;width:16px}.gui-tab .gui-tab-menu .gui-tab-menu-item svg path{fill:#aaa}.gui-tab .gui-tab-menu .scroll-button{background:transparent;box-sizing:border-box;color:#ccc;cursor:pointer;font-weight:700;height:34px;padding:8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-tab .gui-tab-menu .scroll-button:hover svg path{stroke:#464646}.gui-tab .gui-tab-item{display:none}.gui-tab .gui-active.gui-tab-menu-item{background:#fff;border-color:#d6d6d6 #d6d6d6 #fff #d6d6d6;border-radius:4px 4px 0 0;border-style:solid;border-width:1px;color:#2185d0}.gui-tab .gui-active.gui-tab-menu-item svg path{fill:#2185d0}.gui-tab .gui-active.gui-tab-item{display:block}\\n\", \".gui-material .gui-tab{font:14px Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-tab{color:#bdbdbd}.gui-dark .gui-tab .gui-tab-content{background:#424242;border-color:#616161}.gui-dark .gui-tab .gui-tab-menu-item{background:#616161;border-color:transparent}.gui-dark .gui-tab .gui-active.gui-tab-menu-item{background:#424242;border-color:#616161 #616161 transparent #616161;color:#ce93d8}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: FabricArrowIconComponent, selector: \"gui-arrow-icon\", inputs: [\"direction\"] }, { kind: \"component\", type: FabricSvgTemplate, selector: \"gui-svg-template\", inputs: [\"svg\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTabComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-tab', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-tab]': 'true'\n }, template: \"<div #tab>\\n\\n\\t<div class=\\\"gui-tab-menu\\\">\\n\\n\\t\\t<div (click)=\\\"scrollTabList(false)\\\"\\n\\t\\t\\t *ngIf=\\\"scrollActive\\\"\\n\\t\\t\\t class=\\\"scroll-button\\\">\\n\\t\\t\\t<gui-arrow-icon [direction]=\\\"Direction.LEFT\\\"></gui-arrow-icon>\\n\\t\\t</div>\\n\\n\\t\\t<div class=\\\"gui-tab-menu-list\\\">\\n\\t\\t\\t<div #tabMenuList\\n\\t\\t\\t\\t (click)=\\\"toggleTab(tab)\\\"\\n\\t\\t\\t\\t *ngFor=\\\"let tab of menu\\\"\\n\\t\\t\\t\\t [attr.data-tab]=\\\"getTabName(tab)\\\"\\n\\t\\t\\t\\t class=\\\"gui-tab-menu-item\\\">\\n\\t\\t\\t\\t<span *ngIf=\\\"!isSvg(tab)\\\">{{tab}}</span>\\n\\t\\t\\t\\t<ng-container *ngIf=\\\"isSvg(tab)\\\">\\n\\t\\t\\t\\t\\t<gui-svg-template [svg]=\\\"tab.svg\\\"></gui-svg-template>\\n\\t\\t\\t\\t</ng-container>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\n\\t\\t<div (click)=\\\"scrollTabList(true)\\\"\\n\\t\\t\\t *ngIf=\\\"scrollActive\\\"\\n\\t\\t\\t class=\\\"scroll-button\\\">\\n\\t\\t\\t<gui-arrow-icon></gui-arrow-icon>\\n\\t\\t</div>\\n\\n\\t</div>\\n\\n\\t<div #tabItem\\n\\t\\t class=\\\"gui-tab-content\\\">\\n\\t\\t<ng-content></ng-content>\\n\\t</div>\\n</div>\\n\", styles: [\".gui-tab{font:14px Arial}.gui-tab .gui-tab-content{background:#fff;border-color:#d6d6d6;border-radius:0 0 4px 4px;border-style:solid;border-width:1px;padding:12px}.gui-tab .gui-tab-menu{display:-ms-flexbox;display:flex;margin-bottom:-1px}.gui-tab .gui-tab-menu .gui-tab-menu-list{border-radius:4px 4px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden}.gui-tab .gui-tab-menu .gui-tab-menu-item{background:#fafafa;border-color:#d6d6d6;border-radius:4px 4px 0 0;border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;display:inline-block;height:34px;margin-right:2px;padding:8px 16px;position:relative;text-align:center;white-space:nowrap}.gui-tab .gui-tab-menu .gui-tab-menu-item:nth-last-child(1){margin-right:0}.gui-tab .gui-tab-menu .gui-tab-menu-item svg{height:16px;width:16px}.gui-tab .gui-tab-menu .gui-tab-menu-item svg path{fill:#aaa}.gui-tab .gui-tab-menu .scroll-button{background:transparent;box-sizing:border-box;color:#ccc;cursor:pointer;font-weight:700;height:34px;padding:8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-tab .gui-tab-menu .scroll-button:hover svg path{stroke:#464646}.gui-tab .gui-tab-item{display:none}.gui-tab .gui-active.gui-tab-menu-item{background:#fff;border-color:#d6d6d6 #d6d6d6 #fff #d6d6d6;border-radius:4px 4px 0 0;border-style:solid;border-width:1px;color:#2185d0}.gui-tab .gui-active.gui-tab-menu-item svg path{fill:#2185d0}.gui-tab .gui-active.gui-tab-item{display:block}\\n\", \".gui-material .gui-tab{font:14px Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-tab{color:#bdbdbd}.gui-dark .gui-tab .gui-tab-content{background:#424242;border-color:#616161}.gui-dark .gui-tab .gui-tab-menu-item{background:#616161;border-color:transparent}.gui-dark .gui-tab .gui-active.gui-tab-menu-item{background:#424242;border-color:#616161 #616161 transparent #616161;color:#ce93d8}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }], propDecorators: { tabRef: [{\n type: ViewChild,\n args: ['tab', { read: ElementRef, static: false }]\n }], tabItemRef: [{\n type: ViewChild,\n args: ['tabItem', { read: ElementRef, static: false }]\n }], tabMenuList: [{\n type: ViewChildren,\n args: ['tabMenuList', { read: ElementRef }]\n }], menu: [{\n type: Input\n }], active: [{\n type: Input\n }], scrollActive: [{\n type: Input\n }] } });\n\nclass FabricTabItemComponent {\n tab = '';\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTabItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricTabItemComponent, selector: \"gui-tab-item\", inputs: { tab: \"tab\" }, ngImport: i0, template: \"<div [attr.data-tab]=\\\"tab\\\"\\n\\t class=\\\"gui-tab-item\\\">\\n\\t<ng-content></ng-content>\\n</div>\\n\", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTabItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-tab-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div [attr.data-tab]=\\\"tab\\\"\\n\\t class=\\\"gui-tab-item\\\">\\n\\t<ng-content></ng-content>\\n</div>\\n\" }]\n }], propDecorators: { tab: [{\n type: Input\n }] } });\n\nclass FabricSvgTemplateModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSvgTemplateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSvgTemplateModule, declarations: [FabricSvgTemplate], imports: [CommonModule], exports: [FabricSvgTemplate] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSvgTemplateModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSvgTemplateModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricSvgTemplate\n ],\n exports: [\n FabricSvgTemplate\n ]\n }]\n }] });\n\nclass FabricTabModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTabModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTabModule, declarations: [FabricTabComponent,\n FabricTabItemComponent], imports: [CommonModule,\n FabricArrowIconModule,\n FabricSvgTemplateModule], exports: [FabricTabComponent,\n FabricTabItemComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTabModule, imports: [CommonModule,\n FabricArrowIconModule,\n FabricSvgTemplateModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTabModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FabricArrowIconModule,\n FabricSvgTemplateModule\n ],\n declarations: [\n FabricTabComponent,\n FabricTabItemComponent\n ],\n exports: [\n FabricTabComponent,\n FabricTabItemComponent\n ]\n }]\n }] });\n\nclass FabricTooltipComponent {\n elementRef;\n text = '';\n left = 0;\n top = 0;\n constructor(elementRef) {\n this.elementRef = elementRef;\n }\n correctPosition() {\n this.top -= this.elementRef.nativeElement.offsetHeight;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTooltipComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricTooltipComponent, selector: \"ng-component\", host: { properties: { \"class.gui-tooltip\": \"true\", \"style.left.px\": \"left\", \"style.top.px\": \"top\" } }, ngImport: i0, template: `\n\t\t{{text}}\n\t`, isInline: true, styles: [\".gui-tooltip{background:rgba(0,0,0,.8);border-radius:4px;border-style:solid;border-width:0;box-sizing:border-box;color:#fff;display:block;font:14px Arial;font-weight:400;padding:8px 12px;position:absolute;-ms-transform:translateX(-50%);transform:translate(-50%);vertical-align:middle;z-index:10}.gui-tooltip:after{border-color:#333 transparent transparent transparent;border-style:solid;border-width:5px;content:\\\"\\\";left:50%;margin-left:-5px;position:absolute;top:100%}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTooltipComponent, decorators: [{\n type: Component,\n args: [{ template: `\n\t\t{{text}}\n\t`, host: {\n '[class.gui-tooltip]': 'true',\n '[style.left.px]': 'left',\n '[style.top.px]': 'top'\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [\".gui-tooltip{background:rgba(0,0,0,.8);border-radius:4px;border-style:solid;border-width:0;box-sizing:border-box;color:#fff;display:block;font:14px Arial;font-weight:400;padding:8px 12px;position:absolute;-ms-transform:translateX(-50%);transform:translate(-50%);vertical-align:middle;z-index:10}.gui-tooltip:after{border-color:#333 transparent transparent transparent;border-style:solid;border-width:5px;content:\\\"\\\";left:50%;margin-left:-5px;position:absolute;top:100%}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }] });\n\nclass FabricTooltipDirective extends FabricReactive {\n componentFactoryResolver;\n injector;\n elementRef;\n applicationRef;\n document;\n platformId;\n static tooltipOffset = 8;\n text = '';\n tooltipRef = null;\n tooltipTopPosition;\n tooltipLeftPosition;\n constructor(componentFactoryResolver, injector, elementRef, applicationRef, document, platformId) {\n super();\n this.componentFactoryResolver = componentFactoryResolver;\n this.injector = injector;\n this.elementRef = elementRef;\n this.applicationRef = applicationRef;\n this.document = document;\n this.platformId = platformId;\n }\n ngOnInit() {\n const open$ = fromEvent(this.elementRef.nativeElement, 'mouseenter'), close$ = fromEvent(this.elementRef.nativeElement, 'mouseleave');\n open$\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => this.show());\n close$\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(() => {\n if (this.tooltipRef) {\n this.hide();\n }\n });\n }\n show() {\n const tooltipRef = this.componentFactoryResolver\n .resolveComponentFactory(FabricTooltipComponent)\n .create(this.injector);\n tooltipRef.instance.text = this.text;\n tooltipRef.changeDetectorRef.detectChanges();\n const domElement = tooltipRef.hostView\n .rootNodes[0];\n this.document.body.appendChild(domElement);\n this.tooltipRef = tooltipRef;\n this.calculateCords();\n this.tooltipRef.instance.correctPosition();\n this.tooltipRef.changeDetectorRef.detectChanges();\n }\n hide() {\n if (this.tooltipRef) {\n this.applicationRef.detachView(this.tooltipRef.hostView);\n this.tooltipRef.destroy();\n this.tooltipRef = null;\n }\n }\n calculateCords() {\n if (this.tooltipRef) {\n const elementRef = this.elementRef.nativeElement, elementRect = elementRef.getBoundingClientRect(), elementBottom = elementRect.bottom, elementLeft = elementRect.left;\n if (isPlatformBrowser(this.platformId)) {\n this.tooltipTopPosition =\n elementBottom + window.scrollY\n - elementRef.offsetHeight\n - FabricTooltipDirective.tooltipOffset;\n this.tooltipLeftPosition = window.scrollX + elementLeft + elementRef.offsetWidth / 2;\n if (this.tooltipTopPosition) {\n this.tooltipRef.instance.top = this.tooltipTopPosition;\n }\n if (this.tooltipLeftPosition) {\n this.tooltipRef.instance.left = this.tooltipLeftPosition;\n }\n this.tooltipRef.changeDetectorRef.detectChanges();\n }\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTooltipDirective, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i0.ApplicationRef }, { token: DOCUMENT }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricTooltipDirective, selector: \"[gui-tooltip]\", inputs: { text: [\"gui-tooltip\", \"text\"] }, exportAs: [\"guiTooltip\"], usesInheritance: true, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTooltipDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[gui-tooltip]',\n exportAs: 'guiTooltip'\n }]\n }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i0.ApplicationRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }], propDecorators: { text: [{\n type: Input,\n args: ['gui-tooltip']\n }] } });\n\nclass FabricTooltipModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTooltipModule, declarations: [FabricTooltipDirective,\n FabricTooltipComponent], exports: [FabricTooltipDirective,\n FabricTooltipComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTooltipModule });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricTooltipModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [],\n declarations: [\n FabricTooltipDirective,\n FabricTooltipComponent\n ],\n exports: [\n FabricTooltipDirective,\n FabricTooltipComponent\n ]\n }]\n }] });\n\nclass SelectOptionsCords {\n window;\n static BORDER_WIDTH = 1;\n verticalPosition = 0;\n horizontalPosition = 0;\n canOpenUpward = false;\n constructor(element, selectContainerGeometry, window) {\n this.window = window;\n this.calculateCords(element, selectContainerGeometry);\n }\n getVerticalPosition() {\n return this.verticalPosition;\n }\n getHorizontalPosition() {\n return this.horizontalPosition;\n }\n getCanOpenUpward() {\n return this.canOpenUpward;\n }\n calculateCords(element, selectOptionsGeometry) {\n const elementRect = element.nativeElement.getBoundingClientRect(), elementBottom = this.window.pageYOffset + elementRect.bottom, elementLeft = this.window.pageXOffset + elementRect.left;\n this.horizontalPosition = elementLeft;\n this.verticalPosition = elementBottom - SelectOptionsCords.BORDER_WIDTH;\n this.calculateDirection(selectOptionsGeometry, element);\n }\n calculateDirection(selectOptionsGeometry, element) {\n const windowHeight = this.window.innerHeight + this.window.pageYOffset, elementHeight = element.nativeElement.offsetHeight, selectOptionsHeight = selectOptionsGeometry.getHeight();\n const selectOptionsDoesNotFitVertically = (windowHeight - this.verticalPosition - selectOptionsHeight) < 0;\n if (selectOptionsDoesNotFitVertically) {\n this.canOpenUpward = true;\n this.verticalPosition -= selectOptionsHeight + elementHeight - SelectOptionsCords.BORDER_WIDTH;\n }\n }\n}\n\nclass SelectOptionsGeometry {\n selectOptionsGeometry;\n constructor(selectOptionsGeometry) {\n this.selectOptionsGeometry = selectOptionsGeometry;\n }\n getHeight() {\n return this.selectOptionsGeometry.nativeElement.querySelector('.gui-options-list').offsetHeight;\n }\n getWidth() {\n return this.selectOptionsGeometry.nativeElement.querySelector('.gui-options-list').offsetWidth;\n }\n}\n\nclass SelectOptionsGeometryService {\n platformId;\n selectContainerGeometry;\n selectOptionsCords$ = new ReplaySubject(1);\n constructor(platformId) {\n this.platformId = platformId;\n }\n onSelectOptionsCords() {\n return this.selectOptionsCords$.asObservable();\n }\n setGeometry(selectContainerRef) {\n this.selectContainerGeometry = new SelectOptionsGeometry(selectContainerRef);\n }\n nextCords(element) {\n if (isPlatformBrowser(this.platformId) && this.selectContainerGeometry) {\n const selectOptionsCords = new SelectOptionsCords(element, this.selectContainerGeometry, window);\n this.selectOptionsCords$.next(selectOptionsCords);\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: SelectOptionsGeometryService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: SelectOptionsGeometryService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: SelectOptionsGeometryService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }] });\n\nclass FabricSelectedOptionsRepository {\n selectedOption$ = new ReplaySubject(1);\n onSelectedOption() {\n return this.selectedOption$.asObservable();\n }\n next(option) {\n this.selectedOption$.next(option);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectedOptionsRepository, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectedOptionsRepository });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectedOptionsRepository, decorators: [{\n type: Injectable\n }] });\n\nclass FabricSelectOptionsComponent extends FabricThemedComponent {\n selectOptionsGeometryService;\n selectService;\n changeDetectorRef;\n optionListRef;\n options = [];\n optionsContainerLeftAttribute = 0;\n optionsContainerTopAttribute = 0;\n width = 100;\n selectedOption;\n canOpenUpward = false;\n constructor(selectOptionsGeometryService, selectService, changeDetectorRef, elementRef, renderer, themeService) {\n super(elementRef, renderer, themeService);\n this.selectOptionsGeometryService = selectOptionsGeometryService;\n this.selectService = selectService;\n this.changeDetectorRef = changeDetectorRef;\n }\n ngOnInit() {\n this.selectOptionsGeometryService\n .onSelectOptionsCords()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((cords) => {\n this.optionsContainerTopAttribute = cords.getVerticalPosition();\n this.optionsContainerLeftAttribute = cords.getHorizontalPosition();\n this.canOpenUpward = cords.getCanOpenUpward();\n this.changeDetectorRef.detectChanges();\n });\n this.selectService\n .onSelectedOption()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((selectedOption) => {\n this.selectedOption = selectedOption;\n this.changeDetectorRef.detectChanges();\n });\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.initOpenAnimation();\n }\n getElementRef() {\n return super.getElementRef();\n }\n detectChanges() {\n this.changeDetectorRef.detectChanges();\n }\n selectOption(option) {\n this.selectService.next(option);\n }\n isOptionSelected(option) {\n return this.selectedOption?.name === option.name;\n }\n getOptionValue(option) {\n return option.value ? option.value : option.name;\n }\n initOpenAnimation() {\n if (this.optionListRef) {\n const optionsEl = this.optionListRef.nativeElement;\n this.getRenderer().addClass(optionsEl, 'gui-options-opened');\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectOptionsComponent, deps: [{ token: SelectOptionsGeometryService }, { token: FabricSelectedOptionsRepository }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FabricModalThemeService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricSelectOptionsComponent, selector: \"ng-component\", viewQueries: [{ propertyName: \"optionListRef\", first: true, predicate: [\"optionList\"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `\n\t\t<div #optionList\n\t\t\t [class.gui-upward]=\"canOpenUpward\"\n\t\t\t [class.gui-downward]=\"!canOpenUpward\"\n\t\t\t [style.left.px]=\"optionsContainerLeftAttribute\"\n\t\t\t [style.top.px]=\"optionsContainerTopAttribute\"\n\t\t\t class=\"gui-options-list\">\n\n\t\t\t<div *ngFor=\"let option of options\"\n\t\t\t\t [class.gui-option-selected]=\"isOptionSelected(option)\"\n\t\t\t\t [style.width.px]=\"width\"\n\t\t\t\t (click)=\"selectOption(option)\"\n\t\t\t\t class=\"gui-option\">\n\t\t\t\t{{getOptionValue(option)}}\n\t\t\t</div>\n\t\t</div>\n\t`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectOptionsComponent, decorators: [{\n type: Component,\n args: [{\n template: `\n\t\t<div #optionList\n\t\t\t [class.gui-upward]=\"canOpenUpward\"\n\t\t\t [class.gui-downward]=\"!canOpenUpward\"\n\t\t\t [style.left.px]=\"optionsContainerLeftAttribute\"\n\t\t\t [style.top.px]=\"optionsContainerTopAttribute\"\n\t\t\t class=\"gui-options-list\">\n\n\t\t\t<div *ngFor=\"let option of options\"\n\t\t\t\t [class.gui-option-selected]=\"isOptionSelected(option)\"\n\t\t\t\t [style.width.px]=\"width\"\n\t\t\t\t (click)=\"selectOption(option)\"\n\t\t\t\t class=\"gui-option\">\n\t\t\t\t{{getOptionValue(option)}}\n\t\t\t</div>\n\t\t</div>\n\t`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], ctorParameters: () => [{ type: SelectOptionsGeometryService }, { type: FabricSelectedOptionsRepository }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: FabricModalThemeService }], propDecorators: { optionListRef: [{\n type: ViewChild,\n args: ['optionList', { read: ElementRef, static: false }]\n }] } });\n\nclass SelectOptionModalService extends FabricModal {\n selectOptionsGeometryService;\n constructor(selectOptionsGeometryService, componentFactoryResolver, applicationRef, injector, document) {\n super(componentFactoryResolver, applicationRef, injector, document);\n this.selectOptionsGeometryService = selectOptionsGeometryService;\n }\n getComponent() {\n return FabricSelectOptionsComponent;\n }\n open(options, width) {\n this.createAndAppend({\n afterCompCreation: () => this.afterCompCreation(options, width)\n });\n }\n closeOptions() {\n this.removeComponent();\n }\n afterCompCreation(options, width) {\n if (this.isComponentCreated()) {\n const componentRef = this.getComponentRef();\n componentRef.instance.options = options;\n componentRef.instance.width = width;\n componentRef.instance.detectChanges();\n this.selectOptionsGeometryService.setGeometry(componentRef.instance.getElementRef());\n componentRef.instance.detectChanges();\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: SelectOptionModalService, deps: [{ token: SelectOptionsGeometryService }, { token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: SelectOptionModalService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: SelectOptionModalService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: SelectOptionsGeometryService }, { type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }] });\n\nclass FabricSelectComponent extends FabricReactive {\n selectService;\n selectOptionsGeometryService;\n selectOptionModalService;\n changeDetectorRef;\n platformId;\n elementRef;\n renderer;\n containerRef;\n options = [];\n placeholder = '...';\n selected;\n width = 100;\n disabled = false;\n optionChanged = new EventEmitter();\n selectedOption;\n containerText;\n scrollListenerFn;\n doNotEmitValues = false;\n opened = false;\n constructor(selectService, selectOptionsGeometryService, selectOptionModalService, changeDetectorRef, platformId, elementRef, renderer) {\n super();\n this.selectService = selectService;\n this.selectOptionsGeometryService = selectOptionsGeometryService;\n this.selectOptionModalService = selectOptionModalService;\n this.changeDetectorRef = changeDetectorRef;\n this.platformId = platformId;\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n ngOnChanges(changes) {\n if (changes['placeholder']) {\n this.containerText = this.placeholder;\n }\n if (changes['selected']) {\n if (this.selected) {\n this.tryToSelect(this.selected);\n }\n }\n }\n ngOnInit() {\n this.selectService\n .onSelectedOption()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((selectedOption) => {\n this.emitSelectedOption(selectedOption);\n this.selectedOption = selectedOption;\n this.containerText = selectedOption.value ?? '';\n this.doNotEmitValues = false;\n this.changeDetectorRef.detectChanges();\n });\n this.selectOptionsGeometryService\n .onSelectOptionsCords()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((cords) => {\n if (cords.getCanOpenUpward()) {\n this.openUpward();\n }\n else {\n this.openDownward();\n }\n });\n }\n tryToOpen(event) {\n if (this.isContainerDisabled(event)) {\n event.stopPropagation();\n }\n else {\n this.open(this.options, this.width);\n this.toggleOptions(!this.opened);\n this.changeDetectorRef.detectChanges();\n }\n }\n clickOutside(event) {\n if (this.isContainerClicked(event)) {\n this.toggleOptions(false);\n }\n }\n toggleOptions(opened) {\n this.opened = opened;\n this.maintainOptionsListPosition();\n if (!this.opened) {\n this.closeOptions();\n }\n }\n isOptionSelected(option) {\n return this.selectedOption?.name === option.name;\n }\n getOptionValue(option) {\n if (option) {\n return option.value ? option.value : option.name;\n }\n return '';\n }\n open(options, width) {\n if (this.containerRef) {\n this.closeSelect();\n this.selectOptionModalService.open(options, width);\n this.selectOptionsGeometryService.nextCords(this.containerRef);\n }\n }\n tryToSelect(option) {\n const canSelect = this.selectedOption ? option.name !== this.selectedOption.name : true;\n if (canSelect) {\n this.doNotEmitValues = true;\n this.selectService.next(option);\n this.selectedOption = option;\n this.containerText = this.getOptionValue(option);\n }\n }\n maintainOptionsListPosition() {\n if (isPlatformBrowser(this.platformId)) {\n if (this.opened) {\n this.scrollListenerFn = this.renderer.listen('window', 'scroll', () => {\n if (this.containerRef) {\n this.selectOptionsGeometryService.nextCords(this.containerRef);\n }\n });\n }\n else {\n if (this.scrollListenerFn) {\n this.scrollListenerFn();\n }\n }\n }\n }\n closeSelect() {\n this.selectOptionModalService.closeOptions();\n }\n emitSelectedOption(option) {\n if (!this.doNotEmitValues) {\n if (!this.isOptionSelected(option)) {\n this.optionChanged.emit(option);\n }\n }\n }\n openDownward() {\n this.addClass('gui-options-opened');\n this.addClass('gui-downward');\n this.removeClass('gui-upward');\n }\n openUpward() {\n this.addClass('gui-options-opened');\n this.addClass('gui-upward');\n this.removeClass('gui-downward');\n }\n closeOptions() {\n const optionsElHasOpenClass = this.elementRef.nativeElement.classList.contains('gui-options-opened');\n if (optionsElHasOpenClass) {\n this.removeClass('gui-options-opened');\n this.closeSelect();\n }\n }\n isContainerClicked(event) {\n return !this.elementRef.nativeElement.contains(event.target);\n }\n isContainerDisabled(event) {\n return event.target.classList.contains('gui-disabled');\n }\n addClass(className) {\n this.renderer.addClass(this.elementRef.nativeElement, className);\n }\n removeClass(className) {\n this.renderer.removeClass(this.elementRef.nativeElement, className);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectComponent, deps: [{ token: FabricSelectedOptionsRepository }, { token: SelectOptionsGeometryService }, { token: SelectOptionModalService }, { token: i0.ChangeDetectorRef }, { token: PLATFORM_ID }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricSelectComponent, selector: \"gui-select\", inputs: { options: \"options\", placeholder: \"placeholder\", selected: \"selected\", width: \"width\", disabled: \"disabled\" }, outputs: { optionChanged: \"optionChanged\" }, host: { properties: { \"class.gui-select\": \"true\" } }, providers: [\n FabricSelectedOptionsRepository,\n SelectOptionsGeometryService,\n SelectOptionModalService\n ], viewQueries: [{ propertyName: \"containerRef\", first: true, predicate: [\"container\"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<div #container\\n\\t (click)=\\\"tryToOpen($event)\\\"\\n\\t (document:click)=\\\"clickOutside($event)\\\"\\n\\t [class.gui-disabled]=\\\"disabled\\\"\\n\\t [style.width.px]=\\\"width\\\"\\n\\t class=\\\"gui-select-container\\\">\\n\\n\\t<div class=\\\"gui-select-value\\\">\\n\\t\\t{{containerText}}\\n\\t</div>\\n\\n\\t<span class=\\\"gui-select-arrow\\\"></span>\\n\\n</div>\\n\", styles: [\".gui-select .gui-select-container{min-height:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:content-box;color:#333;cursor:pointer;display:inline-block;font:14px Arial;padding:8px 24px 8px 12px;position:relative}.gui-select .gui-select-container:hover{border-color:#999}.gui-select .gui-select-container .gui-select-arrow{border:4px solid transparent;border-color:#595959 transparent transparent transparent;height:0;margin:8px;position:absolute;right:5px;top:5px;width:0}.gui-select.gui-options-opened .gui-select-container{border-color:#6fb4e8 #6fb4e8 transparent #6fb4e8;border-radius:4px 4px 0 0;border-width:1px}.gui-select.gui-downward .gui-options-list{border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-top:none;border-width:1px}.gui-select.gui-downward .gui-option{border-color:#e6e6e6;border-style:solid;border-width:1px 0 0 0}.gui-select.gui-upward .gui-select-container{padding:8px 12px 8px 24px;-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select.gui-upward .gui-select-container .gui-select-value{-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select.gui-upward .gui-select-container .gui-select-arrow{border:4px solid transparent;border-color:transparent transparent #595959 transparent;bottom:5px;left:5px;top:auto}.gui-select.gui-upward .gui-options-list{border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-top:none;border-width:1px}.gui-select.gui-upward .gui-option{border-color:#e6e6e6;border-style:solid;border-width:0 0 1px 0;-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select .gui-disabled{color:#ccc;pointer-events:none}.gui-select .gui-disabled .gui-select-arrow{border-color:#cccccc transparent transparent transparent}.gui-select .initAnimationDisabled.gui-options-list{display:none}.gui-options-list{background:#fff;border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px 1px;overflow:hidden;padding:0;position:absolute;z-index:1000}.gui-options-list .gui-option{box-sizing:content-box;cursor:pointer;font-size:14px;list-style-type:none;padding:8px 24px 8px 12px}.gui-options-list .gui-option:hover{background:#dcdcdc}.gui-options-list .gui-option-selected{background:#e6e6e6;font-weight:700}.gui-options-list.gui-upward{animation:loadUpward .2s forwards;border-bottom:none;border-color:#6fb4e8;border-radius:4px 4px 0 0;border-style:solid;border-width:1px}@keyframes loadUpward{0%{transform:translateY(50%) scaleY(0)}to{transform:translateY(0) scaleY(1)}}.gui-options-list.gui-downward{animation:loadDownward .2s forwards;border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px 1px}@keyframes loadDownward{0%{transform:translateY(-50%) scaleY(0)}to{transform:translateY(0) scaleY(1)}}\\n\", \".gui-material .gui-select .gui-select-container,.gui-material .gui-options-list .gui-option{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-select .gui-select-container{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-select .gui-select-container:hover{border-color:#ce93d8}.gui-dark .gui-select .gui-select-container .gui-select-arrow{border-color:#ce93d8 transparent transparent transparent}.gui-dark .gui-select.gui-options-opened .gui-select-container{border-color:#ce93d8}.gui-dark .gui-select.gui-upward .gui-select-container .gui-select-arrow{border-color:transparent transparent #ce93d8 transparent}.gui-dark .gui-select .gui-disabled{opacity:.36}.gui-dark .gui-options-list{border-color:#ce93d8}.gui-dark .gui-options-list .gui-option{background:#424242;border-color:#757575;color:#bdbdbd}.gui-dark .gui-options-list .gui-option:hover{background:#616161}.gui-dark .gui-options-list .gui-option-selected{background:#757575}\\n\", \".gui-light .gui-select .gui-select-container{background:#fff;color:#333;font-family:Roboto,Helvetica Neue,sans-serif}.gui-light .gui-options-list .gui-option:hover{background:#f6f6f5}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-select', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-select]': 'true'\n }, providers: [\n FabricSelectedOptionsRepository,\n SelectOptionsGeometryService,\n SelectOptionModalService\n ], template: \"<div #container\\n\\t (click)=\\\"tryToOpen($event)\\\"\\n\\t (document:click)=\\\"clickOutside($event)\\\"\\n\\t [class.gui-disabled]=\\\"disabled\\\"\\n\\t [style.width.px]=\\\"width\\\"\\n\\t class=\\\"gui-select-container\\\">\\n\\n\\t<div class=\\\"gui-select-value\\\">\\n\\t\\t{{containerText}}\\n\\t</div>\\n\\n\\t<span class=\\\"gui-select-arrow\\\"></span>\\n\\n</div>\\n\", styles: [\".gui-select .gui-select-container{min-height:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border-color:#d6d6d6;border-radius:4px;border-style:solid;border-width:1px;box-sizing:content-box;color:#333;cursor:pointer;display:inline-block;font:14px Arial;padding:8px 24px 8px 12px;position:relative}.gui-select .gui-select-container:hover{border-color:#999}.gui-select .gui-select-container .gui-select-arrow{border:4px solid transparent;border-color:#595959 transparent transparent transparent;height:0;margin:8px;position:absolute;right:5px;top:5px;width:0}.gui-select.gui-options-opened .gui-select-container{border-color:#6fb4e8 #6fb4e8 transparent #6fb4e8;border-radius:4px 4px 0 0;border-width:1px}.gui-select.gui-downward .gui-options-list{border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-top:none;border-width:1px}.gui-select.gui-downward .gui-option{border-color:#e6e6e6;border-style:solid;border-width:1px 0 0 0}.gui-select.gui-upward .gui-select-container{padding:8px 12px 8px 24px;-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select.gui-upward .gui-select-container .gui-select-value{-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select.gui-upward .gui-select-container .gui-select-arrow{border:4px solid transparent;border-color:transparent transparent #595959 transparent;bottom:5px;left:5px;top:auto}.gui-select.gui-upward .gui-options-list{border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-top:none;border-width:1px}.gui-select.gui-upward .gui-option{border-color:#e6e6e6;border-style:solid;border-width:0 0 1px 0;-ms-transform:rotate(180deg);transform:rotate(180deg)}.gui-select .gui-disabled{color:#ccc;pointer-events:none}.gui-select .gui-disabled .gui-select-arrow{border-color:#cccccc transparent transparent transparent}.gui-select .initAnimationDisabled.gui-options-list{display:none}.gui-options-list{background:#fff;border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px 1px;overflow:hidden;padding:0;position:absolute;z-index:1000}.gui-options-list .gui-option{box-sizing:content-box;cursor:pointer;font-size:14px;list-style-type:none;padding:8px 24px 8px 12px}.gui-options-list .gui-option:hover{background:#dcdcdc}.gui-options-list .gui-option-selected{background:#e6e6e6;font-weight:700}.gui-options-list.gui-upward{animation:loadUpward .2s forwards;border-bottom:none;border-color:#6fb4e8;border-radius:4px 4px 0 0;border-style:solid;border-width:1px}@keyframes loadUpward{0%{transform:translateY(50%) scaleY(0)}to{transform:translateY(0) scaleY(1)}}.gui-options-list.gui-downward{animation:loadDownward .2s forwards;border-color:#6fb4e8;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px 1px}@keyframes loadDownward{0%{transform:translateY(-50%) scaleY(0)}to{transform:translateY(0) scaleY(1)}}\\n\", \".gui-material .gui-select .gui-select-container,.gui-material .gui-options-list .gui-option{font-family:Roboto,Helvetica Neue,sans-serif}\\n\", \".gui-dark .gui-select .gui-select-container{background:#424242;border-color:#616161;color:#bdbdbd}.gui-dark .gui-select .gui-select-container:hover{border-color:#ce93d8}.gui-dark .gui-select .gui-select-container .gui-select-arrow{border-color:#ce93d8 transparent transparent transparent}.gui-dark .gui-select.gui-options-opened .gui-select-container{border-color:#ce93d8}.gui-dark .gui-select.gui-upward .gui-select-container .gui-select-arrow{border-color:transparent transparent #ce93d8 transparent}.gui-dark .gui-select .gui-disabled{opacity:.36}.gui-dark .gui-options-list{border-color:#ce93d8}.gui-dark .gui-options-list .gui-option{background:#424242;border-color:#757575;color:#bdbdbd}.gui-dark .gui-options-list .gui-option:hover{background:#616161}.gui-dark .gui-options-list .gui-option-selected{background:#757575}\\n\", \".gui-light .gui-select .gui-select-container{background:#fff;color:#333;font-family:Roboto,Helvetica Neue,sans-serif}.gui-light .gui-options-list .gui-option:hover{background:#f6f6f5}\\n\"] }]\n }], ctorParameters: () => [{ type: FabricSelectedOptionsRepository }, { type: SelectOptionsGeometryService }, { type: SelectOptionModalService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { containerRef: [{\n type: ViewChild,\n args: ['container', { read: ElementRef, static: false }]\n }], options: [{\n type: Input\n }], placeholder: [{\n type: Input\n }], selected: [{\n type: Input\n }], width: [{\n type: Input\n }], disabled: [{\n type: Input\n }], optionChanged: [{\n type: Output\n }] } });\n\nclass FabricSelectModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectModule, declarations: [FabricSelectComponent,\n FabricSelectOptionsComponent], imports: [CommonModule], exports: [FabricSelectComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSelectModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricSelectComponent,\n FabricSelectOptionsComponent\n ],\n exports: [\n FabricSelectComponent\n ]\n }]\n }] });\n\nclass FabricSliderComponent {\n toggled = false;\n changed = new EventEmitter();\n toggle(event) {\n event.stopPropagation();\n this.toggled = !this.toggled;\n this.changed.emit(this.toggled);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricSliderComponent, selector: \"gui-slider\", inputs: { toggled: \"toggled\" }, outputs: { changed: \"changed\" }, ngImport: i0, template: \"<div (click)=\\\"toggle($event)\\\"\\n\\t class=\\\"gui-slider\\\">\\n\\t<span [class.is-toggled]=\\\"toggled\\\"\\n\\t\\t class=\\\"gui-slider-indicator\\\"></span>\\n</div>\\n\", styles: [\".gui-slider{background:#cccccc;border-radius:4px;cursor:pointer;display:block;height:12px;position:relative;width:32px}.gui-slider .gui-slider-indicator{background:#2185d0;border-radius:50%;box-sizing:border-box;height:16px;overflow:hidden;position:absolute;top:-2px;-ms-transform:translateX(-5.3333333333px);transform:translate(-5.3333333333px);transition:all .2s ease-in-out;width:16px}.gui-slider .gui-slider-indicator.is-toggled{-ms-transform:translateX(calc(100% + 16px / 3));transform:translate(calc(100% + 16px / 3))}\\n\", \".gui-dark .gui-slider{background:#424242}.gui-dark .gui-slider .gui-slider-indicator{background:#ce93d8}\\n\", \".gui-material .gui-slider .gui-slider-indicator{background:#6200ee}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSliderComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-slider', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div (click)=\\\"toggle($event)\\\"\\n\\t class=\\\"gui-slider\\\">\\n\\t<span [class.is-toggled]=\\\"toggled\\\"\\n\\t\\t class=\\\"gui-slider-indicator\\\"></span>\\n</div>\\n\", styles: [\".gui-slider{background:#cccccc;border-radius:4px;cursor:pointer;display:block;height:12px;position:relative;width:32px}.gui-slider .gui-slider-indicator{background:#2185d0;border-radius:50%;box-sizing:border-box;height:16px;overflow:hidden;position:absolute;top:-2px;-ms-transform:translateX(-5.3333333333px);transform:translate(-5.3333333333px);transition:all .2s ease-in-out;width:16px}.gui-slider .gui-slider-indicator.is-toggled{-ms-transform:translateX(calc(100% + 16px / 3));transform:translate(calc(100% + 16px / 3))}\\n\", \".gui-dark .gui-slider{background:#424242}.gui-dark .gui-slider .gui-slider-indicator{background:#ce93d8}\\n\", \".gui-material .gui-slider .gui-slider-indicator{background:#6200ee}\\n\"] }]\n }], propDecorators: { toggled: [{\n type: Input\n }], changed: [{\n type: Output\n }] } });\n\nclass FabricSliderModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSliderModule, declarations: [FabricSliderComponent], imports: [CommonModule], exports: [FabricSliderComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSliderModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSliderModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricSliderComponent\n ],\n exports: [\n FabricSliderComponent\n ]\n }]\n }] });\n\nclass FabricSpinnerComponent extends AbstractSpinner {\n color = '';\n constructor(elementRef, renderer) {\n super(elementRef, renderer);\n }\n ngOnInit() {\n super.ngOnInit();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSpinnerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricSpinnerComponent, selector: \"gui-spinner\", inputs: { color: \"color\" }, host: { properties: { \"class.gui-spinner\": \"true\" } }, usesInheritance: true, ngImport: i0, template: \"<div\\n\\t[style.height.px]=\\\"circleSize\\\"\\n\\t[style.width.px]=\\\"circleSize\\\"\\n\\tclass=\\\"gui-spinner\\\">\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-outer\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-inner\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n</div>\\n\", styles: [\"@keyframes gui-spin{0%{transform:rotate(-90deg)}to{transform:rotate(270deg)}}@keyframes gui-spin-reverse{0%{transform:rotate(-90deg) scale(.8)}to{transform:rotate(270deg) scale(.8)}}.gui-spinner{display:inline-block;margin:4px;position:relative;-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.gui-spinner circle{fill:transparent;stroke:#999}.gui-spinner svg{position:absolute}.gui-spinner .circle-inner{animation:gui-spin-reverse 2s infinite linear forwards reverse}.gui-spinner .circle-outer{animation:gui-spin 2s infinite linear forwards}.gui-primary .gui-spinner.gui-spinner circle{stroke:#2185d0}.gui-secondary .gui-spinner.gui-spinner circle{stroke:#3cb371}\\n\", \".gui-material .gui-spinner circle{stroke:#3949ab}.gui-material .gui-primary .gui-spinner circle{stroke:#6200ee}.gui-material .gui-secondary .gui-spinner circle{stroke:#0097a7}\\n\", \".gui-dark .gui-spinner circle{stroke:#424242}.gui-dark .gui-primary .gui-spinner circle{stroke:#ce93d8}.gui-dark .gui-secondary .gui-spinner circle{stroke:#80cbc4}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSpinnerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-spinner', host: {\n '[class.gui-spinner]': 'true'\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div\\n\\t[style.height.px]=\\\"circleSize\\\"\\n\\t[style.width.px]=\\\"circleSize\\\"\\n\\tclass=\\\"gui-spinner\\\">\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-outer\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n\\t<svg\\n\\t\\t[style.height.px]=\\\"circleSize\\\"\\n\\t\\t[style.width.px]=\\\"circleSize\\\"\\n\\t\\tclass=\\\"circle-inner\\\">\\n\\t\\t<circle\\n\\t\\t\\t[attr.r]=\\\"r\\\"\\n\\t\\t\\t[style.stroke-dasharray]=\\\"croppedCircle\\\"\\n\\t\\t\\t[style.stroke-dashoffset]=\\\"circumference\\\"\\n\\t\\t\\t[style.stroke-width]=\\\"width\\\"\\n\\t\\t\\t[style.stroke]=\\\"color\\\"\\n\\t\\t\\tcx=\\\"50%\\\"\\n\\t\\t\\tcy=\\\"50%\\\">\\n\\t\\t</circle>\\n\\t</svg>\\n</div>\\n\", styles: [\"@keyframes gui-spin{0%{transform:rotate(-90deg)}to{transform:rotate(270deg)}}@keyframes gui-spin-reverse{0%{transform:rotate(-90deg) scale(.8)}to{transform:rotate(270deg) scale(.8)}}.gui-spinner{display:inline-block;margin:4px;position:relative;-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.gui-spinner circle{fill:transparent;stroke:#999}.gui-spinner svg{position:absolute}.gui-spinner .circle-inner{animation:gui-spin-reverse 2s infinite linear forwards reverse}.gui-spinner .circle-outer{animation:gui-spin 2s infinite linear forwards}.gui-primary .gui-spinner.gui-spinner circle{stroke:#2185d0}.gui-secondary .gui-spinner.gui-spinner circle{stroke:#3cb371}\\n\", \".gui-material .gui-spinner circle{stroke:#3949ab}.gui-material .gui-primary .gui-spinner circle{stroke:#6200ee}.gui-material .gui-secondary .gui-spinner circle{stroke:#0097a7}\\n\", \".gui-dark .gui-spinner circle{stroke:#424242}.gui-dark .gui-primary .gui-spinner circle{stroke:#ce93d8}.gui-dark .gui-secondary .gui-spinner circle{stroke:#80cbc4}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { color: [{\n type: Input\n }] } });\n\nclass FabricSpinnerModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSpinnerModule, declarations: [FabricSpinnerComponent], imports: [CommonModule], exports: [FabricSpinnerComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSpinnerModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricSpinnerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricSpinnerComponent\n ],\n exports: [\n FabricSpinnerComponent\n ]\n }]\n }] });\n\nclass ToggleButtonGroupService {\n toggleButtonId$ = new Subject();\n ngOnDestroy() {\n // this.toggleButtonId$.next();\n this.toggleButtonId$.complete();\n }\n observeToggledButton() {\n return this.toggleButtonId$.asObservable();\n }\n toggleButton(id) {\n this.toggleButtonId$.next(id);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: ToggleButtonGroupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: ToggleButtonGroupService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: ToggleButtonGroupService, decorators: [{\n type: Injectable\n }] });\n\nclass FabricToggleButtonComponent extends Indicator {\n toggleButtonGroupService;\n checked = false;\n disabled = false;\n changed = new EventEmitter();\n buttonChecked = false;\n buttonId = Math.floor(Math.random() * 1000000);\n constructor(elementRef, renderer, toggleButtonGroupService) {\n super(elementRef, renderer);\n this.toggleButtonGroupService = toggleButtonGroupService;\n this.generateButtonId();\n }\n ngOnChanges(changes) {\n if (changes['checked']) {\n this.setButtonChecked(this.checked);\n }\n if (changes['disabled']) {\n this.toggleDisabledCssClass();\n }\n }\n ngOnInit() {\n this.observeToggleButtonGroup();\n }\n tryToToggle(e) {\n if (e.target.disabled) {\n e.stopPropagation();\n }\n else {\n this.toggle();\n }\n }\n toggle() {\n this.toggleButtonChecked();\n this.changed.emit(this.buttonChecked);\n }\n toggleButtonChecked() {\n this.setButtonChecked(!this.buttonChecked);\n }\n setButtonChecked(checked) {\n this.buttonChecked = checked;\n if (this.toggleButtonGroupService !== null) {\n this.toggleButtonGroupService.toggleButton(this.buttonId);\n }\n if (this.buttonChecked) {\n this.addClass('gui-checked');\n }\n else {\n this.removeClass('gui-checked');\n }\n }\n observeToggleButtonGroup() {\n if (this.toggleButtonGroupService !== null) {\n this.toggleButtonGroupService.observeToggledButton().subscribe(id => {\n if (id !== this.buttonId) {\n this.buttonChecked = !this.buttonChecked;\n this.removeClass('gui-checked');\n }\n else {\n this.buttonChecked = true;\n }\n this.changed.emit(this.buttonChecked);\n });\n }\n }\n generateButtonId() {\n return this.buttonId;\n }\n toggleDisabledCssClass() {\n if (this.disabled) {\n this.addClass('gui-disabled');\n }\n else {\n this.removeClass('gui-disabled');\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ToggleButtonGroupService, optional: true }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricToggleButtonComponent, selector: \"gui-button-toggle\", inputs: { checked: \"checked\", disabled: \"disabled\" }, outputs: { changed: \"changed\" }, host: { properties: { \"class.gui-button-toggle\": \"true\" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<button (click)=\\\"tryToToggle($event)\\\"\\n\\t\\t[disabled]=\\\"disabled\\\"\\n\\t\\t[outline]=\\\"outline\\\"\\n\\t\\t[primary]=\\\"primary\\\"\\n\\t\\t[secondary]=\\\"secondary\\\"\\n\\t\\tgui-button>\\n\\t<ng-content></ng-content>\\n</button>\\n\", styles: [\".gui-checked .gui-button{background:#e6e6e6;box-shadow:inset 0 10px 0 -5px #999;color:#333}.gui-checked .gui-button:hover{background:#cccccc}.gui-checked .gui-button:active{background:#999}.gui-checked .gui-button.gui-outline{background:transparent;box-shadow:0 0 0 2px #d6d6d6}.gui-checked .gui-button.gui-outline.gui-primary{background:transparent;box-shadow:0 0 0 2px #439de1;color:#2185d0}.gui-checked .gui-button.gui-outline.gui-primary:hover{color:#fff}.gui-checked .gui-button.gui-outline.gui-secondary{background:transparent;box-shadow:0 0 0 2px #5ac88b;color:#3cb371}.gui-checked .gui-button.gui-outline.gui-secondary:hover{color:#fff}.gui-checked .gui-button.gui-primary{background:#2185d0;box-shadow:inset 0 10px 0 -5px #175b8e;color:#fff}.gui-checked .gui-button.gui-secondary{background:#3cb371;box-shadow:inset 0 10px 0 -5px #2b8152;color:#fff}.gui-disabled{pointer-events:none}\\n\", \".gui-material .gui-button{background:#3949ab;color:#fff}.gui-material .gui-checked .gui-button{background:#3949ab;box-shadow:inset 0 10px 0 -5px #7885d2;color:#fff}.gui-material .gui-checked .gui-button:hover{background:#5262c5}.gui-material .gui-checked .gui-button:active{background:#4051bf}.gui-material .gui-checked .gui-button.gui-outline{background:#c5cae9;box-shadow:0 0 0 1px #5262c5;color:#3949ab}.gui-material .gui-checked .gui-button.gui-outline.gui-primary{background:#d1c4e9;box-shadow:0 0 0 1px #6200ee;color:#6200ee}.gui-material .gui-checked .gui-button.gui-outline.gui-secondary{background:#b2ebf2;box-shadow:0 0 0 1px #0097a7;color:#0097a7}.gui-material .gui-checked .gui-button.gui-primary{background:#6200ee;box-shadow:inset 0 10px 0 -5px #d1c4e9;color:#fff}.gui-material .gui-checked .gui-button.gui-secondary{background:#0097a7;box-shadow:inset 0 10px 0 -5px #b2ebf2;color:#fff}\\n\", \".gui-dark .gui-button{background:#424242;color:#bdbdbd}.gui-dark .gui-checked .gui-button{color:#bdbdbd}.gui-dark .gui-checked .gui-button:hover{background:#616161}.gui-dark .gui-checked .gui-button:active{background:#212121}.gui-dark .gui-checked .gui-button.gui-outline{background:#2e2e2e;box-shadow:0 0 0 1px #616161;color:#bdbdbd}.gui-dark .gui-checked .gui-button.gui-outline.gui-primary{background:#b55bc4;box-shadow:0 0 0 1px #ce93d8;color:#212121}.gui-dark .gui-checked .gui-button.gui-outline.gui-secondary{background:#26a69a;box-shadow:0 0 0 1px #80cbc4;color:#212121}.gui-dark .gui-checked .gui-button.gui-primary{background:#ce93d8;box-shadow:inset 0 10px 0 -5px #b55bc4;color:#212121}.gui-dark .gui-checked .gui-button.gui-secondary{background:#80cbc4;box-shadow:inset 0 10px 0 -5px #26a69a;color:#212121}\\n\"], dependencies: [{ kind: \"component\", type: FabricButtonComponent, selector: \"button[gui-button], a[gui-button]\", inputs: [\"link\", \"text\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-button-toggle', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-button-toggle]': 'true'\n }, template: \"<button (click)=\\\"tryToToggle($event)\\\"\\n\\t\\t[disabled]=\\\"disabled\\\"\\n\\t\\t[outline]=\\\"outline\\\"\\n\\t\\t[primary]=\\\"primary\\\"\\n\\t\\t[secondary]=\\\"secondary\\\"\\n\\t\\tgui-button>\\n\\t<ng-content></ng-content>\\n</button>\\n\", styles: [\".gui-checked .gui-button{background:#e6e6e6;box-shadow:inset 0 10px 0 -5px #999;color:#333}.gui-checked .gui-button:hover{background:#cccccc}.gui-checked .gui-button:active{background:#999}.gui-checked .gui-button.gui-outline{background:transparent;box-shadow:0 0 0 2px #d6d6d6}.gui-checked .gui-button.gui-outline.gui-primary{background:transparent;box-shadow:0 0 0 2px #439de1;color:#2185d0}.gui-checked .gui-button.gui-outline.gui-primary:hover{color:#fff}.gui-checked .gui-button.gui-outline.gui-secondary{background:transparent;box-shadow:0 0 0 2px #5ac88b;color:#3cb371}.gui-checked .gui-button.gui-outline.gui-secondary:hover{color:#fff}.gui-checked .gui-button.gui-primary{background:#2185d0;box-shadow:inset 0 10px 0 -5px #175b8e;color:#fff}.gui-checked .gui-button.gui-secondary{background:#3cb371;box-shadow:inset 0 10px 0 -5px #2b8152;color:#fff}.gui-disabled{pointer-events:none}\\n\", \".gui-material .gui-button{background:#3949ab;color:#fff}.gui-material .gui-checked .gui-button{background:#3949ab;box-shadow:inset 0 10px 0 -5px #7885d2;color:#fff}.gui-material .gui-checked .gui-button:hover{background:#5262c5}.gui-material .gui-checked .gui-button:active{background:#4051bf}.gui-material .gui-checked .gui-button.gui-outline{background:#c5cae9;box-shadow:0 0 0 1px #5262c5;color:#3949ab}.gui-material .gui-checked .gui-button.gui-outline.gui-primary{background:#d1c4e9;box-shadow:0 0 0 1px #6200ee;color:#6200ee}.gui-material .gui-checked .gui-button.gui-outline.gui-secondary{background:#b2ebf2;box-shadow:0 0 0 1px #0097a7;color:#0097a7}.gui-material .gui-checked .gui-button.gui-primary{background:#6200ee;box-shadow:inset 0 10px 0 -5px #d1c4e9;color:#fff}.gui-material .gui-checked .gui-button.gui-secondary{background:#0097a7;box-shadow:inset 0 10px 0 -5px #b2ebf2;color:#fff}\\n\", \".gui-dark .gui-button{background:#424242;color:#bdbdbd}.gui-dark .gui-checked .gui-button{color:#bdbdbd}.gui-dark .gui-checked .gui-button:hover{background:#616161}.gui-dark .gui-checked .gui-button:active{background:#212121}.gui-dark .gui-checked .gui-button.gui-outline{background:#2e2e2e;box-shadow:0 0 0 1px #616161;color:#bdbdbd}.gui-dark .gui-checked .gui-button.gui-outline.gui-primary{background:#b55bc4;box-shadow:0 0 0 1px #ce93d8;color:#212121}.gui-dark .gui-checked .gui-button.gui-outline.gui-secondary{background:#26a69a;box-shadow:0 0 0 1px #80cbc4;color:#212121}.gui-dark .gui-checked .gui-button.gui-primary{background:#ce93d8;box-shadow:inset 0 10px 0 -5px #b55bc4;color:#212121}.gui-dark .gui-checked .gui-button.gui-secondary{background:#80cbc4;box-shadow:inset 0 10px 0 -5px #26a69a;color:#212121}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ToggleButtonGroupService, decorators: [{\n type: Optional\n }] }], propDecorators: { checked: [{\n type: Input\n }], disabled: [{\n type: Input\n }], changed: [{\n type: Output\n }] } });\n\nclass FabricToggleButtonModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonModule, declarations: [FabricToggleButtonComponent], imports: [CommonModule,\n FabricButtonModule], exports: [FabricToggleButtonComponent,\n FabricButtonModule] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonModule, imports: [CommonModule,\n FabricButtonModule, FabricButtonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FabricButtonModule\n ],\n declarations: [\n FabricToggleButtonComponent\n ],\n exports: [\n FabricToggleButtonComponent,\n FabricButtonModule\n ]\n }]\n }] });\n\nclass FabricToggleButtonGroupComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricToggleButtonGroupComponent, selector: \"gui-toggle-button-group\", host: { properties: { \"class.gui-toggle-button-group\": \"true\" } }, providers: [ToggleButtonGroupService], ngImport: i0, template: \"<ng-content></ng-content>\\n\", styles: [\".gui-toggle-button-group{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-toggle-button-group .gui-button-toggle .gui-button{border-radius:0}.gui-toggle-button-group .gui-button-toggle:not(:last-child) .gui-button{border-right:none;margin:0}.gui-toggle-button-group .gui-button-toggle:last-child .gui-button{border-radius:0 4px 4px 0}.gui-toggle-button-group .gui-button-toggle:first-child .gui-button{border-radius:4px 0 0 4px}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonGroupComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-toggle-button-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n '[class.gui-toggle-button-group]': 'true'\n }, providers: [ToggleButtonGroupService], template: \"<ng-content></ng-content>\\n\", styles: [\".gui-toggle-button-group{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.gui-toggle-button-group .gui-button-toggle .gui-button{border-radius:0}.gui-toggle-button-group .gui-button-toggle:not(:last-child) .gui-button{border-right:none;margin:0}.gui-toggle-button-group .gui-button-toggle:last-child .gui-button{border-radius:0 4px 4px 0}.gui-toggle-button-group .gui-button-toggle:first-child .gui-button{border-radius:4px 0 0 4px}\\n\"] }]\n }] });\n\nclass FabricToggleButtonGroupModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonGroupModule, declarations: [FabricToggleButtonGroupComponent], imports: [CommonModule], exports: [FabricToggleButtonGroupComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonGroupModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricToggleButtonGroupModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n FabricToggleButtonGroupComponent\n ],\n exports: [\n FabricToggleButtonGroupComponent\n ]\n }]\n }] });\n\nclass StarIconComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: StarIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: StarIconComponent, selector: \"gui-star-icon\", host: { properties: { \"class.gui-star-icon\": \"true\" } }, ngImport: i0, template: `\n\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"34.542\" height=\"32.852\" viewBox=\"0 0 34.542 32.852\">\n\t\t\t<path data-name=\"Path 572\"\n\t\t\t\t d=\"M-121.168-469.432l5.337,10.814,11.934,1.734-8.636,8.418,2.039,11.886-10.674-5.612-10.674,5.612,2.039-11.886-8.636-8.418,11.934-1.734Z\"\n\t\t\t\t transform=\"translate(138.44 469.432)\" fill=\"#ffe623\" fill-rule=\"evenodd\"/>\n\t\t</svg>\n\t`, isInline: true, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: StarIconComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'gui-star-icon',\n template: `\n\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"34.542\" height=\"32.852\" viewBox=\"0 0 34.542 32.852\">\n\t\t\t<path data-name=\"Path 572\"\n\t\t\t\t d=\"M-121.168-469.432l5.337,10.814,11.934,1.734-8.636,8.418,2.039,11.886-10.674-5.612-10.674,5.612,2.039-11.886-8.636-8.418,11.934-1.734Z\"\n\t\t\t\t transform=\"translate(138.44 469.432)\" fill=\"#ffe623\" fill-rule=\"evenodd\"/>\n\t\t</svg>\n\t`,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.gui-star-icon]': 'true'\n }\n }]\n }] });\n\nclass FabricRatingComponent {\n starsLength = 5;\n rating = 3;\n onRatingChange = new EventEmitter();\n stars = [];\n previewRating = 0;\n ngOnChanges(changes) {\n if (changes['starsLength']) {\n this.createStarsArray(this.starsLength);\n }\n }\n ngOnInit() {\n this.createStarsArray(this.starsLength);\n }\n isRating(starNumber, rating) {\n return !(rating >= starNumber);\n }\n changeRating(star) {\n this.rating = star;\n this.onRatingChange.emit(star);\n }\n changePreviewRating(star) {\n this.previewRating = star + 1;\n }\n createStarsArray(length) {\n if (length) {\n for (let i = 1; i <= length; i++) {\n this.stars.push(i);\n }\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRatingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: FabricRatingComponent, selector: \"gui-rating\", inputs: { starsLength: \"starsLength\", rating: \"rating\" }, outputs: { onRatingChange: \"onRatingChange\" }, host: { properties: { \"class.gui-rating\": \"true\" } }, usesOnChanges: true, ngImport: i0, template: \"<div class=\\\"gui-rating-container\\\">\\n\\t<gui-star-icon (click)=\\\"changeRating(star)\\\"\\n\\t\\t\\t\\t (mouseenter)=\\\"changePreviewRating(star)\\\"\\n\\t\\t\\t\\t (mouseleave)=\\\"changePreviewRating(0)\\\"\\n\\t\\t\\t\\t *ngFor=\\\"let star of stars\\\"\\n\\t\\t\\t\\t [class.star-icon-gray]=\\\"isRating(star, rating)\\\"\\n\\t\\t\\t\\t [class.star-icon-hover]=\\\"isRating(previewRating, star)\\\">\\n\\t</gui-star-icon>\\n</div>\\n\", styles: [\".gui-rating .gui-star-icon{cursor:pointer;padding-right:8px}.gui-rating .gui-star-icon svg{height:24px;width:24px}.gui-rating .gui-star-icon svg path{transition:fill .3s ease-in-out}.gui-rating .gui-rating-container{display:-ms-flexbox;display:flex}.gui-rating .gui-rating-container .star-icon-gray svg path{fill:#dedede}.gui-rating .gui-rating-container .star-icon-hover svg path{fill:#fc0}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"component\", type: StarIconComponent, selector: \"gui-star-icon\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRatingComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gui-rating', host: {\n '[class.gui-rating]': 'true'\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"gui-rating-container\\\">\\n\\t<gui-star-icon (click)=\\\"changeRating(star)\\\"\\n\\t\\t\\t\\t (mouseenter)=\\\"changePreviewRating(star)\\\"\\n\\t\\t\\t\\t (mouseleave)=\\\"changePreviewRating(0)\\\"\\n\\t\\t\\t\\t *ngFor=\\\"let star of stars\\\"\\n\\t\\t\\t\\t [class.star-icon-gray]=\\\"isRating(star, rating)\\\"\\n\\t\\t\\t\\t [class.star-icon-hover]=\\\"isRating(previewRating, star)\\\">\\n\\t</gui-star-icon>\\n</div>\\n\", styles: [\".gui-rating .gui-star-icon{cursor:pointer;padding-right:8px}.gui-rating .gui-star-icon svg{height:24px;width:24px}.gui-rating .gui-star-icon svg path{transition:fill .3s ease-in-out}.gui-rating .gui-rating-container{display:-ms-flexbox;display:flex}.gui-rating .gui-rating-container .star-icon-gray svg path{fill:#dedede}.gui-rating .gui-rating-container .star-icon-hover svg path{fill:#fc0}\\n\"] }]\n }], propDecorators: { starsLength: [{\n type: Input\n }], rating: [{\n type: Input\n }], onRatingChange: [{\n type: Output\n }] } });\n\nclass StarIconModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: StarIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: StarIconModule, declarations: [StarIconComponent], imports: [CommonModule], exports: [StarIconComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: StarIconModule, imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: StarIconModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n StarIconComponent\n ],\n exports: [\n StarIconComponent\n ]\n }]\n }] });\n\nclass FabricRatingModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRatingModule, declarations: [FabricRatingComponent], imports: [CommonModule,\n StarIconModule], exports: [FabricRatingComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRatingModule, imports: [CommonModule,\n StarIconModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricRatingModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n StarIconModule\n ],\n declarations: [\n FabricRatingComponent\n ],\n exports: [\n FabricRatingComponent\n ]\n }]\n }] });\n\nclass FabricModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModule, imports: [CommonModule,\n FabricBadgeModule,\n FabricButtonModule,\n FabricButtonGroupModule,\n FabricCardModule,\n FabricCheckboxModule,\n FabricChipModule,\n FabricDatePickerModule,\n FabricDrawerModule,\n FabricDropdownModule,\n FabricDialogModule,\n FabricInlineDialogModule,\n FabricRadioButtonModule,\n FabricRadioGroupModule,\n FabricRatingModule,\n FabricNotificationModule,\n FabricMessageModule,\n FabricTabModule,\n FabricTooltipModule,\n FabricProgressBarModule,\n FabricProgressSpinnerModule,\n FabricSelectModule,\n FabricSliderModule,\n FabricSpinnerModule,\n FabricToggleButtonModule,\n FabricToggleButtonGroupModule,\n FabricInputModule], exports: [FabricBadgeModule,\n FabricButtonModule,\n FabricButtonGroupModule,\n FabricCardModule,\n FabricCheckboxModule,\n FabricChipModule,\n FabricDatePickerModule,\n FabricDrawerModule,\n FabricDropdownModule,\n FabricDialogModule,\n FabricInlineDialogModule,\n FabricRadioButtonModule,\n FabricRadioGroupModule,\n FabricRatingModule,\n FabricNotificationModule,\n FabricMessageModule,\n FabricTabModule,\n FabricTooltipModule,\n FabricProgressBarModule,\n FabricProgressSpinnerModule,\n FabricSelectModule,\n FabricSliderModule,\n FabricSpinnerModule,\n FabricToggleButtonModule,\n FabricToggleButtonGroupModule,\n FabricInputModule] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModule, providers: [\n FabricModalThemeService\n ], imports: [CommonModule,\n FabricBadgeModule,\n FabricButtonModule,\n FabricButtonGroupModule,\n FabricCardModule,\n FabricCheckboxModule,\n FabricChipModule,\n FabricDatePickerModule,\n FabricDrawerModule,\n FabricDropdownModule,\n FabricDialogModule,\n FabricInlineDialogModule,\n FabricRadioButtonModule,\n FabricRadioGroupModule,\n FabricRatingModule,\n FabricNotificationModule,\n FabricMessageModule,\n FabricTabModule,\n FabricTooltipModule,\n FabricProgressBarModule,\n FabricProgressSpinnerModule,\n FabricSelectModule,\n FabricSliderModule,\n FabricSpinnerModule,\n FabricToggleButtonModule,\n FabricToggleButtonGroupModule,\n FabricInputModule, FabricBadgeModule,\n FabricButtonModule,\n FabricButtonGroupModule,\n FabricCardModule,\n FabricCheckboxModule,\n FabricChipModule,\n FabricDatePickerModule,\n FabricDrawerModule,\n FabricDropdownModule,\n FabricDialogModule,\n FabricInlineDialogModule,\n FabricRadioButtonModule,\n FabricRadioGroupModule,\n FabricRatingModule,\n FabricNotificationModule,\n FabricMessageModule,\n FabricTabModule,\n FabricTooltipModule,\n FabricProgressBarModule,\n FabricProgressSpinnerModule,\n FabricSelectModule,\n FabricSliderModule,\n FabricSpinnerModule,\n FabricToggleButtonModule,\n FabricToggleButtonGroupModule,\n FabricInputModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: FabricModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FabricBadgeModule,\n FabricButtonModule,\n FabricButtonGroupModule,\n FabricCardModule,\n FabricCheckboxModule,\n FabricChipModule,\n FabricDatePickerModule,\n FabricDrawerModule,\n FabricDropdownModule,\n FabricDialogModule,\n FabricInlineDialogModule,\n FabricRadioButtonModule,\n FabricRadioGroupModule,\n FabricRatingModule,\n FabricNotificationModule,\n FabricMessageModule,\n FabricTabModule,\n FabricTooltipModule,\n FabricProgressBarModule,\n FabricProgressSpinnerModule,\n FabricSelectModule,\n FabricSliderModule,\n FabricSpinnerModule,\n FabricToggleButtonModule,\n FabricToggleButtonGroupModule,\n FabricInputModule\n ],\n exports: [\n FabricBadgeModule,\n FabricButtonModule,\n FabricButtonGroupModule,\n FabricCardModule,\n FabricCheckboxModule,\n FabricChipModule,\n FabricDatePickerModule,\n FabricDrawerModule,\n FabricDropdownModule,\n FabricDialogModule,\n FabricInlineDialogModule,\n FabricRadioButtonModule,\n FabricRadioGroupModule,\n FabricRatingModule,\n FabricNotificationModule,\n FabricMessageModule,\n FabricTabModule,\n FabricTooltipModule,\n FabricProgressBarModule,\n FabricProgressSpinnerModule,\n FabricSelectModule,\n FabricSliderModule,\n FabricSpinnerModule,\n FabricToggleButtonModule,\n FabricToggleButtonGroupModule,\n FabricInputModule\n ],\n providers: [\n FabricModalThemeService\n ]\n }]\n }] });\n\nclass FabricNestedDialogComponent {\n constructor() {\n }\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FabricBadgeComponent, FabricBadgeModule, FabricButtonComponent, FabricButtonGroupComponent, FabricButtonGroupModule, FabricButtonModule, FabricCardComponent, FabricCardModule, FabricCheckboxComponent, FabricCheckboxModule, FabricChipComponent, FabricChipModule, FabricDatePickerCalendarComponent, FabricDatePickerComponent, FabricDatePickerModule, FabricDialogModule, FabricDialogService, FabricDialogThemeService, FabricDrawerModule, FabricDrawerService, FabricDropdownComponent, FabricDropdownItemComponent, FabricDropdownModule, FabricInlineDialogModule, FabricInlineDialogService, FabricInputComponent, FabricInputModule, FabricMessageModule, FabricMessageService, FabricModalThemeService, FabricModule, FabricNestedDialogComponent, FabricNotificationModule, FabricNotificationPosition, FabricNotificationService, FabricPlacement, FabricProgressBarComponent, FabricProgressBarModule, FabricProgressSpinnerComponent, FabricProgressSpinnerModule, FabricRadioButtonComponent, FabricRadioButtonModule, FabricRadioGroupComponent, FabricRadioGroupModule, FabricRatingComponent, FabricRatingModule, FabricSelectComponent, FabricSelectModule, FabricSliderComponent, FabricSliderModule, FabricSpinnerComponent, FabricSpinnerModule, FabricTabComponent, FabricTabItemComponent, FabricTabModule, FabricToggleButtonComponent, FabricToggleButtonGroupComponent, FabricToggleButtonGroupModule, FabricToggleButtonModule, FabricTooltipComponent, FabricTooltipDirective, FabricTooltipModule, Placement, SpinnerMode, Theme };\n"],"mappings":"AAAA,OAAO,KAAKA,EAAE,MAAM,eAAe;AACnC,SAASC,SAAS,EAAEC,KAAK,EAAEC,SAAS,EAAEC,uBAAuB,EAAEC,iBAAiB,EAAEC,QAAQ,EAAEC,YAAY,EAAEC,UAAU,EAAEC,SAAS,EAAEC,MAAM,EAAEC,UAAU,EAAEC,cAAc,EAAEC,WAAW,EAAEC,MAAM,EAAEC,UAAU,EAAEC,gBAAgB,EAAEC,QAAQ,EAAEC,YAAY,EAAEC,YAAY,EAAEC,QAAQ,QAAQ,eAAe;AAC7R,OAAO,KAAKC,EAAE,MAAM,iBAAiB;AACrC,SAASC,YAAY,EAAEC,iBAAiB,EAAEC,QAAQ,QAAQ,iBAAiB;AAC3E,OAAO,KAAKC,IAAI,MAAM,gBAAgB;AACtC,SAASC,mBAAmB,QAAQ,gBAAgB;AACpD,SAASC,SAAS,EAAEC,oBAAoB,EAAEC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,gBAAgB;AACpF,SAASC,OAAO,EAAEC,eAAe,EAAEC,KAAK,EAAEC,SAAS,EAAEC,aAAa,QAAQ,MAAM;AAAC,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA,GAAAC,EAAA;EAAA,gBAAAA;AAAA;A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