PageSourceSearch

https://unvoid.com/main.js

js unvoid.com collected 2026-10-08 16:56:29 UTC 109,079 bytes, 2,176 lines download raw bytes

1"use strict";
2(self["webpackChunkunvoid_www"] = self["webpackChunkunvoid_www"] || []).push([["main"],{
3
4/***/ 83589:
5/*!****************************************************!*\
6  !*** ./apps/unvoid-www/src/app/animations/fade.ts ***!
7  \****************************************************/
8/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
10__webpack_require__.r(__webpack_exports__);
11/* harmony export */ __webpack_require__.d(__webpack_exports__, {
12/* harmony export */   "generateFadeInAnimation": () => (/* binding */ generateFadeInAnimation),
13/* harmony export */   "generateFadeOutAnimation": () => (/* binding */ generateFadeOutAnimation)
14/* harmony export */ });
15/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/animations */ 24851);
16/* harmony import */ var _constants_animation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/animation */ 77430);
17
18
19// * Fade In Animation
20/** Animates an element `entering` the page, where the element fade in to the page. */
21const generateFadeInAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_constants_animation__WEBPACK_IMPORTED_MODULE_0__.FADED), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
22  ..._constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER,
23  ...optionalStyles
24}))];
25/** Animates an element `entering` the page, where the element fade in to the page. */
26const generateFadeOutAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
27  ..._constants_animation__WEBPACK_IMPORTED_MODULE_0__.FADED,
28  ...optionalStyles
29}))];
30
31/***/ }),
32
33/***/ 59649:
34/*!*****************************************************!*\
35  !*** ./apps/unvoid-www/src/app/animations/route.ts ***!
36  \*****************************************************/
37/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
38
39__webpack_require__.r(__webpack_exports__);
40/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41/* harmony export */   "ROUTE_ANIMATIONS": () => (/* binding */ ROUTE_ANIMATIONS)
42/* harmony export */ });
43/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/animations */ 24851);
44/* harmony import */ var _unvoid_app_helpers_animation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @unvoid/app/helpers/animation */ 81138);
45
46
47/**
48 * An animation used when a `Router` changes occurs.
49 */
50const ROUTE_ANIMATIONS = (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.trigger)('routeAnimations', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.transition)('Home => Chat', (0,_unvoid_app_helpers_animation__WEBPACK_IMPORTED_MODULE_0__.generateSlidePageTransition)('right')), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.transition)('Chat => Home', (0,_unvoid_app_helpers_animation__WEBPACK_IMPORTED_MODULE_0__.generateSlidePageTransition)('left')), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.transition)('Chat => Business', (0,_unvoid_app_helpers_animation__WEBPACK_IMPORTED_MODULE_0__.generateSlidePageTransition)('bottom'))]);
51
52/***/ }),
53
54/***/ 80466:
55/*!******************************************************!*\
56  !*** ./apps/unvoid-www/src/app/animations/slides.ts ***!
57  \******************************************************/
58/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
59
60__webpack_require__.r(__webpack_exports__);
61/* harmony export */ __webpack_require__.d(__webpack_exports__, {
62/* harmony export */   "generateSlideFromBottomAnimation": () => (/* binding */ generateSlideFromBottomAnimation),
63/* harmony export */   "generateSlideFromLeftAnimation": () => (/* binding */ generateSlideFromLeftAnimation),
64/* harmony export */   "generateSlideFromRightAnimation": () => (/* binding */ generateSlideFromRightAnimation),
65/* harmony export */   "generateSlideFromTopAnimation": () => (/* binding */ generateSlideFromTopAnimation),
66/* harmony export */   "generateSlideToBottomAnimation": () => (/* binding */ generateSlideToBottomAnimation),
67/* harmony export */   "generateSlideToLeftAnimation": () => (/* binding */ generateSlideToLeftAnimation),
68/* harmony export */   "generateSlideToRightAnimation": () => (/* binding */ generateSlideToRightAnimation),
69/* harmony export */   "generateSlideToTopAnimation": () => (/* binding */ generateSlideToTopAnimation)
70/* harmony export */ });
71/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/animations */ 24851);
72/* harmony import */ var _unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/animation */ 77430);
73
74
75
76//* Left Animation
77/** Animates an element `leaving` the page, where the element slide out to the left. */
78const generateSlideToLeftAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
79  ..._unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_LEFT,
80  ...optionalStyles
81}
81))];
82/** Animates an element `leaving` the page, where the element slide out to the left. */
83const generateSlideFromLeftAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
84  ..._unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_LEFT,
85  ...optionalStyles
86}), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER))];
87// * Right Animation
88/** Animates an element `entering` the page, where the element 'slide-in' from the right. */
89const generateSlideFromRightAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
90  ..._unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_RIGHT,
91  ...optionalStyles
92}), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER))];
93/** Animates an element `leaving` the page, where the element slide out to the right. */
94const generateSlideToRightAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
95  ..._unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_RIGHT,
96  ...optionalStyles
97}))];
98// * Bottom Animation
99/** Animates an element `entering` in the page, where the element slide in from the bottom. */
100const generateSlideFromBottomAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
101  ..._unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_BOTTOM,
102  ...optionalStyles
103}), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER))];
104/** Animates an element `leaving` in the page, where the element slide out to the bottom. */
105const generateSlideToBottomAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
106  ..._unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_BOTTOM,
107  ...optionalStyles
108}))];
109// * Top animation
110/** Animates an element `leaving` in the page, where the element slide out to the top. */
111const generateSlideToTopAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
112  ..._unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_TOP,
113  ...optionalStyles
114}))];
115/** Animates an element `entering` in the page, where the element slide in from the top. */
116const generateSlideFromTopAnimation = optionalStyles => [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)({
117  ..._unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_TOP,
118  ...optionalStyles
119}), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.animate)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.SLIDE_OUT_TIMING_FUNCTION, (0,_angular_animations__WEBPACK_IMPORTED_MODULE_1__.style)(_unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_0__.PLACE_IN_CENTER))];
120
121/***/ }),
122
123/***/ 17376:
124/*!*******************************************************!*\
125  !*** ./apps/unvoid-www/src/app/app-routing.module.ts ***!
126  \*******************************************************/
127/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
128
129__webpack_require__.r(__webpack_exports__);
130/* harmony export */ __webpack_require__.d(__webpack_exports__, {
131/* harmony export */   "AppRoutingModule": () => (/* binding */ AppRoutingModule)
132/* harmony export */ });
133/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 60124);
134/* harmony import */ var _unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @unvoid/environments/environment */ 51546);
135/* harmony import */ var _guards_business_form__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./guards/business-form */ 89755);
136/* harmony import */ var _guards_chatbot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./guards/chatbot */ 7556);
137/* harmony import */ var _guards_login_login_guard__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./guards/login/login.guard */ 61729);
138/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 22560);
139
140
141
142
143
144
145
146const getTitle = title => `Unvoid - ${title}`;
147/** Routes available on production */
148const MAIN_ROUTES = [{
149  path: '',
150  pathMatch: 'full',
151  title: 'Unvoid',
152  loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-apps_unvoid-www_src_app_components_icon_index_ts-apps_unvoid-www_src_app_constants_we
152-818a87"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_loading-ellipsis_index_ts-node_modules_immutable_d-e39c0c"), __webpack_require__.e("default-libs_core-ui_src_lib_components_index_ts"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_cta-section_index_ts"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_highlight_index_ts-apps_unvoid-www_src_app_compone-d9e702"), __webpack_require__.e("apps_unvoid-www_src_app_routes_angular-routing_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./routes/angular-routing.module */ 68191)).then(routing => routing.AngularRoutingModule),
153  data: {
154    animation: 'Home'
155  }
156}, {
157  path: 'legal',
158  title: getTitle('Legal'),
159  loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-apps_unvoid-www_src_app_components_icon_index_ts-apps_unvoid-www_src_app_constants_we-818a87"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_loading-ellipsis_index_ts-node_modules_immutable_d-e39c0c"), __webpack_require__.e("default-libs_core-ui_src_lib_components_index_ts"), __webpack_require__.e("apps_unvoid-www_src_app_routes_legal-routing_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./routes/legal-routing.module */ 12438)).then(routing => routing.LegalRoutingModule)
160}, {
161  path: 'case-studies',
162  title: getTitle('Case Studies'),
163  loadChildren: () => __webpack_require__.e(/*! import() */ "libs_case-studies_src_index_ts").then(__webpack_require__.bind(__webpack_require__, /*! @case-studies */ 1368)).then(routing => routing.CaseStudiesRoutingModule)
164}];
165/** Routes available on production, alpha and development */
166const ALPHA_ROUTES = [{
167  path: 'login',
168  title: getTitle('Login'),
169  loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-apps_unvoid-www_src_app_components_icon_index_ts-apps_unvoid-www_src_app_constants_we-818a87"), __webpack_require__.e("common"), __webpack_require__.e("apps_unvoid-www_src_app_routes_login-routing_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./routes/login-routing.module */ 91465)).then(routing => routing.LoginRoutingModule),
170  canActivate: [_guards_login_login_guard__WEBPACK_IMPORTED_MODULE_3__.LoginGuard]
171}, {
172  path: 'home',
173  title: 'Unvoid',
174  loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-apps_unvoid-www_src_app_components_icon_index_ts-apps_unvoid-www_src_app_constants_we-818a87"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_loading-ellipsis_index_ts-node_modules_immutable_d-e39c0c"), __webpack_require__.e("default-libs_core-ui_src_lib_components_index_ts"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_highlight_index_ts-apps_unvoid-www_src_app_compone-d9e702"), __webpack_require__.e("common"), __webpack_require__.e("apps_unvoid-www_src_app_routes_home-routing_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./routes/home-routing.module */ 47241)).then(routing => routing.HomeRoutingModule),
175  data: {
176    animation: 'Home'
177  }
178}, {
179  path: 'our-cases',
180  title: getTitle('Case Studies'),
181  loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-apps_unvoid-www_src_app_components_icon_index_ts-apps_unvoid-www_src_app_constants_we-818a87"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_loading-ellipsis_index_ts-node_modules_immutable_d-e39c0c"), __webpack_require__.e("default-libs_core-ui_src_lib_components_index_ts"), __webpack_require__.e("default-node_modules_fp-ts_lib_ReadonlyArray_js"), __webpack_require__.e("common"), __webpack_require__.e("libs_our-cases_src_index_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! @our-cases */ 77251)).then(routing => routing.OurCasesRoutingModule)
182}, {
183  path: 'links',
184  title: getTitle('Links'),
185  loadChildren: () => __webpack_require__.e(/*! import() */ "apps_unvoid-www_src_app_routes_links-routing_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./routes/links-routing.module */ 85057)).then(routing => routing.LinksRoutingModule)
186}, {
187  // TODO(#476): When the issue is done, move this route to MAIN_ROUTES
188  path: 'chat',
189  title: getTitle('Chat'),
190  loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-apps_unvoid-www_src_app_components_loading-ellipsis_index_ts-node_modules_immutable_d-e39c0c"), __webpack_require__.e("apps_unvoid-www_src_app_routes_chatbot-routing_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./routes/chatbot-routing.module */ 31773)).then(routing => routing.ChatbotRoutingModule),
191  canActivate: [_guards_chatbot__WEBPACK_IMPORTED_MODULE_2__.ChatbotGuard],
192  data: {
193    animation: 'Chat'
194  }
195}, {
196  // TODO(#476): When the issue is done, move this route to MAIN_ROUTES
197  path: 'business',
198  title: getTitle('Business'),
199  loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-apps_unvoid-www_src_app_components_icon_index_ts-apps_unvoid-www_src_app_constants_we
199-818a87"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_loading-ellipsis_index_ts-node_modules_immutable_d-e39c0c"), __webpack_require__.e("default-libs_core-ui_src_lib_components_index_ts"), __webpack_require__.e("common"), __webpack_require__.e("apps_unvoid-www_src_app_routes_business-form-routing_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./routes/business-form-routing.module */ 38834)).then(routing => routing.BusinessFormRoutingModule),
200  canActivate: [_guards_business_form__WEBPACK_IMPORTED_MODULE_1__.BusinessFormGuard],
201  data: {
202    animation: 'Business'
203  }
204}];
205const NOT_FOUND_ROUTE = {
206  path: '**',
207  title: getTitle('Not Found'),
208  loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-apps_unvoid-www_src_app_components_icon_index_ts-apps_unvoid-www_src_app_constants_we-818a87"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_loading-ellipsis_index_ts-node_modules_immutable_d-e39c0c"), __webpack_require__.e("default-libs_core-ui_src_lib_components_index_ts"), __webpack_require__.e("default-apps_unvoid-www_src_app_components_highlight_index_ts-apps_unvoid-www_src_app_compone-d9e702"), __webpack_require__.e("apps_unvoid-www_src_app_routes_not-found-routing_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./routes/not-found-routing.module */ 82790)).then(routing => routing.NotFoundRoutingModule)
209};
210const getEnvironmentRules = () => {
211  if (_unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.alpha) {
212    return ALPHA_ROUTES;
213  }
214  return [];
215};
216const routes = () => {
217  return [...MAIN_ROUTES, ...getEnvironmentRules(),
218  // ? Not-Found route should always be the last route
219  NOT_FOUND_ROUTE];
220};
221class AppRoutingModule {}
222AppRoutingModule.ɵfac = function AppRoutingModule_Factory(t) {
223  return new (t || AppRoutingModule)();
224};
225AppRoutingModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
226  type: AppRoutingModule
227});
228AppRoutingModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
229  imports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule.forRoot(routes(), {
230    initialNavigation: 'enabledBlocking',
231    preloadingStrategy: _angular_router__WEBPACK_IMPORTED_MODULE_5__.PreloadAllModules
232  }), _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule]
233});
234(function () {
235  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](AppRoutingModule, {
236    imports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule],
237    exports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule]
238  });
239})();
240
241/***/ }),
242
243/***/ 97056:
244/*!**************************************************!*\
245  !*** ./apps/unvoid-www/src/app/app.component.ts ***!
246  \**************************************************/
247/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
248
249__webpack_require__.r(__webpack_exports__);
250/* harmony export */ __webpack_require__.d(__webpack_exports__, {
251/* harmony export */   "AppComponent": () => (/* binding */ AppComponent)
252/* harmony export */ });
253/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 60124);
254/* harmony import */ var _core_ui_services__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core-ui/services */ 67659);
255/* harmony import */ var _unvoid_app_animations_route__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @unvoid/app/animations/route */ 59649);
256/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash-es */ 55421);
257/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 60116);
258/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 22560);
259/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 94666);
260
261
262
263
264
265
266
267
268
269
270
271class AppComponent {
272  constructor(_viewContainerReference, _modalService, _router, _viewportScroller) {
273    this._viewContainerReference = _viewContainerReference;
274    this._modalService = _modalService;
275    this._router = _router;
276    this._viewportScroller = _viewportScroller;
277  }
278  ngOnInit() {
279    this._modalService.setViewContainerReference(this._viewContainerReference);
280    this._scrollManager();
281  }
282  /**
283   * Replaces the scroll behavior configurations of RouterModule's
284   * `scrollPositionRestoration` and `anchorScrolling`
285   * for a better suited behavior for our app.
286   */
287  _scrollManager() {
288    this._router.events.pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_2__.filter)(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_3__.Scroll)).subscribe(event => {
289      const {
290        anchor,
291        position,
292        routerEvent
293      } = event;
294      this._previousUrl = this._currentUrl;
295      [this._currentUrl] = routerEvent.url.split('?');
296      // This prevents the scroll to top when changing the query params on the same page
297      if (this._previousUrl === this._currentUrl) {
298        return null;
299      }
300      if (!(0,lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"])(anchor)) {
301        // Anchor navigation
302        this._viewportScroller.scrollToAnchor(anchor);
303        return null;
304      }
305      if (!(0,lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"])(position)) {
306        // Backward navigation
307        this._viewportScroller.scrollToPosition(position);
308        return null;
309      }
310      // Forward navigation
311      this._viewportScroller.scrollToPosition([0, 0]);
312      return null;
313    });
314  }
315}
316AppComponent.ɵfac = function AppComponent_Factory(t) {
317  return new (t || AppComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_5__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_core_ui_services__WEBPACK_IMPORTED_MODULE_0__.ModalService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_3__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.ViewportScroller));
318};
319AppComponent.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({
320  type: AppComponent,
321  selectors: [["uv-app-root"]],
322  decls: 3,
323  vars: 1,
324  consts: [["routerOutlet", "outlet"]],
325  template: function AppComponent_Template(rf, ctx) {
326    if (rf & 1) {
327      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div");
328      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "router-outlet", null, 0);
329      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
330    }
331    if (rf & 2) {
332      const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵreference"](2);
333      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("@routeAnimations", _r0 && _r0.activatedRouteData && _r0.activatedRouteData["animation"]);
334    }
335  },
336  dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterOutlet],
337  encapsulation: 2,
338  data: {
339    animation: [_unvoid_app_animations_route__WEBPACK_IMPORTED_MODULE_1__.ROUTE_ANIMATIONS]
340  },
341  changeDetection: 0
342});
343
344/***/ }),
345
346/***/ 33894:
347/*!***********************************************!*\
348  !*** ./apps/unvoid-www/src/app/app.module.ts ***!
349  \***********************************************/
350/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
351
352__webpack_require__.r(__webpack_exports__);
353/* harmony export */ __webpack_require__.d(__webpack_exports__, {
354/* harmony export */   "AppModule": () => (/* binding */ AppModule)
355/* harmony export */ });
356/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/cdk/overlay */ 25895);
357/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common/http */ 58987);
358/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/platform-browser */ 34497);
359/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/platform-browser/animations */ 37146);
360/* harmony import */ var _nguniversal_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nguniversal/common */ 19506);
361/* harmony import */ var _unvoid_app_constants_server_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @unvoid/app/constants/server.constants */ 59811);
362/* harmony import */ var _unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @unvoid/environments/environment */ 51546);
363/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./app.component */ 97056);
364/* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./app-routing.module */ 17376);
365/* harmony import */ var _guards_alpha_alpha_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./guards/alpha/alpha.module */ 18157);
366/* harmony import */ var _providers_tracking_tracking_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./providers/tracking/tracking.module */ 19809);
367/* harmony import */ var _services_google_tag_manager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./services/google-tag-manager */ 9106);
368/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 22560);
369/* harmony import */ var _services_google_tag_manager_google_tag_manager_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./services/google-tag-manager/google-tag-manager.module */ 99642);
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386// TODO (alpha): might a better way to do that ??? using factory may
387const ALPHA_MODULES = _unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.alpha ? [_guards_alpha_alpha_module__WEBPACK_IMPORTED_MODULE_5__.AlphaModule] : [];
388class AppModule {}
389AppModule.ɵfac = function AppModule_Factory(t) {
390  return new (t || AppModule)();
391};
392AppModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineNgModule"]({
393  type: AppModule,
394  bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__.AppComponent]
395});
396AppModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjector"]({
397  imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__.BrowserModule.withServerTransition({
398    appId: _unvoid_app_constants_server_constants__WEBPACK_IMPORTED_MODULE_1__.SERVER_APP_ID
399  }), _nguniversal_common__WEBPACK_IMPORTED_MODULE_0__.TransferHttpCacheModule, _angular_common_http__WEBPACK_IMPORTED_MODULE_11__.HttpClientModule, _app_routing_module__WEBPACK_IMPORTED_MODULE_4__.AppRoutingModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_12__.BrowserAnimationsModule, _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_13__.OverlayModule, _providers_tracking_tracking_module__WEBPACK_IMPORTED_MODULE_6__.TrackingModule.forRoot(), _services_google_tag_manager__WEBPACK_IMPORTED_MODULE_7__.GoogleTagManagerModule.forRoot({
400    gtmId: _unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.googleTagManagerID,
401    isEnabled: _unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.type === 'production' // GTM should not be active outside 'production' environment
402  }), ALPHA_MODULES]
403});
404(function () {
405  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsetNgModuleScope"](AppModule, {
406    declarations: [_app_component__WEBPACK_IMPORTED_MODULE_3__.AppComponent],
407    imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__.BrowserModule, _nguniversal_common__WEBPACK_IMPORTED_MODULE_0__.TransferHttpCacheModule, _angular_common_http__WEBPACK_IMPORTED_MODULE_11__.HttpClientModule, _app_routing_module__WEBPACK_IMPORTED_MODULE_4__.AppRoutingModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_12__.BrowserAnimationsModule, _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_13__.OverlayModule, _providers_tracking_tracking_module__WEBPACK_IMPORTED_MODULE_6__.TrackingModule, _services_google_tag_manager_google_tag_manager_module__WEBPACK_IMPORTED_MODULE_8__.GoogleTagManagerModule, _guards_alpha_alpha_module__WEBPACK_IMPORTED_MODULE_5__.AlphaModule]
408  });
409})();
410
411/***/ }),
412
413/***/ 77430:
414/*!********************************************************!*\
415  !*** ./apps/unvoid-www/src/app/constants/animation.ts ***!
416  \********************************************************/
417/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
418
419__webpack_require__.r(__webpack_exports__);
420/* harmony export */ __webpack_require__.d(__webpack_exports__, {
421/* harmony export */   "FADED": () => (/* binding */ FADED),
422/* harmony export */   "PLACE_IN_BOTTOM": () => (/* binding */ PLACE_IN_BOTTOM),
423/* harmony export */   "PLACE_IN_CENTER": () => (/* binding */ PLACE_IN_CENTER),
424/* harmony export */   "PLACE_IN_LEFT": () => (/* binding */ PLACE_IN_LEFT),
425/* harmony export */   "PLACE_IN_MIDDLE": () => (/* binding */ PLACE_IN_MIDDLE),
426/* harmony export */   "PLACE_IN_RIGHT": () => (/* binding */ PLACE_IN_RIGHT),
427/* harmony export */   "PLACE_IN_TOP": () => (/* binding */ PLACE_IN_TOP),
428/* harmony export */   "SLIDE_OUT_TIMING_FUNCTION": () => (/* binding */ SLIDE_OUT_TIMING_FUNCTION)
429/* harmony export */ });
430const PLACE_IN_LEFT = {
431  transform: 'translateX(-100%)'
432};
433const PLACE_IN_RIGHT = {
434  transform: 'translateX(100%)'
435};
436const PLACE_IN_CENTER = {
437  transform: 'translate(0%, 0%)',
438  opacity: 1
439};
440const PLACE_IN_BOTTOM = {
441  transform: 'translateY(100%)'
442};
443const PLACE_IN_MIDDLE = {
444  transform: 'translateY(0%)'
445};
446const PLACE_IN_TOP = {
447  transform: 'translateY(-100%)'
448};
449const FADED = {
450  opacity: 0
451};
452const SLIDE_OUT_TIMING_FUNCTION = '400ms ease-out';
453
454/***/ }),
455
456/***/ 59811:
457/*!***************************************************************!*\
458  !*** ./apps/unvoid-www/src/app/constants/server.constants.ts ***!
459  \***************************************************************/
460/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
461
462__webpack_require__.r(__webpack_exports__);
463/* harmony export */ __webpack_require__.d(__webpack_exports__, {
464/* harmony export */   "DEFAULT_PORT": () => (/* binding */ DEFAULT_PORT),
465/* harmony export */   "SERVER_APP_ID": () => (/* binding */ SERVER_APP_ID)
466/* harmony export */ });
467const DEFAULT_PORT = 4000;
468const SERVER_APP_ID = 'serverApp';
469
470/***/ }),
471
472/***/ 18157:
473/*!**************************************************************!*\
474  !*** ./apps/unvoid-www/src/app/guards/alpha/alpha.module.ts ***!
475  \**************************************************************/
476/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
477
478__webpack_require__.r(__webpack_exports__);
479/* harmony export */ __webpack_require__.d(__webpack_exports__, {
480/* harmony export */   "AlphaModule": () => (/* binding */ AlphaModule)
481/* harmony export */ });
482/* harmony import */ var _opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 71670);
483/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ 60124);
484/* harmony import */ var _unvoid_app_services_alpha_guard_alpha_auth_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @unvoid/app/services/alpha-guard/alpha-auth.service */ 44831);
485/* harmony import */ var _unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @unvoid/environments/environment */ 51546);
486/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash-es */ 80014);
487/* harmony import */ var ngx_cookie_service_ssr__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ngx-cookie-service-ssr */ 2197);
488/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 54363);
489/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ 60116);
490/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 22560);
491
492
493
494
495
496
497
498
499
500
501
502/**
503 * Guards the deployed app in alpha from the public and redirect them to the login page
504 */
505class AlphaModule {
506  constructor(_alphaAuthService, _router) {
507    this._alphaAuthService = _alphaAuthService;
508    this._router = _router;
509    // Guards all routes in 'alpha' but not in 'development', this module is not accessible in 'production'
510    if (_unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.type === 'alpha') {
511      this._guardRoutesFromPublic();
512    }
513  }
514  _canActivate(url) {
515    if ((0,lodash_es__WEBPACK_IMPORTED_MODULE_3__["default"])(url, '/login')) {
516      return true;
517    }
518    return this._alphaAuthService.isAuthed;
519  }
520  _guardRoutesFromPublic() {
521    var _this = this;
522    return (0,_opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
523      const routerEvent = yield (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.firstValueFrom)(_this._router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.filter)(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_6__.NavigationStart)));
524      if (_this._canActivate(routerEvent.url)) {
525        return;
526      }
527      yield _this._router.navigate(['/', 'login'], {
528        queryParams: {
529          redirectToURL: routerEvent.url
530        }
531      });
532    })();
533  }
534}
535AlphaModule.ɵfac = function AlphaModule_Factory(t) {
536  return new (t || AlphaModule)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_unvoid_app_services_alpha_guard_alpha_auth_service__WEBPACK_IMPORTED_MODULE_1__.AlphaAuthService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__.Router));
537};
538AlphaModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({
539  type: AlphaModule
540});
541AlphaModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({
542  providers: [{
543    provide: _unvoid_app_services_alpha_guard_alpha_auth_service__WEBPACK_IMPORTED_MODULE_1__.AlphaAuthService,
544    useFactory: cookieService => {
545      if (_unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.alpha) {
546        return new _unvoid_app_services_alpha_guard_alpha_auth_service__WEBPACK_IMPORTED_MODULE_1__.AlphaAuthService(cookieService);
547      }
548      /** Non-Alpha environments will never import this module, but I keeping that for safety  */
549      return new _unvoid_app_services_alpha_guard_alpha_auth_service__WEBPACK_IMPORTED_MODULE_1__.MockAlphaAuthService();
550    },
551    deps: [ngx_cookie_service_ssr__WEBPACK_IMPORTED_MODULE_8__.SsrCookieService]
552  }]
553});
554
555/***/ }),
556
557/***/ 40727:
558/*!*****************************************************************************!*\
559  !*** ./apps/unvoid-www/src/app/guards/business-form/business-form.guard.ts ***!
560  \*****************************************************************************/
561/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
562
563__webpack_require__.r(__webpack_exports__);
564/* harmony export */ __webpack_require__.d(__webpack_exports__, {
565/* harmony export */   "BusinessFormGuard": () => (/* binding */ BusinessFormGuard)
566/* harmony export */ });
567/* harmony import */ var _unvoid_app_services_business_management__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @unvoid/app/services/business-management */ 24729);
568/* harmony import */ var fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! fp-ts/lib/Option */ 12971);
569/* harmony import */ var fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_3__);
570/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 26562);
571/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 50635);
572/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 22560);
573/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 60124);
574
575
576
577
578
579
580
581class BusinessFormGuard {
582  constructor(_businessManagement, _router) {
583    this._businessManagement = _businessManagement;
584    this._router = _router;
585  }
586  canActivate() {
587    return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.combineLatest)([this._businessManagement.needToFillChatbot$, this._businessManagement.business$]).pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_2__.map)(([needToFillChatbot, business]) => {
588      return !needToFillChatbot && fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_3__.isSome(business) ? true : this._router.createUrlTree(['/']);
589    }));
590  }
591}
592BusinessFormGuard.ɵfac = function BusinessFormGuard_Factory(t) {
593  return new (t || BusinessFormGuard)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_unvoid_app_services_business_management__WEBPACK_IMPORTED_MODULE_0__.BusinessManagementService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_5__.Router));
594};
595BusinessFormGuard.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
596  token: BusinessFormGuard,
597  factory: BusinessFormGuard.ɵfac,
598  providedIn: 'root'
599});
600
601/***/ }),
602
603/***/ 89755:
604/*!***************************************************************!*\
605  !*** ./apps/unvoid-www/src/app/guards/business-form/index.ts ***!
606  \***************************************************************/
607/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
608
609__webpack_require__.r(__webpack_exports__);
610/* harmony export */ __webpack_require__.d(__webpack_exports__, {
611/* harmony export */   "BusinessFormGuard": () => (/* reexport safe */ _business_form_guard__WEBPACK_IMPORTED_MODULE_0__.BusinessFormGuard)
612/* harmony export */ });
613/* harmony import */ var _business_form_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./business-form.guard */ 40727);
614
615
616/***/ }),
617
618/***/ 76235:
619/*!*****************************************************************!*\
620  !*** ./apps/unvoid-www/src/app/guards/chatbot/chatbot.guard.ts ***!
621  \*****************************************************************/
622/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
623
624__webpack_require__.r(__webpack_exports__);
625/* harmony export */ __webpack_require__.d(__webpack_exports__, {
626/* harmony export */   "ChatbotGuard": () => (/* binding */ ChatbotGuard)
627/* harmony export */ });
628/* harmony import */ var _unvoid_app_services_business_management_business_management_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @unvoid/app/services/business-management/business-management.service */ 86586);
629/* harmony import */ var fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! fp-ts/lib/Option */ 12971);
630/* harmony import */ var fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_3__);
631/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 26562);
632/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 50635);
633/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 22560);
634/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 60124);
635
636
637
638
639
640
641
642class ChatbotGuard {
643  constructor(_businessManagement, _router) {
644    this._businessManagement = _businessManagement;
645    this._router = _router;
646  }
647  canActivate() {
648    return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.combineLatest)([this._businessManagement.needToFillChatbot$, this._businessManagement.business$]).pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_2__.map)(([canAccess, business]) => {
649      return canAccess && fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_3__.isSome(business) ? true : this._router.createUrlTree(['/']);
650    }));
651  }
652}
653ChatbotGuard.ɵfac = function ChatbotGuard_Factory(t) {
654  return new (t || ChatbotGuard)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_unvoid_app_services_business_management_business_management_service__WEBPACK_IMPORTED_MODULE_0__.BusinessManagementService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_5__.Router));
655};
656ChatbotGuard.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
657  token: ChatbotGuard,
658  factory: ChatbotGuard.ɵfac,
659  providedIn: 'root'
660});
661
662/***/ }),
663
664/***/ 7556:
665/*!*********************************************************!*\
666  !*** ./apps/unvoid-www/src/app/guards/chatbot/index.ts ***!
667  \*********************************************************/
668/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
669
670__webpack_require__.r(__webpack_exports__);
671/* harmony export */ __webpack_require__.d(__webpack_exports__, {
672/* harmony export */   "ChatbotGuard": () => (/* reexport safe */ _chatbot_guard__WEBPACK_IMPORTED_MODULE_0__.ChatbotGuard)
673/* harmony export */ });
674/* harmony import */ var _chatbot_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chatbot.guard */ 76235);
675
676
677/***/ }),
678
679/***/ 61729:
680/*!*************************************************************!*\
681  !*** ./apps/unvoid-www/src/app/guards/login/login.guard.ts ***!
682  \*************************************************************/
683/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
684
685__webpack_require__.r(__webpack_exports__);
686/* harmony export */ __webpack_require__.d(__webpack_exports__, {
687/* harmony export */   "LoginGuard": () => (/* binding */ LoginGuard)
688/* harmony export */ });
689/* harmony import */ var _unvoid_app_services_alpha_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @unvoid/app/services/alpha-guard */ 70890);
690/* harmony import */ var _unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @unvoid/environments/environment */ 51546);
691/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 22560);
692/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 60124);
693
694
695
696
697
698
699class LoginGuard {
700  constructor(_alphaAuthService, _router) {
701    this._alphaAuthService = _alphaAuthService;
702    this._router = _router;
703  }
704  canActivate() {
705    // Guards the route in 'alpha' but not in 'development', this route is not accessible in 'production'
706    if (_unvoid_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.type === 'alpha' && this._alphaAuthService.isAuthed) {
707      return this._router.createUrlTree(['/']);
708    }
709    return true;
710  }
711}
712LoginGuard.ɵfac = function LoginGuard_Factory(t) {
713  return new (t || LoginGuard)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_unvoid_app_services_alpha_guard__WEBPACK_IMPORTED_MODULE_0__.AlphaAuthService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_3__.Router));
714};
715LoginGuard.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
716  token: LoginGuard,
717  factory: LoginGuard.ɵfac,
718  providedIn: 'root'
719});
720
721/***/ }),
722
723/***/ 81138:
724/*!******************************************************!*\
725  !*** ./apps/unvoid-www/src/app/helpers/animation.ts ***!
726  \******************************************************/
727/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
728
729__webpack_require__.r(__webpack_exports__);
730/* harmony export */ __webpack_require__.d(__webpack_exports__, {
731/* harmony export */   "generateFadingAnimation": () => (/* binding */ generateFadingAnimation),
732/* harmony export */   "generateSlideAnimation": () => (/* binding */ generateSlideAnimation),
733/* harmony export */   "generateSlideFadingAnimation": () => (/* binding */ generateSlideFadingAnimation),
734/* harmony export */   "generateSlidePageTransition": () => (/* binding */ generateSlidePageTransition)
735/* harmony export */ });
736/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/animations */ 24851);
737/* harmony import */ var _unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @unvoid/app/animations/slides */ 80466);
738/* harmony import */ var _unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @unvoid/app/constants/animation */ 77430);
739/* harmony import */ var _animations_fade__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../animations/fade */ 83589);
740
741
742
743
744const generateSlideAnimation = (direction, additionalStyles) => {
745  switch (direction) {
746    // * Slides from `TOP` to `CENTER`
747    case 'top':
748      {
749        return {
750          enter: (0,_unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__.generateSlideFromTopAnimation)(additionalStyles),
751          leave: (0,_unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__.generateSlideToBottomAnimation)(additionalStyles)
752        };
753      }
754    // * Slides from `BOTTOM` to `CENTER`
755    case 'bottom':
756      {
757        return {
758          enter: (0,_unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__.generateSlideFromBottomAnimation)(additionalStyles),
759          leave: (0,_unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__.generateSlideToTopAnimation)(additionalStyles)
760        };
761      }
762    // * Slides from `LEFT` to `CENTER`
763    case 'left':
764      {
765        return {
766          enter: (0,_unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__.generateSlideFromLeftAnimation)(additionalStyles),
767          leave: (0,_unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__.generateSlideToRightAnimation)(additionalStyles)
768        };
769      }
770    // * Slides from `RIGHT` to `CENTER`
771    default:
772      {
773        return {
774          enter: (0,_unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__.generateSlideFromRightAnimation)(additionalStyles),
775          leave: (0,_unvoid_app_animations_slides__WEBPACK_IMPORTED_MODULE_0__.generateSlideToLeftAnimation)(additionalStyles)
776        };
777      }
778  }
779};
780const generateSlidePageTransition = direction => {
781  const optional = {
782    optional: true
783  };
784  const {
785    enter,
786    leave
787  } = generateSlideAnimation(direction);
788  return [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.query)(':enter, :leave', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({
789    position: 'fixed',
790    width: '100%'
791  })], optional), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.group)([(0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.query)(':enter', enter), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.query)(':leave', leave, optional)])];
792};
793const generateSlideFadingAnimation = direction => {
794  const {
795    enter,
796    leave
797  } = generateSlideAnimation(direction, _unvoid_app_constants_animation__WEBPACK_IMPORTED_MODULE_1__.FADED);
798  return [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.transition)(':enter', enter), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.transition)(':leave', leave)];
799};
800const generateFadingAnimation = () => {
801  const enter = (0,_animations_fade__WEBPACK_IMPORTED_MODULE_2__.generateFadeInAnimation)();
802  const leave = (0,_animations_fade__WEBPACK_IMPORTED_MODULE_2__.generateFadeOutAnimation)();
803  return [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.transition)(':enter', enter), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.transition)(':leave', leave)];
804};
805
806/***/ }),
807
808/***/ 19809:
809/*!***********************************************************************!*\
810  !*** ./apps/unvoid-www/src/app/providers/tracking/tracking.module.ts ***!
811  \***********************************************************************/
812/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
813
814__webpack_require__.r(__webpack_exports__);
815/* harmony export */ __webpack_require__.d(__webpack_exports__, {
816/* harmony export */   "TrackingModule": () => (/* binding */ TrackingModule)
817/* harmony export */ });
818/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 94666);
819/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 22560);
820/* harmony import */ var _sentry_angular__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @sentry/angular */ 50249);
821/* harmony import */ var _sentry_tracing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @sentry/tracing */ 53298);
822/* harmony import */ var apps_unvoid_www_src_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! apps/unvoid-www/src/environments/environment */ 51546);
823/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash-es */ 5279);
824
825
826
827
828
829
830
831const TRACKING_FOR_ROOT = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.InjectionToken('');
832class TrackingModule {
833  constructor(_platformID, forRoot) {
834    this._platformID = _platformID;
835    if (forRoot) {
836      this._setupSentry();
837    }
838  }
839  static forRoot() {
840    return {
841      ngModule: TrackingModule,
842      providers: [{
843        provide: TRACKING_FOR_ROOT,
844        useValue: true
845      }, {
846        provide: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ErrorHandler,
847        useValue: _sentry_angular__WEBPACK_IMPORTED_MODULE_3__.createErrorHandler({
848          showDialog: true
849        })
850      }]
851    };
852  }
853  _setupSentry() {
854    // Sentry is not used outside 'production' environment
855    if (apps_unvoid_www_src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.type !== 'production' || !
855(0,_angular_common__WEBPACK_IMPORTED_MODULE_4__.isPlatformBrowser)(this._platformID) || (0,lodash_es__WEBPACK_IMPORTED_MODULE_5__["default"])(apps_unvoid_www_src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.sentry)) {
856      return;
857    }
858    const integrations = [];
859    if (apps_unvoid_www_src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.sentry.tracesSampleRate > 0) {
860      integrations.push(new _sentry_tracing__WEBPACK_IMPORTED_MODULE_0__.Integrations.BrowserTracing({
861        routingInstrumentation: _sentry_angular__WEBPACK_IMPORTED_MODULE_3__.routingInstrumentation
862      }));
863    }
864    _sentry_angular__WEBPACK_IMPORTED_MODULE_3__.init({
865      dsn: apps_unvoid_www_src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.sentry.dsn,
866      environment: apps_unvoid_www_src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.type,
867      autoSessionTracking: true,
868      // Undefined is the same as 0, meaning Sentry.io will not trace errors
869      tracesSampleRate: apps_unvoid_www_src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.sentry.tracesSampleRate,
870      integrations
871    });
872  }
873}
874TrackingModule.ɵfac = function TrackingModule_Factory(t) {
875  return new (t || TrackingModule)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](TRACKING_FOR_ROOT));
876};
877TrackingModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({
878  type: TrackingModule
879});
880TrackingModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({
881  imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule]
882});
883(function () {
884  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](TrackingModule, {
885    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule]
886  });
887})();
888
889/***/ }),
890
891/***/ 44831:
892/*!****************************************************************************!*\
893  !*** ./apps/unvoid-www/src/app/services/alpha-guard/alpha-auth.service.ts ***!
894  \****************************************************************************/
895/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
896
897__webpack_require__.r(__webpack_exports__);
898/* harmony export */ __webpack_require__.d(__webpack_exports__, {
899/* harmony export */   "AlphaAuthService": () => (/* binding */ AlphaAuthService),
900/* harmony export */   "MockAlphaAuthService": () => (/* binding */ MockAlphaAuthService)
901/* harmony export */ });
902/* harmony import */ var fp_ts_lib_Either__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fp-ts/lib/Either */ 88688);
903/* harmony import */ var fp_ts_lib_Either__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fp_ts_lib_Either__WEBPACK_IMPORTED_MODULE_1__);
904/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers */ 20033);
905/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 22560);
906/* harmony import */ var ngx_cookie_service_ssr__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ngx-cookie-service-ssr */ 2197);
907
908
909
910
911
912class AlphaAuthService {
913  constructor(_cookieService) {
914    this._cookieService = _cookieService;
915  }
916  /** Checks for authentication in the environment and in the cookies
917   * @returns True when authenticated
918   */
919  get isAuthed() {
920    // Get the authentication cookie
921    const authCookie = this._cookieService.get(_helpers__WEBPACK_IMPORTED_MODULE_0__.ALPHA_AUTH_KEY);
922    // Return whether the cookie is valid
923    return authCookie === _helpers__WEBPACK_IMPORTED_MODULE_0__.ALPHA_AUTH_VALUE;
924  }
925  /**
926   * This is solely so we can keep our Alpha versions away from public eyes.
927   *
928   * We don't do real verifications here.
929   *
930   * Wraps the result inside an {@link Either}, on success it'll be void, otherwise the error that happened
931   */
932  login(name, password) {
933    if (name !== _helpers__WEBPACK_IMPORTED_MODULE_0__.ALPHA_LOGIN_NAME || password !== _helpers__WEBPACK_IMPORTED_MODULE_0__.ALPHA_LOGIN_PASS) {
934      return (0,fp_ts_lib_Either__WEBPACK_IMPORTED_MODULE_1__.left)(new Error('Invalid credentials'));
935    }
936    // Set the authentication cookie
937    this._cookieService.set(_helpers__WEBPACK_IMPORTED_MODULE_0__.ALPHA_AUTH_KEY, _helpers__WEBPACK_IMPORTED_MODULE_0__.ALPHA_AUTH_VALUE);
938    return (0,fp_ts_lib_Either__WEBPACK_IMPORTED_MODULE_1__.right)(void 0);
939  }
940}
941/** Service to be inject outside alpha environment, `AlphaAuthService` should be never called in a non alpha environment, this is for safety  */
942AlphaAuthService.ɵfac = function AlphaAuthService_Factory(t) {
943  return new (t || AlphaAuthService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](ngx_cookie_service_ssr__WEBPACK_IMPORTED_MODULE_3__.SsrCookieService));
944};
945AlphaAuthService.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
946  token: AlphaAuthService,
947  factory: AlphaAuthService.ɵfac,
948  providedIn: 'platform'
949});
950class MockAlphaAuthService {
951  constructor() {
952    /** Will always return true */
953    this.isAuthed = true;
954  }
955  /** Will never login the user because it's never called */
956  login(_name, _password) {
957    console.error('Something really wrong is happening!!!');
958    return (0,fp_ts_lib_Either__WEBPACK_IMPORTED_MODULE_1__.right)(void 0);
959  }
960}
961MockAlphaAuthService.ɵfac = function MockAlphaAuthService_Factory(t) {
962  return new (t || MockAlphaAuthService)();
963};
964MockAlphaAuthService.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
965  token: MockAlphaAuthService,
966  factory: MockAlphaAuthService.ɵfac,
967  providedIn: 'platform'
968});
969
970/***/ }),
971
972/***/ 20033:
973/*!*****************************************************************!*\
974  !*** ./apps/unvoid-www/src/app/services/alpha-guard/helpers.ts ***!
975  \*****************************************************************/
976/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
977
978__webpack_require__.r(__webpack_exports__);
979/* harmony export */ __webpack_require__.d(__webpack_exports__, {
980/* harmony export */   "ALPHA_AUTH_KEY": () => (/* binding */ ALPHA_AUTH_KEY),
981/* harmony export */   "ALPHA_AUTH_VALUE": () => (/* binding */ ALPHA_AUTH_VALUE),
982/* harmony export */   "ALPHA_LOGIN_NAME": () => (/* binding */ ALPHA_LOGIN_NAME),
983/* harmony export */   "ALPHA_LOGIN_PASS": () => (/* binding */ ALPHA_LOGIN_PASS)
984/* harmony export */ });
985// For the authentication cookie
986const ALPHA_AUTH_KEY = 'unvoid-alpha-auth';
987const ALPHA_AUTH_VALUE = '8J+QrPCfkKzwn5Cs8J+QrPCfkKw=';
988// For the authentication verification
989const ALPHA_LOGIN_NAME = 'admin';
990const ALPHA_LOGIN_PASS = 'changeme';
991
992/***/ }),
993
994/***/ 70890:
995/*!***************************************************************!*\
996  !*** ./apps/unvoid-www/src/app/services/alpha-guard/index.ts ***!
997  \***************************************************************/
998/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
999
1000__webpack_require__.r(__webpack_exports__);
1001/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1002/* harmony export */   "AlphaAuthService": () => (/* reexport safe */ _alpha_auth_service__WEBPACK_IMPORTED_MODULE_0__.AlphaAuthService),
1003/* harmony export */   "MockAlphaAuthService": () => (/* reexport safe */ _alpha_auth_service__WEBPACK_IMPORTED_MODULE_0__.MockAlphaAuthService)
1004/* harmony export */ });
1005/* harmony import */ var _alpha_auth_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./alpha-auth.service */ 44831);
1006
1007
1008/***/ }),
1009
1010/***/ 86586:
1011/*!*********************************************************************************************!*\
1012  !*** ./apps/unvoid-www/src/app/services/business-management/business-management.service.ts ***!
1013  \*********************************************************************************************/
1014/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1015
1016__webpack_require__.r(__webpack_exports__);
1017/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1018/* harmony export */   "BusinessManagementService": () => (/* binding */ BusinessManagementService)
1019/* harmony export */ });
1020/* harmony import */ var _opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 71670);
1021/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 94666);
1022/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 22560);
1023/* harmony import */ var _unvoid_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @unvoid-interfaces */ 91500);
1024/* harmony import */ var fp_ts_lib_function__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! fp-ts/lib/function */ 8653);
1025/* harmony import */ var fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! fp-ts/lib/Option */ 12971);
1026/* harmony import */ var fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__);
1027/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 26067);
1028/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 76317);
1029/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 54363);
1030
1031
1032
1033
1034
1035
1036
1037
1038const BUSINESS_STORAGE_KEY = 'business';
1039// TODO: may replace with stores later
1040class BusinessManagementService {
1041  constructor(platformID) {
1042    var _this = this;
1043    this._business$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__.ReplaySubject(1);
1044    this.business$ = this._business$.asObservable();
1045    this._needToFillChatbot$ = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(true);
1046    this.needToFillChatbot$ = this._needToFillChatbot$.asObservable();
1047    this._initBusiness = () => {
1048      const businessO = (0,fp_ts_lib_function__WEBPACK_IMPORTED_MODULE_4__.pipe)(BUSINESS_STORAGE_KEY, key => sessionStorage.getItem(key), fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.fromNullable, fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.map(business => JSON.parse(business)), fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.chain(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.fromPredicate(_unvoid_interfaces__WEBPACK_IMPORTED_MODULE_1__.isBusiness)));
1049      if (fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.isSome(businessO)) {
1050        this._needToFillChatbot$.next(false);
1051      }
1052      this._business$.next(businessO);
1053    };
1054    this.saveInitialBusinessData = business => {
1055      sessionStorage.setItem(BUSINESS_STORAGE_KEY, JSON.stringify(business));
1056      this._business$.next(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.fromNullable(business));
1057    };
1058    this.updateBusinessData = /*#__PURE__*/function () {
1059      var _ref = (0,_opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (updatedBusiness) {
1060        const currentBusinessO = yield (0,rxjs__WEBPACK_IMPORTED_MODULE_6__.firstValueFrom)(_this.business$);
1061        (0,fp_ts_lib_function__WEBPACK_IMPORTED_MODULE_4__.pipe)(currentBusinessO, fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.map(currentBusiness => {
1062          const business = {
1063            ...currentBusiness,
1064            ...updatedBusiness
1065          };
1066          sessionStorage.setItem(BUSINESS_STORAGE_KEY, JSON.stringify(business));
1067          _this._business$.next(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.fromNullable(business));
1068          return business;
1069        }));
1070      });
1071      return function (_x) {
1072        return _ref.apply(this, arguments);
1073      };
1074    }();
1075    this.addContact = /*#__PURE__*/function () {
1076      var _ref2 = (0,_opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (newContact) {
1077        const currentBusinessO = yield (0,rxjs__WEBPACK_IMPORTED_MODULE_6__.firstValueFrom)(_this.business$);
1078        (0,fp_ts_lib_function__WEBPACK_IMPORTED_MODULE_4__.pipe)(currentBusinessO, fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.map(({
1079          contacts,
1080          ...currentBusiness
1081        }) => {
1082          const business = {
1083            ...currentBusiness,
1084            contacts: [...contacts, newContact]
1085          };
1086          sessionStorage.setItem(BUSINESS_STORAGE_KEY, JSON.stringify(business));
1087          _this._business$.next(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.fromNullable(business));
1088          return business;
1089        }));
1090      });
1091      return function (_x2) {
1092        return _ref2.apply(this, arguments);
1093      };
1094    }();
1095    this.updateContact = /*#__PURE__*/function () {
1096      var _ref3 = (0,_opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (updatedContact) {
1097        const currentBusinessO = yield (0,rxjs__WEBPACK_IMPORTED_MODULE_6__.firstValueFrom)(_this.business$);
1098        (0,fp_ts_lib_function__WEBPACK_IMPORTED_MODULE_4__.pipe)(currentBusinessO, fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.map(({
1099          contacts,
1100          ...currentBusiness
1101        }) => {
1102          const business = {
1103            ...currentBusiness,
1104            contacts: contacts.map(contact =>
1104 contact.id === updatedContact.id ? updatedContact : contact)
1105          };
1106          sessionStorage.setItem(BUSINESS_STORAGE_KEY, JSON.stringify(business));
1107          _this._business$.next(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.fromNullable(business));
1108          return business;
1109        }));
1110      });
1111      return function (_x3) {
1112        return _ref3.apply(this, arguments);
1113      };
1114    }();
1115    this.deleteContact = /*#__PURE__*/function () {
1116      var _ref4 = (0,_opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (contactID) {
1117        const currentBusinessO = yield (0,rxjs__WEBPACK_IMPORTED_MODULE_6__.firstValueFrom)(_this.business$);
1118        (0,fp_ts_lib_function__WEBPACK_IMPORTED_MODULE_4__.pipe)(currentBusinessO, fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.map(({
1119          contacts,
1120          ...currentBusiness
1121        }) => {
1122          const business = {
1123            ...currentBusiness,
1124            contacts: contacts.filter(contact => contact.id !== contactID)
1125          };
1126          sessionStorage.setItem(BUSINESS_STORAGE_KEY, JSON.stringify(business));
1127          _this._business$.next(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_5__.fromNullable(business));
1128          return business;
1129        }));
1130      });
1131      return function (_x4) {
1132        return _ref4.apply(this, arguments);
1133      };
1134    }();
1135    this.reset = () => {
1136      sessionStorage.removeItem(BUSINESS_STORAGE_KEY);
1137      this._needToFillChatbot$.next(true);
1138    };
1139    this.markChatbotAsCompleted = () => {
1140      this._needToFillChatbot$.next(false);
1141    };
1142    if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_7__.isPlatformBrowser)(platformID)) {
1143      this._initBusiness();
1144    }
1145  }
1146}
1147BusinessManagementService.ɵfac = function BusinessManagementService_Factory(t) {
1148  return new (t || BusinessManagementService)(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_8__.PLATFORM_ID));
1149};
1150BusinessManagementService.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineInjectable"]({
1151  token: BusinessManagementService,
1152  factory: BusinessManagementService.ɵfac,
1153  providedIn: 'root'
1154});
1155
1156/***/ }),
1157
1158/***/ 24729:
1159/*!***********************************************************************!*\
1160  !*** ./apps/unvoid-www/src/app/services/business-management/index.ts ***!
1161  \***********************************************************************/
1162/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1163
1164__webpack_require__.r(__webpack_exports__);
1165/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1166/* harmony export */   "BusinessManagementService": () => (/* reexport safe */ _business_management_service__WEBPACK_IMPORTED_MODULE_0__.BusinessManagementService)
1167/* harmony export */ });
1168/* harmony import */ var _business_management_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./business-management.service */ 86586);
1169
1170
1171/***/ }),
1172
1173/***/ 10393:
1174/*!**********************************************************************************************!*\
1175  !*** ./apps/unvoid-www/src/app/services/google-tag-manager/google-tag-manager.interfaces.ts ***!
1176  \**********************************************************************************************/
1177/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1178
1179__webpack_require__.r(__webpack_exports__);
1180
1181
1182/***/ }),
1183
1184/***/ 99642:
1185/*!******************************************************************************************!*\
1186  !*** ./apps/unvoid-www/src/app/services/google-tag-manager/google-tag-manager.module.ts ***!
1187  \******************************************************************************************/
1188/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1189
1190__webpack_require__.r(__webpack_exports__);
1191/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1192/* harmony export */   "GOOGLE_TAG_MANAGER_CONFIG_TOKEN": () => (/* binding */ GOOGLE_TAG_MANAGER_CONFIG_TOKEN),
1193/* harmony export */   "GoogleTagManagerModule": () => (/* binding */ GoogleTagManagerModule)
1194/* harmony export */ });
1195/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 94666);
1196/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 22560);
1197/* harmony import */ var _google_tag_manager_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./google-tag-manager.service */ 93589);
1198
1199
1200
1201
1202/**
1203 * Defines Injection token of `GtmConfig` for configuring module
1204 */
1205const GOOGLE_TAG_MANAGER_CONFIG_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('GtmConfig');
1206/**
1207 * Import in App Module and pass `GtmConfig` object to `forRoot` method
1208 */
1209class GoogleTagManagerModule {
1210  /**
1211   * Creates and configures GTM module.
1212   *
1213   * @param config - An `GtmModule` object that specifies library configuration
1214   */
1215  static forRoot(config) {
1216    return {
1217      ngModule: GoogleTagManagerModule,
1218      providers: [_google_tag_manager_service__WEBPACK_IMPORTED_MODULE_0__.GoogleTagManagerService, {
1219        provide: GOOGLE_TAG_MANAGER_CONFIG_TOKEN,
1220        useValue: config
1221      }]
1222    };
1223  }
1224}
1225GoogleTagManagerModule.ɵfac = function GoogleTagManagerModule_Factory(t) {
1226  return new (t || GoogleTagManagerModule)();
1227};
1228GoogleTagManagerModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
1229  type: GoogleTagManagerModule
1230});
1231GoogleTagManagerModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
1232  imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule]
1233});
1234(function () {
1235  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](GoogleTagManagerModule, {
1236    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule]
1237  });
1238})();
1239
1240/***/ }),
1241
1242/***/ 93589:
1243/*!*******************************************************************************************!*\
1244  !*** ./apps/unvoid-www/src/app/services/google-tag-manager/google-tag-manager.service.ts ***!
1245  \*******************************************************************************************/
1246/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1247
1248__webpack_require__.r(__webpack_exports__);
1249/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1250/* harmony export */   "GoogleTagManagerService": () => (/* binding */ GoogleTagManagerService)
1251/* harmony export */ });
1252/* harmony import */ var _opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 71670);
1253/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 94666);
1254/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 22560);
1255/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash-es */ 5279);
1256/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash-es */ 7190);
1257/* harmony import */ var _google_tag_manager_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./google-tag-manager.module */ 99642);
1258
1259
1260
1261
1262
1263
1264class GoogleTagManagerService {
1265  constructor(_platformID, _document, _config, _applicationInitStatus) {
1266    this._platformID = _platformID;
1267    this._document = _document;
1268    this._config = _config;
1269    this._applicationInitStatus = _applicationInitStatus;
1270    /**
1271     * Service initialization flag
1272     */
1273    this._isInitialized = false;
1274    /**
1275     * Stores pushed objects when service is not initialized
1276     */
1277    // eslint-disable-next-line functional/prefer-readonly-type
1278    this._postponedPushes = [];
1279    this.postponedInitialization();
1280  }
1281  /**
1282   * Push any object to GTM dataLayer
1283   *
1284   * @param obj - object pushed to dataLayer
1285   */
1286  push(object) {
1287    if (this._isInitialized) {
1288      this._pushToDataLayer(object);
1289    } else {
1290      this._postponedPushes.push(object);
1291    }
1292  }
1293  /**
1294   * Waits for app initialization and then initialize module
1295   */
1296  postponedInitialization() {
1297    var _this = this;
1298    return (0,_opt_buildhome_repo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
1299      yield _this._applicationInitStatus.donePromise;
1300      _this._init();
1301    })();
1302  }
1303  /**
1304   * Initialize service - create dataLayer and setup necessary HTML code
1305   */
1306  _init() {
1307    if (!this._config.isEnabled) {
1308      return;
1309    }
1310    if ((0,lodash_es__WEBPACK_IMPORTED_MODULE_2__["default"])(this._config.gtmId)) {
1311      console.error('gtmService config is missing gtmId');
1312      return;
1313    }
1314    if (!this._isInitialized) {
1315      this._initDataLayer();
1316      this._pushToDataLayer({
1317        'gtm.start': Date.now(),
1318        'event': 'gtm.js'
1319      });
1320      this._appendTags();
1321      this._pushPostponed();
1322    }
1323    this._isInitialized = true;
1324  }
1325  /**
1326   * Initialize global dataLayer variable
1327   */
1328  _initDataLayer() {
1329    if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_3__.isPlatformBrowser)(this._platformID)) {
1330      window.dataLayer = [];
1331    }
1332  }
1333  /**
1334   * Provide dataLayer (or noop one for server platform)
1335   */
1336  _getDataLayer() {
1337    return (0,_angular_common__WEBPACK_IMPORTED_MODULE_3__.isPlatformBrowser)(this._platformID) ? window.dataLayer : [];
1338  }
1339  /**
1340   * Push all postponed pushes to dataLayer
1341   */
1342  _pushPostponed() {
1343    // eslint-disable-next-line functional/no-loop-statement
1344    for (const object of this._postponedPushes) {
1345      this._pushToDataLayer(object);
1346    }
1347    this._postponedPushes = [];
1348  }
1349  /**
1350   * Push any object to GTM dataLayer
1351   *
1352   * @param obj - object pushed to dataLayer
1353   */
1354  _pushToDataLayer(object) {
1355    if (this._config.isEnabled) {
1356      const dataLayer = this._getDataLayer();
1357      dataLayer.push(object);
1358    }
1359  }
1360  /**
1361   * Append necessary elements to DOM
1362   */
1363  _appendTags() {
1364    const id = this._config.gtmId;
1365    if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_3__.isPlatformBrowser)(this._platformID) && (0,lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"])(id)) {
1366      this._document.head.prepend(this._buildScript(id));
1367      this._document.body.prepend(this._buildIframe(id));
1368    }
1369  }
1370  /**
1371   * Create GTM initialization script
1372   */
1373  _buildScript(gtmId) {
1374    const scriptElement = this._document.createElement('script');
1375    scriptElement.src = `https://www.googletagmanager.com/gtm.js?id=${gtmId}`;
1376    scriptElement.async = true;
1377    return scriptElement;
1378  }
1379  /**
1380   * Create GTM noscript iframe
1381   */
1382  _buildIframe(gtmId) {
1383    const iframeElement = this._document.createElement('iframe');
1384    iframeElement.setAttribute('src', `https://www.googletagmanager.com/ns.html?id=${gtmId}`);
1385    iframeElement.style.width = '0';
1386    iframeElement.style.height = '0';
1387    iframeElement.style.display = 'none';
1388    iframeElement.style.visibility = 'hidden';
1389    const noScriptElement = this._document.createElement('noscript');
1390    noScriptElement.innerHTML = iframeElement.outerHTML;
1391    return noScriptElement;
1392  }
1393}
1394GoogleTagManagerService.ɵfac = function GoogleTagManagerService_Factory(t) {
1395  return new (t || GoogleTagManagerService)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_5__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_3__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_google_tag_manager_module__WEBPACK_IMPORTED_MODULE_1__.GOOGLE_TAG_MANAGER_CONFIG_TOKEN), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_5__.ApplicationInitStatus));
1396};
1397GoogleTagManagerService.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({
1398  token: GoogleTagManagerService,
1399  factory: GoogleTagManagerService.ɵfac,
1400  providedIn: 'root'
1401});
1402
1403/***/ }),
1404
1405/***/ 9106:
1406/*!**********************************************************************!*\
1407  !*** ./apps/unvoid-www/src/app/services/google-tag-manager/index.ts ***!
1408  \**********************************************************************/
1409/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1410
1411__webpack_require__.r(__webpack_exports__);
1412/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1413/* harmony export */   "GOOGLE_TAG_MANAGER_CONFIG_TOKEN": () => (/* reexport safe */ _google_tag_manager_module__WEBPACK_IMPORTED_MODULE_0__.GOOGLE_TAG_MANAGER_CONFIG_TOKEN),
1414/* harmony export */   "GoogleTagManagerModule": () => (/* reexport safe */ _google_tag_manager_module__WEBPACK_IMPORTED_MODULE_0__.GoogleTagManagerModule),
1415/* harmony export */   "GoogleTagManagerService": () => (/* reexport safe */ _google_tag_manager_service__WEBPACK_IMPORTED_MODULE_1__.GoogleTagManagerService)
1416/* harmony export */ });
1417/* harmony import */ var _google_tag_manager_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./google-tag-manager.module */ 99642);
1418/* harmony import */ var _google_tag_manager_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./google-tag-manager.service */ 93589);
1419/* harmony import */ var _google_tag_manager_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./google-tag-manager.interfaces */ 10393);
1420
1421
1422
1423
1424/***/ }),
1425
1426/***/ 51546:
1427/*!*********************************************************!*\
1428  !*** ./apps/unvoid-www/src/environments/environment.ts ***!
1429  \*********************************************************/
1430/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1431
1432__webpack_require__.r(__webpack_exports__);
1433/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1434/* harmony export */   "environment": () => (/* binding */ environment)
1435/* harmony export */ });
1436const environment = {
1437  type: 'development',
1438  production: false,
1439  alpha: true,
1440  apiURL: 'http://localhost:3333/api',
1441  UNVOID_API_KEY: '09aba92f-ac31-4fed-bfd3-eb283d1c86c6'
1442};
1443
1444/***/ }),
1445
1446/***/ 61952:
1447/*!*************************************!*\
1448  !*** ./apps/unvoid-www/src/main.ts ***!
1449  \*************************************/
1450/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1451
1452__webpack_require__.r(__webpack_exports__);
1453/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ 34497);
1454/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 22560);
1455/* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app/app.module */ 33894);
1456/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ 51546);
1457
1458
1459
1460
1461if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.production) {
1462  (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.enableProdMode)();
1463}
1464const bootstrap = () => {
1465  _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__.platformBrowser().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_0__.AppModule).cat
1465ch(error => console.error(error));
1466};
1467if (document.readyState === 'complete') {
1468  bootstrap();
1469} else {
1470  document.addEventListener('DOMContentLoaded', bootstrap);
1471}
1472
1473/***/ }),
1474
1475/***/ 44528:
1476/*!**************************************************!*\
1477  !*** ./libs/core-ui/src/lib/constants/emojis.ts ***!
1478  \**************************************************/
1479/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1480
1481__webpack_require__.r(__webpack_exports__);
1482/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1483/* harmony export */   "EMOJIS": () => (/* binding */ EMOJIS)
1484/* harmony export */ });
1485const EMOJIS = {
1486  backhand_index_pointing_down: {
1487    src: '/assets/emojis/backhand-index-pointing-down.png',
1488    alt: '👇'
1489  },
1490  flushed_face: {
1491    src: '/assets/emojis/flushed-face.png',
1492    alt: '😳'
1493  },
1494  frowning_face_with_open_mouth: {
1495    src: '/assets/emojis/frowning-face-with-open-mouth.png',
1496    alt: '😦'
1497  },
1498  glowing_star: {
1499    src: '/assets/emojis/glowing-star.png',
1500    alt: '🌟'
1501  },
1502  handshake: {
1503    src: '/assets/emojis/handshake.png',
1504    alt: '🤝'
1505  },
1506  mage: {
1507    src: '/assets/emojis/mage.png',
1508    alt: '🧙'
1509  },
1510  partying_face: {
1511    src: '/assets/emojis/partying-face.png',
1512    alt: '🥳'
1513  },
1514  rocket: {
1515    src: '/assets/emojis/rocket.png',
1516    alt: '🚀'
1517  },
1518  sparkles: {
1519    src: '/assets/emojis/sparkles.png',
1520    alt: '✨'
1521  },
1522  waving_hand: {
1523    src: '/assets/emojis/waving-hand.png',
1524    alt: '👋'
1525  },
1526  winking_face: {
1527    src: '/assets/emojis/winking-face.png',
1528    alt: '😉'
1529  },
1530  worried_face: {
1531    src: '/assets/emojis/worried-face.png',
1532    alt: '😟'
1533  }
1534};
1535
1536/***/ }),
1537
1538/***/ 94840:
1539/*!************************************************!*\
1540  !*** ./libs/core-ui/src/lib/constants/icon.ts ***!
1541  \************************************************/
1542/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1543
1544__webpack_require__.r(__webpack_exports__);
1545/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1546/* harmony export */   "ICON_ID": () => (/* binding */ ICON_ID)
1547/* harmony export */ });
1548const ICON_ID = {
1549  /* Arrow */
1550  arrow_left: 'arrow-left',
1551  arrow_down_right: 'arrow-down-right',
1552  arrow_link_up_right: 'arrow-link-up-right',
1553  arrow_page_left: 'arrow-page-left',
1554  arrow_page_right: 'arrow-page-right',
1555  dropdown_arrow: 'dropdown-arrow' /** WARNING: Not in the specs of v2 */,
1556  drag_arrows: 'drag-arrows',
1557  /* Social Media */
1558  instagram: 'instagram',
1559  linkedin: 'linkedin',
1560  spotify: 'spotify',
1561  youtube: 'youtube',
1562  /* Miscellaneous */
1563  link: 'link',
1564  info: 'info',
1565  rocket: 'rocket',
1566  hourglass: 'hourglass',
1567  building_left: 'building-left',
1568  building_right: 'building-right',
1569  expand: 'expand',
1570  close: 'close',
1571  flower_1: 'flower-1',
1572  flower_2: 'flower-2',
1573  flower_3: 'flower-3',
1574  warning: 'warning',
1575  /* Services */
1576  automated_testing: 'automated-testing',
1577  backend_development: 'backend-development',
1578  frontend_development: 'frontend-development',
1579  software_development: 'software-development',
1580  web_app_design: 'web-app-design',
1581  web_app_development_alt: 'web-app-development-alt',
1582  web_app_development: 'web-app-development',
1583  web_development: 'web-development',
1584  website_design: 'website-design',
1585  website_development_alt: 'website-development-alt',
1586  website_development: 'website-development',
1587  workflow_automation: 'workflow-automation',
1588  /* Technologies */
1589  angular: 'angular',
1590  clickup: 'clickup',
1591  cypress: 'cypress',
1592  docker: 'docker',
1593  express: 'express',
1594  figma: 'figma',
1595  github_actions: 'github-actions',
1596  javascript: 'javascript',
1597  jasmine: 'jasmine',
1598  linear: 'linear',
1599  mongo: 'mongo',
1600  ngrx: 'ngrx',
1601  node: 'node',
1602  nx: 'nx',
1603  typescript: 'typescript'
1604};
1605
1606/***/ }),
1607
1608/***/ 85317:
1609/*!*************************************************!*\
1610  !*** ./libs/core-ui/src/lib/constants/index.ts ***!
1611  \*************************************************/
1612/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1613
1614__webpack_require__.r(__webpack_exports__);
1615/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1616/* harmony export */   "EMOJIS": () => (/* reexport safe */ _emojis__WEBPACK_IMPORTED_MODULE_2__.EMOJIS),
1617/* harmony export */   "ICON_ID": () => (/* reexport safe */ _icon__WEBPACK_IMPORTED_MODULE_0__.ICON_ID),
1618/* harmony export */   "MODAL_DATA_TOKEN": () => (/* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_1__.MODAL_DATA_TOKEN),
1619/* harmony export */   "MODAL_PROPS_ERROR": () => (/* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_1__.MODAL_PROPS_ERROR),
1620/* harmony export */   "MODAL_PROPS_SUCCESS": () => (/* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_1__.MODAL_PROPS_SUCCESS)
1621/* harmony export */ });
1622/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icon */ 94840);
1623/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modal */ 80518);
1624/* harmony import */ var _emojis__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./emojis */ 44528);
1625
1626
1627
1628
1629/***/ }),
1630
1631/***/ 80518:
1632/*!*************************************************!*\
1633  !*** ./libs/core-ui/src/lib/constants/modal.ts ***!
1634  \*************************************************/
1635/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1636
1637__webpack_require__.r(__webpack_exports__);
1638/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1639/* harmony export */   "MODAL_DATA_TOKEN": () => (/* binding */ MODAL_DATA_TOKEN),
1640/* harmony export */   "MODAL_PROPS_ERROR": () => (/* binding */ MODAL_PROPS_ERROR),
1641/* harmony export */   "MODAL_PROPS_SUCCESS": () => (/* binding */ MODAL_PROPS_SUCCESS)
1642/* harmony export */ });
1643/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 22560);
1644/* harmony import */ var _emojis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./emojis */ 44528);
1645
1646
1647const MODAL_DATA_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('MODAL_DATA');
1648/**
1649 * MODAL_PROPS_SUCCESS is a constant that contains all the data needed to create a modal
1650 *
1651 * @example
1652 * If you need to add different data, you may consider doing:
1653 *
1654 * ```ts
1655 * const modalReference = this._modalService.open(SuccessModalComponent,
1656 *  {
1657 *    ...MODAL_PROPS_SUCCESS,
1658 *    title: 'new title',
1659 *    description: 'new description'
1660 *  }
1661 * ```
1662 * */
1663const MODAL_PROPS_SUCCESS = {
1664  type: 'success',
1665  title: 'Check your email box',
1666  description: "We sent you an email with a link to schedule your free consultation meeting with our CEO. If you don't receive it, remember to check your spam box.",
1667  highlight: {
1668    color: 'green',
1669    emojiAlt: _emojis__WEBPACK_IMPORTED_MODULE_0__.EMOJIS.partying_face.alt,
1670    emojiSrc: _emojis__WEBPACK_IMPORTED_MODULE_0__.EMOJIS.partying_face.src,
1671    text: 'Great!'
1672  },
1673  ariaLabel: 'Form successfully submitted',
1674  buttonLabel: 'Ok'
1675};
1676/**
1677 * MODAL_PROPS_ERROR is a constant that contains all the data needed to create a modal
1678 *
1679 * @example
1680 * If you need to add different data, you may consider doing:
1681 *
1682 * ```ts
1683 * const modalReference = this._modalService.open(ErrorModalComponent,
1684 *  {
1685 *    ...MODAL_PROPS_ERROR,
1686 *    title: 'new title',
1687 *    description: 'new description'
1688 *  }
1689 * ```
1690 * */
1691const MODAL_PROPS_ERROR = {
1692  type: 'error',
1693  title: 'Something went wrong',
1694  description: 'We encountered an error while trying to complete this. Please, try again.',
1695  highlight: {
1696    color: 'orange',
1697    emojiAlt: _emojis__WEBPACK_IMPORTED_MODULE_0__.EMOJIS.frowning_face_with_open_mouth.alt,
1698    emojiSrc: _emojis__WEBPACK_IMPORTED_MODULE_0__.EMOJIS.frowning_face_with_open_mouth.src,
1699    text: 'Oops!'
1700  },
1701  ariaLabel: 'Failed to submit form',
1702  buttonLabel: 'Close'
1703};
1704
1705/***/ }),
1706
1707/***/ 67659:
1708/*!************************************************!*\
1709  !*** ./libs/core-ui/src/lib/services/index.ts ***!
1710  \************************************************/
1711/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1712
1713__webpack_require__.r(__webpack_exports__);
1714/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1715/* harmony export */   "ModalModule": () => (/* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_0__.ModalModule),
1716/* harmony export */   "ModalReference": () => (/* reexport safe */ _modal_reference__WEBPACK_IMPORTED_MODULE_1__.ModalReference),
1717/* harmony export */   "ModalService": () => (/* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_0__.ModalService)
1718/* harmony export */ });
1719/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modal */ 26938);
1720/* harmony import */ var _modal_reference__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modal-reference */ 72467);
1721
1722
1723
1724/***/ }),
1725
1726/***/ 72467:
1727/*!****************************************************************!*\
1728  !*** ./libs/core-ui/src/lib/services/modal-reference/index.ts ***!
1729  \****************************************************************/
1730/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1731
1732__webpack_require__.r(__webpack_exports__);
1733/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1734/* harmony export */   "ModalReference": () => (/* reexport safe */ _modal_reference_service__WEBPACK_IMPORTED_MODULE_0__.ModalReference)
1735/* harmony export */ });
1736/* harmony import */ var _modal_reference_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modal-reference.service */ 53916);
1737
1738
1739/***/ }),
1740
1741/***/ 53916:
1742/*!**********************************************************************************!*\
1743  !*** ./libs/core-ui/src/lib/services/modal-reference/modal-reference.service.ts ***!
1744  \**********************************************************************************/
1745/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1746
1747__webpack_require__.r(__webpack_exports__);
1748/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1749/* harmony export */   "ModalReference": () => (/* binding */ ModalReference)
1750/* harmony export */ });
1751/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 80228);
1752/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 22560);
1753
1754
1755/**
1756 * It's used to get a reference from the `Modal` in the current context
1757 *
1758 * @example Adding the `close` feature to a `Modal` component
1759 *
1760 * Suppose that we had the following `Component`:
1761 *
1762 * ```ts
1763 * class MyComponent {
1764 *   constructor(private readonly _modalService: ModalService) {}
1765 *
1766 *   public async openModal(): Promise<void> {
1767 *     // Open the modal and get the reference
1768 *     const close$ = this._modalService.open(MyModalComponent);
1769 *
1770 *     // Await to close
1771 *     await firstValueFrom(close$);
1772 *   }
1773 * }
1774 * ```
1775 *
1776 * Then the user trigger the `openModal` function, the `MyModalComponent` appears, and the user
1777 * already see everything that he needed.
1778 *
1779 * Now, how can we close that? Well, we need to inject this service inside the
1780 * `MyModalComponent`, then we can use a trigger to close the `Modal`
1781 *
1782 * The modal will look like that:
1783 *
1784 * ```
1785 * class MyModalComponent {
1786 *   constructor(private readonly _modalReference: ModalReference) {}
1787 *
1788 *   public close(): void {
1789 *     this._modalReference.close(null);
1790 *   }
1791 * }
1792 * ```
1793 *
1794 * The opened `Modal` will be destroyed after the use calls the `close` action, because an
1795 * unique instance of `ModalReference` was attached to the `modal` inside the `open` operations
1796 * of `ModalService`
1797 */
1798class ModalReference {
1799  constructor() {
1800    /** Emits when we wanna close the modal */
1801    this._close$ = new rxjs__WEBPACK_IMPORTED_MODULE_0__.Subject();
1802    this.close$ = this._close$.asObservable();
1803  }
1804  /**
1805   * Triggers an action to close the modal
1806   *
1807   * @param data - The output data to send to emit when closed
1808   */
1809  close(data) {
1810    this._close$.next(data ?? null);
1811    this._close$.complete();
1812  }
1813}
1814ModalReference.ɵfac = function ModalReference_Factory(t) {
1815  return new (t || ModalReference)();
1816};
1817ModalReference.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
1818  token: ModalReference,
1819  factory: ModalReference.ɵfac,
1820  providedIn: 'platform'
1821});
1822
1823/***/ }),
1824
1825/***/ 26938:
1826/*!******************************************************!*\
1827  !*** ./libs/core-ui/src/lib/services/modal/index.ts ***!
1828  \******************************************************/
1829/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1830
1831__webpack_require__.r(__webpack_exports__);
1832/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1833/* harmony export */   "ModalModule": () => (/* reexport safe */ _modal_module__WEBPACK_IMPORTED_MODULE_1__.ModalModule),
1834/* harmony export */   "ModalService": () => (/* reexport safe */ _modal_service__WEBPACK_IMPORTED_MODULE_0__.ModalService)
1835/* harmony export */ });
1836/* harmony import */ var _modal_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modal.service */ 42403);
1837/* harmony import */ var _modal_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modal.module */ 37761);
1838
1839
1840
1841/***/ }),
1842
1843/***/ 37761:
1844/*!*************************************************************!*\
1845  !*** ./libs/core-ui/src/lib/services/modal/modal.module.ts ***!
1846  \*************************************************************/
1847/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1848
1849__webpack_require__.r(__webpack_exports__);
1850/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1851/* harmony export */   "ModalModule": () => (/* binding */ ModalModule)
1852/* harmony export */ });
1853/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/overlay */ 25895);
1854/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 22560);
1855
1856
1857class ModalModule {}
1858ModalModule.ɵfac = function ModalModule_Factory(t) {
1859  return new (t || ModalModule)();
1860};
1861ModalModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
1862  type: ModalModule
1863});
1864ModalModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
1865  imports: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_1__.OverlayModule]
1866});
1867(function () {
1868  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ModalModule, {
1869    imports: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_1__.OverlayModule]
1870  });
1871})();
1872
1873/***/ }),
1874
1875/***/ 42403:
1876/*!**************************************************************!*\
1877  !*** ./libs/core-ui/src/lib/services/modal/modal.service.ts ***!
1878  \**************************************************************/
1879/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1880
1881__webpack_require__.r(__webpack_exports__);
1882/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1883/* harmony export */   "ModalService": () => (/* binding */ ModalService)
1884/* harmony export */ });
1885/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk/overlay */ 25895);
1886/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/portal */ 17520);
1887/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 22560);
1888/* harmony import */ var _core_ui_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core-ui/constants */ 85317);
1889/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 80228);
1890/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 60116);
1891/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 80155);
1892/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 68951);
1893/* harmony import */ var _modal_reference__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../modal-reference */ 72467);
1894/* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/cdk/a11y */ 24218);
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905class ModalService {
1906  constructor(_injector, _overlay, _focusTrapFactory) {
1907    this._injector = _injector;
1908    this._overlay = _overlay;
1909    this._focusTrapFactory = _focusTrapFactory;
1910    this._unsubscribe$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject();
1911  }
1912  ngOnDestroy() {
1913    this._unsubscribe$.next();
1914    this._unsubscribe$.complete();
1915  }
1916  /**
1917   * We can't inject `setRootViewContainerRef` directly inside a service provided by the 'root',
1918   * so to work around that we're injecting this inside `app.component` and calling this function there
1919   */
1920  setViewContainerReference(viewContainerReference) {
1921    this._viewContainerReference = viewContainerReference;
1922  }
1923  /**
1924   * Will instantiate a component modal and attach to the view
1925   *
1926   * @param component - The component to use as a modal
1927   * @param data - The optional data to inject inside modal
1928   * @returns A subscription that will emit after the close action be triggered
1929   */
1930  open(component, data) {
1931    // * Initialize overlay
1932    const overlayReference = this._overlay.create(this._getOverlayConfig());
1933    // * Create focus trap, so the user can't tab outside the modal
1934    const focusTrap = this._focusTrapFactory.create(overlayReference.overlayElement);
1935    focusTrap.focusFirstTabbableElementWhenReady();
1936    // * Inject all the given modal's data
1937    const modalReference = new _modal_reference__WEBPACK_IMPORTED_MODULE_1__.ModalReference();
1938    const injector = _angular_core__WEBPACK_IMPORTED_MODULE_3__.Injector.create({
1939      parent: this._injector,
1940      providers: [{
1941        provide: _core_ui_constants__WEBPACK_IMPORTED_MODULE_0__.MODAL_DATA_TOKEN,
1942        useValue: data
1943      }, {
1944        provide: _modal_reference__WEBPACK_IMPORTED_MODULE_1__.ModalReference,
1945        useValue: modalReference
1946      }]
1947    });
1948    // * Create component portal
1949    const componentPortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_4__.ComponentPortal(component, this._viewContainerReference, injector);
1950    // * Attach to the view
1951    const componentReference = overlayReference.attach(componentPortal);
1952    // * Get the backdrop click and escape keydown events
1953    const backdropClick$ = overlayReference.backdropClick();
1954    const escapeKeydown$ = overlayReference.keydownEvents().pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_5__.filter)(event => event.key === 'Escape'));
1955    // * Close the modal when the user either clicks outside the modal or press the escape key
1956    const backdropSubscription = backdropClick$.pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_6__.first)(),
1957    // Completes when the user press the `Escape` key
1958    (0,rxjs__WEBPACK_IMPORTED_MODULE_7__.takeUntil)(escapeKeydown$),
1959    // Completes if clicked outside the component
1960    (0,rxjs__WEBPACK_IMPORTED_MODULE_7__.takeUntil)(this._listenCustomBackdropClick(overlayReference)), (0,rxjs__WEBPACK_IMPORTED_MODULE_7__.takeUntil)(this._unsubscribe$)).subscribe({
1961      complete: () => {
1962        modalReference.close();
1963      }
1964    });
1965    modalReference.close$.pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_6__.first)(), (0,rxjs__WEBPACK_IMPORTED_MODULE_7__.takeUntil)(this._unsubscribe$)).subscribe({
1966      complete: () => {
1967        // TODO: may have a better option to fix that later
1968        backdropSubscription.unsubscribe();
1969        // * Destroy all modal related values
1970        componentReference.destroy();
1971        focusTrap.destroy();
1972      }
1973    });
1974    // * Returns the data
1975    return {
1976      data$: modalReference.close$
1977    };
1978  }
1979  _listenCustomBackdropClick(overlayReference) {
1980    const customDropdownClicked$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject();
1981    // The container element from the component that we're using as modal (e.g: `<app-tech-talk-modal>...`)
1982    const containerElement = overlayReference.overlayElement;
1983    /** We need that because the scroll modal design has the `scroll` bar in the corner of the screen, but to achieve that we need to use add some styles that overlay the default overlay `Backdrop`, and we need to verify when we're clicking outside the modal to close that  */
1984    overlayReference.hostElement.addEventListener('click', event => {
1985      // * Check if the user had clicked at the container element (P.S: it'll be true in case the click happens in the container, none children or parents are valid)
1986      if (event.target === containerElement) {
1987        customDropdownClicked$.next();
1988        customDropdownClicked$.complete();
1989      }
1990    });
1991    return customDropdownClicked$.asObservable();
1992  }
1993  /**
1994   * Init a `OverlayConfig` with default options
1995   *
1996   * @returns A standalone config for overlay
1997   */
1998  _getOverlayConfig() {
1999    return new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_8__.OverlayConfig({
2000      // * Setup
2001      hasBackdrop: true,
2002      disposeOnNavigation: true,
2003      // * Custom CSS classes
2004      backdropClass: 'modal-backdrop',
2005      panelClass: 'modal-panel',
2006      // * Strategy
2007      scrollStrategy: this._overlay.scrollStrategies.block(),
2008      positionStrategy: this._overlay.position().global().centerHorizontally().centerVertically()
2009    });
2010  }
2011}
2012ModalService.ɵfac = function ModalService_Factory(t) {
2013  return new (t || ModalService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_3__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_8__.Overlay), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_9__.ConfigurableFocusTrapFactory));
2014};
2015ModalService.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({
2016  token: ModalService,
2017  factory: ModalService.ɵfac,
2018  providedIn: 'root'
2019});
2020
2021/***/ }),
2022
2023/***/ 91500:
2024/*!*********************************************!*\
2025  !*** ./libs/unvoid-interfaces/src/index.ts ***!
2026  \*********************************************/
2027/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2028
2029__webpack_require__.r(__webpack_exports__);
2030/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2031/* harmony export */   "COMPANY_EMPLOYEES": () => (/* reexport safe */ _lib_company__WEBPACK_IMPORTED_MODULE_2__.COMPANY_EMPLOYEES),
2032/* harmony export */   "DEADLINE_MAXIMUM_DAYS": () => (/* reexport safe */ _lib_project__WEBPACK_IMPORTED_MODULE_3__.DEADLINE_MAXIMUM_DAYS),
2033/* harmony export */   "DEADLINE_MINIMUM_DAYS": () => (/* reexport safe */ _lib_project__WEBPACK_IMPORTED_MODULE_3__.DEADLINE_MINIMUM_DAYS),
2034/* harmony export */   "PROJECT_BUDGET": () => (/* reexport safe */ _lib_project__WEBPACK_IMPORTED_MODULE_3__.PROJECT_BUDGET),
2035/* harmony export */   "PROJECT_STAGE_TYPE": () => (/* reexport safe */ _lib_project__WEBPACK_IMPORTED_MODULE_3__.PROJECT_STAGE_TYPE),
2036/* harmony export */   "isBusiness": () => (/* reexport safe */ _lib_business__WEBPACK_IMPORTED_MODULE_1__.isBusiness),
2037/* harmony export */   "isCompany": () => (/* reexport safe */ _lib_company__WEBPACK_IMPORTED_MODULE_2__.isCompany),
2038/* harmony export */   "isProject": () => (/* reexport safe */ _lib_project__WEBPACK_IMPORTED_MODULE_3__.isProject)
2039/* harmony export */ });
2040/* harmony import */ var _lib_contact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/contact */ 9367);
2041/* harmony import */ var _lib_business__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lib/business */ 8879);
2042/* harmony import */ var _lib_company__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./lib/company */ 47457);
2043/* harmony import */ var _lib_project__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./lib/project */ 26834);
2044/* harmony import */ var _lib_image__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./lib/image */ 74638);
2045/* harmony import */ var _lib_animations__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./lib/animations */ 7321);
2046
2047
2048
2049
2050
2051
2052
2053/***/ }),
2054
2055/***/ 7321:
2056/*!******************************************************!*\
2057  !*** ./libs/unvoid-interfaces/src/lib/animations.ts ***!
2058  \******************************************************/
2059/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2060
2061__webpack_require__.r(__webpack_exports__);
2062
2063
2064/***/ }),
2065
2066/***/ 8879:
2067/*!****************************************************!*\
2068  !*** ./libs/unvoid-interfaces/src/lib/business.ts ***!
2069  \****************************************************/
2070/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2071
2072__webpack_require__.r(__webpack_exports__);
2073/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2074/* harmony export */   "isBusiness": () => (/* binding */ isBusiness)
2075/* harmony export */ });
2076// TODO: move to utils
2077const isBusiness = value => {
2078  return value !== undefined;
2079};
2080
2081/***/ }),
2082
2083/***/ 47457:
2084/*!***************************************************!*\
2085  !*** ./libs/unvoid-interfaces/src/lib/company.ts ***!
2086  \***************************************************/
2087/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2088
2089__webpack_require__.r(__webpack_exports__);
2090/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2091/* harmony export */   "COMPANY_EMPLOYEES": () => (/* binding */ COMPANY_EMPLOYEES),
2092/* harmony export */   "isCompany": () => (/* binding */ isCompany)
2093/* harmony export */ });
2094var COMPANY_EMPLOYEES;
2095(function (COMPANY_EMPLOYEES) {
2096  COMPANY_EMPLOYEES["startup"] = "1-9";
2097  COMPANY_EMPLOYEES["business"] = "10-49";
2098  COMPANY_EMPLOYEES["commerce"] = "50-249";
2099  COMPANY_EMPLOYEES["enterprise"] = "250-999";
2100  COMPANY_EMPLOYEES["corporation"] = "1000-9999";
2101  COMPANY_EMPLOYEES["multinational"] = "10000+";
2102})(COMPANY_EMPLOYEES || (COMPANY_EMPLOYEES = {}));
2103// TODO: move to utils
2104const isCompany = value => {
2105  return value !== null;
2106};
2107
2108/***/ }),
2109
2110/***/ 9367:
2111/*!***************************************************!*\
2112  !*** ./libs/unvoid-interfaces/src/lib/contact.ts ***!
2113  \***************************************************/
2114/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2115
2116__webpack_require__.r(__webpack_exports__);
2117
2118
2119/***/ }),
2120
2121/***/ 74638:
2122/*!*************************************************!*\
2123  !*** ./libs/unvoid-interfaces/src/lib/image.ts ***!
2124  \*************************************************/
2125/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2126
2127__webpack_require__.r(__webpack_exports__);
2128
2129
2130/***/ }),
2131
2132/***/ 26834:
2133/*!***************************************************!*\
2134  !*** ./libs/unvoid-interfaces/src/lib/project.ts ***!
2135  \***************************************************/
2136/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2137
2138__webpack_require__.r(__webpack_exports__);
2139/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2140/* harmony export */   "DEADLINE_MAXIMUM_DAYS": () => (/* binding */ DEADLINE_MAXIMUM_DAYS),
2141/* harmony export */   "DEADLINE_MINIMUM_DAYS": () => (/* binding */ DEADLINE_MINIMUM_DAYS),
2142/* harmony export */   "PROJECT_BUDGET": () => (/* binding */ PROJECT_BUDGET),
2143/* harmony export */   "PROJECT_STAGE_TYPE": () => (/* binding */ PROJECT_STAGE_TYPE),
2144/* harmony export */   "isProject": () => (/* binding */ isProject)
2145/* harmony export */ });
2146var PROJECT_BUDGET;
2147(function (PROJECT_BUDGET) {
2148  PROJECT_BUDGET["initial"] = "25-50";
2149  PROJECT_BUDGET["small"] = "50-200";
2150  PROJECT_BUDGET["medium"] = "200-500";
2151  PROJECT_BUDGET["unlimited"] = "+500";
2152})(PROJECT_BUDGET || (PROJECT_BUDGET = {}));
2153var PROJECT_STAGE_TYPE;
2154(function (PROJECT_STAGE_TYPE) {
2155  PROJECT_STAGE_TYPE["new"] = "New Project";
2156  PROJECT_STAGE_TYPE["existing"] = "Existing Project";
2157  PROJECT_STAGE_TYPE["augmentation"] = "Team Augmentation";
2158})(PROJECT_STAGE_TYPE || (PROJECT_STAGE_TYPE = {}));
2159const isProject = value => {
2160  return value !== null;
2161};
2162/** The smallest date (in days) of the deadline field */
2163const DEADLINE_MINIMUM_DAYS = 30; // One month
2164/** The biggest date (in days) of the deadline field */
2165const DEADLINE_MAXIMUM_DAYS = 365 * 5; // Five years
2166
2167/***/ })
2168
2169},
2170/******/ __webpack_require__ => { // webpackRuntimeModules
2171/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
2172/******/ __webpack_require__.O(0, ["vendor"], () => (__webpack_exec__(61952)));
2173/******/ var __webpack_exports__ = __webpack_require__.O();
2174/******/ }
2175]);
2176//# sourceMappingURL=main.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.