{"version":3,"sources":["webpack:///./src/app/components/form-footer/form-footer.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/services/form-control.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/form-control.service.ts","webpack:///./src/app/models/fb-field-type-id.enum.ts.pre-build-optimizer.js","webpack:///./src/app/models/fb-field-type-id.enum.ts","webpack:///./src/app/pre-chat/pre-chat.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/pre-chat/pre-chat.component.html","webpack:///./src/app/components/form/form.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/form/form.component.html","webpack:///./src/app/services/pre-chat.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/pre-chat.service.ts","webpack:///./src/app/components/form/form.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/pre-chat/pre-chat-app.module.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/shared/directives/email.directive.ts.pre-build-optimizer.js","webpack:///./src/app/shared/directives/email.directive.ts","webpack:///./src/app/components/form-header/form-header.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/form-header/form-header.component.html","webpack:///./src/app/models/chat-type-model.ts.pre-build-optimizer.js","webpack:///./src/app/models/chat-type-model.ts","webpack:///./src/app/components/form-field/form-field.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/form-field/form-field.component.html","webpack:///./src/app/shared/index.ts.pre-build-optimizer.js","webpack:///./src/app/shared/index.ts","webpack:///./src/app/components/form-field/form-field.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/form-field/form-field.component.ts","webpack:///./src/app/shared/pre-chat-constants.ts.pre-build-optimizer.js","webpack:///./src/app/shared/pre-chat-constants.ts","webpack:///./src/app/pre-chat/pre-chat.component.ts.pre-build-optimizer.js","webpack:///./src/app/pre-chat/pre-chat.component.ts","webpack:///./src/app/pre-chat/pre-chat.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/form-footer/form-footer.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/form-footer/form-footer.component.html","webpack:///./src/app/components/form-footer/form-footer.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/form-footer/form-footer.component.ts","webpack:///./src/app/pre-chat/pre-chat-app.module.ts.pre-build-optimizer.js","webpack:///./src/app/pre-chat/pre-chat-app.module.ts","webpack:///./src/app/components/form-header/form-header.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/form-header/form-header.component.ts","webpack:///E:/Jenkins/workspace/build_patch_branch/AngularApps/node_modules/ng-recaptcha/recaptcha/recaptcha.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/shared/directives/no-white-space.directive.ts.pre-build-optimizer.js","webpack:///./src/app/shared/directives/no-white-space.directive.ts","webpack:///E:/Jenkins/workspace/build_patch_branch/AngularApps/node_modules/ng-recaptcha/index.js.pre-build-optimizer.js","webpack:///./src/app/models/log-event-type.model.ts.pre-build-optimizer.js","webpack:///./src/app/models/log-event-type.model.ts","webpack:///./src/app/components/form-header/form-header.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/form-field/form-field.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/form/form.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/form/form.component.ts"],"names":["exports","styles","Object","defineProperty","value","forms_1","__webpack_require__","fb_field_type_id_enum_1","shared_1","i0","FormControlService","prototype","toFormGroup","fields","group","forEach","field","syncValidators","fieldTypeId","FBFieldTypeId","SkillDropdown","isRequired","push","Validators","required","noWhitespaceValidator","CustomerEmail","emailValidator","rowId","FormControl","FormGroup","addFormControl","formGroup","controlName","control","addControl","isRequiredControl","abstractControl","validator","this","ngInjectableDef","defineInjectable","factory","token","providedIn","i1","i2","i3","i4","i5","i6","i7","i8","i9","i10","i11","RenderType_PreChatComponent","ɵcrt","encapsulation","data","View_PreChatComponent_2","_l","ɵvid","ɵeld","ɵted","_ck","_v","component","error","View_PreChatComponent_3","settings","displaySetting","Font","context","$implicit","View_PreChatComponent_4","View_FormFooterComponent_0","RenderType_FormFooterComponent","ɵdid","FormFooterComponent","text","View_PreChatComponent_5","View_PreChatComponent_1","View_FormHeaderComponent_0","RenderType_FormHeaderComponent","FormHeaderComponent","PreChatService","form","ɵand","NgIf","ViewContainerRef","TemplateRef","ngIf","View_FormComponent_0","RenderType_FormComponent","FormComponent","language","timezone","reCaptchaEnabled","reCaptchaSiteKey","_co","headerFooters","welcomeMessage","footer","View_PreChatComponent_0","View_PreChatComponent_Host_0","PreChatComponent","PreChatComponentNgFactory","ɵccf","i12","i13","i14","i15","i16","i17","i18","i19","View_FormComponent_2","View_FormFieldComponent_0","RenderType_FormFieldComponent","FormFieldComponent","View_FormComponent_1","NgForOf","IterableDiffers","ngForOf","ɵppd","ɵunv","ɵnov","parent","activeForm","rows","View_FormComponent_3","ɵinlineInterpolate","name","View_FormComponent_4","View_FormComponent_5","en","$event","ad","onResolve","reCaptchaResponseCallback","View_RecaptchaComponent_0","RenderType_RecaptchaComponent","RecaptchaComponent","ElementRef","RecaptchaLoaderService","NgZone","RECAPTCHA_SETTINGS","siteKey","size","badge","resolved","RecaptchaValueAccessorDirective","ɵprd","NG_VALUE_ACCESSOR","p0_0","FormControlName","ControlContainer","ɵangular_packages_forms_forms_j","NgControl","NgControlStatus","reCaptchaFormControlName","id","ngClassUntouched","ngClassTouched","ngClassPristine","ngClassDirty","ngClassValid","ngClassInvalid","ngClassPending","ɵpid","FieldSortPipe","ɵqud","captchaRef","preChatForm","chatButtonWrapper","onSubmit","onReset","ɵangular_packages_forms_forms_bg","FormGroupDirective","NgControlStatusGroup","AsyncPipe","ChangeDetectorRef","toggleBorder","View_MatButton_0","RenderType_MatButton","NgStyle","KeyValueDiffers","Renderer2","ngStyle","ɵpod","background","color","MatButton","Platform","FocusMonitor","ANIMATION_MODULE_TYPE","disabled","isActiveFormValid","transform","customParams$","invalid","HeaderBackground","HeaderFontColor","formSubmitted","sendButton","formTag","formType","sourceUrl","Id","chatSessionId","overriddenSkillAddresses","targetSkillAddress","documentReferrer","_animationMode","View_FormComponent_Host_0","FormComponentNgFactory","chatFormSubmitted","rxjs_1","http","_this","chatParams$","BehaviorSubject","activeChatData$","Subject","invitationAccepted$","reactiveFormSubmit$","window","addEventListener","event","receiveMessage","bindToMessageEvents","asObservable","message","next","params","invitationAccepted","submit","console","log","toggleChat","postMessage","hideChat","hideChatButton","getPreChatForm","lang","get","getDisplaySetting","getTimeZone","upstream","customerchat","helpers","GetTimeZoneName","setFormSubmitted","updateChatState","updateShowChatState","showPreChatFormForProactive","sendChatFrameLoadEvent","sendPreChatFormReadyEvent","skillAddressesFromPreChatForm","logEvent","logEventCode","logEventDescription","eventCode","eventDescription","sendProactiveErrorMessage","errorMessage","inject","HttpClient","i20","i21","i22","i23","i24","i25","i26","PreChatAppModuleNgFactory","ɵcmf","PreChatAppModule","ɵmod","ɵmpd","ComponentFactoryResolver","ɵCodegenComponentFactoryResolver","TooltipComponentNgFactory","NgModuleRef","NgLocalization","NgLocaleLocalization","LOCALE_ID","ɵangular_packages_common_common_a","ɵangular_packages_forms_forms_i","FormBuilder","MutationObserverFactory","ErrorStateMatcher","Overlay","ScrollStrategyOptions","OverlayContainer","OverlayPositionBuilder","OverlayKeyboardDispatcher","Injector","DOCUMENT","Directionality","ɵc","ɵd","MAT_SELECT_SCROLL_STRATEGY","MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY","MAT_TOOLTIP_SCROLL_STRATEGY","MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY","PLATFORM_ID","RECAPTCHA_LANGUAGE","CommonModule","ɵangular_packages_forms_forms_bb","FormsModule","ReactiveFormsModule","BidiModule","MatCommonModule","MATERIAL_SANITY_CHECKS","PlatformModule","MatRippleModule","MatButtonModule","TextFieldModule","ObserversModule","MatFormFieldModule","MatInputModule","PortalModule","ScrollDispatchModule","OverlayModule","MatPseudoCheckboxModule","MatOptionModule","MatSelectModule","A11yModule","MatTooltipModule","MatDividerModule","AppMaterialModule","RecaptchaCommonModule","RecaptchaModule","RecaptchaFormsModule","SharedModule","ɵ0","pre_chat_constants_1","Error","isValid","trim","length","RegExp","PreChatConstants","EMAIL_REGEXP","test","QUOTED_EMAIL_REGEXP","incorrectMailFormat","View_FormHeaderComponent_1","keydown","resources","Close","View_FormHeaderComponent_2","isTop","header","View_FormHeaderComponent_Host_0","FormHeaderComponentNgFactory","CHAT_TYPE","View_FormFieldComponent_4","_selectViaInteraction","_handleKeydown","show","_handleTouchend","View_MatOption_0","RenderType_MatOption","MatOption","MAT_OPTION_PARENT_COMPONENT","MatOptgroup","MatTooltip","ScrollDispatcher","AriaDescriber","MAT_TOOLTIP_DEFAULT_OPTIONS","valueCode","getOptionTooltip","_getTabIndex","selected","multiple","active","toString","getOptionLabel","View_FormFieldComponent_5","MatHint","align","Required","View_FormFieldComponent_3","View_MatFormField_0","RenderType_MatFormField","MatFormField","MAT_LABEL_GLOBAL_OPTIONS","MAT_FORM_FIELD_DEFAULT_OPTIONS","appearance","_control","_placeholderChild","_labelChild","_errorChildren","_hintChildren","_prefixChildren","_suffixChildren","MatLabel","_onFocus","_onBlur","View_MatSelect_0","RenderType_MatSelect","MatSelect","RequiredValidator","NG_VALIDATORS","ViewportRuler","NgForm","ariaLabel","options","optionGroups","customTrigger","MatFormFieldControl","errorState","_canLabelFloat","_shouldLabelFloat","_hideControlPlaceholder","autofilled","focused","_shouldForward","_animationsEnabled","fieldTitle","tabIndex","_getAriaLabel","_getAriaLabelledby","panelOpen","_optionIds","_ariaDescribedby","_getAriaActiveDescendant","getName","View_FormFieldComponent_2","rowData","View_FormFieldComponent_8","MatError","InvalidEmail","View_FormFieldComponent_7","_handleInput","target","onTouched","_compositionStart","_compositionEnd","_focusChanged","_onInput","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","MatInput","AutofillMonitor","placeholder","formControl","errors","pattern","_isServer","readonly","View_FormFieldComponent_6","View_FormFieldComponent_10","View_FormFieldComponent_9","View_FormFieldComponent_1","NgSwitch","ngSwitch","NgSwitchCase","ngSwitchCase","getFieldDisplayType","FieldDisplayType","Dropdown","Email","PlainText","View_FormFieldComponent_Host_0","FormFieldComponentNgFactory","__export","m","p","hasOwnProperty","form_field_display_type_enum_1","formControlService","FormFieldDisplayType","controls","enumerable","configurable","ngOnInit","row","fieldTypeName","mappingFieldName","option","optionLanguages","optionLabel","label","operators_1","chat_type_model_1","preChatService","model","recaptchaEnabled","userLanguage","displaySettingId","parseInt","skillAvailabilityCheckSeconds","subscribe","activeChatData","location","loadForm","navigator","setPreferredLanguageCss","form$","pipe","catchError","err","throwError","tap","displaySetting$","forkJoin","skillField","find","map","pathname","REACTIVE","tag","info","PROACTIVE","View_MatDivider_0","RenderType_MatDivider","MatDivider","vertical","inset","View_FormFooterComponent_Host_0","FormFooterComponentNgFactory","pre_chat_component_1","failed","isPreChatForm","offlineTimeout","customerTimeout","PreChat","init","top","which","View_RecaptchaComponent_Host_0","RecaptchaComponentNgFactory","theme","type","whitespace","recaptcha_component_1","recaptcha_loader_service_1","recaptcha_module_1","recaptcha_settings_1","LogEventType","core_1","log_event_type_model_1","EventEmitter","referrer","recaptchaResponse","formSettings","acceptInvitationSubscription","logProactiveEvent","ChatFormOffer","submitForm","reactiveFormSubmitSubscription","ngAfterViewInit","reset","captchaResponse","ChatFormSubmit","nativeElement","emit","execute","ngOnDestroy","unsubscribe","hasFocus","wrapperNativeElement","classList","remove","add"],"mappings":"6FASAA,EAAQC,QADM,mJCPdC,OAAOC,eAAeH,EAAS,cAAgBI,OAAO,ICAtD,IAAAC,EAAAC,EAAA,QACAC,EAAAD,EAAA,QACAE,EAAAF,EAAA,QDEIG,EAAKH,EAAQ,QCGJN,EAAAU,mBAHb,WAKE,SAAAA,KDyCE,OCvCFA,EAAAC,UAAAC,YAAA,SAAYC,GACV,IAAIC,KAiBJ,OAfAD,EAAOE,QAAQ,SAAAC,GACb,IAAIC,MAEAD,EAAME,cAAgBX,EAAAY,cAAcC,eAAiBJ,EAAMK,cAC7DJ,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AA0B,IANjF1H,KAAKgD,KAAOhD,KAAKmb,mBAAmB9c,iBAU5CmF,EAAApF,UAAAgiB,gBAAA,WACQpgB,KAAKsI,YACLtI,KAAKsI,WAAW+X,SAGxB7c,EAAApF,UAAAiI,0BAAA,SAA0Bia,GACtBtgB,KAAK6f,kBAAoBS,EACzBtgB,KAAKkgB,cAGT1c,EAAApF,UAAA8hB,WAAA,WACQlgB,KAAK+B,SAASyI,WAAayR,EAAAlI,UAAU+J,WAAa9d,KAAK+B,SAASwI,UAAYvK,KAAK+B,SAASiB,KAAK4a,KAG/F5d,KAAKggB,kBAAkBN,EAAAF,aAAae,gBAEFvgB,KAAKuI,YAAYiY,cACxClU,SACftM,KAAKqK,eAAgB,EACrBrK,KAAKkL,kBAAkBuV,OACvBzgB,KAAKkc,eAAe5O,mBACpBtN,KAAKkc,eAAe3O,mBAGxB/J,EAAApF,UAAAqK,SAAA,SAASqD,GACD9L,KAAK2D,iBACL3D,KAAKsI,WAAWoY,UAEhB1gB,KAAKkgB,cAIb1c,EAAApF,UAAA4hB,kBAAA,SAAkBnS,GACV7N,KAAK+B,SAASyI,WAAayR,EAAAlI,UAAU+J,WAGzC9d,KAAKkc,eAAerO,SAASA,EAAU6R,EAAAF,aAAa3R,KAGxDrK,EAAApF,UAAAuiB,YAAA,WACQ3gB,KAAK+f,8BACL/f,KAAK+f,6BAA6Ba,cAElC5gB,KAAKmgB,gCACLngB,KAAKmgB,+BAA+BS,eAI5Cpd,EAAApF,UAAA4K,aAAA,SAAa6X,GACT,IACMC,EAAuB9gB,KAAKwI,kBAAkBgY,cACpDM,EAAqBC,UAAUC,OAFP,sBAIrBH,GACCC,EAAqBC,UAAUE,IALX,uBAQhCzd,EAhJA","file":"1.js","sourcesContent":["\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"footer[_ngcontent-%COMP%]{background:#f9f9f9;color:#777;font-size:13px;padding:10px 5px;text-align:center}\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar forms_1 = require(\"@angular/forms\");\nvar fb_field_type_id_enum_1 = require(\"../models/fb-field-type-id.enum\");\nvar shared_1 = require(\"../shared\");\nvar i0 = require(\"@angular/core\");\nvar FormControlService = /** @class */ (function () {\n function FormControlService() {\n }\n FormControlService.prototype.toFormGroup = function (fields) {\n var group = {};\n fields.forEach(function (field) {\n var syncValidators = [];\n if (field.fieldTypeId === fb_field_type_id_enum_1.FBFieldTypeId.SkillDropdown || field.isRequired) {\n syncValidators.push(forms_1.Validators.required);\n syncValidators.push(shared_1.noWhitespaceValidator());\n }\n if (field.fieldTypeId === fb_field_type_id_enum_1.FBFieldTypeId.CustomerEmail) {\n syncValidators.push(shared_1.emailValidator());\n }\n group[field.rowId] = new forms_1.FormControl('', syncValidators);\n });\n return new forms_1.FormGroup(group);\n };\n FormControlService.prototype.addFormControl = function (formGroup, controlName, required) {\n if (required === void 0) { required = false; }\n var syncValidators = [];\n if (required)\n syncValidators.push(forms_1.Validators.required);\n var control = new forms_1.FormControl('', syncValidators);\n formGroup.addControl(controlName, control);\n };\n FormControlService.prototype.isRequiredControl = function (abstractControl) {\n if (abstractControl.validator) {\n var validator = abstractControl.validator({});\n if (validator && validator.required) {\n return true;\n }\n }\n if (abstractControl['controls']) {\n for (var controlName in abstractControl['controls']) {\n if (abstractControl['controls'][controlName]) {\n if (this.isRequiredControl(abstractControl['controls'][controlName])) {\n return true;\n }\n }\n }\n }\n return false;\n };\n FormControlService.ngInjectableDef = i0.defineInjectable({ factory: function FormControlService_Factory() { return new FormControlService(); }, token: FormControlService, providedIn: \"root\" });\n return FormControlService;\n}());\nexports.FormControlService = FormControlService;\n","import { Injectable } from '@angular/core';\r\nimport { FormControl, FormGroup, Validators, AbstractControl, ValidatorFn } from '@angular/forms';\r\nimport { FBFieldTypeId } from '../models/fb-field-type-id.enum';\r\nimport { noWhitespaceValidator, emailValidator } from '../shared';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FormControlService {\r\n\r\n constructor() { }\r\n\r\n toFormGroup(fields: any[]) {\r\n let group: any = {};\r\n\r\n fields.forEach(field => {\r\n let syncValidators: ValidatorFn[] = [];\r\n\r\n if (field.fieldTypeId === FBFieldTypeId.SkillDropdown || field.isRequired) {\r\n syncValidators.push(Validators.required);\r\n syncValidators.push(noWhitespaceValidator());\r\n }\r\n\r\n if (field.fieldTypeId === FBFieldTypeId.CustomerEmail) {\r\n syncValidators.push(emailValidator());\r\n }\r\n\r\n group[field.rowId] = new FormControl('', syncValidators);\r\n });\r\n\r\n return new FormGroup(group);\r\n }\r\n\r\n addFormControl(formGroup: FormGroup, controlName: string, required: boolean = false) {\r\n let syncValidators: ValidatorFn[] = [];\r\n if (required) syncValidators.push(Validators.required);\r\n let control = new FormControl('', syncValidators);\r\n formGroup.addControl(controlName, control);\r\n }\r\n\r\n isRequiredControl(abstractControl: AbstractControl): boolean {\r\n if (abstractControl.validator) {\r\n const validator = abstractControl.validator({} as AbstractControl);\r\n if (validator && validator.required) {\r\n return true;\r\n }\r\n }\r\n\r\n if (abstractControl['controls']) {\r\n for (const controlName in abstractControl['controls']) {\r\n if (abstractControl['controls'][controlName]) {\r\n if (this.isRequiredControl(abstractControl['controls'][controlName])) {\r\n return true;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar FBFieldTypeId;\n(function (FBFieldTypeId) {\n FBFieldTypeId[FBFieldTypeId[\"ContactName\"] = 1] = \"ContactName\";\n FBFieldTypeId[FBFieldTypeId[\"CustomerId\"] = 2] = \"CustomerId\";\n FBFieldTypeId[FBFieldTypeId[\"CustomerEmail\"] = 3] = \"CustomerEmail\";\n FBFieldTypeId[FBFieldTypeId[\"PhoneNumber\"] = 4] = \"PhoneNumber\";\n FBFieldTypeId[FBFieldTypeId[\"InitialMessage\"] = 5] = \"InitialMessage\";\n FBFieldTypeId[FBFieldTypeId[\"SkillDropdown\"] = 6] = \"SkillDropdown\";\n FBFieldTypeId[FBFieldTypeId[\"Dropdown\"] = 7] = \"Dropdown\";\n FBFieldTypeId[FBFieldTypeId[\"Custom\"] = 8] = \"Custom\";\n})(FBFieldTypeId = exports.FBFieldTypeId || (exports.FBFieldTypeId = {}));\n","export enum FBFieldTypeId {\r\n ContactName = 1,\r\n CustomerId,\r\n CustomerEmail,\r\n PhoneNumber,\r\n InitialMessage,\r\n SkillDropdown,\r\n Dropdown,\r\n Custom\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = require(\"./pre-chat.component.scss.shim.ngstyle\");\nvar i1 = require(\"@angular/core\");\nvar i2 = require(\"../components/form-footer/form-footer.component.ngfactory\");\nvar i3 = require(\"../components/form-footer/form-footer.component\");\nvar i4 = require(\"../components/form-header/form-header.component.ngfactory\");\nvar i5 = require(\"../components/form-header/form-header.component\");\nvar i6 = require(\"../services/pre-chat.service\");\nvar i7 = require(\"@angular/common\");\nvar i8 = require(\"../components/form/form.component.ngfactory\");\nvar i9 = require(\"../components/form/form.component\");\nvar i10 = require(\"../services/form-control.service\");\nvar i11 = require(\"./pre-chat.component\");\nvar styles_PreChatComponent = [i0.styles];\nvar RenderType_PreChatComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PreChatComponent, data: {} });\nexports.RenderType_PreChatComponent = RenderType_PreChatComponent;\nfunction View_PreChatComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"form-error\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"error-icon uwf-warning\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"error-msg\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.error; _ck(_v, 3, 0, currVal_0); }); }\nfunction View_PreChatComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"h4\", [], [[4, \"font-family\", null]], null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.settings.displaySetting.Font; _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PreChatComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"app-form-footer\", [[\"text\", \"reCAPTCHA\"]], null, null, null, i2.View_FormFooterComponent_0, i2.RenderType_FormFooterComponent)), i1.ɵdid(1, 114688, null, 0, i3.FormFooterComponent, [], { displaySetting: [0, \"displaySetting\"], text: [1, \"text\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.settings.displaySetting; var currVal_1 = \"reCAPTCHA\"; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PreChatComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"app-form-footer\", [], null, null, null, i2.View_FormFooterComponent_0, i2.RenderType_FormFooterComponent)), i1.ɵdid(1, 114688, null, 0, i3.FormFooterComponent, [], { displaySetting: [0, \"displaySetting\"], text: [1, \"text\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.settings.displaySetting; var currVal_1 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PreChatComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"section\", [[\"class\", \"mat-typography chat-form\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"app-form-header\", [], null, null, null, i4.View_FormHeaderComponent_0, i4.RenderType_FormHeaderComponent)), i1.ɵdid(2, 114688, null, 0, i5.FormHeaderComponent, [i6.PreChatService], { displaySetting: [0, \"displaySetting\"], form: [1, \"form\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 11, \"div\", [[\"class\", \"form-body\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PreChatComponent_2)), i1.ɵdid(5, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 4, \"div\", [[\"class\", \"form-content\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PreChatComponent_3)), i1.ɵdid(8, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"app-form\", [], null, null, null, i8.View_FormComponent_0, i8.RenderType_FormComponent)), i1.ɵdid(10, 4440064, null, 0, i9.FormComponent, [i6.PreChatService, i10.FormControlService], { settings: [0, \"settings\"], language: [1, \"language\"], timezone: [2, \"timezone\"], reCaptchaEnabled: [3, \"reCaptchaEnabled\"], reCaptchaSiteKey: [4, \"reCaptchaSiteKey\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PreChatComponent_4)), i1.ɵdid(12, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PreChatComponent_5)), i1.ɵdid(14, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.settings.displaySetting; var currVal_1 = _co.settings.form; _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = _co.error; _ck(_v, 5, 0, currVal_2); var currVal_3 = _co.settings.form.headerFooters[0].welcomeMessage; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.settings; var currVal_5 = _co.language; var currVal_6 = _co.timezone; var currVal_7 = _co.reCaptchaEnabled; var currVal_8 = _co.reCaptchaSiteKey; _ck(_v, 10, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_9 = _co.reCaptchaEnabled; _ck(_v, 12, 0, currVal_9); var currVal_10 = _co.settings.form.headerFooters[0].footer; _ck(_v, 14, 0, currVal_10); }, null); }\nfunction View_PreChatComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_PreChatComponent_1)), i1.ɵdid(1, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.settings; _ck(_v, 1, 0, currVal_0); }, null); }\nexports.View_PreChatComponent_0 = View_PreChatComponent_0;\nfunction View_PreChatComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"pre-chat-root\", [], null, null, null, View_PreChatComponent_0, RenderType_PreChatComponent)), i1.ɵdid(1, 114688, null, 0, i11.PreChatComponent, [i6.PreChatService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_PreChatComponent_Host_0 = View_PreChatComponent_Host_0;\nvar PreChatComponentNgFactory = i1.ɵccf(\"pre-chat-root\", i11.PreChatComponent, View_PreChatComponent_Host_0, {}, {}, []);\nexports.PreChatComponentNgFactory = PreChatComponentNgFactory;\n","
\r\n\t\r\n
\r\n
\r\n
\r\n
{{error}}
\r\n
\r\n
\r\n

{{ welcomeMessage }}

\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = require(\"./form.component.scss.shim.ngstyle\");\nvar i1 = require(\"@angular/core\");\nvar i2 = require(\"../form-field/form-field.component.ngfactory\");\nvar i3 = require(\"../form-field/form-field.component\");\nvar i4 = require(\"../../services/form-control.service\");\nvar i5 = require(\"@angular/common\");\nvar i6 = require(\"../../../../../../node_modules/ng-recaptcha/recaptcha/recaptcha.component.ngfactory\");\nvar i7 = require(\"ng-recaptcha/recaptcha/recaptcha.component\");\nvar i8 = require(\"ng-recaptcha/recaptcha/recaptcha-loader.service\");\nvar i9 = require(\"ng-recaptcha/recaptcha/recaptcha-settings\");\nvar i10 = require(\"ng-recaptcha/recaptcha/recaptcha-value-accessor.directive\");\nvar i11 = require(\"@angular/forms\");\nvar i12 = require(\"../../../../../ChatForm/src/app/utils/field-sort.pipe\");\nvar i13 = require(\"../../../../../../node_modules/@angular/material/button/typings/index.ngfactory\");\nvar i14 = require(\"@angular/material/button\");\nvar i15 = require(\"@angular/cdk/platform\");\nvar i16 = require(\"@angular/cdk/a11y\");\nvar i17 = require(\"@angular/platform-browser/animations\");\nvar i18 = require(\"./form.component\");\nvar i19 = require(\"../../services/pre-chat.service\");\nvar styles_FormComponent = [i0.styles];\nvar RenderType_FormComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FormComponent, data: {} });\nexports.RenderType_FormComponent = RenderType_FormComponent;\nfunction View_FormComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"app-form-field\", [], null, null, null, i2.View_FormFieldComponent_0, i2.RenderType_FormFieldComponent)), i1.ɵdid(2, 114688, null, 0, i3.FormFieldComponent, [i4.FormControlService], { form: [0, \"form\"], field: [1, \"field\"], displaySetting: [2, \"displaySetting\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.form; var currVal_1 = _v.context.$implicit; var currVal_2 = _co.settings.displaySetting; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_FormComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_FormComponent_2)), i1.ɵdid(2, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵppd(3, 1), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, _ck(_v, 3, 0, i1.ɵnov(_v.parent, 0), _co.activeForm.rows)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_FormComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"input\", [[\"type\", \"hidden\"]], [[8, \"name\", 0], [8, \"value\", 0]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"Parameters[ChatParam_\", _v.context.$implicit.name, \"]\"); var currVal_1 = _v.context.$implicit.value; _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_FormComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_FormComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"reCaptcha-container\"], [\"id\", \"reCaptcha\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"for\", \"g-recaptcha-response\"], [\"hidden\", \"\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"reCaptcha response\"])), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"re-captcha\", [[\"badge\", \"inline\"], [\"size\", \"invisible\"]], [[1, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"resolved\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"resolved\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5).onResolve($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"resolved\" === en)) {\n var pd_1 = (($event && _co.reCaptchaResponseCallback($event)) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_RecaptchaComponent_0, i6.RenderType_RecaptchaComponent)), i1.ɵdid(4, 4374528, [[1, 4], [\"captchaRef\", 4]], 0, i7.RecaptchaComponent, [i1.ElementRef, i8.RecaptchaLoaderService, i1.NgZone, [2, i9.RECAPTCHA_SETTINGS]], { siteKey: [0, \"siteKey\"], size: [1, \"size\"], badge: [2, \"badge\"] }, { resolved: \"resolved\" }), i1.ɵdid(5, 16384, null, 0, i10.RecaptchaValueAccessorDirective, [i7.RecaptchaComponent], null, null), i1.ɵprd(1024, null, i11.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i10.RecaptchaValueAccessorDirective]), i1.ɵdid(7, 671744, null, 0, i11.FormControlName, [[3, i11.ControlContainer], [8, null], [8, null], [6, i11.NG_VALUE_ACCESSOR], [2, i11.ɵangular_packages_forms_forms_j]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i11.NgControl, null, [i11.FormControlName]), i1.ɵdid(9, 16384, null, 0, i11.NgControlStatus, [[4, i11.NgControl]], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.reCaptchaSiteKey; var currVal_9 = \"invisible\"; var currVal_10 = \"inline\"; _ck(_v, 4, 0, currVal_8, currVal_9, currVal_10); var currVal_11 = _co.reCaptchaFormControlName; _ck(_v, 7, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 4).id; var currVal_1 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 9).ngClassValid; var currVal_6 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_FormComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i12.FieldSortPipe, []), i1.ɵqud(671088640, 1, { captchaRef: 0 }), i1.ɵqud(402653184, 2, { preChatForm: 0 }), i1.ɵqud(402653184, 3, { chatButtonWrapper: 0 }), (_l()(), i1.ɵeld(4, 0, [[2, 0], [\"preChatForm\", 1]], null, 31, \"form\", [[\"action\", \"/Home/Chat\"], [\"id\", \"preChatForm\"], [\"method\", \"post\"], [\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 6).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 6).onReset() !== false);\n ad = (pd_1 && ad);\n } if ((\"submit\" === en)) {\n var pd_2 = (_co.onSubmit($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i11.ɵangular_packages_forms_forms_bg, [], null, null), i1.ɵdid(6, 540672, null, 0, i11.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i11.ControlContainer, null, [i11.FormGroupDirective]), i1.ɵdid(8, 16384, null, 0, i11.NgControlStatusGroup, [[4, i11.ControlContainer]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormComponent_1)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"input\", [[\"name\", \"PreChatFormId\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 0, \"input\", [[\"name\", \"PreChatFormTag\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 0, \"input\", [[\"name\", \"PreChatFormType\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 0, \"input\", [[\"name\", \"SourceUrl\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"input\", [[\"name\", \"DisplaySettingId\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 0, \"input\", [[\"name\", \"SessionId\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"input\", [[\"name\", \"UserLanguage\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 0, \"input\", [[\"name\", \"OverriddenSkillAddress\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 0, \"input\", [[\"name\", \"TargetSkillAddress\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 0, \"input\", [[\"id\", \"Parameters_TimeZoneOffset_\"], [\"name\", \"Parameters[TimeZoneOffset]\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 0, \"input\", [[\"id\", \"Parameters_DocumentReferrer_\"], [\"name\", \"Parameters[DocumentReferrer]\"], [\"type\", \"hidden\"]], [[8, \"value\", 0]], null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_FormComponent_3)), i1.ɵdid(23, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵpid(131072, i5.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(25, 0, null, null, 8, \"div\", [[\"class\", \"form-actions\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, [[3, 0], [\"chatButtonWrapper\", 1]], null, 7, \"div\", [[\"class\", \"chat-button\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 6, \"button\", [[\"class\", \"form-action\"], [\"mat-raised-button\", \"\"]], [[4, \"font-family\", null], [8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], [[null, \"focus\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"focus\" === en)) {\n var pd_0 = (_co.toggleBorder(true) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (_co.toggleBorder(false) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i13.View_MatButton_0, i13.RenderType_MatButton)), i1.ɵdid(28, 278528, null, 0, i5.NgStyle, [i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i1.ɵpod(29, { \"background\": 0, \"color\": 1 }), i1.ɵdid(30, 180224, null, 0, i14.MatButton, [i1.ElementRef, i15.Platform, i16.FocusMonitor, [2, i17.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"] }, null), (_l()(), i1.ɵeld(31, 0, null, 0, 0, \"strong\", [[\"class\", \"uwf-send\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, 0, 1, null, View_FormComponent_4)), i1.ɵdid(33, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormComponent_5)), i1.ɵdid(35, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 6, 0, currVal_7); var currVal_8 = _co.isActiveFormValid(); _ck(_v, 10, 0, currVal_8); var currVal_20 = i1.ɵunv(_v, 23, 0, i1.ɵnov(_v, 24).transform(_co.customParams$)); _ck(_v, 23, 0, currVal_20); var currVal_24 = (!_co.form.invalid ? _ck(_v, 29, 0, _co.settings.displaySetting.HeaderBackground, _co.settings.displaySetting.HeaderFontColor) : \"\"); _ck(_v, 28, 0, currVal_24); var currVal_25 = (_co.form.invalid || _co.formSubmitted); _ck(_v, 30, 0, currVal_25); var currVal_26 = _co.activeForm.headerFooters[0].sendButton; _ck(_v, 33, 0, currVal_26); var currVal_27 = (_co.reCaptchaEnabled && _co.isActiveFormValid()); _ck(_v, 35, 0, currVal_27); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 8).ngClassValid; var currVal_5 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 4, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_9 = _co.activeForm.id; _ck(_v, 11, 0, currVal_9); var currVal_10 = _co.settings.formTag; _ck(_v, 12, 0, currVal_10); var currVal_11 = _co.settings.formType; _ck(_v, 13, 0, currVal_11); var currVal_12 = _co.settings.sourceUrl; _ck(_v, 14, 0, currVal_12); var currVal_13 = _co.settings.displaySetting.Id; _ck(_v, 15, 0, currVal_13); var currVal_14 = _co.settings.chatSessionId; _ck(_v, 16, 0, currVal_14); var currVal_15 = _co.language; _ck(_v, 17, 0, currVal_15); var currVal_16 = _co.overriddenSkillAddresses; _ck(_v, 18, 0, currVal_16); var currVal_17 = _co.targetSkillAddress; _ck(_v, 19, 0, currVal_17); var currVal_18 = _co.timezone; _ck(_v, 20, 0, currVal_18); var currVal_19 = _co.documentReferrer; _ck(_v, 21, 0, currVal_19); var currVal_21 = _co.settings.displaySetting.Font; var currVal_22 = (i1.ɵnov(_v, 30).disabled || null); var currVal_23 = (i1.ɵnov(_v, 30)._animationMode === \"NoopAnimations\"); _ck(_v, 27, 0, currVal_21, currVal_22, currVal_23); }); }\nexports.View_FormComponent_0 = View_FormComponent_0;\nfunction View_FormComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"app-form\", [], null, null, null, View_FormComponent_0, RenderType_FormComponent)), i1.ɵdid(1, 4440064, null, 0, i18.FormComponent, [i19.PreChatService, i4.FormControlService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_FormComponent_Host_0 = View_FormComponent_Host_0;\nvar FormComponentNgFactory = i1.ɵccf(\"app-form\", i18.FormComponent, View_FormComponent_Host_0, { settings: \"settings\", language: \"language\", timezone: \"timezone\", reCaptchaEnabled: \"reCaptchaEnabled\", reCaptchaSiteKey: \"reCaptchaSiteKey\" }, { chatFormSubmitted: \"chatFormSubmitted\" }, []);\nexports.FormComponentNgFactory = FormComponentNgFactory;\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar rxjs_1 = require(\"rxjs\");\nvar i0 = require(\"@angular/core\");\nvar i1 = require(\"@angular/common/http\");\nvar PreChatService = /** @class */ (function () {\n function PreChatService(http) {\n var _this = this;\n this.http = http;\n this.chatParams$ = new rxjs_1.BehaviorSubject([]);\n this.activeChatData$ = new rxjs_1.Subject();\n this.invitationAccepted$ = new rxjs_1.Subject();\n this.reactiveFormSubmit$ = new rxjs_1.Subject();\n window.addEventListener(\"message\", function (event) {\n _this.receiveMessage(event);\n });\n }\n PreChatService.prototype.bindToMessageEvents = function () {\n return this.chatParams$.asObservable();\n };\n PreChatService.prototype.receiveMessage = function (event) {\n if (!event.data)\n return;\n switch (event.data.message) {\n case 'uwfSetChatParams':\n var params = event.data.params || [];\n this.chatParams$.next(params);\n break;\n case 'uwfInvitationAccepted':\n this.invitationAccepted$.next(event.data.invitationAccepted);\n break;\n case 'uwfActiveChatData':\n this.activeChatData$.next(event.data);\n break;\n case 'uwReactiveFormSubmit':\n this.reactiveFormSubmit$.next(event.data.submit);\n break;\n default:\n console.log('Unknown message received: ' + event.data.message);\n }\n };\n PreChatService.prototype.toggleChat = function () {\n parent.postMessage('uwfButtonClick', '*');\n };\n PreChatService.prototype.hideChat = function () {\n parent.postMessage('uwfHideChat', '*');\n };\n PreChatService.prototype.hideChatButton = function () {\n parent.postMessage('uwfHideChatButton', '*');\n };\n PreChatService.prototype.getPreChatForm = function (lang, formTag) {\n return this.http.get(\"/api/ChatAdminSettings/GetPrechatForm/\" + lang + \"/\" + formTag);\n };\n PreChatService.prototype.getDisplaySetting = function (id) {\n return this.http.get(\"/api/ChatAdminSettings/DisplaySetting/\" + id);\n };\n PreChatService.prototype.getTimeZone = function () {\n return upstream.customerchat.helpers.GetTimeZoneName();\n };\n PreChatService.prototype.setFormSubmitted = function () {\n parent.postMessage('uwfSetFormSubmitted', '*');\n };\n PreChatService.prototype.updateChatState = function () {\n upstream.customerchat.helpers.updateShowChatState();\n };\n PreChatService.prototype.showPreChatFormForProactive = function () {\n parent.postMessage('uwfShowChatForActiveSession', '*');\n };\n PreChatService.prototype.sendChatFrameLoadEvent = function () {\n parent.postMessage(\"uwfChatFrameLoaded\", \"*\");\n };\n PreChatService.prototype.sendPreChatFormReadyEvent = function (skillAddressesFromPreChatForm) {\n parent.postMessage({\n message: 'uwfPreChatFormReady',\n skillAddressesFromPreChatForm: skillAddressesFromPreChatForm\n }, '*');\n };\n PreChatService.prototype.logEvent = function (logEventCode, logEventDescription) {\n parent.postMessage({\n message: 'uwfLogEvent',\n eventCode: logEventCode,\n eventDescription: logEventDescription\n }, '*');\n };\n PreChatService.prototype.sendProactiveErrorMessage = function (errorMessage) {\n parent.postMessage({ message: 'uwfProactiveError', error: errorMessage }, \"*\");\n };\n PreChatService.ngInjectableDef = i0.defineInjectable({ factory: function PreChatService_Factory() { return new PreChatService(i0.inject(i1.HttpClient)); }, token: PreChatService, providedIn: \"root\" });\n return PreChatService;\n}());\nexports.PreChatService = PreChatService;\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\n\r\nimport { DisplaySetting } from '../models/display-setting';\r\nimport { ChatParam } from '../models/chat-param';\r\nimport { SkillAvailability } from '../models/skill-availability';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PreChatService {\r\n readonly chatParams$ = new BehaviorSubject([]);\r\n public activeChatData$ = new Subject();\r\n public invitationAccepted$ = new Subject();\r\n public reactiveFormSubmit$ = new Subject();\r\n\r\n constructor(private http: HttpClient) {\r\n window.addEventListener(\"message\", (event) => {\r\n this.receiveMessage(event);\r\n });\r\n }\r\n\r\n bindToMessageEvents(): Observable {\r\n return this.chatParams$.asObservable();\r\n }\r\n\r\n receiveMessage(event) {\r\n if (!event.data) return;\r\n switch (event.data.message) {\r\n case 'uwfSetChatParams':\r\n let params: ChatParam[] = event.data.params || [];\r\n this.chatParams$.next(params);\r\n break;\r\n case 'uwfInvitationAccepted':\r\n this.invitationAccepted$.next(event.data.invitationAccepted);\r\n break;\r\n case 'uwfActiveChatData':\r\n this.activeChatData$.next(event.data);\r\n break;\r\n case 'uwReactiveFormSubmit':\r\n this.reactiveFormSubmit$.next(event.data.submit);\r\n break;\r\n default:\r\n console.log('Unknown message received: ' + event.data.message);\r\n }\r\n }\r\n\r\n toggleChat(): void {\r\n parent.postMessage('uwfButtonClick', '*');\r\n }\r\n\r\n hideChat(): void {\r\n parent.postMessage('uwfHideChat', '*');\r\n }\r\n\r\n hideChatButton(): void {\r\n parent.postMessage('uwfHideChatButton', '*');\r\n }\r\n \r\n getPreChatForm(lang: string, formTag: string) {\r\n return this.http.get(`/api/ChatAdminSettings/GetPrechatForm/${lang}/${formTag}`);\r\n }\r\n\r\n getDisplaySetting(id: number) {\r\n return this.http.get(`/api/ChatAdminSettings/DisplaySetting/${id}`);\r\n }\r\n\r\n getTimeZone() {\r\n return upstream.customerchat.helpers.GetTimeZoneName();\r\n }\r\n\r\n setFormSubmitted() {\r\n parent.postMessage('uwfSetFormSubmitted', '*');\r\n }\r\n\r\n updateChatState() {\r\n upstream.customerchat.helpers.updateShowChatState();\r\n }\r\n\r\n showPreChatFormForProactive() {\r\n parent.postMessage('uwfShowChatForActiveSession', '*');\r\n }\r\n\r\n sendChatFrameLoadEvent() {\r\n parent.postMessage(\"uwfChatFrameLoaded\", \"*\");\r\n }\r\n\r\n sendPreChatFormReadyEvent(skillAddressesFromPreChatForm) {\r\n parent.postMessage({\r\n message: 'uwfPreChatFormReady',\r\n skillAddressesFromPreChatForm: skillAddressesFromPreChatForm\r\n }, '*')\r\n }\r\n\r\n logEvent(logEventCode: number, logEventDescription: string) {\r\n parent.postMessage({\r\n message: 'uwfLogEvent',\r\n eventCode: logEventCode,\r\n eventDescription: logEventDescription\r\n }, '*');\r\n }\r\n\r\n sendProactiveErrorMessage(errorMessage: string) {\r\n parent.postMessage({ message: 'uwfProactiveError', error: errorMessage }, \"*\");\r\n }\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"#reCaptcha[_ngcontent-%COMP%]{margin:5px 0}.form-actions[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin-top:10px}.reCaptcha-container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin-top:10px!important;position:absolute;bottom:-28px;left:33%}.form-actions[_ngcontent-%COMP%] .chat-button[_ngcontent-%COMP%]{padding:10px}.chat-button-border[_ngcontent-%COMP%]{border:2px dotted #757575;border-radius:4px;outline:0}\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = require(\"@angular/core\");\nvar i1 = require(\"./pre-chat-app.module\");\nvar i2 = require(\"../../../../../node_modules/@angular/material/tooltip/typings/index.ngfactory\");\nvar i3 = require(\"./pre-chat.component.ngfactory\");\nvar i4 = require(\"@angular/common\");\nvar i5 = require(\"@angular/forms\");\nvar i6 = require(\"@angular/cdk/observers\");\nvar i7 = require(\"@angular/material/core\");\nvar i8 = require(\"@angular/cdk/overlay\");\nvar i9 = require(\"@angular/cdk/bidi\");\nvar i10 = require(\"@angular/material/select\");\nvar i11 = require(\"@angular/material/tooltip\");\nvar i12 = require(\"ng-recaptcha/recaptcha/recaptcha-loader.service\");\nvar i13 = require(\"@angular/cdk/platform\");\nvar i14 = require(\"@angular/material/button\");\nvar i15 = require(\"@angular/cdk/text-field\");\nvar i16 = require(\"@angular/material/form-field\");\nvar i17 = require(\"@angular/material/input\");\nvar i18 = require(\"@angular/cdk/portal\");\nvar i19 = require(\"@angular/cdk/scrolling\");\nvar i20 = require(\"@angular/cdk/a11y\");\nvar i21 = require(\"@angular/material/divider\");\nvar i22 = require(\"../app-material.module\");\nvar i23 = require(\"ng-recaptcha/recaptcha/recaptcha-common.module\");\nvar i24 = require(\"ng-recaptcha/recaptcha/recaptcha.module\");\nvar i25 = require(\"ng-recaptcha/recaptcha/recaptcha-forms.module\");\nvar i26 = require(\"../shared/shared.module\");\nvar PreChatAppModuleNgFactory = i0.ɵcmf(i1.PreChatAppModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, [i2.TooltipComponentNgFactory, i3.PreChatComponentNgFactory]], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i4.NgLocalization, i4.NgLocaleLocalization, [i0.LOCALE_ID, [2, i4.ɵangular_packages_common_common_a]]), i0.ɵmpd(4608, i5.ɵangular_packages_forms_forms_i, i5.ɵangular_packages_forms_forms_i, []), i0.ɵmpd(4608, i5.FormBuilder, i5.FormBuilder, []), i0.ɵmpd(4608, i6.MutationObserverFactory, i6.MutationObserverFactory, []), i0.ɵmpd(4608, i7.ErrorStateMatcher, i7.ErrorStateMatcher, []), i0.ɵmpd(4608, i8.Overlay, i8.Overlay, [i8.ScrollStrategyOptions, i8.OverlayContainer, i0.ComponentFactoryResolver, i8.OverlayPositionBuilder, i8.OverlayKeyboardDispatcher, i0.Injector, i0.NgZone, i4.DOCUMENT, i9.Directionality]), i0.ɵmpd(5120, i8.ɵc, i8.ɵd, [i8.Overlay]), i0.ɵmpd(5120, i10.MAT_SELECT_SCROLL_STRATEGY, i10.MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY, [i8.Overlay]), i0.ɵmpd(5120, i11.MAT_TOOLTIP_SCROLL_STRATEGY, i11.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY, [i8.Overlay]), i0.ɵmpd(4608, i12.RecaptchaLoaderService, i12.RecaptchaLoaderService, [i0.PLATFORM_ID, [2, i12.RECAPTCHA_LANGUAGE]]), i0.ɵmpd(1073742336, i4.CommonModule, i4.CommonModule, []), i0.ɵmpd(1073742336, i5.ɵangular_packages_forms_forms_bb, i5.ɵangular_packages_forms_forms_bb, []), i0.ɵmpd(1073742336, i5.FormsModule, i5.FormsModule, []), i0.ɵmpd(1073742336, i5.ReactiveFormsModule, i5.ReactiveFormsModule, []), i0.ɵmpd(1073742336, i9.BidiModule, i9.BidiModule, []), i0.ɵmpd(1073742336, i7.MatCommonModule, i7.MatCommonModule, [[2, i7.MATERIAL_SANITY_CHECKS]]), i0.ɵmpd(1073742336, i13.PlatformModule, i13.PlatformModule, []), i0.ɵmpd(1073742336, i7.MatRippleModule, i7.MatRippleModule, []), i0.ɵmpd(1073742336, i14.MatButtonModule, i14.MatButtonModule, []), i0.ɵmpd(1073742336, i15.TextFieldModule, i15.TextFieldModule, []), i0.ɵmpd(1073742336, i6.ObserversModule, i6.ObserversModule, []), i0.ɵmpd(1073742336, i16.MatFormFieldModule, i16.MatFormFieldModule, []), i0.ɵmpd(1073742336, i17.MatInputModule, i17.MatInputModule, []), i0.ɵmpd(1073742336, i18.PortalModule, i18.PortalModule, []), i0.ɵmpd(1073742336, i19.ScrollDispatchModule, i19.ScrollDispatchModule, []), i0.ɵmpd(1073742336, i8.OverlayModule, i8.OverlayModule, []), i0.ɵmpd(1073742336, i7.MatPseudoCheckboxModule, i7.MatPseudoCheckboxModule, []), i0.ɵmpd(1073742336, i7.MatOptionModule, i7.MatOptionModule, []), i0.ɵmpd(1073742336, i10.MatSelectModule, i10.MatSelectModule, []), i0.ɵmpd(1073742336, i20.A11yModule, i20.A11yModule, []), i0.ɵmpd(1073742336, i11.MatTooltipModule, i11.MatTooltipModule, []), i0.ɵmpd(1073742336, i21.MatDividerModule, i21.MatDividerModule, []), i0.ɵmpd(1073742336, i22.AppMaterialModule, i22.AppMaterialModule, []), i0.ɵmpd(1073742336, i23.RecaptchaCommonModule, i23.RecaptchaCommonModule, []), i0.ɵmpd(1073742336, i24.RecaptchaModule, i24.RecaptchaModule, []), i0.ɵmpd(1073742336, i25.RecaptchaFormsModule, i25.RecaptchaFormsModule, []), i0.ɵmpd(1073742336, i26.SharedModule, i26.SharedModule, []), i0.ɵmpd(1073742336, i1.PreChatAppModule, i1.PreChatAppModule, []), i0.ɵmpd(1024, \"components\", function () { return [i1.ɵ0]; }, [])]); });\nexports.PreChatAppModuleNgFactory = PreChatAppModuleNgFactory;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar pre_chat_constants_1 = require(\"../pre-chat-constants\");\nfunction emailValidator() {\n return function (control) {\n if (!control) {\n throw new Error(\"FormControl is undefined/null\");\n }\n var isValid = control.value === \"\" || ((control.value || \"\").trim().length >= 5 &&\n (new RegExp(pre_chat_constants_1.PreChatConstants.EMAIL_REGEXP, \"i\").test(control.value) || new RegExp(pre_chat_constants_1.PreChatConstants.QUOTED_EMAIL_REGEXP, \"i\").test(control.value)));\n console.log(\"isValid \", isValid, \"control name \", control.value);\n return isValid ? null : { incorrectMailFormat: true };\n };\n}\nexports.emailValidator = emailValidator;\n","import { FormControl, ValidationErrors, ValidatorFn } from \"@angular/forms\";\r\nimport { PreChatConstants } from \"../pre-chat-constants\";\r\n\r\nexport function emailValidator(): ValidatorFn {\r\n return (control: FormControl): ValidationErrors | null => {\r\n if (!control) {\r\n throw new Error(\"FormControl is undefined/null\");\r\n }\r\n\r\n const isValid = control.value === \"\" || (((control.value as string) || \"\").trim().length >= 5 &&\r\n (new RegExp(PreChatConstants.EMAIL_REGEXP, \"i\").test(control.value) || new RegExp(PreChatConstants.QUOTED_EMAIL_REGEXP, \"i\").test(control.value)));\r\n console.log(\"isValid \", isValid, \"control name \", control.value);\r\n return isValid ? null : { incorrectMailFormat: true };\r\n };\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = require(\"./form-header.component.scss.shim.ngstyle\");\nvar i1 = require(\"@angular/core\");\nvar i2 = require(\"@angular/common\");\nvar i3 = require(\"./form-header.component\");\nvar i4 = require(\"../../services/pre-chat.service\");\nvar styles_FormHeaderComponent = [i0.styles];\nvar RenderType_FormHeaderComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FormHeaderComponent, data: {} });\nexports.RenderType_FormHeaderComponent = RenderType_FormHeaderComponent;\nfunction View_FormHeaderComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"strong\", [[\"class\", \"close-btn uwf-window-close\"], [\"role\", \"button\"], [\"tabindex\", \"0\"]], [[1, \"aria-label\", 0], [8, \"title\", 0]], [[null, \"click\"], [null, \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleChat() !== false);\n ad = (pd_0 && ad);\n } if ((\"keydown\" === en)) {\n var pd_1 = (_co.keydown($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.resources.Close, \"\"); var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.resources.Close, \"\"); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_FormHeaderComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"h3\", [], [[4, \"font-family\", null]], null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.displaySetting.Font; _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_FormHeaderComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"header\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgStyle, [i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i1.ɵpod(2, { \"background\": 0, \"color\": 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormHeaderComponent_1)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormHeaderComponent_2)), i1.ɵdid(6, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.displaySetting.HeaderBackground, _co.displaySetting.HeaderFontColor); _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.isTop; _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.form.headerFooters[0].header; _ck(_v, 6, 0, currVal_2); }, null); }\nexports.View_FormHeaderComponent_0 = View_FormHeaderComponent_0;\nfunction View_FormHeaderComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"app-form-header\", [], null, null, null, View_FormHeaderComponent_0, RenderType_FormHeaderComponent)), i1.ɵdid(1, 114688, null, 0, i3.FormHeaderComponent, [i4.PreChatService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_FormHeaderComponent_Host_0 = View_FormHeaderComponent_Host_0;\nvar FormHeaderComponentNgFactory = i1.ɵccf(\"app-form-header\", i3.FormHeaderComponent, View_FormHeaderComponent_Host_0, { displaySetting: \"displaySetting\", form: \"form\" }, {}, []);\nexports.FormHeaderComponentNgFactory = FormHeaderComponentNgFactory;\n","
\r\n \r\n

{{ headerText }}

\r\n
\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CHAT_TYPE;\n(function (CHAT_TYPE) {\n CHAT_TYPE[CHAT_TYPE[\"REACTIVE\"] = 1] = \"REACTIVE\";\n CHAT_TYPE[CHAT_TYPE[\"PROACTIVE\"] = 2] = \"PROACTIVE\";\n CHAT_TYPE[CHAT_TYPE[\"EXTERNAL\"] = 3] = \"EXTERNAL\";\n})(CHAT_TYPE = exports.CHAT_TYPE || (exports.CHAT_TYPE = {}));\n","export enum CHAT_TYPE{\r\n REACTIVE = 1,\r\n PROACTIVE,\r\n EXTERNAL\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = require(\"./form-field.component.scss.shim.ngstyle\");\nvar i1 = require(\"@angular/core\");\nvar i2 = require(\"../../../../../../node_modules/@angular/material/core/typings/index.ngfactory\");\nvar i3 = require(\"@angular/material/core\");\nvar i4 = require(\"@angular/material/tooltip\");\nvar i5 = require(\"@angular/cdk/overlay\");\nvar i6 = require(\"@angular/cdk/scrolling\");\nvar i7 = require(\"@angular/cdk/platform\");\nvar i8 = require(\"@angular/cdk/a11y\");\nvar i9 = require(\"@angular/cdk/bidi\");\nvar i10 = require(\"@angular/material/form-field\");\nvar i11 = require(\"../../../../../../node_modules/@angular/material/form-field/typings/index.ngfactory\");\nvar i12 = require(\"@angular/platform-browser/animations\");\nvar i13 = require(\"../../../../../../node_modules/@angular/material/select/typings/index.ngfactory\");\nvar i14 = require(\"@angular/material/select\");\nvar i15 = require(\"@angular/forms\");\nvar i16 = require(\"@angular/common\");\nvar i17 = require(\"@angular/material/input\");\nvar i18 = require(\"@angular/cdk/text-field\");\nvar i19 = require(\"../../../../../ChatForm/src/app/utils/field-sort.pipe\");\nvar i20 = require(\"./form-field.component\");\nvar i21 = require(\"../../services/form-control.service\");\nvar styles_FormFieldComponent = [i0.styles];\nvar RenderType_FormFieldComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FormFieldComponent, data: {} });\nexports.RenderType_FormFieldComponent = RenderType_FormFieldComponent;\nfunction View_FormFieldComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 3, \"mat-option\", [[\"class\", \"mat-option\"], [\"role\", \"option\"]], [[1, \"tabindex\", 0], [2, \"mat-selected\", null], [2, \"mat-option-multiple\", null], [2, \"mat-active\", null], [8, \"id\", 0], [1, \"aria-selected\", 0], [1, \"aria-disabled\", 0], [2, \"mat-option-disabled\", null]], [[null, \"click\"], [null, \"keydown\"], [null, \"longpress\"], [null, \"touchend\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1)._selectViaInteraction() !== false);\n ad = (pd_0 && ad);\n } if ((\"keydown\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 1)._handleKeydown($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"longpress\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2).show() !== false);\n ad = (pd_2 && ad);\n } if ((\"keydown\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._handleKeydown($event) !== false);\n ad = (pd_3 && ad);\n } if ((\"touchend\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 2)._handleTouchend() !== false);\n ad = (pd_4 && ad);\n } return ad; }, i2.View_MatOption_0, i2.RenderType_MatOption)), i1.ɵdid(1, 8568832, [[8, 4]], 0, i3.MatOption, [i1.ElementRef, i1.ChangeDetectorRef, [2, i3.MAT_OPTION_PARENT_COMPONENT], [2, i3.MatOptgroup]], { value: [0, \"value\"] }, null), i1.ɵdid(2, 147456, null, 0, i4.MatTooltip, [i5.Overlay, i1.ElementRef, i6.ScrollDispatcher, i1.ViewContainerRef, i1.NgZone, i7.Platform, i8.AriaDescriber, i8.FocusMonitor, i4.MAT_TOOLTIP_SCROLL_STRATEGY, [2, i9.Directionality], [2, i4.MAT_TOOLTIP_DEFAULT_OPTIONS]], { message: [0, \"message\"] }, null), (_l()(), i1.ɵted(3, 0, [\"\", \"\"])), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_8 = _v.context.$implicit.valueCode; _ck(_v, 1, 0, currVal_8); var currVal_9 = i1.ɵinlineInterpolate(1, \"\", _co.getOptionTooltip(_v.context.$implicit), \"\"); _ck(_v, 2, 0, currVal_9); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 1)._getTabIndex(); var currVal_1 = i1.ɵnov(_v, 1).selected; var currVal_2 = i1.ɵnov(_v, 1).multiple; var currVal_3 = i1.ɵnov(_v, 1).active; var currVal_4 = i1.ɵnov(_v, 1).id; var currVal_5 = i1.ɵnov(_v, 1).selected.toString(); var currVal_6 = i1.ɵnov(_v, 1).disabled.toString(); var currVal_7 = i1.ɵnov(_v, 1).disabled; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_10 = _co.getOptionLabel(_v.context.$implicit); _ck(_v, 3, 0, currVal_10); }); }\nfunction View_FormFieldComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"mat-hint\", [[\"class\", \"mat-hint\"]], [[2, \"mat-right\", null], [1, \"id\", 0], [1, \"align\", 0]], null, null, null, null)), i1.ɵdid(1, 16384, [[5, 4]], 0, i10.MatHint, [], null, null), (_l()(), i1.ɵted(2, null, [\"* \", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = (i1.ɵnov(_v, 1).align == \"end\"); var currVal_1 = i1.ɵnov(_v, 1).id; var currVal_2 = null; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = _co.resources.Required; _ck(_v, 2, 0, currVal_3); }); }\nfunction View_FormFieldComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 29, \"mat-form-field\", [[\"appearance\", \"fill\"], [\"class\", \"mat-form-field\"]], [[4, \"font-family\", null], [2, \"mat-form-field-appearance-standard\", null], [2, \"mat-form-field-appearance-fill\", null], [2, \"mat-form-field-appearance-outline\", null], [2, \"mat-form-field-appearance-legacy\", null], [2, \"mat-form-field-invalid\", null], [2, \"mat-form-field-can-float\", null], [2, \"mat-form-field-should-float\", null], [2, \"mat-form-field-hide-placeholder\", null], [2, \"mat-form-field-disabled\", null], [2, \"mat-form-field-autofilled\", null], [2, \"mat-focused\", null], [2, \"mat-accent\", null], [2, \"mat-warn\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null], [2, \"_mat-animation-noopable\", null]], null, null, i11.View_MatFormField_0, i11.RenderType_MatFormField)), i1.ɵdid(1, 7389184, null, 7, i10.MatFormField, [i1.ElementRef, i1.ChangeDetectorRef, [2, i3.MAT_LABEL_GLOBAL_OPTIONS], [2, i9.Directionality], [2, i10.MAT_FORM_FIELD_DEFAULT_OPTIONS], i7.Platform, i1.NgZone, [2, i12.ANIMATION_MODULE_TYPE]], { appearance: [0, \"appearance\"] }, null), i1.ɵqud(335544320, 1, { _control: 0 }), i1.ɵqud(335544320, 2, { _placeholderChild: 0 }), i1.ɵqud(335544320, 3, { _labelChild: 0 }), i1.ɵqud(603979776, 4, { _errorChildren: 1 }), i1.ɵqud(603979776, 5, { _hintChildren: 1 }), i1.ɵqud(603979776, 6, { _prefixChildren: 1 }), i1.ɵqud(603979776, 7, { _suffixChildren: 1 }), (_l()(), i1.ɵeld(9, 0, null, 3, 2, \"mat-label\", [], null, null, null, null, null)), i1.ɵdid(10, 16384, [[3, 4]], 0, i10.MatLabel, [], null, null), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), (_l()(), i1.ɵeld(12, 0, null, 1, 14, \"mat-select\", [[\"aria-label\", \"Press enter to navigate using arrow keys\"], [\"class\", \"mat-select\"], [\"role\", \"listbox\"]], [[1, \"required\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null], [1, \"id\", 0], [1, \"tabindex\", 0], [1, \"aria-label\", 0], [1, \"aria-labelledby\", 0], [1, \"aria-required\", 0], [1, \"aria-disabled\", 0], [1, \"aria-invalid\", 0], [1, \"aria-owns\", 0], [1, \"aria-multiselectable\", 0], [1, \"aria-describedby\", 0], [1, \"aria-activedescendant\", 0], [2, \"mat-select-disabled\", null], [2, \"mat-select-invalid\", null], [2, \"mat-select-required\", null]], [[null, \"keydown\"], [null, \"focus\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 19)._handleKeydown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"focus\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 19)._onFocus() !== false);\n ad = (pd_1 && ad);\n } if ((\"blur\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 19)._onBlur() !== false);\n ad = (pd_2 && ad);\n } return ad; }, i13.View_MatSelect_0, i13.RenderType_MatSelect)), i1.ɵprd(6144, null, i3.MAT_OPTION_PARENT_COMPONENT, null, [i14.MatSelect]), i1.ɵdid(14, 16384, null, 0, i15.RequiredValidator, [], { required: [0, \"required\"] }, null), i1.ɵprd(1024, null, i15.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i15.RequiredValidator]), i1.ɵdid(16, 671744, null, 0, i15.FormControlName, [[3, i15.ControlContainer], [6, i15.NG_VALIDATORS], [8, null], [8, null], [2, i15.ɵangular_packages_forms_forms_j]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i15.NgControl, null, [i15.FormControlName]), i1.ɵdid(18, 16384, null, 0, i15.NgControlStatus, [[4, i15.NgControl]], null, null), i1.ɵdid(19, 2080768, [[\"sel\", 4]], 3, i14.MatSelect, [i6.ViewportRuler, i1.ChangeDetectorRef, i1.NgZone, i3.ErrorStateMatcher, i1.ElementRef, [2, i9.Directionality], [2, i15.NgForm], [2, i15.FormGroupDirective], [2, i10.MatFormField], [6, i15.NgControl], [8, null], i14.MAT_SELECT_SCROLL_STRATEGY], { required: [0, \"required\"], ariaLabel: [1, \"ariaLabel\"] }, null), i1.ɵqud(603979776, 8, { options: 1 }), i1.ɵqud(603979776, 9, { optionGroups: 1 }), i1.ɵqud(335544320, 10, { customTrigger: 0 }), i1.ɵprd(2048, [[1, 4]], i10.MatFormFieldControl, null, [i14.MatSelect]), (_l()(), i1.ɵand(16777216, null, 1, 2, null, View_FormFieldComponent_4)), i1.ɵdid(25, 278528, null, 0, i16.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵppd(26, 1), (_l()(), i1.ɵand(16777216, null, 6, 1, null, View_FormFieldComponent_5)), i1.ɵdid(28, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(29, 0, null, 1, 0, \"input\", [[\"type\", \"hidden\"]], [[8, \"name\", 0], [8, \"value\", 0]], null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_22 = \"fill\"; _ck(_v, 1, 0, currVal_22); var currVal_46 = _co.isRequired; _ck(_v, 14, 0, currVal_46); var currVal_47 = _co.field.rowId; _ck(_v, 16, 0, currVal_47); var currVal_48 = _co.isRequired; var currVal_49 = \"Press enter to navigate using arrow keys\"; _ck(_v, 19, 0, currVal_48, currVal_49); var currVal_50 = i1.ɵunv(_v, 25, 0, _ck(_v, 26, 0, i1.ɵnov(_v.parent.parent.parent, 0), _co.field.options)); _ck(_v, 25, 0, currVal_50); var currVal_51 = _co.isRequired; _ck(_v, 28, 0, currVal_51); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.displaySetting.Font; var currVal_1 = (i1.ɵnov(_v, 1).appearance == \"standard\"); var currVal_2 = (i1.ɵnov(_v, 1).appearance == \"fill\"); var currVal_3 = (i1.ɵnov(_v, 1).appearance == \"outline\"); var currVal_4 = (i1.ɵnov(_v, 1).appearance == \"legacy\"); var currVal_5 = i1.ɵnov(_v, 1)._control.errorState; var currVal_6 = i1.ɵnov(_v, 1)._canLabelFloat; var currVal_7 = i1.ɵnov(_v, 1)._shouldLabelFloat(); var currVal_8 = i1.ɵnov(_v, 1)._hideControlPlaceholder(); var currVal_9 = i1.ɵnov(_v, 1)._control.disabled; var currVal_10 = i1.ɵnov(_v, 1)._control.autofilled; var currVal_11 = i1.ɵnov(_v, 1)._control.focused; var currVal_12 = (i1.ɵnov(_v, 1).color == \"accent\"); var currVal_13 = (i1.ɵnov(_v, 1).color == \"warn\"); var currVal_14 = i1.ɵnov(_v, 1)._shouldForward(\"untouched\"); var currVal_15 = i1.ɵnov(_v, 1)._shouldForward(\"touched\"); var currVal_16 = i1.ɵnov(_v, 1)._shouldForward(\"pristine\"); var currVal_17 = i1.ɵnov(_v, 1)._shouldForward(\"dirty\"); var currVal_18 = i1.ɵnov(_v, 1)._shouldForward(\"valid\"); var currVal_19 = i1.ɵnov(_v, 1)._shouldForward(\"invalid\"); var currVal_20 = i1.ɵnov(_v, 1)._shouldForward(\"pending\"); var currVal_21 = !i1.ɵnov(_v, 1)._animationsEnabled; _ck(_v, 0, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]); var currVal_23 = _v.context.$implicit.fieldTitle; _ck(_v, 11, 0, currVal_23); var currVal_24 = (i1.ɵnov(_v, 14).required ? \"\" : null); var currVal_25 = i1.ɵnov(_v, 18).ngClassUntouched; var currVal_26 = i1.ɵnov(_v, 18).ngClassTouched; var currVal_27 = i1.ɵnov(_v, 18).ngClassPristine; var currVal_28 = i1.ɵnov(_v, 18).ngClassDirty; var currVal_29 = i1.ɵnov(_v, 18).ngClassValid; var currVal_30 = i1.ɵnov(_v, 18).ngClassInvalid; var currVal_31 = i1.ɵnov(_v, 18).ngClassPending; var currVal_32 = i1.ɵnov(_v, 19).id; var currVal_33 = i1.ɵnov(_v, 19).tabIndex; var currVal_34 = i1.ɵnov(_v, 19)._getAriaLabel(); var currVal_35 = i1.ɵnov(_v, 19)._getAriaLabelledby(); var currVal_36 = i1.ɵnov(_v, 19).required.toString(); var currVal_37 = i1.ɵnov(_v, 19).disabled.toString(); var currVal_38 = i1.ɵnov(_v, 19).errorState; var currVal_39 = (i1.ɵnov(_v, 19).panelOpen ? i1.ɵnov(_v, 19)._optionIds : null); var currVal_40 = i1.ɵnov(_v, 19).multiple; var currVal_41 = (i1.ɵnov(_v, 19)._ariaDescribedby || null); var currVal_42 = i1.ɵnov(_v, 19)._getAriaActiveDescendant(); var currVal_43 = i1.ɵnov(_v, 19).disabled; var currVal_44 = i1.ɵnov(_v, 19).errorState; var currVal_45 = i1.ɵnov(_v, 19).required; _ck(_v, 12, 1, [currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34, currVal_35, currVal_36, currVal_37, currVal_38, currVal_39, currVal_40, currVal_41, currVal_42, currVal_43, currVal_44, currVal_45]); var currVal_52 = _co.getName(_co.field); var currVal_53 = (i1.ɵnov(_v, 19).value || null); _ck(_v, 29, 0, currVal_52, currVal_53); }); }\nfunction View_FormFieldComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormFieldComponent_3)), i1.ɵdid(2, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.field.rowData[0]; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_FormFieldComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"mat-error\", [[\"class\", \"mat-error\"], [\"role\", \"alert\"]], [[1, \"id\", 0]], null, null, null, null)), i1.ɵdid(1, 16384, [[14, 4]], 0, i10.MatError, [], null, null), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 1).id; _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.resources.InvalidEmail; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_FormFieldComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 23, \"mat-form-field\", [[\"appearance\", \"fill\"], [\"class\", \"mat-form-field\"]], [[4, \"font-family\", null], [2, \"mat-form-field-appearance-standard\", null], [2, \"mat-form-field-appearance-fill\", null], [2, \"mat-form-field-appearance-outline\", null], [2, \"mat-form-field-appearance-legacy\", null], [2, \"mat-form-field-invalid\", null], [2, \"mat-form-field-can-float\", null], [2, \"mat-form-field-should-float\", null], [2, \"mat-form-field-hide-placeholder\", null], [2, \"mat-form-field-disabled\", null], [2, \"mat-form-field-autofilled\", null], [2, \"mat-focused\", null], [2, \"mat-accent\", null], [2, \"mat-warn\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null], [2, \"_mat-animation-noopable\", null]], null, null, i11.View_MatFormField_0, i11.RenderType_MatFormField)), i1.ɵdid(1, 7389184, null, 7, i10.MatFormField, [i1.ElementRef, i1.ChangeDetectorRef, [2, i3.MAT_LABEL_GLOBAL_OPTIONS], [2, i9.Directionality], [2, i10.MAT_FORM_FIELD_DEFAULT_OPTIONS], i7.Platform, i1.NgZone, [2, i12.ANIMATION_MODULE_TYPE]], { appearance: [0, \"appearance\"] }, null), i1.ɵqud(335544320, 11, { _control: 0 }), i1.ɵqud(335544320, 12, { _placeholderChild: 0 }), i1.ɵqud(335544320, 13, { _labelChild: 0 }), i1.ɵqud(603979776, 14, { _errorChildren: 1 }), i1.ɵqud(603979776, 15, { _hintChildren: 1 }), i1.ɵqud(603979776, 16, { _prefixChildren: 1 }), i1.ɵqud(603979776, 17, { _suffixChildren: 1 }), (_l()(), i1.ɵeld(9, 0, null, 3, 2, \"mat-label\", [], null, null, null, null, null)), i1.ɵdid(10, 16384, [[13, 4]], 0, i10.MatLabel, [], null, null), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), (_l()(), i1.ɵeld(12, 0, null, 1, 9, \"input\", [[\"class\", \"mat-input-element mat-form-field-autofill-control\"], [\"matInput\", \"\"]], [[8, \"name\", 0], [1, \"required\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null], [2, \"mat-input-server\", null], [1, \"id\", 0], [1, \"placeholder\", 0], [8, \"disabled\", 0], [8, \"required\", 0], [8, \"readOnly\", 0], [1, \"aria-describedby\", 0], [1, \"aria-invalid\", 0], [1, \"aria-required\", 0]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"focus\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 13)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 13)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 13)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"blur\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 20)._focusChanged(false) !== false);\n ad = (pd_4 && ad);\n } if ((\"focus\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 20)._focusChanged(true) !== false);\n ad = (pd_5 && ad);\n } if ((\"input\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 20)._onInput() !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 16384, null, 0, i15.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i15.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(14, 16384, null, 0, i15.RequiredValidator, [], { required: [0, \"required\"] }, null), i1.ɵprd(1024, null, i15.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i15.RequiredValidator]), i1.ɵprd(1024, null, i15.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i15.DefaultValueAccessor]), i1.ɵdid(17, 671744, null, 0, i15.FormControlName, [[3, i15.ControlContainer], [6, i15.NG_VALIDATORS], [8, null], [6, i15.NG_VALUE_ACCESSOR], [2, i15.ɵangular_packages_forms_forms_j]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i15.NgControl, null, [i15.FormControlName]), i1.ɵdid(19, 16384, null, 0, i15.NgControlStatus, [[4, i15.NgControl]], null, null), i1.ɵdid(20, 999424, null, 0, i17.MatInput, [i1.ElementRef, i7.Platform, [6, i15.NgControl], [2, i15.NgForm], [2, i15.FormGroupDirective], i3.ErrorStateMatcher, [8, null], i18.AutofillMonitor, i1.NgZone], { placeholder: [0, \"placeholder\"], required: [1, \"required\"] }, null), i1.ɵprd(2048, [[11, 4]], i10.MatFormFieldControl, null, [i17.MatInput]), (_l()(), i1.ɵand(16777216, null, 5, 1, null, View_FormFieldComponent_8)), i1.ɵdid(23, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_22 = \"fill\"; _ck(_v, 1, 0, currVal_22); var currVal_42 = _co.isRequired; _ck(_v, 14, 0, currVal_42); var currVal_43 = _co.field.rowId; _ck(_v, 17, 0, currVal_43); var currVal_44 = _v.context.$implicit.placeholder; var currVal_45 = _co.isRequired; _ck(_v, 20, 0, currVal_44, currVal_45); var currVal_46 = (_co.formControl.errors && _co.formControl.errors.pattern); _ck(_v, 23, 0, currVal_46); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.displaySetting.Font; var currVal_1 = (i1.ɵnov(_v, 1).appearance == \"standard\"); var currVal_2 = (i1.ɵnov(_v, 1).appearance == \"fill\"); var currVal_3 = (i1.ɵnov(_v, 1).appearance == \"outline\"); var currVal_4 = (i1.ɵnov(_v, 1).appearance == \"legacy\"); var currVal_5 = i1.ɵnov(_v, 1)._control.errorState; var currVal_6 = i1.ɵnov(_v, 1)._canLabelFloat; var currVal_7 = i1.ɵnov(_v, 1)._shouldLabelFloat(); var currVal_8 = i1.ɵnov(_v, 1)._hideControlPlaceholder(); var currVal_9 = i1.ɵnov(_v, 1)._control.disabled; var currVal_10 = i1.ɵnov(_v, 1)._control.autofilled; var currVal_11 = i1.ɵnov(_v, 1)._control.focused; var currVal_12 = (i1.ɵnov(_v, 1).color == \"accent\"); var currVal_13 = (i1.ɵnov(_v, 1).color == \"warn\"); var currVal_14 = i1.ɵnov(_v, 1)._shouldForward(\"untouched\"); var currVal_15 = i1.ɵnov(_v, 1)._shouldForward(\"touched\"); var currVal_16 = i1.ɵnov(_v, 1)._shouldForward(\"pristine\"); var currVal_17 = i1.ɵnov(_v, 1)._shouldForward(\"dirty\"); var currVal_18 = i1.ɵnov(_v, 1)._shouldForward(\"valid\"); var currVal_19 = i1.ɵnov(_v, 1)._shouldForward(\"invalid\"); var currVal_20 = i1.ɵnov(_v, 1)._shouldForward(\"pending\"); var currVal_21 = !i1.ɵnov(_v, 1)._animationsEnabled; _ck(_v, 0, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]); var currVal_23 = _v.context.$implicit.fieldTitle; _ck(_v, 11, 0, currVal_23); var currVal_24 = _co.getName(_co.field); var currVal_25 = (i1.ɵnov(_v, 14).required ? \"\" : null); var currVal_26 = i1.ɵnov(_v, 19).ngClassUntouched; var currVal_27 = i1.ɵnov(_v, 19).ngClassTouched; var currVal_28 = i1.ɵnov(_v, 19).ngClassPristine; var currVal_29 = i1.ɵnov(_v, 19).ngClassDirty; var currVal_30 = i1.ɵnov(_v, 19).ngClassValid; var currVal_31 = i1.ɵnov(_v, 19).ngClassInvalid; var currVal_32 = i1.ɵnov(_v, 19).ngClassPending; var currVal_33 = i1.ɵnov(_v, 20)._isServer; var currVal_34 = i1.ɵnov(_v, 20).id; var currVal_35 = i1.ɵnov(_v, 20).placeholder; var currVal_36 = i1.ɵnov(_v, 20).disabled; var currVal_37 = i1.ɵnov(_v, 20).required; var currVal_38 = i1.ɵnov(_v, 20).readonly; var currVal_39 = (i1.ɵnov(_v, 20)._ariaDescribedby || null); var currVal_40 = i1.ɵnov(_v, 20).errorState; var currVal_41 = i1.ɵnov(_v, 20).required.toString(); _ck(_v, 12, 1, [currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34, currVal_35, currVal_36, currVal_37, currVal_38, currVal_39, currVal_40, currVal_41]); }); }\nfunction View_FormFieldComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormFieldComponent_7)), i1.ɵdid(2, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.field.rowData[0]; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_FormFieldComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 21, \"mat-form-field\", [[\"appearance\", \"fill\"], [\"class\", \"mat-form-field\"]], [[4, \"font-family\", null], [2, \"mat-form-field-appearance-standard\", null], [2, \"mat-form-field-appearance-fill\", null], [2, \"mat-form-field-appearance-outline\", null], [2, \"mat-form-field-appearance-legacy\", null], [2, \"mat-form-field-invalid\", null], [2, \"mat-form-field-can-float\", null], [2, \"mat-form-field-should-float\", null], [2, \"mat-form-field-hide-placeholder\", null], [2, \"mat-form-field-disabled\", null], [2, \"mat-form-field-autofilled\", null], [2, \"mat-focused\", null], [2, \"mat-accent\", null], [2, \"mat-warn\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null], [2, \"_mat-animation-noopable\", null]], null, null, i11.View_MatFormField_0, i11.RenderType_MatFormField)), i1.ɵdid(1, 7389184, null, 7, i10.MatFormField, [i1.ElementRef, i1.ChangeDetectorRef, [2, i3.MAT_LABEL_GLOBAL_OPTIONS], [2, i9.Directionality], [2, i10.MAT_FORM_FIELD_DEFAULT_OPTIONS], i7.Platform, i1.NgZone, [2, i12.ANIMATION_MODULE_TYPE]], { appearance: [0, \"appearance\"] }, null), i1.ɵqud(335544320, 18, { _control: 0 }), i1.ɵqud(335544320, 19, { _placeholderChild: 0 }), i1.ɵqud(335544320, 20, { _labelChild: 0 }), i1.ɵqud(603979776, 21, { _errorChildren: 1 }), i1.ɵqud(603979776, 22, { _hintChildren: 1 }), i1.ɵqud(603979776, 23, { _prefixChildren: 1 }), i1.ɵqud(603979776, 24, { _suffixChildren: 1 }), (_l()(), i1.ɵeld(9, 0, null, 3, 2, \"mat-label\", [], null, null, null, null, null)), i1.ɵdid(10, 16384, [[20, 4]], 0, i10.MatLabel, [], null, null), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), (_l()(), i1.ɵeld(12, 0, null, 1, 9, \"input\", [[\"class\", \"mat-input-element mat-form-field-autofill-control\"], [\"matInput\", \"\"]], [[8, \"name\", 0], [1, \"required\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null], [2, \"mat-input-server\", null], [1, \"id\", 0], [1, \"placeholder\", 0], [8, \"disabled\", 0], [8, \"required\", 0], [8, \"readOnly\", 0], [1, \"aria-describedby\", 0], [1, \"aria-invalid\", 0], [1, \"aria-required\", 0]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"focus\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 13)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 13)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 13)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"blur\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 20)._focusChanged(false) !== false);\n ad = (pd_4 && ad);\n } if ((\"focus\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 20)._focusChanged(true) !== false);\n ad = (pd_5 && ad);\n } if ((\"input\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 20)._onInput() !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 16384, null, 0, i15.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i15.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(14, 16384, null, 0, i15.RequiredValidator, [], { required: [0, \"required\"] }, null), i1.ɵprd(1024, null, i15.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i15.RequiredValidator]), i1.ɵprd(1024, null, i15.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i15.DefaultValueAccessor]), i1.ɵdid(17, 671744, null, 0, i15.FormControlName, [[3, i15.ControlContainer], [6, i15.NG_VALIDATORS], [8, null], [6, i15.NG_VALUE_ACCESSOR], [2, i15.ɵangular_packages_forms_forms_j]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i15.NgControl, null, [i15.FormControlName]), i1.ɵdid(19, 16384, null, 0, i15.NgControlStatus, [[4, i15.NgControl]], null, null), i1.ɵdid(20, 999424, null, 0, i17.MatInput, [i1.ElementRef, i7.Platform, [6, i15.NgControl], [2, i15.NgForm], [2, i15.FormGroupDirective], i3.ErrorStateMatcher, [8, null], i18.AutofillMonitor, i1.NgZone], { placeholder: [0, \"placeholder\"], required: [1, \"required\"] }, null), i1.ɵprd(2048, [[18, 4]], i10.MatFormFieldControl, null, [i17.MatInput])], function (_ck, _v) { var _co = _v.component; var currVal_22 = \"fill\"; _ck(_v, 1, 0, currVal_22); var currVal_42 = _co.isRequired; _ck(_v, 14, 0, currVal_42); var currVal_43 = _co.field.rowId; _ck(_v, 17, 0, currVal_43); var currVal_44 = _v.context.$implicit.placeholder; var currVal_45 = _co.isRequired; _ck(_v, 20, 0, currVal_44, currVal_45); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.displaySetting.Font; var currVal_1 = (i1.ɵnov(_v, 1).appearance == \"standard\"); var currVal_2 = (i1.ɵnov(_v, 1).appearance == \"fill\"); var currVal_3 = (i1.ɵnov(_v, 1).appearance == \"outline\"); var currVal_4 = (i1.ɵnov(_v, 1).appearance == \"legacy\"); var currVal_5 = i1.ɵnov(_v, 1)._control.errorState; var currVal_6 = i1.ɵnov(_v, 1)._canLabelFloat; var currVal_7 = i1.ɵnov(_v, 1)._shouldLabelFloat(); var currVal_8 = i1.ɵnov(_v, 1)._hideControlPlaceholder(); var currVal_9 = i1.ɵnov(_v, 1)._control.disabled; var currVal_10 = i1.ɵnov(_v, 1)._control.autofilled; var currVal_11 = i1.ɵnov(_v, 1)._control.focused; var currVal_12 = (i1.ɵnov(_v, 1).color == \"accent\"); var currVal_13 = (i1.ɵnov(_v, 1).color == \"warn\"); var currVal_14 = i1.ɵnov(_v, 1)._shouldForward(\"untouched\"); var currVal_15 = i1.ɵnov(_v, 1)._shouldForward(\"touched\"); var currVal_16 = i1.ɵnov(_v, 1)._shouldForward(\"pristine\"); var currVal_17 = i1.ɵnov(_v, 1)._shouldForward(\"dirty\"); var currVal_18 = i1.ɵnov(_v, 1)._shouldForward(\"valid\"); var currVal_19 = i1.ɵnov(_v, 1)._shouldForward(\"invalid\"); var currVal_20 = i1.ɵnov(_v, 1)._shouldForward(\"pending\"); var currVal_21 = !i1.ɵnov(_v, 1)._animationsEnabled; _ck(_v, 0, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]); var currVal_23 = _v.context.$implicit.fieldTitle; _ck(_v, 11, 0, currVal_23); var currVal_24 = _co.getName(_co.field); var currVal_25 = (i1.ɵnov(_v, 14).required ? \"\" : null); var currVal_26 = i1.ɵnov(_v, 19).ngClassUntouched; var currVal_27 = i1.ɵnov(_v, 19).ngClassTouched; var currVal_28 = i1.ɵnov(_v, 19).ngClassPristine; var currVal_29 = i1.ɵnov(_v, 19).ngClassDirty; var currVal_30 = i1.ɵnov(_v, 19).ngClassValid; var currVal_31 = i1.ɵnov(_v, 19).ngClassInvalid; var currVal_32 = i1.ɵnov(_v, 19).ngClassPending; var currVal_33 = i1.ɵnov(_v, 20)._isServer; var currVal_34 = i1.ɵnov(_v, 20).id; var currVal_35 = i1.ɵnov(_v, 20).placeholder; var currVal_36 = i1.ɵnov(_v, 20).disabled; var currVal_37 = i1.ɵnov(_v, 20).required; var currVal_38 = i1.ɵnov(_v, 20).readonly; var currVal_39 = (i1.ɵnov(_v, 20)._ariaDescribedby || null); var currVal_40 = i1.ɵnov(_v, 20).errorState; var currVal_41 = i1.ɵnov(_v, 20).required.toString(); _ck(_v, 12, 1, [currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34, currVal_35, currVal_36, currVal_37, currVal_38, currVal_39, currVal_40, currVal_41]); }); }\nfunction View_FormFieldComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormFieldComponent_10)), i1.ɵdid(2, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.field.rowData[0]; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_FormFieldComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, null, null, null, null, function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i16.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), i1.ɵdid(2, 540672, null, 0, i15.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i15.ControlContainer, null, [i15.FormGroupDirective]), i1.ɵdid(4, 16384, null, 0, i15.NgControlStatusGroup, [[4, i15.ControlContainer]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormFieldComponent_2)), i1.ɵdid(6, 278528, null, 0, i16.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i16.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormFieldComponent_6)), i1.ɵdid(8, 278528, null, 0, i16.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i16.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormFieldComponent_9)), i1.ɵdid(10, 278528, null, 0, i16.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i16.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getFieldDisplayType(_co.field); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.form; _ck(_v, 2, 0, currVal_1); var currVal_2 = _co.FieldDisplayType.Dropdown; _ck(_v, 6, 0, currVal_2); var currVal_3 = _co.FieldDisplayType.Email; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.FieldDisplayType.PlainText; _ck(_v, 10, 0, currVal_4); }, null); }\nfunction View_FormFieldComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i19.FieldSortPipe, []), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FormFieldComponent_1)), i1.ɵdid(2, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.formControl; _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_FormFieldComponent_0 = View_FormFieldComponent_0;\nfunction View_FormFieldComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"app-form-field\", [], null, null, null, View_FormFieldComponent_0, RenderType_FormFieldComponent)), i1.ɵdid(1, 114688, null, 0, i20.FormFieldComponent, [i21.FormControlService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_FormFieldComponent_Host_0 = View_FormFieldComponent_Host_0;\nvar FormFieldComponentNgFactory = i1.ɵccf(\"app-form-field\", i20.FormFieldComponent, View_FormFieldComponent_Host_0, { form: \"form\", field: \"field\", displaySetting: \"displaySetting\" }, {}, []);\nexports.FormFieldComponentNgFactory = FormFieldComponentNgFactory;\n","\r\n\r\n \r\n \r\n {{ rowData.fieldTitle }}\r\n \r\n {{ getOptionLabel(o) }}\r\n \r\n * {{ resources.Required }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{ rowData.fieldTitle }}\r\n \r\n {{ resources.InvalidEmail }}\r\n \r\n \r\n\r\n \r\n \r\n {{ rowData.fieldTitle }}\r\n \r\n \r\n \r\n \r\n\r\n","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./pre-chat-constants\"));\n__export(require(\"./directives/email.directive\"));\n__export(require(\"./directives/no-white-space.directive\"));\n","export * from \"./pre-chat-constants\";\r\nexport * from \"./directives/email.directive\";\r\nexport * from \"./directives/no-white-space.directive\";\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar form_control_service_1 = require(\"../../services/form-control.service\");\nvar forms_1 = require(\"@angular/forms\");\nvar form_field_display_type_enum_1 = require(\"@chatForm/src/app/models/form-field-display-type.enum\");\nvar FormFieldComponent = /** @class */ (function () {\n function FormFieldComponent(formControlService) {\n this.formControlService = formControlService;\n this.FieldDisplayType = form_field_display_type_enum_1.FormFieldDisplayType;\n this.resources = resources;\n }\n Object.defineProperty(FormFieldComponent.prototype, \"formControl\", {\n get: function () { return this.form.controls[this.field.rowId]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormFieldComponent.prototype, \"isRequired\", {\n get: function () { return this.formControlService.isRequiredControl(this.formControl); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormFieldComponent.prototype, \"invalid\", {\n get: function () { return this.formControl.invalid; },\n enumerable: true,\n configurable: true\n });\n FormFieldComponent.prototype.ngOnInit = function () { };\n FormFieldComponent.prototype.getName = function (row) {\n if (row.fieldTypeName === \"Custom\" || row.fieldTypeName === \"Dropdown\") {\n return \"Parameters[ChatParam_\" + row.mappingFieldName + \"]\";\n }\n return row.mappingFieldName;\n };\n FormFieldComponent.prototype.getFieldDisplayType = function (row) {\n if (row.options && row.options.length)\n return form_field_display_type_enum_1.FormFieldDisplayType.Dropdown;\n if (row.mappingFieldName === 'Email')\n return form_field_display_type_enum_1.FormFieldDisplayType.Email;\n return form_field_display_type_enum_1.FormFieldDisplayType.PlainText;\n };\n FormFieldComponent.prototype.getOptionLabel = function (option) {\n return option.optionLanguages[0].optionLabel;\n };\n FormFieldComponent.prototype.getOptionTooltip = function (option) {\n var label = this.getOptionLabel(option);\n return label.length > 45 ? label : '';\n };\n return FormFieldComponent;\n}());\nexports.FormFieldComponent = FormFieldComponent;\n","import { Component, Input, OnInit } from '@angular/core';\r\n\r\nimport { FormControlService } from '../../services/form-control.service';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { FormFieldDisplayType } from '@chatForm/src/app/models/form-field-display-type.enum';\r\nimport { DisplaySetting } from '../../models/display-setting';\r\n\r\n@Component({\r\n selector: 'app-form-field',\r\n templateUrl: './form-field.component.html',\r\n styleUrls: ['./form-field.component.scss']\r\n})\r\nexport class FormFieldComponent implements OnInit {\r\n\r\n @Input() form: FormGroup;\r\n @Input() field;\r\n @Input() displaySetting: DisplaySetting;\r\n FieldDisplayType: typeof FormFieldDisplayType = FormFieldDisplayType;\r\n resources: any = resources;\r\n\r\n get formControl() { return this.form.controls[this.field.rowId]; }\r\n get isRequired() { return this.formControlService.isRequiredControl(this.formControl); }\r\n get invalid() { return this.formControl.invalid; }\r\n\r\n constructor(private formControlService: FormControlService) { }\r\n\r\n ngOnInit() { }\r\n\r\n getName(row: any): string {\r\n if (row.fieldTypeName === \"Custom\" || row.fieldTypeName === \"Dropdown\") {\r\n return `Parameters[ChatParam_${row.mappingFieldName}]`;\r\n }\r\n\r\n return row.mappingFieldName;\r\n }\r\n\r\n getFieldDisplayType(row: any): FormFieldDisplayType {\r\n if (row.options && row.options.length) return FormFieldDisplayType.Dropdown;\r\n if (row.mappingFieldName === 'Email') return FormFieldDisplayType.Email;\r\n return FormFieldDisplayType.PlainText;\r\n }\r\n\r\n getOptionLabel(option): string {\r\n return option.optionLanguages[0].optionLabel;\r\n }\r\n\r\n getOptionTooltip(option): string {\r\n const label: string = this.getOptionLabel(option);\r\n return label.length > 45 ? label : '';\r\n }\r\n\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PreChatConstants = /** @class */ (function () {\n function PreChatConstants() {\n }\n // If local part of the email is unquoted it allows following:\n // - uppercase and lowercase letters A to Z and a to z\n // - digits 0 to 9\n // - characters !#$%&'*+-/=?^_`{|}~\n // - dot ., provided that it is not the first or last character and it does not appear consecutively\n PreChatConstants.EMAIL_REGEXP = \"^[a-z0-9!#$%&'*+\\\\/=?^_`{|}~-]+(\\\\.?[a-z0-9!#$%&'*+\\\\/=?^_`{|}~-]+)*@([a-z0-9]([a-z0-9-]*[a-z0-9])?\\\\.)+[a-z0-9]([a-z0-9-]*[a-z0-9])?$\";\n // In exceptional case local part of the email can be enclosed in quotes. In such case in addition to conditions described above it allows:\n // - whitespaces\n // - dot . can be a first or last character and appear consecutively\n // - characters (),:;<>@[\\]\n PreChatConstants.QUOTED_EMAIL_REGEXP = \"^\\\"[a-z0-9!#$%&'*+\\\\/=?^_`{|}~\\\\- \\\\.(),:;<>\\\\\\\\@\\\\[\\\\]]+\\\"@([a-z0-9]([a-z0-9-]*[a-z0-9])?\\\\.)+[a-z0-9]([a-z0-9-]*[a-z0-9])?$\";\n return PreChatConstants;\n}());\nexports.PreChatConstants = PreChatConstants;\n","export class PreChatConstants {\r\n // If local part of the email is unquoted it allows following:\r\n // - uppercase and lowercase letters A to Z and a to z\r\n // - digits 0 to 9\r\n // - characters !#$%&'*+-/=?^_`{|}~\r\n // - dot ., provided that it is not the first or last character and it does not appear consecutively\r\n public static readonly EMAIL_REGEXP = \"^[a-z0-9!#$%&'*+\\\\/=?^_`{|}~-]+(\\\\.?[a-z0-9!#$%&'*+\\\\/=?^_`{|}~-]+)*@([a-z0-9]([a-z0-9-]*[a-z0-9])?\\\\.)+[a-z0-9]([a-z0-9-]*[a-z0-9])?$\";\r\n\r\n // In exceptional case local part of the email can be enclosed in quotes. In such case in addition to conditions described above it allows:\r\n // - whitespaces\r\n // - dot . can be a first or last character and appear consecutively\r\n // - characters (),:;<>@[\\]\r\n public static readonly QUOTED_EMAIL_REGEXP = \"^\\\"[a-z0-9!#$%&'*+\\\\/=?^_`{|}~\\\\- \\\\.(),:;<>\\\\\\\\@\\\\[\\\\]]+\\\"@([a-z0-9]([a-z0-9-]*[a-z0-9])?\\\\.)+[a-z0-9]([a-z0-9-]*[a-z0-9])?$\";\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar rxjs_1 = require(\"rxjs\");\nvar operators_1 = require(\"rxjs/operators\");\nvar pre_chat_service_1 = require(\"../services/pre-chat.service\");\nvar chat_type_model_1 = require(\"../models/chat-type-model\");\nvar PreChatComponent = /** @class */ (function () {\n function PreChatComponent(preChatService) {\n var _this = this;\n this.preChatService = preChatService;\n this.reCaptchaEnabled = model.recaptchaEnabled;\n this.reCaptchaSiteKey = model.reCaptchaSiteKey;\n this.error = model.error;\n this.language = model.userLanguage;\n this.timezone = \"\";\n this.displaySettingId = parseInt(model.displaySettingId);\n this.resources = resources;\n this.model = model;\n this.settings = null;\n this.skillAvailabilityCheckSeconds = parseInt(model.skillAvailabilityCheckSeconds);\n this.preChatService.activeChatData$.subscribe(function (activeChatData) {\n if (activeChatData.formTag) {\n _this.formTag = activeChatData.formTag;\n }\n else {\n _this.formTag = null;\n }\n if (activeChatData.location) {\n _this.location = activeChatData.location;\n }\n _this.formType = activeChatData.formType;\n _this.chatSessionId = activeChatData.chatSessionId;\n _this.loadForm();\n });\n }\n PreChatComponent.prototype.ngOnInit = function () {\n this.language = this.language || window.navigator.language || \"en\";\n upstream.customerchat.helpers.setPreferredLanguageCss(this.language);\n this.timezone = this.preChatService.getTimeZone();\n this.preChatService.sendChatFrameLoadEvent();\n };\n PreChatComponent.prototype.loadForm = function () {\n var _this = this;\n this.settings = null;\n var form$ = this.preChatService.getPreChatForm(this.language, this.formTag).pipe(operators_1.catchError(function (err) {\n console.error(\"Failed to load pre chat form with language: '\" + _this.language + \"' and formTag:'\" + _this.formTag + \"' \");\n return rxjs_1.throwError(err);\n }), operators_1.tap(function () { return console.log(\"Successfully fetched pre chat form\"); }));\n var displaySetting$ = this.preChatService.getDisplaySetting(this.displaySettingId).pipe(operators_1.catchError(function (err) {\n console.error(\"Failed to load display setting with id: '\" + _this.displaySettingId + \"'\");\n return rxjs_1.throwError(err);\n }), operators_1.tap(function () { return console.log(\"Successfully fetched display setting\"); }));\n rxjs_1.forkJoin(form$, displaySetting$).subscribe({\n next: function (data) {\n var form = data[0], displaySetting = data[1];\n // Get list of skill addresses configured in the pre-chat form\n var skillField = form.rows.find(function (row) { return row.fieldTypeName === 'Skill Dropdown' && row.mappingFieldName === 'Source'; });\n // Use drop down options OR empty skill, any overidden skill or default skill address is handled in chat engine \n var skillAddressesFromPreChatForm = skillField ? skillField.options.map(function (option) { return option.valueCode; }) : _this.model.targetSkillAddress ? [_this.model.targetSkillAddress] : [];\n // send list of skills so that we can a skill Availability check\n _this.preChatService.sendPreChatFormReadyEvent(skillAddressesFromPreChatForm);\n _this.form = form;\n _this.settings = {\n form: form,\n displaySetting: displaySetting,\n \"formTag\": _this.formTag,\n \"formType\": _this.formType,\n \"chatSessionId\": _this.chatSessionId,\n \"sourceUrl\": _this.location.pathname\n };\n if (_this.formType === chat_type_model_1.CHAT_TYPE.REACTIVE) {\n if (_this.formTag !== null && form.tag !== _this.formTag) {\n console.info(\"Unable to find form with tag:-\" + _this.formTag + \" so loading default form with Id 1\");\n }\n //TODO Handle scenario when error occurs on submitting Reactive chat incase there is no form\n if (_this.formTag === null && _this.error) {\n model.error = _this.error = null;\n console.info(\"Error occurred while creating reactive chat\");\n }\n if (_this.formTag === null) {\n _this.preChatService.hideChat();\n }\n }\n if (_this.error && _this.formType === chat_type_model_1.CHAT_TYPE.PROACTIVE && form.tag !== _this.formTag) {\n //Send error response to proactive engine for displaying error when no form is provided for Proactive\n _this.preChatService.sendProactiveErrorMessage(_this.error);\n //since error will be handled by proactive engine hence setting it null here\n model.error = _this.error = null;\n }\n },\n error: function (err) {\n console.error(err);\n }\n });\n };\n return PreChatComponent;\n}());\nexports.PreChatComponent = PreChatComponent;\n","import { Component, OnInit } from '@angular/core';\r\nimport { forkJoin, Observable, throwError } from 'rxjs';\r\nimport { catchError, tap } from 'rxjs/operators';\r\n\r\nimport { PreChatService } from '../services/pre-chat.service';\r\nimport { DisplaySetting } from '../models/display-setting';\r\nimport { SkillAvailability } from '../models/skill-availability';\r\nimport { CHAT_TYPE } from '../models/chat-type-model';\r\n\r\n@Component({\r\n selector: 'pre-chat-root',\r\n templateUrl: './pre-chat.component.html',\r\n styleUrls: ['./pre-chat.component.scss']\r\n})\r\nexport class PreChatComponent implements OnInit {\r\n\r\n reCaptchaEnabled: boolean = model.recaptchaEnabled;\r\n reCaptchaSiteKey: string = model.reCaptchaSiteKey;\r\n error: string = model.error;\r\n language: string = model.userLanguage;\r\n formTag: string;\r\n formType: CHAT_TYPE;\r\n timezone: string = \"\";\r\n displaySettingId: number = parseInt(model.displaySettingId);\r\n resources = resources;\r\n model = model;\r\n skillAvailabilityList: SkillAvailability[];\r\n settings: any = null;\r\n form: any;\r\n chatSessionId: string;\r\n location: Location;\r\n skillAvailabilityCheckTimer: any;\r\n skillAvailabilityCheckSeconds: number = parseInt(model.skillAvailabilityCheckSeconds);\r\n\r\n constructor(private preChatService: PreChatService) {\r\n this.preChatService.activeChatData$.subscribe(activeChatData => {\r\n if (activeChatData.formTag) {\r\n this.formTag = activeChatData.formTag;\r\n } else {\r\n this.formTag = null;\r\n }\r\n\r\n if (activeChatData.location) {\r\n this.location = activeChatData.location;\r\n }\r\n\r\n this.formType = activeChatData.formType;\r\n this.chatSessionId = activeChatData.chatSessionId;\r\n this.loadForm();\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.language = this.language || window.navigator.language || \"en\";\r\n upstream.customerchat.helpers.setPreferredLanguageCss(this.language);\r\n this.timezone = this.preChatService.getTimeZone();\r\n this.preChatService.sendChatFrameLoadEvent();\r\n }\r\n\r\n loadForm() {\r\n\r\n this.settings = null;\r\n let form$: Observable = this.preChatService.getPreChatForm(this.language, this.formTag).pipe(\r\n catchError(err => {\r\n console.error(`Failed to load pre chat form with language: '${this.language}' and formTag:'${this.formTag}' `);\r\n return throwError(err);\r\n }),\r\n tap(() => console.log(\"Successfully fetched pre chat form\"))\r\n );\r\n let displaySetting$: Observable = this.preChatService.getDisplaySetting(this.displaySettingId).pipe(\r\n catchError(err => {\r\n console.error(`Failed to load display setting with id: '${this.displaySettingId}'`);\r\n return throwError(err);\r\n }),\r\n tap(() => console.log(\"Successfully fetched display setting\"))\r\n );\r\n\r\n\r\n forkJoin(form$, displaySetting$).subscribe({\r\n next: data => {\r\n\r\n let [form, displaySetting] = data;\r\n\r\n // Get list of skill addresses configured in the pre-chat form\r\n let skillField = form.rows.find(row => row.fieldTypeName === 'Skill Dropdown' && row.mappingFieldName === 'Source');\r\n // Use drop down options OR empty skill, any overidden skill or default skill address is handled in chat engine \r\n let skillAddressesFromPreChatForm = skillField ? skillField.options.map(option => option.valueCode) : this.model.targetSkillAddress ? [this.model.targetSkillAddress] : [];\r\n // send list of skills so that we can a skill Availability check\r\n this.preChatService.sendPreChatFormReadyEvent(skillAddressesFromPreChatForm);\r\n \r\n this.form = form;\r\n this.settings = {\r\n form,\r\n displaySetting,\r\n \"formTag\": this.formTag,\r\n \"formType\": this.formType,\r\n \"chatSessionId\": this.chatSessionId,\r\n \"sourceUrl\":this.location.pathname\r\n };\r\n if (this.formType === CHAT_TYPE.REACTIVE) {\r\n if (this.formTag !== null && form.tag !== this.formTag) {\r\n console.info(\"Unable to find form with tag:-\" + this.formTag + \" so loading default form with Id 1\");\r\n }\r\n //TODO Handle scenario when error occurs on submitting Reactive chat incase there is no form\r\n if (this.formTag === null && this.error) {\r\n model.error = this.error = null;\r\n console.info(\"Error occurred while creating reactive chat\");\r\n }\r\n\r\n if (this.formTag === null) {\r\n this.preChatService.hideChat();\r\n }\r\n }\r\n if (this.error && this.formType === CHAT_TYPE.PROACTIVE && form.tag !== this.formTag) {\r\n //Send error response to proactive engine for displaying error when no form is provided for Proactive\r\n this.preChatService.sendProactiveErrorMessage(this.error);\r\n //since error will be handled by proactive engine hence setting it null here\r\n model.error = this.error = null;\r\n }\r\n },\r\n error: err => {\r\n console.error(err);\r\n }\r\n });\r\n }\r\n}","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"[_nghost-%COMP%]{width:100%;height:100%}.chat-form[_ngcontent-%COMP%]{background:#fff;width:100%;height:100%;min-height:100%;margin:0 auto;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.chat-form[_ngcontent-%COMP%] .form-body[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex-pack:justify;justify-content:space-between;overflow-y:auto;overflow-x:hidden}.chat-form[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%]{padding:10px 15px;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:200%;flex-basis:200%;position:relative}.chat-form[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:#555;text-align:center}.form-error[_ngcontent-%COMP%]{position:relative;background:#ff7a6e;color:#fff;text-align:center;font-size:12px;padding:10px}.form-error[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{position:absolute;left:5px;height:100%;font-size:18px;width:22px;top:calc(50% - 11px)}.form-error[_ngcontent-%COMP%] .error-msg[_ngcontent-%COMP%]{margin-left:23px}.captchaFooter[_ngcontent-%COMP%]{margin-top:41px}\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = require(\"./form-footer.component.scss.shim.ngstyle\");\nvar i1 = require(\"@angular/core\");\nvar i2 = require(\"../../../../../../node_modules/@angular/material/divider/typings/index.ngfactory\");\nvar i3 = require(\"@angular/material/divider\");\nvar i4 = require(\"./form-footer.component\");\nvar styles_FormFooterComponent = [i0.styles];\nvar RenderType_FormFooterComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FormFooterComponent, data: {} });\nexports.RenderType_FormFooterComponent = RenderType_FormFooterComponent;\nfunction View_FormFooterComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mat-divider\", [[\"class\", \"mat-divider\"], [\"role\", \"separator\"]], [[1, \"aria-orientation\", 0], [2, \"mat-divider-vertical\", null], [2, \"mat-divider-horizontal\", null], [2, \"mat-divider-inset\", null]], null, null, i2.View_MatDivider_0, i2.RenderType_MatDivider)), i1.ɵdid(1, 49152, null, 0, i3.MatDivider, [], null, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"footer\", [], [[4, \"font-family\", null]], null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = (i1.ɵnov(_v, 1).vertical ? \"vertical\" : \"horizontal\"); var currVal_1 = i1.ɵnov(_v, 1).vertical; var currVal_2 = !i1.ɵnov(_v, 1).vertical; var currVal_3 = i1.ɵnov(_v, 1).inset; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_4 = _co.displaySetting.Font; _ck(_v, 2, 0, currVal_4); var currVal_5 = _co.text; _ck(_v, 3, 0, currVal_5); }); }\nexports.View_FormFooterComponent_0 = View_FormFooterComponent_0;\nfunction View_FormFooterComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"app-form-footer\", [], null, null, null, View_FormFooterComponent_0, RenderType_FormFooterComponent)), i1.ɵdid(1, 114688, null, 0, i4.FormFooterComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_FormFooterComponent_Host_0 = View_FormFooterComponent_Host_0;\nvar FormFooterComponentNgFactory = i1.ɵccf(\"app-form-footer\", i4.FormFooterComponent, View_FormFooterComponent_Host_0, { displaySetting: \"displaySetting\", text: \"text\" }, {}, []);\nexports.FormFooterComponentNgFactory = FormFooterComponentNgFactory;\n","\r\n
{{ text }}
\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar FormFooterComponent = /** @class */ (function () {\n function FormFooterComponent() {\n }\n FormFooterComponent.prototype.ngOnInit = function () {\n };\n return FormFooterComponent;\n}());\nexports.FormFooterComponent = FormFooterComponent;\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DisplaySetting } from '../../models/display-setting';\r\n\r\n@Component({\r\n selector: 'app-form-footer',\r\n templateUrl: './form-footer.component.html',\r\n styleUrls: ['./form-footer.component.scss']\r\n})\r\nexport class FormFooterComponent implements OnInit {\r\n\r\n @Input() displaySetting: DisplaySetting;\r\n @Input() text: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar pre_chat_component_1 = require(\"./pre-chat.component\");\nvar ɵ0 = [pre_chat_component_1.PreChatComponent];\nexports.ɵ0 = ɵ0;\nvar PreChatAppModule = /** @class */ (function () {\n function PreChatAppModule() {\n var options = {\n failed: !!model.error,\n language: model.userLanguage,\n isPreChatForm: true,\n displaySettingId: model.displaySettingId,\n offlineTimeout: parseInt(model.customerTimeout) * 1000,\n };\n var prechat = new PreChat(options);\n prechat.init();\n }\n return PreChatAppModule;\n}());\nexports.PreChatAppModule = PreChatAppModule;\n","import { NgModule } from '@angular/core';\r\nimport { PreChatComponent } from './pre-chat.component';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { AppMaterialModule } from '../app-material.module';\r\nimport { SharedModule } from '../shared/shared.module';\r\n\r\n@NgModule({\r\n declarations: [\r\n PreChatComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n SharedModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n AppMaterialModule,\r\n SharedModule,\r\n ],\r\n entryComponents: [PreChatComponent],\r\n providers: [\r\n { provide: 'components', useValue: [PreChatComponent], multi: true }\r\n ],\r\n})\r\nexport class PreChatAppModule {\r\n constructor() {\r\n let options = {\r\n failed: !!model.error,\r\n language: model.userLanguage,\r\n isPreChatForm: true,\r\n displaySettingId: model.displaySettingId,\r\n offlineTimeout: parseInt(model.customerTimeout) * 1000,\r\n };\r\n var prechat = new PreChat(options);\r\n prechat.init();\r\n }\r\n}","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar pre_chat_service_1 = require(\"../../services/pre-chat.service\");\nvar FormHeaderComponent = /** @class */ (function () {\n function FormHeaderComponent(preChatService) {\n this.preChatService = preChatService;\n this.resources = resources;\n }\n Object.defineProperty(FormHeaderComponent.prototype, \"isTop\", {\n get: function () {\n return window.top === window;\n },\n enumerable: true,\n configurable: true\n });\n FormHeaderComponent.prototype.ngOnInit = function () {\n };\n FormHeaderComponent.prototype.toggleChat = function () {\n this.preChatService.toggleChat();\n };\n FormHeaderComponent.prototype.keydown = function (event) {\n if (event.which === 13) {\n this.toggleChat();\n }\n };\n return FormHeaderComponent;\n}());\nexports.FormHeaderComponent = FormHeaderComponent;\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { PreChatService } from '../../services/pre-chat.service';\r\nimport { DisplaySetting } from '../../models/display-setting';\r\n\r\n@Component({\r\n selector: 'app-form-header',\r\n templateUrl: './form-header.component.html',\r\n styleUrls: ['./form-header.component.scss']\r\n})\r\n\r\nexport class FormHeaderComponent implements OnInit {\r\n\r\n @Input() displaySetting: DisplaySetting;\r\n @Input() form;\r\n resources: any = resources;\r\n\r\n get isTop(): boolean {\r\n return window.top === window;\r\n }\r\n\r\n constructor(private preChatService: PreChatService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n toggleChat(): void {\r\n this.preChatService.toggleChat();\r\n }\r\n \r\n keydown(event): void{\r\n if(event.which === 13){\r\n this.toggleChat();\r\n }\r\n }\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = require(\"@angular/core\");\nvar i1 = require(\"./recaptcha.component\");\nvar i2 = require(\"./recaptcha-loader.service\");\nvar i3 = require(\"./recaptcha-settings\");\nvar styles_RecaptchaComponent = [];\nvar RenderType_RecaptchaComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_RecaptchaComponent, data: {} });\nexports.RenderType_RecaptchaComponent = RenderType_RecaptchaComponent;\nfunction View_RecaptchaComponent_0(_l) { return i0.ɵvid(0, [], null, null); }\nexports.View_RecaptchaComponent_0 = View_RecaptchaComponent_0;\nfunction View_RecaptchaComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"re-captcha\", [], [[1, \"id\", 0]], null, null, View_RecaptchaComponent_0, RenderType_RecaptchaComponent)), i0.ɵdid(1, 4374528, null, 0, i1.RecaptchaComponent, [i0.ElementRef, i2.RecaptchaLoaderService, i0.NgZone, [2, i3.RECAPTCHA_SETTINGS]], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).id; _ck(_v, 0, 0, currVal_0); }); }\nexports.View_RecaptchaComponent_Host_0 = View_RecaptchaComponent_Host_0;\nvar RecaptchaComponentNgFactory = i0.ɵccf(\"re-captcha\", i1.RecaptchaComponent, View_RecaptchaComponent_Host_0, { id: \"id\", siteKey: \"siteKey\", theme: \"theme\", type: \"type\", size: \"size\", tabIndex: \"tabIndex\", badge: \"badge\" }, { resolved: \"resolved\" }, []);\nexports.RecaptchaComponentNgFactory = RecaptchaComponentNgFactory;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction noWhitespaceValidator() {\n return function (control) {\n if (!control) {\n throw new Error(\"FormControl is undefined/null\");\n }\n var isWhitespace = !(control.value || \"\").trim().length;\n var isValid = !isWhitespace;\n return isValid ? null : { whitespace: true };\n };\n}\nexports.noWhitespaceValidator = noWhitespaceValidator;\n","import { FormControl, ValidationErrors, ValidatorFn } from \"@angular/forms\";\r\n\r\nexport function noWhitespaceValidator(): ValidatorFn {\r\n return (control: FormControl): ValidationErrors | null => {\r\n if (!control) {\r\n throw new Error(\"FormControl is undefined/null\");\r\n }\r\n const isWhitespace = !((control.value as string) || \"\").trim().length;\r\n const isValid = !isWhitespace;\r\n return isValid ? null : { whitespace: true };\r\n };\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar recaptcha_component_1 = require(\"./recaptcha/recaptcha.component\");\nexports.RecaptchaComponent = recaptcha_component_1.RecaptchaComponent;\nvar recaptcha_loader_service_1 = require(\"./recaptcha/recaptcha-loader.service\");\nexports.RecaptchaLoaderService = recaptcha_loader_service_1.RecaptchaLoaderService;\nexports.RECAPTCHA_LANGUAGE = recaptcha_loader_service_1.RECAPTCHA_LANGUAGE;\nvar recaptcha_module_1 = require(\"./recaptcha/recaptcha.module\");\nexports.RecaptchaModule = recaptcha_module_1.RecaptchaModule;\nvar recaptcha_settings_1 = require(\"./recaptcha/recaptcha-settings\");\nexports.RECAPTCHA_SETTINGS = recaptcha_settings_1.RECAPTCHA_SETTINGS;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar LogEventType;\n(function (LogEventType) {\n LogEventType[LogEventType[\"ChatFormOffer\"] = 5] = \"ChatFormOffer\";\n LogEventType[LogEventType[\"ChatFormDecline\"] = 6] = \"ChatFormDecline\";\n LogEventType[LogEventType[\"ChatFormSubmit\"] = 7] = \"ChatFormSubmit\";\n})(LogEventType = exports.LogEventType || (exports.LogEventType = {}));\n","export enum LogEventType{\r\n ChatFormOffer = 5,\r\n ChatFormDecline = 6,\r\n ChatFormSubmit = 7\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"header[_ngcontent-%COMP%]{background:0 0/contain #2196f3;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row-reverse;flex-direction:row-reverse;padding:0 15px;z-index:0;box-shadow:0 0 2px rgba(0,0,0,.3);-ms-flex-positive:0;flex-grow:0}header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:10px 0}header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{cursor:pointer;padding-top:14px}\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"mat-form-field[_ngcontent-%COMP%]{margin-bottom:2px;width:100%}[_nghost-%COMP%] .mat-form-field-required-marker{color:#e00000}[_nghost-%COMP%] .mat-form-field-invalid mat-label{color:#e00000}[_nghost-%COMP%] .mat-form-field-invalid .mat-input-element{caret-color:#e00000}\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar form_control_service_1 = require(\"../../services/form-control.service\");\nvar pre_chat_service_1 = require(\"../../services/pre-chat.service\");\nvar ng_recaptcha_1 = require(\"ng-recaptcha\");\nvar chat_type_model_1 = require(\"../../models/chat-type-model\");\nvar log_event_type_model_1 = require(\"../../models/log-event-type.model\");\nvar FormComponent = /** @class */ (function () {\n function FormComponent(preChatService, formControlService) {\n this.preChatService = preChatService;\n this.formControlService = formControlService;\n this.chatFormSubmitted = new core_1.EventEmitter();\n this.reCaptchaFormControlName = 'reCaptcha';\n this.formSubmitted = false;\n this.documentReferrer = model.referrer;\n this.recaptchaResponse = '';\n this.overriddenSkillAddresses = model.overriddenSkillAddresses;\n this.targetSkillAddress = model.targetSkillAddress;\n }\n /*\n * Return true if proactive is enabled and has same form loaded as mentioned in _uwc('use-rule') command\n * Return true if proactive form is disabled\n * Return false if formTag is set to null for Reactive\n * Return false if formTag is set to null for Proactive\n * Return true for an incorrect formTag for Proactive\n */\n FormComponent.prototype.isActiveFormValid = function () {\n if (this.settings.formType === chat_type_model_1.CHAT_TYPE.REACTIVE && this.settings.formTag !== null) {\n return true;\n }\n if (this.settings.formType === chat_type_model_1.CHAT_TYPE.PROACTIVE) {\n if (this.settings.formTag === null)\n return false;\n if (this.settings.formTag !== this.settings.form.tag)\n return true;\n if (this.settings.formTag === this.settings.form.tag)\n return true;\n }\n return false;\n };\n FormComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.formSettings(this.settings.form);\n this.customParams$ = this.preChatService.bindToMessageEvents();\n this.acceptInvitationSubscription = this.preChatService.invitationAccepted$.subscribe(function (invitationAccepted) {\n if (invitationAccepted) {\n if (!_this.isActiveFormValid()) {\n _this.submitForm();\n }\n else {\n _this.logProactiveEvent(log_event_type_model_1.LogEventType.ChatFormOffer);\n _this.preChatService.showPreChatFormForProactive();\n }\n }\n });\n this.reactiveFormSubmitSubscription = this.preChatService.reactiveFormSubmit$.subscribe(function (submit) {\n if (submit && !_this.isActiveFormValid()) {\n _this.submitForm();\n }\n });\n };\n FormComponent.prototype.formSettings = function (activeForm) {\n this.activeForm = activeForm;\n if (!this.isActiveFormValid()) {\n this.form = this.formControlService.toFormGroup([]);\n return;\n }\n this.form = this.formControlService.toFormGroup(activeForm.rows);\n if (this.reCaptchaEnabled) {\n this.formControlService.addFormControl(this.form, this.reCaptchaFormControlName, false);\n }\n };\n FormComponent.prototype.ngAfterViewInit = function () {\n if (this.captchaRef)\n this.captchaRef.reset();\n };\n FormComponent.prototype.reCaptchaResponseCallback = function (captchaResponse) {\n this.recaptchaResponse = captchaResponse;\n this.submitForm();\n };\n FormComponent.prototype.submitForm = function () {\n if (this.settings.formType === chat_type_model_1.CHAT_TYPE.PROACTIVE && this.settings.formTag === this.settings.form.tag) {\n //If the above mentioned conditions are true. then Proactive chat has a valid form\n // and submitForm() will be invoke only on clicking of chat form submit button, hence the log\n this.logProactiveEvent(log_event_type_model_1.LogEventType.ChatFormSubmit);\n }\n var prechatElement = this.preChatForm.nativeElement;\n prechatElement.submit();\n this.formSubmitted = true;\n this.chatFormSubmitted.emit();\n this.preChatService.setFormSubmitted();\n this.preChatService.updateChatState();\n };\n FormComponent.prototype.onSubmit = function (event) {\n if (this.reCaptchaEnabled) {\n this.captchaRef.execute();\n }\n else {\n this.submitForm();\n }\n };\n FormComponent.prototype.logProactiveEvent = function (logEvent) {\n if (this.settings.formType !== chat_type_model_1.CHAT_TYPE.PROACTIVE) {\n return;\n }\n this.preChatService.logEvent(logEvent, log_event_type_model_1.LogEventType[logEvent]);\n };\n FormComponent.prototype.ngOnDestroy = function () {\n if (this.acceptInvitationSubscription) {\n this.acceptInvitationSubscription.unsubscribe();\n }\n if (this.reactiveFormSubmitSubscription) {\n this.reactiveFormSubmitSubscription.unsubscribe();\n }\n };\n FormComponent.prototype.toggleBorder = function (hasFocus) {\n var borderClassName = 'chat-button-border';\n var wrapperNativeElement = this.chatButtonWrapper.nativeElement;\n wrapperNativeElement.classList.remove(borderClassName);\n if (hasFocus) {\n wrapperNativeElement.classList.add(borderClassName);\n }\n };\n return FormComponent;\n}());\nexports.FormComponent = FormComponent;\n","import { AfterViewInit, Component, ElementRef, Input, OnDestroy, OnInit, ViewChild, EventEmitter, Output } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\nimport { FormControlService } from '../../services/form-control.service';\r\nimport { PreChatService } from '../../services/pre-chat.service';\r\nimport { ChatParam } from '../../models/chat-param';\r\nimport { RecaptchaComponent } from 'ng-recaptcha';\r\nimport { CHAT_TYPE } from '../../models/chat-type-model';\r\nimport { LogEventType } from '../../models/log-event-type.model';\r\n\r\n@Component({\r\n selector: 'app-form',\r\n templateUrl: './form.component.html',\r\n styleUrls: ['./form.component.scss']\r\n})\r\nexport class FormComponent implements OnInit, AfterViewInit, OnDestroy {\r\n\r\n @Input() settings;\r\n @Input() language;\r\n @Input() timezone;\r\n @Input() reCaptchaEnabled;\r\n @Input() reCaptchaSiteKey;\r\n @Output() chatFormSubmitted = new EventEmitter();\r\n @ViewChild('captchaRef') captchaRef: RecaptchaComponent;\r\n @ViewChild('preChatForm') preChatForm: ElementRef;\r\n readonly reCaptchaFormControlName: string = 'reCaptcha';\r\n form: FormGroup;\r\n customParams$: Observable;\r\n formSubmitted = false;\r\n documentReferrer = model.referrer;\r\n recaptchaResponse = '';\r\n overriddenSkillAddresses = model.overriddenSkillAddresses;\r\n targetSkillAddress = model.targetSkillAddress;\r\n activeForm: any;\r\n acceptInvitationSubscription: Subscription;\r\n reactiveFormSubmitSubscription: Subscription;\r\n @ViewChild('chatButtonWrapper') chatButtonWrapper: ElementRef;\r\n\r\n constructor(private preChatService: PreChatService, private formControlService: FormControlService) {\r\n }\r\n\r\n /*\r\n * Return true if proactive is enabled and has same form loaded as mentioned in _uwc('use-rule') command\r\n * Return true if proactive form is disabled\r\n * Return false if formTag is set to null for Reactive\r\n * Return false if formTag is set to null for Proactive\r\n * Return true for an incorrect formTag for Proactive\r\n */\r\n isActiveFormValid() {\r\n if (this.settings.formType === CHAT_TYPE.REACTIVE && this.settings.formTag !== null) {\r\n return true;\r\n }\r\n if (this.settings.formType === CHAT_TYPE.PROACTIVE) {\r\n\r\n if (this.settings.formTag === null)\r\n return false;\r\n if (this.settings.formTag !== this.settings.form.tag)\r\n return true;\r\n if (this.settings.formTag === this.settings.form.tag)\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n ngOnInit() {\r\n this.formSettings(this.settings.form);\r\n this.customParams$ = this.preChatService.bindToMessageEvents();\r\n this.acceptInvitationSubscription = this.preChatService.invitationAccepted$.subscribe(invitationAccepted => {\r\n if (invitationAccepted) {\r\n if (!this.isActiveFormValid()) {\r\n this.submitForm();\r\n } else {\r\n this.logProactiveEvent(LogEventType.ChatFormOffer);\r\n this.preChatService.showPreChatFormForProactive();\r\n }\r\n }\r\n });\r\n this.reactiveFormSubmitSubscription = this.preChatService.reactiveFormSubmit$.subscribe(submit => {\r\n if (submit && !this.isActiveFormValid()) {\r\n this.submitForm();\r\n }\r\n });\r\n }\r\n\r\n formSettings(activeForm) {\r\n this.activeForm = activeForm;\r\n if (!this.isActiveFormValid()) {\r\n this.form = this.formControlService.toFormGroup([]);\r\n return;\r\n }\r\n this.form = this.formControlService.toFormGroup(activeForm.rows);\r\n\r\n if (this.reCaptchaEnabled) {\r\n this.formControlService.addFormControl(this.form, this.reCaptchaFormControlName, false);\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.captchaRef)\r\n this.captchaRef.reset();\r\n }\r\n\r\n reCaptchaResponseCallback(captchaResponse: string) {\r\n this.recaptchaResponse = captchaResponse;\r\n this.submitForm();\r\n }\r\n\r\n submitForm() {\r\n if (this.settings.formType === CHAT_TYPE.PROACTIVE && this.settings.formTag === this.settings.form.tag) {\r\n //If the above mentioned conditions are true. then Proactive chat has a valid form\r\n // and submitForm() will be invoke only on clicking of chat form submit button, hence the log\r\n this.logProactiveEvent(LogEventType.ChatFormSubmit);\r\n }\r\n var prechatElement = this.preChatForm.nativeElement;\r\n prechatElement.submit();\r\n this.formSubmitted = true;\r\n this.chatFormSubmitted.emit();\r\n this.preChatService.setFormSubmitted();\r\n this.preChatService.updateChatState();\r\n }\r\n\r\n onSubmit(event) {\r\n if (this.reCaptchaEnabled) {\r\n this.captchaRef.execute();\r\n } else {\r\n this.submitForm();\r\n }\r\n }\r\n\r\n logProactiveEvent(logEvent: LogEventType) {\r\n if (this.settings.formType !== CHAT_TYPE.PROACTIVE) {\r\n return;\r\n }\r\n this.preChatService.logEvent(logEvent, LogEventType[logEvent]);\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.acceptInvitationSubscription) {\r\n this.acceptInvitationSubscription.unsubscribe();\r\n }\r\n if (this.reactiveFormSubmitSubscription) {\r\n this.reactiveFormSubmitSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n toggleBorder(hasFocus) {\r\n const borderClassName = 'chat-button-border';\r\n const wrapperNativeElement = this.chatButtonWrapper.nativeElement;\r\n wrapperNativeElement.classList.remove(borderClassName);\r\n \r\n if(hasFocus) {\r\n wrapperNativeElement.classList.add(borderClassName);\r\n } \r\n }\r\n}\r\n"],"sourceRoot":""}