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iCdJ,EAAA,EAAC,EAAA9M,EAAAkN,cAAa,wGAh4CSJ,EAAA,EAHxB,EAAA9M,EAAAmN,eAAc,kBACd,EAAAnN,EAAAoN,YAAWC,EAAA,UACX,EAAArN,EAAAsN,qCAyHuC,8BAAbC,EAAAC,GAAAD,EAAAC,GAAa/X,EAAA4U,OACpB,mBADoB3U,OACpB,IAAHlF,EAAAid,GAAAjd,EAAAid,GAAG/X,EAAA2U,OACa,mBADbtU,OACa,IAAd2X,EAAAC,IAAAD,EAAAC,IAAc5X,EAAAsU,OACJ,mBADIhS,OACJ,IAATuV,EAAAC,IAAAD,EAAAC,IAASxV,EAAAgS,OACuC,mBADvC9R,OACuC,IAA3B6C,EAAA0S,6BAAA1S,EAAA0S,6BAA2BvV,EAAA8R,OACpC,mBADoC5R,OACpC,IAATuH,EAAA+N,WAAA/N,EAAA+N,WAAStV,EAAA4R,OACD,mBADC3R,OACD,IAAZsV,EAAAR,GAAAQ,EAAAR,GAAY9U,EAAA2R,OACK,mBADLxR,OACK,IAAXoV,EAAAC,GAAAD,EAAAC,GAAWrV,EAAAwR,UA/HvB/Z,GAAb,sIE3LA6d,EAAA,CAAgB,qCAAAvnB,WAAA,wEAAAC,eAAA,sEAAAC,aAAA,wEAAAC,gBAAA,4BAAAC,IAAA,eAAAC,OAAA,kBAAAC,QAAA,mBAAAC,OAAA,kBAAAC,SAAA,oBAAAC,OAAA,kBAAAC,MAAA,iBAAAC,UAAA,qBAAAC,MAAA,iICEhB4mB,EAAA,oBAAAA,IACSrd,KAAAC,OAASmd,CAElB,kUADYrB,CAAA,CAAT9M,EAAAqO,6DACHD,EAHA","sources":["webpack://iadviser/./src/components/document-pack/document-pack.html","webpack://iadviser/./src/components/empty-state/empty-state.html","webpack://iadviser/./src/components/document-pack/constants.ts","webpack://iadviser/./src/components/document-pack/document-pack.ts","webpack://iadviser/./src/components/document-pack/document-pack.css?3b4a","webpack://iadviser/./src/components/empty-state/empty-state.css?3d99","webpack://iadviser/./src/components/empty-state/empty-state.ts"],"sourcesContent":["// Imports\nvar ___HTML_LOADER_IMPORT_0___ = new URL(\"../../img/eclipse-loader.svg\", import.meta.url);\n// Module\nvar code = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n ${combinedDistribution ? 'Combined' : '' } ${getPolicyTypeLabel} ${'documentPack' & t}\\r\\n \\r\\n \\r\\n \\r\\n ${'coverVersion' & t}:\\r\\n ${coverVersion}\\r\\n \\r\\n \\r\\n ${'adviceVersion' & t}:\\r\\n ${adviceItem.name}/${adviceItem.maxVersion.versionNo}\\r\\n \\r\\n \\r\\n ${'kycVersion' & t}:\\r\\n ${kycItem.name}/${kycItem.maxVersion.versionNo}\\r\\n \\r\\n \\r\\n ${'name' & t}:\\r\\n ${webFormName}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n ${'client' & t}\\r\\n ${'payee' & t}\\r\\n ${'Client' & t}\\r\\n ${'insurer' & t}\\r\\n ${'insurerLapse' & t}\\r\\n ${'history' & t}\\r\\n ${'preview' & t}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n ${'edit' & t & oneTime} ${currentEditDocName}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n Loading...\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${error}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Client Documents\\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 0 && selectedClientDocumentCount == documentPacks.clientDocuments.docResultItems.length\\\"\\r\\n indeterminate.bind=\\\"selectedClientDocumentCount > 0 && selectedClientDocumentCount < documentPacks.clientDocuments.docResultItems.length\\\"\\r\\n change.delegate=\\\"selectAll($event, documentPacks.clientDocuments.docResultItems)\\\" id=\\\"listSelectAll${$index}\\\"\\r\\n disabled.bind=\\\"clientConfig.distributionDisabled\\\">\\r\\n \\r\\n \\r\\n ${'documentName' & t}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${row.documentName}\\r\\n \\r\\n Select a document\\r\\n ${doc.name}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n ${'buttonLabels:edit' & t}\\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 ${error}\\r\\n \\r\\n \\r\\n \\r\\n Payee Documents\\r\\n \\r\\n Create Payee Documents\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n 0 && selectedPayeeDocumentCount == documentPacks.payeeDocuments.docResultItems.length\\\"\\r\\n indeterminate.bind=\\\"selectedPayeeDocumentCount > 0 && selectedPayeeDocumentCount < documentPacks.payeeDocuments.docResultItems.length\\\"\\r\\n change.delegate=\\\"selectAllPayees($event, documentPacks.payeeDocuments.docResultItems)\\\" id=\\\"listSelectAll${$index}\\\"\\r\\n disabled.bind=\\\"payeeConfig.distributionDisabled\\\">\\r\\n \\r\\n \\r\\n ${'documentName' & t}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${row.documentName}\\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 ${'sequence' & t}\\r\\n ${'Action Type' & t}\\r\\n ${'insuredName' & t}\\r\\n ${policyType==='policy'?'coverVersion':'coverNumber' & t}\\r\\n ${'quoteType' & t}\\r\\n ${'status' & t}\\r\\n ${'class' & t}\\r\\n ${'effectiveDate' & t}\\r\\n ${'expiryDate' & t}\\r\\n ${'invoiceAmount' & t}\\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 ${row.actionType}\\r\\n ${row.quoteType}\\r\\n ${row.insuredName}\\r\\n ${row.coverVersion}\\r\\n ${row.quoteType}\\r\\n ${row.statusType}\\r\\n ${row.policyDescription}\\r\\n ${row.effectiveDate | prettyDate}\\r\\n ${row.expiryDate | prettyDate}\\r\\n ${row.invoiceAmount | currencyFormat}\\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 0 && selectedClientDocumentCount == documentPacks.clientDocuments.docResultItems.length\\\"\\r\\n indeterminate.bind=\\\"selectedClientDocumentCount > 0 && selectedClientDocumentCount < documentPacks.clientDocuments.docResultItems.length\\\"\\r\\n change.delegate=\\\"selectAll($event, documentPacks.clientDocuments.docResultItems)\\\" id=\\\"listSelectAll${$index}\\\"\\r\\n disabled.bind=\\\"!combinedDistributionEnabled\\\">\\r\\n \\r\\n \\r\\n ${'documentName' & t}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${row.documentName}\\r\\n \\r\\n Select a document\\r\\n ${doc.name}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${'buttonLabels:edit' & t}\\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 0\\\" class=\\\"table\\\" aurelia-table=\\\"data.bind: documentPacks.history; display-data.bind: $displayData;\\\">\\r\\n \\r\\n \\r\\n \\r\\n ${ 'documentPack' & t }\\r\\n ${ 'recipient' & t }\\r\\n ${ 'type' & t }\\r\\n ${ 'distributedBy' & t }\\r\\n ${ 'date' & t }\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${item.groupType}\\r\\n ${item.recipient}\\r\\n ${item.distributionType}\\r\\n ${item.createdBy ? item.createdBy : '--'}\\r\\n ${item.distributionDate | prettyDate}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Please use original document pack to redistribute.\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Document Name\\r\\n Cover Numbers\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${row.documentName}\\r\\n \\r\\n \\r\\n ${row.type} - ${row.createdBy} ${row.reDistributionDate |\\r\\n prettyDate} (Re-Distributed)\\r\\n \\r\\n \\r\\n ${item.coverNumbers}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n No documents have been distributed.\\r\\n \\r\\n\\r\\n 0 && showDocumentHistory && !showProgessModal\\\" class=\\\"manual-download\\\">\\r\\n Files didn't download automatically?\\r\\n Download Manually\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n ${error}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${'requiredBy' & t}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${documentPack.groupDisplayName}\\r\\n \\r\\n Preview\\r\\n Print\\r\\n Download & Email\\r\\n Download\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n 0 && selectedInsurerDocumentCount[insurerIndex] == documentPack.docResultItems.length\\\"\\r\\n indeterminate.bind=\\\"selectedInsurerDocumentCount[insurerIndex] > 0 && selectedInsurerDocumentCount[insurerIndex] < documentPack.docResultItems.length\\\"\\r\\n change.delegate=\\\"selectAllInsurer($event, documentPack.docResultItems, insurerIndex)\\\" id=\\\"listSelectAll${insurerIndex}\\\"\\r\\n disabled.bind=\\\"clientConfig.distributionDisabled\\\">\\r\\n \\r\\n \\r\\n ${'documentName' & t}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${row.documentName}\\r\\n \\r\\n \\r\\n ${'buttonLabels:edit' & t}\\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 ${error}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${documentPack.groupDisplayName}\\r\\n \\r\\n Preview\\r\\n Print\\r\\n Download & Email\\r\\n Download\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${'documentName' & t}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${row.documentName}\\r\\n \\r\\n \\r\\n ${'buttonLabels:edit' & t}\\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 ${document.title}\\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 ${cover.coverNumber}\\r\\n ${error}\\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 ${error.reportSystemKey} - ${error.statusMessage}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n ${'No Results'}\\r\\n ${noDataMessage}\\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 ${'name' & t}:\\r\\n ${currentEditDocName}\\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\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n ${'emptyState.defaultHeading' & t}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\";\n// Exports\nexport default code;","import { DocResultItem } from '../../routes/app-adviser/client/quotes/interfaces';\r\nexport interface DocumentRequest {\r\n clientId: number;\r\n entities: any[];\r\n distributionType: DistributionType;\r\n docPackRows: DocResultItem[];\r\n documentPack: string;\r\n policyType: string;\r\n combinedDistribution: boolean;\r\n insurerOfficePartyId: number;\r\n requiredByDate: string;\r\n securityUsersId: number;\r\n reportCategory: number;\r\n splitDocs: string[];\r\n recipientPartyId: number;\r\n documentCategoryType: string;\r\n}\r\n\r\nexport enum DistributionType {\r\n Preview = 0,\r\n Print = 1,\r\n Email = 2,\r\n Download = 4,\r\n DownloadEmail = 5\r\n}\r\n","/* eslint-disable no-prototype-builtins */\r\nimport { DocResultItem } from '../../routes/app-adviser/client/quotes/interfaces';\r\nimport { EntityActionType } from 'routes/app-adviser/client/quotes/interfaces';\r\n/* eslint-disable prefer-const */\r\nimport { AppRouter } from 'aurelia-router';\r\nimport styles from './document-pack.css';\r\nimport {\r\n customElement,\r\n autoinject,\r\n PLATFORM,\r\n observable,\r\n computedFrom,\r\n TaskQueue,\r\n inlineView\r\n} from 'aurelia-framework';\r\nimport { DistributionType, DocumentRequest } from './constants';\r\nimport { Api } from './api';\r\nimport { generateGuidString } from 'resources/utilities/insecure-guid';\r\nimport { ValidationControllerFactory, ValidationController, ValidationRules } from 'aurelia-validation';\r\nimport { FormValidationRenderer } from 'resources/form-validation-renderer';\r\nimport { IaHtmlEditorSettings } from 'components/ia-html-editor/ia-html-editor';\r\nimport { ClaimsService } from 'resources/services/claims-service';\r\nimport { CountryCode } from 'libphonenumber-js';\r\nimport moment from 'moment';\r\nimport { captureException } from '@sentry/core';\r\nimport { IaToastService } from 'resources/services/ia-toast-service';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\nimport { EntityType } from 'routes/app-adviser/client/quotes/interfaces';\r\nimport { mapActionTypeToEntityActionType } from 'resources/map-entity-type';\r\nimport { ModalService } from 'components/modal/modal-service';\r\nimport { GenerationStatus } from 'resources/enums';\r\nimport { timer } from 'resources/timer';\r\nimport { getAppClientType } from 'resources/parse-jwt';\r\nimport { BlobService } from 'resources/services/blob-service';\r\nimport { IaMailtoModal } from 'components/ia-mailto-modal/ia-mailto-modal';\r\nimport orderBy from 'lodash/orderBy';\r\n\r\nexport enum DocumentPacks {\r\n ClientQuote = 0,\r\n ClientPolicy = 1,\r\n ClientIncomplete = 2,\r\n InsurerQuote = 3,\r\n InsurerPolicy = 4,\r\n InsurerIncomplete = 5,\r\n LapseInsurerPolicy = 6,\r\n ClientHistory = 7,\r\n PreRenewal = 8,\r\n ClientClaim = 9,\r\n InsurerClaim = 10,\r\n CombinedClientQuote = 11,\r\n CombinedClientPolicy = 12,\r\n CombinedClientIncomplete = 13,\r\n CombinedClientQuoteHistory = 14,\r\n CombinedClientPolicyHistory = 15,\r\n CombinedClientIncompleteHistory = 16,\r\n ClientAdvice = 17,\r\n KnowYourClient = 18,\r\n ClientReceipt = 19,\r\n Banking = 20,\r\n Cheques = 21,\r\n Workfile = 22,\r\n UnauthorisedForeignInsurerQuote = 23,\r\n UnauthorisedForeignInsurerPolicy = 24,\r\n UnauthorisedForeignInsurerIncomplete = 25,\r\n StatementOfAdvicePolicy = 26,\r\n StatementOfAdviceQuote = 27,\r\n StatementofAdviceIncomplete = 28,\r\n PdsHistory = 29,\r\n FiraQuote = 30,\r\n FiraPolicy = 31,\r\n FiraIncomplete = 32,\r\n CombinedUnauthorisedForeignInsurerQuote = 33,\r\n CombinedUnauthorisedForeignInsurerPolicy = 34,\r\n ClientAssguardQuote = 35,\r\n ClientAssguardPolicy = 36,\r\n ClientAssguardIncomplete = 37,\r\n ClientAssguardClaim = 38,\r\n ClientVetsQuote = 39,\r\n ClientVetsPolicy = 40,\r\n ClientVetsIncomplete = 41,\r\n ClientVetsClaim = 42,\r\n ClientCpmmQuote = 43,\r\n ClientCpmmPolicy = 44,\r\n ClientCpmmIncomplete = 45,\r\n ClientCpmmClaim = 46,\r\n ClientPortalQuote = 47,\r\n ClientPortalPolicy = 48,\r\n ClientPortalIncomplete = 49,\r\n ClientPortalClaim = 50,\r\n ClientPortalClient = 51,\r\n AllQuote = 52,\r\n AllIncomplete = 53,\r\n AllPolicy = 54,\r\n}\r\n\r\nexport enum PolicyTypes {\r\n Quote = 1,\r\n Policy = 2,\r\n InsuredName = 3,\r\n Advice = 4,\r\n Other = 5,\r\n Claim = 6,\r\n Incomplete = 7,\r\n Client = 10,\r\n Questions = 20,\r\n Scheme = 21,\r\n KnowYourClient = 22,\r\n Form = 24\r\n}\r\n\r\nexport function mapPolicyTypeToPolicyTypeId(policyType): any {\r\n switch (policyType) {\r\n case 'quote':\r\n return PolicyTypes.Quote;\r\n case 'policy':\r\n return PolicyTypes.Policy;\r\n case 'incomplete':\r\n return PolicyTypes.Incomplete;\r\n case 'claim':\r\n return PolicyTypes.Claim;\r\n case 'advice':\r\n return PolicyTypes.Advice;\r\n case 'knowYourClientVersion':\r\n return PolicyTypes.KnowYourClient;\r\n case 'form':\r\n return PolicyTypes.Form;\r\n default:\r\n return null;\r\n }\r\n}\r\n\r\nexport function mapDocumentPackTypeToDocumentPackTypeId(documentPack): any {\r\n switch (documentPack) {\r\n case 'ClientQuote':\r\n return DocumentPacks.ClientQuote;\r\n case 'ClientAdvice':\r\n return DocumentPacks.ClientAdvice;\r\n case 'KnowYourClient':\r\n return DocumentPacks.KnowYourClient;\r\n case 'ClientPolicy':\r\n case 'ClientVetsPolicy':\r\n return DocumentPacks.ClientPolicy;\r\n case 'ClientIncomplete':\r\n return DocumentPacks.ClientIncomplete;\r\n case 'InsurerQuote':\r\n return DocumentPacks.InsurerQuote;\r\n case 'InsurerPolicy':\r\n return DocumentPacks.InsurerPolicy;\r\n case 'InsurerIncomplete':\r\n return DocumentPacks.InsurerIncomplete;\r\n case 'LapseInsurerPolicy':\r\n return DocumentPacks.LapseInsurerPolicy;\r\n case 'ClientHistory':\r\n return DocumentPacks.ClientHistory;\r\n case 'PreRenewal':\r\n return DocumentPacks.PreRenewal;\r\n case 'ClientClaim':\r\n return DocumentPacks.ClientClaim;\r\n case 'InsurerClaim':\r\n return DocumentPacks.InsurerClaim;\r\n case 'CombinedClientQuote':\r\n return DocumentPacks.CombinedClientQuote;\r\n case 'CombinedClientPolicy':\r\n return DocumentPacks.CombinedClientPolicy;\r\n case 'CombinedClientIncomplete':\r\n return DocumentPacks.CombinedClientIncomplete;\r\n case 'CombinedClientQuoteHistory':\r\n return DocumentPacks.CombinedClientQuoteHistory;\r\n case 'CombinedClientPolicyHistory':\r\n return DocumentPacks.CombinedClientPolicyHistory;\r\n case 'CombinedClientIncompleteHistory':\r\n return DocumentPacks.CombinedClientIncompleteHistory;\r\n case 'ClientReceipt':\r\n return DocumentPacks.ClientReceipt;\r\n default:\r\n return null;\r\n }\r\n}\r\n\r\nimport template from './document-pack.html';\r\nimport { has, waitForHas } from 'resources/decorators/has-decorator';\r\nimport { successToast } from 'resources/utilities/toastr-helper';\r\n\r\nPLATFORM.moduleName('components/document-pack/document-pack.html');\r\n\r\n@customElement('document-pack')\r\n@inlineView(template)\r\n@autoinject()\r\nexport class DocumentPack {\r\n public styles = styles;\r\n public validationController: ValidationController;\r\n\r\n public clientId: number;\r\n public quoteOrPolicyVersionOrClaimId: number;\r\n public policyType: EntityType | string;\r\n public combinedDistribution = false;\r\n public actionType;\r\n public documentPackLoaded = false;\r\n\r\n // For advice\r\n public adviceItem = null;\r\n public adviceVersion = null;\r\n protected adviceRows = [];\r\n\r\n // For kyc\r\n public kycItem = null;\r\n public kycVersion = null;\r\n\r\n // For form\r\n public webFormName = null;\r\n\r\n @observable protected fileList: FileList;\r\n\r\n\r\n private appClientType: CountryCode;\r\n protected iaHtmlEditorSettings: IaHtmlEditorSettings = { height: 400, width: 'initial' };\r\n protected currentEditDocName = '';\r\n private entityActionType: EntityActionType;\r\n private securityUsersId;\r\n private documentPackConfigs;\r\n private documentPacks;\r\n private showCombinedCoverValidationErrors = false;\r\n private combinedDistributionInvalidCovers = [];\r\n private popupBlocked = false;\r\n private showProgessModal = false;\r\n private showPdsModal = false;\r\n private isEditSession = false;\r\n private editHtml;\r\n private contentChunks;\r\n private editHash;\r\n private entityIdSeq;\r\n private iframeContainer: HTMLDivElement;\r\n private tabTitle;\r\n private showClientDocuments = false;\r\n private showClientAdviceDocuments = false;\r\n private showInsurerDocuments = false;\r\n private showInsurerLapseDocuments = false;\r\n private showPayeeDocuments = false;\r\n private showDocumentHistory = false;\r\n private showDocumentPreview = false;\r\n private clientConfig;\r\n private insurerConfig;\r\n private insurerLapseConfig;\r\n private payeeConfig;\r\n private insurerResponseRequiredDate;\r\n private documentProcessingErrors = [];\r\n private documentErrors = false;\r\n private showFooter = false;\r\n private selectedItem;\r\n private selectedRowIndex = -1;\r\n\r\n @has('IadviserProcessingAdviceView') private hasAdviceView;\r\n @has('IadviserProcessingAdviceEdit') private hasAdviceEdit;\r\n\r\n private documentGuidArray;\r\n private generatedDocumentArray;\r\n private splitDocumentsArray;\r\n private selectedDocument;\r\n private previewDocumentGenerationGuid;\r\n private documentPreviewGenerated = false;\r\n private isDocumentHistoryPreview = false;\r\n private clientAcceptsElectronicDisclosure = false;\r\n private distributionType;\r\n private distributionModel;\r\n private coverVersion;\r\n private filteredDocumentList = [];\r\n private filterTypeId = 1;\r\n private filterType = [\r\n { id: 0, label: 'All Invoices' },\r\n { id: 1, label: 'Outstanding Invoices' },\r\n ];\r\n private combinedDistributionEnabled = false;\r\n private soaDistributionEnabled = false;\r\n\r\n private currentlySelectedAdviceVersion = null;\r\n\r\n private emailModel = {\r\n distributionSessionId: null,\r\n recipientType: null,\r\n recipientPartyId: 0,\r\n toEmail: [],\r\n fromEmail: '',\r\n ccEmail: [],\r\n bccEmail: [],\r\n subject: '',\r\n title: null,\r\n generationGuid: null,\r\n documentGuid: null,\r\n documentPack: null,\r\n };\r\n\r\n private documentsAvailableForDownload = [];\r\n private showManualDownloadLinks = false;\r\n\r\n private selectedClientDocumentCount = 0;\r\n private selectedInsurerDocumentCount = [];\r\n private selectedPayeeDocumentCount = 0;\r\n\r\n private callback = () => ({});\r\n\r\n private noDataMessage = '';\r\n\r\n private clientReferrerFeeAcknowledged = false;\r\n private insurerReferrerFeeAcknowledged = false;\r\n private combinedReferrerFeeAcknowledged = false;\r\n private combinedReferrerFeesRequireAcknowledgement = false;\r\n\r\n constructor(\r\n private claimsService: ClaimsService,\r\n private api: Api,\r\n private toast: IaToastService,\r\n private router: AppRouter,\r\n private validationControllerFactory: ValidationControllerFactory,\r\n private taskQueue: TaskQueue,\r\n private modal: ModalService,\r\n private blobService: BlobService\r\n ) {\r\n this.validationController = this.validationControllerFactory.createForCurrentScope();\r\n this.validationController.addRenderer(new FormValidationRenderer());\r\n }\r\n\r\n close() {\r\n this.modal.hide();\r\n if(this.callback){\r\n this.callback();\r\n }\r\n }\r\n\r\n async activate({ clientId, quoteOrPolicyVersionOrClaimId, policyType, actionType, callback, adviceItem, adviceVersion, kycItem, kycVersion, combinedDistribution = false, webFormName} = { clientId: undefined, quoteOrPolicyVersionOrClaimId: undefined, policyType: undefined, actionType: undefined, callback: undefined, adviceItem: undefined, adviceVersion: undefined, kycItem: undefined, kycVersion: undefined, combinedDistribution: undefined, webFormName: undefined }) {\r\n this.clientId = clientId;\r\n this.quoteOrPolicyVersionOrClaimId = quoteOrPolicyVersionOrClaimId;\r\n this.policyType = policyType;\r\n this.actionType = actionType;\r\n this.callback = callback;\r\n this.adviceItem = adviceItem;\r\n this.adviceVersion = adviceVersion;\r\n this.kycItem = kycItem;\r\n this.kycVersion = kycVersion;\r\n this.combinedDistribution = combinedDistribution;\r\n this.webFormName = webFormName;\r\n\r\n\r\n (async () => {\r\n this.documentsAvailableForDownload = [];\r\n this.showManualDownloadLinks = false;\r\n\r\n this.insurerResponseRequiredDate = moment.utc().format('DD/MM/YYYY');\r\n this.appClientType = getAppClientType();\r\n\r\n await waitForHas(this);\r\n\r\n let documentPackConfig;\r\n\r\n if (this.combinedDistribution) {\r\n documentPackConfig = await this.api.loadCombinedDocumentPackConfig(this.clientId, this.policyType);\r\n this.combinedDistributionEnabled = false;\r\n } else {\r\n if (this.policyType === EntityType.Claim) {\r\n documentPackConfig = await this.api.loadClaimDocumentPackConfig(\r\n this.clientId,\r\n this.quoteOrPolicyVersionOrClaimId,\r\n this.policyType,\r\n );\r\n } else {\r\n this.entityActionType = mapActionTypeToEntityActionType(this.actionType);\r\n documentPackConfig = await this.api.loadDocumentPackConfig(\r\n this.clientId,\r\n this.quoteOrPolicyVersionOrClaimId,\r\n this.entityActionType,\r\n this.policyType,\r\n );\r\n }\r\n }\r\n\r\n this.securityUsersId = documentPackConfig.securityUsersId;\r\n this.documentPackConfigs = documentPackConfig.documentPacks;\r\n this.coverVersion = this.policyType === 'quote' ? `${documentPackConfig.coverNumber}/0` : documentPackConfig.coverVersion;\r\n\r\n this.documentPacks = {\r\n clientQuotesOrPolicies: [],\r\n clientDocuments: [],\r\n insurerDocuments: [],\r\n history: [],\r\n loaded: false,\r\n };\r\n\r\n this.clientConfig = this?.documentPackConfigs?.find((x) => x.documentPack.includes('Client'));\r\n this.insurerConfig = this?.documentPackConfigs?.find((x) => x.documentPack.includes('Insurer'));\r\n this.insurerLapseConfig = this?.documentPackConfigs?.find((x) => x.documentPack.includes('Lapse'));\r\n this.payeeConfig = this?.documentPackConfigs?.find((x) => x.documentPack.includes('Payee'));\r\n\r\n if (!this.combinedDistribution) {\r\n if (this.clientConfig && (this.clientConfig?.friendlyErrors === null || this.clientConfig?.friendlyErrors?.length === 0)) {\r\n await this.loadClientDocumentPack();\r\n }\r\n\r\n if (this.insurerConfig && (this.insurerConfig?.friendlyErrors === null || this.insurerConfig?.friendlyErrors?.length === 0)) {\r\n await this.loadInsurerDocumentPack();\r\n }\r\n\r\n if (this.insurerLapseConfig && (this.insurerLapseConfig?.friendlyErrors === null || this.insurerLapseConfig?.friendlyErrors?.length === 0)) {\r\n await this.loadInsurerLapseDocumentPack();\r\n }\r\n\r\n if (this.payeeConfig && (this.payeeConfig?.friendlyErrors === null || this.payeeConfig?.friendlyErrors?.length === 0)) {\r\n await this.loadPayeeDocumentPack();\r\n }\r\n } else {\r\n await this.loadClientDocumentPack();\r\n }\r\n\r\n await this.loadDocumentPackHistory();\r\n\r\n let defaultTab = 'history';\r\n if (this.documentPacks && this.documentPacks.history.length === 0) {\r\n switch (this.policyType) {\r\n case EntityType.Quote:\r\n case EntityType.Claim:\r\n defaultTab = this.combinedDistribution ? 'client' : 'insurer';\r\n break;\r\n case EntityType.Policy:\r\n case EntityType.Incomplete:\r\n case EntityType.KnowYourClient:\r\n defaultTab = 'client';\r\n break;\r\n case EntityType.Advice:\r\n defaultTab = 'clientAdvice';\r\n break;\r\n case EntityType.FormConsent:\r\n case EntityType.FormQuote:\r\n defaultTab = 'client';\r\n break;\r\n }\r\n }\r\n\r\n this.tabChanged(defaultTab);\r\n this.initializeValidation();\r\n\r\n this.clientAcceptsElectronicDisclosure = documentPackConfig.clientAcceptsElectronicDisclosure;\r\n\r\n if(this.combinedDistribution){\r\n this.filterDocumentList();\r\n }\r\n\r\n this.cleanUpEditDocumentCss();\r\n\r\n this.documentPacks.loaded = true;\r\n this.documentPackLoaded = true;\r\n\r\n if (!this.adviceItem && ( this.policyType === EntityType.Quote || this.policyType === EntityType.Incomplete || (this.policyType === EntityType.Policy && this.actionType != 5 ))) {\r\n if(this.hasAdviceEdit || this.hasAdviceView){\r\n this.adviceRows = orderBy((await this.api.getAdviceList(this.clientId)).filter((i) => i.active), ['maxVersion.modifiedDate'], ['desc']);\r\n }\r\n }\r\n\r\n })();\r\n }\r\n\r\n detached() {\r\n this.documentPackConfigs = [];\r\n this.documentPacks = undefined;\r\n this.selectedRowIndex = -1;\r\n this.previewDocumentGenerationGuid = null;\r\n this.documentGuidArray = null;\r\n this.generatedDocumentArray = [];\r\n this.showDocumentPreview = false;\r\n this.documentPreviewGenerated = false;\r\n this.isDocumentHistoryPreview = false;\r\n this.documentPackLoaded = false;\r\n\r\n if (this.iframeContainer.childElementCount === 1) {\r\n this.iframeContainer.removeChild(this.iframeContainer.firstElementChild);\r\n }\r\n }\r\n\r\n initializeValidation() {\r\n ValidationRules.off(this);\r\n\r\n ValidationRules.ensure((e: any) => e.insurerResponseRequiredDate)\r\n .required()\r\n .on(this);\r\n }\r\n\r\n async loadClientDocumentPack() {\r\n try {\r\n let clientDocuments;\r\n const response = await this.api.loadDocumentPack(this.clientConfig.apiRoute);\r\n\r\n if(response) {\r\n clientDocuments = response.documentList[0];\r\n clientDocuments.documentPackType = this.clientConfig.documentPack;\r\n // clientDocuments.docResultItems = clientDocuments.docResultItems.filter((x) => x.reportId !== 0);\r\n\r\n if (this.combinedDistribution) {\r\n this.documentPacks.clientQuotesOrPolicies = response.quotePolicyList;\r\n }\r\n\r\n this.documentPacks.clientDocuments = clientDocuments;\r\n this.selectedClientDocumentCount = this.documentPacks.clientDocuments.docResultItems.filter((x) => x.selected || x.mandatory).length;\r\n }\r\n } catch (error) {\r\n captureException(error);\r\n }\r\n }\r\n\r\n async loadInsurerDocumentPack() {\r\n try {\r\n let insurerDocuments;\r\n const response = await this.api.loadDocumentPack(this.insurerConfig.apiRoute);\r\n\r\n if(response) {\r\n insurerDocuments = response.documentList;\r\n insurerDocuments.documentPackType = this.insurerConfig.documentPack;\r\n\r\n this.documentPacks.insurerDocuments = insurerDocuments;\r\n\r\n this.documentPacks.insurerDocuments.forEach((insurer, index) => {\r\n this.selectedInsurerDocumentCount[index] = insurer.docResultItems.filter((x) => x.selected || x.mandatory).length;\r\n });\r\n }\r\n } catch (error) {\r\n captureException(error);\r\n }\r\n }\r\n\r\n async loadInsurerLapseDocumentPack() {\r\n try {\r\n let insurerLapseDocuments;\r\n const response = await this.api.loadDocumentPack(this.insurerLapseConfig.apiRoute);\r\n\r\n if(response) {\r\n insurerLapseDocuments = response.documentList;\r\n insurerLapseDocuments.documentPackType = this.insurerLapseConfig.documentPack;\r\n\r\n this.documentPacks.insurerLapseDocuments = insurerLapseDocuments;\r\n }\r\n } catch (error) {\r\n captureException(error);\r\n }\r\n }\r\n\r\n async loadPayeeDocumentPack() {\r\n try {\r\n let payeeDocuments;\r\n const response = await this.api.loadDocumentPack(this.payeeConfig.apiRoute);\r\n\r\n if(response) {\r\n payeeDocuments = response.documentList[0];\r\n payeeDocuments.documentPackType = this.payeeConfig.documentPack;\r\n\r\n this.documentPacks.payeeDocuments = payeeDocuments;\r\n this.selectedPayeeDocumentCount = this.documentPacks.payeeDocuments.docResultItems.filter((x) => x.selected || x.mandatory).length;\r\n }\r\n } catch (error) {\r\n captureException(error);\r\n }\r\n }\r\n\r\n async loadDocumentPackHistory() {\r\n const historyConfig = this.documentPackConfigs?.find((x) => x.documentPack.includes('History'));\r\n\r\n if (historyConfig?.apiRoute && this.documentPacks) {\r\n const response = await this.api.loadDocumentPack(historyConfig.apiRoute);\r\n this.documentPacks.history = response.documentList;\r\n }\r\n }\r\n\r\n prepareDocumentRequestModel(distributionType: DistributionType, document: DocResultItem) {\r\n let entities = [{entityId: this.quoteOrPolicyVersionOrClaimId, sequence: null}];\r\n\r\n if (this.combinedDistribution) {\r\n const selectedCovers = this.documentPacks.clientQuotesOrPolicies.filter((x) => x.selected);\r\n entities = orderBy(selectedCovers.map((x) => ({entityId: x.quoteOrPolicyVersionId, sequence: parseInt(x.sequence)})), ['sequence'], ['asc']);;\r\n }\r\n\r\n let splitDocuments = [];\r\n if (this.appClientType === 'AU' && this.policyType === EntityType.Policy) {\r\n splitDocuments = ['nsw_esl_invoice', 'client_invoice'];\r\n }\r\n\r\n if (\r\n this.appClientType === 'NZ' &&\r\n (this.policyType === EntityType.Quote ||\r\n this.policyType === EntityType.Incomplete ||\r\n this.policyType === EntityType.Policy)\r\n ) {\r\n splitDocuments = ['client_invoice', 'declaration_and_authority_to_proceed'];\r\n }\r\n\r\n let requiredBy = this.insurerResponseRequiredDate;\r\n if (requiredBy && requiredBy.includes('/')) {\r\n requiredBy = moment.utc(this.insurerResponseRequiredDate, 'DD/MM/YYYY').toISOString();\r\n }\r\n\r\n const documentRequest: DocumentRequest = {\r\n clientId: this.clientId,\r\n entities: entities,\r\n distributionType: distributionType,\r\n docPackRows: null,\r\n documentPack: null,\r\n policyType: this.policyType,\r\n combinedDistribution: this.combinedDistribution,\r\n insurerOfficePartyId: null,\r\n requiredByDate: requiredBy,\r\n securityUsersId: this.securityUsersId,\r\n reportCategory: 1,\r\n splitDocs: splitDocuments,\r\n recipientPartyId: null,\r\n documentCategoryType: null,\r\n };\r\n\r\n if (this.showClientDocuments) {\r\n documentRequest.documentPack = this.documentPacks.clientDocuments.documentPackType;\r\n\r\n if (document) {\r\n if (document?.currentlySelectedDocument) {\r\n document.clientAdviceVersionId = document.currentlySelectedDocument.maxVersion.versionId;\r\n }\r\n\r\n if(this.policyType === EntityType.KnowYourClient){\r\n document.knowYourClientVersionId = this.quoteOrPolicyVersionOrClaimId;\r\n }else if(this.policyType === EntityType.FormQuote){\r\n document.webFormId = this.quoteOrPolicyVersionOrClaimId;\r\n }\r\n\r\n documentRequest.docPackRows = [document];\r\n documentRequest.recipientPartyId = document.partyId;\r\n } else {\r\n const clientDocumentResultItems = this.documentPacks.clientDocuments.docResultItems;\r\n\r\n if(this.policyType === EntityType.KnowYourClient){\r\n documentRequest.docPackRows = [this.documentPacks.clientDocuments.docResultItems[0]];\r\n documentRequest.docPackRows[0].knowYourClientVersionId = this.quoteOrPolicyVersionOrClaimId;\r\n } else if(this.policyType === EntityType.FormQuote){\r\n documentRequest.docPackRows = [this.documentPacks.clientDocuments.docResultItems[0]];\r\n documentRequest.docPackRows[0].webFormId = this.quoteOrPolicyVersionOrClaimId;\r\n } else {\r\n documentRequest.docPackRows = clientDocumentResultItems.filter((d) => d.selected);\r\n }\r\n\r\n for (const [index, row] of documentRequest.docPackRows.entries()) {\r\n if (row?.currentlySelectedDocument) {\r\n documentRequest.docPackRows.splice(index, 1, this.currentlySelectedAdviceVersion);\r\n break;\r\n }\r\n }\r\n\r\n documentRequest.recipientPartyId = clientDocumentResultItems[0].partyId;\r\n documentRequest.documentCategoryType = 'clientDocuments';\r\n }\r\n }\r\n\r\n if (this.showClientAdviceDocuments) {\r\n documentRequest.documentPack = 'ClientAdvice';\r\n\r\n if (document) {\r\n document.clientAdviceVersionId = this.quoteOrPolicyVersionOrClaimId;\r\n\r\n documentRequest.docPackRows = [document];\r\n\r\n documentRequest.recipientPartyId = document.partyId;\r\n } else {\r\n const clientDocumentResultItems = this.documentPacks.clientDocuments.docResultItems;\r\n const document = clientDocumentResultItems[0];\r\n\r\n document.clientAdviceVersionId = this.quoteOrPolicyVersionOrClaimId;\r\n\r\n documentRequest.docPackRows = [document];\r\n\r\n documentRequest.recipientPartyId = clientDocumentResultItems[0].partyId;\r\n documentRequest.documentCategoryType = 'clientDocuments';\r\n }\r\n }\r\n\r\n if (this.showInsurerDocuments) {\r\n documentRequest.documentPack = this.documentPacks.insurerDocuments.documentPackType;\r\n\r\n if (document) {\r\n if (document?.currentlySelectedDocument) {\r\n document.clientAdviceVersionId = document.currentlySelectedDocument.maxVersion.versionId;\r\n }\r\n\r\n documentRequest.docPackRows = [document];\r\n documentRequest.recipientPartyId = document.partyId;\r\n documentRequest.insurerOfficePartyId = document.partyId;\r\n } else {\r\n const selectedDocumentPack = this.selectedItem;\r\n const insurerDocumentResultItems = selectedDocumentPack.docResultItems;\r\n documentRequest.docPackRows = insurerDocumentResultItems.filter((d) => d.selected);\r\n documentRequest.recipientPartyId = selectedDocumentPack.insurerOfficePartyId;\r\n documentRequest.insurerOfficePartyId = selectedDocumentPack.insurerOfficePartyId;\r\n documentRequest.documentCategoryType = 'insurerDocuments';\r\n }\r\n }\r\n\r\n if (this.showInsurerLapseDocuments) {\r\n documentRequest.documentPack = this.documentPacks.insurerLapseDocuments.documentPackType;\r\n\r\n if (document) {\r\n if (document?.currentlySelectedDocument) {\r\n document.clientAdviceVersionId = document.currentlySelectedDocument.maxVersion.versionId;\r\n }\r\n\r\n documentRequest.docPackRows = [document];\r\n documentRequest.recipientPartyId = document.partyId;\r\n documentRequest.insurerOfficePartyId = document.partyId;\r\n } else {\r\n const selectedDocumentPack = this.selectedItem;\r\n const insurerDocumentResultItems = selectedDocumentPack.docResultItems;\r\n documentRequest.docPackRows = insurerDocumentResultItems.filter((d) => d.selected);\r\n documentRequest.recipientPartyId = selectedDocumentPack.insurerOfficePartyId;\r\n documentRequest.insurerOfficePartyId = selectedDocumentPack.insurerOfficePartyId;\r\n documentRequest.documentCategoryType = 'insurerLapseDocuments';\r\n }\r\n }\r\n\r\n // send the following docPackRow request properties... the rest can be ignored\r\n //@ts-ignore\r\n documentRequest.docPackRows = documentRequest.docPackRows.map((x) => ({\r\n documentPackId:x.documentPackId,\r\n lmiFileContentId: x.lmiFileContentId,\r\n clientAdviceVersionId: x.clientAdviceVersionId,\r\n externalDocumentUrl: x.externalDocumentUrl,\r\n knowYourClientVersionId: x.knowYourClientVersionId,\r\n reportSystemKey: x.reportSystemKey,\r\n insurerOfficePartyId: x.partyId,\r\n webFormId: x.webFormId\r\n }));\r\n\r\n return documentRequest;\r\n }\r\n\r\n async generateDocumentRequest(distributionType: DistributionType, document?: DocResultItem) {\r\n const validationResult = await this.validationController.validate();\r\n\r\n if (validationResult.valid) {\r\n this.showProgessModal = true;\r\n let documentRequest;\r\n\r\n let title = PLATFORM.global.document.title.split(' |')[0];\r\n let clientCode = title.split(' -')[0];\r\n\r\n if (document) {\r\n this.tabTitle = `${clientCode} | ${this.combinedDistribution ? 'Combined ' : ''}${document.documentName}`;\r\n } else {\r\n if (this.showDocumentHistory) {\r\n this.tabTitle = `${clientCode} | ${this.selectedItem.groupType} (History)`;\r\n } else {\r\n const docPack = this.policyType === EntityType.KnowYourClient ? 'Know Your Client' : this.policyType.charAt(0).toUpperCase() + this.policyType.slice(1);\r\n const docPackType = this.selectedItem.groupType.charAt(0).toUpperCase() + this.selectedItem.groupType.slice(1)\r\n const docpackTitle = this.policyType === EntityType.KnowYourClient ? `${docPack} Document Pack`: `${docPackType} ${docPack} Document Pack`;\r\n this.tabTitle = `${clientCode} | ${this.combinedDistribution ? 'Combined ' : ''}${docpackTitle}`;\r\n }\r\n }\r\n\r\n if (this.showDocumentHistory) {\r\n documentRequest = {\r\n distributionType: distributionType,\r\n policyType: this.policyType,\r\n documentCategoryType: 'historyDocuments',\r\n combinedDistribution: this.combinedDistribution,\r\n historyId: this.selectedItem.distHistoryId,\r\n historyIdIsTheCombinedId: this.combinedDistribution,\r\n recipientPartyId: 0,\r\n };\r\n } else {\r\n documentRequest = this.prepareDocumentRequestModel(distributionType, document);\r\n }\r\n\r\n try {\r\n let generationGuid;\r\n\r\n if (this.showDocumentHistory) {\r\n generationGuid = await this.api.generateDocumentHistoryRequest(documentRequest);\r\n } else {\r\n generationGuid = await this.api.generateDocumentRequest(documentRequest);\r\n }\r\n\r\n if (typeof generationGuid === 'string') {\r\n const status = await this.checkDocumentPackGenerationStatus(generationGuid);\r\n\r\n if (status.isCompletedState && status.generationStatus === GenerationStatus.Ready) {\r\n return await this.createDistributionSession(\r\n generationGuid,\r\n documentRequest.distributionType,\r\n documentRequest.recipientPartyId,\r\n documentRequest.entities,\r\n documentRequest.historyId,\r\n documentRequest.historyIdIsTheCombinedId,\r\n );\r\n } else {\r\n if (status.reportGeneration) {\r\n throw status.reportGeneration.filter((x) => x.GenerationStatusString === 'Error');\r\n } else {\r\n throw status;\r\n }\r\n }\r\n } else {\r\n throw generationGuid;\r\n }\r\n } catch (error) {\r\n if (error.hasOwnProperty('ExceptionMessage')) {\r\n this.addDocumentProcessingError(error.ExceptionMessage);\r\n } else if (error.hasOwnProperty('Message')) {\r\n this.addDocumentProcessingError(error.Message);\r\n } else {\r\n this.documentProcessingErrors = [error];\r\n\r\n if (error?.lastException?.message.toLowerCase() === 'no data') {\r\n this.noDataMessage = 'Document not required for selected covers.'\r\n }\r\n }\r\n\r\n this.documentErrors = true;\r\n this.showFooter = true;\r\n\r\n captureException(error);\r\n }\r\n }\r\n }\r\n\r\n addDocumentProcessingError(errorMessage) {\r\n this.documentProcessingErrors = [\r\n {\r\n reportSystemKey: 'Processing Error',\r\n statusMessage: errorMessage,\r\n },\r\n ];\r\n }\r\n\r\n async checkDocumentPackGenerationStatus(generationGuid: string) {\r\n let status;\r\n try {\r\n do {\r\n status = await this.api.checkGenerationStatus(generationGuid);\r\n await timer(2000);\r\n } while (\r\n !status.hasOwnProperty('ExceptionMessage') &&\r\n status.generationStatus !== GenerationStatus.Ready &&\r\n status.generationStatus !== GenerationStatus.Error &&\r\n status.generationStatus !== GenerationStatus.Aborted\r\n );\r\n } catch (error) {\r\n captureException(error);\r\n throw error;\r\n }\r\n return status;\r\n }\r\n\r\n async splitDocumentPreview() {\r\n this.taskQueue.queueMicroTask(async () => {\r\n if (this.isDocumentHistoryPreview) {\r\n const keys = this.selectedDocument.split('/');\r\n this.documentHistoryPreview(keys);\r\n } else {\r\n const documentGuid = this.generatedDocumentArray.find((x) => x.id === this.selectedDocument).id;\r\n this.documentPreview(this.previewDocumentGenerationGuid, documentGuid);\r\n }\r\n });\r\n }\r\n\r\n async documentPreview(sessionGuid, documentGuid) {\r\n const documentUrl = await this.api.getDocumentUrl(sessionGuid, documentGuid);\r\n this.openPdfInPreviewTab(documentUrl);\r\n }\r\n\r\n async createDistributionSession(\r\n generationGuid,\r\n distributionType,\r\n recipientPartyId,\r\n entities,\r\n historyId,\r\n historyIdIsTheCombinedId,\r\n ) {\r\n const distributionSession = await this.api.createDistributionSession(\r\n generationGuid,\r\n distributionType,\r\n recipientPartyId,\r\n );\r\n const generatedDocument = await this.api.getGeneratedDocument(distributionSession.id);\r\n\r\n this.previewDocumentGenerationGuid = generationGuid;\r\n this.documentGuidArray = distributionSession.documentGuids;\r\n this.generatedDocumentArray = [];\r\n\r\n for (const key in generatedDocument) {\r\n if (generatedDocument.hasOwnProperty(key)) {\r\n const element = generatedDocument[key];\r\n this.generatedDocumentArray.push({ id: key, label: element });\r\n }\r\n }\r\n\r\n const documentGuid = distributionSession.documentGuids[0];\r\n const distributionSessionId = distributionSession.id;\r\n const documentTitle = generatedDocument[documentGuid];\r\n\r\n if (distributionType === DistributionType.Preview) {\r\n this.documentPreview(distributionSessionId, documentGuid);\r\n }\r\n\r\n if (\r\n distributionType === DistributionType.Download ||\r\n distributionType === DistributionType.Print ||\r\n distributionType === DistributionType.DownloadEmail\r\n ) {\r\n await this.finalizeDocumentPackGeneration(distributionType, distributionSessionId);\r\n await this.handleDocumentPrintOrDownload(\r\n distributionSessionId,\r\n generatedDocument,\r\n distributionType,\r\n historyId,\r\n historyIdIsTheCombinedId,\r\n );\r\n }\r\n\r\n if (!this.popupBlocked) {\r\n this.showProgessModal = false;\r\n\r\n // show download & email modal\r\n if (distributionType === DistributionType.DownloadEmail) {\r\n const model = {\r\n clientId: this.clientId,\r\n documentPack: mapDocumentPackTypeToDocumentPackTypeId(this.emailModel.documentPack),\r\n policyType: mapPolicyTypeToPolicyTypeId(this.policyType),\r\n recipientType: this.emailModel.recipientType,\r\n recipientPartyId: this.emailModel.recipientPartyId,\r\n historyId: historyId,\r\n historyIdIsTheCombinedId: historyIdIsTheCombinedId,\r\n entityIds: entities?.map((x) => x.entityId),\r\n };\r\n\r\n this.modal.show('secondaryModal').content(IaMailtoModal, { mode: 'document-pack', model: model, modalId: 'secondaryModal' }).withOptions({type: 'wide-lg'});\r\n }\r\n }\r\n\r\n return distributionSessionId;\r\n }\r\n\r\n async handleDocumentPrintOrDownload(\r\n sessionGuid,\r\n documentGuid,\r\n distributionType,\r\n historyId,\r\n historyIdIsTheCombinedId,\r\n ) {\r\n const documentArray = [];\r\n await Promise.all(\r\n this.generatedDocumentArray.map(async (x) => {\r\n const response = await this.api.getDocumentUrl(sessionGuid, x.id);\r\n documentArray.push({\r\n id: x.id,\r\n title: x.label,\r\n url: response,\r\n });\r\n }),\r\n );\r\n\r\n if (typeof window.orientation === 'undefined') {\r\n Promise.all(\r\n documentArray.map(async (x) => {\r\n if (distributionType === DistributionType.Print) {\r\n const fileBlob = await this.api.fetchDocumentPdf(x.url);\r\n const documentUrl = URL.createObjectURL(fileBlob);\r\n\r\n let iframe: HTMLIFrameElement;\r\n\r\n if (this.iframeContainer && this.iframeContainer.childElementCount === 0) {\r\n iframe = document.createElement('iframe');\r\n iframe.id = 'iframe-print-preview';\r\n } else {\r\n iframe = document.getElementById('iframe-print-preview') as HTMLIFrameElement;\r\n }\r\n\r\n iframe.src = documentUrl;\r\n iframe.onload = async () => {\r\n iframe.focus();\r\n iframe.contentWindow.print();\r\n };\r\n\r\n if (this.iframeContainer && this.iframeContainer.childElementCount === 0) {\r\n this.iframeContainer.appendChild(iframe);\r\n }\r\n }\r\n\r\n if (distributionType === DistributionType.Download || distributionType === DistributionType.DownloadEmail) {\r\n this.blobService.downloadBlobFromUrl(x.title, x.url);\r\n }\r\n }),\r\n );\r\n } else {\r\n this.documentsAvailableForDownload = documentArray;\r\n }\r\n }\r\n\r\n async manuallyDownloadDocument(document) {\r\n await this.blobService.downloadBlobFromUrl(document.title, document.url);\r\n }\r\n\r\n async documentHistoryPreview(keys) {\r\n const permanentStorageDocument = await this.api.getPermanentStorageDocumentUrl(keys[0], keys[1]);\r\n this.openPdfInPreviewTab(permanentStorageDocument.blobUri);\r\n }\r\n\r\n openPdfInPreviewTab(url) {\r\n const routeFragment = this.router.generate('pdfPreview', { title: this.tabTitle, url: url });\r\n const openPreview = PLATFORM.global.open(routeFragment, '_blank');\r\n if (!openPreview) {\r\n this.popupBlocked = true;\r\n this.showFooter = true;\r\n this.showProgessModal = true;\r\n }\r\n }\r\n\r\n async startEditingDocument(document: DocResultItem) {\r\n this.showProgessModal = true;\r\n this.currentEditDocName = document.documentName;\r\n\r\n try {\r\n this.entityIdSeq = [{entityId: this.quoteOrPolicyVersionOrClaimId, sequence: null}];\r\n\r\n if (this.combinedDistribution) {\r\n const selectedCovers = orderBy(this.documentPacks.clientQuotesOrPolicies.filter((x) => x.selected), ['sequence'], ['asc'] )\r\n this.entityIdSeq = selectedCovers.map((x) => ({entityId: x.quoteOrPolicyVersionId, sequence: parseInt(x.sequence)}));\r\n }\r\n\r\n this.editHash = await this.api.generateEditHash(\r\n this.policyType,\r\n this.entityIdSeq,\r\n document.documentPackId,\r\n document.reportSystemKey,\r\n this.clientId,\r\n );\r\n\r\n const editContent = await this.api.getEditableDocument(this.editHash, this.entityIdSeq);\r\n this.processEditableContentForTinyMce(editContent, document.documentName, this.editHash);\r\n } catch (error) {\r\n captureException(error);\r\n }\r\n }\r\n\r\n async resetEditableDocument() {\r\n try {\r\n const editContent = await this.api.resetEditableDocument(this.editHash);\r\n this.processEditableContentForTinyMce(editContent, '', this.editHash);\r\n } catch (error) {\r\n captureException(error);\r\n }\r\n }\r\n\r\n async updateEditableDocument() {\r\n try {\r\n const result = await this.api.updateEditableDocument(this.editHash, this.contentChunks);\r\n if(result.ok){\r\n this.endEditSession()\r\n }\r\n } catch (error) {\r\n captureException(error);\r\n }\r\n }\r\n\r\n async endEditSession() {\r\n this.isEditSession = false;\r\n this.cleanUpEditDocumentCss();\r\n }\r\n\r\n cleanUpEditDocumentCss() {\r\n // Remove CSS loaded when editing a document\r\n const styleSheet = document.querySelector('[href$=\"_document.css\"]');\r\n if (styleSheet) {\r\n styleSheet.remove();\r\n }\r\n }\r\n\r\n processEditableContentForTinyMce(editContent: string, documentTitle: string, editHash: string) {\r\n const editContentAsDom = (PLATFORM.global as Window).document.createElement('section');\r\n editContentAsDom.innerHTML = editContent;\r\n\r\n const editableNodes = Array.from(editContentAsDom.querySelectorAll('div.editable'));\r\n const contentChunks = editableNodes.map((x) => ({\r\n Key: (x as HTMLElement).dataset.chunk,\r\n IsInlineChunk: false,\r\n Html: x.innerHTML,\r\n }));\r\n\r\n const guid = generateGuidString();\r\n\r\n editableNodes.forEach(\r\n (el, i) =>\r\n (el.outerHTML = `\r\n `),\r\n );\r\n\r\n this.editHtml = editContentAsDom.outerHTML;\r\n\r\n this.showProgessModal = false;\r\n this.isEditSession = true;\r\n\r\n this.taskQueue.queueTask(() => {\r\n this.contentChunks = cloneDeep(contentChunks);\r\n });\r\n }\r\n\r\n tabChanged(tabClicked) {\r\n this.showClientDocuments = false;\r\n this.showClientAdviceDocuments = false;\r\n this.showInsurerDocuments = false;\r\n this.showInsurerLapseDocuments = false;\r\n this.showDocumentHistory = false;\r\n this.showDocumentPreview = false;\r\n this.showPayeeDocuments = false;\r\n\r\n switch (tabClicked) {\r\n case 'client':\r\n this.showClientDocuments = true;\r\n break;\r\n case 'clientAdvice':\r\n this.showClientAdviceDocuments = true;\r\n if (this.adviceRows.length) {\r\n this.clientConfig.distributionDisabled = true;\r\n }\r\n break;\r\n case 'insurer':\r\n this.showInsurerDocuments = true;\r\n break;\r\n case 'insurerLapse':\r\n this.showInsurerLapseDocuments = true;\r\n break;\r\n case 'history':\r\n this.showDocumentHistory = true;\r\n break;\r\n case 'preview':\r\n this.showDocumentPreview = true;\r\n break;\r\n case 'payee':\r\n this.showPayeeDocuments = true;\r\n break;\r\n }\r\n }\r\n\r\n async finalizeDocumentPackGeneration(distributionType: number, distributionSessionId: string) {\r\n let result;\r\n try {\r\n if (distributionType !== DistributionType.Preview) {\r\n if (distributionType !== DistributionType.Email) {\r\n result = await this.api.addDistributionHistory(distributionSessionId);\r\n }\r\n\r\n await this.loadDocumentPackHistory();\r\n this.tabChanged(this.showClientDocuments && this.payeeConfig ? 'payee' : 'history');\r\n window.scroll(0, 0);\r\n }\r\n } catch (error) {\r\n captureException(error);\r\n }\r\n\r\n return result;\r\n }\r\n\r\n closeProgessModal() {\r\n this.documentErrors = false;\r\n this.documentProcessingErrors = [];\r\n this.popupBlocked = false;\r\n this.showCombinedCoverValidationErrors = false;\r\n this.combinedDistributionInvalidCovers = [];\r\n this.showProgessModal = false;\r\n this.showFooter = false;\r\n this.distributionType = undefined;\r\n this.distributionModel = undefined;\r\n this.noDataMessage = '';\r\n }\r\n\r\n async distributeItem(distributionType, item) {\r\n this.documentsAvailableForDownload = [];\r\n this.showManualDownloadLinks = false;\r\n this.documentPreviewGenerated = false;\r\n\r\n // Combined distribution check. Are all selected transactions valid?\r\n if (this.combinedDistribution && !this.showDocumentHistory && (this.policyType === EntityType.Quote || this.policyType === EntityType.Incomplete)) {\r\n const coversToValidate = [];\r\n this.documentPacks.clientQuotesOrPolicies\r\n .filter((x) => x.selected)\r\n .forEach((x) => {\r\n coversToValidate.push({\r\n entityType: this.policyType,\r\n entityId: x.quoteOrPolicyVersionId,\r\n });\r\n });\r\n\r\n const response = await this.api.validateQuotes(this.clientId, this.policyType, coversToValidate);\r\n\r\n this.combinedDistributionInvalidCovers = response\r\n .filter((x) => x.isValid === false)\r\n .map((x) => {\r\n const selected = this.documentPacks.clientQuotesOrPolicies.filter((x) => x.selected);\r\n return {\r\n coverNumber: selected.find((p) => p.quoteOrPolicyVersionId === x.entityId)?.coverVersion,\r\n ...x,\r\n };\r\n });\r\n\r\n if (this.combinedDistributionInvalidCovers.length > 0) {\r\n this.showCombinedCoverValidationErrors = true;\r\n this.showFooter = true;\r\n this.showProgessModal = true;\r\n return;\r\n }\r\n }\r\n\r\n // Set selected item. Can be single document from history tab, or entire doc pack from Client/Insurer tab.\r\n this.selectedItem = item;\r\n\r\n // Selected row check.\r\n if (!this.showDocumentHistory && !this.showClientAdviceDocuments && this.policyType != EntityType.KnowYourClient) {\r\n if (this.selectedItem.docResultItems.filter((x) => x.selected).length === 0) return;\r\n if (this.combinedDistribution && this.documentPacks.clientQuotesOrPolicies.filter((x) => x.selected).length <= 1)\r\n return;\r\n }\r\n\r\n // DownloadEmail model setup\r\n if (distributionType === DistributionType.DownloadEmail) {\r\n if (this.showClientDocuments || this.showClientAdviceDocuments) {\r\n this.emailModel.documentPack = this.documentPacks.clientDocuments.documentPackType;\r\n this.emailModel.recipientType = 'Client';\r\n this.emailModel.recipientPartyId = 0;\r\n } else if (this.showInsurerDocuments || this.showInsurerLapseDocuments) {\r\n this.emailModel.documentPack = this.showInsurerDocuments ? this.documentPacks.insurerDocuments.documentPackType : this.documentPacks.insurerLapseDocuments.documentPackType;\r\n this.emailModel.recipientType = 'InsurerOffice';\r\n this.emailModel.recipientPartyId = this.selectedItem.insurerOfficePartyId;\r\n } else if (this.showDocumentHistory) {\r\n this.emailModel.documentPack = this.selectedItem.documentPack;\r\n this.emailModel.recipientType = this.selectedItem.documentPack.includes('Insurer') ? 'InsurerOffice' : 'Client';\r\n this.emailModel.recipientPartyId = this.selectedItem.insurerOfficePartyId;\r\n }\r\n }\r\n\r\n await this.generateDocumentRequest(distributionType);\r\n\r\n sessionStorage.removeItem('is_draft_entity');\r\n }\r\n\r\n private rowClicked(item, $index = 0) {\r\n if (this.selectedRowIndex === $index) {\r\n this.selectedRowIndex = -1;\r\n return;\r\n }\r\n this.selectedRowIndex = $index;\r\n }\r\n\r\n filterDocumentList() {\r\n this.taskQueue.queueMicroTask(() => {\r\n if(this.policyType === EntityType.Policy) {\r\n\r\n // Clear any selected covers\r\n this.combinedDistributionEnabled = false;\r\n this.documentPacks.clientQuotesOrPolicies.filter((x) => x.selected).forEach((x) => {\r\n x.selected = false;\r\n x.sequence = null;\r\n });\r\n\r\n if (this.filterTypeId === 0) {\r\n this.filteredDocumentList = this.documentPacks.clientQuotesOrPolicies;\r\n }\r\n\r\n if (this.filterTypeId === 1) {\r\n this.filteredDocumentList = this.documentPacks.clientQuotesOrPolicies.filter((x) => x.amountOutstanding != 0);\r\n }\r\n }else if(this.policyType === EntityType.Quote || this.policyType === EntityType.Incomplete) {\r\n this.filteredDocumentList = this.documentPacks.clientQuotesOrPolicies;\r\n }\r\n });\r\n }\r\n\r\n get invalidAdviceRowState() {\r\n if (this?.documentPacks?.clientDocuments?.docResultItems) {\r\n return this?.documentPacks?.clientDocuments?.docResultItems.some((row) => {\r\n if (row.reportSystemKey == 'place_holder_for_client_advice' && row.selected && !row.currentlySelectedDocument) {\r\n return true;\r\n }\r\n });\r\n }\r\n return false;\r\n }\r\n\r\n combinedCoverClicked(event, row) {\r\n const selectedCovers = orderBy(this.filteredDocumentList.filter((x) => x.selected), ['sequence'], ['asc']);\r\n this.combinedDistributionEnabled = selectedCovers.length > 1;\r\n\r\n if(event.target.checked && !row.sequence){\r\n row.sequence = selectedCovers.length;\r\n\r\n if(row.referrerFeesRequireAcknowledgement){\r\n this.combinedReferrerFeesRequireAcknowledgement = true;\r\n }\r\n\r\n }else{\r\n selectedCovers.filter((x) => parseInt(x.sequence) > parseInt(row.sequence)).forEach((x) => x.sequence = (parseInt(x.sequence) - 1));\r\n row.sequence = null;\r\n\r\n if(this.combinedReferrerFeesRequireAcknowledgement){\r\n this.combinedReferrerFeesRequireAcknowledgement = this.filteredDocumentList.some((x: any) => x.referrerFeesRequireAcknowledgement && x.selected);\r\n if(!this.combinedReferrerFeesRequireAcknowledgement) {\r\n this.combinedReferrerFeeAcknowledged = false;\r\n }\r\n }\r\n }\r\n\r\n if (this.appClientType === 'AU') {\r\n const insurerQuoteDocument = this.documentPacks.clientDocuments.docResultItems.find(\r\n (x) => x.documentId === 600001000,\r\n );\r\n if (insurerQuoteDocument) {\r\n if (selectedCovers.some((x) => x.qbeInsurerQuoteLetterPresent)) {\r\n insurerQuoteDocument.selected = true;\r\n insurerQuoteDocument.mandatory = false;\r\n } else {\r\n insurerQuoteDocument.selected = false;\r\n insurerQuoteDocument.mandatory = true;\r\n }\r\n }\r\n\r\n const insurerPolicyScheduleDocument = this.documentPacks.clientDocuments.docResultItems.find(\r\n (x) => x.documentId === 600001001,\r\n );\r\n if (insurerPolicyScheduleDocument) {\r\n if (selectedCovers.some((x) => x.qbeInsurerSchedulePresent)) {\r\n insurerPolicyScheduleDocument.selected = true;\r\n insurerPolicyScheduleDocument.mandatory = false;\r\n } else {\r\n insurerPolicyScheduleDocument.selected = false;\r\n insurerPolicyScheduleDocument.mandatory = true;\r\n }\r\n }\r\n\r\n const lmiQuoteSlipDocument = this.documentPacks.clientDocuments.docResultItems.find(\r\n (x) => x.documentId === 600005050,\r\n );\r\n if (lmiQuoteSlipDocument) {\r\n if (selectedCovers.some((x) => x.lmiQuoteSlipPresent)) {\r\n lmiQuoteSlipDocument.selected = true;\r\n lmiQuoteSlipDocument.mandatory = false;\r\n } else {\r\n lmiQuoteSlipDocument.selected = false;\r\n lmiQuoteSlipDocument.mandatory = true;\r\n }\r\n }\r\n\r\n const lmiAssetScheduleDocument = this.documentPacks.clientDocuments.docResultItems.find(\r\n (x) => x.documentId === 600005051,\r\n );\r\n if (lmiAssetScheduleDocument) {\r\n if (selectedCovers.some((x) => x.lmiAssetSchedulePresent)) {\r\n lmiAssetScheduleDocument.selected = true;\r\n lmiAssetScheduleDocument.mandatory = false;\r\n } else {\r\n lmiAssetScheduleDocument.selected = false;\r\n lmiAssetScheduleDocument.mandatory = true;\r\n }\r\n }\r\n }\r\n\r\n if (this.appClientType === 'NZ') {\r\n const ourAdviceDocument = this.documentPacks.clientDocuments.docResultItems.find(\r\n (x) => x.documentId === 610000007,\r\n );\r\n if (ourAdviceDocument) {\r\n if (selectedCovers.some((x) => x.ourAdvicePresent)) {\r\n ourAdviceDocument.selected = true;\r\n ourAdviceDocument.mandatory = false;\r\n } else {\r\n ourAdviceDocument.selected = false;\r\n ourAdviceDocument.mandatory = true;\r\n }\r\n }\r\n }\r\n\r\n this.selectedClientDocumentCount = this.documentPacks.clientDocuments.docResultItems.filter(\r\n (x) => x.selected || x.mandatory,\r\n ).length;\r\n }\r\n\r\n itemSelected(event) {\r\n this.taskQueue.queueMicroTask(() => {\r\n if (event.target.checked) {\r\n this.selectedClientDocumentCount++;\r\n } else {\r\n this.selectedClientDocumentCount--;\r\n }\r\n });\r\n }\r\n\r\n itemSelectedInsurer(event, index) {\r\n this.taskQueue.queueMicroTask(() => {\r\n if (event.target.checked) {\r\n this.selectedInsurerDocumentCount[index]++;\r\n } else {\r\n this.selectedInsurerDocumentCount[index]--;\r\n }\r\n\r\n this.selectedInsurerDocumentCount = [...this.selectedInsurerDocumentCount];\r\n });\r\n }\r\n\r\n itemSelectedPayee(event) {\r\n this.taskQueue.queueMicroTask(() => {\r\n if (event.target.checked) {\r\n this.selectedPayeeDocumentCount++;\r\n } else {\r\n this.selectedPayeeDocumentCount--;\r\n }\r\n });\r\n }\r\n\r\n selectAll(event: any, results: any[]) {\r\n this.taskQueue.queueMicroTask(() => {\r\n if (event.target.checked) {\r\n results.forEach((item) => {\r\n if((item.reportSystemKey === 'place_holder_for_client_advice')){\r\n item.selected = this.adviceRows.length > 0;\r\n }else{\r\n if(!item.mandatory){\r\n item.selected = true;\r\n }\r\n }\r\n });\r\n } else {\r\n results.forEach((item) => {\r\n if(!item.mandatory){\r\n item.selected = false;\r\n }\r\n });\r\n }\r\n\r\n this.selectedClientDocumentCount = this.documentPacks.clientDocuments.docResultItems.filter(\r\n (x) => x.selected || x.mandatory,\r\n ).length;\r\n });\r\n }\r\n\r\n selectAllInsurer(event: any, results: any[], index) {\r\n this.taskQueue.queueMicroTask(() => {\r\n if (event.target.checked) {\r\n results.forEach((item) => {\r\n if(!item.mandatory){\r\n item.selected = true;\r\n }\r\n });\r\n } else {\r\n results.forEach((item) => {\r\n if(!item.mandatory){\r\n item.selected = false;\r\n }\r\n });\r\n }\r\n\r\n this.selectedInsurerDocumentCount[index] = results.filter(\r\n (x) => x.selected || x.mandatory,\r\n ).length;\r\n\r\n this.selectedInsurerDocumentCount = [...this.selectedInsurerDocumentCount];\r\n });\r\n }\r\n\r\n selectAllPayees(event: any, results: any[]) {\r\n this.taskQueue.queueMicroTask(() => {\r\n if (event.target.checked) {\r\n results.forEach((item) => {\r\n if(!item.mandatory){\r\n item.selected = true;\r\n }\r\n });\r\n } else {\r\n results.forEach((item) => {\r\n if(!item.mandatory){\r\n item.selected = false;\r\n }\r\n });\r\n }\r\n\r\n this.selectedPayeeDocumentCount = this.documentPacks.payeeDocuments.docResultItems.filter((x) => x.selected || x.mandatory).length;\r\n });\r\n }\r\n\r\n async generatePayeeDocuments() {\r\n try {\r\n if(!this.selectedPayeeDocumentCount) {\r\n return;\r\n }\r\n\r\n const documentRequest = {\r\n clientId: this.clientId,\r\n entityId: this.quoteOrPolicyVersionOrClaimId,\r\n docPack: this.documentPacks.payeeDocuments.documentPackType,\r\n policyType: this.policyType,\r\n splitDocs: [ \"client_invoice\" ],\r\n reportCategory: 1,\r\n documentPackIds: this.documentPacks.payeeDocuments.docResultItems.filter((x) => x.selected || x.mandatory).map((x) => x.documentPackId)\r\n }\r\n\r\n const result = await this.api.generatePayeeDocuments(documentRequest);\r\n\r\n if(result && !result.hasOwnProperty('errors')) {\r\n this.tabChanged('history');\r\n successToast(\"Payee documents requested. Email notification will be sent once generation is complete.\")\r\n }\r\n } catch (error) {\r\n console.log(error)\r\n }\r\n }\r\n\r\n selectedAdviceDocumentChanged(row) {\r\n this.currentlySelectedAdviceVersion = null;\r\n\r\n if (!row?.currentlySelectedDocument) {\r\n return;\r\n }\r\n\r\n const { documentPackId } = row;\r\n const { clientId, clientAdviceId } = row.currentlySelectedDocument;\r\n const { versionId } = row.currentlySelectedDocument.maxVersion;\r\n\r\n this.currentlySelectedAdviceVersion = {\r\n documentPackId,\r\n clientAdviceVersionId: versionId,\r\n lmiFileContentId: null,\r\n customerSuppliedDocumentType: '',\r\n externalDocumentUrl: '',\r\n documentAuthor: 1,\r\n sequenceNo: 1,\r\n };\r\n }\r\n\r\n getPolicyTypeId(){\r\n return mapPolicyTypeToPolicyTypeId(this.policyType);\r\n }\r\n\r\n @computedFrom('clientConfig.referrerFeesRequireAcknowledgement', 'clientReferrerFeeAcknowledged')\r\n get clientReferrerFeeAcknowledgementRequired() {\r\n const isReferrerFeeAcknowledgementRequired = this.clientConfig.referrerFeesRequireAcknowledgement && !this.clientReferrerFeeAcknowledged;\r\n return isReferrerFeeAcknowledgementRequired;\r\n }\r\n\r\n @computedFrom('insurerConfig.referrerFeesRequireAcknowledgement', 'insurerReferrerFeeAcknowledged')\r\n get insurerReferrerFeeAcknowledgementRequired() {\r\n const isReferrerFeeAcknowledgementRequired = this.insurerConfig.referrerFeesRequireAcknowledgement && !this.insurerReferrerFeeAcknowledged;\r\n return isReferrerFeeAcknowledgementRequired;\r\n }\r\n\r\n @computedFrom('filteredDocumentList')\r\n get combinedShowAcknowledgementColumn() {\r\n return this.filteredDocumentList.some((x: any) => x.referrerFeesRequireAcknowledgement);\r\n }\r\n\r\n @computedFrom('combinedReferrerFeesRequireAcknowledgement', 'combinedReferrerFeeAcknowledged')\r\n get combinedReferrerFeeAcknowledgementRequired() {\r\n const isReferrerFeeAcknowledgementRequired = this.combinedReferrerFeesRequireAcknowledgement && !this.combinedReferrerFeeAcknowledged;\r\n return isReferrerFeeAcknowledgementRequired;\r\n }\r\n\r\n @computedFrom('policyType')\r\n get getHeaderLabelClass() {\r\n // set default\r\n let className = 'header-label--quote';\r\n\r\n // replace if policy\r\n if (this.policyType==='policy') {\r\n className = 'header-label--policy';\r\n }\r\n\r\n // replace if claim\r\n if (this.policyType==='claim') {\r\n className = 'header-label--claim';\r\n }\r\n\r\n // replace if advice\r\n if (this.policyType==='advice') {\r\n className = 'header-label--advice';\r\n }\r\n\r\n // replace if kyc\r\n if (this.policyType==='knowYourClientVersion') {\r\n className = 'header-label--kyc';\r\n }\r\n\r\n // replace if form\r\n if (this.policyType==='form') {\r\n className = 'header-label--form';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n @computedFrom('policyType')\r\n get getPolicyTypeLabel() {\r\n // set default\r\n let label = this.policyType;\r\n\r\n // replace if policy\r\n if (this.policyType === 'knowYourClientVersion') {\r\n label = 'Know Your Client';\r\n }\r\n\r\n return label;\r\n }\r\n}\r\n","// extracted by mini-css-extract-plugin\nexport default {\"btn\":\"btn____XSBpu\",\"btn--flat\":\"btn--flat____thx_F btn____XSBpu\",\"btnFlat\":\"btn--flat____thx_F btn____XSBpu\",\"btn--submit\":\"btn--submit____xcK1w btn____XSBpu\",\"btnSubmit\":\"btn--submit____xcK1w btn____XSBpu\",\"btn--delete\":\"btn--delete____x5tm9 btn____XSBpu\",\"btnDelete\":\"btn--delete____x5tm9 btn____XSBpu\",\"btn--link\":\"btn--link____qW8AT btn____XSBpu\",\"btnLink\":\"btn--link____qW8AT btn____XSBpu\",\"btn--inline-text-link\":\"btn--inline-text-link____ejPeu btn--link____qW8AT btn____XSBpu\",\"btnInlineTextLink\":\"btn--inline-text-link____ejPeu btn--link____qW8AT btn____XSBpu\",\"btn--footer\":\"btn--footer____L0Zir btn____XSBpu\",\"btnFooter\":\"btn--footer____L0Zir btn____XSBpu\",\"btn--footer-submit\":\"btn--footer-submit____yV3ZP btn--submit____xcK1w btn____XSBpu btn--footer____L0Zir btn____XSBpu\",\"btnFooterSubmit\":\"btn--footer-submit____yV3ZP btn--submit____xcK1w btn____XSBpu btn--footer____L0Zir btn____XSBpu\",\"btn--footer-cancel\":\"btn--footer-cancel____JRMLZ btn--flat____thx_F btn____XSBpu btn--footer____L0Zir btn____XSBpu\",\"btnFooterCancel\":\"btn--footer-cancel____JRMLZ btn--flat____thx_F btn____XSBpu btn--footer____L0Zir btn____XSBpu\",\"btn--footer-delete\":\"btn--footer-delete____gdsyS btn--delete____x5tm9 btn____XSBpu btn--footer____L0Zir btn____XSBpu\",\"btnFooterDelete\":\"btn--footer-delete____gdsyS btn--delete____x5tm9 btn____XSBpu btn--footer____L0Zir btn____XSBpu\",\"btn--qce-dropdown\":\"btn--qce-dropdown____ClgZF btn--footer-submit____yV3ZP btn--submit____xcK1w btn____XSBpu btn--footer____L0Zir btn____XSBpu\",\"btnQceDropdown\":\"btn--qce-dropdown____ClgZF btn--footer-submit____yV3ZP btn--submit____xcK1w btn____XSBpu btn--footer____L0Zir btn____XSBpu\",\"btn--footer-combo\":\"btn--footer-combo____lstXn btn--footer____L0Zir btn____XSBpu\",\"btnFooterCombo\":\"btn--footer-combo____lstXn btn--footer____L0Zir btn____XSBpu\",\"btn--lmi-bicalc\":\"btn--lmi-bicalc____NEl3h btn____XSBpu\",\"btnLmiBicalc\":\"btn--lmi-bicalc____NEl3h btn____XSBpu\",\"btn--lmi-risk\":\"btn--lmi-risk____vNSB9 btn____XSBpu\",\"btnLmiRisk\":\"btn--lmi-risk____vNSB9 btn____XSBpu\",\"btn--lmi-policy-comparison\":\"btn--lmi-policy-comparison____eXpAa btn____XSBpu\",\"btnLmiPolicyComparison\":\"btn--lmi-policy-comparison____eXpAa btn____XSBpu\",\"btn--lmi-policy-coach\":\"btn--lmi-policy-coach____fWJq_ btn____XSBpu\",\"btnLmiPolicyCoach\":\"btn--lmi-policy-coach____fWJq_ btn____XSBpu\",\"btn--andrew-nock\":\"btn--andrew-nock____j7C8J btn____XSBpu\",\"btnAndrewNock\":\"btn--andrew-nock____j7C8J btn____XSBpu\",\"btn--construction-cost-consultants\":\"btn--construction-cost-consultants____NdhvV btn____XSBpu\",\"btnConstructionCostConsultants\":\"btn--construction-cost-consultants____NdhvV btn____XSBpu\",\"btn--5-star\":\"btn--5-star____rQRu8 btn____XSBpu\",\"btn5Star\":\"btn--5-star____rQRu8 btn____XSBpu\",\"btn--thermoscan\":\"btn--thermoscan____OFgRj btn____XSBpu\",\"btnThermoscan\":\"btn--thermoscan____OFgRj btn____XSBpu\",\"btn--risk-survey-services\":\"btn--risk-survey-services____VLm6Y btn____XSBpu\",\"btnRiskSurveyServices\":\"btn--risk-survey-services____VLm6Y btn____XSBpu\",\"btn--risk-management\":\"btn--risk-management____lQ71b btn____XSBpu\",\"btnRiskManagement\":\"btn--risk-management____lQ71b btn____XSBpu\",\"btn--lmi-bicalc--disabled\":\"btn--lmi-bicalc--disabled____Klb5m btn--lmi-bicalc____NEl3h btn____XSBpu\",\"btnLmiBicalcDisabled\":\"btn--lmi-bicalc--disabled____Klb5m btn--lmi-bicalc____NEl3h btn____XSBpu\",\"btn--lmi-risk--disabled\":\"btn--lmi-risk--disabled____itgcP btn--lmi-risk____vNSB9 btn____XSBpu\",\"btnLmiRiskDisabled\":\"btn--lmi-risk--disabled____itgcP btn--lmi-risk____vNSB9 btn____XSBpu\",\"btn--lmi-policy-comparison--disabled\":\"btn--lmi-policy-comparison--disabled____ONXom btn--lmi-policy-comparison____eXpAa btn____XSBpu\",\"btnLmiPolicyComparisonDisabled\":\"btn--lmi-policy-comparison--disabled____ONXom btn--lmi-policy-comparison____eXpAa btn____XSBpu\",\"btn--initial-insured-location-risk\":\"btn--initial-insured-location-risk____tzGJz btn--flat____thx_F btn____XSBpu btn____XSBpu\",\"btnInitialInsuredLocationRisk\":\"btn--initial-insured-location-risk____tzGJz btn--flat____thx_F btn____XSBpu btn____XSBpu\",\"btn--icon\":\"btn--icon____xH4h1 btn____XSBpu\",\"btnIcon\":\"btn--icon____xH4h1 btn____XSBpu\",\"badge-pop\":\"badge-pop____zTaUT\",\"badgePop\":\"badge-pop____zTaUT\",\"btn--icon-no-border\":\"btn--icon-no-border____AhbG5\",\"btnIconNoBorder\":\"btn--icon-no-border____AhbG5\",\"btn--icon-task\":\"btn--icon-task____tdHrs btn--icon____xH4h1 btn____XSBpu\",\"btnIconTask\":\"btn--icon-task____tdHrs btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-document\":\"btn--icon-document____Uk2JQ btn--icon____xH4h1 btn____XSBpu\",\"btnIconDocument\":\"btn--icon-document____Uk2JQ btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-add\":\"btn--icon-add____qbinp btn--icon____xH4h1 btn____XSBpu\",\"btnIconAdd\":\"btn--icon-add____qbinp btn--icon____xH4h1 btn____XSBpu\",\"btn--add-risk\":\"btn--add-risk____W2IcN btn--icon____xH4h1 btn____XSBpu\",\"btnAddRisk\":\"btn--add-risk____W2IcN btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-close\":\"btn--icon-close____QfepF btn--icon____xH4h1 btn____XSBpu\",\"btnIconClose\":\"btn--icon-close____QfepF btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-delete\":\"btn--icon-delete____rVu61 btn--icon____xH4h1 btn____XSBpu\",\"btnIconDelete\":\"btn--icon-delete____rVu61 btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-download\":\"btn--icon-download____hVsFQ btn--icon____xH4h1 btn____XSBpu\",\"btnIconDownload\":\"btn--icon-download____hVsFQ btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-edit\":\"btn--icon-edit____MuJmC btn--icon____xH4h1 btn____XSBpu\",\"btnIconEdit\":\"btn--icon-edit____MuJmC btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-email\":\"btn--icon-email____D3cNN btn--icon____xH4h1 btn____XSBpu\",\"btnIconEmail\":\"btn--icon-email____D3cNN btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-download-email\":\"btn--icon-download-email____kp5M8 btn--icon____xH4h1 btn____XSBpu\",\"btnIconDownloadEmail\":\"btn--icon-download-email____kp5M8 btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-eye\":\"btn--icon-eye____cyteO btn--icon____xH4h1 btn____XSBpu\",\"btnIconEye\":\"btn--icon-eye____cyteO btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-eye-slash\":\"btn--icon-eye-slash____tEvtT btn--icon-eye____cyteO btn--icon____xH4h1 btn____XSBpu\",\"btnIconEyeSlash\":\"btn--icon-eye-slash____tEvtT btn--icon-eye____cyteO btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-folder\":\"btn--icon-folder____QbdNY btn--icon____xH4h1 btn____XSBpu\",\"btnIconFolder\":\"btn--icon-folder____QbdNY btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-folder-locked\":\"btn--icon-folder-locked____nrxei btn--icon____xH4h1 btn____XSBpu\",\"btnIconFolderLocked\":\"btn--icon-folder-locked____nrxei btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-folder-locked-active\":\"btn--icon-folder-locked-active____uIGhi btn--icon____xH4h1 btn____XSBpu\",\"btnIconFolderLockedActive\":\"btn--icon-folder-locked-active____uIGhi btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-history\":\"btn--icon-history____jPKQw btn--icon____xH4h1 btn____XSBpu\",\"btnIconHistory\":\"btn--icon-history____jPKQw btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-info\":\"btn--icon-info____VR6K4 btn--icon____xH4h1 btn____XSBpu\",\"btnIconInfo\":\"btn--icon-info____VR6K4 btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-link\":\"btn--icon-link____mstjS btn--icon____xH4h1 btn____XSBpu\",\"btnIconLink\":\"btn--icon-link____mstjS btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-unlink\":\"btn--icon-unlink____vKZYw btn--icon-delete____rVu61 btn--icon____xH4h1 btn____XSBpu\",\"btnIconUnlink\":\"btn--icon-unlink____vKZYw btn--icon-delete____rVu61 btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-map\":\"btn--icon-map____SYaYH btn--icon____xH4h1 btn____XSBpu\",\"btnIconMap\":\"btn--icon-map____SYaYH btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-more\":\"btn--icon-more____nHmxt btn--icon____xH4h1 btn____XSBpu\",\"btnIconMore\":\"btn--icon-more____nHmxt btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-move-down\":\"btn--icon-move-down____ggeMk btn--icon____xH4h1 btn____XSBpu\",\"btnIconMoveDown\":\"btn--icon-move-down____ggeMk btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-move-up\":\"btn--icon-move-up____ViPvB btn--icon____xH4h1 btn____XSBpu\",\"btnIconMoveUp\":\"btn--icon-move-up____ViPvB btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-open-in-new-window\":\"btn--icon-open-in-new-window____bfFf9 btn--icon____xH4h1 btn____XSBpu\",\"btnIconOpenInNewWindow\":\"btn--icon-open-in-new-window____bfFf9 btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-favourite--selected\":\"btn--icon-favourite--selected____bzcRM btn--icon____xH4h1 btn____XSBpu\",\"btnIconFavouriteSelected\":\"btn--icon-favourite--selected____bzcRM btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-favourite--deselected\":\"btn--icon-favourite--deselected____iyOx5 btn--icon____xH4h1 btn____XSBpu\",\"btnIconFavouriteDeselected\":\"btn--icon-favourite--deselected____iyOx5 btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-preview\":\"btn--icon-preview____HQY_5 btn--icon____xH4h1 btn____XSBpu\",\"btnIconPreview\":\"btn--icon-preview____HQY_5 btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-pre-printed\":\"btn--icon-pre-printed____NyoJT btn--icon____xH4h1 btn____XSBpu\",\"btnIconPrePrinted\":\"btn--icon-pre-printed____NyoJT btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-print\":\"btn--icon-print____qYO5w btn--icon____xH4h1 btn____XSBpu\",\"btnIconPrint\":\"btn--icon-print____qYO5w btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-save\":\"btn--icon-save____KNTiT btn--icon____xH4h1 btn____XSBpu\",\"btnIconSave\":\"btn--icon-save____KNTiT btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-settings\":\"btn--icon-settings____krqGd btn--icon____xH4h1 btn____XSBpu\",\"btnIconSettings\":\"btn--icon-settings____krqGd btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-show-details\":\"btn--icon-show-details____I1ssZ btn--icon____xH4h1 btn____XSBpu\",\"btnIconShowDetails\":\"btn--icon-show-details____I1ssZ btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-show-details--alert\":\"btn--icon-show-details--alert____MSysu btn--icon____xH4h1 btn____XSBpu\",\"btnIconShowDetailsAlert\":\"btn--icon-show-details--alert____MSysu btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-show-summary\":\"btn--icon-show-summary____R3G7a btn--icon____xH4h1 btn____XSBpu\",\"btnIconShowSummary\":\"btn--icon-show-summary____R3G7a btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-attachment\":\"btn--icon-attachment____doKWy btn--icon____xH4h1 btn____XSBpu\",\"btnIconAttachment\":\"btn--icon-attachment____doKWy btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-tag\":\"btn--icon-tag____nYTEn btn--icon____xH4h1 btn____XSBpu\",\"btnIconTag\":\"btn--icon-tag____nYTEn btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-undo\":\"btn--icon-undo____FvJHa btn--icon____xH4h1 btn____XSBpu\",\"btnIconUndo\":\"btn--icon-undo____FvJHa btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-sync\":\"btn--icon-sync____bBymf btn--icon____xH4h1 btn____XSBpu\",\"btnIconSync\":\"btn--icon-sync____bBymf btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-arrow-forward\":\"btn--icon-arrow-forward____MLzoy btn--icon____xH4h1 btn____XSBpu\",\"btnIconArrowForward\":\"btn--icon-arrow-forward____MLzoy btn--icon____xH4h1 btn____XSBpu\",\"btn--aside-collapse\":\"btn--aside-collapse____h9Hfz btn--icon____xH4h1 btn____XSBpu\",\"btnAsideCollapse\":\"btn--aside-collapse____h9Hfz btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-expand-more\":\"btn--icon-expand-more____guK13 btn--icon____xH4h1 btn____XSBpu\",\"btnIconExpandMore\":\"btn--icon-expand-more____guK13 btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-expand-less\":\"btn--icon-expand-less____dHOvE btn--icon____xH4h1 btn____XSBpu\",\"btnIconExpandLess\":\"btn--icon-expand-less____dHOvE btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-general\":\"btn--icon-general____rN6wR btn--icon____xH4h1 btn____XSBpu\",\"btnIconGeneral\":\"btn--icon-general____rN6wR btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-sales\":\"btn--icon-sales____QoBch btn--icon____xH4h1 btn____XSBpu\",\"btnIconSales\":\"btn--icon-sales____QoBch btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-branch\":\"btn--icon-branch____c8pHd btn--icon____xH4h1 btn____XSBpu\",\"btnIconBranch\":\"btn--icon-branch____c8pHd btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-contact\":\"btn--icon-contact____B7RlH btn--icon____xH4h1 btn____XSBpu\",\"btnIconContact\":\"btn--icon-contact____B7RlH btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-consent\":\"btn--icon-consent____jf0_z btn--icon____xH4h1 btn____XSBpu\",\"btnIconConsent\":\"btn--icon-consent____jf0_z btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-questions\":\"btn--icon-questions____WKuJc btn--icon____xH4h1 btn____XSBpu\",\"btnIconQuestions\":\"btn--icon-questions____WKuJc btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-associated\":\"btn--icon-associated____o04lz btn--icon____xH4h1 btn____XSBpu\",\"btnIconAssociated\":\"btn--icon-associated____o04lz btn--icon____xH4h1 btn____XSBpu\",\"btn--icon-notes\":\"btn--icon-notes____D0Wrz btn--icon____xH4h1 btn____XSBpu\",\"btnIconNotes\":\"btn--icon-notes____D0Wrz btn--icon____xH4h1 btn____XSBpu\",\"btn--back\":\"btn--back____JBIer btn____XSBpu\",\"btnBack\":\"btn--back____JBIer btn____XSBpu\",\"btn--back-to-sign-in\":\"btn--back-to-sign-in____R8cED btn--back____JBIer btn____XSBpu\",\"btnBackToSignIn\":\"btn--back-to-sign-in____R8cED btn--back____JBIer btn____XSBpu\",\"btn--icon-advanced-search\":\"btn--icon-advanced-search____P3Dhr btn--icon____xH4h1 btn____XSBpu\",\"btnIconAdvancedSearch\":\"btn--icon-advanced-search____P3Dhr btn--icon____xH4h1 btn____XSBpu\",\"btn--wizard\":\"btn--wizard____A2x9v btn____XSBpu\",\"btnWizard\":\"btn--wizard____A2x9v btn____XSBpu\",\"btn--wizard-back\":\"btn--wizard-back____JVfhr btn--wizard____A2x9v btn____XSBpu\",\"btnWizardBack\":\"btn--wizard-back____JVfhr btn--wizard____A2x9v btn____XSBpu\",\"btn--wizard-next\":\"btn--wizard-next____WI0El btn--wizard____A2x9v btn____XSBpu\",\"btnWizardNext\":\"btn--wizard-next____WI0El btn--wizard____A2x9v btn____XSBpu\",\"card\":\"card____hXMMh\",\"card-content\":\"card-content____aKGRf\",\"cardContent\":\"card-content____aKGRf\",\"card-heading\":\"card-heading____BrDcq\",\"cardHeading\":\"card-heading____BrDcq\",\"control-group\":\"control-group____usla6\",\"controlGroup\":\"control-group____usla6\",\"label-group\":\"label-group____0mpRU\",\"labelGroup\":\"label-group____0mpRU\",\"label-group-item\":\"label-group-item____reB14\",\"labelGroupItem\":\"label-group-item____reB14\",\"constrained-width\":\"constrained-width____SbrcX\",\"constrainedWidth\":\"constrained-width____SbrcX\",\"button-group\":\"button-group____kjreL\",\"buttonGroup\":\"button-group____kjreL\",\"card--alert\":\"card--alert_____LNEd card____hXMMh\",\"cardAlert\":\"card--alert_____LNEd card____hXMMh\",\"card-heading--alert\":\"card-heading--alert____xZM8o card-heading____BrDcq\",\"cardHeadingAlert\":\"card-heading--alert____xZM8o card-heading____BrDcq\",\"card--status-message\":\"card--status-message____a6RP7\",\"cardStatusMessage\":\"card--status-message____a6RP7\",\"card--status-message--left\":\"card--status-message--left____eipuA card--status-message____a6RP7\",\"cardStatusMessageLeft\":\"card--status-message--left____eipuA card--status-message____a6RP7\",\"card-heading--sticky-header\":\"card-heading--sticky-header____gB52S\",\"cardHeadingStickyHeader\":\"card-heading--sticky-header____gB52S\",\"card-heading--no-icon\":\"card-heading--no-icon____cH17R card-heading____BrDcq\",\"cardHeadingNoIcon\":\"card-heading--no-icon____cH17R card-heading____BrDcq\",\"card-heading--bold-title\":\"card-heading--bold-title____gTrqo\",\"cardHeadingBoldTitle\":\"card-heading--bold-title____gTrqo\",\"fieldset\":\"fieldset____eSH1M\",\"fieldset-instruction\":\"fieldset-instruction____QbK2Q\",\"fieldsetInstruction\":\"fieldset-instruction____QbK2Q\",\"fieldset--no-padding\":\"fieldset--no-padding____F4_Aq fieldset____eSH1M\",\"fieldsetNoPadding\":\"fieldset--no-padding____F4_Aq fieldset____eSH1M\",\"fieldset--alt\":\"fieldset--alt____lTWz_ fieldset____eSH1M\",\"fieldsetAlt\":\"fieldset--alt____lTWz_ fieldset____eSH1M\",\"view-password\":\"view-password____JiPhl\",\"viewPassword\":\"view-password____JiPhl\",\"input-search\":\"input-search____pFZoE\",\"inputSearch\":\"input-search____pFZoE\",\"ia-currency-input\":\"ia-currency-input____HixUM\",\"iaCurrencyInput\":\"ia-currency-input____HixUM\",\"ia-currency-negative\":\"ia-currency-negative____TLr5U\",\"iaCurrencyNegative\":\"ia-currency-negative____TLr5U\",\"select--mini\":\"select--mini____jJKwX\",\"selectMini\":\"select--mini____jJKwX\",\"required-label\":\"required-label____Z_kgK\",\"requiredLabel\":\"required-label____Z_kgK\",\"alert\":\"alert____ZKJ_b\",\"alert--important\":\"alert--important____qM9iP\",\"alertImportant\":\"alert--important____qM9iP\",\"input-label\":\"input-label____Y9haM\",\"inputLabel\":\"input-label____Y9haM\",\"input-toggle\":\"input-toggle____RLd__\",\"inputToggle\":\"input-toggle____RLd__\",\"w-100\":\"w-100____GJY27\",\"w100\":\"w-100____GJY27\",\"search-input-wrapper\":\"search-input-wrapper____g2kbt\",\"searchInputWrapper\":\"search-input-wrapper____g2kbt\",\"search-input--results\":\"search-input--results____gGkZK\",\"searchInputResults\":\"search-input--results____gGkZK\",\"search-input--result\":\"search-input--result____Kof1R\",\"searchInputResult\":\"search-input--result____Kof1R\",\"search-input--result--highlighted\":\"search-input--result--highlighted____YaTYO\",\"searchInputResultHighlighted\":\"search-input--result--highlighted____YaTYO\",\"date-range-selections\":\"date-range-selections____Bca7y\",\"dateRangeSelections\":\"date-range-selections____Bca7y\",\"date-arrow-forward\":\"date-arrow-forward____AXQyc\",\"dateArrowForward\":\"date-arrow-forward____AXQyc\",\"qce-dropdown\":\"qce-dropdown____GrKoE\",\"qceDropdown\":\"qce-dropdown____GrKoE\",\"qce-or\":\"qce-or____FmlNz\",\"qceOr\":\"qce-or____FmlNz\",\"qce-dropdown-with-dropdown\":\"qce-dropdown-with-dropdown____DpKtp\",\"qceDropdownWithDropdown\":\"qce-dropdown-with-dropdown____DpKtp\",\"qce-vehicle-registration-search\":\"qce-vehicle-registration-search____cGOd3\",\"qceVehicleRegistrationSearch\":\"qce-vehicle-registration-search____cGOd3\",\"row-gap\":\"row-gap____NHtHQ\",\"rowGap\":\"row-gap____NHtHQ\",\"row-group\":\"row-group____xxSjK\",\"rowGroup\":\"row-group____xxSjK\",\"row-group--three\":\"row-group--three____RcbQc row-group____xxSjK\",\"rowGroupThree\":\"row-group--three____RcbQc row-group____xxSjK\",\"grid-14\":\"grid-14____T4mXU\",\"grid14\":\"grid-14____T4mXU\",\"row-group--four\":\"row-group--four____SK4SI row-group____xxSjK\",\"rowGroupFour\":\"row-group--four____SK4SI row-group____xxSjK\",\"row-group--auto\":\"row-group--auto____Ji9Xh row-group____xxSjK\",\"rowGroupAuto\":\"row-group--auto____Ji9Xh row-group____xxSjK\",\"row-group--three-auto\":\"row-group--three-auto____yeBKx row-group--auto____Ji9Xh row-group____xxSjK\",\"rowGroupThreeAuto\":\"row-group--three-auto____yeBKx row-group--auto____Ji9Xh row-group____xxSjK\",\"space\":\"space____jQ4zz\",\"display-none--lg\":\"display-none--lg____Nes5O\",\"displayNoneLg\":\"display-none--lg____Nes5O\",\"display-none--md\":\"display-none--md____kRSLC\",\"displayNoneMd\":\"display-none--md____kRSLC\",\"table\":\"table____W5U3r\",\"table-heading-row\":\"table-heading-row____VXXYd\",\"tableHeadingRow\":\"table-heading-row____VXXYd\",\"table-row\":\"table-row____bejMZ\",\"tableRow\":\"table-row____bejMZ\",\"table-result-row\":\"table-result-row____nICm9\",\"tableResultRow\":\"table-result-row____nICm9\",\"break-word\":\"break-word____xuW3S\",\"breakWord\":\"break-word____xuW3S\",\"no-wrap\":\"no-wrap____Rgbdh\",\"noWrap\":\"no-wrap____Rgbdh\",\"table-result-row--disabled\":\"table-result-row--disabled____AmVo4\",\"tableResultRowDisabled\":\"table-result-row--disabled____AmVo4\",\"table-modal\":\"table-modal____EM1Dz table____W5U3r\",\"tableModal\":\"table-modal____EM1Dz table____W5U3r\",\"table-enhanced\":\"table-enhanced____RkwJg\",\"tableEnhanced\":\"table-enhanced____RkwJg\",\"table--no-border-bottom\":\"table--no-border-bottom____CEYJ4 table____W5U3r\",\"tableNoBorderBottom\":\"table--no-border-bottom____CEYJ4 table____W5U3r\",\"height-45\":\"height-45____xYORR\",\"height45\":\"height-45____xYORR\",\"edit-column\":\"edit-column_____2wJo\",\"editColumn\":\"edit-column_____2wJo\",\"delete-column\":\"delete-column____CakcZ\",\"deleteColumn\":\"delete-column____CakcZ\",\"date-table-heading\":\"date-table-heading____J2c05\",\"dateTableHeading\":\"date-table-heading____J2c05\",\"button-edit\":\"button-edit____qp33Z\",\"buttonEdit\":\"button-edit____qp33Z\",\"button-delete\":\"button-delete____UUkzC\",\"buttonDelete\":\"button-delete____UUkzC\",\"table-row-selected\":\"table-row-selected____rIxxQ\",\"tableRowSelected\":\"table-row-selected____rIxxQ\",\"table-row-alert\":\"table-row-alert____h6UDg\",\"tableRowAlert\":\"table-row-alert____h6UDg\",\"table-filter-row\":\"table-filter-row____Ua91A\",\"tableFilterRow\":\"table-filter-row____Ua91A\",\"table-filter-row--endcap\":\"table-filter-row--endcap____B9yTg\",\"tableFilterRowEndcap\":\"table-filter-row--endcap____B9yTg\",\"filter-column\":\"filter-column____dBW4G\",\"filterColumn\":\"filter-column____dBW4G\",\"table-pagination\":\"table-pagination____CzC62\",\"tablePagination\":\"table-pagination____CzC62\",\"table-pagination-with-filter\":\"table-pagination-with-filter____Y9nwE table-pagination____CzC62\",\"tablePaginationWithFilter\":\"table-pagination-with-filter____Y9nwE table-pagination____CzC62\",\"table-button-group\":\"table-button-group____ucrBr\",\"tableButtonGroup\":\"table-button-group____ucrBr\",\"table-child-container\":\"table-child-container____EozcC\",\"tableChildContainer\":\"table-child-container____EozcC\",\"table-child-card\":\"table-child-card____PH8XX\",\"tableChildCard\":\"table-child-card____PH8XX\",\"child-table--selected-row\":\"child-table--selected-row____E0IOh\",\"childTableSelectedRow\":\"child-table--selected-row____E0IOh\",\"child-table\":\"child-table____o6Gxv table____W5U3r\",\"childTable\":\"child-table____o6Gxv table____W5U3r\",\"custom-pagination\":\"custom-pagination____Gn2lV\",\"customPagination\":\"custom-pagination____Gn2lV\",\"pagination-count\":\"pagination-count____nUMK9\",\"paginationCount\":\"pagination-count____nUMK9\",\"pagination-button\":\"pagination-button____i51Lv btn____XSBpu\",\"paginationButton\":\"pagination-button____i51Lv btn____XSBpu\",\"pagination-prev\":\"pagination-prev____wrLAl pagination-button____i51Lv btn____XSBpu\",\"paginationPrev\":\"pagination-prev____wrLAl pagination-button____i51Lv btn____XSBpu\",\"pagination-next\":\"pagination-next____QFtWG pagination-button____i51Lv btn____XSBpu\",\"paginationNext\":\"pagination-next____QFtWG pagination-button____i51Lv btn____XSBpu\",\"pagination-disabled\":\"pagination-disabled____pZZYO pagination-button____i51Lv btn____XSBpu\",\"paginationDisabled\":\"pagination-disabled____pZZYO pagination-button____i51Lv btn____XSBpu\",\"pagination-prev-disabled\":\"pagination-prev-disabled____U7iFC pagination-disabled____pZZYO pagination-button____i51Lv btn____XSBpu\",\"paginationPrevDisabled\":\"pagination-prev-disabled____U7iFC pagination-disabled____pZZYO pagination-button____i51Lv btn____XSBpu\",\"pagination-next-disabled\":\"pagination-next-disabled____gCKDo pagination-disabled____pZZYO pagination-button____i51Lv btn____XSBpu\",\"paginationNextDisabled\":\"pagination-next-disabled____gCKDo pagination-disabled____pZZYO pagination-button____i51Lv btn____XSBpu\",\"pagination\":\"pagination____PndSp\",\"pagination-top\":\"pagination-top____hyTZG pagination____PndSp\",\"paginationTop\":\"pagination-top____hyTZG pagination____PndSp\",\"pagination-bottom\":\"pagination-bottom____znrs9 pagination____PndSp\",\"paginationBottom\":\"pagination-bottom____znrs9 pagination____PndSp\",\"pagination-bottom--documents\":\"pagination-bottom--documents____Szfb_ pagination-bottom____znrs9 pagination____PndSp\",\"paginationBottomDocuments\":\"pagination-bottom--documents____Szfb_ pagination-bottom____znrs9 pagination____PndSp\",\"table-cell-btn-icon\":\"table-cell-btn-icon____Z1XH4\",\"tableCellBtnIcon\":\"table-cell-btn-icon____Z1XH4\",\"folder-table\":\"folder-table____bncWT table--no-border-bottom____CEYJ4 table____W5U3r\",\"folderTable\":\"folder-table____bncWT table--no-border-bottom____CEYJ4 table____W5U3r\",\"doc-table-group--heading\":\"doc-table-group--heading____jHn6L\",\"docTableGroupHeading\":\"doc-table-group--heading____jHn6L\",\"doc-table-group--heading-open\":\"doc-table-group--heading-open____Kpiez doc-table-group--heading____jHn6L\",\"docTableGroupHeadingOpen\":\"doc-table-group--heading-open____Kpiez doc-table-group--heading____jHn6L\",\"doc-table-group--heading-with-options\":\"doc-table-group--heading-with-options____fI2h3\",\"docTableGroupHeadingWithOptions\":\"doc-table-group--heading-with-options____fI2h3\",\"constrained-width--folder-name\":\"constrained-width--folder-name____MtqB8 constrained-width____SbrcX\",\"constrainedWidthFolderName\":\"constrained-width--folder-name____MtqB8 constrained-width____SbrcX\",\"disable-entity\":\"disable-entity____A05bB\",\"disableEntity\":\"disable-entity____A05bB\",\"button-options\":\"button-options____sYTzG\",\"buttonOptions\":\"button-options____sYTzG\",\"button-options--add\":\"button-options--add____VQILF button-options____sYTzG\",\"buttonOptionsAdd\":\"button-options--add____VQILF button-options____sYTzG\",\"information-icon\":\"information-icon____SKxcx\",\"informationIcon\":\"information-icon____SKxcx\",\"deleted-icon\":\"deleted-icon____lVFNb\",\"deletedIcon\":\"deleted-icon____lVFNb\",\"exclamation-icon\":\"exclamation-icon____cE0Af\",\"exclamationIcon\":\"exclamation-icon____cE0Af\",\"success-icon\":\"success-icon____yCOTh\",\"successIcon\":\"success-icon____yCOTh\",\"text-align-center\":\"text-align-center____EuRVv\",\"textAlignCenter\":\"text-align-center____EuRVv\",\"word-break\":\"word-break____IOt6C\",\"wordBreak\":\"word-break____IOt6C\",\"btn-group\":\"btn-group____Z1Eck\",\"btnGroup\":\"btn-group____Z1Eck\",\"accordion-content\":\"accordion-content____gDFgA\",\"accordionContent\":\"accordion-content____gDFgA\",\"toggle-collapse\":\"toggle-collapse____RpfB3\",\"toggleCollapse\":\"toggle-collapse____RpfB3\",\"toggle-collapse--disabled\":\"toggle-collapse--disabled____MkGZS toggle-collapse____RpfB3\",\"toggleCollapseDisabled\":\"toggle-collapse--disabled____MkGZS toggle-collapse____RpfB3\",\"toggle-expand\":\"toggle-expand____yXbVe toggle-collapse____RpfB3\",\"toggleExpand\":\"toggle-expand____yXbVe toggle-collapse____RpfB3\",\"folder\":\"folder____NScZm\",\"folder-locked\":\"folder-locked____NyjY5 folder____NScZm\",\"folderLocked\":\"folder-locked____NyjY5 folder____NScZm\",\"yesNo-filter-width\":\"yesNo-filter-width____g_LAW\",\"yesNoFilterWidth\":\"yesNo-filter-width____g_LAW\",\"w-5\":\"w-5_____eMF6\",\"w5\":\"w-5_____eMF6\",\"w-10\":\"w-10____Q3LMK\",\"w10\":\"w-10____Q3LMK\",\"w-15\":\"w-15____YQGIM\",\"w15\":\"w-15____YQGIM\",\"w-20\":\"w-20____CyWxb\",\"w20\":\"w-20____CyWxb\",\"w-25\":\"w-25____kviNv\",\"w25\":\"w-25____kviNv\",\"w-30\":\"w-30____RAdhV\",\"w30\":\"w-30____RAdhV\",\"w-35\":\"w-35____KXd1e\",\"w35\":\"w-35____KXd1e\",\"w-40\":\"w-40____AVaj1\",\"w40\":\"w-40____AVaj1\",\"w-45\":\"w-45____yvRzk\",\"w45\":\"w-45____yvRzk\",\"w-50\":\"w-50____lQVX3\",\"w50\":\"w-50____lQVX3\",\"w-60\":\"w-60____Ckbx3\",\"w60\":\"w-60____Ckbx3\",\"table--sticky-header\":\"table--sticky-header____dHP3w\",\"tableStickyHeader\":\"table--sticky-header____dHP3w\",\"table--sticky-footer\":\"table--sticky-footer____ayIbu\",\"tableStickyFooter\":\"table--sticky-footer____ayIbu\",\"table--sticky-column\":\"table--sticky-column____CyUvJ\",\"tableStickyColumn\":\"table--sticky-column____CyUvJ\",\"table--sticky-column2\":\"table--sticky-column2____jabF6 table--sticky-column____CyUvJ\",\"tableStickyColumn2\":\"table--sticky-column2____jabF6 table--sticky-column____CyUvJ\",\"table--sticky-column-right\":\"table--sticky-column-right____tG_lU table--sticky-column____CyUvJ\",\"tableStickyColumnRight\":\"table--sticky-column-right____tG_lU table--sticky-column____CyUvJ\",\"scrollable-table-container\":\"scrollable-table-container____QCaSW\",\"scrollableTableContainer\":\"scrollable-table-container____QCaSW\",\"tab-navigation\":\"tab-navigation____uE4Fi\",\"tabNavigation\":\"tab-navigation____uE4Fi\",\"has-warnings\":\"has-warnings____cuXkV\",\"hasWarnings\":\"has-warnings____cuXkV\",\"tab-selected\":\"tab-selected____fhmd9 tab____AYVk2\",\"tabSelected\":\"tab-selected____fhmd9 tab____AYVk2\",\"disabled\":\"disabled____bbjKR\",\"tab\":\"tab____AYVk2\",\"btn--tab-overflow\":\"btn--tab-overflow____MRs92\",\"btnTabOverflow\":\"btn--tab-overflow____MRs92\",\"btn--tab-overflow-left\":\"btn--tab-overflow-left____Z91_T btn--tab-overflow____MRs92\",\"btnTabOverflowLeft\":\"btn--tab-overflow-left____Z91_T btn--tab-overflow____MRs92\",\"btn--tab-overflow-right\":\"btn--tab-overflow-right____tjOtC btn--tab-overflow____MRs92\",\"btnTabOverflowRight\":\"btn--tab-overflow-right____tjOtC btn--tab-overflow____MRs92\",\"constrained-width--tab\":\"constrained-width--tab____eHQVu constrained-width____SbrcX\",\"constrainedWidthTab\":\"constrained-width--tab____eHQVu constrained-width____SbrcX\",\"accordion-group\":\"accordion-group____OmpFr\",\"accordionGroup\":\"accordion-group____OmpFr\",\"accordion-closed\":\"accordion-closed____u7L3b\",\"accordionClosed\":\"accordion-closed____u7L3b\",\"group-toggle-button\":\"group-toggle-button____SSdGN\",\"groupToggleButton\":\"group-toggle-button____SSdGN\",\"group-label\":\"group-label____P81iv\",\"groupLabel\":\"group-label____P81iv\",\"group-label--alert\":\"group-label--alert____yYe0r group-label____P81iv\",\"groupLabelAlert\":\"group-label--alert____yYe0r group-label____P81iv\",\"accordion-group-alert\":\"accordion-group-alert____n_0nF accordion-group____OmpFr\",\"accordionGroupAlert\":\"accordion-group-alert____n_0nF accordion-group____OmpFr\",\"accordion-group-favorite\":\"accordion-group-favorite____JQD9z accordion-group____OmpFr\",\"accordionGroupFavorite\":\"accordion-group-favorite____JQD9z accordion-group____OmpFr\",\"screen-container\":\"screen-container____qsxLK\",\"screenContainer\":\"screen-container____qsxLK\",\"screen-container--client\":\"screen-container--client____Ohdxj screen-container____qsxLK\",\"screenContainerClient\":\"screen-container--client____Ohdxj screen-container____qsxLK\",\"screen-container--dashboard\":\"screen-container--dashboard____aRazJ screen-container--client____Ohdxj screen-container____qsxLK\",\"screenContainerDashboard\":\"screen-container--dashboard____aRazJ screen-container--client____Ohdxj screen-container____qsxLK\",\"screen-container--home\":\"screen-container--home____RJseo screen-container____qsxLK\",\"screenContainerHome\":\"screen-container--home____RJseo screen-container____qsxLK\",\"screen-container--menu\":\"screen-container--menu____s987u screen-container____qsxLK\",\"screenContainerMenu\":\"screen-container--menu____s987u screen-container____qsxLK\",\"screen-container--accounts-override\":\"screen-container--accounts-override_____hkbp screen-container____qsxLK\",\"screenContainerAccountsOverride\":\"screen-container--accounts-override_____hkbp screen-container____qsxLK\",\"screen-container--accounts-override-xxl\":\"screen-container--accounts-override-xxl____Ewb4V screen-container____qsxLK\",\"screenContainerAccountsOverrideXxl\":\"screen-container--accounts-override-xxl____Ewb4V screen-container____qsxLK\",\"empty-state\":\"empty-state____bbyoP\",\"emptyState\":\"empty-state____bbyoP\",\"empty-state--icon\":\"empty-state--icon____Xipwv\",\"emptyStateIcon\":\"empty-state--icon____Xipwv\",\"empty-heading\":\"empty-heading____nEZXU\",\"emptyHeading\":\"empty-heading____nEZXU\",\"empty-subheading\":\"empty-subheading____GuOy0\",\"emptySubheading\":\"empty-subheading____GuOy0\",\"kyc\":\"kyc____p2Y18\",\"advice\":\"advice____fxFvb\",\"insured\":\"insured____Se3wq\",\"quotes\":\"quotes____LN66D\",\"policies\":\"policies____RZfxz\",\"claims\":\"claims____qQtAu\",\"tasks\":\"tasks____tkzSB\",\"documents\":\"documents____A_lDR\",\"forms\":\"forms____vI_lW\",\"view-block\":\"view-block____hBygf\",\"viewBlock\":\"view-block____hBygf\",\"view-block--heading\":\"view-block--heading____QOh2B\",\"viewBlockHeading\":\"view-block--heading____QOh2B\",\"view-block--white\":\"view-block--white____zIZyQ view-block____hBygf\",\"viewBlockWhite\":\"view-block--white____zIZyQ view-block____hBygf\",\"view-block--alert\":\"view-block--alert____vDLj7 view-block____hBygf view-block--alert____vDLj7 view-block____hBygf\",\"viewBlockAlert\":\"view-block--alert____vDLj7 view-block____hBygf view-block--alert____vDLj7 view-block____hBygf\",\"view-block--success\":\"view-block--success____upChg view-block____hBygf\",\"viewBlockSuccess\":\"view-block--success____upChg view-block____hBygf\",\"view-block--info\":\"view-block--info____WvQ1g view-block____hBygf\",\"viewBlockInfo\":\"view-block--info____WvQ1g view-block____hBygf\",\"view-block--warning\":\"view-block--warning____sgpCb view-block____hBygf\",\"viewBlockWarning\":\"view-block--warning____sgpCb view-block____hBygf\",\"view-block--alt\":\"view-block--alt____dVwvl view-block____hBygf\",\"viewBlockAlt\":\"view-block--alt____dVwvl view-block____hBygf\",\"view-block--with-icon\":\"view-block--with-icon____IMkd0 view-block____hBygf\",\"viewBlockWithIcon\":\"view-block--with-icon____IMkd0 view-block____hBygf\",\"view-block-icon\":\"view-block-icon____Pkavz\",\"viewBlockIcon\":\"view-block-icon____Pkavz\",\"view-block--warning--with-icon\":\"view-block--warning--with-icon____fvcF6 view-block--warning____sgpCb view-block____hBygf\",\"viewBlockWarningWithIcon\":\"view-block--warning--with-icon____fvcF6 view-block--warning____sgpCb view-block____hBygf\",\"view-block-checkbox\":\"view-block-checkbox____rxqpk view-block____hBygf\",\"viewBlockCheckbox\":\"view-block-checkbox____rxqpk view-block____hBygf\",\"view-block-checkbox--alert\":\"view-block-checkbox--alert____u3npq view-block--alert____vDLj7 view-block____hBygf view-block-checkbox____rxqpk view-block____hBygf\",\"viewBlockCheckboxAlert\":\"view-block-checkbox--alert____u3npq view-block--alert____vDLj7 view-block____hBygf view-block-checkbox____rxqpk view-block____hBygf\",\"text-view-content\":\"text-view-content____JqCFp\",\"textViewContent\":\"text-view-content____JqCFp\",\"ia-modal\":\"ia-modal____RmStY\",\"iaModal\":\"ia-modal____RmStY\",\"ia-modal-inner\":\"ia-modal-inner____Sa5OQ\",\"iaModalInner\":\"ia-modal-inner____Sa5OQ\",\"ia-modal-inner--context-menu\":\"ia-modal-inner--context-menu____QxdRW ia-modal-inner____Sa5OQ\",\"iaModalInnerContextMenu\":\"ia-modal-inner--context-menu____QxdRW ia-modal-inner____Sa5OQ\",\"ia-modal-inner--wide-md\":\"ia-modal-inner--wide-md____xSMS5 ia-modal-inner____Sa5OQ\",\"iaModalInnerWideMd\":\"ia-modal-inner--wide-md____xSMS5 ia-modal-inner____Sa5OQ\",\"ia-modal-inner--wide-lg\":\"ia-modal-inner--wide-lg____SA2Nk ia-modal-inner____Sa5OQ\",\"iaModalInnerWideLg\":\"ia-modal-inner--wide-lg____SA2Nk ia-modal-inner____Sa5OQ\",\"ia-modal-inner--wide-xxl\":\"ia-modal-inner--wide-xxl_____O3Kl ia-modal-inner____Sa5OQ\",\"iaModalInnerWideXxl\":\"ia-modal-inner--wide-xxl_____O3Kl ia-modal-inner____Sa5OQ\",\"ia-modal-inner--take-over\":\"ia-modal-inner--take-over____FIjHg ia-modal-inner____Sa5OQ\",\"iaModalInnerTakeOver\":\"ia-modal-inner--take-over____FIjHg ia-modal-inner____Sa5OQ\",\"fixed-height\":\"fixed-height____nEHtX\",\"fixedHeight\":\"fixed-height____nEHtX\",\"takeover-header\":\"takeover-header____lSsBQ\",\"takeoverHeader\":\"takeover-header____lSsBQ\",\"logo\":\"logo_____2Xgo\",\"logo--broker\":\"logo--broker____VEIrB logo_____2Xgo\",\"logoBroker\":\"logo--broker____VEIrB logo_____2Xgo\",\"close-search\":\"close-search____zwQmg\",\"closeSearch\":\"close-search____zwQmg\",\"ia-modal-content\":\"ia-modal-content_____go2S\",\"iaModalContent\":\"ia-modal-content_____go2S\",\"ia-modal-overlay--transparent\":\"ia-modal-overlay--transparent____maA65 ia-modal____RmStY\",\"iaModalOverlayTransparent\":\"ia-modal-overlay--transparent____maA65 ia-modal____RmStY\",\"ia-modal-overlay--light-white\":\"ia-modal-overlay--light-white____i0D3j ia-modal____RmStY\",\"iaModalOverlayLightWhite\":\"ia-modal-overlay--light-white____i0D3j ia-modal____RmStY\",\"ia-modal-overlay--transparent--light-white-client-nav\":\"ia-modal-overlay--transparent--light-white-client-nav____UoBKf ia-modal-overlay--light-white____i0D3j ia-modal____RmStY\",\"iaModalOverlayTransparentLightWhiteClientNav\":\"ia-modal-overlay--transparent--light-white-client-nav____UoBKf ia-modal-overlay--light-white____i0D3j ia-modal____RmStY\",\"modal-header\":\"modal-header____XlBrv\",\"modalHeader\":\"modal-header____XlBrv\",\"modal-footer\":\"modal-footer____QZEOf modal-header____XlBrv\",\"modalFooter\":\"modal-footer____QZEOf modal-header____XlBrv\",\"modal-footer--space-between\":\"modal-footer--space-between____fcWHE modal-footer____QZEOf modal-header____XlBrv\",\"modalFooterSpaceBetween\":\"modal-footer--space-between____fcWHE modal-footer____QZEOf modal-header____XlBrv\",\"footer-btn-group\":\"footer-btn-group____OI7NA\",\"footerBtnGroup\":\"footer-btn-group____OI7NA\",\"header-label\":\"header-label____NdcWs\",\"headerLabel\":\"header-label____NdcWs\",\"header-label-icon\":\"header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelIcon\":\"header-label-icon____GRfeq header-label____NdcWs\",\"header-label--alert\":\"header-label--alert____lE7Om header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelAlert\":\"header-label--alert____lE7Om header-label-icon____GRfeq header-label____NdcWs\",\"header-label--info\":\"header-label--info____Yk87i header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelInfo\":\"header-label--info____Yk87i header-label-icon____GRfeq header-label____NdcWs\",\"header-label--settings\":\"header-label--settings____WG__J header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelSettings\":\"header-label--settings____WG__J header-label-icon____GRfeq header-label____NdcWs\",\"header-label--accounts\":\"header-label--accounts____D4lIH header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelAccounts\":\"header-label--accounts____D4lIH header-label-icon____GRfeq header-label____NdcWs\",\"header-label--edit\":\"header-label--edit____dsGfl header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelEdit\":\"header-label--edit____dsGfl header-label-icon____GRfeq header-label____NdcWs\",\"header-label--download\":\"header-label--download____M7cVb header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelDownload\":\"header-label--download____M7cVb header-label-icon____GRfeq header-label____NdcWs\",\"header-label--delete\":\"header-label--delete____zYDG4 header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelDelete\":\"header-label--delete____zYDG4 header-label-icon____GRfeq header-label____NdcWs\",\"header-label--history\":\"header-label--history____cyNgc header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelHistory\":\"header-label--history____cyNgc header-label-icon____GRfeq header-label____NdcWs\",\"header-label--tag\":\"header-label--tag____We4c7 header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelTag\":\"header-label--tag____We4c7 header-label-icon____GRfeq header-label____NdcWs\",\"header-label--search\":\"header-label--search____Utpoe header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelSearch\":\"header-label--search____Utpoe header-label-icon____GRfeq header-label____NdcWs\",\"header-label--kyc\":\"header-label--kyc____TO9Tl header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelKyc\":\"header-label--kyc____TO9Tl header-label-icon____GRfeq header-label____NdcWs\",\"header-label--advice\":\"header-label--advice____HesLt header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelAdvice\":\"header-label--advice____HesLt header-label-icon____GRfeq header-label____NdcWs\",\"header-label--generate-advice\":\"header-label--generate-advice____Q0gtE header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelGenerateAdvice\":\"header-label--generate-advice____Q0gtE header-label-icon____GRfeq header-label____NdcWs\",\"header-label--form\":\"header-label--form____WPFno header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelForm\":\"header-label--form____WPFno header-label-icon____GRfeq header-label____NdcWs\",\"header-label--insured\":\"header-label--insured____f7M7A header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelInsured\":\"header-label--insured____f7M7A header-label-icon____GRfeq header-label____NdcWs\",\"header-label--quote\":\"header-label--quote____UvHzL header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelQuote\":\"header-label--quote____UvHzL header-label-icon____GRfeq header-label____NdcWs\",\"header-label--policy\":\"header-label--policy____bPhFY header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelPolicy\":\"header-label--policy____bPhFY header-label-icon____GRfeq header-label____NdcWs\",\"header-label--claim\":\"header-label--claim____iS2pH header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelClaim\":\"header-label--claim____iS2pH header-label-icon____GRfeq header-label____NdcWs\",\"header-label--fsg\":\"header-label--fsg____ONiTw header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelFsg\":\"header-label--fsg____ONiTw header-label-icon____GRfeq header-label____NdcWs\",\"header-label--mandatory-document\":\"header-label--mandatory-document____iQAIz header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelMandatoryDocument\":\"header-label--mandatory-document____iQAIz header-label-icon____GRfeq header-label____NdcWs\",\"header-label--notification\":\"header-label--notification____GIxCw header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelNotification\":\"header-label--notification____GIxCw header-label-icon____GRfeq header-label____NdcWs\",\"header-label--task\":\"header-label--task____UPol4 header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelTask\":\"header-label--task____UPol4 header-label-icon____GRfeq header-label____NdcWs\",\"header-label--contact\":\"header-label--contact____uHXpr header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelContact\":\"header-label--contact____uHXpr header-label-icon____GRfeq header-label____NdcWs\",\"header-label--note\":\"header-label--note____wo6UU header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelNote\":\"header-label--note____wo6UU header-label-icon____GRfeq header-label____NdcWs\",\"header-label--document\":\"header-label--document_____xJTd header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelDocument\":\"header-label--document_____xJTd header-label-icon____GRfeq header-label____NdcWs\",\"header-label--email\":\"header-label--email____TkAjg header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelEmail\":\"header-label--email____TkAjg header-label-icon____GRfeq header-label____NdcWs\",\"header-label--template\":\"header-label--template____uO1pP header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelTemplate\":\"header-label--template____uO1pP header-label-icon____GRfeq header-label____NdcWs\",\"header-details\":\"header-details____FrTb9\",\"headerDetails\":\"header-details____FrTb9\",\"header-detail-item\":\"header-detail-item____mcsGZ\",\"headerDetailItem\":\"header-detail-item____mcsGZ\",\"header-label--context-menu\":\"header-label--context-menu____H2MG1 header-label-icon____GRfeq header-label____NdcWs\",\"headerLabelContextMenu\":\"header-label--context-menu____H2MG1 header-label-icon____GRfeq header-label____NdcWs\",\"context-menu-sep\":\"context-menu-sep____TUHEu\",\"contextMenuSep\":\"context-menu-sep____TUHEu\",\"context-menu--one-col\":\"context-menu--one-col____TiPMn\",\"contextMenuOneCol\":\"context-menu--one-col____TiPMn\",\"context-menu-disabled\":\"context-menu-disabled____D1mjh\",\"contextMenuDisabled\":\"context-menu-disabled____D1mjh\",\"context-menu--two-col\":\"context-menu--two-col____VvUNz context-menu--one-col____TiPMn\",\"contextMenuTwoCol\":\"context-menu--two-col____VvUNz context-menu--one-col____TiPMn\",\"context-menu--three-col\":\"context-menu--three-col____StI9v context-menu--two-col____VvUNz context-menu--one-col____TiPMn\",\"contextMenuThreeCol\":\"context-menu--three-col____StI9v context-menu--two-col____VvUNz context-menu--one-col____TiPMn\",\"modal-content-copy\":\"modal-content-copy____oJqJE\",\"modalContentCopy\":\"modal-content-copy____oJqJE\",\"processing-step\":\"processing-step____qHyWc\",\"processingStep\":\"processing-step____qHyWc\",\"processing-step--failed\":\"processing-step--failed____miufG processing-step____qHyWc\",\"processingStepFailed\":\"processing-step--failed____miufG processing-step____qHyWc\",\"document--processing\":\"document--processing____D66sg\",\"documentProcessing\":\"document--processing____D66sg\",\"eclipse-loader\":\"eclipse-loader____S80vy\",\"eclipseLoader\":\"eclipse-loader____S80vy\",\"confirmation-content\":\"confirmation-content____rIgEM\",\"confirmationContent\":\"confirmation-content____rIgEM\",\"ia-modal--search\":\"ia-modal--search____sgWkd\",\"iaModalSearch\":\"ia-modal--search____sgWkd\",\"view-block--alert--progress-modal\":\"view-block--alert--progress-modal____tfJcK view-block--alert____vDLj7 view-block____hBygf\",\"viewBlockAlertProgressModal\":\"view-block--alert--progress-modal____tfJcK view-block--alert____vDLj7 view-block____hBygf\",\"client-footer--right\":\"client-footer--right____2GSBE\",\"clientFooterRight\":\"client-footer--right____2GSBE\",\"wizard-button-group\":\"wizard-button-group____QvOzO\",\"wizardButtonGroup\":\"wizard-button-group____QvOzO\",\"wizard-nav-group\":\"wizard-nav-group____jq4u8\",\"wizardNavGroup\":\"wizard-nav-group____jq4u8\",\"wizard-nav-group--form\":\"wizard-nav-group--form____diOWV wizard-nav-group____jq4u8\",\"wizardNavGroupForm\":\"wizard-nav-group--form____diOWV wizard-nav-group____jq4u8\",\"footer-combo-selections\":\"footer-combo-selections_____F1zg\",\"footerComboSelections\":\"footer-combo-selections_____F1zg\",\"btn--combo-option\":\"btn--combo-option____Jj_89\",\"btnComboOption\":\"btn--combo-option____Jj_89\",\"footer-combo-container\":\"footer-combo-container____rEO_w\",\"footerComboContainer\":\"footer-combo-container____rEO_w\",\"right\":\"right____RHchR\",\"pdf-selection\":\"pdf-selection____r53qo\",\"pdfSelection\":\"pdf-selection____r53qo\",\"ia-file-upload\":\"ia-file-upload____i3gw0 btn____XSBpu\",\"iaFileUpload\":\"ia-file-upload____i3gw0 btn____XSBpu\",\"ia-file-upload--disabled\":\"ia-file-upload--disabled____dW3b7\",\"iaFileUploadDisabled\":\"ia-file-upload--disabled____dW3b7\",\"ia-file-info\":\"ia-file-info____UegVD\",\"iaFileInfo\":\"ia-file-info____UegVD\",\"delete-pdf\":\"delete-pdf____KJJPG btn--icon-delete____rVu61 btn--icon____xH4h1 btn____XSBpu\",\"deletePdf\":\"delete-pdf____KJJPG btn--icon-delete____rVu61 btn--icon____xH4h1 btn____XSBpu\",\"pdf-section\":\"pdf-section____KvNZE\",\"pdfSection\":\"pdf-section____KvNZE\",\"margin-top\":\"margin-top____D2B_P\",\"marginTop\":\"margin-top____D2B_P\",\"new-pdf-action-buttons\":\"new-pdf-action-buttons____eFzL_\",\"newPdfActionButtons\":\"new-pdf-action-buttons____eFzL_\",\"page-pdf-controls\":\"page-pdf-controls____fHhCx\",\"pagePdfControls\":\"page-pdf-controls____fHhCx\",\"step-message\":\"step-message____UDPZg\",\"stepMessage\":\"step-message____UDPZg\",\"view-block-checkbox--alert--referrer-fee\":\"view-block-checkbox--alert--referrer-fee____t7Gc2 view-block-checkbox--alert____u3npq view-block--alert____vDLj7 view-block____hBygf view-block-checkbox____rxqpk view-block____hBygf\",\"viewBlockCheckboxAlertReferrerFee\":\"view-block-checkbox--alert--referrer-fee____t7Gc2 view-block-checkbox--alert____u3npq view-block--alert____vDLj7 view-block____hBygf view-block-checkbox____rxqpk view-block____hBygf\",\"manual-download-group\":\"manual-download-group____SI1Dv\",\"manualDownloadGroup\":\"manual-download-group____SI1Dv\",\"document-card\":\"document-card____OWRF5\",\"documentCard\":\"document-card____OWRF5\",\"table-client-select\":\"table-client-select____q9JvN\",\"tableClientSelect\":\"table-client-select____q9JvN\",\"td-dropdown\":\"td-dropdown____BaybQ\",\"tdDropdown\":\"td-dropdown____BaybQ\",\"insurer-label-group\":\"insurer-label-group____xYHxT\",\"insurerLabelGroup\":\"insurer-label-group____xYHxT\",\"combined-label-group--policy\":\"combined-label-group--policy____Rnl95\",\"combinedLabelGroupPolicy\":\"combined-label-group--policy____Rnl95\",\"combined-label-group--quote\":\"combined-label-group--quote____qZW1n insurer-label-group____xYHxT\",\"combinedLabelGroupQuote\":\"combined-label-group--quote____qZW1n insurer-label-group____xYHxT\",\"distribution-type-group\":\"distribution-type-group____ncaEI\",\"distributionTypeGroup\":\"distribution-type-group____ncaEI\",\"insurer-response-group\":\"insurer-response-group____Sqrb4\",\"insurerResponseGroup\":\"insurer-response-group____Sqrb4\",\"insurer-responce-requited-date\":\"insurer-responce-requited-date____Foy0c\",\"insurerResponceRequitedDate\":\"insurer-responce-requited-date____Foy0c\",\"distribution-toggle\":\"distribution-toggle____Fn8ar\",\"distributionToggle\":\"distribution-toggle____Fn8ar\",\"document-pack-accordion-content\":\"document-pack-accordion-content____nZRb6\",\"documentPackAccordionContent\":\"document-pack-accordion-content____nZRb6\",\"manual-download\":\"manual-download____g04ph\",\"manualDownload\":\"manual-download____g04ph\"};","// extracted by mini-css-extract-plugin\nexport default {\"empty-state\":\"empty-state____HTZm6\",\"emptyState\":\"empty-state____HTZm6\",\"empty-state--icon\":\"empty-state--icon____EkfCk\",\"emptyStateIcon\":\"empty-state--icon____EkfCk\",\"empty-heading\":\"empty-heading____I12TK\",\"emptyHeading\":\"empty-heading____I12TK\",\"empty-subheading\":\"empty-subheading____OfDOW\",\"emptySubheading\":\"empty-subheading____OfDOW\",\"kyc\":\"kyc____CuX7j\",\"advice\":\"advice____GF4tO\",\"insured\":\"insured____BfFYf\",\"quotes\":\"quotes____yRLiV\",\"policies\":\"policies____bgUzW\",\"claims\":\"claims____GgDsG\",\"tasks\":\"tasks____hXIPS\",\"documents\":\"documents____NZCgO\",\"forms\":\"forms____mhbqV\"};","import { bindable } from 'aurelia-framework';\r\nimport styles from './empty-state.css';\r\n\r\nexport class EmptyState {\r\n public styles = styles;\r\n @bindable icon;\r\n}\r\n"],"names":["code","URL","__webpack_require__","b","__webpack_exports__","DistributionType","DocumentPacks","PolicyTypes","document_pack","btn","btnFlat","btnSubmit","btnDelete","btnLink","btnInlineTextLink","btnFooter","btnFooterSubmit","btnFooterCancel","btnFooterDelete","btnQceDropdown","btnFooterCombo","btnLmiBicalc","btnLmiRisk","btnLmiPolicyComparison","btnLmiPolicyCoach","btnAndrewNock","btnConstructionCostConsultants","btn5Star","btnThermoscan","btnRiskSurveyServices","btnRiskManagement","btnLmiBicalcDisabled","btnLmiRiskDisabled","btnLmiPolicyComparisonDisabled","btnInitialInsuredLocationRisk","btnIcon","badgePop","btnIconNoBorder","btnIconTask","btnIconDocument","btnIconAdd","btnAddRisk","btnIconClose","btnIconDelete","btnIconDownload","btnIconEdit","btnIconEmail","btnIconDownloadEmail","btnIconEye","btnIconEyeSlash","btnIconFolder","btnIconFolderLocked","btnIconFolderLockedActive","btnIconHistory","btnIconInfo","btnIconLink","btnIconUnlink","btnIconMap","btnIconMore","btnIconMoveDown","btnIconMoveUp","btnIconOpenInNewWindow","btnIconFavouriteSelected","btnIconFavouriteDeselected","btnIconPreview","btnIconPrePrinted","btnIconPrint","btnIconSave","btnIconSettings","btnIconShowDetails","btnIconShowDetailsAlert","btnIconShowSummary","btnIconAttachment","btnIconTag","btnIconUndo","btnIconSync","btnIconArrowForward","btnAsideCollapse","btnIconExpandMore","btnIconExpandLess","btnIconGeneral","btnIconSales","btnIconBranch","btnIconContact","btnIconConsent","btnIconQuestions","btnIconAssociated","btnIconNotes","btnBack","btnBackToSignIn","btnIconAdvancedSearch","btnWizard","btnWizardBack","btnWizardNext","card","cardContent","cardHeading","controlGroup","labelGroup","labelGroupItem","constrainedWidth","buttonGroup","cardAlert","cardHeadingAlert","cardStatusMessage","cardStatusMessageLeft","cardHeadingStickyHeader","cardHeadingNoIcon","cardHeadingBoldTitle","fieldset","fieldsetInstruction","fieldsetNoPadding","fieldsetAlt","viewPassword","inputSearch","iaCurrencyInput","iaCurrencyNegative","selectMini","requiredLabel","alert","alertImportant","inputLabel","inputToggle","w100","searchInputWrapper","searchInputResults","searchInputResult","searchInputResultHighlighted","dateRangeSelections","dateArrowForward","qceDropdown","qceOr","qceDropdownWithDropdown","qceVehicleRegistrationSearch","rowGap","rowGroup","rowGroupThree","grid14","rowGroupFour","rowGroupAuto","rowGroupThreeAuto","space","displayNoneLg","displayNoneMd","table","tableHeadingRow","tableRow","tableResultRow","breakWord","noWrap","tableResultRowDisabled","tableModal","tableEnhanced","tableNoBorderBottom","height45","editColumn","deleteColumn","dateTableHeading","buttonEdit","buttonDelete","tableRowSelected","tableRowAlert","tableFilterRow","tableFilterRowEndcap","filterColumn","tablePagination","tablePaginationWithFilter","tableButtonGroup","tableChildContainer","tableChildCard","childTableSelectedRow","childTable","customPagination","paginationCount","paginationButton","paginationPrev","paginationNext","paginationDisabled","paginationPrevDisabled","paginationNextDisabled","pagination","paginationTop","paginationBottom","paginationBottomDocuments","tableCellBtnIcon","folderTable","docTableGroupHeading","docTableGroupHeadingOpen","docTableGroupHeadingWithOptions","constrainedWidthFolderName","disableEntity","buttonOptions","buttonOptionsAdd","informationIcon","deletedIcon","exclamationIcon","successIcon","textAlignCenter","wordBreak","btnGroup","accordionContent","toggleCollapse","toggleCollapseDisabled","toggleExpand","folder","folderLocked","yesNoFilterWidth","w5","w10","w15","w20","w25","w30","w35","w40","w45","w50","w60","tableStickyHeader","tableStickyFooter","tableStickyColumn","tableStickyColumn2","tableStickyColumnRight","scrollableTableContainer","tabNavigation","hasWarnings","tabSelected","disabled","tab","btnTabOverflow","btnTabOverflowLeft","btnTabOverflowRight","constrainedWidthTab","accordionGroup","accordionClosed","groupToggleButton","groupLabel","groupLabelAlert","accordionGroupAlert","accordionGroupFavorite","screenContainer","screenContainerClient","screenContainerDashboard","screenContainerHome","screenContainerMenu","screenContainerAccountsOverride","screenContainerAccountsOverrideXxl","emptyState","emptyStateIcon","emptyHeading","emptySubheading","kyc","advice","insured","quotes","policies","claims","tasks","documents","forms","viewBlock","viewBlockHeading","viewBlockWhite","viewBlockAlert","viewBlockSuccess","viewBlockInfo","viewBlockWarning","viewBlockAlt","viewBlockWithIcon","viewBlockIcon","viewBlockWarningWithIcon","viewBlockCheckbox","viewBlockCheckboxAlert","textViewContent","iaModal","iaModalInner","iaModalInnerContextMenu","iaModalInnerWideMd","iaModalInnerWideLg","iaModalInnerWideXxl","iaModalInnerTakeOver","fixedHeight","takeoverHeader","logo","logoBroker","closeSearch","iaModalContent","iaModalOverlayTransparent","iaModalOverlayLightWhite","iaModalOverlayTransparentLightWhiteClientNav","modalHeader","modalFooter","modalFooterSpaceBetween","footerBtnGroup","headerLabel","headerLabelIcon","headerLabelAlert","headerLabelInfo","headerLabelSettings","headerLabelAccounts","headerLabelEdit","headerLabelDownload","headerLabelDelete","headerLabelHistory","headerLabelTag","headerLabelSearch","headerLabelKyc","headerLabelAdvice","headerLabelGenerateAdvice","headerLabelForm","headerLabelInsured","headerLabelQuote","headerLabelPolicy","headerLabelClaim","headerLabelFsg","headerLabelMandatoryDocument","headerLabelNotification","headerLabelTask","headerLabelContact","headerLabelNote","headerLabelDocument","headerLabelEmail","headerLabelTemplate","headerDetails","headerDetailItem","headerLabelContextMenu","contextMenuSep","contextMenuOneCol","contextMenuDisabled","contextMenuTwoCol","contextMenuThreeCol","modalContentCopy","processingStep","processingStepFailed","documentProcessing","eclipseLoader","confirmationContent","iaModalSearch","viewBlockAlertProgressModal","clientFooterRight","wizardButtonGroup","wizardNavGroup","wizardNavGroupForm","footerComboSelections","btnComboOption","footerComboContainer","right","pdfSelection","iaFileUpload","iaFileUploadDisabled","iaFileInfo","deletePdf","pdfSection","marginTop","newPdfActionButtons","pagePdfControls","stepMessage","viewBlockCheckboxAlertReferrerFee","manualDownloadGroup","documentCard","tableClientSelect","tdDropdown","insurerLabelGroup","combinedLabelGroupPolicy","combinedLabelGroupQuote","distributionTypeGroup","insurerResponseGroup","insurerResponceRequitedDate","distributionToggle","documentPackAccordionContent","manualDownload","mapPolicyTypeToPolicyTypeId","policyType","Quote","Policy","Incomplete","Claim","Advice","KnowYourClient","Form","mapDocumentPackTypeToDocumentPackTypeId","documentPack","ClientQuote","ClientAdvice","ClientPolicy","ClientIncomplete","InsurerQuote","InsurerPolicy","InsurerIncomplete","LapseInsurerPolicy","ClientHistory","PreRenewal","ClientClaim","InsurerClaim","CombinedClientQuote","CombinedClientPolicy","CombinedClientIncomplete","CombinedClientQuoteHistory","CombinedClientPolicyHistory","CombinedClientIncompleteHistory","ClientReceipt","DocumentPack","claimsService","api","toast","router","validationControllerFactory","taskQueue","modal","blobService","this","styles","combinedDistribution","documentPackLoaded","adviceItem","adviceVersion","adviceRows","kycItem","kycVersion","webFormName","iaHtmlEditorSettings","height","width","currentEditDocName","showCombinedCoverValidationErrors","combinedDistributionInvalidCovers","popupBlocked","showProgessModal","showPdsModal","isEditSession","showClientDocuments","showClientAdviceDocuments","showInsurerDocuments","showInsurerLapseDocuments","showPayeeDocuments","showDocumentHistory","showDocumentPreview","documentProcessingErrors","documentErrors","showFooter","selectedRowIndex","documentPreviewGenerated","isDocumentHistoryPreview","clientAcceptsElectronicDisclosure","filteredDocumentList","filterTypeId","filterType","id","label","combinedDistributionEnabled","soaDistributionEnabled","currentlySelectedAdviceVersion","emailModel","distributionSessionId","recipientType","recipientPartyId","toEmail","fromEmail","ccEmail","bccEmail","subject","title","generationGuid","documentGuid","documentsAvailableForDownload","showManualDownloadLinks","selectedClientDocumentCount","selectedInsurerDocumentCount","selectedPayeeDocumentCount","callback","noDataMessage","clientReferrerFeeAcknowledged","insurerReferrerFeeAcknowledged","combinedReferrerFeeAcknowledged","combinedReferrerFeesRequireAcknowledgement","validationController","createForCurrentScope","addRenderer","form_validation_renderer","r","prototype","close","hide","activate","_a","_b","clientId","undefined","quoteOrPolicyVersionOrClaimId","actionType","_c","__awaiter","_this","insurerResponseRequiredDate","external_moment_default","utc","format","appClientType","parse_jwt","jl","has_decorator","l","_u","sent","loadCombinedDocumentPackConfig","documentPackConfig","interfaces","ck","loadClaimDocumentPackConfig","entityActionType","map_entity_type","loadDocumentPackConfig","securityUsersId","documentPackConfigs","documentPacks","coverVersion","concat","coverNumber","clientQuotesOrPolicies","clientDocuments","insurerDocuments","history","loaded","clientConfig","find","x","includes","insurerConfig","_d","insurerLapseConfig","_e","payeeConfig","_f","_g","friendlyErrors","_j","_h","length","loadClientDocumentPack","_k","_m","_l","loadInsurerDocumentPack","_o","_q","_p","loadInsurerLapseDocumentPack","_r","_t","_s","loadPayeeDocumentPack","loadDocumentPackHistory","defaultTab","FormConsent","FormQuote","tabChanged","initializeValidation","filterDocumentList","cleanUpEditDocumentCss","hasAdviceEdit","hasAdviceView","orderBy_default","getAdviceList","apply","filter","i","active","detached","previewDocumentGenerationGuid","documentGuidArray","generatedDocumentArray","iframeContainer","childElementCount","removeChild","firstElementChild","aurelia_validation","ValidationRules","off","ensure","e","required","on","loadDocumentPack","apiRoute","response","documentList","documentPackType","quotePolicyList","docResultItems","selected","mandatory","esm_exports","Cp","error_1","forEach","insurer","index","error_2","insurerLapseDocuments","error_3","payeeDocuments","error_4","historyConfig","prepareDocumentRequestModel","distributionType","document","entities","entityId","sequence","selectedCovers","map","quoteOrPolicyVersionId","parseInt","splitDocuments","requiredBy","toISOString","documentRequest","docPackRows","insurerOfficePartyId","requiredByDate","reportCategory","splitDocs","documentCategoryType","currentlySelectedDocument","clientAdviceVersionId","maxVersion","versionId","knowYourClientVersionId","webFormId","partyId","clientDocumentResultItems","d","__values","entries","next","done","__read","value","row","splice","document_1","insurerDocumentResultItems","selectedDocumentPack","selectedItem","documentPackId","lmiFileContentId","externalDocumentUrl","reportSystemKey","generateDocumentRequest","validate","valid","aurelia_framework","PLATFORM","global","split","clientCode","tabTitle","documentName","groupType","docPack","charAt","toUpperCase","slice","docPackType","docpackTitle","historyId","distHistoryId","historyIdIsTheCombinedId","generateDocumentHistoryRequest","checkDocumentPackGenerationStatus","status","isCompletedState","generationStatus","enums","HZ","Ready","createDistributionSession","reportGeneration","GenerationStatusString","hasOwnProperty","addDocumentProcessingError","error_5","ExceptionMessage","Message","lastException","message","toLowerCase","errorMessage","statusMessage","checkGenerationStatus","timer","O","Error","Aborted","error_6","splitDocumentPreview","queueMicroTask","keys","selectedDocument","documentHistoryPreview","documentPreview","sessionGuid","getDocumentUrl","documentUrl","openPdfInPreviewTab","distributionSession","getGeneratedDocument","key","generatedDocument","documentGuids","element","push","constants","J","Preview","Download","Print","DownloadEmail","finalizeDocumentPackGeneration","handleDocumentPrintOrDownload","model","entityIds","show","content","ia_mailto_modal","s","mode","modalId","withOptions","type","documentArray","Promise","all","url","window","orientation","fetchDocumentPdf","fileBlob","createObjectURL","iframe_1","createElement","getElementById","src","onload","focus","contentWindow","print","appendChild","downloadBlobFromUrl","manuallyDownloadDocument","getPermanentStorageDocumentUrl","permanentStorageDocument","blobUri","routeFragment","generate","open","startEditingDocument","entityIdSeq","generateEditHash","editHash","getEditableDocument","editContent","processEditableContentForTinyMce","error_7","resetEditableDocument","error_8","updateEditableDocument","contentChunks","ok","endEditSession","error_9","styleSheet","querySelector","remove","documentTitle","editContentAsDom","innerHTML","editableNodes","Array","from","querySelectorAll","Key","dataset","chunk","IsInlineChunk","Html","guid","insecure_guid","cy","el","outerHTML","editHtml","queueTask","cloneDeep_default","tabClicked","distributionDisabled","Email","addDistributionHistory","result","scroll","error_10","closeProgessModal","distributionModel","distributeItem","item","coversToValidate_1","entityType","validateQuotes","isValid","__assign","p","sessionStorage","removeItem","rowClicked","$index","amountOutstanding","Object","defineProperty","some","combinedCoverClicked","event","target","checked","referrerFeesRequireAcknowledgement","insurerQuoteDocument","documentId","qbeInsurerQuoteLetterPresent","insurerPolicyScheduleDocument","qbeInsurerSchedulePresent","lmiQuoteSlipDocument","lmiQuoteSlipPresent","lmiAssetScheduleDocument","lmiAssetSchedulePresent","ourAdviceDocument","ourAdvicePresent","itemSelected","itemSelectedInsurer","__spreadArray","itemSelectedPayee","selectAll","results","selectAllInsurer","selectAllPayees","generatePayeeDocuments","documentPackIds","toastr_helper","Zx","console","log","error_11","selectedAdviceDocumentChanged","clientAdviceId","customerSuppliedDocumentType","documentAuthor","sequenceNo","getPolicyTypeId","className","__decorate","observable","FileList","z","computedFrom","customElement","inlineView","document_pack_document_pack","autoinject","claims_service","B","j","ia_toast_service","VC","aurelia_router","Lz","ValidationControllerFactory","TaskQueue","modal_service","blob_service","T","empty_state","EmptyState","bindable"],"sourceRoot":""}
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n ${'No Results'}\\r\\n ${noDataMessage}\\r\\n \\r\\n