-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsrc_app_contact_contact_module_ts.js
512 lines (456 loc) · 30.1 KB
/
src_app_contact_contact_module_ts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
"use strict";
(self["webpackChunkladybird"] = self["webpackChunkladybird"] || []).push([["src_app_contact_contact_module_ts"],{
/***/ 4107:
/*!*********************************************************!*\
!*** ./src/app/contact/components/faq/faq.component.ts ***!
\*********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ FAQComponent: () => (/* binding */ FAQComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 6575);
const _c0 = function (a0, a1) {
return {
"text-red": a0,
"text-orange": a1
};
};
class FAQComponent {
constructor() {
this.question = 'Sample FAQ question';
this.answer = 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse';
this.isEven = false;
}
ngOnInit() {}
static #_ = this.ɵfac = function FAQComponent_Factory(t) {
return new (t || FAQComponent)();
};
static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
type: FAQComponent,
selectors: [["app-faq"]],
inputs: {
question: "question",
answer: "answer",
isEven: "isEven"
},
decls: 4,
vars: 6,
consts: [[1, "p", "bold", 3, "ngClass"]],
template: function FAQComponent_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h4", 0);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "p");
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
}
if (rf & 2) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](3, _c0, ctx.isEven === false, ctx.isEven === true));
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.question, "\n");
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.answer, "\n");
}
},
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgClass],
encapsulation: 2
});
}
/***/ }),
/***/ 6446:
/*!*************************************************************!*\
!*** ./src/app/contact/components/hotel/hotel.component.ts ***!
\*************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ HotelComponent: () => (/* binding */ HotelComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 6575);
function HotelComponent_div_5_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5)(1, "p");
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
}
if (rf & 2) {
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.description);
}
}
function HotelComponent_ul_6_ng_container_1_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "li");
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
}
if (rf & 2) {
const feature_r3 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", feature_r3, " ");
}
}
function HotelComponent_ul_6_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ul", 6);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, HotelComponent_ul_6_ng_container_1_Template, 3, 1, "ng-container", 7);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
}
if (rf & 2) {
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.features);
}
}
class HotelComponent {
constructor() {
this.name = 'Hotel Name';
this.description = 'Description ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse';
this.url = 'https://www.google.com';
this.features = ['Feature A', 'Feature B', 'Feature C'];
}
ngOnInit() {}
static #_ = this.ɵfac = function HotelComponent_Factory(t) {
return new (t || HotelComponent)();
};
static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
type: HotelComponent,
selectors: [["app-hotel"]],
inputs: {
name: "name",
description: "description",
url: "url",
features: "features"
},
decls: 7,
vars: 4,
consts: [[1, "mb-12"], [1, "h5", "strong"], ["target", "_blank", 3, "href"], ["class", "prose", 4, "ngIf"], ["class", "ul", 4, "ngIf"], [1, "prose"], [1, "ul"], [4, "ngFor", "ngForOf"]],
template: function HotelComponent_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div")(1, "div", 0)(2, "h3", 1)(3, "a", 2);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, HotelComponent_div_5_Template, 3, 1, "div", 3);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, HotelComponent_ul_6_Template, 2, 1, "ul", 4);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
}
if (rf & 2) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("href", ctx.url, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.name, " ");
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.description);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.features.length > 0);
}
},
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf],
encapsulation: 2
});
}
/***/ }),
/***/ 915:
/*!*******************************************!*\
!*** ./src/app/contact/contact.module.ts ***!
\*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ ContactModule: () => (/* binding */ ContactModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _routing_contact_routing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./routing/contact.routing */ 8361);
/* harmony import */ var _views_contact_contact_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./views/contact/contact.component */ 7991);
/* harmony import */ var _app_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @app/layout/layout.module */ 4470);
/* harmony import */ var _app_shared_shared_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @app/shared/shared.module */ 6208);
/* harmony import */ var _components_hotel_hotel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/hotel/hotel.component */ 6446);
/* harmony import */ var _components_faq_faq_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/faq/faq.component */ 4107);
/* harmony import */ var _views_contact_container_contact_container_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./views/contact-container/contact-container.component */ 7726);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 1699);
class ContactModule {
static #_ = this.ɵfac = function ContactModule_Factory(t) {
return new (t || ContactModule)();
};
static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({
type: ContactModule
});
static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({
imports: [_routing_contact_routing__WEBPACK_IMPORTED_MODULE_0__.ContactRoutingModule, _app_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__.LayoutModule, _angular_common__WEBPACK_IMPORTED_MODULE_8__.CommonModule, _app_shared_shared_module__WEBPACK_IMPORTED_MODULE_3__.SharedModule]
});
}
(function () {
(typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](ContactModule, {
declarations: [_views_contact_container_contact_container_component__WEBPACK_IMPORTED_MODULE_6__.ContactContainerComponent, _components_faq_faq_component__WEBPACK_IMPORTED_MODULE_5__.FAQComponent, _views_contact_contact_component__WEBPACK_IMPORTED_MODULE_1__.ContactComponent, _components_hotel_hotel_component__WEBPACK_IMPORTED_MODULE_4__.HotelComponent],
imports: [_routing_contact_routing__WEBPACK_IMPORTED_MODULE_0__.ContactRoutingModule, _app_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__.LayoutModule, _angular_common__WEBPACK_IMPORTED_MODULE_8__.CommonModule, _app_shared_shared_module__WEBPACK_IMPORTED_MODULE_3__.SharedModule]
});
})();
/***/ }),
/***/ 7916:
/*!*******************************************************!*\
!*** ./src/app/contact/resolvers/contact.resolver.ts ***!
\*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ contactDataResolver: () => (/* binding */ contactDataResolver)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _assets_json_organizers_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../assets/json/organizers.json */ 736);
function contactDataResolver(route) {
const transferState = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TransferState);
const key = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.makeStateKey)("contact");
const storedData = transferState.get(key, null);
if (storedData) {
return storedData;
} else {
const response = new Promise(resolve => resolve(_assets_json_organizers_json__WEBPACK_IMPORTED_MODULE_0__));
return response.then(data => {
transferState.set(key, data);
return data;
});
}
}
/***/ }),
/***/ 8361:
/*!****************************************************!*\
!*** ./src/app/contact/routing/contact.routing.ts ***!
\****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ ContactRoutingModule: () => (/* binding */ ContactRoutingModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 7947);
/* harmony import */ var _views_contact_contact_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../views/contact/contact.component */ 7991);
/* harmony import */ var _views_contact_container_contact_container_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../views/contact-container/contact-container.component */ 7726);
/* harmony import */ var _resolvers_contact_resolver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../resolvers/contact.resolver */ 7916);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 1699);
const routes = [{
path: '',
component: _views_contact_container_contact_container_component__WEBPACK_IMPORTED_MODULE_1__.ContactContainerComponent,
children: [{
path: '',
pathMatch: 'full',
component: _views_contact_contact_component__WEBPACK_IMPORTED_MODULE_0__.ContactComponent,
resolve: {
contact: _resolvers_contact_resolver__WEBPACK_IMPORTED_MODULE_2__.contactDataResolver
}
}]
}];
class ContactRoutingModule {
static #_ = this.ɵfac = function ContactRoutingModule_Factory(t) {
return new (t || ContactRoutingModule)();
};
static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({
type: ContactRoutingModule
});
static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({
imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule.forChild(routes), _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule]
});
}
(function () {
(typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](ContactRoutingModule, {
imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule],
exports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule]
});
})();
/***/ }),
/***/ 7726:
/*!********************************************************************************!*\
!*** ./src/app/contact/views/contact-container/contact-container.component.ts ***!
\********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ ContactContainerComponent: () => (/* binding */ ContactContainerComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 7947);
class ContactContainerComponent {
constructor() {}
static #_ = this.ɵfac = function ContactContainerComponent_Factory(t) {
return new (t || ContactContainerComponent)();
};
static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
type: ContactContainerComponent,
selectors: [["app-speakers-container"]],
decls: 1,
vars: 0,
template: function ContactContainerComponent_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "router-outlet");
}
},
dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_1__.RouterOutlet],
encapsulation: 2
});
}
/***/ }),
/***/ 7991:
/*!************************************************************!*\
!*** ./src/app/contact/views/contact/contact.component.ts ***!
\************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ ContactComponent: () => (/* binding */ ContactComponent)
/* harmony export */ });
/* harmony import */ var _home_runner_work_WebSite_WebSite_browser_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 8849);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/router */ 7947);
/* harmony import */ var _layout_components_underlined_heading_underlined_heading_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../layout/components/underlined-heading/underlined-heading.component */ 1976);
/* harmony import */ var _layout_components_shell_shell_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../layout/components/shell/shell.component */ 1279);
/* harmony import */ var _layout_components_header_header_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../layout/components/header/header.component */ 8246);
/* harmony import */ var _layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../layout/components/footer/footer.component */ 7114);
class ContactComponent {
constructor(formBuilder, activatedRoute) {
this.formBuilder = formBuilder;
this.activatedRoute = activatedRoute;
this.form = this.formBuilder.group({
name: this.formBuilder.control(null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required),
email: this.formBuilder.control(null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required),
subject: this.formBuilder.control(null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required),
message: this.formBuilder.control(null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required)
});
this.mapURL = 'https://goo.gl/maps/rjdq3G6sKLZWrNbE7';
this.subjectOptions = [{
label: 'Speaking',
value: 'speaking'
}, {
label: 'Sponsoring',
value: 'sponsoring'
}, {
label: 'Volunteering',
value: 'volunteering'
}, {
label: 'Other',
value: 'other'
}];
this.hotels = [{
name: 'AmericInn Lodge & Suites',
description: '',
url: 'https://www.wyndhamhotels.com/americinn/ankeny-iowa/americinn-lodge-and-suites-ankeny-des-moines/overview',
features: ['20 rooms @ $84.99/night (normally $99.99/night)', 'Room Block Code: Iowa Code Camp', 'Free WiFi', 'Free hot breakfast', 'Indoor heated pool']
}];
this.faqsPrior = [{
question: 'Can I register and buy a ticket at the event?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'Is there a dress code for the event?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'Do I need to bring my laptop to the event?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'Should I bring my wallet to the event?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}];
this.faqsAtEvent = [{
question: 'What parking arrangements are available at the venue?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'I booked at the preferred hotel. Are there any shuttles organized to transport me to the event?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'Where do I go to check in?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'Does the event venue have wi-fi?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'Where is the exhibition hall located?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'If I lose my ticket, where can I get a replacement?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}, {
question: 'How do I download the event app?',
answer: 'Answer ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}];
}
ngOnInit() {
return (0,_home_runner_work_WebSite_WebSite_browser_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {})();
} // const allSessionizeData = await this.activatedRoute.snapshot.data["contact"];
// this.sessions = allSessionizeData.sessions;
handleSubjectChange(subject) {
console.log('handleSubjectChange', subject);
}
submitForm() {
console.log('submit form');
}
static #_ = this.ɵfac = function ContactComponent_Factory(t) {
return new (t || ContactComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_7__.ActivatedRoute));
};
static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({
type: ContactComponent,
selectors: [["app-contact"]],
decls: 39,
vars: 5,
consts: [["pageTitle", "Contact"], [1, "bg-gray-dark", "px-16", "py-48", "mb-60"], [1, "max-w-1024", "mx-auto", "text-white"], [1, "grid", "md:grid-cols-2", "gap-64"], [1, "col-span-1"], ["text", "Got Questions?", 3, "reverse"], [1, "mb-32"], ["href", "mailto:[email protected]", "target", "_blank", 1, "block", "border-2", "text-center", "rounded-8", "px-16", "py-8", "rounded", "transition", "w-full", "bg-red-orange", "border-transparent"], [1, "strong", "text-white"], ["text", "Need Directions?", 3, "reverse"], ["target", "_blank", 1, "block", 3, "href"], ["src", "assets/images/ffa-enrichment-center.jpg", 1, "w-full", "h-auto"], [1, "not-italic"], ["target", "_blank", 1, "a", "text-orange", 3, "href"], [1, "mb-60"], ["text", "Hotels", 3, "alignment"], [1, "max-w-640", "prose", "mx-auto"]],
template: function ContactComponent_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "router-outlet")(1, "app-header");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](2, "app-shell", 0)(3, "section", 1)(4, "div", 2)(5, "div", 3)(6, "div", 4);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](7, "app-underlined-heading", 5);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](8, "div", 6)(9, "p");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](10, " Please send us a message and we will respond as soon as possible. Thanks! ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](11, "div")(12, "a", 7)(13, "span", 8);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](14, "Email Us");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](15, "div", 4);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](16, "app-underlined-heading", 9);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](17, "div", 6)(18, "p");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](19, " There's a map for that. ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](20, "div", 6)(21, "a", 10);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](22, "img", 11);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](23, "address", 12);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](24, " FFA Enrichment Center");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](25, "br");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](26, " 1055 SW Prairie Trail Parkway");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](27, "br");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](28, " Ankeny, Iowa 50023");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](29, "br");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](30, "a", 13);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](31, " Google Map ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](32, "section", 14)(33, "div", 6);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](34, "app-underlined-heading", 15);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](35, "div", 16)(36, "p");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](37, " There are many hotels that are good selections at the intersection of I-35 and SE Oralabor Rd. ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](38, "app-footer");
}
if (rf & 2) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](7);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("reverse", true);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](9);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("reverse", true);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](5);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpropertyInterpolate"]("href", ctx.mapURL, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsanitizeUrl"]);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](9);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpropertyInterpolate"]("href", ctx.mapURL, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsanitizeUrl"]);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("alignment", "center");
}
},
dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_7__.RouterOutlet, _layout_components_underlined_heading_underlined_heading_component__WEBPACK_IMPORTED_MODULE_1__.UnderlinedHeadingComponent, _layout_components_shell_shell_component__WEBPACK_IMPORTED_MODULE_2__.ShellComponent, _layout_components_header_header_component__WEBPACK_IMPORTED_MODULE_3__.HeaderComponent, _layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_4__.FooterComponent],
encapsulation: 2
});
}
/***/ })
}]);
//# sourceMappingURL=src_app_contact_contact_module_ts.js.map