{"version":3,"sources":["node_modules/@vendasta/category/fesm2020/vendasta-category.mjs","libs/business-category/src/lib/constants.ts","libs/business-category/src/lib/category-overview/category-overview.component.ts","libs/business-category/src/lib/category-overview/category-overview.component.html","libs/business-category/src/lib/business-category.service.ts","libs/business-category/src/lib/pipes/highlight-search.pipe.ts","libs/business-category/src/lib/category-select/category-select.service.ts","libs/business-category/src/lib/pipes/exclude-categories.pipe.ts","libs/business-category/src/lib/pipes/chip-color.pipe.ts","libs/business-category/src/lib/category-select/category-select.component.ts","libs/business-category/src/lib/category-select/category-select.component.html","libs/business-category/src/lib/business-category.module.ts","libs/business-category/src/lib/utils.ts","libs/business-category/src/index.ts","libs/businesses/src/lib/address/address/interface.ts","libs/businesses/src/lib/address/address/address.service.ts","libs/businesses/src/lib/assets/i18n/en_devel.json","libs/businesses/src/lib/address/inputs/country-input.component.ts","libs/businesses/src/lib/address/inputs/country-input.component.html","libs/businesses/src/lib/address/v2/address-autocomplete/address-autocomplete.component.ts","libs/businesses/src/lib/address/v2/address-autocomplete/address-autocomplete.component.html","libs/businesses/src/lib/custom-validators.ts","libs/businesses/src/lib/address/v2/address-form-v2.component.ts","libs/businesses/src/lib/address/v2/address-form-v2.component.html","libs/businesses/src/lib/address/v2/address-form-v2.module.ts","libs/businesses/src/lib/address/index.ts","libs/businesses/src/lib/business-profile.consts.ts","libs/businesses/src/lib/business-profile.interface.ts","libs/businesses/src/lib/format-phone-number.pipe.ts","libs/businesses/src/lib/media-tab/media-tab.interface.ts","node_modules/@vendasta/account-group-media/fesm2020/vendasta-account-group-media.mjs","node_modules/@vendasta/media/fesm2020/vendasta-media.mjs","libs/businesses/src/lib/media-tab/media-tab.service.ts","libs/businesses/src/lib/media-tab/media-image-uploader/media-image-uploader.service.ts","libs/businesses/src/lib/media-tab/image-cropper-dialog/image-cropper-dialog.component.ts","libs/businesses/src/lib/media-tab/image-cropper-dialog/image-cropper-dialog.component.html","libs/businesses/src/lib/media-tab/media-image-uploader/media-image-uploader.component.ts","libs/businesses/src/lib/media-tab/media-image-uploader/media-image-uploader.component.html","libs/businesses/src/lib/media-tab/image-update-dialog/image-update-dialog.component.ts","libs/businesses/src/lib/media-tab/image-update-dialog/image-update-dialog.component.html","libs/businesses/src/lib/media-tab/media-tab-gallery/media-tab-gallery.component.ts","libs/businesses/src/lib/media-tab/media-tab-gallery/media-tab-gallery.component.html","libs/businesses/src/lib/media-tab/gallery-multi-image-uploader/gallery-multi-image-uploader.service.ts","libs/businesses/src/lib/media-tab/gallery-multi-image-uploader/gallery-multi-image-uploader.component.ts","libs/businesses/src/lib/media-tab/gallery-multi-image-uploader/gallery-multi-image-uploader.component.html","libs/businesses/src/lib/media-tab/media-tab.component.ts","libs/businesses/src/lib/media-tab/media-tab.component.html","libs/businesses/src/lib/place-autocomplete/place-autocomplete.component.ts","libs/businesses/src/lib/place-autocomplete/place-autocomplete.component.html","libs/businesses/src/lib/more-hours/more-hours.component.ts","libs/businesses/src/lib/more-hours/more-hours.component.html","libs/businesses/src/lib/business-profile.component.ts","libs/businesses/src/lib/business-profile.component.html","libs/taxonomy-i18n/src/lib/assets/i18n/en_devel.json","libs/taxonomy-i18n/src/lib/constants.ts","libs/taxonomy-i18n/src/lib/taxonomy-i18n.module.ts","libs/taxonomy-i18n/src/lib/index.ts","libs/taxonomy-i18n/src/index.ts","libs/salesperson/src/lib/salesperson.objects.ts","libs/salesperson/src/lib/salesperson.api.service.ts","libs/salesperson/src/lib/salesperson.service.ts","libs/salesperson/src/lib/salesperson.module.ts","libs/salesperson/src/lib/index.ts","libs/salesperson/src/index.ts","libs/taxonomy/src/lib/interfaces.ts","libs/taxonomy/src/lib/taxonomy.service.ts","libs/taxonomy/src/lib/taxonomy.module.ts","libs/taxonomy/src/lib/index.ts","libs/taxonomy/src/index.ts","libs/businesses/src/lib/competitors-tab/competitors-tab.service.ts","libs/businesses/src/lib/competitors-tab/competitors-tab.module.ts","libs/businesses/src/lib/media-tab/media-tab-gallery/media-tab-gallery.module.ts","libs/businesses/src/lib/media-tab/upload-image-dialog/upload-image-dialog.module.ts","libs/businesses/src/lib/media-tab/image-cropper-dialog/image-cropper-dialog.module.ts","libs/businesses/src/lib/media-tab/media-tab.module.ts","node_modules/fast-deep-equal/index.js","libs/businesses/src/lib/product-activation-prereq-form/validators.ts","libs/businesses/src/lib/product-activation-prereq-form/product-activation-prereq-form.component.ts","libs/businesses/src/lib/product-activation-prereq-form/product-activation-prereq-form.component.html","libs/businesses/src/lib/product-activation-prereq-form/product-activation-prereq-form.module.ts","libs/businesses/src/lib/business-profile.module.ts","libs/businesses/src/lib/feature-flag.service.ts","libs/businesses/src/lib/business-selector-dialog/business-selector-dialog.service.ts","libs/businesses/src/lib/business-selector-dialog/format-address.pipe.ts","libs/businesses/src/lib/business-selector-dialog/business-selector-dialog.component.ts","libs/businesses/src/lib/business-selector-dialog/business-selector-dialog.component.html","libs/businesses/src/lib/business-selector-dialog/business-selector-dialog.module.ts","libs/businesses/src/lib/index.ts","libs/businesses/src/index.ts"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injectable, inject } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { map } from 'rxjs/operators';\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar CategoryClass = /*#__PURE__*/function (CategoryClass) {\n CategoryClass[CategoryClass[\"CATEGORY_CLASS_CONCRETE\"] = 0] = \"CATEGORY_CLASS_CONCRETE\";\n CategoryClass[CategoryClass[\"CATEGORY_CLASS_ABSTRACT\"] = 1] = \"CATEGORY_CLASS_ABSTRACT\";\n return CategoryClass;\n}(CategoryClass || {});\nvar CategoryType = /*#__PURE__*/function (CategoryType) {\n CategoryType[CategoryType[\"CATEGORY_TYPE_V_CATEGORY\"] = 0] = \"CATEGORY_TYPE_V_CATEGORY\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_V_TAX\"] = 1] = \"CATEGORY_TYPE_V_TAX\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_GOOGLE_PLACES\"] = 2] = \"CATEGORY_TYPE_GOOGLE_PLACES\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_GMB\"] = 3] = \"CATEGORY_TYPE_GMB\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_UBERALL\"] = 4] = \"CATEGORY_TYPE_UBERALL\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_YEXT\"] = 5] = \"CATEGORY_TYPE_YEXT\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_BING\"] = 6] = \"CATEGORY_TYPE_BING\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_DATA_AXLE\"] = 7] = \"CATEGORY_TYPE_DATA_AXLE\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_FOURSQUARE\"] = 9] = \"CATEGORY_TYPE_FOURSQUARE\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_LOCALEZE\"] = 10] = \"CATEGORY_TYPE_LOCALEZE\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_NEUSTAR\"] = 11] = \"CATEGORY_TYPE_NEUSTAR\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_APPLE\"] = 12] = \"CATEGORY_TYPE_APPLE\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_APPLE_2\"] = 13] = \"CATEGORY_TYPE_APPLE_2\";\n CategoryType[CategoryType[\"CATEGORY_TYPE_EZLOCAL\"] = 14] = \"CATEGORY_TYPE_EZLOCAL\";\n return CategoryType;\n}(CategoryType || {});\nvar Locale = /*#__PURE__*/function (Locale) {\n Locale[Locale[\"LOCALE_UNSET\"] = 0] = \"LOCALE_UNSET\";\n Locale[Locale[\"LOCALE_AFRIKAANS\"] = 1] = \"LOCALE_AFRIKAANS\";\n Locale[Locale[\"LOCALE_CZECH\"] = 2] = \"LOCALE_CZECH\";\n Locale[Locale[\"LOCALE_DUTCH\"] = 3] = \"LOCALE_DUTCH\";\n Locale[Locale[\"LOCALE_ENGLISH\"] = 4] = \"LOCALE_ENGLISH\";\n Locale[Locale[\"LOCALE_FRENCH\"] = 5] = \"LOCALE_FRENCH\";\n Locale[Locale[\"LOCALE_FRENCH_CANADA\"] = 6] = \"LOCALE_FRENCH_CANADA\";\n Locale[Locale[\"LOCALE_GERMAN\"] = 7] = \"LOCALE_GERMAN\";\n Locale[Locale[\"LOCALE_ITALIAN\"] = 8] = \"LOCALE_ITALIAN\";\n Locale[Locale[\"LOCALE_JAPANESE\"] = 9] = \"LOCALE_JAPANESE\";\n Locale[Locale[\"LOCALE_PORTUGUESE_BRAZIL\"] = 10] = \"LOCALE_PORTUGUESE_BRAZIL\";\n Locale[Locale[\"LOCALE_RUSSIAN\"] = 11] = \"LOCALE_RUSSIAN\";\n Locale[Locale[\"LOCALE_SPANISH_LATIN_AMERICA\"] = 12] = \"LOCALE_SPANISH_LATIN_AMERICA\";\n return Locale;\n}(Locale || {});\nvar SortDirection = /*#__PURE__*/function (SortDirection) {\n SortDirection[SortDirection[\"SORT_DIRECTION_UNSET\"] = 0] = \"SORT_DIRECTION_UNSET\";\n SortDirection[SortDirection[\"SORT_DIRECTION_ASCENDING\"] = 1] = \"SORT_DIRECTION_ASCENDING\";\n SortDirection[SortDirection[\"SORT_DIRECTION_DESCENDING\"] = 2] = \"SORT_DIRECTION_DESCENDING\";\n return SortDirection;\n}(SortDirection || {});\nvar SortField = /*#__PURE__*/function (SortField) {\n SortField[SortField[\"SORT_FIELD_UNSET\"] = 0] = \"SORT_FIELD_UNSET\";\n SortField[SortField[\"SORT_FIELD_NAME\"] = 1] = \"SORT_FIELD_NAME\";\n SortField[SortField[\"SORT_FIELD_FULL_NAME\"] = 2] = \"SORT_FIELD_FULL_NAME\";\n SortField[SortField[\"SORT_FIELD_SCORE\"] = 3] = \"SORT_FIELD_SCORE\";\n SortField[SortField[\"SORT_FIELD_EXTERNAL_ID\"] = 4] = \"SORT_FIELD_EXTERNAL_ID\";\n SortField[SortField[\"SORT_FIELD_CREATED\"] = 5] = \"SORT_FIELD_CREATED\";\n SortField[SortField[\"SORT_FIELD_UPDATED\"] = 6] = \"SORT_FIELD_UPDATED\";\n return SortField;\n}(SortField || {});\nvar TypeCategoryRelationship = /*#__PURE__*/function (TypeCategoryRelationship) {\n TypeCategoryRelationship[TypeCategoryRelationship[\"TYPE_CATEGORY_RELATIONSHIP_EXACT_MATCH\"] = 0] = \"TYPE_CATEGORY_RELATIONSHIP_EXACT_MATCH\";\n TypeCategoryRelationship[TypeCategoryRelationship[\"TYPE_CATEGORY_RELATIONSHIP_GOOD_MATCH\"] = 1] = \"TYPE_CATEGORY_RELATIONSHIP_GOOD_MATCH\";\n TypeCategoryRelationship[TypeCategoryRelationship[\"TYPE_CATEGORY_RELATIONSHIP_OK_MATCH\"] = 2] = \"TYPE_CATEGORY_RELATIONSHIP_OK_MATCH\";\n return TypeCategoryRelationship;\n}(TypeCategoryRelationship || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums Index.\n// *********************************\n\nfunction enumStringToValue$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass FieldMask {\n static fromProto(proto) {\n let m = new FieldMask();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paths !== 'undefined') {\n toReturn['paths'] = this.paths;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$2(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Access {\n static fromProto(proto) {\n let m = new Access();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n if (typeof this.public !== 'undefined') {\n toReturn['public'] = this.public;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$1(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass BulkCreateCategoriesRequest {\n static fromProto(proto) {\n let m = new BulkCreateCategoriesRequest();\n m = Object.assign(m, proto);\n if (proto.categories) {\n m.categories = proto.categories.map(Category.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categories !== 'undefined' && this.categories !== null) {\n toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;\n }\n return toReturn;\n }\n}\nclass BulkCreateCategoryRelationshipsRequest {\n static fromProto(proto) {\n let m = new BulkCreateCategoryRelationshipsRequest();\n m = Object.assign(m, proto);\n if (proto.categoryRelationships) {\n m.categoryRelationships = proto.categoryRelationships.map(CategoryRelationships.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categoryRelationships !== 'undefined' && this.categoryRelationships !== null) {\n toReturn['categoryRelationships'] = 'toApiJson' in this.categoryRelationships ? this.categoryRelationships.toApiJson() : this.categoryRelationships;\n }\n return toReturn;\n }\n}\nclass BulkDeleteCategoryRelationshipsRequest {\n static fromProto(proto) {\n let m = new BulkDeleteCategoryRelationshipsRequest();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue(CategoryType, proto.type);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n return toReturn;\n }\n}\nclass Category {\n static fromProto(proto) {\n let m = new Category();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue(CategoryType, proto.type);\n }\n if (proto.class) {\n m.class = enumStringToValue(CategoryClass, proto.class);\n }\n if (proto.locale) {\n m.locale = CategoryLocale.fromProto(proto.locale);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.translations) {\n m.translations = proto.translations.map(CategoryTranslation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categoryId !== 'undefined') {\n toReturn['categoryId'] = this.categoryId;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.class !== 'undefined') {\n toReturn['class'] = this.class;\n }\n if (typeof this.locale !== 'undefined' && this.locale !== null) {\n toReturn['locale'] = 'toApiJson' in this.locale ? this.locale.toApiJson() : this.locale;\n }\n if (typeof this.isHidden !== 'undefined') {\n toReturn['isHidden'] = this.isHidden;\n }\n if (typeof this.isActive !== 'undefined') {\n toReturn['isActive'] = this.isActive;\n }\n if (typeof this.fullName !== 'undefined') {\n toReturn['fullName'] = this.fullName;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.translations !== 'undefined' && this.translations !== null) {\n toReturn['translations'] = 'toApiJson' in this.translations ? this.translations.toApiJson() : this.translations;\n }\n return toReturn;\n }\n}\nclass CategoryLocale {\n static fromProto(proto) {\n let m = new CategoryLocale();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.language !== 'undefined') {\n toReturn['language'] = this.language;\n }\n return toReturn;\n }\n}\nclass CategoryPagedRequestOptions {\n static fromProto(proto) {\n let m = new CategoryPagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass CategoryPagedResponseMetadata {\n static fromProto(proto) {\n let m = new CategoryPagedResponseMetadata();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass CategoryRelationship {\n static fromProto(proto) {\n let m = new CategoryRelationship();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = Category.fromProto(proto.category);\n }\n if (proto.relationship) {\n m.relationship = enumStringToValue(TypeCategoryRelationship, proto.relationship);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n if (typeof this.relationship !== 'undefined') {\n toReturn['relationship'] = this.relationship;\n }\n return toReturn;\n }\n}\nclass CategoryRelationships {\n static fromProto(proto) {\n let m = new CategoryRelationships();\n m = Object.assign(m, proto);\n if (proto.originCategory) {\n m.originCategory = enumStringToValue(CategoryType, proto.originCategory);\n }\n if (proto.targetCategory) {\n m.targetCategory = enumStringToValue(CategoryType, proto.targetCategory);\n }\n if (proto.typeCategoryRelationship) {\n m.typeCategoryRelationship = enumStringToValue(TypeCategoryRelationship, proto.typeCategoryRelationship);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.originId !== 'undefined') {\n toReturn['originId'] = this.originId;\n }\n if (typeof this.targetId !== 'undefined') {\n toReturn['targetId'] = this.targetId;\n }\n if (typeof this.originCategory !== 'undefined') {\n toReturn['originCategory'] = this.originCategory;\n }\n if (typeof this.targetCategory !== 'undefined') {\n toReturn['targetCategory'] = this.targetCategory;\n }\n if (typeof this.typeCategoryRelationship !== 'undefined') {\n toReturn['typeCategoryRelationship'] = this.typeCategoryRelationship;\n }\n if (typeof this.humanVerified !== 'undefined') {\n toReturn['humanVerified'] = this.humanVerified;\n }\n return toReturn;\n }\n}\nclass CategoryRequest {\n static fromProto(proto) {\n let m = new CategoryRequest();\n m = Object.assign(m, proto);\n if (proto.categoryType) {\n m.categoryType = enumStringToValue(CategoryType, proto.categoryType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.categoryType !== 'undefined') {\n toReturn['categoryType'] = this.categoryType;\n }\n return toReturn;\n }\n}\nclass CategorySearchRequest {\n static fromProto(proto) {\n let m = new CategorySearchRequest();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue(CategoryType, proto.type);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.sortOptions) {\n m.sortOptions = proto.sortOptions.map(SortOptions.fromProto);\n }\n if (proto.languageAndLocale) {\n m.languageAndLocale = enumStringToValue(Locale, proto.languageAndLocale);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {\n toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;\n }\n if (typeof this.onlyVisible !== 'undefined') {\n toReturn['onlyVisible'] = this.onlyVisible;\n }\n if (typeof this.languageAndLocale !== 'undefined') {\n toReturn['languageAndLocale'] = this.languageAndLocale;\n }\n return toReturn;\n }\n}\nclass CategorySearchResponse {\n static fromProto(proto) {\n let m = new CategorySearchResponse();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = proto.category.map(Category.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass CategoryTranslation {\n static fromProto(proto) {\n let m = new CategoryTranslation();\n m = Object.assign(m, proto);\n if (proto.locale) {\n m.locale = enumStringToValue(Locale, proto.locale);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.fullName !== 'undefined') {\n toReturn['fullName'] = this.fullName;\n }\n return toReturn;\n }\n}\nclass CreateCategoryRequest {\n static fromProto(proto) {\n let m = new CreateCategoryRequest();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue(CategoryType, proto.type);\n }\n if (proto.translations) {\n m.translations = proto.translations.map(CategoryTranslation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.fullName !== 'undefined') {\n toReturn['fullName'] = this.fullName;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.isHidden !== 'undefined') {\n toReturn['isHidden'] = this.isHidden;\n }\n if (typeof this.isActive !== 'undefined') {\n toReturn['isActive'] = this.isActive;\n }\n if (typeof this.translations !== 'undefined' && this.translations !== null) {\n toReturn['translations'] = 'toApiJson' in this.translations ? this.translations.toApiJson() : this.translations;\n }\n return toReturn;\n }\n}\nclass CreateCategoryResponse {\n static fromProto(proto) {\n let m = new CreateCategoryResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categoryId !== 'undefined') {\n toReturn['categoryId'] = this.categoryId;\n }\n return toReturn;\n }\n}\nclass DeleteCategoryByExternalIDAndTypeRequest {\n static fromProto(proto) {\n let m = new DeleteCategoryByExternalIDAndTypeRequest();\n m = Object.assign(m, proto);\n if (proto.categoryType) {\n m.categoryType = enumStringToValue(CategoryType, proto.categoryType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.categoryType !== 'undefined') {\n toReturn['categoryType'] = this.categoryType;\n }\n return toReturn;\n }\n}\nclass DeleteCategoryRelationshipByExternalIDAndTypeRequest {\n static fromProto(proto) {\n let m = new DeleteCategoryRelationshipByExternalIDAndTypeRequest();\n m = Object.assign(m, proto);\n if (proto.categoryType) {\n m.categoryType = enumStringToValue(CategoryType, proto.categoryType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.categoryType !== 'undefined') {\n toReturn['categoryType'] = this.categoryType;\n }\n return toReturn;\n }\n}\nclass DeleteCategoryRelationshipByOriginAndTargetRequest {\n static fromProto(proto) {\n let m = new DeleteCategoryRelationshipByOriginAndTargetRequest();\n m = Object.assign(m, proto);\n if (proto.origin) {\n m.origin = DeleteCategoryRelationshipByOriginAndTargetRequestIdentifier.fromProto(proto.origin);\n }\n if (proto.target) {\n m.target = DeleteCategoryRelationshipByOriginAndTargetRequestIdentifier.fromProto(proto.target);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.origin !== 'undefined' && this.origin !== null) {\n toReturn['origin'] = 'toApiJson' in this.origin ? this.origin.toApiJson() : this.origin;\n }\n if (typeof this.target !== 'undefined' && this.target !== null) {\n toReturn['target'] = 'toApiJson' in this.target ? this.target.toApiJson() : this.target;\n }\n return toReturn;\n }\n}\nclass DeleteSuggestedMappingsRequest {\n static fromProto(proto) {\n let m = new DeleteSuggestedMappingsRequest();\n m = Object.assign(m, proto);\n if (proto.originType) {\n m.originType = enumStringToValue(CategoryType, proto.originType);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue(CategoryType, proto.targetType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.originType !== 'undefined') {\n toReturn['originType'] = this.originType;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n if (typeof this.originId !== 'undefined') {\n toReturn['originId'] = this.originId;\n }\n return toReturn;\n }\n}\nclass ValidateVCategoriesResponseErrorsEntry {\n static fromProto(proto) {\n let m = new ValidateVCategoriesResponseErrorsEntry();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass GenerateCategoryTrainingDataRequest {\n static fromProto(proto) {\n let m = new GenerateCategoryTrainingDataRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.startTuningWorkflow !== 'undefined') {\n toReturn['startTuningWorkflow'] = this.startTuningWorkflow;\n }\n return toReturn;\n }\n}\nclass GetAllCategoryMappingsRequest {\n static fromProto(proto) {\n let m = new GetAllCategoryMappingsRequest();\n m = Object.assign(m, proto);\n if (proto.categoryType) {\n m.categoryType = enumStringToValue(CategoryType, proto.categoryType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.categoryType !== 'undefined') {\n toReturn['categoryType'] = this.categoryType;\n }\n return toReturn;\n }\n}\nclass GetAllCategoryMappingsResponse {\n static fromProto(proto) {\n let m = new GetAllCategoryMappingsResponse();\n m = Object.assign(m, proto);\n if (proto.origins) {\n m.origins = proto.origins.map(Category.fromProto);\n }\n if (proto.targets) {\n m.targets = proto.targets.map(Category.fromProto);\n }\n if (proto.relationships) {\n m.relationships = proto.relationships.map(CategoryRelationships.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.origins !== 'undefined' && this.origins !== null) {\n toReturn['origins'] = 'toApiJson' in this.origins ? this.origins.toApiJson() : this.origins;\n }\n if (typeof this.targets !== 'undefined' && this.targets !== null) {\n toReturn['targets'] = 'toApiJson' in this.targets ? this.targets.toApiJson() : this.targets;\n }\n if (typeof this.relationships !== 'undefined' && this.relationships !== null) {\n toReturn['relationships'] = 'toApiJson' in this.relationships ? this.relationships.toApiJson() : this.relationships;\n }\n return toReturn;\n }\n}\nclass GetCategoryByExternalIDsAndTypeRequest {\n static fromProto(proto) {\n let m = new GetCategoryByExternalIDsAndTypeRequest();\n m = Object.assign(m, proto);\n if (proto.categories) {\n m.categories = proto.categories.map(CategoryRequest.fromProto);\n }\n if (proto.languageAndLocale) {\n m.languageAndLocale = enumStringToValue(Locale, proto.languageAndLocale);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categories !== 'undefined' && this.categories !== null) {\n toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n if (typeof this.languageAndLocale !== 'undefined') {\n toReturn['languageAndLocale'] = this.languageAndLocale;\n }\n return toReturn;\n }\n}\nclass GetCategoryByExternalIDsAndTypeResponse {\n static fromProto(proto) {\n let m = new GetCategoryByExternalIDsAndTypeResponse();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = proto.category.map(Category.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n return toReturn;\n }\n}\nclass GetCategoryByNameAndTypeRequest {\n static fromProto(proto) {\n let m = new GetCategoryByNameAndTypeRequest();\n m = Object.assign(m, proto);\n if (proto.categoryType) {\n m.categoryType = enumStringToValue(CategoryType, proto.categoryType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categoryName !== 'undefined') {\n toReturn['categoryName'] = this.categoryName;\n }\n if (typeof this.categoryType !== 'undefined') {\n toReturn['categoryType'] = this.categoryType;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n return toReturn;\n }\n}\nclass GetCategoryByNameAndTypeResponse {\n static fromProto(proto) {\n let m = new GetCategoryByNameAndTypeResponse();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = Category.fromProto(proto.category);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n return toReturn;\n }\n}\nclass GetCategoryListRequest {\n static fromProto(proto) {\n let m = new GetCategoryListRequest();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue(CategoryType, proto.type);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = CategoryPagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n return toReturn;\n }\n}\nclass GetCategoryListResponse {\n static fromProto(proto) {\n let m = new GetCategoryListResponse();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = proto.category.map(Category.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = CategoryPagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass GetCategoryMappingRequest {\n static fromProto(proto) {\n let m = new GetCategoryMappingRequest();\n m = Object.assign(m, proto);\n if (proto.inputType) {\n m.inputType = enumStringToValue(CategoryType, proto.inputType);\n }\n if (proto.outputType) {\n m.outputType = enumStringToValue(CategoryType, proto.outputType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.inputType !== 'undefined') {\n toReturn['inputType'] = this.inputType;\n }\n if (typeof this.outputType !== 'undefined') {\n toReturn['outputType'] = this.outputType;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n return toReturn;\n }\n}\nclass GetCategoryMappingResponse {\n static fromProto(proto) {\n let m = new GetCategoryMappingResponse();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = Category.fromProto(proto.category);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n return toReturn;\n }\n}\nclass GetCategoryRequest {\n static fromProto(proto) {\n let m = new GetCategoryRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categoryId !== 'undefined') {\n toReturn['categoryId'] = this.categoryId;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n return toReturn;\n }\n}\nclass GetCategoryResponse {\n static fromProto(proto) {\n let m = new GetCategoryResponse();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = Category.fromProto(proto.category);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n return toReturn;\n }\n}\nclass GetMappingManagementDataRequest {\n static fromProto(proto) {\n let m = new GetMappingManagementDataRequest();\n m = Object.assign(m, proto);\n if (proto.originType) {\n m.originType = enumStringToValue(CategoryType, proto.originType);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue(CategoryType, proto.targetType);\n }\n if (proto.sortOptions) {\n m.sortOptions = proto.sortOptions.map(SortOptions.fromProto);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.originType !== 'undefined') {\n toReturn['originType'] = this.originType;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {\n toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass GetMappingManagementDataResponse {\n static fromProto(proto) {\n let m = new GetMappingManagementDataResponse();\n m = Object.assign(m, proto);\n if (proto.data) {\n m.data = proto.data.map(MappingManagementData.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.data !== 'undefined' && this.data !== null) {\n toReturn['data'] = 'toApiJson' in this.data ? this.data.toApiJson() : this.data;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass GetMultiCategoryMappingRequest {\n static fromProto(proto) {\n let m = new GetMultiCategoryMappingRequest();\n m = Object.assign(m, proto);\n if (proto.inputType) {\n m.inputType = enumStringToValue(CategoryType, proto.inputType);\n }\n if (proto.outputType) {\n m.outputType = enumStringToValue(CategoryType, proto.outputType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.externalIds !== 'undefined') {\n toReturn['externalIds'] = this.externalIds;\n }\n if (typeof this.inputType !== 'undefined') {\n toReturn['inputType'] = this.inputType;\n }\n if (typeof this.outputType !== 'undefined') {\n toReturn['outputType'] = this.outputType;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n return toReturn;\n }\n}\nclass GetMultiCategoryMappingResponse {\n static fromProto(proto) {\n let m = new GetMultiCategoryMappingResponse();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = proto.category.map(Category.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n return toReturn;\n }\n}\nclass GetSuggestedMappingsForCategoryRequest {\n static fromProto(proto) {\n let m = new GetSuggestedMappingsForCategoryRequest();\n m = Object.assign(m, proto);\n if (proto.originType) {\n m.originType = enumStringToValue(CategoryType, proto.originType);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue(CategoryType, proto.targetType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.originType !== 'undefined') {\n toReturn['originType'] = this.originType;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n if (typeof this.originId !== 'undefined') {\n toReturn['originId'] = this.originId;\n }\n return toReturn;\n }\n}\nclass GetSuggestedMappingsForCategoryResponse {\n static fromProto(proto) {\n let m = new GetSuggestedMappingsForCategoryResponse();\n m = Object.assign(m, proto);\n if (proto.suggestions) {\n m.suggestions = proto.suggestions.map(SuggestedMappingTarget.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.suggestions !== 'undefined' && this.suggestions !== null) {\n toReturn['suggestions'] = 'toApiJson' in this.suggestions ? this.suggestions.toApiJson() : this.suggestions;\n }\n return toReturn;\n }\n}\nclass DeleteCategoryRelationshipByOriginAndTargetRequestIdentifier {\n static fromProto(proto) {\n let m = new DeleteCategoryRelationshipByOriginAndTargetRequestIdentifier();\n m = Object.assign(m, proto);\n if (proto.categoryType) {\n m.categoryType = enumStringToValue(CategoryType, proto.categoryType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.categoryType !== 'undefined') {\n toReturn['categoryType'] = this.categoryType;\n }\n return toReturn;\n }\n}\nclass ListSuggestedMappingsForCategoryTypeRequest {\n static fromProto(proto) {\n let m = new ListSuggestedMappingsForCategoryTypeRequest();\n m = Object.assign(m, proto);\n if (proto.originType) {\n m.originType = enumStringToValue(CategoryType, proto.originType);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue(CategoryType, proto.targetType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.originType !== 'undefined') {\n toReturn['originType'] = this.originType;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n return toReturn;\n }\n}\nclass ListSuggestedMappingsForCategoryTypeResponse {\n static fromProto(proto) {\n let m = new ListSuggestedMappingsForCategoryTypeResponse();\n m = Object.assign(m, proto);\n if (proto.suggestions) {\n m.suggestions = proto.suggestions.map(SuggestedMappings.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.suggestions !== 'undefined' && this.suggestions !== null) {\n toReturn['suggestions'] = 'toApiJson' in this.suggestions ? this.suggestions.toApiJson() : this.suggestions;\n }\n return toReturn;\n }\n}\nclass UpdateCategoryMappingsV2RequestMapping {\n static fromProto(proto) {\n let m = new UpdateCategoryMappingsV2RequestMapping();\n m = Object.assign(m, proto);\n if (proto.targetType) {\n m.targetType = enumStringToValue(CategoryType, proto.targetType);\n }\n if (proto.relationship) {\n m.relationship = enumStringToValue(TypeCategoryRelationship, proto.relationship);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.originId !== 'undefined') {\n toReturn['originId'] = this.originId;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n if (typeof this.targetId !== 'undefined') {\n toReturn['targetId'] = this.targetId;\n }\n if (typeof this.relationship !== 'undefined') {\n toReturn['relationship'] = this.relationship;\n }\n if (typeof this.humanVerified !== 'undefined') {\n toReturn['humanVerified'] = this.humanVerified;\n }\n return toReturn;\n }\n}\nclass MappingManagementData {\n static fromProto(proto) {\n let m = new MappingManagementData();\n m = Object.assign(m, proto);\n if (proto.origin) {\n m.origin = Category.fromProto(proto.origin);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue(CategoryType, proto.targetType);\n }\n if (proto.targets) {\n m.targets = proto.targets.map(Category.fromProto);\n }\n if (proto.relationship) {\n m.relationship = enumStringToValue(TypeCategoryRelationship, proto.relationship);\n }\n if (proto.suggestions) {\n m.suggestions = proto.suggestions.map(SuggestedMappingTarget.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.origin !== 'undefined' && this.origin !== null) {\n toReturn['origin'] = 'toApiJson' in this.origin ? this.origin.toApiJson() : this.origin;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n if (typeof this.targets !== 'undefined' && this.targets !== null) {\n toReturn['targets'] = 'toApiJson' in this.targets ? this.targets.toApiJson() : this.targets;\n }\n if (typeof this.relationship !== 'undefined') {\n toReturn['relationship'] = this.relationship;\n }\n if (typeof this.suggestions !== 'undefined' && this.suggestions !== null) {\n toReturn['suggestions'] = 'toApiJson' in this.suggestions ? this.suggestions.toApiJson() : this.suggestions;\n }\n return toReturn;\n }\n}\nclass UpdateCategoryMappingsRequestMappings {\n static fromProto(proto) {\n let m = new UpdateCategoryMappingsRequestMappings();\n m = Object.assign(m, proto);\n if (proto.relationship) {\n m.relationship = enumStringToValue(TypeCategoryRelationship, proto.relationship);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.referencesId !== 'undefined') {\n toReturn['referencesId'] = this.referencesId;\n }\n if (typeof this.referencedById !== 'undefined') {\n toReturn['referencedById'] = this.referencedById;\n }\n if (typeof this.relationship !== 'undefined') {\n toReturn['relationship'] = this.relationship;\n }\n return toReturn;\n }\n}\nclass SortOptions {\n static fromProto(proto) {\n let m = new SortOptions();\n m = Object.assign(m, proto);\n if (proto.field) {\n m.field = enumStringToValue(SortField, proto.field);\n }\n if (proto.direction) {\n m.direction = enumStringToValue(SortDirection, proto.direction);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.field !== 'undefined') {\n toReturn['field'] = this.field;\n }\n if (typeof this.direction !== 'undefined') {\n toReturn['direction'] = this.direction;\n }\n return toReturn;\n }\n}\nclass StartCategoryEmbeddingWorkflowRequest {\n static fromProto(proto) {\n let m = new StartCategoryEmbeddingWorkflowRequest();\n m = Object.assign(m, proto);\n if (proto.types) {\n m.types = proto.types.map(v => enumStringToValue(CategoryType, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.types !== 'undefined') {\n toReturn['types'] = this.types;\n }\n if (typeof this.updateExisting !== 'undefined') {\n toReturn['updateExisting'] = this.updateExisting;\n }\n return toReturn;\n }\n}\nclass StartCategoryMappingWorkflowRequest {\n static fromProto(proto) {\n let m = new StartCategoryMappingWorkflowRequest();\n m = Object.assign(m, proto);\n if (proto.originType) {\n m.originType = enumStringToValue(CategoryType, proto.originType);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue(CategoryType, proto.targetType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.originType !== 'undefined') {\n toReturn['originType'] = this.originType;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n return toReturn;\n }\n}\nclass SuggestedMappingTarget {\n static fromProto(proto) {\n let m = new SuggestedMappingTarget();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.fullName !== 'undefined') {\n toReturn['fullName'] = this.fullName;\n }\n if (typeof this.score !== 'undefined') {\n toReturn['score'] = this.score;\n }\n return toReturn;\n }\n}\nclass SuggestedMappings {\n static fromProto(proto) {\n let m = new SuggestedMappings();\n m = Object.assign(m, proto);\n if (proto.originType) {\n m.originType = enumStringToValue(CategoryType, proto.originType);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue(CategoryType, proto.targetType);\n }\n if (proto.targets) {\n m.targets = proto.targets.map(SuggestedMappingTarget.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.originType !== 'undefined') {\n toReturn['originType'] = this.originType;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n if (typeof this.originId !== 'undefined') {\n toReturn['originId'] = this.originId;\n }\n if (typeof this.targets !== 'undefined' && this.targets !== null) {\n toReturn['targets'] = 'toApiJson' in this.targets ? this.targets.toApiJson() : this.targets;\n }\n return toReturn;\n }\n}\nclass UpdateCategoryMappingsRequest {\n static fromProto(proto) {\n let m = new UpdateCategoryMappingsRequest();\n m = Object.assign(m, proto);\n if (proto.create) {\n m.create = UpdateCategoryMappingsRequestMappings.fromProto(proto.create);\n }\n if (proto.delete) {\n m.delete = UpdateCategoryMappingsRequestMappings.fromProto(proto.delete);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categoryId !== 'undefined') {\n toReturn['categoryId'] = this.categoryId;\n }\n if (typeof this.create !== 'undefined' && this.create !== null) {\n toReturn['create'] = 'toApiJson' in this.create ? this.create.toApiJson() : this.create;\n }\n if (typeof this.delete !== 'undefined' && this.delete !== null) {\n toReturn['delete'] = 'toApiJson' in this.delete ? this.delete.toApiJson() : this.delete;\n }\n if (typeof this.humanVerified !== 'undefined') {\n toReturn['humanVerified'] = this.humanVerified;\n }\n return toReturn;\n }\n}\nclass UpdateCategoryMappingsV2Request {\n static fromProto(proto) {\n let m = new UpdateCategoryMappingsV2Request();\n m = Object.assign(m, proto);\n if (proto.mappings) {\n m.mappings = proto.mappings.map(UpdateCategoryMappingsV2RequestMapping.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.mappings !== 'undefined' && this.mappings !== null) {\n toReturn['mappings'] = 'toApiJson' in this.mappings ? this.mappings.toApiJson() : this.mappings;\n }\n return toReturn;\n }\n}\nclass UpdateCategoryRequest {\n static fromProto(proto) {\n let m = new UpdateCategoryRequest();\n m = Object.assign(m, proto);\n if (proto.updateFields) {\n m.updateFields = UpdateCategoryRequestUpdateFields.fromProto(proto.updateFields);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categoryId !== 'undefined') {\n toReturn['categoryId'] = this.categoryId;\n }\n if (typeof this.updateFields !== 'undefined' && this.updateFields !== null) {\n toReturn['updateFields'] = 'toApiJson' in this.updateFields ? this.updateFields.toApiJson() : this.updateFields;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass UpdateCategoryRequestUpdateFields {\n static fromProto(proto) {\n let m = new UpdateCategoryRequestUpdateFields();\n m = Object.assign(m, proto);\n if (proto.translations) {\n m.translations = proto.translations.map(CategoryTranslation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.fullName !== 'undefined') {\n toReturn['fullName'] = this.fullName;\n }\n if (typeof this.isActive !== 'undefined') {\n toReturn['isActive'] = this.isActive;\n }\n if (typeof this.isHidden !== 'undefined') {\n toReturn['isHidden'] = this.isHidden;\n }\n if (typeof this.translations !== 'undefined' && this.translations !== null) {\n toReturn['translations'] = 'toApiJson' in this.translations ? this.translations.toApiJson() : this.translations;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n return toReturn;\n }\n}\nclass ValidateCategoryRequest {\n static fromProto(proto) {\n let m = new ValidateCategoryRequest();\n m = Object.assign(m, proto);\n if (proto.category) {\n m.category = Category.fromProto(proto.category);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n return toReturn;\n }\n}\nclass ValidateCategoryResponse {\n static fromProto(proto) {\n let m = new ValidateCategoryResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.isValid !== 'undefined') {\n toReturn['isValid'] = this.isValid;\n }\n return toReturn;\n }\n}\nclass ValidateVCategoriesRequest {\n static fromProto(proto) {\n let m = new ValidateVCategoriesRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.externalIds !== 'undefined') {\n toReturn['externalIds'] = this.externalIds;\n }\n return toReturn;\n }\n}\nclass ValidateVCategoriesResponse {\n static fromProto(proto) {\n let m = new ValidateVCategoriesResponse();\n m = Object.assign(m, proto);\n if (proto.errors) {\n m.errors = Object.keys(proto.errors).reduce((obj, k) => {\n obj[k] = proto.errors[k];\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.errors !== 'undefined' && this.errors !== null) {\n toReturn['errors'] = 'toApiJson' in this.errors ? this.errors.toApiJson() : this.errors;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'category-api.vendasta-local.com',\n 'test': '',\n 'demo': 'category-demo.apigateway.co',\n 'prod': 'category-prod.apigateway.co',\n 'production': 'category-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n }\n HostService.ɵfac = function HostService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HostService)();\n };\n HostService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet CategoriesApiService = /*#__PURE__*/(() => {\n class CategoriesApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getCategory(r) {\n const request = r.toApiJson ? r : new GetCategoryRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetCategory\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetCategoryResponse.fromProto(resp)));\n }\n getCategoryList(r) {\n const request = r.toApiJson ? r : new GetCategoryListRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetCategoryList\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetCategoryListResponse.fromProto(resp)));\n }\n getCategoryMapping(r) {\n const request = r.toApiJson ? r : new GetCategoryMappingRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetCategoryMapping\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetCategoryMappingResponse.fromProto(resp)));\n }\n bulkCreateCategories(r) {\n const request = r.toApiJson ? r : new BulkCreateCategoriesRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/BulkCreateCategories\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n bulkCreateCategoryRelationships(r) {\n const request = r.toApiJson ? r : new BulkCreateCategoryRelationshipsRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/BulkCreateCategoryRelationships\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n bulkDeleteCategoryRelationships(r) {\n const request = r.toApiJson ? r : new BulkDeleteCategoryRelationshipsRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/BulkDeleteCategoryRelationships\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n validateCategory(r) {\n const request = r.toApiJson ? r : new ValidateCategoryRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/ValidateCategory\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ValidateCategoryResponse.fromProto(resp)));\n }\n getCategoryByNameAndType(r) {\n const request = r.toApiJson ? r : new GetCategoryByNameAndTypeRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetCategoryByNameAndType\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetCategoryByNameAndTypeResponse.fromProto(resp)));\n }\n deleteCategoryByExternalIdAndType(r) {\n const request = r.toApiJson ? r : new DeleteCategoryByExternalIDAndTypeRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/DeleteCategoryByExternalIDAndType\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteCategoryRelationshipByExternalIdAndType(r) {\n const request = r.toApiJson ? r : new DeleteCategoryRelationshipByExternalIDAndTypeRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/DeleteCategoryRelationshipByExternalIDAndType\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getCategoryByExternalIDsAndType(r) {\n const request = r.toApiJson ? r : new GetCategoryByExternalIDsAndTypeRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetCategoryByExternalIDsAndType\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetCategoryByExternalIDsAndTypeResponse.fromProto(resp)));\n }\n getMultiCategoryMapping(r) {\n const request = r.toApiJson ? r : new GetMultiCategoryMappingRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetMultiCategoryMapping\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiCategoryMappingResponse.fromProto(resp)));\n }\n getCategoryBySearchTerm(r) {\n const request = r.toApiJson ? r : new CategorySearchRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetCategoryBySearchTerm\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CategorySearchResponse.fromProto(resp)));\n }\n deleteCategoryRelationshipByOriginAndTarget(r) {\n const request = r.toApiJson ? r : new DeleteCategoryRelationshipByOriginAndTargetRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/DeleteCategoryRelationshipByOriginAndTarget\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateCategory(r) {\n const request = r.toApiJson ? r : new UpdateCategoryRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/UpdateCategory\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createCategory(r) {\n const request = r.toApiJson ? r : new CreateCategoryRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/CreateCategory\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateCategoryResponse.fromProto(resp)));\n }\n getAllCategoryMappings(r) {\n const request = r.toApiJson ? r : new GetAllCategoryMappingsRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetAllCategoryMappings\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAllCategoryMappingsResponse.fromProto(resp)));\n }\n updateCategoryMappings(r) {\n const request = r.toApiJson ? r : new UpdateCategoryMappingsRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/UpdateCategoryMappings\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateCategoryMappingsV2(r) {\n const request = r.toApiJson ? r : new UpdateCategoryMappingsV2Request(r);\n return this.http.post(this._host + \"/category.v1.Categories/UpdateCategoryMappingsV2\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n startCategoryEmbeddingWorkflow(r) {\n const request = r.toApiJson ? r : new StartCategoryEmbeddingWorkflowRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/StartCategoryEmbeddingWorkflow\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n startCategoryMappingWorkflow(r) {\n const request = r.toApiJson ? r : new StartCategoryMappingWorkflowRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/StartCategoryMappingWorkflow\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n generateCategoryTrainingData(r) {\n const request = r.toApiJson ? r : new GenerateCategoryTrainingDataRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GenerateCategoryTrainingData\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listSuggestedMappingsForCategoryType(r) {\n const request = r.toApiJson ? r : new ListSuggestedMappingsForCategoryTypeRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/ListSuggestedMappingsForCategoryType\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSuggestedMappingsForCategoryTypeResponse.fromProto(resp)));\n }\n getSuggestedMappingsForCategory(r) {\n const request = r.toApiJson ? r : new GetSuggestedMappingsForCategoryRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetSuggestedMappingsForCategory\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSuggestedMappingsForCategoryResponse.fromProto(resp)));\n }\n getMappingManagementData(r) {\n const request = r.toApiJson ? r : new GetMappingManagementDataRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/GetMappingManagementData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMappingManagementDataResponse.fromProto(resp)));\n }\n deleteSuggestedMappings(r) {\n const request = r.toApiJson ? r : new DeleteSuggestedMappingsRequest(r);\n return this.http.post(this._host + \"/category.v1.Categories/DeleteSuggestedMappings\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n CategoriesApiService.ɵfac = function CategoriesApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || CategoriesApiService)();\n };\n CategoriesApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CategoriesApiService,\n factory: CategoriesApiService.ɵfac,\n providedIn: 'root'\n });\n return CategoriesApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet VCategoryValidationApiService = /*#__PURE__*/(() => {\n class VCategoryValidationApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n validateVCategories(r) {\n const request = r.toApiJson ? r : new ValidateVCategoriesRequest(r);\n return this.http.post(this._host + \"/category.v1.VCategoryValidation/ValidateVCategories\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ValidateVCategoriesResponse.fromProto(resp)));\n }\n }\n VCategoryValidationApiService.ɵfac = function VCategoryValidationApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || VCategoryValidationApiService)();\n };\n VCategoryValidationApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: VCategoryValidationApiService,\n factory: VCategoryValidationApiService.ɵfac,\n providedIn: 'root'\n });\n return VCategoryValidationApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Index.\n// *********************************\nlet CategoryService = /*#__PURE__*/(() => {\n class CategoryService {\n constructor(_api) {\n this._api = _api;\n }\n getCategory(categoryId) {\n return this._api.getCategory({\n categoryId: categoryId\n }).pipe(map(res => res.category));\n }\n getCategoryByExternalIDsAndType(categories, locale) {\n return this._api.getCategoryByExternalIDsAndType({\n categories: categories,\n locale: locale\n }).pipe(map(res => res.category));\n }\n getCategoryList(type, pagingOptions) {\n return this._api.getCategoryList({\n type: type,\n pagingOptions: pagingOptions\n }).pipe(map(res => res.category));\n }\n getCategoryMapping(externalId, inputType, outputType) {\n return this._api.getCategoryMapping({\n externalId: externalId,\n inputType: inputType,\n outputType: outputType\n }).pipe(map(res => res.category));\n }\n validateCategory(category) {\n return this._api.validateCategory({\n category: category\n }).pipe(map(res => res.isValid));\n }\n getCategoryBySearchTerm(searchTerm, type, pagingOptions, sortOptions) {\n return this._api.getCategoryBySearchTerm({\n searchTerm,\n type,\n pagingOptions,\n sortOptions\n }).pipe(map(res => res.category));\n }\n }\n CategoryService.ɵfac = function CategoryService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || CategoryService)(i0.ɵɵinject(CategoriesApiService));\n };\n CategoryService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CategoryService,\n factory: CategoryService.ɵfac,\n providedIn: 'root'\n });\n return CategoryService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nconst localeMap = new Map([['af', Locale.LOCALE_AFRIKAANS], ['cs', Locale.LOCALE_CZECH], ['nl', Locale.LOCALE_DUTCH], ['en', Locale.LOCALE_ENGLISH], ['fr', Locale.LOCALE_FRENCH], ['fr-ca', Locale.LOCALE_FRENCH_CANADA], ['de', Locale.LOCALE_GERMAN], ['it', Locale.LOCALE_ITALIAN], ['ja', Locale.LOCALE_JAPANESE], ['pt-br', Locale.LOCALE_PORTUGUESE_BRAZIL], ['ru', Locale.LOCALE_RUSSIAN], ['es-419', Locale.LOCALE_SPANISH_LATIN_AMERICA],\n// fallback options to handle regional language codes that are not supported by the API\n['es', Locale.LOCALE_SPANISH_LATIN_AMERICA], ['pt', Locale.LOCALE_PORTUGUESE_BRAZIL]]);\nclass CategoryUtils {\n /**\n * Convert user's language to Locale enum value\n * @param language user's language\n * @returns `Locale` enum value\n * @example CategoryUtils.localeFromLanguage('en') => Locale.LOCALE_ENGLISH\n */\n static localeFromLanguage(language) {\n const selectedLanguage = language?.toLowerCase() ?? '';\n const locale = localeMap.get(selectedLanguage);\n if (locale) {\n return locale;\n }\n // search for a fallback option based on the first slice of the language code\n const baseLanguage = selectedLanguage.split('-')[0];\n return localeMap.get(baseLanguage);\n }\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, BulkCreateCategoriesRequest, BulkCreateCategoryRelationshipsRequest, BulkDeleteCategoryRelationshipsRequest, CategoriesApiService, Category, CategoryClass, CategoryLocale, CategoryPagedRequestOptions, CategoryPagedResponseMetadata, CategoryRelationship, CategoryRelationships, CategoryRequest, CategorySearchRequest, CategorySearchResponse, CategoryService, CategoryTranslation, CategoryType, CategoryUtils, CreateCategoryRequest, CreateCategoryResponse, DeleteCategoryByExternalIDAndTypeRequest, DeleteCategoryRelationshipByExternalIDAndTypeRequest, DeleteCategoryRelationshipByOriginAndTargetRequest, DeleteCategoryRelationshipByOriginAndTargetRequestIdentifier, DeleteSuggestedMappingsRequest, FieldMask, GenerateCategoryTrainingDataRequest, GetAllCategoryMappingsRequest, GetAllCategoryMappingsResponse, GetCategoryByExternalIDsAndTypeRequest, GetCategoryByExternalIDsAndTypeResponse, GetCategoryByNameAndTypeRequest, GetCategoryByNameAndTypeResponse, GetCategoryListRequest, GetCategoryListResponse, GetCategoryMappingRequest, GetCategoryMappingResponse, GetCategoryRequest, GetCategoryResponse, GetMappingManagementDataRequest, GetMappingManagementDataResponse, GetMultiCategoryMappingRequest, GetMultiCategoryMappingResponse, GetSuggestedMappingsForCategoryRequest, GetSuggestedMappingsForCategoryResponse, ListSuggestedMappingsForCategoryTypeRequest, ListSuggestedMappingsForCategoryTypeResponse, Locale, MappingManagementData, PagedRequestOptions, PagedResponseMetadata, SortDirection, SortField, SortOptions, StartCategoryEmbeddingWorkflowRequest, StartCategoryMappingWorkflowRequest, SuggestedMappingTarget, SuggestedMappings, TypeCategoryRelationship, UpdateCategoryMappingsRequest, UpdateCategoryMappingsRequestMappings, UpdateCategoryMappingsV2Request, UpdateCategoryMappingsV2RequestMapping, UpdateCategoryRequest, UpdateCategoryRequestUpdateFields, VCategoryValidationApiService, ValidateCategoryRequest, ValidateCategoryResponse, ValidateVCategoriesRequest, ValidateVCategoriesResponse, ValidateVCategoriesResponseErrorsEntry };\n","import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nexport const CATEGORY_SEARCH_PAGE_SIZE = 10;\n\n/**\n * Provide the language to be used in Category Service (i.e. 'en')\n */\nexport const LANGUAGE_TOKEN = new InjectionToken>('Language Token to be used in Category Service');\n","import { Component, OnInit, Input, ChangeDetectionStrategy, Inject, Optional } from '@angular/core';\nimport { catchError, distinctUntilChanged, map, startWith, switchMap } from 'rxjs/operators';\nimport { EMPTY, iif, Observable, of, ReplaySubject } from 'rxjs';\nimport { CategoriesApiService, Category, CategoryRequest, CategoryType, CategoryUtils } from '@vendasta/category';\nimport { LANGUAGE_TOKEN } from '../constants';\nimport { AtlasLanguageService } from '@galaxy/atlas/core';\n\n@Component({\n selector: 'category-overview',\n templateUrl: './category-overview.component.html',\n styleUrls: ['./category-overview.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class CategoryOverviewComponent implements OnInit {\n //#region Input/Output parameters\n @Input() placeholder: string;\n\n @Input()\n get categoryType(): CategoryType {\n return this._categoryType;\n }\n set categoryType(value: CategoryType) {\n this._categoryType = value;\n this.refreshCategories();\n }\n private _categoryType: CategoryType = CategoryType.CATEGORY_TYPE_V_CATEGORY;\n\n @Input()\n get categoryIds(): string[] {\n return this._categoryIds;\n }\n set categoryIds(value: string[]) {\n this._categoryIds = value;\n this.refreshCategories();\n }\n private _categoryIds: string[] = [];\n //#endregion\n\n categories$: Observable;\n private readonly request$$: ReplaySubject = new ReplaySubject(1);\n private language$: Observable;\n\n constructor(\n private readonly categoryService: CategoriesApiService,\n @Optional() @Inject(LANGUAGE_TOKEN) private readonly languageToken$: Observable,\n @Optional() private readonly atlasLanguageService: AtlasLanguageService,\n ) {\n this.language$ = this.languageToken$ ?? this.atlasLanguageService?.language$ ?? EMPTY;\n }\n\n ngOnInit(): void {\n this.initObservables();\n }\n\n private refreshCategories(): void {\n const categoryType = this.categoryType ?? CategoryType.CATEGORY_TYPE_V_CATEGORY;\n const ids = this.categoryIds ?? [];\n const req = ids.map((externalId) => { externalId, categoryType });\n this.request$$.next(req);\n }\n\n private compareRequests(a?: CategoryRequest[], b?: CategoryRequest[]): boolean {\n if (a?.length !== b?.length) {\n return false;\n }\n return !a?.find((elA) => !b?.find((elB) => elA.externalId === elB.externalId));\n }\n\n private initObservables(): void {\n // since the language is not required, we need to start with null to make sure that a value is emitted\n const language$ = this.language$.pipe(startWith(null), distinctUntilChanged());\n\n this.categories$ = this.request$$.pipe(\n distinctUntilChanged(this.compareRequests),\n switchMap((categories) =>\n iif(\n // only send the request if there are at least one category\n () => categories?.length > 0,\n language$.pipe(switchMap((language) => this.getCategories(categories, language))),\n of([]),\n ),\n ),\n catchError(() => []),\n );\n }\n\n private getCategories(categories: CategoryRequest[], language?: string): Observable {\n return this.categoryService\n .getCategoryByExternalIDsAndType({\n categories,\n languageAndLocale: CategoryUtils.localeFromLanguage(language),\n })\n .pipe(map((res) => res?.category));\n }\n}\n","\n 0; else noCategories\">\n {{ category.name }}{{ isLast ? '' : ', ' }}\n \n \n {{ placeholder }}\n \n\n","import { Injectable } from '@angular/core';\nimport {\n CategoriesApiService,\n Category,\n CategorySearchResponse,\n CategoryType,\n PagedRequestOptionsInterface,\n SortOptionsInterface,\n} from '@vendasta/category';\nimport { Observable } from 'rxjs';\nimport { CategoryRequest } from '@vendasta/category';\nimport { map } from 'rxjs/operators';\n\n@Injectable({ providedIn: 'root' })\nexport class BusinessCategoryService {\n constructor(private readonly categoryService: CategoriesApiService) {}\n\n getCategoryMapping(externalId: string, inputType: CategoryType, outputType: CategoryType): Observable {\n return this.categoryService\n .getCategoryMapping({ externalId, inputType, outputType })\n .pipe(map((res) => res?.category));\n }\n\n getCategoryByExternalIDsAndType(categories: CategoryRequest[], locale?: string): Observable {\n return this.categoryService\n .getCategoryByExternalIDsAndType({ categories, locale })\n .pipe(map((res) => res?.category));\n }\n\n getCategorySearchByTerm(\n searchTerm: string,\n type: CategoryType,\n pagingOptions?: PagedRequestOptionsInterface,\n sortOptions?: SortOptionsInterface[],\n ): Observable {\n return this.categoryService.getCategoryBySearchTerm({ searchTerm, type, pagingOptions, sortOptions });\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n@Pipe({\n name: 'highlight',\n standalone: false,\n})\nexport class HighlightSearchPipe implements PipeTransform {\n constructor(private sanitizer: DomSanitizer) {}\n\n transform(value: string, searchTerm?: string): any {\n if (!searchTerm) {\n return value;\n }\n const options = searchTerm.split(' ').filter(Boolean).join('|');\n const re = new RegExp(`(${options})`, 'gi');\n const replacedValue = value.replace(re, '$1');\n return this.sanitizer.bypassSecurityTrustHtml(replacedValue);\n }\n}\n","import { EventEmitter, Injectable } from '@angular/core';\nimport {\n CategoriesApiService,\n Category,\n CategoryInterface,\n CategoryRequestInterface,\n CategoryType,\n CategoryUtils,\n PagedRequestOptionsInterface,\n SortDirection,\n SortField,\n SortOptionsInterface,\n} from '@vendasta/category';\nimport { BehaviorSubject, Observable, ReplaySubject, combineLatest } from 'rxjs';\nimport { debounceTime, distinctUntilChanged, map, startWith, switchMap, tap, withLatestFrom } from 'rxjs/operators';\nimport { CATEGORY_SEARCH_PAGE_SIZE } from '../constants';\nimport { SearchResult } from '../interfaces';\n\n@Injectable()\nexport class CategorySelectService {\n private readonly defaultPagingOptions: PagedRequestOptionsInterface = { pageSize: CATEGORY_SEARCH_PAGE_SIZE };\n private readonly defaultSortOptions: SortOptionsInterface[] = [\n { field: SortField.SORT_FIELD_SCORE, direction: SortDirection.SORT_DIRECTION_DESCENDING },\n { field: SortField.SORT_FIELD_FULL_NAME, direction: SortDirection.SORT_DIRECTION_ASCENDING },\n ];\n\n private readonly categorySearchTerm$$ = new ReplaySubject(1);\n private readonly categorySearchTerm$ = this.categorySearchTerm$$.pipe(\n startWith(''),\n map((term) => term?.trim()),\n distinctUntilChanged(),\n debounceTime(200),\n tap(() => {\n this.aggregatedResult$$.next(null);\n this.categorySearchPage$$.next(this.defaultPagingOptions);\n this.isInitialFetch = true;\n }),\n );\n\n readonly language$$ = new BehaviorSubject(null);\n\n private readonly categorySearchPage$$ = new ReplaySubject(1);\n private readonly categorySearchPage$ = this.categorySearchPage$$.pipe(\n startWith(this.defaultPagingOptions),\n distinctUntilChanged(),\n );\n\n private readonly categoryType$$ = new BehaviorSubject(CategoryType.CATEGORY_TYPE_V_CATEGORY);\n private readonly categoryType$ = this.categoryType$$.pipe(\n distinctUntilChanged(),\n tap(() => this.aggregatedResult$$.next(null)),\n );\n private readonly aggregatedResult$$ = new ReplaySubject(1);\n\n private nextCategoriesPage: PagedRequestOptionsInterface;\n private isInitialFetch = false;\n\n readonly afterInitialFetch: EventEmitter = new EventEmitter();\n\n readonly categories$: Observable = combineLatest([\n this.categorySearchTerm$,\n this.categorySearchPage$,\n this.categoryType$,\n this.language$$,\n ]).pipe(\n tap(() => (this.nextCategoriesPage = null)),\n switchMap(([searchTerm, pagingOptions, type, language]) => {\n if (isExternalId(searchTerm)) {\n return this.categoriesApiService\n .getCategoryByExternalIDsAndType({\n categories: [\n {\n externalId: searchTerm,\n categoryType: type,\n },\n ],\n languageAndLocale: CategoryUtils.localeFromLanguage(language),\n })\n .pipe(\n map((response) => {\n const categories = response?.category || [];\n // enforce the category type because the API will return null for vCategory\n categories.forEach((category) => (category.type = type));\n return { categories, searchTerm };\n }),\n );\n }\n return this.categoriesApiService\n .getCategoryBySearchTerm({\n searchTerm,\n type,\n pagingOptions,\n sortOptions: this.defaultSortOptions,\n onlyVisible: true,\n languageAndLocale: CategoryUtils.localeFromLanguage(language),\n })\n .pipe(\n tap((response) => {\n // set the paging for autocomplete infinite scroll\n if (response?.pagingMetadata?.hasMore) {\n this.nextCategoriesPage = {\n cursor: response.pagingMetadata.nextCursor,\n pageSize: CATEGORY_SEARCH_PAGE_SIZE,\n };\n }\n }),\n map((response) => {\n const categories = response?.category || [];\n // enforce the category type because the API will return null for vCategory\n categories.forEach((category) => (category.type = type));\n return { categories, searchTerm };\n }),\n );\n }),\n withLatestFrom(this.aggregatedResult$$),\n map(([result, newCategories]) => {\n result.categories = (newCategories ?? []).concat(result.categories);\n this.aggregatedResult$$.next(result.categories);\n if (this.isInitialFetch) {\n this.afterInitialFetch.emit();\n }\n this.isInitialFetch = false;\n return result;\n }),\n );\n\n constructor(private readonly categoriesApiService: CategoriesApiService) {}\n\n get categoryType(): CategoryType {\n return this.categoryType$$.value;\n }\n\n set categoryType(value: CategoryType) {\n this.categoryType$$.next(value);\n }\n\n fetch(searchTerm: string): void {\n this.categorySearchTerm$$.next(searchTerm);\n }\n\n fetchNext(): void {\n if (this.nextCategoriesPage) {\n this.categorySearchPage$$.next(this.nextCategoriesPage);\n }\n }\n\n getCategoryByExternalIDsAndType(categories: CategoryRequestInterface[]): Observable {\n return this.language$$.pipe(\n switchMap((language) =>\n this.categoriesApiService.getCategoryByExternalIDsAndType({\n categories,\n languageAndLocale: CategoryUtils.localeFromLanguage(language),\n }),\n ),\n map((response) => response?.category || []),\n );\n }\n}\n\nfunction isExternalId(term: string): boolean {\n const pattern = /[_:\\d]/;\n return pattern.test(term);\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { CategoryInterface } from '@vendasta/category';\n\n@Pipe({\n name: 'excludeCategories',\n standalone: false,\n})\nexport class ExcludeCategoriesPipe implements PipeTransform {\n transform(value: CategoryInterface[], excludeIds?: string[]): CategoryInterface[] {\n if (excludeIds?.length > 0) {\n return value.filter((category) => !excludeIds.includes(category.externalId));\n }\n return value;\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { CategoryInterface } from '@vendasta/category';\n\n@Pipe({\n name: 'chipColor',\n standalone: false,\n})\nexport class ChipColorPipe implements PipeTransform {\n transform(category: CategoryInterface): string {\n return this.getColor(category);\n }\n\n private isInvalid(category: CategoryInterface): boolean {\n return category.isHidden || !category.isActive;\n }\n\n private getColor(category: CategoryInterface): string {\n if (this.isInvalid(category)) {\n return 'red';\n }\n return '';\n }\n}\n","import { BooleanInput, NumberInput, coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport {\n AfterViewInit,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n OnDestroy,\n Optional,\n Output,\n Self,\n ViewChild,\n} from '@angular/core';\nimport { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\nimport { MatFormFieldControl } from '@angular/material/form-field';\nimport { AtlasLanguageService } from '@galaxy/atlas/core';\nimport { Category, CategoryInterface, CategoryRequest, CategoryType } from '@vendasta/category';\nimport { SubscriptionList } from '@vendasta/rx-utils';\nimport { BehaviorSubject, EMPTY, Observable, Subject, of } from 'rxjs';\nimport { debounceTime, distinctUntilChanged, filter, map, switchMap, tap } from 'rxjs/operators';\nimport { LANGUAGE_TOKEN } from '../constants';\nimport { SearchResult } from '../interfaces';\nimport { CategorySelectService } from './category-select.service';\n\ninterface SetCategoriesRequest {\n type: CategoryType;\n externalIds: string[];\n}\n\ntype OnChangeFn = (value: string[]) => void;\ntype OnTouchedFn = () => void;\n\n@Component({\n selector: 'category-select',\n templateUrl: './category-select.component.html',\n styleUrls: ['./category-select.component.scss'],\n providers: [CategorySelectService, { provide: MatFormFieldControl, useExisting: CategorySelectComponent }],\n standalone: false,\n})\nexport class CategorySelectComponent\n implements ControlValueAccessor, MatFormFieldControl, OnDestroy, AfterViewInit\n{\n private static nextId = 0;\n //#region Input/Output parameters\n @Input()\n get maxCategories(): number {\n return this._maxCategories;\n }\n set maxCategories(value: NumberInput) {\n this.setMaxCategories(coerceNumberProperty(value, 0));\n }\n private _maxCategories = 0;\n\n @Input()\n get categoryType(): CategoryType {\n return this.categorySelectService.categoryType;\n }\n set categoryType(value: CategoryType) {\n this.setCategoryType(value);\n }\n\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: BooleanInput) {\n this._disabled = coerceBooleanProperty(value);\n this.stateChanges$$.next();\n this._disabled ? this.addCategoryControl.disable() : this.addCategoryControl.enable();\n }\n private _disabled = false;\n\n @Input()\n get required(): boolean {\n return this._required;\n }\n set required(value: BooleanInput) {\n this._required = coerceBooleanProperty(value);\n this.stateChanges$$.next();\n }\n private _required = false;\n\n @Input()\n get value(): string[] {\n return this._value;\n }\n set value(externalIds: string[]) {\n this._value = externalIds;\n this.stateChanges$$.next();\n this.refreshCategoryChipList();\n }\n private _value: string[] = [];\n\n @Input()\n get placeholder(): string {\n return this._placeholder;\n }\n set placeholder(plh: string) {\n this._placeholder = plh;\n this.stateChanges$$.next();\n }\n private _placeholder = 'Add category...';\n\n // eslint-disable-next-line @angular-eslint/no-output-on-prefix\n @Output() readonly onCategoriesChange = new EventEmitter();\n //#endregion\n\n //#region Template bindings\n @ViewChild('addCategoryCtrl') private readonly addCategoryCtrl: ElementRef;\n @ViewChild('categoryOptionsContainer') private readonly categoryOptionsContainer: ElementRef;\n\n @HostBinding('[id]') id = `category-select-${CategorySelectComponent.nextId++}`;\n @HostBinding('[class.floating]') get shouldLabelFloat(): boolean {\n return this.focused || !this.empty;\n }\n //#endregion\n\n private readonly subscriptions = SubscriptionList.new();\n private readonly stateChanges$$ = new Subject();\n private _categories: CategoryInterface[] = [];\n\n onChange: OnChangeFn;\n onTouched: OnTouchedFn;\n focused = false;\n\n readonly addCategoryControl = new FormControl({ value: '', disabled: true });\n readonly refreshCategories$$ = new Subject();\n readonly searchResult$: Observable = this.categorySelectService.categories$;\n readonly loading$$ = new BehaviorSubject(false);\n readonly stateChanges = this.stateChanges$$;\n readonly controlType = 'category-select';\n\n constructor(\n @Optional() @Self() public ngControl: NgControl,\n private readonly categorySelectService: CategorySelectService,\n @Optional() @Inject(LANGUAGE_TOKEN) private readonly languageToken$: Observable,\n @Optional() private readonly atlasLanguageService: AtlasLanguageService,\n ) {\n if (this.ngControl) {\n // required by MatFormFieldControl\n this.ngControl.valueAccessor = this;\n }\n this.setupSubscriptions();\n }\n\n //#region Angular lifecycle event\n ngOnDestroy(): void {\n this.subscriptions.destroy();\n }\n\n ngAfterViewInit(): void {\n this.addCategoryCtrl.nativeElement.addEventListener('focusin', () => this.onFocusIn());\n this.addCategoryCtrl.nativeElement.addEventListener('focusout', () => this.onFocusOut());\n }\n //#endregion\n\n get empty(): boolean {\n return !(this._value?.length > 0);\n }\n\n get errorState(): boolean {\n return !this.isNull(this.ngControl.errors) && !!this.ngControl.touched;\n }\n\n get categories(): CategoryInterface[] {\n return this._categories;\n }\n set categories(value: CategoryInterface[]) {\n this._categories = value;\n this.onCategoriesChange.emit(value);\n }\n\n get addDisabled(): boolean {\n return (\n this.disabled ||\n (this._maxCategories > 0 && this.value?.length >= this._maxCategories) ||\n this.isNull(this.categorySelectService.categoryType)\n );\n }\n\n private setMaxCategories(value: number): void {\n if (value !== this._maxCategories) {\n this._maxCategories = value;\n }\n }\n\n private setCategoryType(value: CategoryType): void {\n if (value !== this.categorySelectService.categoryType) {\n this.categorySelectService.categoryType = value;\n this.refreshCategoryChipList();\n }\n }\n\n private isNull(value?: unknown): boolean {\n return value === null || value === undefined;\n }\n\n private setupSubscriptions(): void {\n this.subscriptions.add(this.categorySelectService.afterInitialFetch, () =>\n this.categoryOptionsContainer?.nativeElement?.scrollIntoView?.(),\n );\n\n const language$ = this.languageToken$ ?? this.atlasLanguageService?.language$ ?? EMPTY;\n this.subscriptions.add(language$, (value) => this.categorySelectService.language$$.next(value));\n\n const refreshCategories$ = this.refreshCategories$$.pipe(\n debounceTime(100),\n filter((r) => this.validCategoryRequest(r)),\n distinctUntilChanged((prev, curr: SetCategoriesRequest) => this.sameCategoryRequest(prev, curr)),\n tap(() => this.loading$$.next(true)),\n map((r) => r.externalIds?.map((externalId) => { externalId, categoryType: r.type }) ?? []),\n switchMap((r) => (r.length > 0 ? this.categorySelectService.getCategoryByExternalIDsAndType(r) : of([]))),\n map((categories) => this.validateCategories(categories)),\n tap(() => this.loading$$.next(false)),\n );\n this.subscriptions.add(refreshCategories$, (categories) => (this.categories = categories));\n }\n\n private validateCategories(categories: CategoryInterface[]): CategoryInterface[] {\n // accepts only the specified quantity of categories\n if (this._maxCategories > 0 && categories?.length > this._maxCategories) {\n categories = categories.slice(0, this._maxCategories);\n this.value = categories.map((c) => c.externalId);\n this.onChange?.(this.value);\n this.markAsTouched();\n }\n return categories;\n }\n\n private refreshCategoryChipList(): void {\n this.refreshCategories$$.next({\n type: this.categorySelectService.categoryType,\n externalIds: this._value,\n });\n }\n\n private validCategoryRequest(req: SetCategoriesRequest): boolean {\n return !this.isNull(req.type) && req.externalIds?.join() !== this.categories.map((c) => c.externalId).join();\n }\n\n private sameCategoryRequest(prev: SetCategoriesRequest, curr: SetCategoriesRequest): boolean {\n return prev.externalIds?.join() === curr.externalIds?.join() && prev.type === curr.type;\n }\n\n addCategory(event: MatAutocompleteSelectedEvent): void {\n this.markAsTouched();\n this.categories = [...this.categories, event.option.value];\n this.value = this.categories.map((c) => c.externalId);\n this.onChange?.(this.value);\n event.option.deselect();\n this.addCategoryCtrl.nativeElement.value = '';\n this.addCategoryCtrl.nativeElement.focus();\n this.categorySelectService.fetch('');\n }\n\n removeCategory(category: Category): void {\n this.markAsTouched();\n this.categories = this.categories.filter((c) => c.externalId !== category.externalId);\n this.value = this.categories.map((c) => c.externalId);\n this.onChange?.(this.value);\n }\n\n updateCategorySearchTerm(value: string): void {\n this.categorySelectService.fetch(value);\n }\n\n fetchMoreCategories(): void {\n this.categorySelectService.fetchNext();\n }\n\n setDescribedByIds(ids: string[]): void {\n this.addCategoryCtrl?.nativeElement?.setAttribute('aria-describedby', ids.join(' '));\n }\n\n onContainerClick(event?: MouseEvent): void {\n if (event) {\n // no-op\n }\n this.addCategoryCtrl?.nativeElement?.focus();\n }\n\n onFocusIn(): void {\n this.focused = true;\n this.stateChanges$$.next();\n }\n\n onFocusOut(): void {\n this.focused = false;\n this.onTouched?.();\n this.stateChanges$$.next();\n }\n\n //#region ControlValueAccessor implementation\n writeValue(externalIds: string[]) {\n this.value = externalIds;\n }\n\n registerOnChange(onChange: OnChangeFn) {\n this.onChange = onChange;\n }\n\n registerOnTouched(onTouched: OnTouchedFn) {\n this.onTouched = onTouched;\n }\n\n markAsTouched() {\n if (!this.ngControl.touched) {\n this.ngControl.control?.markAsTouched();\n }\n this.onTouched?.();\n }\n\n setDisabledState(disabled: boolean) {\n this.disabled = disabled;\n }\n //#endregion\n}\n","\n\n\n\n \n \n {{ category.fullName }}\n cancel\n \n \n \n \n \n
\n 0; else noResults\">\n \n \n \n \n \n \n \n \n No results found\n \n
\n
\n \n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { VaBadgeModule } from '@vendasta/uikit';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatButtonModule } from '@angular/material/button';\nimport { CategoryOverviewComponent } from './category-overview/category-overview.component';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { BusinessCategoryService } from './business-category.service';\nimport { GalaxyInfiniteScrollTriggerModule } from '@vendasta/galaxy/infinite-scroll-trigger';\nimport { HighlightSearchPipe } from './pipes/highlight-search.pipe';\nimport { CategorySelectComponent } from './category-select/category-select.component';\nimport { MatChipsModule } from '@angular/material/chips';\nimport { ExcludeCategoriesPipe } from './pipes/exclude-categories.pipe';\nimport { ChipColorPipe } from './pipes/chip-color.pipe';\nimport { GalaxyLoadingSpinnerModule } from '@vendasta/galaxy/loading-spinner';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\nimport { CategorySelectService } from './category-select/category-select.service';\n\n@NgModule({\n declarations: [\n CategoryOverviewComponent,\n HighlightSearchPipe,\n CategorySelectComponent,\n ExcludeCategoriesPipe,\n ChipColorPipe,\n ],\n imports: [\n CommonModule,\n MatIconModule,\n MatButtonModule,\n MatInputModule,\n MatFormFieldModule,\n MatAutocompleteModule,\n MatTooltipModule,\n FormsModule,\n ReactiveFormsModule,\n VaBadgeModule,\n MatProgressSpinnerModule,\n GalaxyInfiniteScrollTriggerModule,\n MatChipsModule,\n GalaxyLoadingSpinnerModule,\n GalaxyFormFieldModule,\n ],\n providers: [BusinessCategoryService, CategorySelectService],\n exports: [CategoryOverviewComponent, CategorySelectComponent, ExcludeCategoriesPipe],\n})\nexport class BusinessCategoryModule {}\n","import { CategoryInterface, CategoryType, Locale } from '@vendasta/category';\n\n/** External IDs included in Health category which are not covered by the root name */\nconst healthCategoryExceptions = ['addiction_treatment_center'];\nconst healthCategoryRootName = 'health';\n\n/**\n * Health category determined by:\n * vTax externalId starting with `health`\n * vCategory under the `Health & Medical` root category\n * vCategory externalId equal to `addiction_treatment_center` (mapped from vTax health:physicians:addiction_specialist)\n */\nexport function isHealthCategory(category: CategoryInterface): boolean {\n const type = category?.type ?? CategoryType.CATEGORY_TYPE_V_CATEGORY;\n const englishTranslation = category?.translations?.find((t) => t.locale === Locale.LOCALE_ENGLISH);\n const fullName = (englishTranslation?.fullName || category?.fullName)?.toLowerCase();\n const externalId = category?.externalId?.toLocaleLowerCase();\n return (\n (type === CategoryType.CATEGORY_TYPE_V_TAX && externalId.startsWith(healthCategoryRootName)) ||\n (type === CategoryType.CATEGORY_TYPE_V_CATEGORY && fullName.startsWith(healthCategoryRootName)) ||\n healthCategoryExceptions.includes[externalId]\n );\n}\n\nexport function isInvalidForSelection(category: CategoryInterface): boolean {\n // when category is not active or hidden, it is invalid for selection\n return !category.isActive || category.isHidden;\n}\n","export { BusinessCategoryModule } from './lib/business-category.module';\nexport { BusinessCategoryService } from './lib/business-category.service';\nexport { CategorySelectService } from './lib/category-select/category-select.service';\nexport { CategoryOverviewComponent } from './lib/category-overview/category-overview.component';\nexport { CategorySelectComponent } from './lib/category-select/category-select.component';\nexport { ExcludeCategoriesPipe } from './lib/pipes/exclude-categories.pipe';\nexport * from './lib/constants';\nexport * from './lib/utils';\n","import { Geo } from '@vendasta/listing-products';\n\nexport enum FieldName {\n FirstName = 'firstName',\n LastName = 'lastName',\n Country = 'country',\n City = 'city',\n PostalCode = 'zip',\n Province = 'province',\n Address1 = 'address1',\n Address2 = 'address2',\n Phone = 'phone',\n Company = 'company',\n}\n\nexport interface Address {\n company?: string;\n firstName?: string;\n lastName?: string;\n address1: string;\n address2: string;\n city: string;\n province?: string;\n zip: string;\n // Country code ISO 3166-1 alpha-2\n country: string;\n phone?: string;\n location?: Geo;\n}\n\nexport interface AddressAutoComplete {\n placeId: string;\n address1: string;\n city: string;\n province?: string;\n zip: string;\n country: string;\n location?: Geo;\n}\n\nexport interface Province {\n code: string;\n name: string;\n}\nexport interface LoadCountriesResponse {\n data: { countries: Country[] };\n}\n\nexport interface LoadCountryResponse {\n data: { country: Country };\n}\nexport interface Country {\n name: string;\n code: string;\n continent: string;\n phoneNumberPrefix: number;\n autocompletionField: string;\n labels: {\n address1: string;\n address2: string;\n city: string;\n company: string;\n country: string;\n firstName: string;\n lastName: string;\n phone: string;\n postalCode: string;\n zone: string;\n };\n formatting: {\n edit: string;\n show: string;\n };\n zones: Province[];\n}\n\nexport interface ResponseError {\n errors: {\n locations: {\n column: number;\n line: number;\n }[];\n message: string;\n problems: {\n explanation: string;\n }[];\n value: any;\n }[];\n}\n","import { Injectable } from '@angular/core';\nimport { LangChangeEvent, TranslateService } from '@ngx-translate/core';\nimport { AddressAPIService, CountryConfiguration, CountryOption } from '@vendasta/address';\nimport { EMPTY, Observable, of } from 'rxjs';\nimport { catchError, map, shareReplay, startWith, switchMap, tap } from 'rxjs/operators';\nimport { Address, FieldName, Province } from './interface';\n\nconst FIELD_REGEXP = /({\\w+})/g;\nconst FIELDS_MAPPING: {\n [key: string]: FieldName;\n} = {\n '{firstName}': FieldName.FirstName,\n '{lastName}': FieldName.LastName,\n '{country}': FieldName.Country,\n '{city}': FieldName.City,\n '{zip}': FieldName.PostalCode,\n '{province}': FieldName.Province,\n '{address1}': FieldName.Address1,\n '{address2}': FieldName.Address2,\n '{phone}': FieldName.Phone,\n '{company}': FieldName.Company,\n};\nconst LINE_DELIMITER = '_';\nconst DEFAULT_FORM_LAYOUT =\n '{firstName}{lastName}_{company}_{address1}_{address2}_{city}_{country}{province}{zip}_{phone}';\nconst DEFAULT_SHOW_LAYOUT =\n '{lastName} {firstName}_{company}_{address1} {address2}_{city} {province} {zip}_{country}_{phone}';\n\n@Injectable()\nexport class AddressService {\n private countryConfigCache: Map = new Map([]);\n private countryOptionCache: Map = new Map([]);\n private countryConfig$: Observable;\n private countryOptions$: Observable;\n\n constructor(\n private addressApiService: AddressAPIService,\n private translateService: TranslateService,\n ) {}\n\n public mailingAddress$(address: Address): Observable {\n return this.getCountry(address.country).pipe(\n map((country: CountryConfiguration) => this.format(country, address)),\n map((addressLines: string[]) => {\n return addressLines.filter((line) => !!line).join('\\n');\n }),\n );\n }\n\n public shortAddress$(address: Address): Observable {\n return this.getCountry(address.country).pipe(\n map((country: CountryConfiguration) =>\n this.format(country, {\n address1: address.address1,\n address2: address.address2,\n city: address.city,\n province: address.province,\n zip: '',\n country: '',\n } as Address),\n ),\n map((addressLines: string[]) => {\n return addressLines.filter((line) => !!line).join(', ');\n }),\n );\n }\n\n // Fetch information for rendering a country's input or output\n public getCountry(countryCode: string): Observable {\n if (!countryCode) {\n return of(null);\n }\n return this.translateService.onLangChange.pipe(\n map((langChangeEvent: LangChangeEvent) => langChangeEvent.lang),\n startWith(this.translateService.currentLang || this.translateService.defaultLang),\n switchMap((locale: string) => {\n const cacheKey = `${locale}:${countryCode}`;\n if (this.countryConfigCache.has(cacheKey)) {\n return of(this.countryConfigCache.get(cacheKey));\n }\n if (this.countryConfig$) {\n return this.countryConfig$;\n }\n this.countryConfig$ = this.addressApiService.getCountryConfiguration(countryCode, locale).pipe(\n tap((countryConfig: CountryConfiguration) => {\n this.countryConfigCache.set(cacheKey, countryConfig);\n this.countryConfig$ = null;\n }),\n catchError(() => {\n this.countryConfig$ = null;\n return EMPTY;\n }),\n shareReplay(),\n );\n return this.countryConfig$;\n }),\n );\n }\n\n // Fetch information for rendering country options for a form\n public listAllCountryOptions(): Observable {\n return this.translateService.onLangChange.pipe(\n map((langChangeEvent: LangChangeEvent) => langChangeEvent.lang),\n startWith(this.translateService.currentLang),\n switchMap((locale: string) => {\n const cacheKey = locale;\n if (this.countryOptionCache.has(locale)) {\n return of(this.countryOptionCache.get(locale));\n }\n if (this.countryOptions$) {\n return this.countryOptions$;\n }\n this.countryOptions$ = this.addressApiService.listAllCountryOptions(locale).pipe(\n tap((countryOptions: CountryOption[]) => {\n this.countryOptionCache.set(cacheKey, countryOptions);\n this.countryOptions$ = null;\n }),\n shareReplay(),\n );\n return this.countryOptions$;\n }),\n );\n }\n\n // Fetch an ordered list of fields to use for building address form data\n public getOrderedFields(countryCode: string): Observable {\n return this.getCountry(countryCode).pipe(\n map((country: CountryConfiguration) => {\n const format = country ? country.formatting.edit : DEFAULT_FORM_LAYOUT;\n return format.split(LINE_DELIMITER).map((fields) => {\n const result = fields.match(FIELD_REGEXP);\n if (!result) {\n return [];\n }\n\n const fieldMapping = result.map((field) => {\n return FIELDS_MAPPING[field].toString();\n });\n\n // always put city before postal code\n const cityIndex = fieldMapping.indexOf(FieldName.City.toString());\n const postalCodeIndex = fieldMapping.indexOf(FieldName.PostalCode.toString());\n if (cityIndex >= 0 && postalCodeIndex >= 0 && cityIndex > postalCodeIndex) {\n fieldMapping[cityIndex] = FieldName.PostalCode.toString();\n fieldMapping[postalCodeIndex] = FieldName.City.toString();\n }\n return fieldMapping;\n });\n }),\n );\n }\n\n public getProvince(provinces: Province[], provinceCode: string): Province {\n return (\n provinces?.find((province) => province.code === provinceCode) || {\n name: '',\n code: '',\n }\n );\n }\n\n /* PRIVATE UTILITY FUNCTIONS */\n private format(country: CountryConfiguration, address: Address): string[] {\n const layout = country ? country.formatting.show || DEFAULT_SHOW_LAYOUT : DEFAULT_SHOW_LAYOUT;\n return layout.split(LINE_DELIMITER).map((fields) => this.renderLineTemplate(country, fields, address).trim());\n }\n\n private renderLineTemplate(country: CountryConfiguration, template: string, address: Address): string {\n const result = template.match(FIELD_REGEXP);\n if (!result) {\n return '';\n }\n\n let line = template;\n let lineIsEmpty = true;\n result.forEach((key) => {\n const addressKey: string = key.replace('{', '').replace('}', '');\n if (address[addressKey]) {\n lineIsEmpty = false;\n }\n\n switch (addressKey) {\n case FieldName.Country.toString():\n line = line.replace(`{${FieldName.Country}}`, address.country ? country.name : '');\n break;\n case FieldName.Province.toString(): {\n let province = address.province || '';\n if (province && country) {\n province = this.getProvince(country.zones, province).name;\n }\n line = line.replace(`{${FieldName.Province}}`, province);\n break;\n }\n default:\n line = line.replace(key, address[addressKey] || '');\n break;\n }\n });\n if (lineIsEmpty) {\n return '';\n } else {\n return line.trim().replace(' ', ' ');\n }\n }\n}\n","{\n \"LOGO\": \"Logo\",\n \"PRIMARY\": \"Primary\",\n \"FRONTEND\": {\n \"BUSINESSES\": {\n \"ADDRESS_FORM\": {\n \"PREVIEW\": \"Preview\",\n \"ADDRESS_2\": \"Additional address line\",\n \"COUNTRY_REGION\": \"Country/Region\",\n \"INVALID_COUNTRY_NAME\": \"Please select a valid country name\",\n \"REQUIRED_FIELD\": \"This field is required\",\n \"INVALID_SELECTION\": \"Invalid selection\",\n \"INVALID\": \"Invalid\"\n },\n \"YES\": \"Yes\",\n \"NO\": \"No\",\n \"CANCEL\": \"Cancel\",\n \"SAVE\": \"Save\",\n \"DELETE\": \"Delete\",\n \"PRIMARY_INFO\": \"Primary info\",\n \"LOCATION\": \"Location\",\n \"BASIC_INFORMATION\": \"Basic information\",\n \"BASICS\": \"Basics\",\n \"BUSINESS_NAME\": \"Business name\",\n \"COMPETITORS\": \"Competitors\",\n \"COMPETITOR_NAME\": \"Competitor name\",\n \"COMPETITOR_URL\": \"Competitor URL\",\n \"COMPETITOR_DELETE_MESSAGE\": \"This competitor will be removed from business competitors.\",\n \"COMPETITOR_SAVE_SUCCESS\": \"Competitor saved successfully\",\n \"COMPETITOR_SAVE_ERROR\": \"Error saving Competitor\",\n \"COMPETITOR_DELETE_SUCCESS\": \"Competitor deleted successfully\",\n \"COMPETITOR_DELETE_ERROR\": \"Error deleting Competitor\",\n \"COMPETITOR_NAME_REQUIRED\": \"Name is required\",\n \"COMPETITOR_DELETE\": \"Delete {{name}}?\",\n \"CONTACT\": \"Contact\",\n \"ADD_COMMON_BUSINESS_NAME\": \"+ Add common business name\",\n \"COMMON_BUSINESS_NAME\": \"Common business name\",\n \"SERVICE_AREA_BUSINESS\": \"Service area business\",\n \"SERVICE_AREA_BUSINESS_HINT\": \"A business that visits or delivers to customers directly\",\n \"CUSTOMER_LOCATION_ONLY\": \"Hide my address and only show service areas\",\n \"CUSTOMER_AND_BUSINESS_LOCATION\": \"Show my address in addition to service areas\",\n \"SERVICE_AREAS\": \"Service areas\",\n \"SERVICE_AREAS_ERROR\": \"At least 1 service area is required\",\n \"WEBSITE\": \"Website\",\n \"BUSINESS_EMAIL\": \"Business email\",\n \"PRIMARY_CATEGORY\": \"Primary category\",\n \"ADDITIONAL_CATEGORIES\": \"Additional categories\",\n \"BUSINESS_CATEGORIES_WHATS_THIS\": \"What's this?\",\n \"BUSINESS_CATEGORIES_HINT\": \"Start typing to search business categories\",\n \"BUSINESS_CATEGORIES_ERROR\": \"At least 1 category is required\",\n \"BUSINESS_CATEGORIES_INVALID\": \"Some of your categories are no longer supported. Please consider choosing new categories.\",\n \"OPERATIONAL_INFORMATION\": \"Operational information\",\n \"REOPENING_DATE\": \"Reopening date\",\n \"COVID_INFORMATION\": \"COVID information\",\n \"COMMERCE_ONLY\": \"Commerce only\",\n \"BUSINESS_OPEN_CLOSE\": \"Business open/closed\",\n \"SELLING_METHODS\": \"Selling methods\",\n \"ADD_SERVICE\": \"+ Add service\",\n \"SERVICES_OFFERED\": \"Services offered\",\n \"ADD_BRAND\": \"+ Add brand\",\n \"BRANDS_CARRIED\": \"Brands carried\",\n \"LANDMARK\": \"Landmark\",\n \"BOOKING_URL\": \"Booking Link\",\n \"CONDITIONAL_FIELDS\": {\n \"ICO\": \"ICO\"\n },\n \"MAP_GEOLOCATION\": \"Map (GeoLocation)\",\n \"GEOCONTROL_TOOLTIP_NO_VALUE\": \"Click the map to place your marker\",\n \"GEOCONTROL_TOOLTIP_HAS_VALUE\": \"Drag the marker to edit your location\",\n \"PHONE\": \"Phone\",\n \"PHONE_NUMBERS\": \"Phone numbers\",\n \"ADD_PHONE_NUMBER\": \"+ Add phone number\",\n \"PHONE_NUMBERS_ALLOWED_FORMATS\": \"Phone numbers must be formatted as +246123456789\",\n \"FAX_NUMBER\": \"Fax number\",\n \"CELL_NUMBER\": \"Cell number\",\n \"ADD_CALL_TRACKING_NUMBER\": \"+ Add call tracking number\",\n \"CALL_TRACKING_NUMBERS\": \"Call tracking numbers\",\n \"TOLL_FREE_NUMBER\": \"Toll-free number\",\n \"HOURS\": \"Hours\",\n \"MORE_HOURS\": \"More hours\",\n \"MORE_HOURS_EMPTY\": \"More hours aren't applicable to your business category\",\n \"ACTIVE\": \"Active\",\n \"ADD\": \"Add\",\n \"SOCIAL\": \"Social\",\n \"BUSINESS_PAGES\": \"Business pages\",\n \"FACEBOOK_URL\": \"Facebook URL\",\n \"FOURSQUARE_URL\": \"Foursquare URL\",\n \"LINKEDIN_URL\": \"LinkedIn URL\",\n \"TWITTER_URL\": \"Twitter URL\",\n \"PINTEREST_URL\": \"Pinterest URL\",\n \"INSTAGRAM_URL\": \"Instagram URL\",\n \"YOUTUBE_URL\": \"YouTube URL\",\n \"BLOG\": \"Blog\",\n \"BLOG_URL\": \"Blog / RSS Feed URL\",\n \"PROFESSIONAL_RECORDS\": \"Professional records\",\n \"PERSONAL_INFORMATION\": \"Personal information\",\n \"FIRST_NAME\": \"First name\",\n \"MIDDLE_INITIAL\": \"Middle initial(s)\",\n \"LAST_NAME\": \"Last name\",\n \"PROFESSIONAL_CREDENTIALS\": \"Professional credentials\",\n \"GENDER\": \"Gender\",\n \"GENDERS\": {\n \"SELECT_OPTION\": \"Select option\",\n \"MALE\": \"Male\",\n \"FEMALE\": \"Female\",\n \"OTHER\": \"Other\"\n },\n \"IS_PROVIDER\": \"Provider Type\",\n \"IS_PROVIDER_ENUM\": {\n \"NOT_SPECIFIED\": \"Select Option\",\n \"PRACTITIONER\": \"Practitioner\",\n \"CLINIC\": \"Clinic\"\n },\n \"PRACTICE_NAME\": \"Practice Name\",\n \"EMAIL_ADDRESS\": \"Email address\",\n \"ACCEPTING_PATIENTS\": \"Accepting patients\",\n \"INSURANCES_ACCEPTED\": \"Insurances accepted\",\n \"ADD_INSURANCE\": \"'+ Add insurance\",\n \"HOSPITAL_AFFILIATIONS\": \"Hospital affiliations\",\n \"ADD_AFFILIATIONS\": \"+ Add affiliations\",\n \"QUALIFICATIONS_EXPERIENCE\": {\n \"DOCTORDOTCOM_CATEGORIES\": \"Doctor.com Categories\",\n \"QUALIFICATIONS_EXPERIENCE\": \"Qualifications & experience\",\n \"EDUCATION\": \"Education\",\n \"SPECIALTIES\": \"Specialties\",\n \"RESIDENCIES\": \"Residencies\",\n \"FELLOWSHIPS\": \"Fellowships\",\n \"ADD_EDUCATION\": \"+ Add education\",\n \"ADD_SPECIALTY\": \"+ Add specialty\",\n \"ADD_RESIDENCY\": \"+ Add residency\",\n \"ADD_FELLOWSHIP\": \"+ Add fellowship\",\n \"NPI\": \"NPI (National Provider Identifier)\",\n \"MEDICAL_LICENSE_NUMBER\": \"Medical license number\",\n \"STATE_LICENSE\": \"State license\"\n },\n \"PRACTICE_INFORMATION\": \"Practice information\",\n \"OFFICE_NAME\": \"Firm/Clinic/Office name\",\n \"MARKETING\": \"Marketing\",\n \"SEARCH_ENGINE_INFORMATION\": \"Search engine information\",\n \"SEO_KEYWORDS\": \"SEO keywords\",\n \"ADD_SEO_KEYWORD\": \"+ Add SEO keyword\",\n \"SHARE_OF_VOICE_KEYWORDS\": \"Share of voice keywords\",\n \"ADD_SHARE_OF_VOICE_KEYWORD\": \"+ Add share of voice keyword\",\n \"COMPETITOR_NAMES\": \"Competitor names\",\n \"ADD_COMPETITOR\": \"+ Add competitor\",\n \"BUSINESS_DESCRIPTIONS\": \"Business descriptions\",\n \"TAGLINE\": \"Tagline\",\n \"SHORT_DESCRIPTION\": \"Short description\",\n \"DESCRIPTION\": \"Description\",\n \"LONG_DESCRIPTION\": \"Long description\",\n \"MEDIA\": \"Media\",\n \"ATTRIBUTES\": \"Custom fields\",\n \"IMAGES\": \"Images\",\n \"DESCRIPTIONS\": \"Descriptions\",\n \"ATTRIBUTES_TAB\": \"Attributes\",\n \"CUSTOM_FIELDS\": \"Custom fields\",\n \"ADMINISTRATION\": \"Administration\",\n \"SALES\": \"Sales\",\n \"MARKET\": \"Market\",\n \"PRIMARY_SALESPERSON\": \"Primary salesperson\",\n \"ADD_ADDITIONAL_SALESPEOPLE\": \"+ Add additional salespeople\",\n \"PRIMARY_SALESPERSON_MUST_BE_SELECTED\": \"Primary salesperson must be selected\",\n \"ADDITIONAL_SALESPEOPLE\": \"Additional salespeople\",\n \"CUSTOMER_IDENTIFIER\": \"Customer identifier\",\n \"TAGS\": \"Tags\",\n \"NOTES\": \"Notes\",\n \"PHOTO\": \"Photo\",\n \"GALLERY\": \"Gallery\",\n \"MEDIA_TAB\": {\n \"PHOTO_IMAGE_NOUN\": \"Photo\",\n \"PHOTOS\": \"Gallery\",\n \"ADD_PHOTOS\": \"Add photos\",\n \"UPLOAD_PHOTO\": \"Upload photo\",\n \"UNABLE_TO_LOAD_IMAGES\": \"Unable to load images.\",\n \"LOAD_MORE\": \"Load more\",\n \"SHOWING_X_OF_Y\": \"Showing {{count}} of {{total}}\",\n \"ADDING_IMAGES_BOLSTERS\": \"Adding images bolsters your profile.\",\n \"IMAGE_MENU\": {\n \"SET_LOGO_QUESTION\": \"Set logo?\",\n \"SET_LOGO\": \"Set logo\",\n \"SET_LOGO_BODY\": \"Would you like to set this photo as your logo? The photo will automatically be cropped to a square format and replace any existing logo.\",\n \"SET_PRIMARY\": \"Set primary\",\n \"SET_PRIMARY_PHOTO\": \"Set primary photo?\",\n \"SET_PRIMARY_BODY\": \"Would you like to set this photo as your primary photo? This will replace any existing primary photo.\",\n \"DELETE_PHOTO_QUESTION\": \"Are you sure you want to delete this photo\",\n \"DELETE_PHOTO\": \"Delete photo\",\n \"DELETE_PHOTO_BODY\": \"This action cannot be undone\",\n \"CROP_PHOTO\": \"Crop photo\",\n \"EDIT\": \"Edit\",\n \"DELETE\": \"Delete\",\n \"UPLOAD_NEW\": \"Upload New\",\n \"GALLERY_SECOND_TITLE\": \"These photos will be shared on listings that accept images\",\n \"GALLERY_ALERT\": \"Add up to 10 images at a time. 5 MB max file size.\",\n \"ADD_GALLARY_PHOTO\": \"Add gallery photo\",\n \"MAIN_LOGO_TITLE\": \"Main logo\",\n \"MAIN_LOGO_HOVER_TEXT\": \"Your primary business logo. Used for syncing listings and should have a 1:1 aspect ratio.\",\n \"MAIN_LOGO_BUTTON_TEXT\": \"Add main logo\",\n \"SECONDARY_LOGO_TITLE\": \"Secondary logo\",\n \"SECONDARY_LOGO_HOVER_TEXT\": \"Displayed across the application and in customer-facing communications. Ideal for a 4:3 aspect ratio.\",\n \"SECONDARY_LOGO_BUTTON_TEXT\": \"Add secondary logo\",\n \"PRIMARY_TITLE\": \"Cover photo \",\n \"PRIMARY_HOVER_TEXT\": \"Showcases your business, products, or style. Used for syncing listings with a 16:9 aspect ratio.\",\n \"PRIMARY_BUTTON_TEXT\": \"Add cover photo\",\n \"IMAGE_UPDATE_TITLE\": \"Upload New Image\",\n \"IMAGE_UPDATE_BODY\": \" Select a new image to replace the picture. Ensure it meets the required size and dimensions.\"\n },\n \"LOGO\": \"Logo\",\n \"PRIMARY\": \"Primary\",\n \"PHOTO_UPLOADED_SUCCESSFULLY\": \"Photo uploaded successfully!\",\n \"LOGO_SET_SUCCESSFULLY\": \"Logo set successfully\",\n \"ERROR_SETTING_PHOTO_AS_LOGO\": \"Error setting photo as logo\",\n \"MAIN_LOGO_SET_SUCCESSFULLY\": \"Main logo uploaded successfully!\",\n \"SECONDARY_LOGO_SET_SUCCESSFULLY\": \"Secondary logo uploaded successfully!\",\n \"COVER_PHOTO_SET_SUCCESSFULLY\": \"Cover photo uploaded successfully!\",\n \"ERROR_SETTING_PHOTO\": \"Error while uploading photo\",\n \"PHOTO_DELETED\": \"Photo deleted\",\n \"ERROR_DELETING_PHOTO\": \"Error deleting photo\"\n },\n \"TOOLTIPS\": {\n \"SELLING_METHOD_TOOLTIP\": \"The primary method that your business selling stuff.\",\n \"LANDMARK_TOOLTIP\": \"The general area in which your business is physically located. Typical landmark addresses include mall and office names (for example, Oakview Mall or Clocktower Plaza). Only enter a landmark if your street address does not accurately pinpoint your business's location.\",\n \"SERVICES_OFFERED_TOOLTIP\": \"The primary services that your business offers (for example, personal tax filing or root canals).\",\n \"BRANDS_CARRIED_TOOLTIP\": \"The primary brands that your business carries (for example, Ford, Apple, Firestone, or Allstate).\",\n \"SHARE_OF_VOICE_TOOLTIP\": \"Enter products, services or other keywords to compare the business' search engine share of voice to their competition.\",\n \"COMPETITORS_TOOLTIP\": \"Enter competitor names to benchmark the search engine prominence of those competitors against the business.\",\n \"ADDITIONAL_SALESPERSON_TOOLTIP\": \"The primary salesperson's information will be displayed in the store and in campaign emails for this account. However, you can assign up to 5 additional salespeople to this account.\",\n \"CUSTOMER_ID_TOOLTIP\": \"Changing this ID may result in unintended consequences, particularly if your company uses an SSO integration. If you are unsure if you use SSO, please reach out to your administrator before proceeding.\",\n \"VTAX_TOOLTIP\": \"Business categories help to ensure that relevant listing sources are turned on within {{rmProductName}} (Ex. Selecting 'Restaurants' will turn Urbanspoon to ON and turn Cars.com to OFF). Business categories will also help retrieve the appropriate RSS Feeds in {{smProductName}} and industry averages throughout the product suite.\",\n \"CALL_TRACKING_TOOLTIP\": \"A call tracking number is a phone number that gathers analytics for inbound calls. Call tracking is commonly used as a method of performance assessment for marketing campaigns. This number will be used to find business listings and assess their accuracy in the Listings tab of {{rmProductName}}.\",\n \"TAGLINE_TOOLTIP\": \"Your company slogan or a brief description of the business. The tagline will appear directly below the company name at the top of the {{msProductName}} My Listing.\",\n \"COMMON_BUSINESS_NAME_TOOLTIP\": \"Other names that your business is commonly called (Ex. Patty's Irish Pub referred to as Patty's or Patty's Pub). Common business names will become mention searches within {{rmProductName}}.\",\n \"SEO_CATEGORY_TOOLTIP\": \"SEO (Search Engine Optimization) keywords are key words or phrases that help customers find your business via search engines. These keywords will be displayed on the {{msProductName}} My Listing to enhance SEO.\"\n },\n \"LENGTH_OF_REPEATED_FIELD_ERROR\": \"Must be less than {{maxLength}} characters across all {{fieldName}}, when joined with commas.\",\n \"PAYMENT_METHODS\": {\n \"PAYMENT_METHODS\": \"Payment methods\",\n \"AMERICAN_EXPRESS\": \"American Express\",\n \"ANDROID_PAY\": \"Google Pay\",\n \"APPLE_PAY\": \"Apple Pay\",\n \"CASH\": \"Cash\",\n \"CHECK\": \"Check\",\n \"DEBIT\": \"Debit\",\n \"DINERS_CLUB\": \"Diners Club\",\n \"DISCOVER\": \"Discover\",\n \"MASTERCARD\": \"MasterCard\",\n \"PAYPAL\": \"PayPal\",\n \"SAMSUNG_PAY\": \"Samsung Pay\",\n \"STORE_CARD\": \"Store card\",\n \"TRAVELERS_CHECK\": \"Travelers check\",\n \"VISA\": \"Visa\",\n \"CCS\": \"CCS\",\n \"SODEXO\": \"Sodexo\",\n \"GOPAY\": \"GoPay\",\n \"V_PAY\": \"V PAY\",\n \"FINANCING\": \"Financing\",\n \"INVOICE\": \"Invoice\",\n \"PAYSEC\": \"PaySec\",\n \"BITCOIN\": \"Bitcoin\",\n \"INVALID_PAYMENT_METHODS\": \"Selected payment method \\\"{{paymentMethods}}\\\" is not valid for your country\"\n },\n \"STANDARDIZED_TITLES\": {\n \"ACCOUNTING\": \"ACCOUNTING\",\n \"ADMINISTRATOR\": \"ADMINISTRATOR\",\n \"BOARD_MEMBER\": \"BOARD MEMBER\",\n \"CHAIRMAN\": \"CHAIRMAN\",\n \"CEO\": \"CEO\",\n \"CIO_CTO\": \"CIO / CTO\",\n \"CONTROLLER\": \"CONTROLLER\",\n \"CORPORATE_TAX\": \"CORPORATE TAX\",\n \"DIRECTOR\": \"DIRECTOR\",\n \"DIVISION_HEAD\": \"DIVISION HEAD\",\n \"E_COMMERCE\": \"E COMMERCE\",\n \"EDUCATOR\": \"EDUCATOR\",\n \"ENGINEERING\": \"ENGINEERING\",\n \"ENVIRONMENT\": \"ENVIRONMENT\",\n \"EVP\": \"EVP\",\n \"EXECUTIVE\": \"EXECUTIVE\",\n \"FACILITIES\": \"FACILITIES\",\n \"FINANCE\": \"FINANCE\",\n \"INSURANCE\": \"INSURANCE\",\n \"INTERNAL_AUDIT\": \"INTERNAL AUDIT\",\n \"INTERNATIONAL\": \"INTERNATIONAL\",\n \"IT_EXECUTIVE\": \"IT EXECUTIVE\",\n \"LEGAL\": \"LEGAL\",\n \"LEGAL_COUNSEL\": \"LEGAL COUNSEL\",\n \"MANAGER\": \"MANAGER\",\n \"MANUFACTURING\": \"MANUFACTURING\",\n \"MARKETING\": \"MARKETING\",\n \"MINISTER\": \"MINISTER\",\n \"OFFICE_MANAGER\": \"OFFICE MANAGER\",\n \"OPERATIONS\": \"OPERATIONS\",\n \"OWNER\": \"OWNER\",\n \"PARTNER\": \"PARTNER\",\n \"PRESIDENT\": \"PRESIDENT\",\n \"PRINCIPAL\": \"PRINCIPAL\",\n \"PUBLISHER\": \"PUBLISHER\",\n \"PURCHASING\": \"PURCHASING\",\n \"QUALITY\": \"QUALITY\",\n \"REAL_ESTATE\": \"REAL ESTATE\",\n \"REGION_MANAGER\": \"REGION MANAGER\",\n \"SALES\": \"SALES\",\n \"SITE_MANAGER\": \"SITE MANAGER\",\n \"SVP\": \"SVP\",\n \"TRAINING\": \"TRAINING\",\n \"TREASURER\": \"TREASURER\",\n \"VICE_CHAIRMAN\": \"VICE CHAIRMAN\",\n \"VICE_PRESIDENT\": \"VICE PRESIDENT\",\n \"VP\": \"VP\",\n \"WEBMASTER\": \"WEBMASTER\"\n },\n \"INVALID_FIELD\": {\n \"BUSINESS_INFO\": {\n \"BUSINESS_TYPE\": \"Your Service Area Business type must be selected\",\n \"SERVICE_AREAS\": \"Please select at least one service area\",\n \"ADDRESS\": {\n \"COUNTRY\": \"Please select a valid Country\",\n \"CITY\": \"Please enter a City\",\n \"PROVINCE\": \"Please select a valid State/Province\",\n \"ZIP\": \"Please enter a valid ZIP code\",\n \"LINE1\": \"Please enter a Street Address\"\n },\n \"EMAIL\": \"Please enter a valid Email Address\",\n \"WEBSITE\": \"Please enter a valid Website\",\n \"BUSINESS_NAME\": \"Please enter a Business Name\",\n \"PRIMARY_BUSINESS_CATEGORY\": \"Please select a Primary Business Category\",\n \"PHONE_NUMBERS\": \"Please enter a valid Phone Number\",\n \"CALL_TRACKING_NUMBERS\": \"Please enter a valid Call Tracking Number\",\n \"CELL_NUMBER\": \"Please enter a valid Cell Number\",\n \"TOLL_FREE_NUMBER\": \"Please enter a valid Cell Number\",\n \"SERVICS_OFFERED_LENGTH\": \"You may only set upto 15 Services Offered\",\n \"SERVICS_OFFERED_CHAR_COUNT\": \"Services have a character limit of 256, please shorten your entry\",\n \"BRANDS_CARRIED_LENGTH\": \"You may only set upto 15 Brands Carried\",\n \"BRANDS_CARRIED_CHAR_COUNT\": \"Brands have a character limit of 256, please shorten your entry\",\n \"PAYMENT_METHODS\": \"Payment methods must be valid for the specified country\"\n },\n \"SOCIAL_URL\": {\n \"FACEBOOK\": \"Please enter a valid Facebook URL\",\n \"FOURSQUARE\": \"Please enter a valid Foursquare URL\",\n \"LINKEDIN\": \"Please enter a valid LinkedIn URL\",\n \"TWITTER\": \"Please enter a valid Twitter URL\",\n \"PINTEREST\": \"Please enter a valid Pinterest URL\",\n \"INSTAGRAM\": \"Please enter a valid Instagram URL\",\n \"YOUTUBE\": \"Please enter a valid YouTube URL\"\n },\n \"DESCRIPTION\": {\n \"SHORT\": \"The short description must be less than 200 characters\",\n \"LONG\": \"The long description must be less than 750 characters\"\n },\n \"PROFESSIONAL_RECORDS\": {\n \"EDUCATIONS\": \"You may only set upto 15 Educational Degrees\",\n \"EDUCATIONS_CHAR_COUNT\": \"Education entries have a character limit of 256, please shorten your entry\",\n \"SPECIALTIES\": \"You may only set upto 15 Specialties\",\n \"SPECIALTIES_CHAR_COUNT\": \"Specialties have a character limit of 256, please shorten your entry\",\n \"RESIDENCIES\": \"You may only set upto 15 Residencies\",\n \"RESIDENCIES_CHAR_COUNT\": \"Residencies have a character limit of 256, please shorten your entry\",\n \"FELLOWSHIPS\": \"You may only set upto 15 Fellowships\",\n \"FELLOWSHIPS_CHAR_COUNT\": \"Fellowships have a character limit of 256, please shorten your entry\",\n \"HOSPITAL_AFFILIATIONS\": \"You may only set upto 15 Hospital Affiliations\",\n \"HOSPITAL_AFFILIATIONS_CHAR_COUNT\": \"Hospital Affiliations have a character limit of 256, please shorten your entry\"\n },\n \"ADDITIONAL_PROFESSIONAL_INFO\": {\n \"INSURANCES_ACCEPTED\": \"You may only set upto 15 Insurances Accepted\",\n \"INSURANCES_ACCEPTED_CHAR_COUNT\": \"Insurances Accepted have a character limit of 256, please shorten your entry\",\n \"HOSPITAL_AFFILIATIONS\": \"You may only set upto 15 Hospital Affiliations\",\n \"HOSPITAL_AFFILIATIONS_CHAR_COUNT\": \"Hospital Affiliations have a character limit of 256, please shorten your entry\"\n },\n \"ADMIN\": {\n \"MARKET\": \"Please select a valid Market\",\n \"PRIMARY_SALESPERSON\": \"Please select a Primary Salesperson\",\n \"ADDITIONAL_SALESPERSON\": \"Please select an Additional Salesperson\",\n \"PRIMARY_NOT_IN_ADDITIONAL_SALESPERSON\": \"Salesperson is already set as Primary Salesperson\"\n }\n },\n \"NO_CHANGES_TO_SAVE\": \"No changes to save\",\n \"INVALID_SUBMISSION\": \"Invalid submission\",\n \"INVALID_SESSION\": \"Invalid Session. Please try again.\",\n \"FAILED_TO_UPDATE\": \"Failed to update\",\n \"HOURS_OF_OPERATION_SAVED\": \"Hours of operation saved\",\n \"CUSTOM_FIELDS_SAVED\": \"New custom field values have been saved\",\n \"ACCOUNT_WAS_SAVED\": \"Account was saved\",\n \"BUSINESS_HOURS_SAVED\": \"Business hours saved\",\n \"ACCOUNT_ATTRIBUTES_SAVED\": \"Custom fields saved\",\n \"ACCOUNT_ATTRIBUTES_ERROR\": \"Error saving custom fields\",\n \"ACCOUNT_ATTRIBUTES_DISMISS\": \"Dismiss\",\n \"ALREADY_THE_PRIMARY_SALESPERSON\": \"{{name}} is already the primary salesperson.\",\n \"BUSINESS_OPERATION_METHODS\": {\n \"SELECT_OPTION\": \"Select option\",\n \"UNSPECIFIED\": \"Unspecified\",\n \"OPEN\": \"Open\",\n \"LIMITED\": \"Limited\",\n \"TEMPORARY\": \"Temporarily closed\",\n \"PERMANENT\": \"Permanent closed\"\n },\n \"SELLING_METHODS_AVAILABILITY\": {\n \"UNSET\": \"-\",\n \"YES\": \"Yes\",\n \"NO\": \"No\"\n },\n \"SERVICE_AVAILABILITY\": {\n \"ECOMMERCE_ONLY\": \"Online store only\"\n },\n \"PRODUCT_ACTIVATION_FORM\": {\n \"FULL_BUSINESS_PROFILE\": \"Business profile\",\n \"FULL_BUSINESS_PROFILE_OPTIONAL\": \"Optional\",\n \"FULL_BUSINESS_PROFILE_REQUIRED\": \"Required\",\n \"FULL_BUSINESS_PROFILE_DESCRIPTION\": \"Review your business profile to submit this order\",\n \"FULL_BUSINESS_PROFILE_READ_ONLY_DESCRIPTION\": \"Account information was previously updated\",\n \"SUCCESS_MESSAGE\": \"The business profile was updated\",\n \"ERROR_MESSAGE\": \"Something went wrong. Refresh the page and try again.\",\n \"ACCOUNT_INFORMATION\": \"Account information\",\n \"ACCOUNT_INFORMATION_SUBTITLE\": \"This order requires certain fields to be saved to the account\",\n \"ACCOUNT_INFORMATION_PANEL\": \"Update the account before continuing, products require accurate business information\",\n \"HOURS_OF_OPERATION_REQUIRED\": \"Hours of operation are required\",\n \"INVALID_SUBMISSION_MESSAGE\": \"Some required fields haven’t been filled out or are incorrect\",\n \"INVALID_SERVICES_OFFERED_FIELD\": \"Services offered can only be 256 characters in length total\",\n \"INVALID_BRANDS_CARRIED_FIELD\": \"Brands carried can only be 256 characters in length total\"\n },\n \"WRONG_MARKET\": \"Wrong market\",\n \"UNSAVED_CHANGES\": \"There are unsaved changes\",\n \"TIMEZONE\": \"Timezone\",\n \"SELECTOR_DIALOG\": {\n \"ACCOUNT\": \"Search for a company\",\n \"ACCOUNTS\": \"Accounts\",\n \"CHOOSE_ACCOUNT\": \"Choose account\",\n \"CREATE_ACCOUNT\": \"Create account\",\n \"ACCOUNTS_NOT_FOUND\": \"No accounts found\",\n \"SEARCH_ACCOUNT\": \"Search account\"\n },\n \"ADD_ACCOUNTS_TO_LISTS\": {\n \"TITLE\": \"Add to list\",\n \"SELECT_ACCOUNTS\": {\n \"LABEL\": \"Which accounts would you like to add to a list?\",\n \"OPTIONS\": {\n \"VISIBLE_ACCOUNTS\": \"Visible\",\n \"SELECTED_ACCOUNTS\": \"Selected\",\n \"ALL_ACCOUNTS\": \"All\"\n },\n \"ACCOUNTS\": \"accounts\",\n \"SUCCESS\": \"Added {{accounts}} accounts to list {{list}}\"\n },\n \"SELECT_LIST\": \"Add to list\",\n \"NAME_NEW_LIST\": \"Name of new list\",\n \"CREATE_AND_ADD\": \"Create and add to list\",\n \"SUCCESS\": \"Added {{accounts}} accounts to list {{list}}\",\n \"DESCRIPTION\": \"Export results to an Account List\"\n },\n \"MORE_TAB_LABEL\": \"More\"\n }\n }\n}\n","import { AsyncPipe, NgForOf, NgIf } from '@angular/common';\nimport {\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n InjectionToken,\n Output,\n Provider,\n inject,\n} from '@angular/core';\nimport {\n AsyncValidatorFn,\n FormControl,\n FormsModule,\n ReactiveFormsModule,\n ValidationErrors,\n Validators,\n} from '@angular/forms';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { CountryOption } from '@vendasta/address';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\nimport { Observable, firstValueFrom, map, shareReplay, switchMap } from 'rxjs';\n\nexport const COUNTRY_OPTIONS_TOKEN = new InjectionToken>('COUNTRY_OPTIONS');\nexport const COUNTRY_CONTROL_TOKEN = new InjectionToken>('COUNTRY_CONTROL_TOKEN');\nexport const defaultCountryControlProvider: Provider = {\n provide: COUNTRY_CONTROL_TOKEN,\n useFactory: () => new FormControl('', [Validators.required], [countryValidator()]),\n};\n\nexport function countryValidator(): AsyncValidatorFn {\n const countryOptions = firstValueFrom(inject(COUNTRY_OPTIONS_TOKEN));\n\n return async (countryControl: FormControl): Promise => {\n const country = countryControl.value;\n const countries = await countryOptions;\n if (!country) return null;\n if (typeof country === 'string') return { invalidCountry: true };\n if (countries.find((c) => c.code.toLowerCase() === country.code.toLowerCase())) return null;\n\n return { invalidCountry: true };\n };\n}\n\n@Component({\n selector: 'business-address-country-input',\n templateUrl: './country-input.component.html',\n styleUrls: ['./country-input.component.scss'],\n imports: [\n AsyncPipe,\n FormsModule,\n GalaxyFormFieldModule,\n MatAutocompleteModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n NgForOf,\n NgIf,\n ReactiveFormsModule,\n TranslateModule,\n ],\n})\nexport class CountryInputComponent {\n @Output() readonly countrySelected = new EventEmitter();\n private readonly countries$ = inject(COUNTRY_OPTIONS_TOKEN);\n readonly filteredCountries$ = this.countries$.pipe(\n switchMap((countries) =>\n this.control.valueChanges.pipe(\n map((country) => this._filter(countries, country)),\n shareReplay({ bufferSize: 1, refCount: true }),\n ),\n ),\n );\n private _preferredCountry: CountryOption = null;\n\n readonly control = inject(COUNTRY_CONTROL_TOKEN) as FormControl;\n\n private readonly _elementRef = inject(ElementRef);\n @HostListener('focusout', ['$event.relatedTarget']) async onFocusOut(target: HTMLElement): Promise {\n // if target part of the component, do nothing\n if (this._elementRef.nativeElement.contains(target)) return;\n\n const countries = await firstValueFrom(this.filteredCountries$);\n const { value } = this.control;\n if (\n typeof value === 'string' &&\n countries.length > 0 &&\n countries?.[0].name.toLowerCase() === value.toLowerCase()\n ) {\n return this.selectCountryOption(countries[0]);\n }\n }\n\n countryName = (option: CountryOption): string => {\n return option?.name || '';\n };\n\n disableAutoFill = this.stopChromeAutofill();\n stopChromeAutofill(): string {\n return Math.random().toString(36).substring(2);\n }\n\n private _filter(countries: CountryOption[], country: string | CountryOption): CountryOption[] {\n return countries.filter((option) => {\n if (typeof country === 'string') {\n return option.name.toLowerCase().includes(country.toLowerCase());\n }\n return country;\n });\n }\n\n selectCountryOption(option: CountryOption): void {\n this.control.setValue(option);\n this.countrySelected.emit(option);\n }\n\n activatedOption(option: CountryOption): void {\n this._preferredCountry = option;\n }\n\n tabHandler(): void {\n if (this._preferredCountry) {\n this.selectCountryOption(this._preferredCountry);\n }\n }\n}\n","\n \n {{ 'FRONTEND.BUSINESSES.ADDRESS_FORM.COUNTRY_REGION' | translate }}\n \n \n \n \n {{ option.name }}\n \n \n \n {{ 'FRONTEND.BUSINESSES.ADDRESS_FORM.REQUIRED_FIELD' | translate }}\n \n\n","import {\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n Output,\n SimpleChange,\n ViewChild,\n OnInit,\n AfterViewInit,\n OnChanges,\n} from '@angular/core';\nimport { Geo } from '@vendasta/account-group';\n\nimport { AddressAutoComplete, Country } from '../../address/interface';\nimport { FormControl } from '@angular/forms';\n@Component({\n selector: 'business-address-autocomplete',\n templateUrl: './address-autocomplete.component.html',\n styleUrls: ['./address-autocomplete.component.scss'],\n standalone: false,\n})\nexport class AddressAutocompleteComponent implements OnInit, AfterViewInit, OnChanges {\n autocompleteInput: string;\n @ViewChild('addresstext') addresstext: any;\n\n @Input() control: FormControl;\n @Input() countryRestriction: Country;\n @Input() required = false;\n @Output() selected: EventEmitter = new EventEmitter();\n @Output() addressChange: EventEmitter = new EventEmitter();\n\n protected autocomplete: google.maps.places.Autocomplete;\n protected editDisabled: boolean;\n protected disabled: boolean;\n\n constructor(private cdr: ChangeDetectorRef) {}\n\n ngOnInit() {\n this.cdr.detectChanges();\n this.autocompleteInput = this.control.value;\n }\n\n ngAfterViewInit() {\n this.initAutoComplete();\n this.listenToAddressChange();\n }\n\n ngOnChanges(changes: { [propName: string]: SimpleChange }) {\n if (\n changes.countryRestriction &&\n changes.countryRestriction.currentValue.Country &&\n !changes.countryRestriction.firstChange\n ) {\n const componentRestrictions = { country: this.countryRestriction.code };\n this.updateAutoCompleteRestrictions(componentRestrictions); // update the autocomplete options if country restriction changes after the initial load\n }\n }\n\n private initAutoComplete(): void {\n const options: google.maps.places.AutocompleteOptions = {\n types: ['address'],\n fields: ['place_id', 'address_components', 'vicinity', 'types', 'geometry'],\n componentRestrictions: { country: this.countryRestriction.code },\n };\n this.autocomplete = new google.maps.places.Autocomplete(this.addresstext?.nativeElement, options);\n }\n\n private listenToAddressChange(): void {\n google.maps.event.addListener(this.autocomplete, 'place_changed', () => {\n const place = this.autocomplete.getPlace();\n\n this.invokeEvent(place);\n\n this.autocompleteInput = this.formatAddressLine1(place.address_components);\n this.onAddressChange(this.autocompleteInput);\n this.addresstext?.nativeElement.blur();\n this.addresstext?.nativeElement.focus();\n });\n }\n\n private updateAutoCompleteRestrictions(componentRestriction: google.maps.places.ComponentRestrictions): void {\n this.autocomplete.setComponentRestrictions(componentRestriction);\n }\n\n onAddressChange(address: string): void {\n this.control.patchValue(address);\n this.control.markAsDirty();\n if (address === '') {\n this.control.setErrors({ required: true });\n }\n }\n\n invokeEvent(place: google.maps.places.PlaceResult): void {\n this.selected.emit({\n placeId: place.place_id,\n address1: this.formatAddressLine1(place.address_components),\n zip: place.address_components.find((component) => component.types.indexOf('postal_code') !== -1)?.long_name || '',\n province:\n place.address_components.find((component) => component.types.indexOf('administrative_area_level_1') !== -1)\n ?.long_name || '',\n country: place.address_components.find((component) => component.types.indexOf('country') !== -1)?.long_name || '',\n city: place.address_components.find((component) => component.types.indexOf('locality') !== -1)?.long_name || '',\n location: new Geo({\n latitude: place.geometry?.location?.lat(),\n longitude: place.geometry?.location?.lng(),\n }),\n });\n }\n\n formatAddressLine1(addressComponents: google.maps.GeocoderAddressComponent[]): string {\n if (!addressComponents) {\n return '';\n }\n\n const streetNumber =\n addressComponents.find((component) => component.types.indexOf('street_number') !== -1)?.long_name || '';\n const route = addressComponents.find((component) => component.types.indexOf('route') !== -1)?.long_name || '';\n const street = joinFirstItems([streetNumber, route], ' ', 2);\n return street;\n }\n}\n\nfunction joinFirstItems(items: string[], delimiter: string, max: number): string {\n return items.filter(Boolean).slice(0, max).join(delimiter);\n}\n","\n","import { AbstractControl, FormControl, UntypedFormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';\n\nexport function NotOnlyWhitespaceValidator(control: FormControl) {\n const inputVal = typeof control?.value === 'string' ? control.value : 'notstring';\n return inputVal.trim().length ? null : { whitespace: true };\n}\nexport function totalLengthOfRepeatedFieldValidator(maxLength: number, friendlyName: string): ValidatorFn {\n return (control: AbstractControl): { [key: string]: any } => {\n if (!control.value) {\n return null;\n }\n if (control.value.length === 0) {\n return null;\n }\n\n const value = control.value.filter((val: string) => !!val).join(',');\n return value.length > maxLength\n ? {\n lengthOfRepeatedField: {\n maxLength: maxLength,\n friendlyName: friendlyName,\n },\n }\n : null;\n };\n}\n\nexport function primaryIsNotInAdditionalSalespeople(salespersonNameFromValue: (value: string) => string): ValidatorFn {\n return (fg: UntypedFormGroup): ValidationErrors => {\n const primaryId = fg.controls['salespersonId'];\n const additionalIds = fg.controls['additionalSalespersonIds'];\n if (!additionalIds.value || additionalIds.value.indexOf(primaryId.value) === -1) {\n additionalIds.setErrors(null);\n return null;\n }\n\n const error: ValidationErrors = { primaryName: salespersonNameFromValue(primaryId.value) };\n additionalIds.markAsTouched();\n additionalIds.setErrors(error);\n return error;\n };\n}\n\nexport function primaryIsSelectedWhenHavingAdditionalSalespeople(): ValidatorFn {\n return (fg: UntypedFormGroup): ValidationErrors => {\n const primaryId = fg.controls['salespersonId'];\n const additionalIds = fg.controls['additionalSalespersonIds'];\n if (additionalIds.value && additionalIds.value.length > 0 && !primaryId.value) {\n const error: ValidationErrors = {\n primaryNotSelected: true,\n };\n primaryId.markAsTouched();\n primaryId.setErrors(error);\n return error;\n }\n\n primaryId.setErrors(null);\n return null;\n };\n}\n","import { Component, EventEmitter, Input, Output, Pipe, PipeTransform, ViewChild, inject } from '@angular/core';\nimport {\n AbstractControl,\n FormGroup,\n FormControl,\n ValidationErrors,\n ValidatorFn,\n Validators,\n UntypedFormBuilder,\n} from '@angular/forms';\nimport { CountryConfiguration } from '@vendasta/address';\nimport { Country, State } from '@vendasta/country-state';\nimport { Observable, catchError, firstValueFrom, of } from 'rxjs';\nimport { AddressService } from '../address/address.service';\nimport { Address, AddressAutoComplete } from '../address/interface';\nimport { COUNTRY_CONTROL_TOKEN, COUNTRY_OPTIONS_TOKEN } from '../inputs/country-input.component';\nimport { Validator as SharedValidators } from '@vendasta/shared';\nimport { NotOnlyWhitespaceValidator } from '../../custom-validators';\nimport { Geo } from '@vendasta/account-group';\n\ninterface FormField {\n country: Country | string;\n province: State | string;\n address1: string;\n address2: string;\n city: string;\n zip: string;\n}\n\nconst labelOverrides: Record = {\n zip: 'postalCode',\n province: 'zone',\n};\ntype TemplateFormField = { key: string; label: string; required: boolean };\n\n@Component({\n selector: 'business-address-form-v2',\n templateUrl: './address-form-v2.component.html',\n styleUrls: ['./address-form-v2.component.scss'],\n standalone: false,\n})\nexport class AddressFormV2Component {\n @ViewChild('addresstext') addresstext: any;\n @Input() showAddressPreview = false;\n @Input() set addressData(a: Address) {\n if (a) {\n this.__addressData = a;\n this.setInitialValues(a);\n }\n }\n @Input({ required: true }) set parentForm(form: FormGroup) {\n this.disabled = form.disabled;\n if (this.disabled) {\n this.editDisabled = true;\n this.formGroup.disable();\n }\n form.addControl('addressForm', this.formGroup);\n }\n @Input() requiredFields = true;\n\n @Output() geoLocationChanged: EventEmitter = new EventEmitter();\n\n protected autoCompleteControls = ['country', 'province'];\n protected dynamicControls = ['address1', 'address2', 'city', 'zip'];\n protected __addressData: Address;\n protected editDisabled: boolean;\n\n // COUNTRY\n private readonly countryOptions$ = inject(COUNTRY_OPTIONS_TOKEN);\n private readonly addressService = inject(AddressService);\n private currentConfig: CountryConfiguration;\n protected countryRestriction: Country;\n\n // PROVINCE\n protected selectFirstProvince = false;\n protected provinces = [];\n\n protected readonly formGroup: FormGroup = new FormGroup({\n country: inject(COUNTRY_CONTROL_TOKEN),\n });\n\n protected formFields: TemplateFormField[] = [];\n private disabled: boolean;\n\n constructor(private fb: UntypedFormBuilder) {}\n\n private async updateForm(a: FormField, config = this.currentConfig) {\n await this.updateFormFields(config);\n removeOrphanedControls(this.formGroup, this.formFields);\n this.formGroup.patchValue(a);\n }\n\n private async setInitialValues(a: Address | null) {\n const countryOption = (await firstValueFrom(this.countryOptions$)).find((o) => o.code === a.country);\n if (!countryOption) {\n this.formGroup.controls.country.setValue(null, { emitEvent: false });\n }\n const config = await this.getUpdatedCountryConfig(countryOption);\n if (config) {\n const prov = this.addressService.getProvince(config.zones, a.province);\n const province: State | null = prov.code ? { code: prov.code, name: prov.name } : null;\n const formValues = { ...a, province, country: countryOption };\n this.countryRestriction = countryOption;\n return this.updateForm(formValues);\n }\n }\n\n protected async countryChanged(country: Country): Promise {\n const config = await this.getUpdatedCountryConfig(country);\n const value = { ...this.formGroup.value, province: null };\n this.countryRestriction = country;\n return this.updateForm(value, config);\n }\n\n protected async getUpdatedCountryConfig(country: Country): Promise {\n if (this.currentConfig?.code === country.code) return this.currentConfig;\n this.currentConfig = await firstValueFrom(\n this.addressService.getCountry(country.code).pipe(catchError(() => of(null))),\n );\n\n this.provinces = this.currentConfig?.zones || [];\n return this.currentConfig;\n }\n\n private async updateFormFields(c: CountryConfiguration): Promise {\n if (!c) return;\n\n const templates = await firstValueFrom(this.addressService.getOrderedFields(c.code));\n\n const requiredFields = c.formatting.required || [];\n this.formFields = templates.flat().reduce(\n (acc, field) => [\n ...acc,\n {\n key: field,\n label: c.labels[labelOverrides[field]] || c.labels[field],\n required: !!requiredFields.find((f) => f === field),\n },\n ],\n [],\n );\n\n this.formFields.forEach((field) => {\n const validators = this.getFieldValidators(field);\n const control = this.formGroup.get(field.key);\n if (control) {\n control.setValidators(validators);\n control.updateValueAndValidity();\n } else {\n this.formGroup.setControl(field.key, new FormControl('', validators));\n }\n });\n if (this.disabled) {\n this.formGroup.disable();\n }\n }\n\n private getFieldValidators(field: TemplateFormField): ValidatorFn[] {\n const validators = [];\n if (field.required) {\n validators.push(Validators.required);\n validators.push(NotOnlyWhitespaceValidator);\n }\n if (field.key === 'zip') {\n validators.push(SharedValidators.isValidPostalCode(this.currentConfig.code));\n }\n if (this.autoCompleteControls.indexOf(field.key) >= 0) validators.push(autoCompleteValidator);\n return validators;\n }\n\n provinceName(province: State): string {\n return province ? province.name : '';\n }\n\n updateFormViaAutoComplete(address: AddressAutoComplete): void {\n const changedValues = {\n ...this.formGroup.value,\n province: this.provinces.find((p) => p.name === address.province),\n city: address.city,\n zip: address.zip,\n address1: address.address1,\n };\n\n if (address.location?.latitude || address.location?.longitude) {\n this.geoLocationChanged.emit(address.location);\n }\n\n this.updateForm(changedValues);\n\n this.formGroup.get('address1').markAsDirty();\n this.formGroup.get('city').markAsDirty();\n this.formGroup.get('zip').markAsDirty();\n\n if (this.formGroup.get('province')) {\n this.formGroup.get('province').markAsDirty();\n }\n }\n}\n\nfunction formatAddress(formValues: FormField): Address {\n const { country } = formValues;\n\n const address: Address = {\n country: (country as Country)?.code || null,\n province: (formValues.province as State)?.code || null,\n address1: formValues.address1 || null,\n address2: formValues.address2 || null,\n city: formValues.city || null,\n zip: formValues.zip || null,\n };\n\n return address;\n}\n\nfunction autoCompleteValidator(control: AbstractControl): ValidationErrors | null {\n return !control.value || control.value?.code ? null : { invalidSelection: true };\n}\n\nfunction removeOrphanedControls(formGroup: FormGroup, fields: TemplateFormField[]) {\n const formFields = fields.map((field) => field.key);\n Object.keys(formGroup.controls).forEach((key) => {\n if (formFields.indexOf(key) < 0) {\n formGroup.removeControl(key);\n }\n });\n}\n\n@Pipe({\n name: 'businessAddressPipe',\n standalone: true,\n})\nexport class businessAddressPipe implements PipeTransform {\n private readonly addressService = inject(AddressService);\n\n transform(formValues: FormField): Observable {\n const { country } = formValues;\n if (!country) return of('');\n\n const address = formatAddress(formValues);\n return this.addressService.mailingAddress$(address);\n }\n}\n\n@Pipe({\n name: 'filterProvinces',\n standalone: true,\n})\nexport class FilterProvincesPipe implements PipeTransform {\n transform(provinces: State[], searchTerm: string): State[] {\n if (!searchTerm) return provinces;\n return provinces.filter((province) => {\n const { name = '' } = province;\n return name.toLocaleLowerCase().indexOf(searchTerm.toLocaleLowerCase()) >= 0;\n });\n }\n}\n","
\n \n
\n
\n \n -1\"\n bottomSpacing=\"small\"\n class=\"address-form-field-{{ field.key }}\"\n >\n \n {{ (field.key === 'address2' ? 'FRONTEND.BUSINESSES.ADDRESS_FORM.ADDRESS_2' : field.label) | translate }}\n \n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.ADDRESS_FORM.REQUIRED_FIELD' | translate }}\n \n \n {{ 'FRONTEND.BUSINESSES.ADDRESS_FORM.INVALID' | translate }} {{ field.label }}\n \n \n\n \n \n {{ field.label }}\n \n \n \n {{ option.name }}\n \n \n \n {{ 'FRONTEND.BUSINESSES.ADDRESS_FORM.REQUIRED_FIELD' | translate }}\n \n \n {{ 'FRONTEND.BUSINESSES.ADDRESS_FORM.INVALID' | translate }} {{ field.label }}\n \n \n {{ 'FRONTEND.BUSINESSES.ADDRESS_FORM.INVALID_SELECTION' | translate }}\n \n \n
\n
\n
\n\n
\n \n {{ 'FRONTEND.BUSINESSES.ADDRESS_FORM.PREVIEW' | translate }}\n \n {{ address }}\n
\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\nimport { GalaxyCheckboxModule } from '@vendasta/galaxy/checkbox';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatRadioModule } from '@angular/material/radio';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatChipsModule } from '@angular/material/chips';\n\nimport { AddressAutocompleteComponent } from './address-autocomplete/address-autocomplete.component';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport { AddressService } from '../address/address.service';\nimport baseTranslation from '../../assets/i18n/en_devel.json';\nimport {\n COUNTRY_OPTIONS_TOKEN,\n CountryInputComponent,\n defaultCountryControlProvider,\n} from '../inputs/country-input.component';\nimport { AddressFormV2Component, FilterProvincesPipe, businessAddressPipe } from './address-form-v2.component';\n\nconst MaterialModules = [\n MatAutocompleteModule,\n MatFormFieldModule,\n MatInputModule,\n MatIconModule,\n MatProgressSpinnerModule,\n MatTooltipModule,\n MatRadioModule,\n MatExpansionModule,\n MatChipsModule,\n];\n\n@NgModule({\n declarations: [AddressFormV2Component, AddressAutocompleteComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n TranslateModule,\n LexiconModule.forChild({\n componentName: 'common/address',\n baseTranslation: baseTranslation,\n }),\n ...MaterialModules,\n CountryInputComponent,\n GalaxyFormFieldModule,\n businessAddressPipe,\n FilterProvincesPipe,\n GalaxyCheckboxModule,\n ],\n exports: [AddressFormV2Component],\n providers: [\n AddressService,\n {\n provide: COUNTRY_OPTIONS_TOKEN,\n useFactory: (a: AddressService) => a.listAllCountryOptions(),\n deps: [AddressService],\n },\n defaultCountryControlProvider,\n ],\n})\nexport class AddressFormV2Module {}\n","export { AddressFormModule } from './address-form.module';\nexport { AddressService } from './address/address.service';\nexport { Address } from './address/interface';\nexport * from './inputs/country-input.component';\nexport { AddressFormV2Module } from './v2/address-form-v2.module';\nexport { AddressAutocompleteComponent as PlaceAutocompleteComponent } from './v2/address-autocomplete/address-autocomplete.component';\n","import { UpdateOperations } from '@galaxy/listing-profile-common';\nimport { ClosedStatus, IsAvailable, RichDataPaymentMethods } from '@vendasta/listing-products';\n\nexport interface FormUpdateParameters {\n operations: UpdateOperations;\n onlyHoursSave?: boolean;\n onlyBusinessHoursSave?: boolean;\n}\n\nexport interface AvailabilityOption {\n code: number;\n name: string;\n}\n\nexport interface GenderOption {\n code: number;\n name: string;\n}\n\nexport interface IsProviderOption {\n code: number;\n name: string;\n}\n\nexport enum GenderKeys {\n SELECT_OPTION = 0,\n FEMALE = 1,\n MALE = 2,\n OTHER = 3,\n}\n\nexport const GenderSelection = [GenderKeys.SELECT_OPTION, GenderKeys.FEMALE, GenderKeys.MALE, GenderKeys.OTHER];\n\nexport const CountryPaymentMethods = {\n DEFAULT: [\n RichDataPaymentMethods.AMERICAN_EXPRESS,\n RichDataPaymentMethods.ANDROID_PAY,\n RichDataPaymentMethods.APPLE_PAY,\n RichDataPaymentMethods.CASH,\n RichDataPaymentMethods.CHECK,\n RichDataPaymentMethods.DEBIT,\n RichDataPaymentMethods.DINERS_CLUB,\n RichDataPaymentMethods.DISCOVER,\n RichDataPaymentMethods.MASTERCARD,\n RichDataPaymentMethods.PAYPAL,\n RichDataPaymentMethods.SAMSUNG_PAY,\n RichDataPaymentMethods.STORE_CARD,\n RichDataPaymentMethods.TRAVELERS_CHECK,\n RichDataPaymentMethods.VISA,\n ],\n CZ: [\n RichDataPaymentMethods.AMERICAN_EXPRESS,\n RichDataPaymentMethods.ANDROID_PAY,\n RichDataPaymentMethods.CASH,\n RichDataPaymentMethods.CHECK,\n RichDataPaymentMethods.DINERS_CLUB,\n RichDataPaymentMethods.DISCOVER,\n RichDataPaymentMethods.MASTERCARD,\n RichDataPaymentMethods.PAYPAL,\n RichDataPaymentMethods.TRAVELERS_CHECK,\n RichDataPaymentMethods.VISA,\n RichDataPaymentMethods.CCS,\n RichDataPaymentMethods.SODEXO,\n RichDataPaymentMethods.GOPAY,\n RichDataPaymentMethods.V_PAY,\n RichDataPaymentMethods.FINANCING,\n RichDataPaymentMethods.INVOICE,\n RichDataPaymentMethods.PAYSEC,\n RichDataPaymentMethods.BITCOIN,\n ],\n};\n\nexport const BusinessOperationMethods = [\n ClosedStatus.UNSPECIFIED,\n ClosedStatus.OPEN,\n ClosedStatus.LIMITED,\n ClosedStatus.TEMPORARY,\n ClosedStatus.PERMANENT,\n];\n\nexport const SellingMethodsAvailability = [IsAvailable.UNSET, IsAvailable.YES, IsAvailable.NO];\n\nexport interface TimezoneOption {\n timezone: string;\n display: string;\n}\n\nexport const ProfesstionalCredentials = [\n 'ACSW',\n 'AGNP-C',\n 'ANP',\n 'ANP-C',\n 'AP',\n 'APN',\n 'APR',\n 'APRN',\n 'ARNP',\n 'AUD',\n 'BCBA',\n 'CCC/SLP',\n 'CCSW',\n 'CERT MDT',\n 'CFNP',\n 'CLTC',\n 'CMP',\n 'CNA',\n 'CNM',\n 'CNP',\n 'CNS',\n 'CPNP',\n 'CRNA',\n 'CRNP',\n 'CSW',\n 'DC',\n 'DCSW',\n 'DDS',\n 'DMD',\n 'DNP',\n 'DO',\n 'DOT',\n 'DOM',\n 'DPM',\n 'DPT',\n 'FAAP',\n 'FACC',\n 'FACOG',\n 'FACOS',\n 'FACP',\n 'FACS',\n 'FCCP',\n 'FCOG',\n 'FCOS',\n 'FICS',\n 'FNP',\n 'FNPC',\n 'FNP-MC',\n 'FPN',\n 'FPNP',\n 'IBCLC',\n 'ITDS',\n 'LAC',\n 'LADC',\n 'LCS',\n 'LCSW',\n 'LGSW',\n 'LICSW',\n 'LISW',\n 'LMBT',\n 'LMFT',\n 'LMH',\n 'LMHC',\n 'LMHP',\n 'LMSW',\n 'LMT',\n 'LP',\n 'LPC',\n 'LPCC',\n 'LPN',\n 'LPT',\n 'LSW',\n 'LVN',\n 'MBBS',\n 'MBCHB',\n 'MD',\n 'MDT',\n 'MFT',\n 'MHP',\n 'MHS',\n 'MHSP',\n 'MMFT',\n 'MPH',\n 'MSN',\n 'MSW',\n 'MT',\n 'NCC',\n 'NCTM',\n 'NCTMB',\n 'ND',\n 'NNP',\n 'NP',\n 'NP-C',\n 'OD',\n 'OT',\n 'OTA',\n 'OTR',\n 'PA',\n 'PAC',\n 'PFNP',\n 'PHARMD',\n 'PHD',\n 'PMHN',\n 'PMHNP',\n 'PNP',\n 'PRN',\n 'PSY',\n 'PSYD',\n 'PT',\n 'RD',\n 'RDH',\n 'RDH/DH',\n 'RN',\n 'RNC',\n 'RNP',\n 'RPH',\n 'RPT',\n 'SLP',\n 'SPTH',\n 'SW',\n 'WHNP',\n];\n\nexport const ValidationErrorMessages = {\n businessName: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.BUSINESS_NAME',\n },\n businessType: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.BUSINESS_TYPE',\n },\n places: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.SERVICE_AREAS',\n },\n website: {\n url: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.WEBSITE',\n },\n email: {\n email: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.EMAIL',\n },\n primaryBusinessCategory: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.PRIMARY_BUSINESS_CATEGORY',\n },\n workNumbers: {\n phone: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.PHONE_NUMBERS',\n },\n callTrackingNumbers: {\n phone: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.CALL_TRACKING_NUMBERS',\n },\n cellNumber: {\n phone: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.CELL_NUMBER',\n },\n tollFreeNumber: {\n phone: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.TOLL_FREE_NUMBER',\n },\n country: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.ADDRESS.COUNTRY',\n invalidSelection: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.ADDRESS.COUNTRY',\n },\n address1: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.ADDRESS.LINE1',\n },\n city: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.ADDRESS.CITY',\n },\n province: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.ADDRESS.PROVINCE',\n invalidSelection: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.ADDRESS.PROVINCE',\n },\n zip: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.ADDRESS.ZIP',\n },\n servicesOffered: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.SERVICES_OFFERED_LENGTH',\n lengthOfRepeatedField: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.SERVICES_OFFERED_CHAR_COUNT',\n },\n brandsCarried: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.BRANDS_CARRIED_LENGTH',\n lengthOfRepeatedField: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.BRANDS_CARRIED_LENGTH',\n },\n paymentMethods: {\n paymentMethods: 'FRONTEND.BUSINESSES.INVALID_FIELD.BUSINESS_INFO.PAYMENT_METHODS',\n },\n shortDescription: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.DESCRIPTION.SHORT',\n },\n longDescription: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.DESCRIPTION.LONG',\n },\n facebookUrl: {\n url: 'FRONTEND.BUSINESSES.INVALID_FIELD.SOCIAL_URL.FACEBOOK',\n },\n foursquareUrl: {\n url: 'FRONTEND.BUSINESSES.INVALID_FIELD.SOCIAL_URL.FOURSQUARE',\n },\n twitterUrl: {\n url: 'FRONTEND.BUSINESSES.INVALID_FIELD.SOCIAL_URL.TWITTER',\n },\n instagramUrl: {\n url: 'FRONTEND.BUSINESSES.INVALID_FIELD.SOCIAL_URL.INSTAGRAM',\n },\n linkedInUrl: {\n url: 'FRONTEND.BUSINESSES.INVALID_FIELD.SOCIAL_URL.LINKEDIN',\n },\n pinterestUrl: {\n url: 'FRONTEND.BUSINESSES.INVALID_FIELD.SOCIAL_URL.PINTEREST',\n },\n youtubeUrl: {\n url: 'FRONTEND.BUSINESSES.INVALID_FIELD.SOCIAL_URL.YOUTUBE',\n },\n educations: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.PROFESSIONAL_RECORDS.EDUCATIONS',\n lengthOfRepeatedField: 'FRONTEND.BUSINESSES.INVALID_FIELD.PROFESSIONAL_RECORDS.EDUCATIONS_CHAR_COUNT',\n },\n fellowships: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.PROFESSIONAL_RECORDS.FELLOWSHIPS',\n lengthOfRepeatedField: 'FRONTEND.BUSINESSES.INVALID_FIELD.PROFESSIONAL_RECORDS.FELLOWSHIPS_CHAR_COUNT',\n },\n specialties: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.PROFESSIONAL_RECORDS.SPECIALTIES',\n lengthOfRepeatedField: 'FRONTEND.BUSINESSES.INVALID_FIELD.PROFESSIONAL_RECORDS.SPECIALTIES_CHAR_COUNT',\n },\n residencies: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.PROFESSIONAL_RECORDS.RESIDENCIES',\n lengthOfRepeatedField: 'FRONTEND.BUSINESSES.INVALID_FIELD.PROFESSIONAL_RECORDS.RESIDENCIES_CHAR_COUNT',\n },\n insuranceAccepted: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.ADDITIONAL_PROFESSIONAL_INFO.INSURANCE_ACCEPTED',\n lengthOfRepeatedField:\n 'FRONTEND.BUSINESSES.INVALID_FIELD.ADDITIONAL_PROFESSIONAL_INFO.INSURANCE_ACCEPTED_CHAR_COUNT',\n },\n hospitalAffiliations: {\n maxlength: 'FRONTEND.BUSINESSES.INVALID_FIELD.ADDITIONAL_PROFESSIONAL_INFO.HOSPITAL_AFFILIATIONS',\n lengthOfRepeatedField:\n 'FRONTEND.BUSINESSES.INVALID_FIELD.ADDITIONAL_PROFESSIONAL_INFO.HOSPITAL_AFFILIATIONS_CHAR_COUNT',\n },\n market: {\n required: 'FRONTEND.BUSINESSES.INVALID_FIELD.ADMIN.MARKET',\n },\n additionalSalespersonIds: {\n primaryName: 'FRONTEND.BUSINESSES.INVALID_FIELD.ADMIN.PRIMARY_NOT_IN_ADDITIONAL_SALESPERSON',\n primaryNotSelected: 'FRONTEND.BUSINESSES.INVALID_FIELD.ADMIN.PRIMARY_SALESPERSON',\n },\n};\n","import { AbstractControl, FormArray, FormGroup } from '@angular/forms';\n\nexport interface Market {\n value: string;\n name: string;\n}\n\nexport enum BusinessProfileTab {\n Primary,\n Hours,\n Descriptions,\n Images,\n Social,\n Professional,\n Attributes,\n CustomFields,\n Administration,\n}\n\nexport enum HiddenField {\n Markets,\n Sales,\n SocialFourSquare,\n CustomerIdentifier,\n Map,\n}\n\nexport interface LightboxData {\n index: number;\n imageUrls: string[];\n}\n\nexport interface InvalidFormField {\n key: string;\n form: FormGroup | FormArray | AbstractControl;\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { format, CountryCode, parsePhoneNumber } from 'libphonenumber-js';\n\n/** @deprecated Use FormatPhoneNumberPipe from uikit */\n@Pipe({\n name: 'formatPhoneNumber',\n standalone: false,\n})\nexport class FormatPhoneNumberPipe implements PipeTransform {\n transform(phoneNumber: string, countryCode: string): string {\n if (countryCode as CountryCode) {\n const newCountryCode = countryCode;\n try {\n return format(phoneNumber, newCountryCode, 'NATIONAL');\n } catch {\n return phoneNumber;\n }\n } else {\n return phoneNumber;\n }\n }\n\n transformForBusinessProfile(phoneNumber: string, countryCode: string): string {\n if (countryCode as CountryCode) {\n const newCountryCode = countryCode;\n try {\n const parsedNumber = parsePhoneNumber(phoneNumber, newCountryCode);\n if (!parsedNumber || !parsedNumber.isValid()) {\n return phoneNumber;\n }\n return parsedNumber.formatInternational();\n } catch {\n return phoneNumber;\n }\n } else {\n return phoneNumber;\n }\n }\n}\n","export interface ClientImage {\n url: string;\n date: Date;\n type?: string;\n}\n\nexport enum MenuOption {\n Logo = 'Logo',\n Secondary_Logo = 'Secondary Logo',\n Primary = 'Primary',\n Gallery = 'Gallery',\n Delete = 'Delete',\n}\n","import * as i0 from '@angular/core';\nimport { Injectable, inject } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { map } from 'rxjs/operators';\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ImageType = /*#__PURE__*/function (ImageType) {\n ImageType[ImageType[\"NOT_SPECIFIED\"] = 0] = \"NOT_SPECIFIED\";\n ImageType[ImageType[\"PRIMARY\"] = 1] = \"PRIMARY\";\n ImageType[ImageType[\"LOGO\"] = 2] = \"LOGO\";\n ImageType[ImageType[\"SECONDARY_LOGO\"] = 3] = \"SECONDARY_LOGO\";\n return ImageType;\n}(ImageType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums Index.\n// *********************************\n\nfunction enumStringToValue$1(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass MethodMetadata {\n static fromProto(proto) {\n let m = new MethodMetadata();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.isPublic !== 'undefined') {\n toReturn['isPublic'] = this.isPublic;\n }\n if (typeof this.scopes !== 'undefined') {\n toReturn['scopes'] = this.scopes;\n }\n return toReturn;\n }\n}\nclass SDKMetadata {\n static fromProto(proto) {\n let m = new SDKMetadata();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sdkName !== 'undefined') {\n toReturn['sdkName'] = this.sdkName;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AssociateImageRequest {\n static fromProto(proto) {\n let m = new AssociateImageRequest();\n m = Object.assign(m, proto);\n if (proto.imageType) {\n m.imageType = enumStringToValue(ImageType, proto.imageType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.imageId !== 'undefined') {\n toReturn['imageId'] = this.imageId;\n }\n if (typeof this.imageType !== 'undefined') {\n toReturn['imageType'] = this.imageType;\n }\n return toReturn;\n }\n}\nclass DeleteImageRequest {\n static fromProto(proto) {\n let m = new DeleteImageRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.imageId !== 'undefined') {\n toReturn['imageId'] = this.imageId;\n }\n return toReturn;\n }\n}\nclass ListImagesRequestFilters {\n static fromProto(proto) {\n let m = new ListImagesRequestFilters();\n m = Object.assign(m, proto);\n if (proto.imageType) {\n m.imageType = proto.imageType.map(v => enumStringToValue(ImageType, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.imageType !== 'undefined') {\n toReturn['imageType'] = this.imageType;\n }\n if (typeof this.includeDeleted !== 'undefined') {\n toReturn['includeDeleted'] = this.includeDeleted;\n }\n return toReturn;\n }\n}\nclass GetLogoImageRequest {\n static fromProto(proto) {\n let m = new GetLogoImageRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass GetLogoImageResponse {\n static fromProto(proto) {\n let m = new GetLogoImageResponse();\n m = Object.assign(m, proto);\n if (proto.image) {\n m.image = ImageAssociation.fromProto(proto.image);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.image !== 'undefined' && this.image !== null) {\n toReturn['image'] = 'toApiJson' in this.image ? this.image.toApiJson() : this.image;\n }\n return toReturn;\n }\n}\nclass ImageAssociation {\n static fromProto(proto) {\n let m = new ImageAssociation();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.imageType) {\n m.imageType = enumStringToValue(ImageType, proto.imageType);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.imageId !== 'undefined') {\n toReturn['imageId'] = this.imageId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.imageType !== 'undefined') {\n toReturn['imageType'] = this.imageType;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n return toReturn;\n }\n}\nclass ListImagesPagedResponse {\n static fromProto(proto) {\n let m = new ListImagesPagedResponse();\n m = Object.assign(m, proto);\n if (proto.images) {\n m.images = proto.images.map(ImageAssociation.fromProto);\n }\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.images !== 'undefined' && this.images !== null) {\n toReturn['images'] = 'toApiJson' in this.images ? this.images.toApiJson() : this.images;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nclass ListImagesRequest {\n static fromProto(proto) {\n let m = new ListImagesRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n if (proto.filters) {\n m.filters = ListImagesRequestFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'account-group-media-api.vendasta-local.com',\n 'test': '',\n 'demo': 'account-group-media-api-demo.apigateway.co',\n 'prod': 'account-group-media-api-prod.apigateway.co',\n 'production': 'account-group-media-api-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n }\n HostService.ɵfac = function HostService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HostService)();\n };\n HostService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet MediaApiService = /*#__PURE__*/(() => {\n class MediaApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n associateImage(r) {\n const request = r.toApiJson ? r : new AssociateImageRequest(r);\n return this.http.post(this._host + \"/accountgroupmedia.v1.MediaService/AssociateImage\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listImages(r) {\n const request = r.toApiJson ? r : new ListImagesRequest(r);\n return this.http.post(this._host + \"/accountgroupmedia.v1.MediaService/ListImages\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListImagesPagedResponse.fromProto(resp)));\n }\n deleteImage(r) {\n const request = r.toApiJson ? r : new DeleteImageRequest(r);\n return this.http.post(this._host + \"/accountgroupmedia.v1.MediaService/DeleteImage\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getLogoImage(r) {\n const request = r.toApiJson ? r : new GetLogoImageRequest(r);\n return this.http.post(this._host + \"/accountgroupmedia.v1.MediaService/GetLogoImage\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetLogoImageResponse.fromProto(resp)));\n }\n }\n MediaApiService.ɵfac = function MediaApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MediaApiService)();\n };\n MediaApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MediaApiService,\n factory: MediaApiService.ɵfac,\n providedIn: 'root'\n });\n return MediaApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AssociateImageRequest, DeleteImageRequest, GetLogoImageRequest, GetLogoImageResponse, ImageAssociation, ImageType, ListImagesPagedResponse, ListImagesRequest, ListImagesRequestFilters, MediaApiService, MethodMetadata, SDKMetadata };\n","import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport * as i1 from '@angular/common/http';\nimport { HttpHeaders } from '@angular/common/http';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'media-api.vendasta-local.com',\n 'test': '',\n 'demo': 'media-api-demo.apigateway.co',\n 'prod': 'media-api-prod.apigateway.co',\n 'production': 'media-api-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n }\n HostService.ɵfac = function HostService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HostService)();\n };\n HostService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nclass Tag {\n static fromProto(proto) {\n let m = new Tag();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass Video {\n static fromProto(proto) {\n let m = new Video();\n m = Object.assign(m, proto);\n if (proto.tags) {\n m.tags = proto.tags.map(Tag.fromProto);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.modified) {\n m.modified = new Date(proto.modified);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.tags !== 'undefined' && this.tags !== null) {\n toReturn['tags'] = 'toApiJson' in this.tags ? this.tags.toApiJson() : this.tags;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.modified !== 'undefined' && this.modified !== null) {\n toReturn['modified'] = 'toApiJson' in this.modified ? this.modified.toApiJson() : this.modified;\n }\n return toReturn;\n }\n}\nclass Image {\n static fromProto(proto) {\n let m = new Image();\n m = Object.assign(m, proto);\n if (proto.tags) {\n m.tags = proto.tags.map(Tag.fromProto);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.modified) {\n m.modified = new Date(proto.modified);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.tags !== 'undefined' && this.tags !== null) {\n toReturn['tags'] = 'toApiJson' in this.tags ? this.tags.toApiJson() : this.tags;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.modified !== 'undefined' && this.modified !== null) {\n toReturn['modified'] = 'toApiJson' in this.modified ? this.modified.toApiJson() : this.modified;\n }\n return toReturn;\n }\n}\nclass CreateImageRequest {\n static fromProto(proto) {\n let m = new CreateImageRequest();\n m = Object.assign(m, proto);\n if (proto.tags) {\n m.tags = proto.tags.map(Tag.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.servingUrl !== 'undefined') {\n toReturn['servingUrl'] = this.servingUrl;\n }\n if (typeof this.tags !== 'undefined' && this.tags !== null) {\n toReturn['tags'] = 'toApiJson' in this.tags ? this.tags.toApiJson() : this.tags;\n }\n return toReturn;\n }\n}\nclass CreateImageResponse {\n static fromProto(proto) {\n let m = new CreateImageResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.imageId !== 'undefined') {\n toReturn['imageId'] = this.imageId;\n }\n return toReturn;\n }\n}\nclass CreateVideoRequest {\n static fromProto(proto) {\n let m = new CreateVideoRequest();\n m = Object.assign(m, proto);\n if (proto.tags) {\n m.tags = proto.tags.map(Tag.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.videoUrl !== 'undefined') {\n toReturn['videoUrl'] = this.videoUrl;\n }\n if (typeof this.tags !== 'undefined' && this.tags !== null) {\n toReturn['tags'] = 'toApiJson' in this.tags ? this.tags.toApiJson() : this.tags;\n }\n return toReturn;\n }\n}\nclass CreateVideoResponse {\n static fromProto(proto) {\n let m = new CreateVideoResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.videoId !== 'undefined') {\n toReturn['videoId'] = this.videoId;\n }\n return toReturn;\n }\n}\nclass GenerateUploadUrlRequest {\n static fromProto(proto) {\n let m = new GenerateUploadUrlRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.fileName !== 'undefined') {\n toReturn['fileName'] = this.fileName;\n }\n if (typeof this.contentType !== 'undefined') {\n toReturn['contentType'] = this.contentType;\n }\n return toReturn;\n }\n}\nclass GenerateUploadUrlResponse {\n static fromProto(proto) {\n let m = new GenerateUploadUrlResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.signedUrl !== 'undefined') {\n toReturn['signedUrl'] = this.signedUrl;\n }\n return toReturn;\n }\n}\nclass GetImageRequest {\n static fromProto(proto) {\n let m = new GetImageRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.imageId !== 'undefined') {\n toReturn['imageId'] = this.imageId;\n }\n return toReturn;\n }\n}\nclass GetImageResponse {\n static fromProto(proto) {\n let m = new GetImageResponse();\n m = Object.assign(m, proto);\n if (proto.image) {\n m.image = Image.fromProto(proto.image);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.image !== 'undefined' && this.image !== null) {\n toReturn['image'] = 'toApiJson' in this.image ? this.image.toApiJson() : this.image;\n }\n return toReturn;\n }\n}\nclass GetResumableUploadSessionRequest {\n static fromProto(proto) {\n let m = new GetResumableUploadSessionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.mediaType !== 'undefined') {\n toReturn['mediaType'] = this.mediaType;\n }\n if (typeof this.origin !== 'undefined') {\n toReturn['origin'] = this.origin;\n }\n return toReturn;\n }\n}\nclass GetResumableUploadSessionResponse {\n static fromProto(proto) {\n let m = new GetResumableUploadSessionResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sessionUri !== 'undefined') {\n toReturn['sessionUri'] = this.sessionUri;\n }\n return toReturn;\n }\n}\nclass GetVideoRequest {\n static fromProto(proto) {\n let m = new GetVideoRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.videoId !== 'undefined') {\n toReturn['videoId'] = this.videoId;\n }\n return toReturn;\n }\n}\nclass GetVideoResponse {\n static fromProto(proto) {\n let m = new GetVideoResponse();\n m = Object.assign(m, proto);\n if (proto.video) {\n m.video = Video.fromProto(proto.video);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.video !== 'undefined' && this.video !== null) {\n toReturn['video'] = 'toApiJson' in this.video ? this.video.toApiJson() : this.video;\n }\n return toReturn;\n }\n}\n\n// *********************************\n\n// *********************************\nlet MediaApiService$1 = /*#__PURE__*/(() => {\n let MediaApiService$1 = class MediaApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createImage(r) {\n const request = r.toApiJson ? r : new CreateImageRequest(r);\n return this.http.post(this._host + \"/media.v2.MediaService/CreateImage\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateImageResponse.fromProto(resp)));\n }\n getImage(r) {\n const request = r.toApiJson ? r : new GetImageRequest(r);\n return this.http.post(this._host + \"/media.v2.MediaService/GetImage\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetImageResponse.fromProto(resp)));\n }\n createVideo(r) {\n const request = r.toApiJson ? r : new CreateVideoRequest(r);\n return this.http.post(this._host + \"/media.v2.MediaService/CreateVideo\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateVideoResponse.fromProto(resp)));\n }\n getVideo(r) {\n const request = r.toApiJson ? r : new GetVideoRequest(r);\n return this.http.post(this._host + \"/media.v2.MediaService/GetVideo\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetVideoResponse.fromProto(resp)));\n }\n generateUploadUrl(r) {\n const request = r.toApiJson ? r : new GenerateUploadUrlRequest(r);\n return this.http.post(this._host + \"/media.v2.MediaService/GenerateUploadUrl\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GenerateUploadUrlResponse.fromProto(resp)));\n }\n getResumableUploadSession(r) {\n const request = r.toApiJson ? r : new GetResumableUploadSessionRequest(r);\n return this.http.post(this._host + \"/media.v2.MediaService/GetResumableUploadSession\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetResumableUploadSessionResponse.fromProto(resp)));\n }\n };\n MediaApiService$1.ɵfac = function MediaApiService$1_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MediaApiService$1)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n MediaApiService$1.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MediaApiService$1,\n factory: MediaApiService$1.ɵfac,\n providedIn: 'root'\n });\n return MediaApiService$1;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n\nclass UploadImageResponse {\n static fromProto(proto) {\n if (!proto) {\n return null;\n }\n const m = new UploadImageResponse();\n if (Object.prototype.hasOwnProperty.call(proto, 'data')) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n m.data = proto.data;\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n if (kwargs.hasOwnProperty('data')) {\n this.data = kwargs.data;\n }\n }\n toApiJson() {\n if (typeof this.data === 'undefined') {\n return null;\n }\n return {\n 'url': typeof this.data !== 'undefined' ? this.data : null\n };\n }\n}\n\n/**\n * This file is for the HTTP requests, since MSCLI only auto-generates lib/helper code for GRPC endpoints.\n */\nlet MediaUploadApi = /*#__PURE__*/(() => {\n class MediaUploadApi {\n constructor(hostService, http) {\n this.hostService = hostService;\n this.http = http;\n }\n upload(r) {\n return this.http.post(this.hostService.hostWithScheme + \"/image/upload\", r.form, this.apiOptions()).pipe(map(resp => UploadImageResponse.fromProto(resp)), catchError(err => this.handleError(err)));\n }\n get(imageId) {\n return this.hostService.hostWithScheme + \"/image/get/\" + imageId;\n }\n apiOptions() {\n return {\n withCredentials: true\n };\n }\n handleError(error) {\n if (error.error instanceof ErrorEvent) {\n console.error(`An error occurred:`, error.error.message);\n } else {\n console.error(error);\n }\n return throwError(() => \"Unable to upload photo. Please try again.\");\n }\n }\n MediaUploadApi.ɵfac = function MediaUploadApi_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MediaUploadApi)(i0.ɵɵinject(HostService), i0.ɵɵinject(i1.HttpClient));\n };\n MediaUploadApi.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MediaUploadApi,\n factory: MediaUploadApi.ɵfac,\n providedIn: \"root\"\n });\n return MediaUploadApi;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet MediaApiService = /*#__PURE__*/(() => {\n class MediaApiService {\n constructor(grpcApi, mediaUploadApi) {\n this.grpcApi = grpcApi;\n this.mediaUploadApi = mediaUploadApi;\n }\n upload(file) {\n const formData = new FormData();\n formData.append('image', file, file.name);\n return this.mediaUploadApi.upload({\n form: formData\n }).pipe(map(resp => resp?.data || null));\n }\n create(servingUrl) {\n return this.grpcApi.createImage(new CreateImageRequest({\n servingUrl: servingUrl\n }));\n }\n get(imageId) {\n return this.mediaUploadApi.get(imageId);\n }\n getResumableUpload(mediaType, origin) {\n const request = new GetResumableUploadSessionRequest({\n mediaType: mediaType,\n origin: origin\n });\n return this.grpcApi.getResumableUploadSession(request);\n }\n }\n MediaApiService.ɵfac = function MediaApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MediaApiService)(i0.ɵɵinject(MediaApiService$1), i0.ɵɵinject(MediaUploadApi));\n };\n MediaApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MediaApiService,\n factory: MediaApiService.ɵfac,\n providedIn: 'root'\n });\n return MediaApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CreateImageRequest, CreateImageResponse, CreateVideoRequest, CreateVideoResponse, GenerateUploadUrlRequest, GenerateUploadUrlResponse, GetImageRequest, GetImageResponse, GetResumableUploadSessionRequest, GetResumableUploadSessionResponse, GetVideoRequest, GetVideoResponse, HostService, Image, MediaApiService, Tag, Video };\n","import { Injectable } from '@angular/core';\nimport { MatDialogRef } from '@angular/material/dialog';\nimport {\n MediaApiService as AccountGroupMediaApiService,\n AssociateImageRequest,\n DeleteImageRequest,\n ImageType,\n ListImagesRequest,\n} from '@vendasta/account-group-media';\nimport { SnackbarService } from '@vendasta/galaxy/snackbar-service';\nimport { MediaApiService } from '@vendasta/media';\nimport { BehaviorSubject, EMPTY as empty, firstValueFrom, Observable } from 'rxjs';\nimport { map, switchMap, tap } from 'rxjs/operators';\nimport { ClientImage, MenuOption } from './media-tab.interface';\n\n@Injectable()\nexport class MediaTabService {\n private reloadSubject = new BehaviorSubject(null);\n reload$ = this.reloadSubject.asObservable();\n private accountGroupId: string;\n hasMore = new BehaviorSubject(false);\n totalImages$$ = new BehaviorSubject(0);\n loading$$ = new BehaviorSubject(false);\n pageFetchError$$ = new BehaviorSubject(false);\n imagesSubject$$ = new BehaviorSubject([]);\n private imageCursor: string;\n\n constructor(\n private accountGroupMediaApiService: AccountGroupMediaApiService,\n public mediaApiService: MediaApiService,\n private snackbarService: SnackbarService,\n ) {}\n\n setAccountGroupId(accountGroupId: string): void {\n this.clearConfig();\n this.accountGroupId = accountGroupId;\n this.addClientImages();\n }\n\n clearConfig(): void {\n this.accountGroupId = null;\n this.hasMore.next(false);\n this.totalImages$$.next(0);\n this.loading$$.next(false);\n this.pageFetchError$$.next(false);\n this.imageCursor = null;\n this.imagesSubject$$.next([]);\n }\n\n private addImageToSubject(image: ClientImage): void {\n const curImages = this.imagesSubject$$.getValue();\n\n if (!curImages.find((x) => x.url === image.url)) {\n if (image.type) {\n curImages.unshift(image);\n this.imagesSubject$$.next(curImages);\n } else {\n const index = curImages.findIndex((x) => x.date < image.date && x.type === image.type);\n if (index !== -1) {\n curImages.splice(index, 0, image);\n this.imagesSubject$$.next(curImages);\n } else {\n this.imagesSubject$$.next(curImages.concat(image));\n }\n }\n }\n }\n\n private removeImageUrlFromSubject(imageUrl: string, imageType: string): void {\n const curImages = this.imagesSubject$$.getValue();\n const index = curImages.findIndex((x) => x.url === imageUrl);\n if (index > -1) {\n curImages.splice(index, 1);\n this.imagesSubject$$.next(curImages);\n let total: number = this.totalImages$$.getValue();\n total--;\n this.totalImages$$.next(total);\n }\n this.reloadSubject.next(imageType.trim());\n }\n\n private removeImageTypeFromSubject(imageType: ImageType): boolean {\n const curImages = this.imagesSubject$$.getValue();\n const index = curImages.findIndex((x) => x.type === this.imageTypeToString(imageType));\n\n if (index > -1) {\n curImages.splice(index, 1);\n this.imagesSubject$$.next(curImages);\n return true;\n }\n return false;\n }\n\n createAndAssociate(servingUrl: string, imageType?: ImageType): Observable {\n return this.mediaApiService.create(servingUrl).pipe(\n switchMap((createResponse) => {\n const associateRequest = new AssociateImageRequest({\n accountGroupId: this.accountGroupId,\n imageId: createResponse.imageId,\n imageType: imageType,\n });\n return this.accountGroupMediaApiService\n .associateImage(associateRequest)\n .pipe(map(() => createResponse.imageId));\n }),\n );\n }\n\n addClientImages(): void {\n this.loading$$.next(true);\n const request = new ListImagesRequest({\n accountGroupId: this.accountGroupId,\n cursor: this.imageCursor,\n pageSize: 8,\n });\n firstValueFrom(this.accountGroupMediaApiService.listImages(request))\n .then((result) => {\n const imageAssociations = result.images;\n if (!imageAssociations || imageAssociations.length === 0) {\n this.reloadSubject.next('addClientImages');\n } else {\n this.imageCursor = result.nextCursor;\n if (this.totalImages$$.getValue() < result.totalResults) {\n this.totalImages$$.next(result.totalResults);\n }\n this.hasMore.next(result.hasMore);\n imageAssociations.forEach((element) => {\n const url = this.mediaApiService.get(element.imageId);\n const type = this.imageTypeToString(element.imageType);\n this.addImageToSubject({\n url: url,\n date: element.created,\n type: type,\n });\n });\n this.pageFetchError$$.next(false);\n }\n this.loading$$.next(false);\n })\n .catch((err) => {\n console.error(err);\n this.pageFetchError$$.next(true);\n this.loading$$.next(false);\n })\n .finally(() => {\n this.loading$$.next(false);\n });\n }\n\n deleteImage(imageUrl: string, imageType: string, dialogRef: MatDialogRef): void {\n firstValueFrom(\n dialogRef.afterClosed().pipe(\n switchMap((result) => {\n if (result) {\n const imageId = imageUrl.split('/').pop();\n const deleteImageRequest = new DeleteImageRequest({\n accountGroupId: this.accountGroupId,\n imageId: imageId,\n });\n return this.accountGroupMediaApiService.deleteImage(deleteImageRequest).pipe(\n tap(\n () => {\n this.removeImageUrlFromSubject(imageUrl, imageType);\n this.snackbarService.openSuccessSnack('FRONTEND.BUSINESSES.MEDIA_TAB.PHOTO_DELETED');\n },\n () => {\n this.snackbarService.openErrorSnack('FRONTEND.BUSINESSES.MEDIA_TAB.ERROR_DELETING_PHOTO');\n },\n ),\n );\n }\n return empty;\n }),\n ),\n );\n }\n\n public imageTypeToString(type: number): string {\n if (type === ImageType.LOGO) {\n return 'Logo';\n }\n if (type === ImageType.PRIMARY) {\n return 'Primary';\n }\n if (type === ImageType.SECONDARY_LOGO) {\n return 'Secondary Logo';\n }\n if (type === ImageType.NOT_SPECIFIED) {\n return undefined;\n }\n }\n\n markImageAsPerType(imageUrl: string, type: MenuOption): void {\n const imageType = this.convertMenuOptionToImageType(type);\n\n this.createAndAssociate(imageUrl, imageType)\n .pipe(\n tap({\n next: (imageId) => {\n const clientType = {\n url: this.mediaApiService.get(imageId),\n date: new Date(),\n type: this.imageTypeToString(imageType),\n };\n if (MenuOption.Gallery == type) {\n let total: number = this.totalImages$$.getValue();\n total++;\n this.totalImages$$.next(total);\n } else {\n this.removeImageTypeFromSubject(imageType);\n }\n this.addImageToSubject(clientType);\n this.snackbarService.openSuccessSnack('FRONTEND.BUSINESSES.MEDIA_TAB.' + this.getSuccessMessage(imageType));\n },\n error: () => {\n this.snackbarService.openErrorSnack('FRONTEND.BUSINESSES.MEDIA_TAB.ERROR_SETTING_PHOTO');\n },\n }),\n )\n .subscribe(); // Add subscribe to ensure API call is made\n }\n\n convertMenuOptionToImageType(menuOption: MenuOption): ImageType {\n switch (menuOption) {\n case MenuOption.Logo:\n return ImageType.LOGO;\n case MenuOption.Primary:\n return ImageType.PRIMARY;\n case MenuOption.Secondary_Logo:\n return ImageType.SECONDARY_LOGO;\n default:\n return ImageType.NOT_SPECIFIED; // Default to NOT_SPECIFIED or handle other cases\n }\n }\n\n getSuccessMessage(imageType?: ImageType): string {\n switch (imageType) {\n case ImageType.LOGO:\n return 'MAIN_LOGO_SET_SUCCESSFULLY';\n case ImageType.SECONDARY_LOGO:\n return 'SECONDARY_LOGO_SET_SUCCESSFULLY';\n case ImageType.PRIMARY:\n return 'COVER_PHOTO_SET_SUCCESSFULLY';\n default:\n return 'PHOTO_UPLOADED_SUCCESSFULLY'; // Default to NOT_SPECIFIED or handle other cases\n }\n }\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Environment, EnvironmentService } from '@galaxy/core';\nimport { FileInfo, GalaxyImageUploaderService, UploadResponse } from '@vendasta/galaxy/uploader';\nimport { Observable } from 'rxjs';\n\n@Injectable()\nexport class MediaImageUploaderService extends GalaxyImageUploaderService {\n constructor(\n private httpClient: HttpClient,\n private environmentService: EnvironmentService,\n ) {\n super(httpClient);\n }\n\n public getURL(): string {\n switch (this.environmentService.getEnvironment()) {\n case Environment.DEMO: {\n return 'https://media-demo.apigateway.co/image/upload';\n }\n case Environment.PROD: {\n return 'https://media-prod.apigateway.co/image/upload';\n }\n default: {\n return 'https://media-demo.apigateway.co/image/upload';\n }\n }\n }\n\n buildRequest(fileInfo: FileInfo): Observable {\n const imageToUpload = fileInfo?.data?.croppedImage || fileInfo.file;\n const formData = new FormData();\n\n formData.append('image', imageToUpload);\n return this.httpClient.post(this.getURL(), formData, { withCredentials: true });\n }\n}\n","import { Component, Inject, OnInit } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\n\n@Component({\n selector: 'business-image-cropper-dialog',\n templateUrl: './image-cropper-dialog.component.html',\n styleUrls: ['./image-cropper-dialog.component.scss'],\n standalone: false,\n})\nexport class ImageCropperDialogComponent implements OnInit {\n maxEditorHeight: string;\n aspectRatioLabel: number;\n\n constructor(\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: any,\n ) {}\n\n ngOnInit(): void {\n this.maxEditorHeight = `${window.innerHeight / 2}px`;\n this.aspectRatioLabel = this.data.aspectRatio;\n }\n\n closeDialog(blob?: Blob): void {\n this.dialogRef.close(blob); // Pass the cropped image blob back to the parent\n }\n}\n","\n \n {{ 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.CROP_PHOTO' | translate }} \n \n \n\n","import { Component, EventEmitter, Inject, input, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport { SnackbarService } from '@vendasta/galaxy/snackbar-service';\nimport {\n FileInfo,\n FileUploadError,\n GalaxyImageUploaderService,\n GALAXY_UPLOADER_SERVICE_TOKEN,\n} from '@vendasta/galaxy/uploader';\nimport { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { MediaImageUploaderService } from './media-image-uploader.service';\nimport { MatDialog } from '@angular/material/dialog';\n\nimport { ImageCropperDialogComponent } from '../image-cropper-dialog/image-cropper-dialog.component'; // import the dialog component\n\n@Component({\n selector: 'business-media-image-uploader',\n templateUrl: './media-image-uploader.component.html',\n styleUrls: ['./media-image-uploader.component.scss'],\n providers: [{ provide: GALAXY_UPLOADER_SERVICE_TOKEN, useClass: MediaImageUploaderService }],\n standalone: false,\n})\nexport class MediaImageUploaderComponent implements OnInit, OnDestroy {\n constructor(\n @Inject(GALAXY_UPLOADER_SERVICE_TOKEN) private uploadService: GalaxyImageUploaderService,\n private snackService: SnackbarService,\n private dialog: MatDialog,\n ) {}\n\n /** a url of the image that is currently saved */\n @Input() imageUrl: string;\n /** list of accepted image file types */\n @Input() acceptedFiles = '.png,.svg,.jpg,.jpeg';\n /** disable the editing of the image. View only. */\n @Input() disabled = false;\n /** Text to display in the hint section of the image uploader */\n @Input() hintText = '';\n /** Optional: allowed aspect ratios in image uploader */\n @Input() aspectRatio = 1;\n\n @Input() buttonText = 'Upload';\n parsedButtonText: [string, string] = ['GALAXY.UPLOADER.CHOOSE_IMAGE', 'GALAXY.UPLOADER.CHOOSE_IMAGE_PL'];\n /** Optional background theme to preview the image in */\n readonly previewTheme = input<'dark' | 'light'>();\n readonly previewSize = input<'xs' | 'sm' | 'lg'>('lg');\n readonly addPadding = input(false);\n\n /** notifies the parent component that the image resource has changed to it can react to it */\n @Output() imageChanged: EventEmitter = new EventEmitter();\n\n @Output() loaderState: EventEmitter = new EventEmitter();\n\n maxDimensions = { width: 5000, height: 5000 };\n minDimensions = { width: 250, height: 250 };\n\n croppingFile: FileInfo;\n isEditing = false;\n\n subscriptions: Subscription[] = [];\n\n ngOnInit(): void {\n this.subscriptions.push(\n this.uploadService.fileErrored$$.pipe(filter((error) => !!error)).subscribe({\n next: (error: FileUploadError) => this.onError(error),\n }),\n );\n\n this.subscriptions.push(\n this.uploadService.fileUploaded$.pipe(filter((fileInfo) => !!fileInfo)).subscribe({\n next: (fileInfo: FileInfo) => this.onUpload(fileInfo),\n }),\n );\n this.parsedButtonText = [this.buttonText, 'GALAXY.UPLOADER.CHOOSE_IMAGE_PL'];\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((subscription) => subscription.unsubscribe());\n }\n\n assignImageEditing(isEditing: boolean): void {\n this.isEditing = isEditing;\n }\n\n onError(fileError: FileUploadError): void {\n this.snackService.errorSnack(fileError.error.message);\n }\n\n onUpload(file: FileInfo): void {\n this.imageChanged.emit(file.url);\n this.uploadService.clear();\n this.croppingFile = null;\n this.assignImageEditing(false);\n }\n\n endEdit(blob?: Blob): void {\n if (blob) {\n this.uploadService.setCroppedImage(this.croppingFile, blob);\n this.uploadService.uploadQueuedFiles();\n } else {\n this.uploadService.clear();\n this.croppingFile = null;\n }\n }\n\n onFilesChanged(files: FileInfo[]): void {\n if (files[0]) {\n this.croppingFile = files[0];\n this.openEditorDialog();\n }\n }\n\n convertButtonText(inputText: string): [string, string] {\n return [inputText, 'GALAXY.UPLOADER.CHOOSE_IMAGE_PL'];\n }\n\n openEditorDialog(): void {\n const dialogRef = this.dialog.open(ImageCropperDialogComponent, {\n width: '700px',\n minWidth: '60%',\n maxWidth: '100%',\n minHeight: '500px',\n data: {\n croppingFile: this.croppingFile,\n aspectRatio: this.aspectRatio,\n maxDimensions: this.maxDimensions,\n minDimensions: this.minDimensions,\n },\n });\n\n dialogRef.afterClosed().subscribe((blob) => {\n if (blob) {\n this.endEdit(blob); // handle cropped image\n this.loaderState.emit(true);\n } else {\n this.croppingFile = null; // clear if no cropping was done\n }\n });\n }\n}\n","
\n @if (!croppingFile) {\n \n }\n
\n","import { Component, Inject } from '@angular/core';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\nimport { MenuOption } from '../media-tab.interface';\n\n@Component({\n selector: 'business-image-update-dialog',\n templateUrl: './image-update-dialog.component.html', // External HTML template\n styleUrls: ['./image-update-dialog.component.scss'], // Optional: External CSS (if needed)\n standalone: false,\n})\nexport class ImageUpdateDialogComponent {\n buttonText: string;\n menuOption: MenuOption;\n ratio: number;\n constructor(\n private dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: any, // Data passed into the dialog\n ) {\n this.buttonText = data.buttonText || 'Upload Image';\n this.menuOption = data.type;\n this.ratio = data.ratio;\n }\n\n onImageChanged(event: any): void {\n // Handle image change\n this.dialogRef.close(event); // Confirm and close the dialog\n }\n\n onCancel(): void {\n this.dialogRef.close(false); // Close the dialog without action\n }\n}\n","

{{ 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.IMAGE_UPDATE_TITLE' | translate }}

\n\n {{ 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.IMAGE_UPDATE_BODY' | translate }}\n\n\n \n \n \n\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport { ImageTransformation, ImageTransformationService } from '@vendasta/image-transformation';\nimport { Subscription, fromEvent as observableFromEvent } from 'rxjs';\n\nimport { ClientImage, MenuOption } from '../media-tab.interface';\nimport { ImageMenuClick } from './image-menu-click';\n\n@Component({\n styleUrls: ['./media-tab-gallery.component.scss'],\n selector: 'business-media-tab-gallery',\n templateUrl: './media-tab-gallery.component.html',\n standalone: false,\n})\nexport class MediaTabGalleryComponent implements OnInit, OnDestroy {\n @Input() images: ClientImage[];\n @Output() imageClicked = new EventEmitter();\n @Input() menuOptions: string[];\n @Output() menuOptionSelected = new EventEmitter();\n mobileColumns = 2;\n desktopColumns = 4;\n gridColumns = 4;\n private subscriptions: Subscription[] = [];\n\n constructor(private imageTransformationService: ImageTransformationService) {}\n\n ngOnInit(): void {\n this.updateColumnTotal();\n this.subscriptions.push(\n observableFromEvent(window, 'resize').subscribe(() => {\n this.updateColumnTotal();\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((sub) => {\n sub.unsubscribe();\n });\n }\n\n onClick(image: ClientImage): void {\n this.imageClicked.emit(image);\n }\n\n menuOptionClicked(image: ClientImage, option: MenuOption): void {\n const menuClick: ImageMenuClick = {\n image: image,\n option: option,\n };\n this.menuOptionSelected.emit(menuClick);\n }\n\n getSrcsetImageUrls(imageUrl: string): string {\n const transformation = new ImageTransformation().crop().renderAsJpeg().setJpegQuality(80);\n return this.imageTransformationService.getSrcSetForImage(imageUrl, [256, 320, 512], transformation);\n }\n\n updateColumnTotal(): void {\n this.gridColumns = window.innerWidth < 800 ? this.mobileColumns : this.desktopColumns;\n }\n\n protected readonly MenuOption = MenuOption;\n}\n","\n @for (image of images; track image) {\n \n @if (image.type) {\n \n \n \n {{ image.type | uppercase | translate }}\n \n \n \n }\n \n {{ image.date | date }}\n \n \n \n
\n
\n }\n
\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { FileInfo, GalaxyImageUploaderService } from '@vendasta/galaxy/uploader';\nimport { Observable, Subject, of } from 'rxjs';\nimport { finalize, switchMap, shareReplay } from 'rxjs/operators';\nimport { Environment, EnvironmentService } from '@galaxy/core';\n\nexport interface UploadResponse {\n data: {\n url: string;\n };\n}\n@Injectable({\n providedIn: 'root', // This makes the service a singleton\n})\nexport class UploadedUrlsService {\n private uploadedUrls: string[] = [];\n private uploadedUrlsSubject$ = new Subject();\n\n public getUploadedUrls$(): Observable {\n return this.uploadedUrlsSubject$.asObservable().pipe(shareReplay(1));\n }\n\n public addUploadedUrl(url: string, isFinalUpload: boolean): void {\n this.uploadedUrls.push(url);\n if (isFinalUpload) {\n this.uploadedUrlsSubject$.next(this.uploadedUrls);\n this.uploadedUrls = [];\n }\n }\n}\n\n@Injectable()\nexport class GalleryMultiImageUploaderService extends GalaxyImageUploaderService {\n private uploadQueue: FileInfo[] = [];\n private isUploading = false;\n private uploadSubjects = new Map>(); // Map to hold unique subjects per file\n\n constructor(\n private httpClient: HttpClient,\n private environmentService: EnvironmentService,\n private uploadedUrlsService: UploadedUrlsService,\n ) {\n super(httpClient);\n }\n\n public getURL(): string {\n switch (this.environmentService.getEnvironment()) {\n case Environment.DEMO: {\n return 'https://media-demo.apigateway.co/image/upload';\n }\n case Environment.PROD: {\n return 'https://media-prod.apigateway.co/image/upload';\n }\n default: {\n return 'https://media-demo.apigateway.co/image/upload';\n }\n }\n }\n\n buildRequest(fileInfo: FileInfo): Observable {\n const subject = new Subject();\n this.uploadSubjects.set(fileInfo, subject);\n this.uploadQueue.push(fileInfo);\n if (!this.isUploading) {\n this.processNextUpload();\n }\n return subject.asObservable();\n }\n\n private processNextUpload() {\n if (this.uploadQueue.length === 0) {\n this.isUploading = false;\n return;\n }\n this.isUploading = true;\n\n const fileInfo = this.uploadQueue.shift();\n const subject = this.uploadSubjects.get(fileInfo);\n\n if (fileInfo && subject) {\n const imageToUpload = fileInfo?.data?.croppedImage || fileInfo.file;\n const formData = new FormData();\n formData.append('image', imageToUpload);\n this.httpClient\n .post(this.getURL(), formData, { withCredentials: true })\n .pipe(\n switchMap((response: UploadResponse) => {\n subject.next(response);\n subject.complete();\n this.uploadSubjects.delete(fileInfo);\n const isFinalUpload = this.uploadQueue.length === 0;\n this.uploadedUrlsService.addUploadedUrl(response.data.url, isFinalUpload);\n return of(response);\n }),\n finalize(() => {\n this.processNextUpload();\n }),\n )\n .subscribe({\n error: (error) => {\n subject.error(error);\n this.uploadSubjects.delete(fileInfo);\n },\n });\n }\n }\n}\n","import { Component, EventEmitter, Inject, input, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport { SnackbarService } from '@vendasta/galaxy/snackbar-service';\nimport {\n FileInfo,\n FileUploadError,\n GalaxyImageUploaderService,\n GALAXY_UPLOADER_SERVICE_TOKEN,\n} from '@vendasta/galaxy/uploader';\nimport { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { GalleryMultiImageUploaderService, UploadedUrlsService } from './gallery-multi-image-uploader.service';\nimport { MatDialog } from '@angular/material/dialog';\n\n@Component({\n selector: 'business-gallery-multi-image-uploader',\n templateUrl: './gallery-multi-image-uploader.component.html',\n styleUrls: ['./gallery-multi-image-uploader.component.scss'],\n providers: [{ provide: GALAXY_UPLOADER_SERVICE_TOKEN, useClass: GalleryMultiImageUploaderService }],\n standalone: false,\n})\nexport class GalleryMultiImageUploaderComponent implements OnInit, OnDestroy {\n constructor(\n @Inject(GALAXY_UPLOADER_SERVICE_TOKEN) private uploadService: GalaxyImageUploaderService,\n private uploadedUrlsService: UploadedUrlsService,\n private snackService: SnackbarService,\n private dialog: MatDialog,\n ) {}\n\n /** list of accepted image file types */\n @Input() acceptedFiles = '.png,.svg,.jpg,.jpeg';\n\n @Input() buttonText = 'Upload';\n\n parsedButtonText: [string, string] = ['GALAXY.UPLOADER.CHOOSE_IMAGE', 'GALAXY.UPLOADER.CHOOSE_IMAGE_PL'];\n /** Optional background theme to preview the image in */\n readonly previewTheme = input<'dark' | 'light'>();\n readonly previewSize = input<'xs' | 'sm' | 'lg'>('lg');\n readonly addPadding = input(false);\n\n /** notifies the parent component that the image resource has changed to it can react to it */\n @Output() imageChanged: EventEmitter = new EventEmitter();\n\n @Output() loaderState: EventEmitter = new EventEmitter();\n\n maxDimensions = { width: 5000, height: 5000 };\n croppingFile: FileInfo;\n\n subscriptions: Subscription[] = [];\n\n ngOnInit(): void {\n this.subscriptions.push(\n this.uploadService.fileErrored$$.pipe(filter((error) => !!error)).subscribe({\n next: (error: FileUploadError) => this.onError(error),\n }),\n );\n\n this.subscriptions.push(\n this.uploadedUrlsService.getUploadedUrls$().subscribe({\n next: (urls: string[]) => {\n this.onUpload(urls);\n },\n }),\n );\n this.parsedButtonText = [this.buttonText, 'GALAXY.UPLOADER.CHOOSE_IMAGE_PL'];\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((subscription) => subscription.unsubscribe());\n }\n\n onError(fileError: FileUploadError): void {\n this.snackService.errorSnack(fileError.error.message);\n }\n\n onUpload(urls: string[]): void {\n urls.forEach((url) => {\n this.imageChanged.emit(url);\n });\n this.uploadService.clear();\n this.croppingFile = null;\n }\n\n onFilesChanged(files: FileInfo[]): void {\n if (files[0]) {\n this.croppingFile = files[0];\n this.loaderState.emit(true);\n this.uploadService.uploadQueuedFiles();\n }\n }\n\n convertButtonText(inputText: string): [string, string] {\n return [inputText, 'GALAXY.UPLOADER.CHOOSE_IMAGE_PL'];\n }\n}\n","
\n @if (!croppingFile) {\n \n }\n
\n","import { ChangeDetectorRef, Component, effect, input, output } from '@angular/core';\nimport { MatDialog, MatDialogRef } from '@angular/material/dialog';\nimport { combineLatest, firstValueFrom, Observable, Subscription } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { LightboxData } from '../business-profile.interface';\nimport { ImageMenuClick } from './media-tab-gallery/image-menu-click';\nimport { ClientImage, MenuOption } from './media-tab.interface';\nimport { MediaTabService } from './media-tab.service';\nimport { ImageUpdateDialogComponent } from './image-update-dialog/image-update-dialog.component';\n\n@Component({\n selector: 'business-media-tab',\n templateUrl: './media-tab.component.html',\n styleUrls: ['./media-tab.component.scss'],\n standalone: false,\n})\nexport class MediaTabComponent {\n accountGroupId = input.required();\n editDisabled = input(false);\n imageClicked = output();\n loader = false;\n protected readonly images$: Observable;\n private reloadSubscription: Subscription;\n\n profileImageData = [\n {\n type: MenuOption.Logo,\n title: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.MAIN_LOGO_TITLE',\n hoverText: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.MAIN_LOGO_HOVER_TEXT',\n buttonText: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.MAIN_LOGO_BUTTON_TEXT',\n imageType: 'Logo',\n imageLink: '',\n ratio: 1,\n emptyImageLink: this.getImageSrc('main_logo_empty_state_image.svg'),\n },\n {\n type: MenuOption.Secondary_Logo,\n title: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.SECONDARY_LOGO_TITLE',\n hoverText: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.SECONDARY_LOGO_HOVER_TEXT',\n buttonText: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.SECONDARY_LOGO_BUTTON_TEXT',\n imageType: 'Secondary Logo',\n imageLink: '',\n ratio: 4 / 3,\n emptyImageLink: this.getImageSrc('secondary_logo_empty_state_image.svg'),\n },\n {\n type: MenuOption.Primary,\n title: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.PRIMARY_TITLE',\n hoverText: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.PRIMARY_HOVER_TEXT',\n buttonText: 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.PRIMARY_BUTTON_TEXT',\n imageType: 'Primary',\n imageLink: '',\n ratio: 16 / 9,\n emptyImageLink: this.getImageSrc('cover_photo_empty_state_image.svg'),\n },\n ];\n\n galleryDefaultImageLink = this.getImageSrc('Gallery_empty_state_image.svg');\n loadingStates: { [title: string]: boolean } = {};\n\n constructor(\n public dialog: MatDialog,\n public tabService: MediaTabService,\n private cdr: ChangeDetectorRef,\n ) {\n this.images$ = this.tabService.imagesSubject$$.pipe(\n map((images: ClientImage[]) => {\n const unmatchedImages: ClientImage[] = [];\n\n if (images.length > 0) {\n // Clear previous image links\n this.profileImageData.forEach((profileImage) => {\n profileImage.imageLink = '';\n });\n\n // Iterate over profileImageData and update imageLink if matching image is found\n this.profileImageData.forEach((profileImage) => {\n const matchingImage = images.find((image) => {\n return image.type === profileImage.imageType;\n });\n\n if (matchingImage) {\n profileImage.imageLink = matchingImage.url;\n }\n });\n\n // Add images that do not match any profileImageData to unmatchedImages\n images.forEach((image) => {\n const isUnmatched = !this.profileImageData.some((profileImage) => profileImage.imageType === image.type);\n\n if (isUnmatched) {\n unmatchedImages.push(image);\n }\n });\n }\n this.tabService.totalImages$$.next(unmatchedImages.length);\n return unmatchedImages; // Return only unmatched images\n }),\n );\n\n this.images$.subscribe(() => {\n this.setLoader(false, '');\n });\n\n effect(() => {\n this.tabService.setAccountGroupId(this.accountGroupId());\n });\n }\n\n setLoader(isLoading: boolean, title: string): void {\n this.loadingStates[title] = isLoading;\n }\n\n getLoader(title: string): boolean {\n return this.loadingStates[title] || false;\n }\n\n ngOnInit(): void {\n // Ensure loader is hidden during component refresh or reload\n this.loadingStates = {};\n\n this.reloadSubscription = this.tabService.reload$.subscribe((imageType) => {\n if (imageType === 'addClientImages') {\n this.reloadComponentForAddImage();\n } else {\n this.reloadComponent(imageType);\n }\n });\n }\n\n reloadComponent(imageType: string): void {\n this.profileImageData.forEach((profileImage) => {\n if (profileImage.imageType === imageType) {\n profileImage.imageLink = profileImage.emptyImageLink;\n }\n });\n this.cdr.detectChanges();\n }\n reloadComponentForAddImage(): void {\n this.profileImageData.forEach((profileImage) => {\n profileImage.imageLink = profileImage.emptyImageLink;\n });\n\n this.cdr.detectChanges();\n }\n ngOnDestroy(): void {\n if (this.reloadSubscription) {\n this.reloadSubscription.unsubscribe();\n }\n }\n public get galleryInfo$(): Observable {\n return combineLatest([\n this.tabService.totalImages$$,\n this.tabService.hasMore,\n this.tabService.loading$$,\n this.tabService.pageFetchError$$,\n ]).pipe(\n map(([totalImages, hasMore, loading, pageFetchError]) => ({ totalImages, hasMore, loading, pageFetchError })),\n );\n }\n\n loadMore(): void {\n this.tabService.addClientImages();\n }\n\n async openLightbox(clickedImage: ClientImage) {\n const imageUrls: string[] = await firstValueFrom(\n this.images$.pipe(map((images) => images.map((image) => image.url))),\n );\n this.imageClicked.emit({ imageUrls: imageUrls, index: imageUrls.indexOf(clickedImage.url) });\n }\n\n async imageMenuClicked(clickedOption: ImageMenuClick): Promise {\n const getMenuKey = (key) => `FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.${key}`;\n const dialogRef = this.dialog.open(ConfirmationModalComponent);\n dialogRef.componentInstance.title = getMenuKey('DELETE_PHOTO_QUESTION');\n dialogRef.componentInstance.body = getMenuKey('DELETE_PHOTO_BODY');\n dialogRef.componentInstance.confirmButton = getMenuKey('DELETE_PHOTO');\n this.tabService.deleteImage(clickedOption.image.url, MenuOption.Gallery, dialogRef);\n }\n\n async deleteMenuClicked(imageUrl: string, imageType: string): Promise {\n const getMenuKey = (key) => `FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.${key}`;\n\n const dialogRef = this.dialog.open(ConfirmationModalComponent);\n dialogRef.componentInstance.title = getMenuKey('DELETE_PHOTO_QUESTION');\n dialogRef.componentInstance.body = getMenuKey('DELETE_PHOTO_BODY');\n dialogRef.componentInstance.confirmButton = getMenuKey('DELETE_PHOTO');\n\n await this.tabService.deleteImage(imageUrl, imageType, dialogRef);\n }\n\n onImageChanged(imageUrl: string, type: MenuOption): void {\n this.tabService.markImageAsPerType(imageUrl, type);\n this.setLoader(false, 'gallery');\n }\n\n openImageUpdateDialog(imageData: any): void {\n const dialogRef = this.dialog.open(ImageUpdateDialogComponent, {\n width: '400px',\n data: { buttonText: imageData.buttonText, type: imageData.type, ratio: imageData.ratio },\n });\n\n dialogRef.afterClosed().subscribe((result) => {\n if (result) {\n // Handle image update logic after confirmation\n this.tabService.markImageAsPerType(result, imageData.type);\n }\n });\n }\n getImageSrc(imageName: string): string {\n if (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1') {\n return `assets/businesses/media-tab-images/${imageName}`;\n }\n return `https://vstatic-prod.apigateway.co/business-center-client.9223372035111590735.prod/assets/businesses/media-tab-images/${imageName}`;\n }\n\n protected readonly MenuOption = MenuOption;\n}\n\n@Component({\n selector: 'business-confirmation-modal',\n template: `\n \n

{{ title | translate }}

\n

{{ body | translate }}

\n
\n \n \n \n \n `,\n standalone: false,\n})\nexport class ConfirmationModalComponent {\n // Translation key for modal title\n public title: string;\n // Translation key for modal body\n public body: string;\n // Translation key for modal confirm button\n public confirmButton: string;\n constructor(private dialogRef: MatDialogRef) {}\n\n onConfirm(): void {\n this.dialogRef.close(true);\n }\n\n onCancel(): void {\n this.dialogRef.close(false);\n }\n}\n","
\n @for (imageData of profileImageData; track imageData) {\n
\n \n @if (imageData.imageLink) {\n \n \n {{ imageData.title | translate }}\n \n info_outline\n \n \n \n \n \n \n \n \n \n \n
\n } @else {\n \n {{ imageData.title | translate }}\n \n info_outline\n \n \n \n \n \n
\n \n \n
\n \n
\n
\n }\n
\n
\n }\n
\n\n\n @let images = images$ | async;\n \n \n
\n
\n {{ 'FRONTEND.BUSINESSES.GALLERY' | translate }}
\n {{\n 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.GALLERY_SECOND_TITLE' | translate\n }}\n
\n
\n @if (!editDisabled() && images.length > 0) {\n \n \n }\n
\n
\n
\n
\n\n \n @if (getLoader('gallery')) {\n \n }\n @if (images && images.length > 0) {\n @if (galleryInfo$ | async; as info) {\n \n @if (info.loading) {\n \n }\n @if (info.pageFetchError) {\n
\n \n {{ 'FRONTEND.BUSINESSES.MEDIA_TAB.UNABLE_TO_LOAD_IMAGES' | translate }}\n \n
\n }\n @if (info.hasMore) {\n
\n \n
\n }\n
\n \n {{\n 'FRONTEND.BUSINESSES.MEDIA_TAB.SHOWING_X_OF_Y'\n | translate: { count: images.length, total: info.totalImages }\n }}\n \n
\n }\n } @else {\n \n \n
\n \n \n
\n
\n {{ 'FRONTEND.BUSINESSES.MEDIA_TAB.IMAGE_MENU.GALLERY_ALERT' | translate }}\n
\n
\n
\n
\n }\n
\n
\n","import { Component, EventEmitter, Input, Output, ViewChild, AfterViewInit } from '@angular/core';\nimport { Geo, GooglePlace } from '@vendasta/account-group';\n\n@Component({\n selector: 'business-place-autocomplete',\n templateUrl: './place-autocomplete.component.html',\n styleUrls: ['./place-autocomplete.component.scss'],\n standalone: false,\n})\nexport class PlaceAutocompleteComponent implements AfterViewInit {\n maxBounds: google.maps.LatLngBounds;\n autocompleteInput: string;\n @ViewChild('addresstext') addresstext: any;\n @Input() set geoLocation(b: Geo) {\n if (!!b && b?.latitude !== undefined && b?.longitude !== undefined) {\n const center = new google.maps.LatLng(b.latitude, b.longitude);\n // Set location bias for Google place search to a radius of 300 km from the business location because Google says\n // service areas should not extend farther than about a 2-hour drive away from the business location\n // https://support.google.com/business/answer/3038177#zippy=%2Caddress\n this.maxBounds = new google.maps.Circle({ radius: 300000, center: center }).getBounds();\n }\n }\n @Input() editDisabled = false;\n @Output() selected: EventEmitter = new EventEmitter();\n\n ngAfterViewInit(): void {\n this.getPlaceAutocomplete();\n }\n\n private getPlaceAutocomplete(): void {\n const options: google.maps.places.AutocompleteOptions = {\n types: ['(regions)'],\n };\n options.bounds = this.maxBounds ? this.maxBounds : undefined;\n options.strictBounds = false;\n options.fields = ['place_id', 'address_components', 'name', 'types'];\n\n const autocomplete = new google.maps.places.Autocomplete(this.addresstext?.nativeElement, options);\n google.maps.event.addListener(autocomplete, 'place_changed', () => {\n const place = autocomplete.getPlace();\n this.invokeEvent(place);\n this.autocompleteInput = '';\n this.addresstext?.nativeElement.blur();\n this.addresstext?.nativeElement.focus();\n });\n }\n\n invokeEvent(place: google.maps.places.PlaceResult): void {\n this.selected.emit(\n new GooglePlace({\n placeId: place.place_id,\n placeName: this.formatName(place),\n city: place.address_components.find((component) => component.types.indexOf('locality') !== -1)?.long_name || '',\n }),\n );\n }\n\n formatName(place: google.maps.places.PlaceResult): string {\n const city =\n place.address_components.find((component) => component.types.indexOf('locality') !== -1)?.long_name || '';\n const province =\n place.address_components.find((component) => component.types.indexOf('administrative_area_level_1') !== -1)\n ?.short_name || '';\n const country =\n place.address_components.find((component) => component.types.indexOf('country') !== -1)?.short_name || '';\n switch (place.types[0]) {\n case 'administrative_area_level_2':\n case 'locality': {\n return joinFirstItems([place.name, province, country], ', ', 2);\n }\n case 'sublocality':\n case 'postal_code': {\n return joinFirstItems([place.name, city, province, country], ', ', 3);\n }\n case 'country': {\n return place.name;\n }\n case 'administrative_area_level_1': {\n return joinFirstItems([place.name, country], ', ', 2);\n }\n }\n return place.name;\n }\n}\n\nfunction joinFirstItems(items: string[], delimiter: string, max: number): string {\n return items.filter(Boolean).slice(0, max).join(delimiter);\n}\n","\n \n\n","import { Component, Input, Output, EventEmitter, OnInit, OnDestroy } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';\nimport { MatDialog, MatDialogRef } from '@angular/material/dialog';\nimport { TranslateService } from '@ngx-translate/core';\nimport { RegularHoursPeriod } from '@vendasta/listing-products';\nimport { EditRegularHoursDialogComponent } from '@vendasta/forms';\nimport { filter, Observable, Subscription } from 'rxjs';\n\nexport interface MoreHoursType {\n hoursTypeId: string;\n displayName: string;\n localizedDisplayName: string;\n}\n\n@Component({\n selector: 'business-profile-more-hours',\n templateUrl: './more-hours.component.html',\n styleUrls: ['./more-hours.component.scss'],\n standalone: false,\n})\nexport class MoreHoursComponent implements OnInit, OnDestroy {\n @Input() parentFormGroup: UntypedFormGroup;\n @Input() appearance: 'outline' | 'standard' = 'standard';\n @Input() markedAsRequired = false;\n @Input() moreHoursTypes: MoreHoursType[] = [];\n @Input() loading$: Observable;\n @Input() editDisabled = false;\n @Output() changed = new EventEmitter();\n\n subscriptions: Subscription[] = [];\n\n private editDialogRef: MatDialogRef;\n\n public setTypes: Map = new Map();\n public unsetTypes: Map = new Map();\n\n constructor(\n private dialog: MatDialog,\n private fb: UntypedFormBuilder,\n private translateService: TranslateService,\n ) {}\n\n ngOnInit(): void {\n this.subscriptions.push(\n this.loading$.pipe(filter((loading) => !loading)).subscribe(() => {\n this.moreHoursTypes.forEach((moreHoursType) => {\n const existingHours: RegularHoursPeriod[] = this.parentFormGroup.get(moreHoursType.hoursTypeId)?.value;\n if (existingHours?.length > 0) {\n this.setTypes.set(moreHoursType.hoursTypeId, moreHoursType);\n } else {\n const control = this.fb.control({ value: [] });\n this.unsetTypes.set(moreHoursType.hoursTypeId, moreHoursType);\n this.parentFormGroup.addControl(moreHoursType.hoursTypeId, control);\n const hoursTypeId = this.parentFormGroup.get(moreHoursType.hoursTypeId);\n if (hoursTypeId) {\n hoursTypeId.markAsPristine();\n }\n }\n });\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((subscription) => subscription.unsubscribe());\n }\n\n openEditDialog(moreHoursType: MoreHoursType): void {\n const control = this.parentFormGroup.get(moreHoursType.hoursTypeId);\n if (control.disabled || this.editDisabled) {\n return;\n }\n\n control.markAsTouched();\n this.dialog.closeAll();\n this.editDialogRef = this.dialog.open(EditRegularHoursDialogComponent, {\n disableClose: true,\n width: '660px',\n maxWidth: '100vw',\n data: { hideHolidayHours: true },\n });\n this.editDialogRef.componentInstance.control = control as UntypedFormControl;\n this.editDialogRef.componentInstance.showRemoveButton = true;\n this.editDialogRef.componentInstance.customTitle = `${\n moreHoursType.localizedDisplayName\n } ${this.translateService.instant('FRONTEND.BUSINESSES.HOURS')}`;\n this.editDialogRef.afterClosed().subscribe((result) => {\n if (result) {\n control.markAsDirty();\n control.setValue(result);\n if (result.length) {\n this.unsetTypes.delete(moreHoursType.hoursTypeId);\n this.setTypes.set(moreHoursType.hoursTypeId, moreHoursType);\n } else {\n this.setTypes.delete(moreHoursType.hoursTypeId);\n this.unsetTypes.set(moreHoursType.hoursTypeId, moreHoursType);\n }\n this.changed.emit();\n }\n this.editDialogRef = null;\n });\n }\n}\n","\n \n \n {{ 'FRONTEND.FORMS.MORE_HOURS.TITLE' | translate }}\n \n \n \n \n 0; else empty\">\n 0\">\n

{{ 'FRONTEND.BUSINESSES.ACTIVE' | translate }}

\n \n \n \n {{ moreHourType.value.localizedDisplayName }}\n \n \n \n
\n\n 0\">\n

{{ 'FRONTEND.FORMS.INPUT.ADD' | translate }}

\n \n \n \n add\n {{ moreHourType.value.localizedDisplayName }}\n \n \n \n
\n
\n
\n
\n
\n\n\n \n\n\n\n
\n \n
\n {{ 'FRONTEND.FORMS.MORE_HOURS.EMPTY' | translate }}\n
\n
\n
\n","import { HttpClient, HttpErrorResponse } from '@angular/common/http';\nimport {\n Component,\n computed,\n DestroyRef,\n effect,\n Inject,\n inject,\n input,\n Input,\n NgZone,\n OnInit,\n output,\n Signal,\n ViewChild,\n} from '@angular/core';\nimport { takeUntilDestroyed, toObservable, toSignal } from '@angular/core/rxjs-interop';\nimport {\n AbstractControl,\n FormArray,\n FormBuilder,\n FormControl,\n FormGroup,\n ValidatorFn,\n Validators,\n} from '@angular/forms';\nimport { MapGeocoder, MapGeocoderResponse } from '@angular/google-maps';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { isHealthCategory } from '@galaxy/business-category';\nimport { TranslateService } from '@ngx-translate/core';\nimport { GooglePlace, RichDataPaymentMethods } from '@vendasta/account-group';\nimport { CountryOption } from '@vendasta/address';\nimport { AuxiliaryDataTableComponent, ObjectType } from '@vendasta/auxiliary-data-components';\nimport { CategoryInterface } from '@vendasta/category';\nimport {\n emailValidator,\n fixControlsForFormArray,\n getChangedValues,\n ItemFactory,\n nameCharacterValidator,\n Option,\n phoneValidator,\n urlValidator,\n whitespaceValidator,\n} from '@vendasta/forms';\nimport { buildTimezoneDisplay } from '@vendasta/galaxy/utility/timezone';\nimport {\n ValueType as AttributesValueType,\n BingAttribute,\n BingAttributeMetaData,\n BingAttributeMetaDataInterface,\n BusinessHours,\n ClosedStatus,\n DoctorDotComCategory,\n Geo,\n GetDoctorDotComCategoriesRequest,\n GetSuggestionRequest,\n GetSuggestionResponse,\n GoogleAttribute,\n GoogleAttributeMetaData,\n GoogleAttributeMetaDataInterface,\n HealthCareProfessionalInformation,\n HealthCareProfessionalInformationGender,\n HealthCareProfessionalInformationIsProvider,\n IsAvailable,\n LegacyProductDetails,\n ListingProductsApiService,\n ListingProfile,\n ListingProfileApiService,\n MoreHoursType,\n ProjectionFilter,\n RichData,\n ServiceArea,\n ServiceAvailability,\n SuggestFieldUpdateRequest,\n SuggestionApiService,\n UpdateOption,\n VendorAttributeMetaData,\n} from '@vendasta/listing-products';\nimport {\n BingAttributesUpdateOperation,\n BusinessHoursUpdateOperation,\n ExternalIdentifiersUpdateOperation,\n GoogleAttributesUpdateOperation,\n LegacyProductDetailsUpdateOperation,\n ListingProfileService,\n MergeHours,\n NapUpdateOperation,\n RichDataUpdateOperation,\n SocialURLsUpdateOperation,\n SplitHours,\n UpdateOperations,\n} from '@vendasta/listing-profile-common';\nimport { ProductAnalyticsService } from '@vendasta/product-analytics';\nimport { ListSalespersonsRequestListSalespersonsFiltersInterface, SalespersonService, SalesSdk } from '@vendasta/sales';\nimport { Salesperson as SalesSalesperson } from '@vendasta/sales/lib/_internal/objects/salesperson';\nimport { Salesperson } from '@vendasta/salesperson';\nimport { VaFullscreenLightboxService } from '@vendasta/uikit';\nimport {\n catchError,\n combineLatest,\n EMPTY,\n filter,\n map,\n Observable,\n of,\n ReplaySubject,\n shareReplay,\n startWith,\n switchMap,\n tap,\n} from 'rxjs';\nimport { retry } from 'rxjs/operators';\nimport { Address, COUNTRY_CONTROL_TOKEN } from './address';\nimport {\n AvailabilityOption,\n BusinessOperationMethods,\n CountryPaymentMethods,\n FormUpdateParameters,\n GenderKeys,\n GenderOption,\n GenderSelection,\n IsProviderOption,\n ProfesstionalCredentials,\n SellingMethodsAvailability,\n ValidationErrorMessages,\n} from './business-profile.consts';\nimport { BusinessProfileTab, HiddenField, InvalidFormField, LightboxData, Market } from './business-profile.interface';\nimport {\n primaryIsNotInAdditionalSalespeople,\n primaryIsSelectedWhenHavingAdditionalSalespeople,\n totalLengthOfRepeatedFieldValidator,\n} from './custom-validators';\nimport { FormatPhoneNumberPipe } from './format-phone-number.pipe';\n\ndeclare let google: any;\n\nconst formTabs: Record = {\n basicInfoForm: BusinessProfileTab.Primary,\n serviceAreaForm: BusinessProfileTab.Primary,\n phoneForm: BusinessProfileTab.Primary,\n serviceAvailabilityForm: BusinessProfileTab.Primary,\n geoControl: BusinessProfileTab.Primary,\n additionalInfoForm: BusinessProfileTab.Primary,\n hoursForm: BusinessProfileTab.Hours,\n businessHoursForm: BusinessProfileTab.Hours,\n businessPagesForm: BusinessProfileTab.Social,\n blogForm: BusinessProfileTab.Social,\n businessDescriptionsForm: BusinessProfileTab.Descriptions,\n personalInformationForm: BusinessProfileTab.Professional,\n practiceInformationForm: BusinessProfileTab.Professional,\n qualificationsAndExperienceForm: BusinessProfileTab.Professional,\n additionalProfessionalInfoForm: BusinessProfileTab.Professional,\n timeZoneControl: BusinessProfileTab.Primary,\n googleAttributesForm: BusinessProfileTab.Attributes,\n bingAttributesForm: BusinessProfileTab.Attributes,\n};\n\n@Component({\n selector: 'business-profile',\n templateUrl: './business-profile.component.html',\n styleUrls: ['./business-profile.component.scss'],\n providers: [FormatPhoneNumberPipe],\n standalone: false,\n})\nexport class BusinessProfileComponent implements OnInit {\n readonly accountGroupId = input.required();\n @Input() productNames: any;\n @Input() editDisabled = false;\n @Input() maxShareOfVoiceKeywords = 3;\n @Input() maxCompetitors = 3;\n @Input() enabledTabs: BusinessProfileTab[] = [\n BusinessProfileTab.Primary,\n BusinessProfileTab.Hours,\n BusinessProfileTab.Social,\n BusinessProfileTab.Professional,\n BusinessProfileTab.Descriptions,\n BusinessProfileTab.Images,\n BusinessProfileTab.Attributes,\n ];\n @Input() markets: Market[];\n @Input() tags: Option[];\n @Input() hiddenFields?: HiddenField[];\n @Input() auxiliaryDataAdminURL = '';\n @Input() tabBackground: 'default' | 'lighter-grey' = 'default';\n readonly saved = output();\n\n @ViewChild('auxiliarydatatable')\n private readonly auxiliaryDataTable: AuxiliaryDataTableComponent;\n protected auxiliaryDataObjectType: ObjectType = 'business';\n protected visibleConditionalFields: string[] = [];\n\n protected CUSTOM_ERROR_MESSAGES = {\n lengthOfRepeatedField: function (error: { maxLength: number; friendlyName: string }): string {\n return this.translateService.instant('FRONTEND.BUSINESSES.LENGTH_OF_REPEATED_FIELD_ERROR', {\n maxLength: error.maxLength,\n fieldName: this.translateService.instant(error.friendlyName),\n });\n }.bind(this),\n };\n\n private readonly profileLoading$$ = new ReplaySubject();\n protected loading$ = this.profileLoading$$.asObservable();\n\n protected mapZoomLevel: number;\n protected inferredMapBounds: google.maps.LatLngBoundsLiteral;\n\n protected businessProfileTab = BusinessProfileTab;\n protected activeTab: BusinessProfileTab;\n\n public salespeople: Salesperson[];\n public additionalSalespeople: Option[];\n public addressData: Address;\n public addressFormDirty = false;\n\n // TODO set up those method once backend update\n // !-- Service Availability\n public businessOperationMethods$: Observable;\n public ecommerceOnly$: Observable;\n\n // TODO: The following choices will result in eventual duplication of list between here and microservice\n // TODO: Perhaps these could be requested from the microservice, or be accessed from SDK?\n public genders$: Observable;\n public paymentMethods$: Observable;\n public standardizedTitles$: Observable;\n public readonly professionalCredentials = ProfesstionalCredentials;\n public moreHoursTypes$: Observable;\n public isProviderOptions: IsProviderOption[];\n\n public isAdditionalSalespeopleInputVisible = false;\n\n public readonly attributesMetadata: Signal;\n private readonly attributesMetadata$: Observable;\n\n public readonly listingProfile: Signal;\n private readonly listingProfile$: Observable;\n\n protected readonly googleAttributesMetadata: Signal;\n protected readonly googleAttributes: Signal;\n protected readonly bingAttributesMetadata: Signal;\n protected readonly bingAttributes: Signal;\n protected readonly partnerId: Signal;\n\n // the subset of operational statuses implying a closure or limitation of services\n public closedStatuses = [ClosedStatus.LIMITED, ClosedStatus.TEMPORARY, ClosedStatus.PERMANENT];\n\n public partnersLongDescriptionLength = {\n MTCZ: 5000,\n BLS: 1000,\n };\n public longDescriptionLength = 750;\n\n public basicInfoForm: FormGroup;\n public serviceAreaForm: FormGroup;\n public phoneForm: FormGroup;\n public additionalInfoForm: FormGroup;\n public businessHoursForm: FormControl;\n public specialHoursForm: FormControl;\n public moreHoursForm: FormGroup;\n public businessPagesForm: FormGroup;\n public blogForm: FormGroup;\n public businessDescriptionsForm: FormGroup;\n public personalInformationForm: FormGroup;\n public serviceAvailabilityForm: FormGroup;\n public qualificationsAndExperienceForm: FormGroup;\n public additionalProfessionalInfoForm: FormGroup;\n public practiceInformationForm: FormGroup;\n public geoControl: FormControl;\n public adminForm: FormGroup;\n public salesForm: FormGroup;\n public timezoneControl: FormControl;\n public googleAttributesForm: FormGroup;\n public bingAttributesForm: FormGroup;\n public accountGroupForm: FormGroup;\n public availableDoctorDotComCategories: Observable;\n public currentDoctorDotComCategories: DoctorDotComCategory[];\n public showICOField$: Observable;\n\n public hasProfessionalCategory = false;\n public phoneNumberItemFactory: ItemFactory = (): FormControl =>\n this.fb.control(this.formStateWithDisabled(''), phoneValidator(this.getCountryCode.bind(this), false));\n\n private readonly countryChanges = inject(COUNTRY_CONTROL_TOKEN).valueChanges.pipe(\n filter((country): country is CountryOption => typeof country === 'object'),\n map((country) => country.code),\n );\n private mapsLoaded$: Observable;\n accountGroupId$: Observable;\n private readonly mapsURL =\n 'https://maps.googleapis.com/maps/api/js?key=AIzaSyDxrR1bk6d2TRa4orIDF05H3UlhvIXRRC0&libraries=places';\n\n constructor(\n private listingProfileService: ListingProfileService,\n private listingProfileApiService: ListingProfileApiService,\n private fb: FormBuilder,\n private snackbar: MatSnackBar,\n @Inject(SalespersonService) private readonly salespersonService: SalesSdk,\n private zone: NgZone,\n private formatPhoneNumber: FormatPhoneNumberPipe,\n private translateService: TranslateService,\n private geocoder: MapGeocoder,\n private productAnalyticsService: ProductAnalyticsService,\n private lightbox: VaFullscreenLightboxService,\n private suggestionService: SuggestionApiService,\n private listingProductsApiService: ListingProductsApiService,\n private readonly destroyRef: DestroyRef,\n private readonly httpClient: HttpClient,\n ) {\n this.accountGroupId$ = toObservable(this.accountGroupId);\n\n effect(() => {\n this.accountGroupId();\n this.bingAttributesForm.reset();\n this.googleAttributesForm.reset();\n });\n\n this.moreHoursTypes$ = this.accountGroupId$.pipe(\n switchMap((accountGroupId: string) =>\n this.listingProfileApiService.getMoreHoursTypes({\n businessId: accountGroupId,\n languageCode: this.translateService.currentLang || this.translateService.defaultLang,\n }),\n ),\n map((response) => response.moreHoursTypes),\n shareReplay({ refCount: true, bufferSize: 1 }),\n );\n\n this.attributesMetadata$ = this.accountGroupId$.pipe(\n switchMap((accountGroupId: string) =>\n this.listingProfileApiService.getAttributeMetadata({\n businessId: accountGroupId,\n languageCode: this.translateService.currentLang || this.translateService.defaultLang,\n }),\n ),\n map((response) => response.attributeMedata),\n shareReplay({ refCount: true, bufferSize: 1 }),\n );\n\n this.attributesMetadata = toSignal(this.attributesMetadata$);\n\n this.listingProfile$ = this.accountGroupId$.pipe(\n tap(() => this.profileLoading$$.next(true)),\n switchMap((accountGroupId: string) =>\n this.listingProfileService.get(\n accountGroupId,\n new ProjectionFilter({\n externalIdentifiers: true,\n socialUrls: true,\n richData: true,\n napData: true,\n businessHours: true,\n googleAttributes: true,\n googleAttributesMetadata: true,\n bingAttributes: true,\n bingAttributesMetadata: true,\n legacyProductDetails: true,\n }),\n ),\n ),\n shareReplay({ refCount: true, bufferSize: 1 }),\n );\n this.listingProfile = toSignal(this.listingProfile$);\n\n this.googleAttributesMetadata = computed(() => {\n const am = this.attributesMetadata();\n if (am) {\n const gAttributeMetadata = am.find((b) => b.vendorId === 'google');\n return gAttributeMetadata?.googleAttributeMetadata?.googleAttributeMetadata || [];\n } else {\n return [];\n }\n });\n\n this.googleAttributes = computed(() => this.listingProfile()?.googleAttributes || []);\n\n this.bingAttributesMetadata = computed(() => {\n const am = this.attributesMetadata();\n if (am) {\n const bAttributeMetadata = am.find((a) => a.vendorId === 'bing');\n return bAttributeMetadata?.bingAttributeMetadata?.bingAttributeMetadata || [];\n } else {\n return [];\n }\n });\n this.bingAttributes = computed(() => this.listingProfile()?.bingAttributes || []);\n this.partnerId = computed(() => this.listingProfile()?.externalIdentifiers?.partnerId || '');\n\n this.mapsLoaded$ = this.httpClient?.jsonp(this.mapsURL, 'callback').pipe(\n map(() => true),\n retry(1),\n catchError(() => of(false)),\n shareReplay({ refCount: true, bufferSize: 1 }),\n );\n }\n\n get rmProductName(): string {\n return (this.productNames || {}).RM || 'Reputation Management';\n }\n\n private createForm(): void {\n this.geoControl = this.fb.control(this.formStateWithDisabled());\n this.serviceAreaForm = this.fb.group(\n {\n businessType: [this.formStateWithDisabled(0), Validators.min(1)],\n places: [this.formStateWithDisabled([]), Validators.required],\n },\n this.formStateWithDisabled(undefined),\n );\n this.basicInfoForm = this.fb.group({\n businessName: [\n this.formStateWithDisabled(''),\n [Validators.required, whitespaceValidator(), nameCharacterValidator()],\n ],\n commonBusinessNames: this.fb.array([[this.formStateWithDisabled('')]], Validators.maxLength(3)),\n country: [this.formStateWithDisabled(''), Validators.required],\n website: [this.formStateWithDisabled(''), urlValidator],\n email: [this.formStateWithDisabled(''), emailValidator],\n primaryBusinessCategory: [this.formStateWithDisabled([]), Validators.required],\n businessCategories: [this.formStateWithDisabled([])],\n serviceAreaBusiness: [this.formStateWithDisabled(false)],\n });\n\n this.phoneForm = this.fb.group({\n workNumbers: this.fb.array(\n [this.phoneNumberItemFactory()],\n // We don't require phone number on the apis so requiring a phone number on edit forces them to add\n // one after the fact which they can't do\n Validators.maxLength(6),\n ),\n faxNumber: [this.formStateWithDisabled('')],\n cellNumber: [this.formStateWithDisabled(''), phoneValidator(this.getCountryCode.bind(this), false)],\n callTrackingNumbers: this.fb.array([this.phoneNumberItemFactory()], Validators.maxLength(3)),\n tollFreeNumber: [this.formStateWithDisabled(''), phoneValidator(this.getCountryCode.bind(this), false)],\n });\n\n this.additionalInfoForm = this.fb.group({\n paymentMethods: [\n this.formStateWithDisabled([]),\n paymentMethodValidator(this.getCountryCode.bind(this), this.translateService),\n ],\n servicesOffered: this.fb.array(\n [[this.formStateWithDisabled('')]],\n Validators.compose([\n Validators.maxLength(15),\n totalLengthOfRepeatedFieldValidator(256, 'FRONTEND.BUSINESSES.SERVICES_OFFERED'),\n ]),\n ),\n brandsCarried: this.fb.array(\n [[this.formStateWithDisabled('')]],\n Validators.compose([\n Validators.maxLength(15),\n totalLengthOfRepeatedFieldValidator(256, 'FRONTEND.BUSINESSES.BRANDS_CARRIED'),\n ]),\n ),\n landmark: [this.formStateWithDisabled('')],\n bookingUrl: [this.formStateWithDisabled('')],\n ico: [this.formStateWithDisabled('')],\n });\n\n this.businessHoursForm = this.fb.control(this.formStateWithDisabled([]));\n this.moreHoursForm = this.fb.group([]);\n this.specialHoursForm = this.fb.control(this.formStateWithDisabled());\n\n this.businessPagesForm = this.fb.group({\n facebookUrl: [this.formStateWithDisabled(''), urlValidator],\n foursquareUrl: [this.formStateWithDisabled(''), urlValidator],\n linkedInUrl: [this.formStateWithDisabled(''), urlValidator],\n twitterUrl: [this.formStateWithDisabled(''), urlValidator],\n pinterestUrl: [this.formStateWithDisabled(''), urlValidator],\n instagramUrl: [this.formStateWithDisabled(''), urlValidator],\n youTubeUrl: [this.formStateWithDisabled(''), urlValidator],\n });\n this.blogForm = this.fb.group({\n blogOrRssFeedUrl: [this.formStateWithDisabled('')],\n });\n\n this.businessDescriptionsForm = this.fb.group({\n shortDescription: [this.formStateWithDisabled(''), Validators.maxLength(200)],\n longDescription: [this.formStateWithDisabled(''), Validators.maxLength(this.longDescriptionLength)],\n });\n\n this.personalInformationForm = this.fb.group({\n standardizedTitle: [this.formStateWithDisabled()],\n firstName: [this.formStateWithDisabled('')],\n middleInitials: [this.formStateWithDisabled('')],\n lastName: [this.formStateWithDisabled('')],\n professionalCredentials: [this.formStateWithDisabled([])],\n gender: [this.formStateWithDisabled()],\n emailAddress: [this.formStateWithDisabled(''), emailValidator],\n });\n\n this.serviceAvailabilityForm = this.fb.group({\n ecommerceOnly: [this.formStateWithDisabled()],\n closedStatus: [this.formStateWithDisabled()],\n reopeningDate: [this.formStateWithDisabled()],\n });\n\n this.qualificationsAndExperienceForm = this.fb.group({\n doctorDotComCategories: [this.formStateWithDisabled([])],\n educations: this.fb.array(\n [[this.formStateWithDisabled('')]],\n Validators.compose([\n Validators.maxLength(15),\n totalLengthOfRepeatedFieldValidator(256, 'FRONTEND.BUSINESSES.QUALIFICATIONS_EXPERIENCE.EDUCATION'),\n ]),\n ),\n specialties: this.fb.array(\n [[this.formStateWithDisabled('')]],\n Validators.compose([\n Validators.maxLength(15),\n totalLengthOfRepeatedFieldValidator(256, 'FRONTEND.BUSINESSES.QUALIFICATIONS_EXPERIENCE.SPECIALTIES'),\n ]),\n ),\n residencies: this.fb.array(\n [[this.formStateWithDisabled('')]],\n Validators.compose([\n Validators.maxLength(15),\n totalLengthOfRepeatedFieldValidator(256, 'FRONTEND.BUSINESSES.QUALIFICATIONS_EXPERIENCE.RESIDENCIES'),\n ]),\n ),\n fellowships: this.fb.array(\n [[this.formStateWithDisabled('')]],\n Validators.compose([\n Validators.maxLength(15),\n totalLengthOfRepeatedFieldValidator(256, 'FRONTEND.BUSINESSES.QUALIFICATIONS_EXPERIENCE.FELLOWSHIPS'),\n ]),\n ),\n nationalProviderIdentifier: [this.formStateWithDisabled('')],\n medicalLicenseNumber: [this.formStateWithDisabled('')],\n stateLicense: [this.formStateWithDisabled('')],\n });\n\n this.additionalProfessionalInfoForm = this.fb.group({\n acceptingPatients: [this.formStateWithDisabled(null)],\n insurancesAccepted: this.fb.array(\n [[this.formStateWithDisabled('')]],\n Validators.compose([\n Validators.maxLength(15),\n totalLengthOfRepeatedFieldValidator(256, 'FRONTEND.BUSINESSES.INSURANCES_ACCEPTED'),\n ]),\n ),\n });\n this.practiceInformationForm = this.fb.group({\n firmClinicOfficeName: [this.formStateWithDisabled('')],\n isProvider: [this.formStateWithDisabled()],\n hospitalAffiliations: this.fb.array(\n [[this.formStateWithDisabled('')]],\n Validators.compose([\n Validators.maxLength(15),\n totalLengthOfRepeatedFieldValidator(256, 'FRONTEND.BUSINESSES.HOSPITAL_AFFILIATIONS'),\n ]),\n ),\n });\n\n this.googleAttributesForm = this.fb.group({});\n\n this.bingAttributesForm = this.fb.group({});\n\n this.salesForm = this.fb.group({});\n this.adminForm = this.fb.group({});\n\n if (this.isTabEnabled(BusinessProfileTab.Administration)) {\n this.salesForm = this.fb.group(\n {\n market: [this.formStateWithDisabled(''), Validators.required],\n salespersonId: [this.formStateWithDisabled('')],\n additionalSalespersonIds: [this.formStateWithDisabled([])],\n },\n {\n validators: Validators.compose([\n primaryIsNotInAdditionalSalespeople(\n (value) => this.salespeople?.find((salesperson) => salesperson.salespersonId === value).fullName,\n ),\n primaryIsSelectedWhenHavingAdditionalSalespeople(),\n ]),\n },\n );\n this.adminForm = this.fb.group({\n customerIdentifier: [{ value: '' }],\n tags: [this.formStateWithDisabled([])],\n notes: [this.formStateWithDisabled('')],\n });\n }\n\n this.timezoneControl = this.fb.control(this.formStateWithDisabled({}));\n\n this.accountGroupForm = this.fb.group({\n basicInfoForm: this.basicInfoForm,\n serviceAreaForm: this.serviceAreaForm,\n phoneForm: this.phoneForm,\n additionalInfoForm: this.additionalInfoForm,\n businessHoursForm: this.businessHoursForm,\n businessPagesForm: this.businessPagesForm,\n blogForm: this.blogForm,\n businessDescriptionsForm: this.businessDescriptionsForm,\n personalInformationForm: this.personalInformationForm,\n serviceAvailabilityForm: this.serviceAvailabilityForm,\n qualificationsAndExperienceForm: this.qualificationsAndExperienceForm,\n additionalProfessionalInfoForm: this.additionalProfessionalInfoForm,\n practiceInformationForm: this.practiceInformationForm,\n geoControl: this.geoControl,\n adminForm: this.adminForm,\n timeZoneControl: this.timezoneControl,\n googleAttributesForm: this.googleAttributesForm,\n bingAttributesForm: this.bingAttributesForm,\n salesForm: this.salesForm,\n });\n\n this.countryChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((e) => {\n const paymentMethodsField = this.additionalInfoForm.get('paymentMethods');\n // for some reason, the value from getCountry is not updated\n // when the country changes, so we need to update it manually\n this.basicInfoForm.get('country').setValue(e);\n paymentMethodsField.updateValueAndValidity();\n });\n }\n\n private loadFormValues(listingProfile: ListingProfile): void {\n if (!listingProfile.legacyProductDetails) {\n listingProfile.legacyProductDetails = createDefaultLegacyProductDetails();\n }\n\n const commonBusinessNames = listingProfile.legacyProductDetails.commonName || [''];\n this.setControlsForFormArray(\n this.basicInfoForm.get('commonBusinessNames') as FormArray,\n commonBusinessNames.length,\n );\n const ids = listingProfile.externalIdentifiers?.vCategoryIds || [];\n const primaryCategory = ids.length > 0 ? [ids[0]] : [];\n const businessCategories = ids.length > 0 ? ids.slice(1) : [];\n\n this.basicInfoForm.patchValue({\n businessName: listingProfile.napData.companyName,\n commonBusinessNames: commonBusinessNames,\n country: listingProfile.napData.country,\n website: listingProfile.napData.website,\n email: listingProfile.richData.email,\n businessCategories: businessCategories,\n primaryBusinessCategory: primaryCategory,\n serviceAreaBusiness: listingProfile.napData?.serviceAreaBusiness,\n });\n\n this.setControlsForFormArray(\n this.serviceAreaForm.get('places') as FormArray,\n listingProfile.napData.serviceArea?.places?.length || 0,\n );\n\n this.basicInfoForm.get('serviceAreaBusiness').markAsPristine();\n\n this.serviceAreaForm.setValue({\n businessType: listingProfile.napData.serviceArea?.businessType || 0,\n places: listingProfile.napData.serviceArea?.places || [],\n });\n if (!listingProfile.napData.serviceArea) {\n this.serviceAreaForm.disable();\n }\n\n this.addressData = {\n company: listingProfile.napData.companyName,\n address1: listingProfile.napData.address,\n address2: listingProfile.napData.address2,\n city: listingProfile.napData.city,\n country: listingProfile.napData.country,\n province: listingProfile.napData.state,\n zip: listingProfile.napData.zip,\n };\n this.geoControl.setValue(listingProfile.napData.location);\n let workNumbers: string[] = listingProfile.napData.workNumber || [''];\n workNumbers = workNumbers.map((number) =>\n this.formatPhoneNumber.transformForBusinessProfile(number, listingProfile.napData.country),\n );\n const callTrackingNumbers = listingProfile.napData.callTrackingNumber || [''];\n\n this.setControlsForFormArray(\n this.phoneForm.get('workNumbers') as FormArray,\n workNumbers.length,\n this.phoneNumberItemFactory.bind(this),\n );\n this.setControlsForFormArray(this.phoneForm.get('callTrackingNumbers') as FormArray, callTrackingNumbers.length);\n this.phoneForm.patchValue({\n workNumbers: workNumbers,\n faxNumber: listingProfile.richData.faxNumber,\n cellNumber: this.formatPhoneNumber.transformForBusinessProfile(\n listingProfile.richData.cellNumber || '',\n listingProfile.napData.country,\n ),\n callTrackingNumbers: callTrackingNumbers,\n tollFreeNumber: listingProfile.richData.tollFreeNumber,\n });\n\n const servicesOffered = listingProfile.richData.servicesOffered || [''];\n const brandsCarried = listingProfile.richData.brandsCarried || [''];\n\n this.setControlsForFormArray(this.additionalInfoForm.get('servicesOffered') as FormArray, servicesOffered.length);\n this.setControlsForFormArray(this.additionalInfoForm.get('brandsCarried') as FormArray, brandsCarried.length);\n this.additionalInfoForm.patchValue({\n paymentMethods: listingProfile.richData.paymentMethods,\n servicesOffered: servicesOffered,\n brandsCarried: brandsCarried,\n landmark: listingProfile.richData.landmark,\n bookingUrl: listingProfile.richData.bookingUrl,\n });\n\n if (!!listingProfile.richData.conditionalFields && listingProfile.richData.conditionalFields?.length > 0) {\n const richDataCf = listingProfile.richData.conditionalFields;\n const valuesToPatch = {};\n richDataCf.forEach((cf) => {\n valuesToPatch[cf.id] = cf.value;\n this.visibleConditionalFields.push(cf.id);\n });\n\n this.additionalInfoForm.patchValue(valuesToPatch);\n }\n\n this.showICOField$ = this.countryChanges.pipe(\n map((country) => {\n if (this.addressData.country !== country) {\n return country === 'CZ';\n }\n\n return this.isConditionalFieldVisible('ico');\n }),\n );\n\n const generalHours = listingProfile.businessHours?.find((hours) => hours.hoursTypeId === 'GENERAL');\n const mergedHours = MergeHours(generalHours?.regularHours || []);\n\n this.businessHoursForm.setValue(mergedHours);\n this.specialHoursForm.setValue(generalHours?.specialHours || []);\n\n listingProfile.businessHours\n ?.filter((hours) => hours.hoursTypeId !== 'GENERAL')\n .forEach((hours) => {\n this.moreHoursForm.addControl(\n hours.hoursTypeId,\n this.fb.control(this.formStateWithDisabled(hours.regularHours || [])),\n );\n });\n\n if (listingProfile.socialUrls) {\n this.businessPagesForm.patchValue({\n facebookUrl: listingProfile.socialUrls.facebookUrl ? encodeURI(listingProfile.socialUrls.facebookUrl) : '',\n foursquareUrl: listingProfile.socialUrls.foursquareUrl\n ? encodeURI(listingProfile.socialUrls.foursquareUrl)\n : '',\n linkedInUrl: listingProfile.socialUrls.linkedinUrl ? encodeURI(listingProfile.socialUrls.linkedinUrl) : '',\n twitterUrl: listingProfile.socialUrls.twitterUrl ? encodeURI(listingProfile.socialUrls.twitterUrl) : '',\n pinterestUrl: listingProfile.socialUrls.pinterestUrl ? encodeURI(listingProfile.socialUrls.pinterestUrl) : '',\n instagramUrl: listingProfile.socialUrls.instagramUrl ? encodeURI(listingProfile.socialUrls.instagramUrl) : '',\n youTubeUrl: listingProfile.socialUrls.youtubeUrl ? encodeURI(listingProfile.socialUrls.youtubeUrl) : '',\n });\n this.blogForm.patchValue({\n blogOrRssFeedUrl: listingProfile.socialUrls.rssUrl,\n });\n }\n\n const partnerId = listingProfile.externalIdentifiers.partnerId;\n if (partnerId in this.partnersLongDescriptionLength) {\n this.longDescriptionLength = this.partnersLongDescriptionLength[partnerId];\n }\n this.businessDescriptionsForm.controls.longDescription.setValidators(\n Validators.maxLength(this.longDescriptionLength),\n );\n\n this.businessDescriptionsForm.patchValue({\n shortDescription: listingProfile.richData.shortDescription,\n longDescription: listingProfile.richData.description,\n });\n\n if (listingProfile.richData?.serviceAvailability) {\n this.serviceAvailabilityForm.patchValue({\n ecommerceOnly: listingProfile.richData?.serviceAvailability?.ecommerceOnly || null,\n closedStatus: listingProfile.richData?.serviceAvailability?.closedStatus || null,\n reopeningDate: listingProfile.richData?.serviceAvailability?.reopeningDate || null,\n });\n }\n\n if (listingProfile.richData.healthCareProfessionalInformation) {\n this.personalInformationForm.patchValue({\n standardizedTitle: listingProfile.richData?.healthCareProfessionalInformation?.standardizedTitle || '',\n firstName: listingProfile.richData?.healthCareProfessionalInformation?.firstName || '',\n middleInitials: listingProfile.richData?.healthCareProfessionalInformation?.initials || '',\n lastName: listingProfile.richData?.healthCareProfessionalInformation?.lastName || '',\n professionalCredentials: listingProfile.richData?.healthCareProfessionalInformation?.professionalCredential || [\n '',\n ],\n gender:\n listingProfile.richData?.healthCareProfessionalInformation?.gender ||\n HealthCareProfessionalInformationGender.NotSpecified,\n emailAddress: listingProfile.richData?.healthCareProfessionalInformation?.email || '',\n });\n\n const educations = listingProfile.richData?.healthCareProfessionalInformation?.school || [''];\n const specialties = listingProfile.richData?.healthCareProfessionalInformation?.specialty || [''];\n const residencies = listingProfile.richData?.healthCareProfessionalInformation?.residency || [''];\n const fellowships = listingProfile.richData?.healthCareProfessionalInformation?.fellowship || [''];\n\n this.setControlsForFormArray(\n this.qualificationsAndExperienceForm.get('educations') as FormArray,\n educations.length,\n );\n this.setControlsForFormArray(\n this.qualificationsAndExperienceForm.get('specialties') as FormArray,\n specialties.length,\n );\n this.setControlsForFormArray(\n this.qualificationsAndExperienceForm.get('residencies') as FormArray,\n residencies.length,\n );\n this.setControlsForFormArray(\n this.qualificationsAndExperienceForm.get('fellowships') as FormArray,\n fellowships.length,\n );\n this.setControlsForFormArray(\n this.practiceInformationForm.get('hospitalAffiliations') as FormArray,\n listingProfile.richData?.healthCareProfessionalInformation?.hospitalAffiliations?.length,\n );\n this.setControlsForFormArray(\n this.qualificationsAndExperienceForm.get('doctorDotComCategories') as FormArray,\n listingProfile.richData?.healthCareProfessionalInformation?.doctorDotComCategories?.length,\n );\n\n this.qualificationsAndExperienceForm.patchValue({\n educations: educations,\n specialties: specialties,\n residencies: residencies,\n fellowships: fellowships,\n nationalProviderIdentifier:\n listingProfile.richData?.healthCareProfessionalInformation?.nationalProviderIdentifier || '',\n medicalLicenseNumber: listingProfile.richData?.healthCareProfessionalInformation?.medicalLicenseNumber || '',\n stateLicense: listingProfile.richData?.healthCareProfessionalInformation?.stateLicense || '',\n doctorDotComCategories:\n listingProfile.richData?.healthCareProfessionalInformation?.doctorDotComCategories || [],\n });\n const insurancesAccepted = listingProfile.richData?.healthCareProfessionalInformation?.insurancesAccepted || [''];\n this.setControlsForFormArray(\n this.additionalProfessionalInfoForm.get('insurancesAccepted') as FormArray,\n insurancesAccepted.length,\n );\n this.additionalProfessionalInfoForm.patchValue({\n acceptingPatients: listingProfile.richData?.healthCareProfessionalInformation?.isTakingPatients,\n insurancesAccepted: insurancesAccepted,\n });\n this.practiceInformationForm.patchValue({\n firmClinicOfficeName: listingProfile.richData?.healthCareProfessionalInformation?.office || '',\n isProvider:\n listingProfile.richData?.healthCareProfessionalInformation?.isProvider ||\n HealthCareProfessionalInformationIsProvider.IsProviderNotSpecified,\n hospitalAffiliations: listingProfile.richData?.healthCareProfessionalInformation?.hospitalAffiliations || [''],\n });\n }\n if (this.isTabEnabled(BusinessProfileTab.Administration)) {\n this.salesForm.patchValue({\n market: listingProfile.externalIdentifiers.marketId,\n salespersonId: listingProfile.externalIdentifiers.salesPersonId,\n additionalSalespersonIds: listingProfile.externalIdentifiers.additionalSalesPersonIds,\n });\n if (\n listingProfile.externalIdentifiers.additionalSalesPersonIds &&\n listingProfile.externalIdentifiers.additionalSalesPersonIds.length > 0\n ) {\n this.isAdditionalSalespeopleInputVisible = true;\n }\n this.adminForm.patchValue({\n customerIdentifier: listingProfile.externalIdentifiers.customerIdentifier,\n tags: listingProfile.externalIdentifiers.tags,\n notes: listingProfile.legacyProductDetails.adminNotes,\n });\n }\n\n this.profileLoading$$.next(false);\n }\n\n getGoogleCheckboxValues(formGroup: FormGroup, metaAttribute: GoogleAttributeMetaDataInterface): string[] {\n const values: string[] = [];\n\n Object.keys(formGroup.controls).forEach((key) => {\n if (formGroup.controls[key].getRawValue() === true) {\n const indexOfKeyInValueDisplayName = metaAttribute?.valueDisplayNames.findIndex((d) => d === key);\n values.push(metaAttribute?.values[indexOfKeyInValueDisplayName]);\n }\n });\n\n return values;\n }\n\n updateGeoLocation(location: Geo): void {\n this.geoControl.patchValue(location);\n this.geoControl.markAsDirty();\n }\n\n getBingCheckboxValues(formGroup: FormGroup, metaAttribute: BingAttributeMetaDataInterface): string[] {\n const values: string[] = [];\n\n Object.keys(formGroup.controls).forEach((key) => {\n if (formGroup.controls[key].getRawValue() === true) {\n const indexOfKeyInValueDisplayName = metaAttribute?.valueDisplayNames.findIndex((d) => d === key);\n values.push(metaAttribute?.values[indexOfKeyInValueDisplayName]);\n }\n });\n\n return values;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getDoctorDotComCategories(accountGroup: ListingProfile) {\n return this.listingProductsApiService.getDoctorDotComCategories(new GetDoctorDotComCategoriesRequest({}));\n }\n\n getValidCategoryLength(): number {\n return (\n this.accountGroupForm?.get('basicInfoForm.primaryBusinessCategory')?.value?.filter((c) => c !== 'not_found')\n ?.length || 0\n );\n }\n\n getBingAttributesToSubmit(\n duHastMe: FormGroup,\n bingAttributeMetaData: BingAttributeMetaDataInterface[],\n ): BingAttribute[] {\n if (!bingAttributeMetaData) {\n bingAttributeMetaData = [];\n }\n const attribs: BingAttribute[] = [];\n\n bingAttributeMetaData.sort((a, b) => a.displayName.localeCompare(b.displayName));\n const sortOrder = bingAttributeMetaData.map((md) => md.parent);\n\n Object.keys(duHastMe.controls).forEach((key) => {\n let value = duHastMe.controls[key].value;\n const metaAttribute = bingAttributeMetaData[bingAttributeMetaData.findIndex((d) => d.parent === key)];\n\n switch (metaAttribute.valueType) {\n case AttributesValueType.REPEATED_ENUM: {\n const form = duHastMe.controls[key] as FormGroup;\n value = this.getGoogleCheckboxValues(form, metaAttribute);\n break;\n }\n case AttributesValueType.ENUM: {\n const ctrl = duHastMe.controls[key] as FormControl;\n value = metaAttribute?.values[metaAttribute.valueDisplayNames.findIndex((v) => v === ctrl.value)];\n break;\n }\n }\n\n const ba: BingAttribute = {\n name: key,\n value: value,\n toApiJson: () => ({}) as object,\n };\n attribs.push(ba);\n });\n\n const sortedAttribs = sortOrder.map((i) => attribs.find((j) => j.name === i)).filter(Boolean);\n\n return sortedAttribs;\n }\n\n isConditionalFieldVisible(cfId: string): boolean {\n return this.visibleConditionalFields.includes(cfId);\n }\n\n getGoogleAttributesToSubmit(\n duHastMe: FormGroup,\n googleAttributeMetaData: GoogleAttributeMetaDataInterface[],\n ): GoogleAttribute[] {\n if (!googleAttributeMetaData) {\n googleAttributeMetaData = [];\n }\n const attribs: GoogleAttribute[] = [];\n\n googleAttributeMetaData.sort((a, b) => a.displayName.localeCompare(b.displayName));\n const sortOrder = googleAttributeMetaData.map((md) => md.parent);\n\n Object.keys(duHastMe.controls).forEach((key) => {\n let value = duHastMe.controls[key].value;\n const metaAttribute = googleAttributeMetaData[googleAttributeMetaData.findIndex((d) => d.parent === key)];\n\n switch (metaAttribute.valueType) {\n case AttributesValueType.REPEATED_ENUM: {\n const form = duHastMe.controls[key] as FormGroup;\n value = this.getGoogleCheckboxValues(form, metaAttribute);\n break;\n }\n case AttributesValueType.ENUM: {\n const ctrl = duHastMe.controls[key] as FormControl;\n value = metaAttribute?.values[metaAttribute.valueDisplayNames.findIndex((v) => v === ctrl.value)];\n break;\n }\n default:\n }\n\n const ga: GoogleAttribute = {\n name: key,\n value: value,\n toApiJson: () => ({}) as object,\n };\n attribs.push(ga);\n });\n\n const sortedAttribs = sortOrder.map((i) => attribs.find((j) => j.name === i)).filter(Boolean);\n\n return sortedAttribs;\n }\n\n compareDoctorDotComCategories(category1: DoctorDotComCategory, category2: DoctorDotComCategory): boolean {\n return category1 && category2 ? category1.id === category2.id : category1 === category2;\n }\n\n getFirstErrorFromForm(): string {\n const error = this.getFirstInvalidFormControl({ key: 'accountGroupForm', form: this.accountGroupForm });\n if (error) {\n const formErrorsForField = Object.keys(error.form.errors)[0];\n return ValidationErrorMessages[error.key][formErrorsForField];\n }\n\n return '';\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n async onSubmit(arg): Promise {\n if (\n this.accountGroupForm.pristine &&\n !this.addressFormDirty &&\n (!this.auxiliaryDataTable || this.auxiliaryDataTable?.formGroup.pristine)\n ) {\n this.snackbar.open(this.translateService.instant('FRONTEND.BUSINESSES.NO_CHANGES_TO_SAVE'), null, {\n duration: 3000,\n });\n return;\n }\n\n if (!this.accountGroupForm.valid || this.editDisabled) {\n this.activeTab = this.getFirstInvalidTab();\n const message = this.getFirstErrorFromForm() ?? 'FRONTEND.BUSINESSES.INVALID_SUBMISSION';\n this.snackbar.open(this.translateService.instant(message), null, {\n duration: 3000,\n });\n return;\n }\n const accountGroup: any = {};\n Object.keys(this.accountGroupForm.controls).forEach((controlKey) => {\n const c = this.accountGroupForm.controls[controlKey];\n accountGroup[controlKey] = getChangedValues(c);\n });\n this.trackChangedForms(accountGroup);\n\n const operations = new UpdateOperations();\n\n if (this.googleAttributesForm.dirty) {\n const googleAttributeMetaData = this.googleAttributesMetadata();\n operations.addUpdateOperation(\n new GoogleAttributesUpdateOperation({\n googleAttribute: this.getGoogleAttributesToSubmit(this.googleAttributesForm, googleAttributeMetaData),\n }),\n );\n }\n\n if (this.bingAttributesForm.dirty) {\n const bingAttributeMetaData = this.bingAttributesMetadata();\n operations.addUpdateOperation(\n new BingAttributesUpdateOperation({\n bingAttribute: this.getBingAttributesToSubmit(this.bingAttributesForm, bingAttributeMetaData),\n }),\n );\n }\n\n const phones = accountGroup.phoneForm || {};\n const basicInfo = accountGroup.basicInfoForm || {};\n const address = accountGroup.basicInfoForm?.addressForm;\n if (basicInfo || address || accountGroup.serviceAreaForm || accountGroup.timeZoneControl || phones) {\n operations.addUpdateOperation(\n new NapUpdateOperation({\n companyName: basicInfo.businessName,\n address: address?.address1,\n address2: address?.address2,\n city: address?.city,\n state: address?.province?.code || undefined,\n zip: address?.zip,\n country: address?.country?.code,\n serviceAreaBusiness: basicInfo.serviceAreaBusiness,\n serviceArea: accountGroup.serviceAreaForm ? new ServiceArea(accountGroup.serviceAreaForm) : undefined,\n website: basicInfo.website,\n workNumber: phones.workNumbers,\n callTrackingNumber: phones.callTrackingNumbers,\n location: accountGroup.geoControl ? new Geo(accountGroup.geoControl) : undefined,\n timezone: accountGroup.timeZoneControl ? this.listingProfile().napData.timezone : undefined,\n }),\n );\n }\n\n const businessDescriptions = accountGroup.businessDescriptionsForm || {};\n\n const businessPages = accountGroup.businessPagesForm || {};\n const blog = accountGroup.blogForm || {};\n operations.addUpdateOperation(\n new SocialURLsUpdateOperation({\n linkedinUrl: businessPages.linkedInUrl,\n foursquareUrl: businessPages.foursquareUrl,\n twitterUrl: businessPages.twitterUrl,\n facebookUrl: businessPages.facebookUrl,\n rssUrl: blog.blogOrRssFeedUrl,\n youtubeUrl: businessPages.youTubeUrl,\n instagramUrl: businessPages.instagramUrl,\n pinterestUrl: businessPages.pinterestUrl,\n }),\n );\n\n // Healthcare data is a bit different -- if any of the fields changed we need to send everything due to\n // current field mask limitations\n let healthCareProfessionalInfo;\n const healthCareHasChanges =\n accountGroup.practiceInformationForm ||\n accountGroup.additionalProfessionalInfoForm ||\n accountGroup.qualificationsAndExperienceForm ||\n accountGroup.personalInformationForm;\n if (this.hasProfessionalCategory && healthCareHasChanges) {\n const practiceInformation = this.practiceInformationForm.value;\n const additionalProfessionalInfo = this.additionalProfessionalInfoForm.value;\n const qualificationsAndExperience = this.qualificationsAndExperienceForm.value;\n const personalInformation = this.personalInformationForm.value;\n healthCareProfessionalInfo = new HealthCareProfessionalInformation({\n email: personalInformation.emailAddress,\n fellowship: qualificationsAndExperience.fellowships.filter((v: any) => !!v),\n firstName: personalInformation.firstName,\n gender: personalInformation.gender,\n initials: personalInformation.middleInitials,\n insurancesAccepted: additionalProfessionalInfo.insurancesAccepted,\n isTakingPatients: additionalProfessionalInfo.acceptingPatients,\n lastName: personalInformation.lastName,\n medicalLicenseNumber: qualificationsAndExperience.medicalLicenseNumber,\n nationalProviderIdentifier: qualificationsAndExperience.nationalProviderIdentifier,\n office: practiceInformation.firmClinicOfficeName,\n professionalCredential: personalInformation.professionalCredentials,\n residency: qualificationsAndExperience.residencies.filter((v: any) => !!v),\n school: qualificationsAndExperience.educations.filter((v: any) => !!v),\n specialty: qualificationsAndExperience.specialties.filter((v: any) => !!v),\n standardizedTitle: personalInformation.standardizedTitle,\n stateLicense: qualificationsAndExperience.stateLicense,\n doctorDotComCategories: qualificationsAndExperience.doctorDotComCategories.filter((v: any) => !!v),\n hospitalAffiliations: practiceInformation.hospitalAffiliations.filter((v: string | null | undefined) => !!v),\n isProvider: practiceInformation.isProvider,\n });\n } else if (!this.hasProfessionalCategory && (basicInfo.businessCategories || basicInfo.primaryBusinessCategory)) {\n // Categories changed and doesnt have professional category\n healthCareProfessionalInfo = new HealthCareProfessionalInformation({});\n }\n\n const serviceAvailabilityChanges = this.serviceAvailabilityForm.value || {};\n\n const serviceAvailabilityInfo = new ServiceAvailability({\n ecommerceOnly: serviceAvailabilityChanges.ecommerceOnly,\n closedStatus: serviceAvailabilityChanges.closedStatus,\n reopeningDate: serviceAvailabilityChanges.reopeningDate,\n });\n\n if (\n serviceAvailabilityChanges.closedStatus !== undefined &&\n this.closedStatuses.includes(serviceAvailabilityChanges.closedStatus)\n ) {\n serviceAvailabilityInfo.closedStatusDate = new Date();\n } else {\n serviceAvailabilityInfo.closedStatusDate = null;\n serviceAvailabilityInfo.reopeningDate = null;\n }\n\n const additionalInfo = accountGroup.additionalInfoForm || {};\n\n const richDataUpdateOperations = new RichData({\n tollFreeNumber: phones.tollFreeNumber,\n cellNumber: phones.cellNumber,\n faxNumber: phones.faxNumber,\n email: basicInfo.email,\n description: businessDescriptions.longDescription,\n shortDescription: businessDescriptions.shortDescription,\n servicesOffered: additionalInfo.servicesOffered,\n brandsCarried: additionalInfo.brandsCarried,\n landmark: additionalInfo.landmark,\n paymentMethods: additionalInfo.paymentMethods,\n serviceAvailability: serviceAvailabilityInfo,\n healthCareProfessionalInformation: healthCareProfessionalInfo,\n bookingUrl: additionalInfo.bookingUrl,\n });\n\n // only fetch values from visible conditional Fields\n if (this.visibleConditionalFields.length > 0) {\n const cfValues = [];\n this.visibleConditionalFields.forEach((field) => {\n const value = additionalInfo[field];\n if (value != undefined) {\n cfValues.push({\n id: field,\n value: value,\n });\n }\n });\n if (cfValues.length > 0) {\n richDataUpdateOperations.conditionalFields = cfValues;\n }\n }\n\n operations.addUpdateOperation(new RichDataUpdateOperation(richDataUpdateOperations));\n\n const externalIdentifiersUpdateOperation = new ExternalIdentifiersUpdateOperation({\n partnerId: this.listingProfile()?.externalIdentifiers.partnerId,\n updateOrigin: 'business-profile',\n });\n\n if (\n typeof basicInfo.businessCategories !== 'undefined' ||\n typeof basicInfo.primaryBusinessCategory !== 'undefined'\n ) {\n const primary = this.accountGroupForm.get('basicInfoForm.primaryBusinessCategory').value;\n const additional = this.accountGroupForm.get('basicInfoForm.businessCategories').value;\n externalIdentifiersUpdateOperation.vCategoryIds = Array.from(new Set([...primary, ...additional])).filter(\n (id) => !!id,\n );\n }\n\n if (this.isTabEnabled(BusinessProfileTab.Administration)) {\n if (accountGroup.adminForm) {\n externalIdentifiersUpdateOperation.tags = accountGroup.adminForm.tags;\n externalIdentifiersUpdateOperation.customerIdentifier = accountGroup.adminForm.customerIdentifier;\n }\n if (accountGroup.salesForm) {\n externalIdentifiersUpdateOperation.marketId = accountGroup.salesForm.market;\n externalIdentifiersUpdateOperation.salesPersonId = accountGroup.salesForm.salespersonId;\n externalIdentifiersUpdateOperation.additionalSalesPersonIds = accountGroup.salesForm.additionalSalespersonIds;\n }\n }\n operations.addUpdateOperation(externalIdentifiersUpdateOperation);\n\n if (\n (this.isTabEnabled(BusinessProfileTab.Administration) && accountGroup?.adminForm?.notes !== undefined) ||\n basicInfo.commonBusinessNames !== undefined\n ) {\n operations.addUpdateOperation(\n new LegacyProductDetailsUpdateOperation({\n adminNotes: accountGroup?.adminForm?.notes,\n commonName: basicInfo?.commonBusinessNames,\n }),\n );\n }\n\n this.doUpdate({ operations: operations }).pipe(takeUntilDestroyed(this.destroyRef)).subscribe();\n return;\n }\n\n getFirstInvalidTab(): BusinessProfileTab {\n const tabKeys = Object.keys(BusinessProfileTab);\n for (let i = 0; i < tabKeys.length; i++) {\n if (this.tabInvalid(BusinessProfileTab[tabKeys[i]])) {\n return BusinessProfileTab[tabKeys[i]];\n }\n }\n }\n\n getFirstInvalidFormControl(invalidForm: InvalidFormField): InvalidFormField | null {\n if (invalidForm.form instanceof FormGroup) {\n const controls = invalidForm.form.controls;\n for (const controlKey in controls) {\n const control = this.getFirstInvalidFormControl({ key: controlKey, form: controls[controlKey] });\n if (!control) {\n continue;\n }\n return control;\n }\n\n return null;\n }\n\n if (invalidForm.form instanceof FormArray) {\n if (invalidForm.form.invalid && invalidForm.form.errors) {\n return invalidForm;\n }\n for (let i = 0; i < invalidForm.form.controls.length; i++) {\n const control = this.getFirstInvalidFormControl({ key: invalidForm.key, form: invalidForm.form.controls[i] });\n if (!control) {\n continue;\n }\n return {\n key: invalidForm.key,\n form: control.form,\n };\n }\n\n return null;\n }\n if (invalidForm.form?.invalid) {\n return invalidForm;\n }\n }\n\n onBusinessHoursChange(): void {\n const operations: UpdateOperations = new UpdateOperations();\n\n const sh = SplitHours(this.businessHoursForm.value || []);\n\n const businessHours = new BusinessHours({\n hoursTypeId: 'GENERAL',\n regularHours: sh,\n specialHours: this.specialHoursForm.value || [],\n });\n\n operations.addUpdateOperation(new BusinessHoursUpdateOperation(businessHours));\n this.doUpdate({ operations: operations, onlyBusinessHoursSave: true })\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe();\n }\n\n onMoreHoursChange(): void {\n if (this.moreHoursForm.pristine) {\n this.snackbar.open(this.translateService.instant('FRONTEND.BUSINESSES.NO_CHANGES_TO_SAVE'), null, {\n duration: 3000,\n });\n return;\n }\n if (!this.moreHoursForm.valid || this.editDisabled) {\n this.snackbar.open(this.translateService.instant('FRONTEND.BUSINESSES.INVALID_SUBMISSION'), null, {\n duration: 3000,\n });\n return;\n }\n\n const operations: UpdateOperations = new UpdateOperations();\n Object.keys(this.moreHoursForm.controls).forEach((key) => {\n const values = getChangedValues(this.moreHoursForm.controls[key]);\n if (values) {\n operations.addUpdateOperation(\n new BusinessHoursUpdateOperation(\n new BusinessHours({\n hoursTypeId: key,\n regularHours: values || [],\n }),\n ),\n );\n }\n });\n\n this.doUpdate({ operations: operations, onlyBusinessHoursSave: true })\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe();\n }\n\n private doUpdate(updateParams: FormUpdateParameters): Observable {\n return this.listingProfileService.bulkUpdate(this.accountGroupId(), updateParams.operations).pipe(\n // TODO: Use injectable alert service?\n catchError((err) => {\n const snackBarRef = this.snackbar.open(err.message, err.retryable ? 'retry' : null, { duration: 3000 });\n snackBarRef\n .onAction()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => this.doUpdate(updateParams));\n return EMPTY;\n }),\n switchMap(() => this.auxiliaryDataTable?.saveChanges() || of(false)),\n catchError(() => {\n const snackBarRef = this.snackbar.open(\n this.translateService.instant('FRONTEND.BUSINESSES.ACCOUNT_ATTRIBUTES_ERROR'),\n this.translateService.instant('FRONTEND.BUSINESSES.ACCOUNT_ATTRIBUTES_DISMISS'),\n { duration: 3000 },\n );\n this.productAnalyticsService.trackEvent(\n 'CustomFields:edit-custom-field-data-fail',\n 'CustomFields',\n 'edit-custom-field-data-fail',\n );\n snackBarRef.onAction().subscribe(() => snackBarRef.dismiss());\n return snackBarRef.afterDismissed().pipe(map(() => null));\n }),\n tap((auxiliaryDataSaved) => {\n if (updateParams.onlyBusinessHoursSave) {\n this.snackbar.open(this.translateService.instant('FRONTEND.BUSINESSES.BUSINESS_HOURS_SAVED'), null, {\n duration: 3000,\n });\n } else if (updateParams.onlyHoursSave) {\n this.snackbar.open(this.translateService.instant('FRONTEND.BUSINESSES.HOURS_OF_OPERATION_SAVED'), null, {\n duration: 3000,\n });\n } else {\n this.markFormsPristine();\n if (auxiliaryDataSaved) {\n const accountSaved = this.translateService.instant('FRONTEND.BUSINESSES.ACCOUNT_WAS_SAVED');\n const customFieldsSaved = this.translateService.instant('FRONTEND.BUSINESSES.CUSTOM_FIELDS_SAVED');\n this.snackbar.open(`${accountSaved}. ${customFieldsSaved}.`, null, {\n duration: 3000,\n });\n this.productAnalyticsService.trackEvent(\n 'CustomFields:edit-custom-field-data-success',\n 'CustomFields',\n 'edit-custom-field-data-success',\n );\n } else {\n this.snackbar.open(this.translateService.instant('FRONTEND.BUSINESSES.ACCOUNT_WAS_SAVED'), null, {\n duration: 3000,\n });\n }\n }\n }),\n tap(() => {\n this.saved.emit();\n }),\n );\n }\n\n ngOnInit(): void {\n this.activeTab = BusinessProfileTab.Primary;\n this.createForm();\n if (this.isTabEnabled(BusinessProfileTab.Administration)) {\n this.watchMarketForSalespeople();\n }\n\n this.availableDoctorDotComCategories = this.listingProfile$.pipe(\n switchMap((accountGroup) =>\n this.getDoctorDotComCategories(accountGroup).pipe(\n map((categories) => {\n const allCategories = categories.categories;\n if (accountGroup.richData?.healthCareProfessionalInformation?.doctorDotComCategories?.length > 0) {\n this.currentDoctorDotComCategories =\n accountGroup.richData.healthCareProfessionalInformation.doctorDotComCategories;\n }\n return allCategories;\n }),\n catchError((error) => {\n console.error('Error fetching doctor.com categories:', error);\n return of(null);\n }),\n ),\n ),\n );\n\n this.listingProfile$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((listingProfile) => {\n this.loadFormValues(listingProfile);\n this.mapZoomLevel = this.getMapZoomLevel();\n if (!listingProfile.napData.location) {\n this.inferMapBounds();\n }\n this.timezoneControl.setValue(buildTimezoneDisplay(listingProfile?.napData?.timezone));\n return listingProfile;\n });\n\n const bomTranslateString = 'FRONTEND.BUSINESSES.BUSINESS_OPERATION_METHODS.';\n const bomTranslateKeys = Object.keys(ClosedStatus).filter((k) => isNaN(Number(k)));\n this.businessOperationMethods$ = combineLatest([\n this.translateService.stream(bomTranslateKeys.map((key) => bomTranslateString + key)),\n this.serviceAvailabilityForm.get('closedStatus').valueChanges.pipe(startWith(0)),\n ]).pipe(\n map(([translations]) => {\n const businessOperationMethods = BusinessOperationMethods.slice();\n return businessOperationMethods.map((method) => {\n return {\n code: method,\n name: translations[bomTranslateString + ClosedStatus[method]],\n };\n });\n }),\n );\n\n const ecommerceValueChanges$ = this.serviceAvailabilityForm.get('ecommerceOnly').valueChanges.pipe(startWith(0));\n this.ecommerceOnly$ = ecommerceValueChanges$.pipe(switchMap(() => this.availabilityOptions()));\n\n const paymentMethodKeys = Object.keys(RichDataPaymentMethods).filter((k) => isNaN(Number(k)));\n const paymentMethodsString = 'FRONTEND.BUSINESSES.PAYMENT_METHODS';\n this.paymentMethods$ = combineLatest([\n this.countryChanges,\n this.translateService.stream(paymentMethodKeys.map((key) => `${paymentMethodsString}.${key}`)),\n this.additionalInfoForm.get('paymentMethods').valueChanges.pipe(startWith([])),\n ]).pipe(\n map(([countryCode, paymentMethodsTranslations, valueChanges]) =>\n this.setPaymentMethods(countryCode, paymentMethodsTranslations, valueChanges),\n ),\n );\n\n const genderTranslateString = 'FRONTEND.BUSINESSES.GENDERS.';\n const genderTranslateKeys = Object.keys(GenderKeys).filter((k) => isNaN(Number(k)));\n this.genders$ = this.translateService.stream(genderTranslateKeys.map((key) => genderTranslateString + key)).pipe(\n map((genders) => {\n const selections = GenderSelection.slice();\n return selections.map((selection) => {\n return {\n code: selection,\n name: genders[`${genderTranslateString}${GenderKeys[selection]}`],\n };\n });\n }),\n );\n\n const isProviderTranslateKeys = new Map([\n [HealthCareProfessionalInformationIsProvider.IsProviderTrue, 'FRONTEND.BUSINESSES.IS_PROVIDER_ENUM.PRACTITIONER'],\n [HealthCareProfessionalInformationIsProvider.IsProviderFalse, 'FRONTEND.BUSINESSES.IS_PROVIDER_ENUM.CLINIC'],\n ]);\n\n this.isProviderOptions = Array.from(isProviderTranslateKeys.keys()).map((key) => {\n return {\n code: key,\n name: isProviderTranslateKeys.get(key),\n };\n });\n\n this.standardizedTitles$ = this.translateService.stream(getAllStandardizedTitles()).pipe(\n map((standardizedTitles) => {\n return [\n { code: null, name: null },\n ...Object.keys(standardizedTitles).map((key) => {\n return { code: key, name: standardizedTitles[key] };\n }),\n ];\n }),\n );\n }\n\n private async availabilityOptions(): Promise {\n const availabilities = SellingMethodsAvailability.slice();\n const availabilityTranslateKeys = Object.keys(IsAvailable).filter((k) => isNaN(Number(k)));\n const availabilityTranslateStrings = 'FRONTEND.BUSINESSES.SELLING_METHODS_AVAILABILITY';\n const availabilityStrings = availabilityTranslateKeys.map((key) => `${availabilityTranslateStrings}.${key}`);\n\n const translation = this.translateService.instant(availabilityStrings);\n\n return availabilities.map((method) => {\n return {\n code: method,\n name: translation[`${availabilityTranslateStrings}.${IsAvailable[method]}`],\n };\n });\n }\n\n isTabEnabled(tab: BusinessProfileTab): boolean {\n return this.enabledTabs.includes(tab);\n }\n\n isValidArray(array: any): any {\n return array === null || array === undefined || array.length === 0 ? false : array;\n }\n\n handleCategoriesChange(categories: CategoryInterface[]): void {\n this.hasProfessionalCategory = categories?.some((category) => isHealthCategory(category));\n }\n\n showAdditionalSalespeopleInput(): void {\n this.isAdditionalSalespeopleInputVisible = true;\n }\n\n getPrimarySalespersonInAdditionalSalespeopleErrorMsg(): string {\n const errors: { [key: string]: any } = this.salesForm.get('additionalSalespersonIds').errors;\n return this.translateService.instant('FRONTEND.BUSINESSES.ALREADY_THE_PRIMARY_SALESPERSON', {\n name: errors.primaryName,\n });\n }\n\n private watchMarketForSalespeople(): void {\n this.salesForm.get('market').valueChanges.forEach((marketId) => {\n if (this.listingProfile()) {\n const partnerId = this.listingProfile().externalIdentifiers.partnerId;\n const req: ListSalespersonsRequestListSalespersonsFiltersInterface = {\n partnerId: partnerId,\n marketId: marketId,\n };\n this.salespersonService\n .listSalespersons(req, '', 500)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((result) => {\n this.salespeople = result.results.map((sp) => convertFromSales(partnerId, marketId, sp));\n this.additionalSalespeople = this.salespeople.map((sp) => ({ name: sp.fullName, value: sp.salespersonId }));\n }),\n this.salesForm.patchValue({ salespersonId: '' });\n this.salesForm.patchValue({ additionalSalespersonIds: [] });\n }\n });\n }\n\n private formStateWithDisabled(value?: T): object {\n return { value: value, disabled: this.editDisabled };\n }\n\n private setControlsForFormArray(formArray: FormArray, length: number, controlFactory?: ItemFactory): void {\n // Wrapping helper to provided default control to reduce duplication\n const defaultControlFactory = () => this.fb.control(this.formStateWithDisabled(''));\n fixControlsForFormArray(formArray, controlFactory || defaultControlFactory, length);\n }\n\n getCountryCode(): string {\n return this.basicInfoForm.get('country').value || 'US';\n }\n\n private getMapZoomLevel(): number {\n let zoom = 6;\n if (this.listingProfile().napData.state) {\n zoom = 7;\n }\n if (this.listingProfile().napData.city) {\n zoom = 13;\n }\n if (this.listingProfile().napData.address || this.listingProfile().napData.zip || this.geoControl.value) {\n zoom = 15;\n }\n return zoom;\n }\n\n get maxCompetitorsFields(): number {\n return this.maxCompetitors || 3;\n }\n\n get maxShareOfVoiceKeywordsFields(): number {\n return this.maxShareOfVoiceKeywords || 3;\n }\n\n // inferMapBounds uses the NAP data to infer the boundaries to use for the geolocation control\n private inferMapBounds(): void {\n this.mapsLoaded$.pipe(\n map((didLoad) => {\n if (didLoad) {\n const fullAddress = [\n this.listingProfile().napData.address || '',\n this.listingProfile().napData.city || '',\n this.listingProfile().napData.state || '',\n this.listingProfile().napData.zip || '',\n this.listingProfile().napData.country || '',\n ].join(',');\n\n this.geocoder.geocode({ address: fullAddress }).pipe(\n map((result: MapGeocoderResponse) => {\n if (result.status === google.maps.GeocoderStatus.OK && result.results.length > 0) {\n const viewport = result.results[0].geometry.viewport;\n this.zone.run(() => {\n this.inferredMapBounds = {\n east: viewport.getNorthEast().lng(),\n north: viewport.getNorthEast().lat(),\n west: viewport.getSouthWest().lng(),\n south: viewport.getSouthWest().lat(),\n };\n });\n }\n }),\n );\n }\n }),\n );\n }\n\n openLightbox(data: LightboxData): void {\n this.lightbox.open({ imageUrls: data.imageUrls, index: data.index });\n }\n\n onTabSwitch(index: BusinessProfileTab): void {\n this.activeTab = index;\n }\n\n tabInvalid(tab: BusinessProfileTab): boolean {\n switch (tab) {\n case BusinessProfileTab.Primary:\n return (\n this.basicInfoForm.invalid ||\n this.additionalInfoForm.invalid ||\n this.phoneForm.invalid ||\n this.serviceAvailabilityForm.invalid ||\n this.serviceAreaForm.invalid\n );\n case BusinessProfileTab.Social:\n return this.businessPagesForm.invalid || this.blogForm.invalid;\n case BusinessProfileTab.Professional:\n return (\n this.personalInformationForm.invalid ||\n this.practiceInformationForm.invalid ||\n this.qualificationsAndExperienceForm.invalid ||\n this.additionalProfessionalInfoForm.invalid\n );\n case BusinessProfileTab.Descriptions:\n return this.businessDescriptionsForm.invalid;\n case BusinessProfileTab.Administration:\n return this.salesForm.invalid || this.adminForm.invalid;\n }\n }\n\n tabChanged(tab: BusinessProfileTab): boolean {\n switch (tab) {\n case BusinessProfileTab.Primary:\n return (\n this.basicInfoForm.dirty ||\n this.additionalInfoForm.dirty ||\n this.phoneForm.dirty ||\n this.addressFormDirty ||\n this.serviceAvailabilityForm.dirty ||\n this.serviceAreaForm.dirty\n );\n case BusinessProfileTab.Social:\n return this.businessPagesForm.dirty || this.blogForm.dirty;\n case BusinessProfileTab.Professional:\n return (\n this.personalInformationForm.dirty ||\n this.practiceInformationForm.dirty ||\n this.qualificationsAndExperienceForm.dirty ||\n this.additionalProfessionalInfoForm.dirty\n );\n case BusinessProfileTab.Descriptions:\n return this.businessDescriptionsForm.dirty;\n case BusinessProfileTab.Administration:\n return this.salesForm.dirty || this.adminForm.dirty;\n }\n }\n\n hideSaveButton(): boolean {\n const tabsToHideSaveButton = [];\n return tabsToHideSaveButton.indexOf(this.activeTab) > -1;\n }\n\n markFormsPristine(): void {\n this.basicInfoForm.markAsPristine();\n this.additionalInfoForm.markAsPristine();\n this.serviceAvailabilityForm.markAsPristine();\n this.phoneForm.markAsPristine();\n this.businessPagesForm.markAsPristine();\n this.blogForm.markAsPristine();\n this.personalInformationForm.markAsPristine();\n this.practiceInformationForm.markAsPristine();\n this.qualificationsAndExperienceForm.markAsPristine();\n this.additionalProfessionalInfoForm.markAsPristine();\n this.businessDescriptionsForm.markAsPristine();\n this.googleAttributesForm.markAsPristine();\n this.bingAttributesForm.markAsPristine();\n this.serviceAreaForm.markAsPristine();\n this.auxiliaryDataTable?.formGroup.markAsPristine();\n this.salesForm.markAsPristine();\n this.adminForm.markAsPristine();\n this.businessHoursForm.markAsPristine();\n this.specialHoursForm.markAsPristine();\n this.moreHoursForm.markAsPristine();\n this.geoControl.markAsPristine();\n this.timezoneControl.markAsPristine();\n }\n\n showFourSquare(): boolean {\n if (this.hiddenFields) {\n return this.hiddenFields.indexOf(HiddenField.SocialFourSquare) < 0;\n }\n return true;\n }\n\n showMap(): boolean {\n if (this.hiddenFields) {\n return this.hiddenFields.indexOf(HiddenField.Map) < 0;\n }\n return true;\n }\n\n hasAccessToMarkets(): boolean {\n if (this.hiddenFields) {\n return this.hiddenFields.indexOf(HiddenField.Markets) < 0;\n }\n return true;\n }\n\n hasAccessToSales(): boolean {\n if (this.hiddenFields) {\n return this.hiddenFields.indexOf(HiddenField.Sales) < 0;\n }\n return true;\n }\n\n showCustomerIdentifier(): boolean {\n if (this.hiddenFields) {\n return this.hiddenFields.indexOf(HiddenField.CustomerIdentifier) < 0;\n }\n return true;\n }\n\n get showDateTemporaryClose(): boolean {\n const closedValue = this.serviceAvailabilityForm.get('closedStatus').value;\n return (\n closedValue === ClosedStatus.TEMPORARY ||\n closedValue === ClosedStatus.LIMITED ||\n closedValue === ClosedStatus.PERMANENT\n );\n }\n\n handleTimeZoneChange(timeZone: string): void {\n this.listingProfile().napData.timezone = timeZone;\n }\n\n trackChangedForms(accountGroup: any): void {\n const changedForms = Object.keys(accountGroup)?.filter((key) => {\n return !!accountGroup[key];\n });\n const changedTabs = new Set(changedForms.map((form) => formTabs[form]));\n changedTabs.forEach((tab) => {\n this.productAnalyticsService.trackEvent(`listing-profile-tab-update`, 'listing-profile', 'change', 1, {\n tab: BusinessProfileTab[tab],\n });\n });\n changedForms.forEach((form) => {\n this.productAnalyticsService.trackEvent(`listing-profile-form-update`, 'listing-profile', 'change', 1, {\n form: form,\n });\n });\n }\n\n removePlace(placeId: string): void {\n const places: GooglePlace[] = this.accountGroupForm.get('serviceAreaForm.places')?.value || [];\n this.accountGroupForm.get('serviceAreaForm.places').setValue(places.filter((p) => p.placeId !== placeId));\n this.markServiceAreaDirty();\n }\n\n addPlace(place: GooglePlace): void {\n const places: GooglePlace[] = this.accountGroupForm.get('serviceAreaForm.places').value || [];\n if (places.filter((p) => p.placeId === place.placeId)?.length > 0) {\n return;\n }\n places.push(place);\n this.accountGroupForm.get('serviceAreaForm.places').setValue(places);\n this.markServiceAreaDirty();\n }\n\n markServiceAreaDirty(): void {\n this.accountGroupForm.get('serviceAreaForm').markAsDirty();\n this.accountGroupForm.get('serviceAreaForm.places').markAsDirty();\n this.accountGroupForm.get('serviceAreaForm.businessType').markAsDirty();\n this.accountGroupForm.get('basicInfoForm.serviceAreaBusiness').markAsDirty();\n }\n\n updateServiceArea(checked: boolean): void {\n if (checked) {\n this.accountGroupForm.get('serviceAreaForm').enable();\n this.accountGroupForm.get('serviceAreaForm').setValue({ businessType: 1, places: [] });\n this.markServiceAreaDirty();\n } else {\n this.accountGroupForm.get('serviceAreaForm').disable();\n }\n }\n\n getSuggestion = (fieldType: string): Observable => {\n return this.suggestionService\n .getSuggestion(\n new GetSuggestionRequest({\n businessId: this.accountGroupId(),\n fieldType: fieldType,\n languageCode: this.translateService.currentLang || this.translateService.defaultLang,\n }),\n )\n .pipe(\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message ? err.error.message : 'Unknown error';\n this.snackbar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }),\n map((resp: GetSuggestionResponse) => resp?.suggestion),\n );\n };\n\n suggestFieldUpdate = (\n fieldType: string,\n existing: string,\n option: UpdateOption,\n tone?: string,\n ): Observable => {\n return this.suggestionService\n .suggestFieldUpdate(\n new SuggestFieldUpdateRequest({\n businessId: this.accountGroupId(),\n fieldType: fieldType,\n existingValue: existing,\n option: option,\n tone: tone,\n languageCode: this.translateService.currentLang || this.translateService.defaultLang,\n }),\n )\n .pipe(\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message ? err.error.message : 'Unknown error';\n this.snackbar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }),\n map((resp: GetSuggestionResponse) => resp?.suggestion),\n );\n };\n\n private setPaymentMethods(countryCode: string, paymentMethodsTranslations, valueChanges) {\n const paymentMethodsString = 'FRONTEND.BUSINESSES.PAYMENT_METHODS';\n let paymentMethods = CountryPaymentMethods['DEFAULT'].slice();\n if (countryCode && CountryPaymentMethods[countryCode]) {\n paymentMethods = CountryPaymentMethods[countryCode].slice();\n }\n if (valueChanges) {\n (valueChanges as number[]).forEach((selectedMethod) => {\n if (paymentMethods.indexOf(selectedMethod) < 0) {\n paymentMethods.push(selectedMethod);\n }\n });\n }\n return paymentMethods.map((method) => ({\n code: method,\n name: paymentMethodsTranslations[`${paymentMethodsString}.${RichDataPaymentMethods[method]}`],\n }));\n }\n}\n\nfunction convertFromSales(partnerId: string, marketId: string, sp: SalesSalesperson): Salesperson {\n return {\n partnerId: partnerId,\n marketId: marketId,\n salespersonId: sp.salespersonId,\n fullName: `${sp.firstName} ${sp.lastName}`,\n firstName: sp.firstName,\n lastName: sp.lastName,\n email: sp.email,\n };\n}\n\nfunction createDefaultLegacyProductDetails(): LegacyProductDetails {\n return new LegacyProductDetails({\n commonName: [],\n adminNotes: '',\n });\n}\n\nfunction paymentMethodValidator(getCountryCode: () => string | string, translateService: any): ValidatorFn {\n return (control: AbstractControl): { [key: string]: any } => {\n if (!control.value) {\n return null;\n }\n const countryCode = getCountryCode();\n let paymentMethods = CountryPaymentMethods['DEFAULT'].slice();\n if (countryCode && CountryPaymentMethods[countryCode]) {\n paymentMethods = CountryPaymentMethods[countryCode].slice();\n }\n const invalidPaymentMethods = (control.value as number[]).filter((selectedPaymentMethod) => {\n return paymentMethods.indexOf(selectedPaymentMethod) < 0;\n });\n if (invalidPaymentMethods.length) {\n const paymentMethodsTranslations = translateService.instant('FRONTEND.BUSINESSES.PAYMENT_METHODS');\n const paymentMethodsString = invalidPaymentMethods\n .map((method) => {\n return paymentMethodsTranslations[RichDataPaymentMethods[method]];\n })\n .join(', ');\n const message = translateService.instant('FRONTEND.BUSINESSES.PAYMENT_METHODS.INVALID_PAYMENT_METHODS', {\n paymentMethods: paymentMethodsString,\n });\n return { paymentMethods: message };\n }\n return null;\n };\n}\n\nfunction getAllStandardizedTitles(): string[] {\n return [\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.ACCOUNTING',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.ADMINISTRATOR',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.BOARD_MEMBER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.CHAIRMAN',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.CEO',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.CIO_CTO',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.CONTROLLER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.CORPORATE_TAX',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.DIRECTOR',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.DIVISION_HEAD',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.E_COMMERCE',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.EDUCATOR',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.ENGINEERING',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.ENVIRONMENT',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.EVP',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.EXECUTIVE',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.FACILITIES',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.FINANCE',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.INSURANCE',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.INTERNAL_AUDIT',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.INTERNATIONAL',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.IT_EXECUTIVE',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.LEGAL',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.LEGAL_COUNSEL',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.MANAGER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.MANUFACTURING',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.MARKETING',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.MINISTER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.OFFICE_MANAGER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.OPERATIONS',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.OWNER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.PARTNER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.PRESIDENT',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.PRINCIPAL',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.PUBLISHER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.PURCHASING',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.QUALITY',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.REAL_ESTATE',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.REGION_MANAGER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.SALES',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.SITE_MANAGER',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.SVP',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.TRAINING',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.VICE_CHAIRMAN',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.VICE_PRESIDENT',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.VP',\n 'FRONTEND.BUSINESSES.STANDARDIZED_TITLES.WEBMASTER',\n ];\n}\n","\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PRIMARY_INFO' | translate }}\n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.BASICS' | translate }}\n \n \n \n
\n \n\n \n\n \n\n \n {{ 'FRONTEND.BUSINESSES.PRIMARY_CATEGORY' | translate }}\n \n \n {{ 'FRONTEND.BUSINESSES.BUSINESS_CATEGORIES_HINT' | translate }}\n \n {{ primaryBusinessCategoryCtrl.value.length }}/1\n \n {{ 'FRONTEND.BUSINESSES.BUSINESS_CATEGORIES_ERROR' | translate }}\n \n \n\n \n {{ 'FRONTEND.BUSINESSES.ADDITIONAL_CATEGORIES' | translate }}\n \n {{ businessCategoriesCtrl.value.length }}/9\n \n
\n
\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PHONE' | translate }}\n \n \n {{ 'FRONTEND.BUSINESSES.PHONE_NUMBERS_ALLOWED_FORMATS' | translate }}\n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.LOCATION' | translate }}\n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.SERVICE_AREA_BUSINESS' | translate }}\n \n \n \n {{ 'FRONTEND.FORMS.INPUT.WHATS_THIS' | translate }}\n \n \n\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.CUSTOMER_LOCATION_ONLY' | translate }}\n \n \n {{ 'FRONTEND.BUSINESSES.CUSTOMER_AND_BUSINESS_LOCATION' | translate }}\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.SERVICE_AREAS' | translate }}\n\n \n 0\n ? 'rgba(0, 0, 0, 0.6)'\n : '#c62828'\n \"\n >\n {{ accountGroupForm.get('serviceAreaForm.places')?.value?.length }}/20\n \n \n \n \n \n {{ place.placeName }}\n cancel\n \n \n \n \n\n \n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.OPERATIONAL_INFORMATION' | translate }}\n \n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.BUSINESS_OPEN_CLOSE' | translate }}\n \n \n \n {{ businessOperation.name }}\n \n \n \n {{ businessOperationError }}\n \n \n\n \n \n {{ 'FRONTEND.BUSINESSES.REOPENING_DATE' | translate }}\n \n \n \n \n {{ reopeningDateError }}\n \n \n \n\n \n \n\n \n \n {{ 'FRONTEND.BUSINESSES.SERVICE_AVAILABILITY.ECOMMERCE_ONLY' | translate }}\n \n \n \n {{ ecommerce.name }}\n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PAYMENT_METHODS.PAYMENT_METHODS' | translate }}\n \n \n \n {{ paymentMethod.name }}\n \n \n \n {{ paymentMethodError }}\n \n \n \n \n \n \n \n
\n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.HOURS' | translate }}\n \n \n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n\n \n \n \n {{ 'FRONTEND.BUSINESSES.DESCRIPTIONS' | translate }}\n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.BUSINESS_DESCRIPTIONS' | translate }}\n \n \n \n \n \n \n \n \n \n
\n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.IMAGES' | translate }}\n \n \n
\n
\n \n
\n
\n
\n\n \n \n \n {{ 'FRONTEND.BUSINESSES.SOCIAL' | translate }}\n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.BUSINESS_PAGES' | translate }}\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.BLOG' | translate }}\n \n \n \n \n \n \n
\n
\n
\n\n \n \n \n {{ 'FRONTEND.BUSINESSES.PROFESSIONAL_RECORDS' | translate }}\n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.PERSONAL_INFORMATION' | translate }}\n \n \n \n \n Standardized Title\n \n \n {{ standardizedTitle.name }}\n \n \n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PROFESSIONAL_CREDENTIALS' | translate }}\n \n \n {{ professionalCredential }}\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.GENDER' | translate }}\n \n \n {{ gender.name }}\n \n \n \n \n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.OPERATIONAL_INFORMATION' | translate }}\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.ACCEPTING_PATIENTS' | translate }}\n \n \n {{ 'FRONTEND.BUSINESSES.YES' | translate }}\n \n \n {{ 'FRONTEND.BUSINESSES.NO' | translate }}\n \n \n \n \n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.QUALIFICATIONS_EXPERIENCE.QUALIFICATIONS_EXPERIENCE' | translate }}\n \n \n \n
\n \n \n {{ 'FRONTEND.BUSINESSES.QUALIFICATIONS_EXPERIENCE.DOCTORDOTCOM_CATEGORIES' | translate }}\n \n \n \n {{ doctordotcomCategory.fullName }}\n \n \n \n
\n \n \n \n \n \n \n \n
\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PRACTICE_INFORMATION' | translate }}\n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.IS_PROVIDER' | translate }}\n \n \n {{ enumVal.name | translate }}\n \n \n \n \n \n \n
\n
\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.ATTRIBUTES_TAB' | translate }}\n \n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.CUSTOM_FIELDS' | translate }}\n \n \n
\n
\n \n
\n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.ADMINISTRATION' | translate }}\n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.SALES' | translate }}\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.MARKET' | translate }}\n \n \n {{ market.name }}\n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PRIMARY_SALESPERSON' | translate }}\n \n \n \n {{ salesperson.fullName }}\n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PRIMARY_SALESPERSON_MUST_BE_SELECTED' | translate }}\n \n 0\"\n [formControl]=\"accountGroupForm.get('salesForm.additionalSalespersonIds')\"\n [tooltip]=\"'FRONTEND.BUSINESSES.TOOLTIPS.ADDITIONAL_SALESPERSON_TOOLTIP' | translate\"\n [placeholder]=\"'FRONTEND.BUSINESSES.ADDITIONAL_SALESPEOPLE' | translate\"\n [options]=\"additionalSalespeople\"\n [allowCustomTags]=\"false\"\n [allowDuplicates]=\"false\"\n [maxFields]=\"5\"\n >\n \n {{ getPrimarySalespersonInAdditionalSalespeopleErrorMsg() }}\n \n \n \n
\n
\n \n \n \n {{ 'FRONTEND.BUSINESSES.ADMINISTRATION' | translate }}\n \n \n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.NOTES' | translate }}\n \n \n \n \n \n
\n
\n
\n \n \n \n \n \n \n\n\n\n \n\n","{\n \"FRONTEND\": {\n \"TAXONOMY\": {\n \"active\": \"Active Life\",\n \"amateursportsteams\": \"Amateur Sports Teams\",\n \"amusementparks\": \"Amusement Parks\",\n \"aquariums\": \"Aquariums\",\n \"archery\": \"Archery\",\n \"badminton\": \"Badminton\",\n \"basketballcourts\": \"Basketball Courts\",\n \"beaches\": \"Beaches\",\n \"bikerentals\": \"Bike Rentals\",\n \"boating\": \"Boating\",\n \"bowling\": \"Bowling\",\n \"climbing\": \"Climbing\",\n \"discgolf\": \"Disc Golf\",\n \"diving\": \"Diving\",\n \"freediving\": \"Free Diving\",\n \"scuba\": \"Scuba Diving\",\n \"fishing\": \"Fishing\",\n \"fitness\": \"Fitness & Instruction\",\n \"barreclasses\": \"Barre Classes\",\n \"bootcamps\": \"Boot Camps\",\n \"boxing\": \"Boxing\",\n \"dancestudio\": \"Dance Studios\",\n \"gyms\": \"Gyms\",\n \"healthtrainers\": \"Trainers\",\n \"martialarts\": \"Martial Arts\",\n \"pilates\": \"Pilates\",\n \"taichi\": \"Tai Chi\",\n \"yoga\": \"Yoga\",\n \"football\": \"Soccer\",\n \"gokarts\": \"Go Karts\",\n \"golf\": \"Golf\",\n \"gun_ranges\": \"Gun/Rifle Ranges\",\n \"gymnastics\": \"Gymnastics\",\n \"hanggliding\": \"Hang Gliding\",\n \"hiking\": \"Hiking\",\n \"horsebackriding\": \"Horseback Riding\",\n \"horseracing\": \"Horse Racing\",\n \"hot_air_balloons\": \"Hot Air Balloons\",\n \"kiteboarding\": \"Kiteboarding\",\n \"lakes\": \"Lakes\",\n \"lasertag\": \"Laser Tag\",\n \"leisure_centers\": \"Leisure Centers\",\n \"mini_golf\": \"Mini Golf\",\n \"mountainbiking\": \"Mountain Biking\",\n \"paddleboarding\": \"Paddleboarding\",\n \"paintball\": \"Paintball\",\n \"parks\": \"Parks\",\n \"dog_parks\": \"Dog Parks\",\n \"skate_parks\": \"Skate Parks\",\n \"playgrounds\": \"Playgrounds\",\n \"rafting\": \"Rafting/Kayaking\",\n \"recreation\": \"Recreation Centers\",\n \"rock_climbing\": \"Rock Climbing\",\n \"skatingrinks\": \"Skating Rinks\",\n \"skydiving\": \"Skydiving\",\n \"spinclasses\": \"Spin Classes\",\n \"sports_clubs\": \"Sports Clubs\",\n \"squash\": \"Squash\",\n \"summer_camps\": \"Summer Camps\",\n \"surfing\": \"Surfing\",\n \"swimmingpools\": \"Swimming Pools\",\n \"tennis\": \"Tennis\",\n \"trampoline\": \"Trampoline Parks\",\n \"tubing\": \"Tubing\",\n \"zoos\": \"Zoos\",\n \"arts\": \"Arts & Entertainment\",\n \"arcades\": \"Arcades\",\n \"casinos\": \"Casinos\",\n \"culturalcenter\": \"Cultural Center\",\n \"festivals\": \"Festivals\",\n \"galleries\": \"Art Galleries\",\n \"gardens\": \"Botanical Gardens\",\n \"jazzandblues\": \"Jazz & Blues\",\n \"movietheaters\": \"Cinema\",\n \"museums\": \"Museums\",\n \"musicvenues\": \"Music Venues\",\n \"opera\": \"Opera & Ballet\",\n \"psychic_astrology\": \"Psychics & Astrologers\",\n \"racetracks\": \"Race Tracks\",\n \"social_clubs\": \"Social Clubs\",\n \"sportsteams\": \"Professional Sports Teams\",\n \"stadiumsarenas\": \"Stadiums & Arenas\",\n \"theater\": \"Performing Arts\",\n \"ticketsales\": \"Ticket Sales\",\n \"wineries\": \"Wineries\",\n \"auto\": \"Automotive\",\n \"auto_detailing\": \"Auto Detailing\",\n \"autoglass\": \"Auto Glass Services\",\n \"autoloanproviders\": \"Auto Loan Providers\",\n \"autopartssupplies\": \"Auto Parts & Supplies\",\n \"autorepair\": \"Auto Repair\",\n \"boatdealers\": \"Boat Dealers\",\n \"bodyshops\": \"Body Shops\",\n \"car_dealers\": \"Car Dealers\",\n \"carwash\": \"Car Wash\",\n \"motorcycledealers\": \"Motorcycle Dealers\",\n \"motorcyclerepair\": \"Motorcycle Repair\",\n \"oilchange\": \"Oil Change Stations\",\n \"parking\": \"Parking\",\n \"rv_dealers\": \"RV Dealers\",\n \"servicestations\": \"Gas & Service Stations\",\n \"smog_check_stations\": \"Smog Check Stations\",\n \"stereo_installation\": \"Car Stereo Installation\",\n \"tires\": \"Tires\",\n \"towing\": \"Towing\",\n \"truck_rental\": \"Truck Rental\",\n \"windshieldinstallrepair\": \"Windshield Installation & Repair\",\n \"beautysvc\": \"Beauty & Spas\",\n \"barbers\": \"Barbers\",\n \"cosmetics\": \"Cosmetics & Beauty Supply\",\n \"eyelashservice\": \"Eyelash Service\",\n \"hair\": \"Hair Salons\",\n \"blowoutservices\": \"Blow Dry/Out Services\",\n \"hair_extensions\": \"Hair Extensions\",\n \"hairstylists\": \"Hair Stylists\",\n \"menshair\": \"Men's Hair Salons\",\n \"hairremoval\": \"Hair Removal\",\n \"laser_hair_removal\": \"Laser Hair Removal\",\n \"makeupartists\": \"Makeup Artists\",\n \"massage\": \"Massage\",\n \"othersalons\": \"Nail Salons\",\n \"permanentmakeup\": \"Permanent Makeup\",\n \"piercing\": \"Piercing\",\n \"rolfing\": \"Rolfing\",\n \"skincare\": \"Skin Care\",\n \"spas\": \"Day Spas\",\n \"tanning\": \"Tanning\",\n \"spraytanning\": \"Spray Tanning\",\n \"tanningbeds\": \"Tanning Beds\",\n \"tattoo\": \"Tattoo\",\n \"education\": \"Education\",\n \"adultedu\": \"Adult Education\",\n \"collegecounseling\": \"College Counseling\",\n \"collegeuniv\": \"Colleges & Universities\",\n \"educationservices\": \"Educational Services\",\n \"elementaryschools\": \"Elementary Schools\",\n \"highschools\": \"High Schools\",\n \"kindergarten\": \"Kindergarten\",\n \"middleschools\": \"Middle Schools\",\n \"preschools\": \"Preschools\",\n \"privateschools\": \"Private Schools\",\n \"privatetutors\": \"Private Tutors\",\n \"religiousschools\": \"Religious Schools\",\n \"specialed\": \"Special Education\",\n \"specialtyschools\": \"Specialty Schools\",\n \"artschools\": \"Art Schools\",\n \"cookingschools\": \"Cooking Schools\",\n \"cosmetology_schools\": \"Cosmetology Schools\",\n \"cprclasses\": \"CPR Classes\",\n \"dance_schools\": \"Dance Schools\",\n \"driving_schools\": \"Driving Schools\",\n \"firstaidclasses\": \"First Aid Classes\",\n \"flightinstruction\": \"Flight Instruction\",\n \"language_schools\": \"Language Schools\",\n \"massage_schools\": \"Massage Schools\",\n \"swimminglessons\": \"Swimming Lessons/Schools\",\n \"vocation\": \"Vocational & Technical School\",\n \"testprep\": \"Test Preparation\",\n \"tutoring\": \"Tutoring Centers\",\n \"eventservices\": \"Event Planning & Services\",\n \"bartenders\": \"Bartenders\",\n \"boatcharters\": \"Boat Charters\",\n \"catering\": \"Caterers\",\n \"clowns\": \"Clowns\",\n \"djs\": \"DJs\",\n \"eventplanning\": \"Party & Event Planning\",\n \"magicians\": \"Magicians\",\n \"musicians\": \"Musicians\",\n \"officiants\": \"Officiants\",\n \"partybusrentals\": \"Party Bus Rentals\",\n \"partyequipmentrentals\": \"Party Equipment Rentals\",\n \"partysupplies\": \"Party Supplies\",\n \"personalchefs\": \"Personal Chefs\",\n \"photographers\": \"Photographers\",\n \"eventphotography\": \"Event Photography\",\n \"sessionphotography\": \"Session Photography\",\n \"venues\": \"Venues & Event Spaces\",\n \"videographers\": \"Videographers\",\n \"wedding_planning\": \"Wedding Planning\",\n \"financialservices\": \"Financial Services\",\n \"banks\": \"Banks & Credit Unions\",\n \"financialadvising\": \"Financial Advising\",\n \"insurance\": \"Insurance\",\n \"investing\": \"Investing\",\n \"paydayloans\": \"Check Cashing/Pay-day Loans\",\n \"taxservices\": \"Tax Services\",\n \"food\": \"Food\",\n \"bagels\": \"Bagels\",\n \"bakeries\": \"Bakeries\",\n \"beer_and_wine\": \"Beer, Wine & Spirits\",\n \"breweries\": \"Breweries\",\n \"bubbletea\": \"Bubble Tea\",\n \"butcher\": \"Butcher\",\n \"coffee\": \"Coffee & Tea\",\n \"convenience\": \"Convenience Stores\",\n \"csa\": \"CSA\",\n \"desserts\": \"Desserts\",\n \"diyfood\": \"Do-It-Yourself Food\",\n \"donuts\": \"Donuts\",\n \"farmersmarket\": \"Farmers Market\",\n \"fooddeliveryservices\": \"Food Delivery Services\",\n \"foodtrucks\": \"Food Trucks\",\n \"gelato\": \"Gelato\",\n \"gourmet\": \"Specialty Food\",\n \"candy\": \"Candy Stores\",\n \"cheese\": \"Cheese Shops\",\n \"chocolate\": \"Chocolatiers & Shops\",\n \"ethnicmarkets\": \"Ethnic Food\",\n \"healthmarkets\": \"Health Markets\",\n \"herbsandspices\": \"Herbs & Spices\",\n \"markets\": \"Fruits & Veggies\",\n \"meats\": \"Meat Shops\",\n \"seafoodmarkets\": \"Seafood Markets\",\n \"grocery\": \"Grocery\",\n \"icecream\": \"Ice Cream & Frozen Yogurt\",\n \"internetcafe\": \"Internet Cafes\",\n \"juicebars\": \"Juice Bars & Smoothies\",\n \"pretzels\": \"Pretzels\",\n \"shavedice\": \"Shaved Ice\",\n \"streetvendors\": \"Street Vendors\",\n \"tea\": \"Tea Rooms\",\n \"health\": \"Health & Medical\",\n \"acupuncture\": \"Acupuncture\",\n \"assistance\": \"Assistance\",\n \"c_and_mh\": \"Counseling & Mental Health\",\n \"cannabis_clinics\": \"Cannabis Clinics\",\n \"chiropractors\": \"Chiropractors\",\n \"dentists\": \"Dentists\",\n \"cosmeticdentists\": \"Cosmetic Dentists\",\n \"endodontists\": \"Endodontists\",\n \"generaldentistry\": \"General Dentistry\",\n \"oralsurgeons\": \"Oral Surgeons\",\n \"orthodontists\": \"Orthodontists\",\n \"pediatric_dentists\": \"Pediatric Dentists\",\n \"periodontists\": \"Periodontists\",\n \"diagnosticservices\": \"Diagnostic Services\",\n \"diagnosticimaging\": \"Diagnostic Imaging\",\n \"laboratorytesting\": \"Laboratory Testing\",\n \"hearingaidproviders\": \"Hearing Aid Providers\",\n \"homehealthcare\": \"Home Health Care\",\n \"hospice\": \"Hospice\",\n \"hospitals\": \"Hospitals\",\n \"lactationservices\": \"Lactation Services\",\n \"laserlasikeyes\": \"Laser Eye Surgery/Lasik\",\n \"massage_therapy\": \"Massage Therapy\",\n \"medcenters\": \"Medical Centers\",\n \"medicalspa\": \"Medical Spas\",\n \"medicaltransportation\": \"Medical Transportation\",\n \"midwives\": \"Midwives\",\n \"nutritionists\": \"Nutritionists\",\n \"occupationaltherapy\": \"Occupational Therapy\",\n \"optometrists\": \"Optometrists\",\n \"pharmaceuticalsupplier\": \"Pharmaceutical Supplier\",\n \"pharmacy\": \"Pharmacy\",\n \"physicaltherapy\": \"Physical Therapy\",\n \"physicians\": \"Doctors\",\n \"addiction_specialist\": \"Addiction Specialist\",\n \"adolescent_medicine\": \"Adolescent Medicine Specialist\",\n \"allergist\": \"Allergists\",\n \"allergist_immunologist\": \"Allergist / Immunologist\",\n \"anesthesiologists\": \"Anesthesiologists\",\n \"audiologist\": \"Audiologist\",\n \"bariatric_surgeon\": \"Bariatric Surgeon\",\n \"behavioral_medicine\": \"Behavioral Medicine Specialist\",\n \"breast_surgeon\": \"Breast Surgeon\",\n \"cardiac_surgeon\": \"Cardiac Surgeon\",\n \"cardiology\": \"Cardiologists\",\n \"cardiothoracic_surgeon\": \"Cardiothoracic Surgeon\",\n \"colorectal_surgeon\": \"Colorectal Surgeon\",\n \"cosmeticsurgeons\": \"Cosmetic Surgeons\",\n \"dermatology\": \"Dermatologists\",\n \"earnosethroat\": \"Ear Nose & Throat\",\n \"familydr\": \"Family Practice\",\n \"fertility\": \"Fertility\",\n \"flight_surgeon\": \"Flight Surgeon\",\n \"gastroenterologist\": \"Gastroenterologist\",\n \"general_practioner\": \"General Practitioner\",\n \"general_surgeon\": \"General Surgeon\",\n \"geriatrics\": \"Geriatrics\",\n \"gerontologist\": \"Gerontologists\",\n \"hematologist\": \"Hematologist\",\n \"hepatologist\": \"Hepatologist\",\n \"immunologist\": \"Immunologist\",\n \"infectious_disease_specialist\": \"Infectious Disease Specialist\",\n \"internalmed\": \"Internal Medicine\",\n \"naturopathic\": \"Naturopathic/Holistic\",\n \"nephrologist\": \"Nephrologist\",\n \"neurologist\": \"Neurologist\",\n \"neurosurgeon\": \"Neurosurgeon\",\n \"nuclear_medicine_specialist\": \"Nuclear Medicine Specialist\",\n \"obgyn\": \"Obstetricians & Gynecologists\",\n \"oncologist\": \"Oncologist\",\n \"opthamalogists\": \"Ophthalmologists\",\n \"orthopedists\": \"Orthopedists\",\n \"osteopathicphysicians\": \"Osteopathic Physicians\",\n \"pain_management_specialist\": \"Pain Management Specialist\",\n \"pediatricians\": \"Pediatricians\",\n \"plastic_surgeon\": \"Plastic Surgeon\",\n \"podiatrists\": \"Podiatrists\",\n \"proctologist\": \"Proctologists\",\n \"psychiatrists\": \"Psychiatrists\",\n \"pulmonologist\": \"Pulmonologist\",\n \"sleep_medicine\": \"Sleep Medicine Doctor\",\n \"sportsmed\": \"Sports Medicine\",\n \"tattooremoval\": \"Tattoo Removal\",\n \"thoracic_surgeon\": \"Thoracic Surgeon\",\n \"transplan_surgeon\": \"Transplant Surgeon\",\n \"trauma_surgeon\": \"Trauma Surgeon\",\n \"urologists\": \"Urologists\",\n \"vascular_surgeon\": \"Vascular Surgeon\",\n \"reflexology\": \"Reflexology\",\n \"rehabilitation_center\": \"Rehabilitation Center\",\n \"retirement_homes\": \"Retirement Homes\",\n \"speech_therapists\": \"Speech Therapists\",\n \"tcm\": \"Traditional Chinese Medicine\",\n \"urgent_care\": \"Urgent Care\",\n \"weightlosscenters\": \"Weight Loss Centers\",\n \"homeservices\": \"Home Services\",\n \"blinds\": \"Shades & Blinds\",\n \"buildingsupplies\": \"Building Supplies\",\n \"carpeting\": \"Carpeting\",\n \"carpetinstallation\": \"Carpet Installation\",\n \"chimneyandfireplacecleaning\": \"Chimney & Fireplace Cleaning\",\n \"constructioncompany\": \"Construction Company\",\n \"contractors\": \"Contractors\",\n \"damagerestoration\": \"Damage Restoration\",\n \"electricians\": \"Electricians\",\n \"flooring\": \"Flooring\",\n \"garage_door_services\": \"Garage Door Services\",\n \"gardeners\": \"Gardeners\",\n \"handyman\": \"Handyman\",\n \"home_inspectors\": \"Home Inspectors\",\n \"home_organization\": \"Home Organization\",\n \"homecleaning\": \"Home Cleaning\",\n \"hometheatreinstallation\": \"Home Theatre Installation\",\n \"homewindowtinting\": \"Home Window Tinting\",\n \"hvac\": \"Heating & Air Conditioning/HVAC\",\n \"interiordesign\": \"Interior Design\",\n \"irrigation\": \"Irrigation\",\n \"isps\": \"Internet Service Providers\",\n \"landscapearchitects\": \"Landscape Architects\",\n \"landscaping\": \"Landscaping\",\n \"lighting\": \"Lighting Fixtures & Equipment\",\n \"locksmiths\": \"Keys & Locksmiths\",\n \"masonry_concrete\": \"Masonry/Concrete\",\n \"movers\": \"Movers\",\n \"painters\": \"Painters\",\n \"plumbing\": \"Plumbing\",\n \"poolcleaners\": \"Pool Cleaners\",\n \"realestate\": \"Real Estate\",\n \"commercialrealestate\": \"Commercial Real Estate\",\n \"mortgagebrokers\": \"Mortgage Brokers\",\n \"prefabricated\": \"Prefabricated\",\n \"propertymgmt\": \"Property Management\",\n \"realestateagents\": \"Real Estate Agents\",\n \"realestatesvcs\": \"Real Estate Services\",\n \"sharedofficespaces\": \"Shared Office Spaces\",\n \"roofing\": \"Roofing\",\n \"securitysystems\": \"Security Systems\",\n \"solarinstallation\": \"Solar Installation\",\n \"televisionserviceproviders\": \"Television Service Providers\",\n \"treeservices\": \"Tree Services\",\n \"utilities\": \"Utilities\",\n \"windowwashing\": \"Window Washing\",\n \"hotelstravel\": \"Hotels & Travel\",\n \"airports\": \"Airports\",\n \"bedbreakfast\": \"Bed & Breakfast\",\n \"campgrounds\": \"Campgrounds\",\n \"carrental\": \"Car Rental\",\n \"guesthouses\": \"Guest Houses\",\n \"hostels\": \"Hostels\",\n \"hotels\": \"Hotels\",\n \"motorcycle_rental\": \"Motorcycle Rental\",\n \"resorts\": \"Resorts\",\n \"rvparks\": \"RV Parks\",\n \"rvrental\": \"RV Rental\",\n \"skiresorts\": \"Ski Resorts\",\n \"tours\": \"Tours\",\n \"trainstations\": \"Train Stations\",\n \"transport\": \"Transportation\",\n \"airlines\": \"Airlines\",\n \"airport_shuttles\": \"Airport Shuttles\",\n \"limos\": \"Limos\",\n \"publictransport\": \"Public Transportation\",\n \"taxis\": \"Taxis\",\n \"travelservices\": \"Travel Services\",\n \"vacation_rentals\": \"Vacation Rentals\",\n \"vacationrentalagents\": \"Vacation Rental Agents\",\n \"industgoodsmanu\": \"Industrial Goods and Manufacturing\",\n \"manufacturer\": \"Manufacturer\",\n \"localservices\": \"Local Services\",\n \"bailbondsmen\": \"Bail Bondsmen\",\n \"bike_repair_maintenance\": \"Bike Repair/Maintenance\",\n \"carpet_cleaning\": \"Carpet Cleaning\",\n \"childcare\": \"Child Care & Day Care\",\n \"copyshops\": \"Printing Services\",\n \"couriers\": \"Couriers & Delivery Services\",\n \"drycleaninglaundry\": \"Dry Cleaning & Laundry\",\n \"electronicsrepair\": \"Electronics Repair\",\n \"equipmentrental\": \"Equipment Rental\",\n \"fireprotectionequipmentsupplier\": \"Fire Protection Equipment Supplier\",\n \"fireprotectionservice\": \"Fire Protection Service\",\n \"fireprotectionsystemsupplier\": \"Fire Protection System Supplier\",\n \"funeralservices\": \"Funeral Services & Cemeteries\",\n \"homeappliancerepair\": \"Appliances & Repair\",\n \"itservices\": \"IT Services & Computer Repair\",\n \"datarecovery\": \"Data Recovery\",\n \"mobilephonerepair\": \"Mobile Phone Repair\",\n \"jewelryrepair\": \"Jewelry Repair\",\n \"junkremovalandhauling\": \"Junk Removal & Hauling\",\n \"nannys\": \"Nanny Services\",\n \"nonprofit\": \"Community Service/Non-Profit\",\n \"notaries\": \"Notaries\",\n \"pest_control\": \"Pest Control\",\n \"recording_studios\": \"Recording & Rehearsal Studios\",\n \"recyclingcenter\": \"Recycling Center\",\n \"reupholstery\": \"Furniture Reupholstery\",\n \"screen_printing_tshirt_printing\": \"Screen Printing/T-Shirt Printing\",\n \"screenprinting\": \"Screen Printing\",\n \"selfstorage\": \"Self Storage\",\n \"sewingalterations\": \"Sewing & Alterations\",\n \"shipping_centers\": \"Shipping Centers\",\n \"shoerepair\": \"Shoe Repair\",\n \"shredding_service\": \"Shredding Service\",\n \"snowremoval\": \"Snow Removal\",\n \"software_development\": \"Software Development\",\n \"watch_repair\": \"Watch Repair\",\n \"massmedia\": \"Mass Media\",\n \"printmedia\": \"Print Media\",\n \"radiostations\": \"Radio Stations\",\n \"televisionstations\": \"Television Stations\",\n \"mineag\": \"Mining & Agriculture\",\n \"ag\": \"Agriculture\",\n \"farmequipmentseller\": \"Farm Equipment Seller\",\n \"horticulture\": \"Horticulture\",\n \"livestock\": \"Livestock\",\n \"mining\": \"Mining\",\n \"nightlife\": \"Nightlife\",\n \"adultentertainment\": \"Adult Entertainment\",\n \"bars\": \"Bars\",\n \"champagne_bars\": \"Champagne Bars\",\n \"cocktailbars\": \"Cocktail Bars\",\n \"divebars\": \"Dive Bars\",\n \"gaybars\": \"Gay Bars\",\n \"hookah_bars\": \"Hookah Bars\",\n \"lounges\": \"Lounges\",\n \"pubs\": \"Pubs\",\n \"sportsbars\": \"Sports Bars\",\n \"wine_bars\": \"Wine Bars\",\n \"comedyclubs\": \"Comedy Clubs\",\n \"countrydancehalls\": \"Country Dance Halls\",\n \"danceclubs\": \"Dance Clubs\",\n \"karaoke\": \"Karaoke\",\n \"pianobars\": \"Piano Bars\",\n \"poolhalls\": \"Pool Halls\",\n \"other\": \"Other\",\n \"pets\": \"Pets\",\n \"animalshelters\": \"Animal Shelters\",\n \"horse_boarding\": \"Horse Boarding\",\n \"petservices\": \"Pet Services\",\n \"dogwalkers\": \"Dog Walkers\",\n \"groomer\": \"Pet Groomers\",\n \"pet_sitting\": \"Pet Boarding/Pet Sitting\",\n \"pet_training\": \"Pet Training\",\n \"petstore\": \"Pet Stores\",\n \"vet\": \"Veterinarians\",\n \"professional\": \"Professional Services\",\n \"accountants\": \"Accountants\",\n \"advertising\": \"Advertising\",\n \"architects\": \"Architects\",\n \"audio_video_consulting\": \"Audio Visual Consultant\",\n \"boatrepair\": \"Boat Repair\",\n \"careercounseling\": \"Career Counseling\",\n \"editorialservices\": \"Editorial Services\",\n \"employmentagencies\": \"Employment Agencies\",\n \"graphicdesign\": \"Graphic Design\",\n \"lawyers\": \"Lawyers\",\n \"bankruptcy\": \"Bankruptcy Law\",\n \"businesslawyers\": \"Business Law\",\n \"criminaldefense\": \"Criminal Defense Law\",\n \"divorce\": \"Divorce & Family Law\",\n \"duilawyers\": \"DUI Law\",\n \"employmentlawyers\": \"Employment Law\",\n \"estateplanning\": \"Estate Planning Law\",\n \"general_litigation\": \"General Litigation\",\n \"immigrationlawyers\": \"Immigration Law\",\n \"personal_injury\": \"Personal Injury Law\",\n \"realestatelawyers\": \"Real Estate Law\",\n \"legalservices\": \"Legal Services\",\n \"lifecoach\": \"Life Coach\",\n \"marketing\": \"Marketing\",\n \"matchmakers\": \"Matchmakers\",\n \"officecleaning\": \"Office Cleaning\",\n \"payroll\": \"Payroll Services\",\n \"personalassistants\": \"Personal Assistants\",\n \"privateinvestigation\": \"Private Investigation\",\n \"publicrelations\": \"Public Relations\",\n \"talentagencies\": \"Talent Agencies\",\n \"taxidermy\": \"Taxidermy\",\n \"translationservices\": \"Translation Services\",\n \"videofilmproductions\": \"Video/Film Production\",\n \"web_design\": \"Web Design\",\n \"publicservicesgovt\": \"Public Services & Government\",\n \"courthouses\": \"Courthouses\",\n \"departmentsofmotorvehicles\": \"Departments of Motor Vehicles\",\n \"embassy\": \"Embassy\",\n \"firedepartments\": \"Fire Departments\",\n \"landmarks\": \"Landmarks & Historical Buildings\",\n \"libraries\": \"Libraries\",\n \"policedepartments\": \"Police Departments\",\n \"postoffices\": \"Post Offices\",\n \"apartments\": \"Apartments\",\n \"homestaging\": \"Home Staging\",\n \"university_housing\": \"University Housing\",\n \"religiousorgs\": \"Religious Organizations\",\n \"buddhist_temples\": \"Buddhist Temples\",\n \"churches\": \"Churches\",\n \"hindu_temples\": \"Hindu Temples\",\n \"mosques\": \"Mosques\",\n \"synagogues\": \"Synagogues\",\n \"restaurants\": \"Restaurants\",\n \"afghani\": \"Afghan\",\n \"african\": \"African\",\n \"senegalese\": \"Senegalese\",\n \"southafrican\": \"South African\",\n \"arabian\": \"Arabian\",\n \"argentine\": \"Argentine\",\n \"armenian\": \"Armenian\",\n \"asianfusion\": \"Asian Fusion\",\n \"australian\": \"Australian\",\n \"austrian\": \"Austrian\",\n \"bangladeshi\": \"Bangladeshi\",\n \"basque\": \"Basque\",\n \"bbq\": \"Barbeque\",\n \"belgian\": \"Belgian\",\n \"brasseries\": \"Brasseries\",\n \"brazilian\": \"Brazilian\",\n \"breakfast_brunch\": \"Breakfast & Brunch\",\n \"british\": \"British\",\n \"buffets\": \"Buffets\",\n \"burgers\": \"Burgers\",\n \"burmese\": \"Burmese\",\n \"cafes\": \"Cafes\",\n \"cafeteria\": \"Cafeteria\",\n \"cajun\": \"Cajun/Creole\",\n \"cambodian\": \"Cambodian\",\n \"caribbean\": \"Caribbean\",\n \"dominican\": \"Dominican\",\n \"haitian\": \"Haitian\",\n \"puertorican\": \"Puerto Rican\",\n \"trinidadian\": \"Trinidadian\",\n \"catalan\": \"Catalan\",\n \"cheesesteaks\": \"Cheesesteaks\",\n \"chicken_wings\": \"Chicken Wings\",\n \"chinese\": \"Chinese\",\n \"cantonese\": \"Cantonese\",\n \"dimsum\": \"Dim Sum\",\n \"shanghainese\": \"Shanghainese\",\n \"szechuan\": \"Szechuan\",\n \"comfortfood\": \"Comfort Food\",\n \"creperies\": \"Creperies\",\n \"cuban\": \"Cuban\",\n \"czech\": \"Czech\",\n \"delis\": \"Delis\",\n \"diners\": \"Diners\",\n \"ethiopian\": \"Ethiopian\",\n \"filipino\": \"Filipino\",\n \"fishnchips\": \"Fish & Chips\",\n \"fondue\": \"Fondue\",\n \"food_court\": \"Food Court\",\n \"foodstands\": \"Food Stands\",\n \"french\": \"French\",\n \"gastropubs\": \"Gastropubs\",\n \"german\": \"German\",\n \"gluten_free\": \"Gluten-Free\",\n \"greek\": \"Greek\",\n \"halal\": \"Halal\",\n \"hawaiian\": \"Hawaiian\",\n \"himalayan\": \"Himalayan/Nepalese\",\n \"hotdog\": \"Hot Dogs\",\n \"hotdogs\": \"Fast Food\",\n \"hotpot\": \"Hot Pot\",\n \"hungarian\": \"Hungarian\",\n \"iberian\": \"Iberian\",\n \"indonesian\": \"Indonesian\",\n \"indpak\": \"Indian\",\n \"irish\": \"Irish\",\n \"italian\": \"Italian\",\n \"japanese\": \"Japanese\",\n \"korean\": \"Korean\",\n \"kosher\": \"Kosher\",\n \"laotian\": \"Laotian\",\n \"latin\": \"Latin American\",\n \"colombian\": \"Colombian\",\n \"salvadoran\": \"Salvadoran\",\n \"venezuelan\": \"Venezuelan\",\n \"malaysian\": \"Malaysian\",\n \"mediterranean\": \"Mediterranean\",\n \"mexican\": \"Mexican\",\n \"mideastern\": \"Middle Eastern\",\n \"egyptian\": \"Egyptian\",\n \"lebanese\": \"Lebanese\",\n \"modern_european\": \"Modern European\",\n \"mongolian\": \"Mongolian\",\n \"moroccan\": \"Moroccan\",\n \"newamerican\": \"American (New)\",\n \"pakistani\": \"Pakistani\",\n \"persian\": \"Persian/Iranian\",\n \"peruvian\": \"Peruvian\",\n \"pizza\": \"Pizza\",\n \"polish\": \"Polish\",\n \"portuguese\": \"Portuguese\",\n \"raw_food\": \"Live/Raw Food\",\n \"russian\": \"Russian\",\n \"salad\": \"Salad\",\n \"sandwiches\": \"Sandwiches\",\n \"scandinavian\": \"Scandinavian\",\n \"scottish\": \"Scottish\",\n \"seafood\": \"Seafood\",\n \"singaporean\": \"Singaporean\",\n \"slovakian\": \"Slovakian\",\n \"soulfood\": \"Soul Food\",\n \"soup\": \"Soup\",\n \"southern\": \"Southern\",\n \"spanish\": \"Spanish\",\n \"steak\": \"Steakhouses\",\n \"sushi\": \"Sushi Bars\",\n \"taiwanese\": \"Taiwanese\",\n \"tapas\": \"Tapas Bars\",\n \"tapasmallplates\": \"Tapas/Small Plates\",\n \"tex_mex\": \"Tex-Mex\",\n \"thai\": \"Thai\",\n \"tradamerican\": \"American (Traditional)\",\n \"turkish\": \"Turkish\",\n \"ukrainian\": \"Ukrainian\",\n \"vegan\": \"Vegan\",\n \"vegetarian\": \"Vegetarian\",\n \"vietnamese\": \"Vietnamese\",\n \"shopping\": \"Shopping\",\n \"adult\": \"Adult\",\n \"antiques\": \"Antiques\",\n \"artsandcrafts\": \"Arts & Crafts\",\n \"artsupplies\": \"Art Supplies\",\n \"costumes\": \"Costumes\",\n \"fabricstores\": \"Fabric Stores\",\n \"framing\": \"Framing\",\n \"stationery\": \"Cards & Stationery\",\n \"auctionhouses\": \"Auction Houses\",\n \"baby_gear\": \"Baby Gear & Furniture\",\n \"bespoke\": \"Bespoke Clothing\",\n \"bridal\": \"Bridal\",\n \"cannabis_store\": \"Cannabis Store\",\n \"computers\": \"Computers\",\n \"deptstores\": \"Department Stores\",\n \"discountstore\": \"Discount Store\",\n \"drugstores\": \"Drugstores\",\n \"electronics\": \"Electronics\",\n \"fashion\": \"Fashion\",\n \"accessories\": \"Accessories\",\n \"childcloth\": \"Children's Clothing\",\n \"formalwear\": \"Formal Wear\",\n \"hats\": \"Hats\",\n \"leather\": \"Leather Goods\",\n \"lingerie\": \"Lingerie\",\n \"maternity\": \"Maternity Wear\",\n \"menscloth\": \"Men's Clothing\",\n \"plus_size_fashion\": \"Plus Size Fashion\",\n \"shoes\": \"Shoe Stores\",\n \"sportswear\": \"Sports Wear\",\n \"surfshop\": \"Surf Shop\",\n \"swimwear\": \"Swimwear\",\n \"vintage\": \"Used, Vintage & Consignment\",\n \"womenscloth\": \"Women's Clothing\",\n \"fireworks\": \"Fireworks\",\n \"fleamarkets\": \"Flea Markets\",\n \"flowers\": \"Flowers & Gifts\",\n \"florists\": \"Florists\",\n \"giftshops\": \"Gift Shops\",\n \"golfshops\": \"Golf Equipment Shops\",\n \"guns_and_ammo\": \"Guns & Ammo\",\n \"hobbyshops\": \"Hobby Shops\",\n \"homeandgarden\": \"Home & Garden\",\n \"appliances\": \"Appliances\",\n \"furniture\": \"Furniture Stores\",\n \"gardening\": \"Nurseries & Gardening\",\n \"hardware\": \"Hardware Stores\",\n \"homedecor\": \"Home Decor\",\n \"hottubandpool\": \"Hot Tub & Pool\",\n \"kitchenandbath\": \"Kitchen & Bath\",\n \"mattresses\": \"Mattresses\",\n \"jewelry\": \"Jewelry\",\n \"knittingsupplies\": \"Knitting Supplies\",\n \"luggage\": \"Luggage\",\n \"media\": \"Books, Mags, Music & Video\",\n \"bookstores\": \"Bookstores\",\n \"comicbooks\": \"Comic Books\",\n \"mags\": \"Newspapers & Magazines\",\n \"musicvideo\": \"Music & DVDs\",\n \"videoandgames\": \"Videos & Video Game Rental\",\n \"vinyl_records\": \"Vinyl Records\",\n \"medicalsupplies\": \"Medical Supplies\",\n \"mobilephones\": \"Mobile Phones\",\n \"motorcyclinggear\": \"Motorcycle Gear\",\n \"musicalinstrumentsandteachers\": \"Musical Instruments & Teachers\",\n \"officeequipment\": \"Office Equipment\",\n \"opticians\": \"Eyewear & Opticians\",\n \"outlet_stores\": \"Outlet Stores\",\n \"pawn\": \"Pawn Shops\",\n \"personal_shopping\": \"Personal Shopping\",\n \"photographystores\": \"Photography Stores & Services\",\n \"poolbilliards\": \"Pool & Billiards\",\n \"popupshops\": \"Pop-up Shops\",\n \"shoppingcenters\": \"Shopping Centers\",\n \"sportgoods\": \"Sporting Goods\",\n \"bikes\": \"Bikes\",\n \"golfequipment\": \"Golf Equipment\",\n \"outdoorgear\": \"Outdoor Gear\",\n \"thrift_stores\": \"Thrift Stores\",\n \"tobaccoshops\": \"Tobacco Shops\",\n \"toys\": \"Toy Stores\",\n \"trophyshops\": \"Trophy Shops\",\n \"uniforms\": \"Uniforms\",\n \"watches\": \"Watches\",\n \"wholesale_stores\": \"Wholesale Stores\",\n \"wigs\": \"Wigs\",\n \"transportation\": \"Transportation\",\n \"air\": \"Air\",\n \"railway\": \"Railway\",\n \"road\": \"Road\",\n \"water\": \"Water\",\n \"doormanufacturer\": \"Door Manufacturer\",\n \"doorsupplier\": \"Door Supplier\",\n \"excavatingcontractor\": \"Excavating Contractor\",\n \"railingcontractor\": \"Railing Contractor\",\n \"windowsinstallation\": \"Windows Installation\",\n \"doorshop\": \"Door Shop\",\n \"showerdoorshop\": \"Shower Door Shop\",\n \"linens_store\": \"Linens Store\",\n \"laundry_service\": \"Laundry Services\",\n \"janitorial_service\": \"Janitorial Services\",\n \"restaurant_supply_store\": \"Restaurant Supply Store\",\n \"ict\": \"Information and Communication Technology\",\n \"telecommunicationserviceprovider\": \"Telecommunications Service Provider\",\n \"managedserviceprovider\": \"Managed Service Provider\",\n \"valueaddedreseller\": \"Value Added Reseller\",\n \"cablecompany\": \"Cable Company\",\n \"internetserviceprovider\": \"Internet Service Provider\",\n \"signshop\": \"Sign Shop\"\n }\n }\n}\n","export const WEBLATE_COMPONENT_NAME = 'common/taxonomy-i18n';\n","import { TranslateModule } from '@ngx-translate/core';\nimport { NgModule } from '@angular/core';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport { TaxonomyComponent } from './taxonomy.component';\nimport baseTranslation from './assets/i18n/en_devel.json';\nimport { WEBLATE_COMPONENT_NAME } from './constants';\n\n@NgModule({\n imports: [\n TranslateModule,\n LexiconModule.forChild({\n componentName: WEBLATE_COMPONENT_NAME,\n baseTranslation: baseTranslation,\n }),\n ],\n exports: [TaxonomyComponent],\n declarations: [TaxonomyComponent],\n providers: [],\n})\nexport class TaxonomyI18nModule {}\n","export { TaxonomyI18nModule } from './taxonomy-i18n.module';\nexport { TaxonomyComponent } from './taxonomy.component';\n","export * from './lib/index';\n","import { Salesperson, SalespersonRequestInterface } from './interfaces/salesperson.interface';\n\nexport class SalespersonResponse implements Salesperson {\n partnerId: string;\n marketId: string;\n salespersonId: string;\n firstName: string;\n lastName: string;\n email: string;\n fullName: string;\n\n static fromProto(proto: any): SalespersonResponse {\n if (!proto) {\n return null;\n }\n const m = new SalespersonResponse();\n for (const key in proto) {\n if (Object.prototype.hasOwnProperty.call(proto, key)) {\n m[key] = proto[key];\n }\n }\n\n return m;\n }\n\n constructor(kwargs?: Salesperson) {\n if (!kwargs) {\n return;\n }\n for (const key in kwargs) {\n if (Object.prototype.hasOwnProperty.call(kwargs, key)) {\n this[key] = kwargs[key];\n }\n }\n }\n\n toApiJson(): object {\n if (\n typeof this.partnerId === 'undefined' &&\n typeof this.marketId === 'undefined' &&\n typeof this.salespersonId === 'undefined' &&\n typeof this.firstName === 'undefined' &&\n typeof this.lastName === 'undefined'\n ) {\n return null;\n }\n\n return {\n partnerId: typeof this.partnerId !== 'undefined' ? this.partnerId : null,\n marketId: typeof this.marketId !== 'undefined' ? this.marketId : null,\n salespersonId: typeof this.salespersonId !== 'undefined' ? this.salespersonId : null,\n firstName: typeof this.firstName !== 'undefined' ? this.firstName : null,\n lastName: typeof this.lastName !== 'undefined' ? this.lastName : null,\n email: typeof this.email !== 'undefined' ? this.email : null,\n fullName: typeof this.fullName !== 'undefined' ? this.fullName : null,\n };\n }\n}\n\nexport class SalespersonRequest implements SalespersonRequestInterface {\n partnerId: string;\n marketIds: string[];\n includeNullMarket: boolean;\n\n static fromProto(proto: any): SalespersonRequest {\n if (!proto) {\n return null;\n }\n const m = new SalespersonRequest();\n for (const key in proto) {\n if (Object.prototype.hasOwnProperty.call(proto, key)) {\n m[key] = proto[key];\n }\n }\n return m;\n }\n\n constructor(kwargs?: SalespersonRequestInterface) {\n if (!kwargs) {\n return;\n }\n for (const key in kwargs) {\n if (Object.prototype.hasOwnProperty.call(kwargs, key)) {\n this[key] = kwargs[key];\n }\n }\n }\n\n toApiJson(): object {\n if (\n typeof this.partnerId === 'undefined' &&\n typeof this.marketIds === 'undefined' &&\n typeof this.includeNullMarket === 'undefined'\n ) {\n return null;\n }\n\n return {\n pid: typeof this.partnerId !== 'undefined' ? this.partnerId : null,\n marketId: typeof this.marketIds !== 'undefined' ? this.marketIds : null,\n includeNullMarketFlag: typeof this.includeNullMarket !== 'undefined' ? this.includeNullMarket : null,\n };\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { Environment, EnvironmentService } from '@galaxy/core';\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\nimport { SalespersonRequest, SalespersonResponse } from './salesperson.objects';\nimport { Salesperson } from './interfaces/salesperson.interface';\nimport { SalespersonRequestInterface } from './interfaces/salesperson.interface';\nimport { map, share } from 'rxjs/operators';\n\n/**\n * @deprecated Use SalespersonService from sales: https://github.com/vendasta/sales/blob/master/sdks/typescript/src/sales_sdk/src/lib/salesperson/salesperson.service.ts\n */\n@Injectable()\nexport class SalespersonApiService {\n private _host: string;\n private lookupUrl = `${this.host}/internalApi/v1/salesperson/lookup/`;\n\n constructor(private http: HttpClient, private environmentService: EnvironmentService) {}\n\n private apiOptions(): { headers: HttpHeaders; withCredentials: boolean } {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/x-www-form-urlencoded',\n }),\n withCredentials: true,\n };\n }\n\n private get host(): string {\n if (this._host) {\n return this._host;\n }\n\n switch (this.environmentService.getEnvironment()) {\n case Environment.LOCAL:\n this._host = 'http://localhost:8086';\n break;\n case Environment.TEST:\n this._host = 'https://salestool-test.appspot.com';\n break;\n case Environment.DEMO:\n this._host = 'https://salestool-demo.appspot.com';\n break;\n case Environment.PROD:\n this._host = 'https://salestool-prod.appspot.com';\n break;\n }\n return this._host;\n }\n\n /**\n * @deprecated Use SalespersonService from sales: https://github.com/vendasta/sales/blob/master/sdks/typescript/src/sales_sdk/src/lib/salesperson/salesperson.service.ts\n */\n lookup(r: SalespersonRequest | SalespersonRequestInterface): Observable {\n const request = (r).toApiJson ? r : new SalespersonRequest(r);\n return this.http\n .post(this.lookupUrl, null, { ...this.apiOptions(), params: request.toApiJson() as HttpParams })\n .pipe(\n map((resp) => resp.data),\n map((resp) => resp.map((salespersonData: Salesperson) => SalespersonResponse.fromProto(salespersonData))),\n share(),\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { Salesperson } from './interfaces/salesperson.interface';\nimport { SalespersonApiService } from './salesperson.api.service';\n\n@Injectable()\n/**\n * @deprecated Use SalespersonService from sales: https://github.com/vendasta/sales/blob/master/sdks/typescript/src/sales_sdk/src/lib/salesperson/salesperson.service.ts\n */\nexport class SalespersonService {\n constructor(private salespersonApiService: SalespersonApiService) {}\n\n /**\n * @deprecated Use SalespersonService from sales: https://github.com/vendasta/sales/blob/master/sdks/typescript/src/sales_sdk/src/lib/salesperson/salesperson.service.ts\n */\n lookup(partnerId: string, marketIds?: string[], includeNullMarket?: boolean): Observable {\n return this.salespersonApiService\n .lookup({ partnerId, marketIds, includeNullMarket })\n .pipe(map((response) => this.handleResponse(response)));\n }\n\n /**\n * @deprecated Use SalespersonService from sales: https://github.com/vendasta/sales/blob/master/sdks/typescript/src/sales_sdk/src/lib/salesperson/salesperson.service.ts\n */\n private handleResponse(data: any): Salesperson[] {\n return data.map((sp: any) => {\n return {\n partnerId: sp.pid,\n marketId: sp.marketId,\n salespersonId: sp.salesPersonId,\n firstName: sp.firstName,\n lastName: sp.lastName,\n fullName: this.getFullName(sp.firstName, sp.lastName),\n email: sp.email,\n };\n });\n }\n\n private getFullName(firstName: string, lastName: string): string {\n return `${firstName || ''} ${lastName || ''}`.trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { SalespersonApiService } from './salesperson.api.service';\nimport { SalespersonService } from './salesperson.service';\n\n@NgModule({\n imports: [],\n providers: [SalespersonService, SalespersonApiService],\n declarations: [],\n exports: [],\n})\nexport class SalespersonServiceModule {}\n","export { Salesperson } from './interfaces/salesperson.interface';\nexport { SalespersonService } from './salesperson.service';\nexport { SalespersonServiceModule } from './salesperson.module';\n","export * from './lib/index';\n","import { Observable } from 'rxjs';\nimport { InjectionToken } from '@angular/core';\n\nexport interface TaxonomyOption {\n name: string; // The name of the taxonomy option\n fullName: string; // The full name of the taxonomy option, including parent taxonomies\n id: string; // The id that represents this taxonomy option\n}\n\nexport const TaxonomyServiceInterfaceToken: InjectionToken =\n new InjectionToken('TaxonomyServiceInterface');\n\nexport interface TaxonomyServiceInterface {\n getTaxonomyIds(): Observable;\n}\n","import { Inject, Injectable } from '@angular/core';\nimport { TaxonomyOption, TaxonomyServiceInterface, TaxonomyServiceInterfaceToken } from './interfaces';\nimport { Observable } from 'rxjs';\n\n@Injectable()\nexport class TaxonomyService implements TaxonomyServiceInterface {\n constructor(@Inject(TaxonomyServiceInterfaceToken) private innerService: TaxonomyServiceInterface) {}\n getTaxonomyIds(): Observable {\n return this.innerService.getTaxonomyIds();\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { TaxonomyService } from './taxonomy.service';\n\n@NgModule({\n imports: [],\n providers: [TaxonomyService],\n declarations: [],\n exports: [],\n})\nexport class TaxonomyServiceModule {}\n","export { TaxonomyServiceInterfaceToken, TaxonomyServiceInterface, TaxonomyOption } from './interfaces';\nexport { TaxonomyService } from './taxonomy.service';\nexport { TaxonomyServiceModule } from './taxonomy.module';\n","export * from './lib/index';\n","import { HttpResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Competitor, CompetitorApiService, CreateCompetitorResponse } from '@vendasta/account-group';\nimport { Observable, of } from 'rxjs';\nimport { catchError, map } from 'rxjs/operators';\n\n@Injectable()\nexport class CompetitorsTabService {\n constructor(private api: CompetitorApiService) {}\n\n public getCompetitors(businessId: string, cursor: string, pageSize: number): Observable {\n const req = { businessId: businessId, pagingOptions: { cursor: cursor, pageSize: pageSize } };\n return this.api.getCompetitors(req).pipe(\n map((res) => res.competitors),\n catchError(() => of([])),\n );\n }\n\n public create(businessId: string, competitor: any): Observable {\n const req = {\n businessId: businessId,\n location: {\n name: competitor.name,\n url: competitor.url,\n },\n };\n return this.api.create(req);\n }\n\n public update(businessId: string, competitor: any): Observable> {\n const req = {\n competitor: {\n businessId: businessId,\n competitorId: competitor.competitorId,\n location: {\n name: competitor.name,\n url: competitor.url,\n },\n },\n fieldMask: {\n paths: ['name', 'url'],\n },\n };\n return this.api.update(req);\n }\n\n public delete(businessId: string, competitorId: string): Observable> {\n const req = {\n businessId: businessId,\n competitorId: competitorId,\n };\n return this.api.delete(req);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\nimport { CompetitorsTabComponent } from './competitors-tab.component';\nimport { CompetitorsTabService } from './competitors-tab.service';\n\n@NgModule({\n declarations: [CompetitorsTabComponent],\n imports: [\n CommonModule,\n MatCardModule,\n MatButtonModule,\n MatIconModule,\n MatDialogModule,\n MatInputModule,\n MatProgressSpinnerModule,\n TranslateModule,\n ReactiveFormsModule,\n GalaxyFormFieldModule,\n ],\n providers: [CompetitorsTabService],\n exports: [CompetitorsTabComponent],\n})\nexport class CompetitorsTabModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatChipsModule } from '@angular/material/chips';\nimport { MatGridListModule } from '@angular/material/grid-list';\nimport { MediaTabGalleryComponent } from './media-tab-gallery.component';\nimport { VaActionMenuModule } from '@vendasta/uikit';\nimport { TranslateModule } from '@ngx-translate/core';\n@NgModule({\n declarations: [MediaTabGalleryComponent],\n imports: [CommonModule, MatGridListModule, MatChipsModule, VaActionMenuModule, TranslateModule],\n exports: [MediaTabGalleryComponent],\n})\nexport class MediaTabGalleryModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { VaFormsModule } from '@vendasta/forms';\nimport { UploadImageDialogComponent } from './upload-image-dialog.component';\n\n@NgModule({\n imports: [\n CommonModule,\n VaFormsModule,\n MatIconModule,\n MatButtonModule,\n MatProgressBarModule,\n ReactiveFormsModule,\n MatDialogModule,\n TranslateModule,\n ],\n declarations: [UploadImageDialogComponent],\n providers: [],\n exports: [UploadImageDialogComponent],\n})\nexport class UploadImageDialogModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { VaFormsModule } from '@vendasta/forms';\nimport { ImageCropperDialogComponent } from './image-cropper-dialog.component';\nimport { GalaxyUploaderModule } from '@vendasta/galaxy/uploader';\nimport { MatCard, MatCardHeader, MatCardTitle } from '@angular/material/card';\n\n@NgModule({\n imports: [\n CommonModule,\n VaFormsModule,\n MatIconModule,\n MatButtonModule,\n MatProgressBarModule,\n ReactiveFormsModule,\n MatDialogModule,\n TranslateModule,\n GalaxyUploaderModule,\n MatCard,\n MatCardHeader,\n MatCardTitle,\n ],\n declarations: [ImageCropperDialogComponent],\n providers: [],\n exports: [ImageCropperDialogComponent],\n})\nexport class ImageCropperDialogModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { SnackbarService } from '@vendasta/galaxy/snackbar-service';\nimport { MediaTabGalleryModule } from './media-tab-gallery/media-tab-gallery.module';\nimport { ConfirmationModalComponent, MediaTabComponent } from './media-tab.component';\nimport { MediaTabService } from './media-tab.service';\nimport { UploadImageDialogModule } from './upload-image-dialog/upload-image-dialog.module';\nimport { MediaImageUploaderComponent } from './media-image-uploader/media-image-uploader.component';\nimport { MatGridTile } from '@angular/material/grid-list';\nimport { GalaxyTooltipModule } from '@vendasta/galaxy/tooltip';\nimport { GalaxyListItemIconDirective } from 'list';\nimport { GalaxyUploaderModule } from '@vendasta/galaxy/uploader';\nimport { MatMenu, MatMenuItem, MatMenuTrigger } from '@angular/material/menu';\nimport { ImageCropperDialogModule } from './image-cropper-dialog/image-cropper-dialog.module';\nimport { GalaxyLoadingSpinnerModule } from '@vendasta/galaxy/loading-spinner';\nimport { ImageUpdateDialogComponent } from './image-update-dialog/image-update-dialog.component';\nimport { GalleryMultiImageUploaderComponent } from './gallery-multi-image-uploader/gallery-multi-image-uploader.component';\n@NgModule({\n declarations: [\n MediaTabComponent,\n ConfirmationModalComponent,\n MediaImageUploaderComponent,\n ImageUpdateDialogComponent,\n GalleryMultiImageUploaderComponent,\n ],\n imports: [\n CommonModule,\n MatCardModule,\n MatButtonModule,\n MediaTabGalleryModule,\n MatProgressBarModule,\n UploadImageDialogModule,\n MediaTabGalleryModule,\n MatIconModule,\n MatDialogModule,\n TranslateModule,\n MatGridTile,\n GalaxyTooltipModule,\n GalaxyListItemIconDirective,\n GalaxyUploaderModule,\n MatMenuTrigger,\n MatMenu,\n MatMenuItem,\n ImageCropperDialogModule,\n GalaxyLoadingSpinnerModule,\n ],\n providers: [MediaTabService, SnackbarService],\n exports: [MediaTabComponent, MediaImageUploaderComponent, GalleryMultiImageUploaderComponent],\n})\nexport class MediaTabModule {}\n","'use strict';\n\n// do not edit .js files directly - edit src/index.jst\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false;\n return true;\n }\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n if (!equal(a[key], b[key])) return false;\n }\n return true;\n }\n\n // true if both NaN, false otherwise\n return a !== a && b !== b;\n};","import { AbstractControl, ValidatorFn } from '@angular/forms';\n\nexport function totalLengthOfRepeatedFieldValidator(maxLength: number, friendlyName: string): ValidatorFn {\n return (control: AbstractControl): { [key: string]: any } => {\n if (!control.value) {\n return null;\n }\n if (control.value.length === 0) {\n return null;\n }\n\n const value = control.value.filter((val: string) => !!val).join(',');\n return value.length > maxLength\n ? {\n lengthOfRepeatedField: {\n maxLength: maxLength,\n friendlyName: friendlyName,\n },\n }\n : null;\n };\n}\n\n// Validation to ensure that all items in an array control have truthy values\nexport function arrayAllTruthyItemsRequired(): ValidatorFn {\n return (control: AbstractControl): { [key: string]: any } => {\n const values = (control.value || []).filter((v: any) => !!v);\n return values.length !== control.value.length ? { required: '' } : null;\n };\n}\n","import { HttpResponse } from '@angular/common/http';\nimport { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport {\n UntypedFormArray,\n UntypedFormBuilder,\n UntypedFormControl,\n UntypedFormGroup,\n ValidatorFn,\n Validators,\n} from '@angular/forms';\nimport {\n AccountGroup,\n AccountGroupService,\n ProjectionFilter,\n RichDataUpdateOperation,\n UpdateOperations,\n} from '@galaxy/account-group';\nimport {\n BusinessHoursUpdateOperation,\n UpdateOperations as LPUpdateOperations,\n ListingProfileService,\n MergeHours,\n SplitHours,\n} from '@galaxy/listing-profile-common';\nimport { PartnerApiService } from '@galaxy/marketplace-apps';\nimport { TranslateService } from '@ngx-translate/core';\nimport { SnackbarService } from '@vendasta/galaxy/snackbar-service';\nimport {\n BusinessHours,\n ListingProfile,\n RegularHoursPeriod,\n ProjectionFilter as LPProjectionFilter,\n} from '@vendasta/listing-products';\nimport { OrderFormOptionsInterface } from '@vendasta/store';\nimport equal from 'fast-deep-equal';\nimport { BehaviorSubject, EMPTY, Observable, Subscription, combineLatest, of } from 'rxjs';\nimport { catchError, debounceTime, distinctUntilChanged, filter, map, startWith, switchMap, tap } from 'rxjs/operators';\nimport { arrayAllTruthyItemsRequired, totalLengthOfRepeatedFieldValidator } from './validators';\n\ninterface BusinessSectionConfig {\n showHoO: boolean;\n showServices: boolean;\n showBrands: boolean;\n showDescription: boolean;\n showLongDescription: boolean;\n}\n\n@Component({\n selector: 'business-product-activation-prereq-form',\n templateUrl: './product-activation-prereq-form.component.html',\n styleUrls: ['./product-activation-prereq-form.component.scss'],\n standalone: false,\n})\nexport class ProductActivationPrereqFormComponent implements OnInit, OnDestroy {\n @Input() businessId: string;\n @Input() expanded = false;\n\n protected isReadOnly = false;\n private _orderFormOptions: OrderFormOptionsInterface = {};\n @Input()\n set orderFormOptions(value: OrderFormOptionsInterface) {\n this._orderFormOptions = value;\n this.isReadOnly = value?.readOnly || false;\n }\n get orderFormOptions(): OrderFormOptionsInterface {\n return this._orderFormOptions;\n }\n\n @Input()\n set productIds(productIds: string[]) {\n this.productIds$$.next(productIds);\n }\n\n @Output() hasBusinessProductActivationPrereqFormEvent: EventEmitter = new EventEmitter();\n\n private productIds$$: BehaviorSubject = new BehaviorSubject([]);\n private sectionConfig$$: BehaviorSubject = new BehaviorSubject(null);\n private submitting$$: BehaviorSubject = new BehaviorSubject(false);\n private loading$$: BehaviorSubject = new BehaviorSubject(true);\n private business$: Observable;\n private listingProfile$: Observable;\n readonly productIds$: Observable = this.productIds$$.asObservable();\n readonly sectionConfig$: Observable = this.sectionConfig$$.asObservable();\n readonly submitting$: Observable = this.submitting$$.asObservable();\n readonly loading$: Observable = this.loading$$.asObservable();\n hasRestrictions$: Observable;\n\n private subscriptions: Subscription[] = [];\n\n private businessActivationForm$$ = new BehaviorSubject(null);\n private set businessActivationForm(form: UntypedFormGroup) {\n this.businessActivationForm$$.next(form);\n }\n public get businessActivationForm(): UntypedFormGroup | null {\n return this.businessActivationForm$$.getValue();\n }\n\n servicesPlaceholder: string;\n brandsPlaceholder: string;\n\n currentSubmittedFormValues: any;\n public hasUnsavedChanges$$: BehaviorSubject = new BehaviorSubject(false);\n public hasUnsavedChanges$ = this.hasUnsavedChanges$$.asObservable();\n public isValid$: Observable;\n\n public static checkChipFieldValidity(chipField: any): boolean {\n if (!chipField) {\n return false;\n }\n\n // the chips component's empty state is a list with one empty string\n if (chipField instanceof Array) {\n if (chipField.length === 1 && chipField[0] === '') {\n return false;\n }\n }\n return true;\n }\n\n constructor(\n private fb: UntypedFormBuilder,\n private accountGroupService: AccountGroupService,\n private listingProfileService: ListingProfileService,\n private partnerApiService: PartnerApiService,\n private translateService: TranslateService,\n private alertService: SnackbarService,\n ) {}\n\n ngOnInit(): void {\n this.servicesPlaceholder = this.orderFormOptions?.bypassRequiredQuestions\n ? this.translateService.instant('FRONTEND.BUSINESSES.SERVICES_OFFERED')\n : this.translateService.instant('FRONTEND.BUSINESSES.SERVICES_OFFERED') + ' *';\n this.brandsPlaceholder = this.orderFormOptions?.bypassRequiredQuestions\n ? this.translateService.instant('FRONTEND.BUSINESSES.BRANDS_CARRIED')\n : this.translateService.instant('FRONTEND.BUSINESSES.BRANDS_CARRIED') + ' *';\n\n this.business$ = this.accountGroupService\n .get(\n this.businessId,\n new ProjectionFilter({\n richData: true,\n accountGroupExternalIdentifiers: true,\n }),\n )\n .pipe(catchError(() => of(new AccountGroup())));\n\n this.listingProfile$ = this.listingProfileService\n .get(\n this.businessId,\n new LPProjectionFilter({\n businessHours: true,\n }),\n )\n .pipe(catchError(() => of(new ListingProfile())));\n\n this.getSectionConfig$();\n\n this.hasRestrictions$ = this.sectionConfig$.pipe(\n map((resp) => {\n if (\n resp &&\n (resp.showDescription || resp.showLongDescription || resp.showHoO || resp.showServices || resp.showBrands)\n ) {\n return true;\n } else {\n this.hasBusinessProductActivationPrereqFormEvent.emit(false);\n return false;\n }\n }),\n );\n\n this.isValid$ = this.businessActivationForm$$.asObservable().pipe(\n filter((form) => form !== null),\n switchMap((form) => {\n return form.statusChanges.pipe(\n startWith(form.status),\n debounceTime(250), // wait for form to stabilize before emitting\n map((status) => status !== 'INVALID'),\n );\n }),\n map((formValid) => {\n let hasSubmittedRequiredValues = true;\n for (const key of Object.keys(this.currentSubmittedFormValues)) {\n const formValue = this.currentSubmittedFormValues[key];\n if (!ProductActivationPrereqFormComponent.checkChipFieldValidity(formValue)) {\n hasSubmittedRequiredValues = false;\n break;\n }\n }\n return formValid && hasSubmittedRequiredValues;\n }),\n distinctUntilChanged(),\n );\n\n this.subscriptions.push(\n combineLatest([this.business$, this.listingProfile$, this.sectionConfig$])\n .pipe(\n map(([business, listingProfile, sectionConfig]) => {\n const shortDescription = sectionConfig?.showDescription\n ? (business && business.richData && business.richData.shortDescription) || ''\n : null;\n const longDescription = sectionConfig?.showLongDescription\n ? (business && business.richData && business.richData.description) || ''\n : null;\n\n let businessHours: RegularHoursPeriod[] = null;\n if (sectionConfig?.showHoO) {\n const generalHours = listingProfile.businessHours?.find((hours) => hours.hoursTypeId === 'GENERAL');\n businessHours = MergeHours(generalHours?.regularHours || []);\n }\n\n let servicesOffered = null;\n if (sectionConfig?.showServices) {\n servicesOffered = [''];\n if (business?.richData?.servicesOffered && business.richData.servicesOffered.length) {\n servicesOffered = business.richData.servicesOffered;\n }\n }\n\n let brandsCarried = null;\n if (sectionConfig?.showBrands) {\n brandsCarried = [''];\n if (business?.richData?.brandsCarried && business.richData.brandsCarried.length) {\n brandsCarried = business.richData.brandsCarried;\n }\n }\n\n const validators: ValidatorFn[] = [];\n const arrayValidators: ValidatorFn[] = [];\n if (!this.orderFormOptions?.bypassRequiredQuestions) {\n validators.push(Validators.required);\n arrayValidators.push(arrayAllTruthyItemsRequired());\n }\n\n const businessProfileForm = new UntypedFormGroup({});\n if (shortDescription !== null) {\n businessProfileForm.addControl('shortDescription', this.fb.control(shortDescription, validators));\n }\n if (longDescription !== null) {\n businessProfileForm.addControl('description', this.fb.control(longDescription, validators));\n }\n if (businessHours !== null) {\n businessProfileForm.addControl('businessHours', this.fb.control(businessHours, []));\n }\n if (servicesOffered !== null) {\n businessProfileForm.addControl(\n 'servicesOffered',\n this.fb.array(servicesOffered, [\n Validators.compose([\n Validators.minLength(1),\n Validators.maxLength(15),\n ...arrayValidators,\n totalLengthOfRepeatedFieldValidator(\n 256,\n this.translateService.instant('FRONTEND.BUSINESSES.SERVICES_OFFERED'),\n ),\n ]),\n ]),\n );\n }\n if (brandsCarried !== null) {\n businessProfileForm.addControl(\n 'brandsCarried',\n this.fb.array(\n brandsCarried,\n Validators.compose([\n Validators.minLength(1),\n Validators.maxLength(15),\n ...arrayValidators,\n totalLengthOfRepeatedFieldValidator(\n 256,\n this.translateService.instant('FRONTEND.BUSINESSES.BRANDS_CARRIED'),\n ),\n ]),\n ),\n );\n }\n this.currentSubmittedFormValues = JSON.parse(JSON.stringify(businessProfileForm.value));\n if (this.isReadOnly) {\n businessProfileForm.disable();\n }\n return businessProfileForm;\n }),\n )\n .subscribe((form) => {\n this.businessActivationForm = form;\n if (this.orderFormOptions?.readOnly && this.businessActivationForm.controls.businessHours) {\n this.businessActivationForm.controls.businessHours.disable();\n }\n\n // Track changes\n Object.keys(this.businessActivationForm.controls).map((controlName) => {\n return this.subscriptions.push(\n this.businessActivationForm.controls[controlName].valueChanges\n .pipe(\n debounceTime(500),\n tap((changes) =>\n this.hasUnsavedChanges$$.next(!equal(this.currentSubmittedFormValues[controlName], changes)),\n ),\n )\n .subscribe(),\n );\n });\n }),\n );\n }\n\n getSectionConfig$(): void {\n this.loading$$.next(true);\n combineLatest([this.productIds$, this.business$])\n .pipe(\n switchMap(([productIds, business]) => {\n if (!productIds || productIds.length === 0 || business?.deleted || !business.externalIdentifiers) {\n this.loading$$.next(false);\n return of(EMPTY);\n }\n return this.partnerApiService.getMultiApp({\n partnerId: business.externalIdentifiers.partnerId,\n marketId: business.externalIdentifiers.marketId,\n appKeys: productIds.map((appId) => {\n return { appId: appId };\n }),\n includeNotEnabled: true,\n });\n }),\n filter((resp: any) => Boolean(resp?.apps)),\n map((resp) => resp.apps.map((app) => app?.activationInformation?.requiredBusinessData)),\n map((configs) => configs.filter((config) => config)),\n map((configs) =>\n configs.reduce(\n (acc, appConfig) => {\n acc.showHoO = acc.showHoO || appConfig.hours;\n acc.showDescription = acc.showDescription || appConfig.descriptionShort;\n acc.showLongDescription = acc.showLongDescription || appConfig.descriptionLong;\n acc.showBrands = acc.showBrands || appConfig.brands;\n acc.showServices = acc.showServices || appConfig.services;\n return acc;\n },\n {\n showHoO: false,\n showServices: false,\n showBrands: false,\n showDescription: false,\n showLongDescription: false,\n } as BusinessSectionConfig,\n ),\n ),\n catchError((err) => {\n console.error('Error caught: ', err);\n this.loading$$.next(false);\n return EMPTY;\n }),\n )\n .subscribe((config) => {\n this.sectionConfig$$.next(config);\n this.loading$$.next(false);\n });\n }\n\n private setAsTouched(form: UntypedFormGroup): void {\n form.markAsTouched();\n const controls = form.controls;\n for (const i of Object.keys(controls)) {\n if (controls[i] instanceof UntypedFormControl) {\n controls[i].markAsTouched();\n } else if (controls[i] instanceof UntypedFormGroup) {\n this.setAsTouched(controls[i] as UntypedFormGroup);\n } else if (controls[i] instanceof UntypedFormArray) {\n (controls[i] as UntypedFormArray).controls.forEach((c) => c.markAsTouched());\n }\n controls[i].updateValueAndValidity({ emitEvent: false });\n }\n form.updateValueAndValidity({ emitEvent: false });\n }\n\n onSubmit(): void {\n if (this.businessActivationForm.pristine) {\n this.alertService.openErrorSnack('FRONTEND.BUSINESSES.NO_CHANGES_TO_SAVE');\n return;\n }\n\n if (!this.businessActivationForm.valid) {\n let errorMsg = this.translateService.instant('FRONTEND.BUSINESSES.INVALID_SUBMISSION') + ': ';\n if (this.businessActivationForm.get('servicesOffered')?.invalid) {\n errorMsg +=\n this.translateService.instant('FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.INVALID_SERVICES_OFFERED_FIELD') +\n ' ';\n }\n if (this.businessActivationForm.get('brandsCarried')?.invalid) {\n if (this.businessActivationForm.get('servicesOffered')?.invalid) {\n errorMsg += '| ';\n }\n errorMsg += this.translateService.instant(\n 'FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.INVALID_BRANDS_CARRIED_FIELD',\n );\n }\n this.alertService.openErrorSnack(errorMsg);\n return;\n }\n\n const data = this.businessActivationForm.value;\n const updateOperations = new UpdateOperations();\n let listingProfileUpdate$: Observable> = of(null);\n\n if (this.businessActivationForm.controls.businessHours?.dirty) {\n const lpUpdateOperations = new LPUpdateOperations();\n lpUpdateOperations.addUpdateOperation(\n new BusinessHoursUpdateOperation(\n new BusinessHours({\n regularHours: SplitHours(data.businessHours),\n hoursTypeId: 'GENERAL',\n }),\n ),\n );\n listingProfileUpdate$ = this.listingProfileService.bulkUpdate(this.businessId, lpUpdateOperations);\n }\n\n const richDataUpdateOperation: RichDataUpdateOperation = new RichDataUpdateOperation();\n if (this.businessActivationForm.controls.brandsCarried?.dirty) {\n richDataUpdateOperation.brandsCarried = data.brandsCarried;\n }\n if (this.businessActivationForm.controls.servicesOffered?.dirty) {\n richDataUpdateOperation.servicesOffered = data.servicesOffered;\n }\n if (this.businessActivationForm.controls.shortDescription?.dirty) {\n richDataUpdateOperation.shortDescription = data.shortDescription;\n }\n if (this.businessActivationForm.controls.description?.dirty) {\n richDataUpdateOperation.description = data.description;\n }\n\n updateOperations.addUpdateOperation(richDataUpdateOperation);\n\n this.submitting$$.next(true);\n const agUpdate$ = this.accountGroupService.bulkUpdate(this.businessId, updateOperations);\n this.subscriptions.push(\n combineLatest([agUpdate$, listingProfileUpdate$]).subscribe({\n next: () => {\n this.alertService.openSuccessSnack('FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.SUCCESS_MESSAGE');\n this.currentSubmittedFormValues = JSON.parse(JSON.stringify(data));\n this.businessActivationForm.updateValueAndValidity();\n this.hasUnsavedChanges$$.next(false);\n },\n error: (err) => {\n console.error('Error saving to account group %s; error %s', this.businessId, err);\n this.alertService.openErrorSnack('FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.ERROR_MESSAGE');\n this.submitting$$.next(false);\n },\n complete: () => {\n this.submitting$$.next(false);\n },\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((subscription) => subscription.unsubscribe());\n }\n}\n","\n
\n
\n
\n\n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.ACCOUNT_INFORMATION' | translate }}\n \n \n {{ 'FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.ACCOUNT_INFORMATION_SUBTITLE' | translate }}\n \n \n \n \n \n \n\n\n\n
\n \n \n \n \n \n warning\n \n \n info_outline\n \n \n {{ 'FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.FULL_BUSINESS_PROFILE' | translate }}\n \n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.FULL_BUSINESS_PROFILE_DESCRIPTION' | translate }}\n \n \n \n \n {{\n 'FRONTEND.BUSINESSES.PRODUCT_ACTIVATION_FORM.FULL_BUSINESS_PROFILE_READ_ONLY_DESCRIPTION' | translate\n }}\n \n \n \n \n \n \n \n {{ 'FRONTEND.BUSINESSES.LONG_DESCRIPTION' | translate }}\n *\n \n \n {{ longDescription.value.length }} / 750\n \n
\n
\n {{ 'FRONTEND.BUSINESSES.LONG_DESCRIPTION' | translate }}\n
\n
\n {{ businessActivationForm.controls.description?.value }}\n
\n
\n \n \n {{ 'FRONTEND.BUSINESSES.SHORT_DESCRIPTION' | translate }}\n *\n \n \n {{ shortDescription.value.length }} / 200\n \n
\n
\n {{ 'FRONTEND.BUSINESSES.SHORT_DESCRIPTION' | translate }}\n
\n
\n {{ businessActivationForm.controls.shortDescription?.value }}\n
\n
\n \n \n
\n \n \n {{ 'FRONTEND.BUSINESSES.UNSAVED_CHANGES' | translate }}\n \n
\n
\n
\n
\n","import { MatExpansionModule } from '@angular/material/expansion';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatIconModule } from '@angular/material/icon';\nimport { VaFormsModule } from '@vendasta/forms';\nimport { ProductActivationPrereqFormComponent } from './product-activation-prereq-form.component';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatButtonModule } from '@angular/material/button';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport baseTranslation from '../assets/i18n/en_devel.json';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\n\n@NgModule({\n declarations: [ProductActivationPrereqFormComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n TranslateModule,\n LexiconModule.forChild({\n componentName: 'common/businesses',\n baseTranslation: baseTranslation,\n }),\n MatExpansionModule,\n MatFormFieldModule,\n MatIconModule,\n VaFormsModule,\n MatInputModule,\n MatButtonModule,\n MatCardModule,\n GalaxyFormFieldModule,\n ],\n exports: [ProductActivationPrereqFormComponent],\n providers: [],\n})\nexport class ProductActivationPrereqFormModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { GoogleMapsModule } from '@angular/google-maps';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatChipsModule } from '@angular/material/chips';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatRadioModule } from '@angular/material/radio';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BusinessCategoryModule } from '@galaxy/business-category';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { AuxiliaryDataModule } from '@vendasta/auxiliary-data-components';\nimport { VaFormsModule } from '@vendasta/forms';\nimport { GalaxyAlertModule } from '@vendasta/galaxy/alert';\nimport { GalaxyCheckboxModule } from '@vendasta/galaxy/checkbox';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\nimport { GalaxyTimezoneSelectorModule } from '@vendasta/galaxy/timezone-selector';\nimport { ImageTransformationModule } from '@vendasta/image-transformation';\nimport { SalespersonServiceModule } from '@vendasta/salesperson';\nimport { TaxonomyServiceModule } from '@vendasta/taxonomy';\nimport { TaxonomyI18nModule } from '@vendasta/taxonomy-i18n';\nimport { VaFullscreenLightboxService } from '@vendasta/uikit';\nimport { AddressFormV2Module } from './address/v2/address-form-v2.module';\nimport baseTranslation from './assets/i18n/en_devel.json';\nimport { BusinessProfileComponent } from './business-profile.component';\nimport { CompetitorsTabModule } from './competitors-tab/competitors-tab.module';\nimport { FormatPhoneNumberPipe } from './format-phone-number.pipe';\nimport { MediaTabModule } from './media-tab/media-tab.module';\nimport { PlaceAutocompleteComponent } from './place-autocomplete/place-autocomplete.component';\nimport { ProductActivationPrereqFormModule } from './product-activation-prereq-form/product-activation-prereq-form.module';\nimport { GalaxyLoadingSpinnerModule } from '@vendasta/galaxy/loading-spinner';\nimport { MoreHoursComponent } from './more-hours/more-hours.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n ImageTransformationModule,\n VaFormsModule,\n TaxonomyServiceModule,\n MatInputModule,\n MatCardModule,\n MatTabsModule,\n MatTooltipModule,\n MatSelectModule,\n MatButtonModule,\n MatIconModule,\n MatDialogModule,\n MatSnackBarModule,\n SalespersonServiceModule,\n MediaTabModule,\n MatCheckboxModule,\n MatDatepickerModule,\n AddressFormV2Module,\n TaxonomyI18nModule,\n GoogleMapsModule,\n TranslateModule,\n LexiconModule.forChild({\n componentName: 'common/businesses',\n baseTranslation: baseTranslation,\n }),\n ProductActivationPrereqFormModule,\n CompetitorsTabModule,\n GalaxyCheckboxModule,\n MatAutocompleteModule,\n GalaxyTimezoneSelectorModule,\n AuxiliaryDataModule,\n BusinessCategoryModule,\n GalaxyFormFieldModule,\n FormsModule,\n MatRadioModule,\n MatChipsModule,\n MatExpansionModule,\n MatFormFieldModule,\n GalaxyAlertModule,\n GalaxyLoadingSpinnerModule,\n ],\n declarations: [BusinessProfileComponent, FormatPhoneNumberPipe, PlaceAutocompleteComponent, MoreHoursComponent],\n exports: [BusinessProfileComponent, PlaceAutocompleteComponent],\n providers: [VaFullscreenLightboxService],\n})\nexport class BusinessProfileModule {}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { FeatureFlagService as PartnerSDKFeatureFlagService } from '@galaxy/partner';\n\nexport class FeatureFlagMultiResponse {\n [key: string]: boolean;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class FeatureFlagService {\n constructor(private featureFlagService: PartnerSDKFeatureFlagService) {}\n\n checkFeatureFlagsMulti(partnerId: string, marketId = '', featureIds: string[]): Observable {\n return this.featureFlagService.batchGetStatus(partnerId, marketId, featureIds);\n }\n\n checkFeatureFlag(partnerId: string, marketId = '', featureId: string): Observable {\n return this.checkFeatureFlagsMulti(partnerId, marketId, [featureId]).pipe(\n map((val: FeatureFlagMultiResponse): boolean => {\n return featureId in val && val[featureId];\n }),\n );\n }\n}\n","import { Injectable, Signal, signal } from '@angular/core';\nimport {\n AccountGroup,\n AccountGroupApiService,\n LookupRequestInterface,\n ProjectionFilter,\n} from '@vendasta/account-group';\nimport { BehaviorSubject, combineLatest, debounceTime, distinctUntilChanged, map, shareReplay, switchMap } from 'rxjs';\nimport { DialogData } from './business-selector-dialog.component';\n\nconst PAGE_SIZE = 20;\n\n@Injectable({\n providedIn: 'root',\n})\nexport class BusinessSelectorDialogService {\n private readonly nextCursor$$ = new BehaviorSubject('');\n private readonly searchFormFieldValue$$ = new BehaviorSubject('');\n private readonly loadMore$$ = new BehaviorSubject(false);\n private readonly loadMoreTrigger$ = this.loadMore$$.asObservable().pipe(map(() => null));\n private readonly loading$$ = new BehaviorSubject(true);\n public readonly loading$ = this.loading$$.asObservable();\n private readonly business$$ = new BehaviorSubject([]);\n public readonly business$ = this.business$$.asObservable();\n private readonly hasMore$$ = new BehaviorSubject(false);\n public readonly hasMore$ = this.hasMore$$.asObservable();\n private _loadingFirstPage = signal(true);\n public loadingFirstPage: Signal = this._loadingFirstPage.asReadonly();\n\n private previousSearchTerm = '';\n public data: DialogData;\n\n constructor(private readonly accountGroupService: AccountGroupApiService) {}\n\n // initBusinesses sets up the subscription to load in account groups, responding to changes in search, scroll, and partner ID\n public initBusinesses(): void {\n combineLatest([this.searchFormFieldValue$$, this.loadMoreTrigger$])\n .pipe(\n debounceTime(500),\n distinctUntilChanged(),\n shareReplay(1),\n switchMap(([searchTerm]) => {\n this.loading$$.next(true);\n let cursor = this.nextCursor$$.value;\n if (this.previousSearchTerm !== searchTerm) {\n // reset cursor and current results when new search terms entered\n cursor = '';\n this._loadingFirstPage.set(true);\n this.business$$.next([]);\n }\n this.previousSearchTerm = searchTerm;\n const projectionFilter =\n this.data.projectionFilterOverride ||\n new ProjectionFilter({\n napData: true,\n accountGroupExternalIdentifiers: true,\n constraints: this.data.partnerId === 'VMF',\n });\n const lookupRequest: LookupRequestInterface = {\n projectionFilter: projectionFilter,\n filters: {\n partnerId: this.data.partnerId,\n includeDeleted: false,\n },\n pageSize: PAGE_SIZE,\n searchTerm: searchTerm,\n cursor: cursor,\n sortOptions: {\n direction: 1,\n field: 1,\n },\n };\n if (this.data.marketId) {\n if (Array.isArray(this.data.marketId)) {\n lookupRequest.filters.marketIds = this.data.marketId;\n } else {\n lookupRequest.filters.marketIds = [this.data.marketId];\n }\n }\n return this.accountGroupService.lookup(lookupRequest);\n }),\n )\n .subscribe({\n next: (pagedAccountGroupResponse) => {\n // append the results to the current list\n const businesses = pagedAccountGroupResponse.accountGroups ?? [];\n this.business$$.next(this.business$$.value.concat(businesses));\n this.hasMore$$.next(pagedAccountGroupResponse.hasMore);\n this.nextCursor$$.next(pagedAccountGroupResponse.nextCursor);\n this.loading$$.next(false);\n this._loadingFirstPage.set(false);\n },\n error: () => {\n this.loading$$.next(false);\n this._loadingFirstPage.set(false);\n },\n });\n }\n\n set searchFormFieldValue(value: string) {\n this.searchFormFieldValue$$.next(value);\n }\n\n set loadMore(value: boolean) {\n this.loadMore$$.next(value);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\ninterface Address {\n address: string;\n city: string;\n state: string;\n}\n// formatNAPDataToString formats address, city, and state into a comma separate string\n@Pipe({ name: 'formatAddressToString', standalone: true })\nexport class FormatAddressToStringPipe implements PipeTransform {\n transform(address: Address): string {\n return [address.address?.trim(), address.city?.trim(), address.state?.trim()].filter((v) => !!v).join(', ');\n }\n}\n","import { Component, Inject, OnDestroy, OnInit, Signal } from '@angular/core';\nimport { UntypedFormControl } from '@angular/forms';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { Router } from '@angular/router';\nimport { AccountGroup, Constraint, ProjectionFilter } from '@vendasta/account-group';\nimport { Observable, Subscription, startWith, tap } from 'rxjs';\nimport { BusinessSelectorDialogService } from './business-selector-dialog.service';\n\nexport interface DialogData {\n partnerId: string;\n marketId: string | string[];\n projectionFilterOverride?: ProjectionFilter;\n hideCreateBusiness?: boolean;\n}\n@Component({\n templateUrl: './business-selector-dialog.component.html',\n styleUrls: ['./business-selector-dialog.component.scss'],\n standalone: false,\n})\nexport class BusinessSelectorDialogComponent implements OnInit, OnDestroy {\n private readonly subscriptions: Subscription[] = [];\n protected readonly searchFormField = new UntypedFormControl('');\n protected loading$: Observable;\n protected business$: Observable;\n protected hasMore$: Observable;\n protected loadingFirstPage: Signal;\n\n constructor(\n private readonly dialogRef: MatDialogRef,\n private readonly router: Router,\n private readonly businessSelectorDialogService: BusinessSelectorDialogService,\n @Inject(MAT_DIALOG_DATA) protected readonly data: DialogData,\n ) {}\n\n ngOnInit(): void {\n this.loading$ = this.businessSelectorDialogService.loading$;\n this.business$ = this.businessSelectorDialogService.business$;\n this.hasMore$ = this.businessSelectorDialogService.hasMore$;\n this.businessSelectorDialogService.data = this.data;\n this.loadingFirstPage = this.businessSelectorDialogService.loadingFirstPage;\n\n this.businessSelectorDialogService.initBusinesses();\n\n this.subscriptions.push(\n this.searchFormField.valueChanges\n .pipe(\n startWith(''),\n tap(() => {\n this.businessSelectorDialogService.searchFormFieldValue = this.searchFormField.value;\n }),\n )\n .subscribe(),\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((s) => s.unsubscribe());\n }\n\n loadMoreAccounts(inViewportEvent: any): void {\n if (inViewportEvent.visible) {\n this.businessSelectorDialogService.loadMore = true;\n }\n }\n\n selectBusiness(accountGroup: AccountGroup): void {\n this.dialogRef.close(accountGroup);\n }\n\n createBusiness(): void {\n this.dialogRef.close();\n this.router.navigateByUrl(`/business/search`);\n }\n\n getPartnerIdfromConstraints(constraints: Constraint[]): string {\n return constraints.find((element) => element?.foreignKey?.kind === 'PartnerAccountGroup')?.foreignKey?.key;\n }\n\n close(): void {\n this.dialogRef.close();\n }\n}\n","

{{ 'FRONTEND.BUSINESSES.SELECTOR_DIALOG.CHOOSE_ACCOUNT' | translate }}

\n
\n \n \n \n
\n\n\n\n \n
0; else emptyState\" class=\"options-list\">\n
\n
\n \n {{ ag?.napData?.companyName }}\n \n \n {{ ag.napData | formatAddressToString }}\n \n

0\">\n PID: {{ getPartnerIdfromConstraints(ag.constraints) }}\n

\n
\n \n
\n
\n \n
\n
\n \n \n
\n \n
\n\n\n \n\n\n\n
\n {{ 'FRONTEND.BUSINESSES.SELECTOR_DIALOG.ACCOUNTS_NOT_FOUND' | translate }}\n @if (!data.hideCreateBusiness) {\n
\n \n
\n }\n
\n
\n\n\n
\n
\n
\n
\n","import { NgModule } from '@angular/core';\nimport { BusinessSelectorDialogComponent } from './business-selector-dialog.component';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule as MatListModule } from '@angular/material/list';\nimport { MatButtonModule as MatButtonModule } from '@angular/material/button';\nimport { MatFormFieldModule as MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule as MatInputModule } from '@angular/material/input';\nimport { MatProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatDialogModule as MatDialogModule } from '@angular/material/dialog';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { InViewportModule } from 'ng-in-viewport';\nimport { FormatAddressToStringPipe } from './format-address.pipe';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport baseTranslation from '../assets/i18n/en_devel.json';\nimport { MatLineModule } from '@angular/material/core';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\nimport { MatChipsModule } from '@angular/material/chips';\n\n@NgModule({\n declarations: [BusinessSelectorDialogComponent],\n imports: [\n CommonModule,\n MatListModule,\n MatChipsModule,\n MatButtonModule,\n MatFormFieldModule,\n FormatAddressToStringPipe,\n MatInputModule,\n MatProgressSpinnerModule,\n MatDialogModule,\n ReactiveFormsModule,\n InViewportModule,\n LexiconModule.forChild({\n componentName: 'common/businesses',\n baseTranslation: baseTranslation,\n }),\n MatLineModule,\n GalaxyFormFieldModule,\n ],\n exports: [BusinessSelectorDialogComponent],\n providers: [],\n})\nexport class BusinessSelectorDialogModule {}\n","export { MediaTabGalleryComponent } from './media-tab/media-tab-gallery/media-tab-gallery.component';\nexport { BusinessProfileComponent } from './business-profile.component';\nexport { Market, BusinessProfileTab, HiddenField, LightboxData } from './business-profile.interface';\nexport { BusinessProfileModule } from './business-profile.module';\nexport { MediaTabModule } from './media-tab/media-tab.module';\nexport { MediaTabGalleryModule } from './media-tab/media-tab-gallery/media-tab-gallery.module';\nexport { UploadImageDialogModule } from './media-tab/upload-image-dialog/upload-image-dialog.module';\nexport { UploadImageDialogComponent } from './media-tab/upload-image-dialog/upload-image-dialog.component';\nexport { MenuOption, ClientImage } from './media-tab/media-tab.interface';\nexport { FeatureFlagService, FeatureFlagMultiResponse } from './feature-flag.service';\nexport { ProductActivationPrereqFormComponent } from './product-activation-prereq-form/product-activation-prereq-form.component';\nexport { ProductActivationPrereqFormModule } from './product-activation-prereq-form/product-activation-prereq-form.module';\nexport {\n BusinessSelectorDialogComponent,\n DialogData,\n} from './business-selector-dialog/business-selector-dialog.component';\nexport { BusinessSelectorDialogModule } from './business-selector-dialog/business-selector-dialog.module';\nexport {\n AccountListsDialogData,\n AccountListsModalComponent,\n AccountListsModalModule,\n} from './account-lists-modal/account-lists-modal.component';\nexport { ActionListsServiceModule } from './account-lists-modal/account-lists-service.module';\nexport { ActionListsDependencies, ActionLists } from './account-lists-modal/interface';\nexport { PlaceAutocompleteComponent } from './place-autocomplete/place-autocomplete.component';\nexport { CompetitorsTabModule } from './competitors-tab/competitors-tab.module';\nexport { BusinessSelectorDialogService } from './business-selector-dialog/business-selector-dialog.service';\nexport { FormatAddressToStringPipe } from './business-selector-dialog/format-address.pipe';\n\nexport * from './address/index';\nexport * from './';\nexport { NotOnlyWhitespaceValidator } from './custom-validators';\n","/*\n * Public API Surface of businesses\n */\n\nexport * from './lib/index';\n"],"mappings":"o3JAkMA,SAASA,EAAkBC,EAASC,EAAO,CACzC,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAvMA,IAWIC,GAKAC,EAiBAC,GAgBAC,GAMAC,GAUAC,GAmBEC,GAuDAC,GA0BAC,GAmCAC,GAuBAC,GAuBAC,GAuBAC,GAuEAC,GAuBAC,GA0BAC,GAoDAC,GA4CAC,GA0BAC,GAkDAC,GA6BAC,GA6BAC,GA4CAC,GAoBAC,GA0BAC,GA0BAC,GA6BAC,GAuDAC,GAoBAC,GA0BAC,GAmCAC,GAgCAC,GAuBAC,GA6BAC,GAuBAC,GAgCAC,GA6BAC,GAmCAC,GAuBAC,GAuBAC,GAuBAC,GA4CAC,GA6BAC,GAmCAC,GAuBAC,GAgCAC,GAuBAC,GA0BAC,GA6BAC,GAuBAC,GAsCAC,GA+CAC,GA6BAC,GA6BAC,GA0BAC,GA6BAC,GA0BAC,GAsCAC,GAmCAC,GAuBAC,GAgCAC,GAsCAC,GAuBAC,GA0EAC,GACAC,GAOFC,GA6BAC,GAmREC,GAGAC,GA9rENC,GAAAC,EAAA,KAAAC,IACAA,IACAC,KACAC,KAQIzE,GAA6B,SAAUA,EAAe,CACxD,OAAAA,EAAcA,EAAc,wBAA6B,CAAC,EAAI,0BAC9DA,EAAcA,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WW,OAAQX,GAAWY,KAAMZ,GAAWa,KAAK,EAEjGX,GAAwB,CACnCY,QAAS,CACPC,EAAuBC,iBACvBD,EAAuBE,YACvBF,EAAuBG,UACvBH,EAAuBI,KACvBJ,EAAuBK,MACvBL,EAAuBM,MACvBN,EAAuBO,YACvBP,EAAuBQ,SACvBR,EAAuBS,WACvBT,EAAuBU,OACvBV,EAAuBW,YACvBX,EAAuBY,WACvBZ,EAAuBa,gBACvBb,EAAuBc,IAAI,EAE7BC,GAAI,CACFf,EAAuBC,iBACvBD,EAAuBE,YACvBF,EAAuBI,KACvBJ,EAAuBK,MACvBL,EAAuBO,YACvBP,EAAuBQ,SACvBR,EAAuBS,WACvBT,EAAuBU,OACvBV,EAAuBa,gBACvBb,EAAuBc,KACvBd,EAAuBgB,IACvBhB,EAAuBiB,OACvBjB,EAAuBkB,MACvBlB,EAAuBmB,MACvBnB,EAAuBoB,UACvBpB,EAAuBqB,QACvBrB,EAAuBsB,OACvBtB,EAAuBuB,OAAO,GAIrBnC,GAA2B,CACtCoC,GAAaC,YACbD,GAAaE,KACbF,GAAaG,QACbH,GAAaI,UACbJ,GAAaK,SAAS,EAGXxC,GAA6B,CAACyC,GAAYC,MAAOD,GAAYE,IAAKF,GAAYG,EAAE,EAOhF3C,GAA2B,CACtC,OACA,SACA,MACA,QACA,KACA,MACA,MACA,OACA,OACA,MACA,OACA,UACA,OACA,WACA,OACA,OACA,MACA,MACA,MACA,MACA,MACA,OACA,OACA,OACA,MACA,KACA,OACA,MACA,MACA,MACA,KACA,MACA,MACA,MACA,MACA,OACA,OACA,QACA,QACA,OACA,OACA,OACA,OACA,OACA,OACA,MACA,OACA,SACA,MACA,OACA,QACA,OACA,MACA,OACA,MACA,OACA,OACA,QACA,OACA,OACA,OACA,MACA,OACA,OACA,OACA,MACA,KACA,MACA,OACA,MACA,MACA,MACA,MACA,OACA,QACA,KACA,MACA,MACA,MACA,MACA,OACA,OACA,MACA,MACA,MACA,KACA,MACA,OACA,QACA,K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,cAAAmF,EAAAzC,eAAA,EAOW9D,EAAA,CAAA,EAAAoB,EAAA,OAAAmF,EAAArC,iBAAA,IAAA,IAAA/C,EAAA,GAAA,GAAAoF,EAAAtC,SAAA,CAAA,EAA0D,WAAA+C,CAAA,EAsC5BhH,EAAA,CAAA,EAAA8G,EAAA3F,EAAA,GAAA,GAAA,4BAAA,CAAA;yIDjClCgC,CAA+B,GAAA,IEnB5C,IA0Ca8D,GA1CbC,GAAAC,EAAA,KAEAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KAEAC,KACAC,KACAC,KACAR,KACAS,SA0Baf,IAA4B,IAAA,CAAnC,MAAOA,CAA4B,iDAA5BA,EAA4B,CAAA,+BAA5BA,CAA4B,CAAA,CAAA,mCArBrCgB,GACAC,GACAC,GACAC,GACAC,GAEAC,GACAC,GACAC,GACAC,GACAC,GACAC,GAAcC,SAAS,CACrBC,cAAe,oBACfC,gBAAiBA,GAClB,EACDC,GACAC,EAAqB,CAAA,CAAA,CAAA,SAKZ/B,CAA4B,GAAA,IC1CzC,IAAAgC,GAAAC,EAAA,KACAC,KAEAC,KAMAC,KAEAC,KACAC,KAIAC,KAUAC,KACAC,KAEAC,KACAV,OC9BA,IAAAW,GAAAC,EAAA,KAIAC","names":["enumStringToValue","enumRef","value","CategoryClass","CategoryType","Locale","SortDirection","SortField","TypeCategoryRelationship","FieldMask","PagedRequestOptions","PagedResponseMetadata","BulkCreateCategoriesRequest","BulkCreateCategoryRelationshipsRequest","BulkDeleteCategoryRelationshipsRequest","Category","CategoryLocale","CategoryPagedRequestOptions","CategoryPagedResponseMetadata","CategoryRelationships","CategoryRequest","CategorySearchRequest","CategorySearchResponse","CategoryTranslation","CreateCategoryRequest","CreateCategoryResponse","DeleteCategoryByExternalIDAndTypeRequest","DeleteCategoryRelationshipByExternalIDAndTypeRequest","DeleteCategoryRelationshipByOriginAndTargetRequest","DeleteSuggestedMappingsRequest","GenerateCategoryTrainingDataRequest","GetAllCategoryMappingsRequest","GetAllCategoryMappingsResponse","GetCategoryByExternalIDsAndTypeRequest","GetCategoryByExternalIDsAndTypeResponse","GetCategoryByNameAndTypeRequest","GetCategoryByNameAndTypeResponse","GetCategoryListRequest","GetCategoryListResponse","GetCategoryMappingRequest","GetCategoryMappingResponse","GetCategoryRequest","GetCategoryResponse","GetMappingManagementDataRequest","GetMappingManagementDataResponse","GetMultiCategoryMappingRequest","GetMultiCategoryMappingResponse","GetSuggestedMappingsForCategoryRequest","GetSuggestedMappingsForCategoryResponse","DeleteCategoryRelationshipByOriginAndTargetRequestIdentifier","ListSuggestedMappingsForCategoryTypeRequest","ListSuggestedMappingsForCategoryTypeResponse","UpdateCategoryMappingsV2RequestMapping","MappingManagementData","UpdateCategoryMappingsRequestMappings","SortOptions","StartCategoryEmbeddingWorkflowRequest","StartCategoryMappingWorkflowRequest","SuggestedMappingTarget","SuggestedMappings","UpdateCategoryMappingsRequest","UpdateCategoryMappingsV2Request","UpdateCategoryRequest","UpdateCategoryRequestUpdateFields","ValidateCategoryRequest","ValidateCategoryResponse","environment","hostMap","HostService","CategoriesApiService","localeMap","CategoryUtils","init_vendasta_category","__esmMin","init_core","init_http","init_operators","_FieldMask","proto","m","kwargs","toReturn","_PagedRequestOptions","_PagedResponseMetadata","_BulkCreateCategoriesRequest","_BulkCreateCategoryRelationshipsRequest","_BulkDeleteCategoryRelationshipsRequest","_Category","_CategoryLocale","_CategoryPagedRequestOptions","_CategoryPagedResponseMetadata","_CategoryRelationships","_CategoryRequest","_CategorySearchRequest","_CategorySearchResponse","_CategoryTranslation","_CreateCategoryRequest","_CreateCategoryResponse","_DeleteCategoryByExternalIDAndTypeRequest","_DeleteCategoryRelationshipByExternalIDAndTypeRequest","_DeleteCategoryRelationshipByOriginAndTargetRequest","_DeleteSuggestedMappingsRequest","_GenerateCategoryTrainingDataRequest","_GetAllCategoryMappingsRequest","_GetAllCategoryMappingsResponse","_GetCategoryByExternalIDsAndTypeRequest","_GetCategoryByExternalIDsAndTypeResponse","_GetCategoryByNameAndTypeRequest","_GetCategoryByNameAndTypeResponse","_GetCategoryListRequest","_GetCategoryListResponse","_GetCategoryMappingRequest","_GetCategoryMappingResponse","_GetCategoryRequest","_GetCategoryResponse","_GetMappingManagementDataRequest","_GetMappingManagementDataResponse","_GetMultiCategoryMappingRequest","_GetMultiCategoryMappingResponse","_GetSuggestedMappingsForCategoryRequest","_GetSuggestedMappingsForCategoryResponse","_DeleteCategoryRelationshipByOriginAndTargetRequestIdentifier","_ListSuggestedMappingsForCategoryTypeRequest","_ListSuggestedMappingsForCategoryTypeResponse","_UpdateCategoryMappingsV2RequestMapping","_MappingManagementData","_UpdateCategoryMappingsRequestMappings","_SortOptions","_StartCategoryEmbeddingWorkflowRequest","v","_StartCategoryMappingWorkflowRequest","_SuggestedMappingTarget","_SuggestedMappings","_UpdateCategoryMappingsRequest","_UpdateCategoryMappingsV2Request","_UpdateCategoryRequest","_UpdateCategoryRequestUpdateFields","_ValidateCategoryRequest","_ValidateCategoryResponse","__ngFactoryType__","ɵɵdefineInjectable","inject","HttpClient","HttpHeaders","r","request","map","resp","__spreadProps","__spreadValues","language","selectedLanguage","locale","baseLanguage","CATEGORY_SEARCH_PAGE_SIZE","LANGUAGE_TOKEN","init_constants","__esmMin","init_core","InjectionToken","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate2","category_r1","name","isLast_r2","ɵɵelementContainerStart","ɵɵtemplate","CategoryOverviewComponent_ng_container_0_ng_container_1_span_1_Template","ɵɵproperty","categories_r3","ɵɵtextInterpolate","ctx_r3","placeholder","CategoryOverviewComponent_ng_container_0_ng_template_2_span_0_Template","CategoryOverviewComponent_ng_container_0_ng_container_1_Template","CategoryOverviewComponent_ng_container_0_ng_template_2_Template","ɵɵtemplateRefExtractor","length","noCategories_r5","CategoryOverviewComponent","init_category_overview_component","__esmMin","init_operators","init_esm","init_vendasta_category","init_constants","categoryType","_categoryType","value","refreshCategories","categoryIds","_categoryIds","constructor","categoryService","languageToken$","atlasLanguageService","CategoryType","CATEGORY_TYPE_V_CATEGORY","request$$","ReplaySubject","language$","EMPTY","ngOnInit","initObservables","req","map","externalId","next","compareRequests","a","b","find","elA","elB","pipe","startWith","distinctUntilChanged","categories$","switchMap","categories","iif","language","getCategories","of","catchError","getCategoryByExternalIDsAndType","languageAndLocale","CategoryUtils","localeFromLanguage","res","category","ɵɵdirectiveInject","CategoriesApiService","LANGUAGE_TOKEN","AtlasLanguageService","selectors","inputs","standalone","decls","vars","consts","template","rf","ctx","CategoryOverviewComponent_ng_container_0_Template","ɵɵpipeBind1","BusinessCategoryService","init_business_category_service","__esmMin","init_operators","constructor","categoryService","getCategoryMapping","externalId","inputType","outputType","pipe","map","res","category","getCategoryByExternalIDsAndType","categories","locale","getCategorySearchByTerm","searchTerm","type","pagingOptions","sortOptions","getCategoryBySearchTerm","ɵɵinject","CategoriesApiService","factory","ɵfac","providedIn","HighlightSearchPipe","init_highlight_search_pipe","__esmMin","constructor","sanitizer","transform","value","searchTerm","options","split","filter","Boolean","join","re","RegExp","replacedValue","replace","bypassSecurityTrustHtml","ɵɵdirectiveInject","DomSanitizer","pure","standalone","isExternalId","term","test","CategorySelectService","init_category_select_service","__esmMin","init_core","init_vendasta_category","init_esm","init_operators","init_constants","constructor","categoriesApiService","defaultPagingOptions","pageSize","CATEGORY_SEARCH_PAGE_SIZE","defaultSortOptions","field","SortField","SORT_FIELD_SCORE","direction","SortDirection","SORT_DIRECTION_DESCENDING","SORT_FIELD_FULL_NAME","SORT_DIRECTION_ASCENDING","categorySearchTerm$$","ReplaySubject","categorySearchTerm$","pipe","startWith","map","trim","distinctUntilChanged","debounceTime","tap","aggregatedResult$$","next","categorySearchPage$$","isInitialFetch","language$$","BehaviorSubject","categorySearchPage$","categoryType$$","CategoryType","CATEGORY_TYPE_V_CATEGORY","categoryType$","afterInitialFetch","EventEmitter","categories$","combineLatest","nextCategoriesPage","switchMap","searchTerm","pagingOptions","type","language","getCategoryByExternalIDsAndType","categories","externalId","categoryType","languageAndLocale","CategoryUtils","localeFromLanguage","response","category","forEach","getCategoryBySearchTerm","sortOptions","onlyVisible","pagingMetadata","hasMore","cursor","nextCursor","withLatestFrom","result","newCategories","concat","emit","value","fetch","fetchNext","ɵɵinject","CategoriesApiService","factory","ɵfac","ExcludeCategoriesPipe","init_exclude_categories_pipe","__esmMin","transform","value","excludeIds","length","filter","category","includes","externalId","pure","standalone","ChipColorPipe","init_chip_color_pipe","__esmMin","transform","category","getColor","isInvalid","isHidden","isActive","pure","standalone","ɵɵelement","ɵɵproperty","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵclassMap","ɵɵpipeBind1","category_r3","ɵɵlistener","ɵɵrestoreView","_r2","$implicit","ctx_r3","ɵɵnextContext","ɵɵresetView","removeCategory","ɵɵtemplate","CategorySelectComponent_ng_template_2_mat_chip_row_2_mat_icon_3_Template","disabled","ɵɵadvance","ɵɵtextInterpolate1","fullName","_r5","fetchMoreCategories","ɵɵelementContainerStart","CategorySelectComponent_ng_template_2_ng_container_7_section_1_ng_container_2_ng_container_1_glxy_infinite_scroll_trigger_2_Template","option_r6","isLast_r7","ɵɵpipeBind2","searchResult_r8","searchTerm","ɵɵsanitizeHtml","CategorySelectComponent_ng_template_2_ng_container_7_section_1_ng_container_2_ng_container_1_Template","filteredResult_r9","CategorySelectComponent_ng_template_2_ng_container_7_section_1_ng_container_2_Template","CategorySelectComponent_ng_template_2_ng_container_7_section_1_ng_template_3_Template","ɵɵtemplateRefExtractor","length","noResults_r10","CategorySelectComponent_ng_template_2_ng_container_7_section_1_Template","categories","value","CategorySelectComponent_ng_template_2_mat_chip_row_2_Template","$event","_r1","updateCategorySearchTerm","target","addCategory","CategorySelectComponent_ng_template_2_ng_container_7_Template","addDisabled","placeholder","addCategoryControl","categoryAutocomplete_r12","chipList_r11","required","searchResult$","CategorySelectComponent","init_category_select_component","__esmMin","init_coercion","init_core","init_forms","init_form_field","init_src","init_esm","init_operators","init_constants","init_category_select_service","nextId","maxCategories","_maxCategories","setMaxCategories","coerceNumberProperty","categoryType","categorySelectService","setCategoryType","_disabled","coerceBooleanProperty","stateChanges$$","next","disable","enable","_required","_value","externalIds","refreshCategoryChipList","_placeholder","plh","shouldLabelFloat","focused","empty","constructor","ngControl","languageToken$","atlasLanguageService","onCategoriesChange","EventEmitter","id","subscriptions","SubscriptionList","new","Subject","_categories","FormControl","refreshCategories$$","categories$","loading$$","BehaviorSubject","stateChanges","controlType","valueAccessor","setupSubscriptions","ngOnDestroy","destroy","ngAfterViewInit","addCategoryCtrl","nativeElement","addEventListener","onFocusIn","onFocusOut","errorState","isNull","errors","touched","emit","add","afterInitialFetch","categoryOptionsContainer","scrollIntoView","language$","EMPTY","language$$","refreshCategories$","pipe","debounceTime","filter","r","validCategoryRequest","distinctUntilChanged","prev","curr","sameCategoryRequest","tap","map","externalId","type","switchMap","getCategoryByExternalIDsAndType","of","validateCategories","slice","c","onChange","markAsTouched","req","join","event","option","deselect","focus","fetch","category","fetchNext","setDescribedByIds","ids","setAttribute","onContainerClick","onTouched","writeValue","registerOnChange","registerOnTouched","control","setDisabledState","ɵɵdirectiveInject","NgControl","CategorySelectService","LANGUAGE_TOKEN","AtlasLanguageService","selectors","viewQuery","rf","ctx","ɵɵhostProperty","provide","MatFormFieldControl","useExisting","decls","vars","consts","template","CategorySelectComponent_glxy_loading_spinner_0_Template","CategorySelectComponent_ng_template_2_Template","component_r13","BusinessCategoryModule","init_business_category_module","__esmMin","init_common","init_forms","init_icon","init_form_field","init_autocomplete","init_src","init_tooltip","init_input","init_button","init_progress_spinner","init_business_category_service","init_infinite_scroll_trigger","init_chips","init_loading_spinner","init_category_select_service","BusinessCategoryService","CategorySelectService","imports","CommonModule","MatIconModule","MatButtonModule","MatInputModule","MatFormFieldModule","MatAutocompleteModule","MatTooltipModule","FormsModule","ReactiveFormsModule","VaBadgeModule","MatProgressSpinnerModule","GalaxyInfiniteScrollTriggerModule","MatChipsModule","GalaxyLoadingSpinnerModule","GalaxyFormFieldModule","isHealthCategory","category","type","CategoryType","CATEGORY_TYPE_V_CATEGORY","fullName","translations","find","t","locale","Locale","LOCALE_ENGLISH","toLowerCase","externalId","toLocaleLowerCase","CATEGORY_TYPE_V_TAX","startsWith","healthCategoryRootName","healthCategoryExceptions","includes","init_utils","__esmMin","init_vendasta_category","init_src","__esmMin","init_business_category_module","init_category_select_service","init_constants","init_utils","FieldName","init_interface","__esmMin","FIELD_REGEXP","FIELDS_MAPPING","LINE_DELIMITER","DEFAULT_FORM_LAYOUT","DEFAULT_SHOW_LAYOUT","AddressService","init_address_service","__esmMin","init_esm","init_operators","init_interface","FieldName","FirstName","LastName","Country","City","PostalCode","Province","Address1","Address2","Phone","Company","constructor","addressApiService","translateService","countryConfigCache","Map","countryOptionCache","mailingAddress$","address","getCountry","country","pipe","map","format","addressLines","filter","line","join","shortAddress$","address1","address2","city","province","zip","countryCode","onLangChange","langChangeEvent","lang","startWith","currentLang","defaultLang","switchMap","locale","cacheKey","has","of","get","countryConfig$","getCountryConfiguration","tap","countryConfig","set","catchError","EMPTY","shareReplay","listAllCountryOptions","countryOptions$","countryOptions","getOrderedFields","formatting","edit","split","fields","result","match","fieldMapping","field","toString","cityIndex","indexOf","postalCodeIndex","getProvince","provinces","provinceCode","find","code","name","show","renderLineTemplate","trim","template","lineIsEmpty","forEach","key","addressKey","replace","zones","ɵɵinject","AddressAPIService","TranslateService","factory","ɵfac","en_devel_default","init_en_devel","__esmMin","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","option_r2","ɵɵadvance","ɵɵtextInterpolate1","name","ɵɵpipeBind1","countryValidator","countryOptions","firstValueFrom","inject","COUNTRY_OPTIONS_TOKEN","countryControl","__async","country","value","countries","invalidCountry","find","c","code","toLowerCase","COUNTRY_CONTROL_TOKEN","defaultCountryControlProvider","CountryInputComponent","init_country_input_component","__esmMin","init_common","init_core","init_forms","init_autocomplete","init_form_field","init_icon","init_input","init_ngx_translate_core","init_esm","InjectionToken","provide","useFactory","FormControl","Validators","required","constructor","countrySelected","EventEmitter","countries$","filteredCountries$","pipe","switchMap","control","valueChanges","map","_filter","shareReplay","bufferSize","refCount","_preferredCountry","_elementRef","ElementRef","countryName","option","disableAutoFill","stopChromeAutofill","onFocusOut","target","nativeElement","contains","length","selectCountryOption","Math","random","toString","substring","filter","includes","setValue","emit","activatedOption","tabHandler","selectors","hostBindings","rf","ctx","ɵɵlistener","$event","relatedTarget","i0","ɵɵrestoreView","_r1","ɵɵresetView","ɵɵtemplate","CountryInputComponent_mat_option_7_Template","CountryInputComponent_glxy_error_9_Template","ɵɵpropertyInterpolate","auto_r3","errors","AsyncPipe","FormsModule","DefaultValueAccessor","NgControlStatus","GalaxyFormFieldModule","FormFieldComponent","LabelDirective","ErrorDirective","MatAutocompleteModule","MatAutocomplete","MatOption","MatAutocompleteTrigger","MatFormFieldModule","MatIconModule","MatInputModule","MatInput","NgForOf","NgIf","ReactiveFormsModule","FormControlDirective","TranslateModule","TranslatePipe","styles","joinFirstItems","items","delimiter","max","filter","Boolean","slice","join","AddressAutocompleteComponent","init_address_autocomplete_component","__esmMin","init_core","init_vendasta_account_group","constructor","cdr","required","selected","EventEmitter","addressChange","ngOnInit","detectChanges","autocompleteInput","control","value","ngAfterViewInit","initAutoComplete","listenToAddressChange","ngOnChanges","changes","countryRestriction","currentValue","Country","firstChange","componentRestrictions","country","code","updateAutoCompleteRestrictions","options","types","fields","autocomplete","google","maps","places","Autocomplete","addresstext","nativeElement","event","addListener","place","getPlace","invokeEvent","formatAddressLine1","address_components","onAddressChange","blur","focus","componentRestriction","setComponentRestrictions","address","patchValue","markAsDirty","setErrors","emit","placeId","place_id","address1","zip","find","component","indexOf","long_name","province","city","location","Geo","latitude","geometry","lat","longitude","lng","addressComponents","streetNumber","route","ɵɵdirectiveInject","ChangeDetectorRef","selectors","viewQuery","rf","ctx","ɵɵelementStart","ɵɵtwoWayListener","$event","i0","ɵɵrestoreView","_r1","ɵɵtwoWayBindingSet","ɵɵresetView","ɵɵlistener","ɵɵelementEnd","ɵɵproperty","ɵɵtwoWayProperty","NotOnlyWhitespaceValidator","control","value","trim","length","whitespace","totalLengthOfRepeatedFieldValidator","maxLength","friendlyName","filter","val","join","lengthOfRepeatedField","primaryIsNotInAdditionalSalespeople","salespersonNameFromValue","fg","primaryId","controls","additionalIds","indexOf","setErrors","error","primaryName","markAsTouched","primaryIsSelectedWhenHavingAdditionalSalespeople","primaryNotSelected","init_custom_validators","__esmMin","ɵɵelement","ɵɵproperty","field_r1","required","key","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","_r2","ctx_r2","ɵɵnextContext","ɵɵresetView","updateFormViaAutoComplete","ɵɵelementEnd","formGroup","controls","value","ɵɵtext","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","ɵɵtextInterpolate2","label","ɵɵtemplate","AddressFormV2Component_form_2_div_2_glxy_form_field_1_input_4_Template","AddressFormV2Component_form_2_div_2_glxy_form_field_1_ng_template_5_Template","ɵɵtemplateRefExtractor","AddressFormV2Component_form_2_div_2_glxy_form_field_1_glxy_error_7_Template","AddressFormV2Component_form_2_div_2_glxy_form_field_1_glxy_error_8_Template","ɵɵclassMapInterpolate1","addressAutoComplete_r4","hasError","option_r5","name","AddressFormV2Component_form_2_div_2_glxy_form_field_2_mat_option_7_Template","AddressFormV2Component_form_2_div_2_glxy_form_field_2_glxy_error_9_Template","AddressFormV2Component_form_2_div_2_glxy_form_field_2_glxy_error_10_Template","AddressFormV2Component_form_2_div_2_glxy_form_field_2_glxy_error_11_Template","ɵɵtextInterpolate","provinceAutocomplete_r7","provinceInput_r6","provinceName","ɵɵpipeBind2","provinces","AddressFormV2Component_form_2_div_2_glxy_form_field_1_Template","AddressFormV2Component_form_2_div_2_glxy_form_field_2_Template","dynamicControls","indexOf","AddressFormV2Component_form_2_div_2_Template","formFields","address_r8","formatAddress","formValues","country","code","province","address1","address2","city","zip","autoCompleteValidator","control","invalidSelection","removeOrphanedControls","fields","map","field","Object","keys","forEach","removeControl","labelOverrides","AddressFormV2Component","businessAddressPipe","FilterProvincesPipe","init_address_form_v2_component","__esmMin","init_core","init_forms","init_esm","init_address_service","init_country_input_component","init_src","init_custom_validators","addressData","a","__addressData","setInitialValues","parentForm","form","disabled","editDisabled","disable","addControl","constructor","fb","showAddressPreview","requiredFields","geoLocationChanged","EventEmitter","autoCompleteControls","countryOptions$","inject","COUNTRY_OPTIONS_TOKEN","addressService","AddressService","selectFirstProvince","FormGroup","COUNTRY_CONTROL_TOKEN","updateForm","__async","config","currentConfig","updateFormFields","patchValue","countryOption","firstValueFrom","find","o","setValue","emitEvent","getUpdatedCountryConfig","prov","getProvince","zones","__spreadProps","__spreadValues","countryRestriction","countryChanged","getCountry","pipe","catchError","of","c","templates","getOrderedFields","formatting","flat","reduce","acc","labels","f","validators","getFieldValidators","get","setValidators","updateValueAndValidity","setControl","FormControl","push","Validators","NotOnlyWhitespaceValidator","SharedValidators","isValidPostalCode","address","changedValues","p","location","latitude","longitude","emit","markAsDirty","ɵɵdirectiveInject","UntypedFormBuilder","selectors","viewQuery","rf","ctx","AddressFormV2Component_form_2_Template","AddressFormV2Component_div_3_Template","styles","transform","mailingAddress$","pure","searchTerm","filter","toLocaleLowerCase","MaterialModules","AddressFormV2Module","init_address_form_v2_module","__esmMin","init_common","init_forms","init_autocomplete","init_form_field","init_icon","init_input","init_progress_spinner","init_ngx_translate_core","init_checkbox","init_tooltip","init_radio","init_expansion","init_chips","init_src","init_address_service","init_en_devel","init_country_input_component","MatAutocompleteModule","MatFormFieldModule","MatInputModule","MatIconModule","MatProgressSpinnerModule","MatTooltipModule","MatRadioModule","MatExpansionModule","MatChipsModule","AddressService","provide","COUNTRY_OPTIONS_TOKEN","useFactory","a","listAllCountryOptions","deps","defaultCountryControlProvider","imports","CommonModule","FormsModule","ReactiveFormsModule","TranslateModule","LexiconModule","forChild","componentName","baseTranslation","CountryInputComponent","GalaxyFormFieldModule","GalaxyCheckboxModule","init_address","__esmMin","init_address_service","init_country_input_component","GenderKeys","GenderSelection","CountryPaymentMethods","BusinessOperationMethods","SellingMethodsAvailability","ProfesstionalCredentials","ValidationErrorMessages","init_business_profile_consts","__esmMin","init_vendasta_listing_products","SELECT_OPTION","FEMALE","MALE","OTHER","DEFAULT","RichDataPaymentMethods","AMERICAN_EXPRESS","ANDROID_PAY","APPLE_PAY","CASH","CHECK","DEBIT","DINERS_CLUB","DISCOVER","MASTERCARD","PAYPAL","SAMSUNG_PAY","STORE_CARD","TRAVELERS_CHECK","VISA","CZ","CCS","SODEXO","GOPAY","V_PAY","FINANCING","INVOICE","PAYSEC","BITCOIN","ClosedStatus","UNSPECIFIED","OPEN","LIMITED","TEMPORARY","PERMANENT","IsAvailable","UNSET","YES","NO","businessName","required","businessType","places","website","url","email","primaryBusinessCategory","workNumbers","phone","callTrackingNumbers","cellNumber","tollFreeNumber","country","invalidSelection","address1","city","province","zip","servicesOffered","maxlength","lengthOfRepeatedField","brandsCarried","paymentMethods","shortDescription","longDescription","facebookUrl","foursquareUrl","twitterUrl","instagramUrl","linkedInUrl","pinterestUrl","youtubeUrl","educations","fellowships","specialties","residencies","insuranceAccepted","hospitalAffiliations","market","additionalSalespersonIds","primaryName","primaryNotSelected","BusinessProfileTab","HiddenField","init_business_profile_interface","__esmMin","FormatPhoneNumberPipe","init_format_phone_number_pipe","__esmMin","init_libphonenumber_js","transform","phoneNumber","countryCode","newCountryCode","format","transformForBusinessProfile","parsedNumber","parsePhoneNumber","isValid","formatInternational","pure","standalone","MenuOption","init_media_tab_interface","__esmMin","enumStringToValue","enumRef","value","ImageType","AssociateImageRequest","DeleteImageRequest","ListImagesRequestFilters","GetLogoImageRequest","GetLogoImageResponse","ImageAssociation","ListImagesPagedResponse","ListImagesRequest","environment","hostMap","HostService","MediaApiService","init_vendasta_account_group_media","__esmMin","init_core","init_http","init_operators","_AssociateImageRequest","proto","m","kwargs","toReturn","_DeleteImageRequest","_ListImagesRequestFilters","v","_GetLogoImageRequest","_GetLogoImageResponse","_ImageAssociation","_ListImagesPagedResponse","_ListImagesRequest","__ngFactoryType__","ɵɵdefineInjectable","inject","HttpClient","HttpHeaders","r","request","__spreadProps","__spreadValues","map","resp","environment","hostMap","HostService","Tag","Video","Image","CreateImageRequest","CreateImageResponse","CreateVideoRequest","CreateVideoResponse","GenerateUploadUrlRequest","GenerateUploadUrlResponse","GetImageRequest","GetImageResponse","GetResumableUploadSessionRequest","GetResumableUploadSessionResponse","GetVideoRequest","GetVideoResponse","MediaApiService$1","UploadImageResponse","MediaUploadApi","MediaApiService","init_vendasta_media","__esmMin","init_core","init_http","init_operators","init_esm","__ngFactoryType__","ɵɵdefineInjectable","_Tag","proto","m","kwargs","toReturn","_Video","_Image","_CreateImageRequest","_CreateImageResponse","_CreateVideoRequest","_CreateVideoResponse","_GenerateUploadUrlRequest","_GenerateUploadUrlResponse","_GetImageRequest","_GetImageResponse","_GetResumableUploadSessionRequest","_GetResumableUploadSessionResponse","_GetVideoRequest","_GetVideoResponse","http","hostService","HttpHeaders","r","request","map","resp","ɵɵinject","HttpClient","_UploadImageResponse","catchError","err","imageId","error","throwError","grpcApi","mediaUploadApi","file","formData","servingUrl","mediaType","origin","MediaTabService","init_media_tab_service","__esmMin","init_vendasta_account_group_media","init_esm","init_operators","init_media_tab_interface","constructor","accountGroupMediaApiService","mediaApiService","snackbarService","reloadSubject","BehaviorSubject","reload$","asObservable","hasMore","totalImages$$","loading$$","pageFetchError$$","imagesSubject$$","setAccountGroupId","accountGroupId","clearConfig","addClientImages","next","imageCursor","addImageToSubject","image","curImages","getValue","find","x","url","type","unshift","index","findIndex","date","splice","concat","removeImageUrlFromSubject","imageUrl","imageType","total","trim","removeImageTypeFromSubject","imageTypeToString","createAndAssociate","servingUrl","create","pipe","switchMap","createResponse","associateRequest","AssociateImageRequest","imageId","associateImage","map","request","ListImagesRequest","cursor","pageSize","firstValueFrom","listImages","then","result","imageAssociations","images","length","nextCursor","totalResults","forEach","element","get","created","catch","err","console","error","finally","deleteImage","dialogRef","afterClosed","split","pop","deleteImageRequest","DeleteImageRequest","tap","openSuccessSnack","openErrorSnack","empty","ImageType","LOGO","PRIMARY","SECONDARY_LOGO","NOT_SPECIFIED","markImageAsPerType","convertMenuOptionToImageType","clientType","Date","MenuOption","Gallery","getSuccessMessage","subscribe","menuOption","Logo","Primary","Secondary_Logo","ɵɵinject","MediaApiService","SnackbarService","factory","ɵfac","MediaImageUploaderService","init_media_image_uploader_service","__esmMin","init_src","init_uploader","GalaxyImageUploaderService","constructor","httpClient","environmentService","getURL","getEnvironment","Environment","DEMO","PROD","buildRequest","fileInfo","imageToUpload","data","croppedImage","file","formData","FormData","append","post","withCredentials","ɵɵinject","HttpClient","EnvironmentService","factory","ɵfac","ImageCropperDialogComponent","init_image_cropper_dialog_component","__esmMin","init_dialog","constructor","dialogRef","data","ngOnInit","maxEditorHeight","window","innerHeight","aspectRatioLabel","aspectRatio","closeDialog","blob","close","ɵɵdirectiveInject","MatDialogRef","MAT_DIALOG_DATA","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","$event","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","ɵɵproperty","croppingFile","ɵɵpureFunction1","_c1","_c0","maxDimensions","minDimensions","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","_r1","ctx_r1","ɵɵnextContext","ɵɵresetView","onFilesChanged","onError","ɵɵelementEnd","ɵɵproperty","acceptedFiles","hintText","convertButtonText","buttonText","MediaImageUploaderComponent","init_media_image_uploader_component","__esmMin","init_core","init_uploader","init_operators","init_media_image_uploader_service","init_image_cropper_dialog_component","constructor","uploadService","snackService","dialog","disabled","aspectRatio","parsedButtonText","previewTheme","input","previewSize","addPadding","imageChanged","EventEmitter","loaderState","maxDimensions","width","height","minDimensions","isEditing","subscriptions","ngOnInit","push","fileErrored$$","pipe","filter","error","subscribe","next","fileUploaded$","fileInfo","onUpload","ngOnDestroy","forEach","subscription","unsubscribe","assignImageEditing","fileError","errorSnack","message","file","emit","url","clear","croppingFile","endEdit","blob","setCroppedImage","uploadQueuedFiles","files","openEditorDialog","inputText","open","ImageCropperDialogComponent","minWidth","maxWidth","minHeight","data","afterClosed","ɵɵdirectiveInject","GALAXY_UPLOADER_SERVICE_TOKEN","SnackbarService","MatDialog","selectors","inputs","imageUrl","outputs","standalone","features","ɵɵProvidersFeature","provide","useClass","MediaImageUploaderService","decls","vars","consts","template","rf","ctx","ɵɵtemplate","MediaImageUploaderComponent_Conditional_1_Template","ɵɵadvance","ɵɵconditional","ImageUpdateDialogComponent","init_image_update_dialog_component","__esmMin","init_dialog","constructor","dialogRef","data","buttonText","menuOption","type","ratio","onImageChanged","event","close","onCancel","ɵɵdirectiveInject","MatDialogRef","MAT_DIALOG_DATA","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","$event","ɵɵadvance","ɵɵtextInterpolate","ɵɵpipeBind1","ɵɵtextInterpolate1","ɵɵproperty","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","image_r2","type","ɵɵtemplate","MediaTabGalleryComponent_For_2_Conditional_1_Template","ɵɵlistener","$event","ɵɵrestoreView","_r1","$implicit","ctx_r2","ɵɵnextContext","ɵɵresetView","menuOptionClicked","onClick","ɵɵelement","ɵɵconditional","ɵɵtextInterpolate","date","ɵɵproperty","ɵɵpureFunction1","_c0","MenuOption","Delete","url","ɵɵsanitizeUrl","getSrcsetImageUrls","MediaTabGalleryComponent","init_media_tab_gallery_component","__esmMin","init_core","init_src","init_esm","init_media_tab_interface","constructor","imageTransformationService","imageClicked","EventEmitter","menuOptionSelected","mobileColumns","desktopColumns","gridColumns","subscriptions","ngOnInit","updateColumnTotal","push","observableFromEvent","window","subscribe","ngOnDestroy","forEach","sub","unsubscribe","image","emit","option","menuClick","imageUrl","transformation","ImageTransformation","crop","renderAsJpeg","setJpegQuality","getSrcSetForImage","innerWidth","ɵɵdirectiveInject","ImageTransformationService","selectors","inputs","images","menuOptions","outputs","standalone","decls","vars","consts","template","rf","ctx","ɵɵrepeaterCreate","MediaTabGalleryComponent_For_2_Template","ɵɵrepeaterTrackByIdentity","ɵɵpropertyInterpolate","ɵɵrepeater","UploadedUrlsService","GalleryMultiImageUploaderService","init_gallery_multi_image_uploader_service","__esmMin","init_uploader","init_esm","init_operators","init_src","constructor","uploadedUrls","uploadedUrlsSubject$","Subject","getUploadedUrls$","asObservable","pipe","shareReplay","addUploadedUrl","url","isFinalUpload","push","next","factory","ɵfac","providedIn","GalaxyImageUploaderService","httpClient","environmentService","uploadedUrlsService","uploadQueue","isUploading","uploadSubjects","Map","getURL","getEnvironment","Environment","DEMO","PROD","buildRequest","fileInfo","subject","set","processNextUpload","length","shift","get","imageToUpload","data","croppedImage","file","formData","FormData","append","post","withCredentials","switchMap","response","complete","delete","of","finalize","subscribe","error","ɵɵinject","HttpClient","EnvironmentService","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","_r1","ctx_r1","ɵɵnextContext","ɵɵresetView","onFilesChanged","onError","ɵɵelementEnd","ɵɵproperty","acceptedFiles","convertButtonText","buttonText","ɵɵpureFunction0","_c0","GalleryMultiImageUploaderComponent","init_gallery_multi_image_uploader_component","__esmMin","init_core","init_uploader","init_operators","init_gallery_multi_image_uploader_service","constructor","uploadService","uploadedUrlsService","snackService","dialog","parsedButtonText","previewTheme","input","previewSize","addPadding","imageChanged","EventEmitter","loaderState","maxDimensions","width","height","subscriptions","ngOnInit","push","fileErrored$$","pipe","filter","error","subscribe","next","getUploadedUrls$","urls","onUpload","ngOnDestroy","forEach","subscription","unsubscribe","fileError","errorSnack","message","url","emit","clear","croppingFile","files","uploadQueuedFiles","inputText","ɵɵdirectiveInject","GALAXY_UPLOADER_SERVICE_TOKEN","UploadedUrlsService","SnackbarService","MatDialog","selectors","inputs","outputs","standalone","features","ɵɵProvidersFeature","provide","useClass","GalleryMultiImageUploaderService","decls","vars","consts","template","rf","ctx","ɵɵtemplate","GalleryMultiImageUploaderComponent_Conditional_1_Template","ɵɵadvance","ɵɵconditional","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵlistener","ɵɵrestoreView","_r1","imageData_r2","ɵɵnextContext","$implicit","ctx_r2","ɵɵresetView","deleteMenuClicked","imageLink","type","openImageUpdateDialog","ɵɵadvance","ɵɵtextInterpolate","ɵɵpipeBind1","title","ɵɵproperty","hoverText","menu_r4","ɵɵtextInterpolate1","ɵɵsanitizeUrl","$event","_r5","onImageChanged","setLoader","ɵɵtemplate","MediaTabComponent_For_2_Conditional_3_div_13_Template","emptyImageLink","buttonText","ratio","getLoader","MediaTabComponent_For_2_Conditional_2_Template","MediaTabComponent_For_2_Conditional_3_Template","ɵɵconditional","_r6","MenuOption","Gallery","_r8","loadMore","info_r9","loading","_r7","openLightbox","imageMenuClicked","MediaTabComponent_Conditional_21_Conditional_0_Conditional_1_Template","MediaTabComponent_Conditional_21_Conditional_0_Conditional_2_Template","MediaTabComponent_Conditional_21_Conditional_0_Conditional_3_Template","images_r10","pageFetchError","hasMore","ɵɵpipeBind2","ɵɵpureFunction2","_c0","length","totalImages","MediaTabComponent_Conditional_21_Conditional_0_Template","tmp_2_0","galleryInfo$","_r11","galleryDefaultImageLink","MediaTabComponent","ConfirmationModalComponent","init_media_tab_component","__esmMin","init_core","init_esm","init_operators","init_media_tab_interface","init_image_update_dialog_component","constructor","dialog","tabService","cdr","accountGroupId","input","required","editDisabled","imageClicked","output","loader","profileImageData","Logo","imageType","getImageSrc","Secondary_Logo","Primary","loadingStates","images$","imagesSubject$$","pipe","map","images","unmatchedImages","forEach","profileImage","matchingImage","find","image","url","some","push","totalImages$$","next","subscribe","effect","setAccountGroupId","isLoading","ngOnInit","reloadSubscription","reload$","reloadComponentForAddImage","reloadComponent","detectChanges","ngOnDestroy","unsubscribe","combineLatest","loading$$","pageFetchError$$","addClientImages","clickedImage","__async","imageUrls","firstValueFrom","emit","index","indexOf","clickedOption","getMenuKey","key","dialogRef","open","componentInstance","body","confirmButton","deleteImage","imageUrl","markImageAsPerType","imageData","ImageUpdateDialogComponent","width","data","afterClosed","result","imageName","window","location","hostname","ɵɵdirectiveInject","MatDialog","MediaTabService","ChangeDetectorRef","selectors","inputs","outputs","standalone","decls","vars","consts","template","rf","ctx","ɵɵrepeaterCreate","MediaTabComponent_For_2_Template","ɵɵrepeaterTrackByIdentity","ɵɵdeclareLet","MediaTabComponent_Conditional_18_Template","MediaTabComponent_Conditional_20_Template","MediaTabComponent_Conditional_21_Template","MediaTabComponent_Conditional_22_Template","ɵɵrepeater","ɵɵstoreLet","images_r12","onConfirm","close","onCancel","MatDialogRef","joinFirstItems","items","delimiter","max","filter","Boolean","slice","join","PlaceAutocompleteComponent","init_place_autocomplete_component","__esmMin","init_core","init_vendasta_account_group","constructor","editDisabled","selected","EventEmitter","geoLocation","b","latitude","undefined","longitude","center","google","maps","LatLng","maxBounds","Circle","radius","getBounds","ngAfterViewInit","getPlaceAutocomplete","options","types","bounds","strictBounds","fields","autocomplete","places","Autocomplete","addresstext","nativeElement","event","addListener","place","getPlace","invokeEvent","autocompleteInput","blur","focus","emit","GooglePlace","placeId","place_id","placeName","formatName","city","address_components","find","component","indexOf","long_name","province","short_name","country","name","selectors","viewQuery","rf","ctx","ɵɵelementStart","ɵɵtwoWayListener","$event","i0","ɵɵrestoreView","_r1","ɵɵtwoWayBindingSet","ɵɵresetView","ɵɵelementEnd","ɵɵproperty","ɵɵadvance","ɵɵtwoWayProperty","ɵɵelementContainerStart","ɵɵelementStart","ɵɵlistener","moreHourType_r2","ɵɵrestoreView","_r1","$implicit","ctx_r2","ɵɵnextContext","ɵɵresetView","openEditDialog","value","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","editDisabled","ɵɵpureFunction1","_c1","ɵɵtextInterpolate1","localizedDisplayName","ɵɵtemplate","MoreHoursComponent_ng_container_6_ng_container_1_ng_container_1_ng_container_5_Template","ɵɵtextInterpolate","ɵɵpipeBind1","setTypes","moreHourType_r5","_r4","_c2","MoreHoursComponent_ng_container_6_ng_container_1_ng_container_2_ng_container_5_Template","unsetTypes","MoreHoursComponent_ng_container_6_ng_container_1_ng_container_1_Template","MoreHoursComponent_ng_container_6_ng_container_1_ng_container_2_Template","size","MoreHoursComponent_ng_container_6_ng_container_1_Template","moreHoursTypes","length","empty_r6","ɵɵelement","MoreHoursComponent","init_more_hours_component","__esmMin","init_core","init_src","init_esm","constructor","dialog","fb","translateService","appearance","markedAsRequired","changed","EventEmitter","subscriptions","Map","ngOnInit","push","loading$","pipe","filter","loading","subscribe","forEach","moreHoursType","parentFormGroup","get","hoursTypeId","set","control","addControl","markAsPristine","ngOnDestroy","subscription","unsubscribe","disabled","markAsTouched","closeAll","editDialogRef","open","EditRegularHoursDialogComponent","disableClose","width","maxWidth","data","hideHolidayHours","componentInstance","showRemoveButton","customTitle","instant","afterClosed","result","markAsDirty","setValue","delete","emit","ɵɵdirectiveInject","MatDialog","UntypedFormBuilder","TranslateService","selectors","inputs","outputs","standalone","decls","vars","consts","template","rf","ctx","MoreHoursComponent_ng_container_6_Template","MoreHoursComponent_ng_template_8_Template","ɵɵtemplateRefExtractor","MoreHoursComponent_ng_template_10_Template","_c0","loading_r7","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ɵɵpureFunction2","_c4","ctx_r2","tabInvalid","businessProfileTab","Primary","tabChanged","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","ɵɵlistener","$event","ɵɵrestoreView","_r4","ɵɵnextContext","ɵɵresetView","handleCategoriesChange","ɵɵtemplate","BusinessProfileComponent_mat_tab_4_glxy_form_field_21_glxy_error_10_Template","ɵɵtextInterpolate","primaryBusinessCategoryCtrl_r5","value","length","ɵɵelement","businessCategoriesCtrl_r6","geoControl","mapZoomLevel","inferredMapBounds","place_r8","_r7","$implicit","removePlace","placeId","placeName","businessOperation_r9","code","name","businessOperationError_r10","reopeningDateError_r11","BusinessProfileComponent_mat_tab_4_ng_container_101_glxy_form_field_1_glxy_error_9_Template","ɵɵpropertyInterpolate","reopeningDate_r12","accountGroupForm","get","getError","ɵɵelementContainerStart","BusinessProfileComponent_mat_tab_4_ng_container_101_glxy_form_field_1_Template","closedStatus_r13","undefined","closedStatuses","includes","ecommerce_r14","paymentMethod_r15","paymentMethodError_r16","BusinessProfileComponent_mat_tab_4_ng_template_2_Template","BusinessProfileComponent_mat_tab_4_glxy_form_field_21_Template","BusinessProfileComponent_mat_tab_4_glxy_form_field_22_Template","BusinessProfileComponent_mat_tab_4_forms_geo_input_56_Template","_r2","updateServiceArea","target","checked","i0","markServiceAreaDirty","addPlace","BusinessProfileComponent_mat_tab_4_glxy_error_81_Template","BusinessProfileComponent_mat_tab_4_mat_chip_option_83_Template","updateGeoLocation","handleTimeZoneChange","BusinessProfileComponent_mat_tab_4_mat_option_98_Template","BusinessProfileComponent_mat_tab_4_glxy_error_100_Template","BusinessProfileComponent_mat_tab_4_ng_container_101_Template","BusinessProfileComponent_mat_tab_4_forms_input_104_Template","BusinessProfileComponent_mat_tab_4_mat_option_112_Template","BusinessProfileComponent_mat_tab_4_mat_option_120_Template","BusinessProfileComponent_mat_tab_4_glxy_error_122_Template","loading$","ɵɵpureFunction1","_c2","accountGroupNgForm_r17","submitted","basicInfoForm","invalid","ɵɵpipeBind2","_c3","rmProductName","editDisabled","phoneForm","phoneNumberItemFactory","bind","showMap","tmp_60_0","listingProfile","napData","location","ɵɵstyleProp","tmp_61_0","tmp_62_0","tmp_63_0","tmp_64_0","addressData","tmp_68_0","timezone","additionalInfoForm","businessOperationMethods$","showICOField$","ecommerceOnly$","paymentMethods$","CUSTOM_ERROR_MESSAGES","Hours","_r19","onMoreHoursChange","moreHoursTypes_r20","moreHoursForm","BusinessProfileComponent_mat_tab_5_ng_template_2_Template","_r18","onBusinessHoursChange","BusinessProfileComponent_mat_tab_5_business_profile_more_hours_11_Template","businessHoursForm","specialHoursForm","moreHoursTypes$","Descriptions","BusinessProfileComponent_mat_tab_6_ng_template_2_Template","businessDescriptionsForm","getSuggestion","suggestFieldUpdate","longDescriptionLength","_c5","Images","BusinessProfileComponent_mat_tab_7_ng_template_2_Template","_r21","openLightbox","accountGroupId","Social","BusinessProfileComponent_mat_tab_8_ng_template_2_Template","BusinessProfileComponent_mat_tab_8_forms_input_13_Template","businessPagesForm","showFourSquare","blogForm","Professional","standardizedTitle_r22","professionalCredential_r23","gender_r24","doctordotcomCategory_r25","fullName","enumVal_r26","BusinessProfileComponent_mat_tab_9_ng_template_2_Template","BusinessProfileComponent_mat_tab_9_mat_option_15_Template","BusinessProfileComponent_mat_tab_9_mat_option_29_Template","BusinessProfileComponent_mat_tab_9_mat_option_36_Template","BusinessProfileComponent_mat_tab_9_mat_option_76_Template","BusinessProfileComponent_mat_tab_9_mat_option_114_Template","personalInformationForm","standardizedTitles$","professionalCredentials","genders$","additionalProfessionalInfoForm","qualificationsAndExperienceForm","compareDoctorDotComCategories","availableDoctorDotComCategories","practiceInformationForm","isProviderOptions","Attributes","BusinessProfileComponent_mat_tab_10_ng_template_2_Template","_r27","activeTab","googleAttributesForm","googleAttributesMetadata","googleAttributes","getValidCategoryLength","bingAttributesForm","bingAttributesMetadata","bingAttributes","CustomFields","partnerId","auxiliaryDataObjectType","auxiliaryDataAdminURL","BusinessProfileComponent_mat_tab_11_ng_template_2_Template","BusinessProfileComponent_mat_tab_11_aux_auxiliary_data_table_5_Template","Administration","market_r28","BusinessProfileComponent_mat_tab_12_div_4_glxy_form_field_7_mat_option_6_Template","markets","salesperson_r29","salespersonId","BusinessProfileComponent_mat_tab_12_div_4_glxy_form_field_8_mat_option_7_Template","salespeople","_r30","showAdditionalSalespeopleInput","additionalSalespeople","getPrimarySalespersonInAdditionalSalespeopleErrorMsg","BusinessProfileComponent_mat_tab_12_div_4_glxy_form_field_7_Template","BusinessProfileComponent_mat_tab_12_div_4_glxy_form_field_8_Template","BusinessProfileComponent_mat_tab_12_div_4_div_9_Template","BusinessProfileComponent_mat_tab_12_div_4_glxy_error_10_Template","BusinessProfileComponent_mat_tab_12_div_4_forms_va_input_tags_11_Template","BusinessProfileComponent_mat_tab_12_div_4_glxy_error_12_Template","salesForm","hasAccessToMarkets","hasAccessToSales","isAdditionalSalespeopleInputVisible","BusinessProfileComponent_mat_tab_12_ng_template_2_Template","BusinessProfileComponent_mat_tab_12_div_4_Template","BusinessProfileComponent_mat_tab_12_forms_input_12_Template","adminForm","showCustomerIdentifier","tags","convertFromSales","marketId","sp","firstName","lastName","email","createDefaultLegacyProductDetails","LegacyProductDetails","commonName","adminNotes","paymentMethodValidator","getCountryCode","translateService","control","countryCode","paymentMethods","CountryPaymentMethods","slice","invalidPaymentMethods","filter","selectedPaymentMethod","indexOf","paymentMethodsTranslations","instant","paymentMethodsString","map","method","RichDataPaymentMethods","join","getAllStandardizedTitles","formTabs","BusinessProfileComponent","init_business_profile_component","__esmMin","init_core","init_rxjs_interop","init_forms","init_src","init_vendasta_account_group","init_timezone","init_vendasta_listing_products","init_vendasta_sales","init_esm","init_operators","init_address","init_business_profile_consts","init_business_profile_interface","init_custom_validators","init_format_phone_number_pipe","BusinessProfileTab","serviceAreaForm","serviceAvailabilityForm","hoursForm","timeZoneControl","constructor","listingProfileService","listingProfileApiService","fb","snackbar","salespersonService","zone","formatPhoneNumber","geocoder","productAnalyticsService","lightbox","suggestionService","listingProductsApiService","destroyRef","httpClient","input","required","maxShareOfVoiceKeywords","maxCompetitors","enabledTabs","tabBackground","saved","output","visibleConditionalFields","lengthOfRepeatedField","error","maxLength","fieldName","friendlyName","profileLoading$$","ReplaySubject","asObservable","addressFormDirty","ProfesstionalCredentials","ClosedStatus","LIMITED","TEMPORARY","PERMANENT","partnersLongDescriptionLength","MTCZ","BLS","hasProfessionalCategory","formStateWithDisabled","phoneValidator","countryChanges","inject","COUNTRY_CONTROL_TOKEN","valueChanges","pipe","country","mapsURL","fieldType","GetSuggestionRequest","businessId","languageCode","currentLang","defaultLang","catchError","err","message","open","politeness","duration","EMPTY","resp","suggestion","existing","option","tone","SuggestFieldUpdateRequest","existingValue","accountGroupId$","toObservable","effect","reset","switchMap","getMoreHoursTypes","response","moreHoursTypes","shareReplay","refCount","bufferSize","attributesMetadata$","getAttributeMetadata","attributeMedata","attributesMetadata","toSignal","listingProfile$","tap","next","ProjectionFilter","externalIdentifiers","socialUrls","richData","businessHours","legacyProductDetails","computed","am","find","b","vendorId","googleAttributeMetadata","a","bingAttributeMetadata","mapsLoaded$","jsonp","retry","of","productNames","RM","createForm","group","businessType","Validators","min","places","businessName","whitespaceValidator","nameCharacterValidator","commonBusinessNames","array","website","urlValidator","emailValidator","primaryBusinessCategory","businessCategories","serviceAreaBusiness","workNumbers","faxNumber","cellNumber","callTrackingNumbers","tollFreeNumber","servicesOffered","compose","totalLengthOfRepeatedFieldValidator","brandsCarried","landmark","bookingUrl","ico","facebookUrl","foursquareUrl","linkedInUrl","twitterUrl","pinterestUrl","instagramUrl","youTubeUrl","blogOrRssFeedUrl","shortDescription","longDescription","standardizedTitle","middleInitials","gender","emailAddress","ecommerceOnly","closedStatus","reopeningDate","doctorDotComCategories","educations","specialties","residencies","fellowships","nationalProviderIdentifier","medicalLicenseNumber","stateLicense","acceptingPatients","insurancesAccepted","firmClinicOfficeName","isProvider","hospitalAffiliations","isTabEnabled","market","additionalSalespersonIds","validators","primaryIsNotInAdditionalSalespeople","salesperson","primaryIsSelectedWhenHavingAdditionalSalespeople","customerIdentifier","notes","timezoneControl","takeUntilDestroyed","subscribe","e","paymentMethodsField","setValue","updateValueAndValidity","loadFormValues","setControlsForFormArray","ids","vCategoryIds","primaryCategory","patchValue","companyName","serviceArea","markAsPristine","disable","company","address1","address","address2","city","province","state","zip","workNumber","number","transformForBusinessProfile","callTrackingNumber","conditionalFields","richDataCf","valuesToPatch","forEach","cf","id","push","isConditionalFieldVisible","generalHours","hours","hoursTypeId","mergedHours","MergeHours","regularHours","specialHours","addControl","encodeURI","linkedinUrl","youtubeUrl","rssUrl","controls","setValidators","description","serviceAvailability","healthCareProfessionalInformation","initials","professionalCredential","HealthCareProfessionalInformationGender","NotSpecified","school","specialty","residency","fellowship","isTakingPatients","office","HealthCareProfessionalInformationIsProvider","IsProviderNotSpecified","salesPersonId","additionalSalesPersonIds","getGoogleCheckboxValues","formGroup","metaAttribute","values","Object","keys","key","getRawValue","indexOfKeyInValueDisplayName","valueDisplayNames","findIndex","d","markAsDirty","getBingCheckboxValues","getDoctorDotComCategories","accountGroup","GetDoctorDotComCategoriesRequest","c","getBingAttributesToSubmit","duHastMe","bingAttributeMetaData","attribs","sort","displayName","localeCompare","sortOrder","md","parent","valueType","AttributesValueType","REPEATED_ENUM","form","ENUM","ctrl","v","ba","toApiJson","i","j","Boolean","cfId","getGoogleAttributesToSubmit","googleAttributeMetaData","ga","category1","category2","getFirstErrorFromForm","getFirstInvalidFormControl","formErrorsForField","errors","ValidationErrorMessages","onSubmit","arg","__async","pristine","auxiliaryDataTable","valid","getFirstInvalidTab","controlKey","getChangedValues","trackChangedForms","operations","UpdateOperations","dirty","addUpdateOperation","GoogleAttributesUpdateOperation","googleAttribute","BingAttributesUpdateOperation","bingAttribute","phones","basicInfo","addressForm","NapUpdateOperation","ServiceArea","Geo","businessDescriptions","businessPages","blog","SocialURLsUpdateOperation","healthCareProfessionalInfo","healthCareHasChanges","practiceInformation","additionalProfessionalInfo","qualificationsAndExperience","personalInformation","HealthCareProfessionalInformation","serviceAvailabilityChanges","serviceAvailabilityInfo","ServiceAvailability","closedStatusDate","Date","additionalInfo","richDataUpdateOperations","RichData","cfValues","field","RichDataUpdateOperation","externalIdentifiersUpdateOperation","ExternalIdentifiersUpdateOperation","updateOrigin","primary","additional","Array","from","Set","LegacyProductDetailsUpdateOperation","doUpdate","tabKeys","invalidForm","FormGroup","FormArray","sh","SplitHours","BusinessHours","BusinessHoursUpdateOperation","onlyBusinessHoursSave","updateParams","bulkUpdate","retryable","onAction","saveChanges","snackBarRef","trackEvent","dismiss","afterDismissed","auxiliaryDataSaved","onlyHoursSave","markFormsPristine","accountSaved","customFieldsSaved","emit","ngOnInit","watchMarketForSalespeople","categories","allCategories","currentDoctorDotComCategories","console","getMapZoomLevel","inferMapBounds","buildTimezoneDisplay","bomTranslateString","bomTranslateKeys","k","isNaN","Number","combineLatest","stream","startWith","translations","BusinessOperationMethods","ecommerceValueChanges$","availabilityOptions","paymentMethodKeys","setPaymentMethods","genderTranslateString","genderTranslateKeys","GenderKeys","genders","GenderSelection","selection","isProviderTranslateKeys","Map","IsProviderTrue","IsProviderFalse","standardizedTitles","availabilities","SellingMethodsAvailability","availabilityTranslateKeys","IsAvailable","availabilityTranslateStrings","availabilityStrings","translation","tab","isValidArray","some","category","isHealthCategory","primaryName","req","listSalespersons","result","results","disabled","formArray","controlFactory","fixControlsForFormArray","defaultControlFactory","zoom","maxCompetitorsFields","maxShareOfVoiceKeywordsFields","didLoad","fullAddress","geocode","status","google","maps","GeocoderStatus","OK","viewport","geometry","run","east","getNorthEast","lng","north","lat","west","getSouthWest","south","data","imageUrls","index","onTabSwitch","hideSaveButton","hiddenFields","HiddenField","SocialFourSquare","Markets","Sales","CustomerIdentifier","showDateTemporaryClose","closedValue","timeZone","changedForms","p","place","enable","selectedMethod","ɵɵdirectiveInject","ListingProfileService","ListingProfileApiService","FormBuilder","MatSnackBar","SalespersonService","NgZone","FormatPhoneNumberPipe","TranslateService","MapGeocoder","ProductAnalyticsService","VaFullscreenLightboxService","SuggestionApiService","ListingProductsApiService","DestroyRef","HttpClient","selectors","viewQuery","rf","ctx","decls","vars","consts","template","_r1","preventDefault","BusinessProfileComponent_mat_tab_4_Template","BusinessProfileComponent_mat_tab_5_Template","BusinessProfileComponent_mat_tab_6_Template","BusinessProfileComponent_mat_tab_7_Template","BusinessProfileComponent_mat_tab_8_Template","BusinessProfileComponent_mat_tab_9_Template","BusinessProfileComponent_mat_tab_10_Template","BusinessProfileComponent_mat_tab_11_Template","BusinessProfileComponent_mat_tab_12_Template","BusinessProfileComponent_mat_card_13_Template","BusinessProfileComponent_ng_template_14_Template","ɵɵtemplateRefExtractor","ɵɵclassMap","_c1","en_devel_default","init_en_devel","__esmMin","WEBLATE_COMPONENT_NAME","init_constants","__esmMin","TaxonomyI18nModule","init_taxonomy_i18n_module","__esmMin","init_ngx_translate_core","init_src","init_en_devel","init_constants","TranslateModule","LexiconModule","forChild","componentName","WEBLATE_COMPONENT_NAME","baseTranslation","init_lib","__esmMin","init_taxonomy_i18n_module","init_src","__esmMin","init_lib","SalespersonResponse","SalespersonRequest","init_salesperson_objects","__esmMin","fromProto","proto","m","key","Object","prototype","hasOwnProperty","call","constructor","kwargs","toApiJson","partnerId","marketId","salespersonId","firstName","lastName","email","fullName","marketIds","includeNullMarket","pid","includeNullMarketFlag","SalespersonApiService","init_salesperson_api_service","__esmMin","init_src","init_http","init_salesperson_objects","init_operators","constructor","http","environmentService","lookupUrl","host","apiOptions","headers","HttpHeaders","withCredentials","_host","getEnvironment","Environment","LOCAL","TEST","DEMO","PROD","lookup","r","request","toApiJson","SalespersonRequest","post","__spreadProps","__spreadValues","params","pipe","map","resp","data","salespersonData","SalespersonResponse","fromProto","share","ɵɵinject","HttpClient","EnvironmentService","factory","ɵfac","SalespersonService","init_salesperson_service","__esmMin","init_operators","constructor","salespersonApiService","lookup","partnerId","marketIds","includeNullMarket","pipe","map","response","handleResponse","data","sp","pid","marketId","salespersonId","salesPersonId","firstName","lastName","fullName","getFullName","email","trim","ɵɵinject","SalespersonApiService","factory","ɵfac","SalespersonServiceModule","init_salesperson_module","__esmMin","init_salesperson_api_service","init_salesperson_service","SalespersonService","SalespersonApiService","init_lib","__esmMin","init_salesperson_module","init_src","__esmMin","init_lib","TaxonomyServiceInterfaceToken","init_interfaces","__esmMin","init_core","InjectionToken","TaxonomyService","init_taxonomy_service","__esmMin","init_interfaces","constructor","innerService","getTaxonomyIds","ɵɵinject","TaxonomyServiceInterfaceToken","factory","ɵfac","TaxonomyServiceModule","init_taxonomy_module","__esmMin","init_taxonomy_service","TaxonomyService","init_lib","__esmMin","init_interfaces","init_taxonomy_service","init_taxonomy_module","init_src","__esmMin","init_lib","CompetitorsTabService","init_competitors_tab_service","__esmMin","init_esm","init_operators","constructor","api","getCompetitors","businessId","cursor","pageSize","req","pagingOptions","pipe","map","res","competitors","catchError","of","create","competitor","location","name","url","update","competitorId","fieldMask","paths","delete","ɵɵinject","CompetitorApiService","factory","ɵfac","CompetitorsTabModule","init_competitors_tab_module","__esmMin","init_common","init_forms","init_button","init_card","init_dialog","init_icon","init_input","init_progress_spinner","init_ngx_translate_core","init_form_field","init_competitors_tab_service","CompetitorsTabService","imports","CommonModule","MatCardModule","MatButtonModule","MatIconModule","MatDialogModule","MatInputModule","MatProgressSpinnerModule","TranslateModule","ReactiveFormsModule","GalaxyFormFieldModule","MediaTabGalleryModule","init_media_tab_gallery_module","__esmMin","init_common","init_chips","init_grid_list","init_src","init_ngx_translate_core","CommonModule","MatGridListModule","MatChipsModule","VaActionMenuModule","TranslateModule","UploadImageDialogModule","init_upload_image_dialog_module","__esmMin","init_common","init_forms","init_button","init_dialog","init_icon","init_progress_bar","init_ngx_translate_core","init_src","CommonModule","VaFormsModule","MatIconModule","MatButtonModule","MatProgressBarModule","ReactiveFormsModule","MatDialogModule","TranslateModule","ImageCropperDialogModule","init_image_cropper_dialog_module","__esmMin","init_common","init_forms","init_button","init_dialog","init_icon","init_progress_bar","init_ngx_translate_core","init_src","init_uploader","init_card","CommonModule","VaFormsModule","MatIconModule","MatButtonModule","MatProgressBarModule","ReactiveFormsModule","MatDialogModule","TranslateModule","GalaxyUploaderModule","MatCard","MatCardHeader","MediaTabModule","init_media_tab_module","__esmMin","init_common","init_button","init_card","init_dialog","init_icon","init_progress_bar","init_ngx_translate_core","init_snackbar_service","init_media_tab_gallery_module","init_media_tab_service","init_upload_image_dialog_module","init_grid_list","init_tooltip","init_uploader","init_menu","init_image_cropper_dialog_module","init_loading_spinner","MediaTabService","SnackbarService","imports","CommonModule","MatCardModule","MatButtonModule","MediaTabGalleryModule","MatProgressBarModule","UploadImageDialogModule","MatIconModule","MatDialogModule","TranslateModule","MatGridTile","GalaxyTooltipModule","GalaxyUploaderModule","MatMenu","MatMenuItem","ImageCropperDialogModule","GalaxyLoadingSpinnerModule","require_fast_deep_equal","__commonJSMin","exports","module","equal","a","b","length","i","keys","key","totalLengthOfRepeatedFieldValidator","maxLength","friendlyName","control","value","length","filter","val","join","lengthOfRepeatedField","arrayAllTruthyItemsRequired","v","required","init_validators","__esmMin","ɵɵelementContainerStart","ɵɵelement","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵtemplate","ProductActivationPrereqFormComponent_ng_template_2_ng_container_0_ng_container_1_ng_template_9_Template","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","ɵɵproperty","content_r2","ɵɵpureFunction1","_c0","sectionConfig_r1","ProductActivationPrereqFormComponent_ng_template_2_ng_container_0_ng_container_1_Template","ctx_r2","sectionConfig$","ProductActivationPrereqFormComponent_ng_template_2_ng_container_0_Template","hasRestrictions$","businessActivationForm","loading$","get","ProductActivationPrereqFormComponent_ng_template_4_glxy_form_field_16_span_4_Template","orderFormOptions","bypassRequiredQuestions","longDescription_r5","value","length","controls","description","ProductActivationPrereqFormComponent_ng_template_4_glxy_form_field_18_span_4_Template","shortDescription_r6","shortDescription","servicesPlaceholder","isReadOnly","brandsPlaceholder","submitting$","ɵɵlistener","ɵɵrestoreView","_r4","ɵɵnextContext","ɵɵresetView","onSubmit","$event","i0","preventDefault","ProductActivationPrereqFormComponent_ng_template_4_ng_container_5_Template","ProductActivationPrereqFormComponent_ng_template_4_ng_template_6_Template","ɵɵtemplateRefExtractor","ProductActivationPrereqFormComponent_ng_template_4_ng_container_12_Template","ProductActivationPrereqFormComponent_ng_template_4_ng_template_13_Template","ProductActivationPrereqFormComponent_ng_template_4_forms_business_hours_15_Template","ProductActivationPrereqFormComponent_ng_template_4_glxy_form_field_16_Template","ProductActivationPrereqFormComponent_ng_template_4_div_17_Template","ProductActivationPrereqFormComponent_ng_template_4_glxy_form_field_18_Template","ProductActivationPrereqFormComponent_ng_template_4_div_19_Template","ProductActivationPrereqFormComponent_ng_template_4_forms_va_input_repeated_20_Template","ProductActivationPrereqFormComponent_ng_template_4_forms_va_input_repeated_21_Template","ProductActivationPrereqFormComponent_ng_template_4_button_23_Template","ProductActivationPrereqFormComponent_ng_template_4_span_24_Template","expanded","infoIcon_r8","readOnlyPanelMessage_r9","sectionConfig_r7","showHoO","showLongDescription","showDescription","showServices","showBrands","hasUnsavedChanges$","import_fast_deep_equal","ProductActivationPrereqFormComponent","init_product_activation_prereq_form_component","__esmMin","init_core","init_forms","init_src","init_vendasta_listing_products","init_esm","init_operators","init_validators","_orderFormOptions","readOnly","productIds","productIds$$","next","form","businessActivationForm$$","getValue","checkChipFieldValidity","chipField","Array","constructor","fb","accountGroupService","listingProfileService","partnerApiService","translateService","alertService","hasBusinessProductActivationPrereqFormEvent","EventEmitter","BehaviorSubject","sectionConfig$$","submitting$$","loading$$","productIds$","asObservable","subscriptions","hasUnsavedChanges$$","ngOnInit","instant","business$","businessId","ProjectionFilter","richData","accountGroupExternalIdentifiers","pipe","catchError","of","AccountGroup","listingProfile$","LPProjectionFilter","businessHours","ListingProfile","getSectionConfig$","map","resp","emit","isValid$","filter","switchMap","statusChanges","startWith","status","debounceTime","formValid","hasSubmittedRequiredValues","key","Object","keys","currentSubmittedFormValues","formValue","distinctUntilChanged","push","combineLatest","business","listingProfile","sectionConfig","longDescription","generalHours","find","hours","hoursTypeId","MergeHours","regularHours","servicesOffered","brandsCarried","validators","arrayValidators","Validators","required","arrayAllTruthyItemsRequired","businessProfileForm","UntypedFormGroup","addControl","control","array","compose","minLength","maxLength","totalLengthOfRepeatedFieldValidator","JSON","parse","stringify","disable","subscribe","controlName","valueChanges","tap","changes","equal","deleted","externalIdentifiers","EMPTY","getMultiApp","partnerId","marketId","appKeys","appId","includeNotEnabled","Boolean","apps","app","activationInformation","requiredBusinessData","configs","config","reduce","acc","appConfig","descriptionShort","descriptionLong","brands","services","err","console","error","setAsTouched","markAsTouched","i","UntypedFormControl","UntypedFormArray","forEach","c","updateValueAndValidity","emitEvent","pristine","openErrorSnack","valid","errorMsg","invalid","data","updateOperations","UpdateOperations","listingProfileUpdate$","dirty","lpUpdateOperations","LPUpdateOperations","addUpdateOperation","BusinessHoursUpdateOperation","BusinessHours","SplitHours","bulkUpdate","richDataUpdateOperation","RichDataUpdateOperation","agUpdate$","openSuccessSnack","complete","ngOnDestroy","subscription","unsubscribe","ɵɵdirectiveInject","UntypedFormBuilder","AccountGroupService","ListingProfileService","PartnerApiService","TranslateService","SnackbarService","selectors","inputs","outputs","standalone","decls","vars","consts","template","rf","ctx","ProductActivationPrereqFormComponent_ng_container_0_Template","ProductActivationPrereqFormComponent_ng_template_2_Template","ProductActivationPrereqFormComponent_ng_template_4_Template","loaded_r10","ProductActivationPrereqFormModule","init_product_activation_prereq_form_module","__esmMin","init_expansion","init_form_field","init_card","init_icon","init_src","init_forms","init_common","init_ngx_translate_core","init_input","init_button","init_en_devel","CommonModule","FormsModule","ReactiveFormsModule","TranslateModule","LexiconModule","forChild","componentName","baseTranslation","MatExpansionModule","MatFormFieldModule","MatIconModule","VaFormsModule","MatInputModule","MatButtonModule","MatCardModule","GalaxyFormFieldModule","BusinessProfileModule","init_business_profile_module","__esmMin","init_common","init_forms","init_google_maps","init_datepicker","init_expansion","init_icon","init_autocomplete","init_button","init_card","init_checkbox","init_chips","init_dialog","init_form_field","init_input","init_radio","init_select","init_snack_bar","init_tabs","init_tooltip","init_src","init_ngx_translate_core","init_alert","init_timezone_selector","init_address_form_v2_module","init_en_devel","init_competitors_tab_module","init_media_tab_module","init_product_activation_prereq_form_module","init_loading_spinner","VaFullscreenLightboxService","imports","CommonModule","ReactiveFormsModule","ImageTransformationModule","VaFormsModule","TaxonomyServiceModule","MatInputModule","MatCardModule","MatTabsModule","MatTooltipModule","MatSelectModule","MatButtonModule","MatIconModule","MatDialogModule","MatSnackBarModule","SalespersonServiceModule","MediaTabModule","MatCheckboxModule","MatDatepickerModule","AddressFormV2Module","TaxonomyI18nModule","GoogleMapsModule","TranslateModule","LexiconModule","forChild","componentName","baseTranslation","ProductActivationPrereqFormModule","CompetitorsTabModule","GalaxyCheckboxModule","MatAutocompleteModule","GalaxyTimezoneSelectorModule","AuxiliaryDataModule","BusinessCategoryModule","GalaxyFormFieldModule","FormsModule","MatRadioModule","MatChipsModule","MatExpansionModule","MatFormFieldModule","GalaxyAlertModule","GalaxyLoadingSpinnerModule","FeatureFlagService","init_feature_flag_service","__esmMin","init_operators","constructor","featureFlagService","checkFeatureFlagsMulti","partnerId","marketId","featureIds","batchGetStatus","checkFeatureFlag","featureId","pipe","map","val","ɵɵinject","factory","ɵfac","providedIn","PAGE_SIZE","BusinessSelectorDialogService","init_business_selector_dialog_service","__esmMin","init_core","init_vendasta_account_group","init_esm","constructor","accountGroupService","nextCursor$$","BehaviorSubject","searchFormFieldValue$$","loadMore$$","loadMoreTrigger$","asObservable","pipe","map","loading$$","loading$","business$$","business$","hasMore$$","hasMore$","_loadingFirstPage","signal","loadingFirstPage","asReadonly","previousSearchTerm","initBusinesses","combineLatest","debounceTime","distinctUntilChanged","shareReplay","switchMap","searchTerm","next","cursor","value","set","lookupRequest","projectionFilter","data","projectionFilterOverride","ProjectionFilter","napData","accountGroupExternalIdentifiers","constraints","partnerId","filters","includeDeleted","pageSize","sortOptions","direction","field","marketId","Array","isArray","marketIds","lookup","subscribe","pagedAccountGroupResponse","businesses","accountGroups","concat","hasMore","nextCursor","error","searchFormFieldValue","loadMore","ɵɵinject","AccountGroupApiService","factory","ɵfac","providedIn","FormatAddressToStringPipe","init_format_address_pipe","__esmMin","transform","address","trim","city","state","filter","v","join","pure","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","ctx_r3","getPartnerIdfromConstraints","ag_r3","constraints","ɵɵelement","ɵɵlistener","ɵɵrestoreView","_r2","$implicit","ɵɵnextContext","ɵɵresetView","selectBusiness","ɵɵtemplate","BusinessSelectorDialogComponent_ng_container_9_div_1_div_1_p_7_Template","BusinessSelectorDialogComponent_ng_container_9_div_1_div_1_mat_divider_8_Template","napData","companyName","ɵɵpipeBind1","ɵɵproperty","length","last_r5","BusinessSelectorDialogComponent_ng_container_9_div_1_div_1_Template","businesses_r6","$event","_r7","loadMoreAccounts","ɵɵpureFunction0","_c1","ɵɵelementContainerStart","BusinessSelectorDialogComponent_ng_container_9_ng_container_2_div_2_Template","BusinessSelectorDialogComponent_ng_container_9_ng_container_2_mat_spinner_3_Template","details_r8","loading","hasMore","BusinessSelectorDialogComponent_ng_container_9_div_1_Template","BusinessSelectorDialogComponent_ng_container_9_ng_container_2_Template","emptyState_r9","ɵɵpureFunction2","_c0","hasMore$","loading$","_r10","createBusiness","BusinessSelectorDialogComponent_ng_template_15_Conditional_3_Template","ɵɵconditional","data","hideCreateBusiness","BusinessSelectorDialogComponent_ng_template_17_div_1_Template","_c2","BusinessSelectorDialogComponent","init_business_selector_dialog_component","__esmMin","init_forms","init_dialog","init_esm","constructor","dialogRef","router","businessSelectorDialogService","subscriptions","searchFormField","UntypedFormControl","ngOnInit","business$","loadingFirstPage","initBusinesses","push","valueChanges","pipe","startWith","tap","searchFormFieldValue","value","subscribe","ngOnDestroy","forEach","s","unsubscribe","inViewportEvent","visible","loadMore","accountGroup","close","navigateByUrl","find","element","foreignKey","kind","key","ɵɵdirectiveInject","MatDialogRef","Router","BusinessSelectorDialogService","MAT_DIALOG_DATA","selectors","standalone","decls","vars","consts","template","rf","ctx","BusinessSelectorDialogComponent_ng_container_9_Template","i0","_r1","BusinessSelectorDialogComponent_ng_template_15_Template","ɵɵtemplateRefExtractor","BusinessSelectorDialogComponent_ng_template_17_Template","ɵɵtextInterpolate","ɵɵpropertyInterpolate","loading_r11","BusinessSelectorDialogModule","init_business_selector_dialog_module","__esmMin","init_common","init_list","init_button","init_form_field","init_input","init_progress_spinner","init_dialog","init_forms","init_ng_in_viewport","init_src","init_en_devel","init_core","init_chips","CommonModule","MatListModule","MatChipsModule","MatButtonModule","MatFormFieldModule","MatInputModule","MatProgressSpinnerModule","MatDialogModule","ReactiveFormsModule","InViewportModule","LexiconModule","forChild","componentName","baseTranslation","MatLineModule","GalaxyFormFieldModule","init_lib","__esmMin","init_business_profile_component","init_business_profile_module","init_feature_flag_service","init_product_activation_prereq_form_module","init_business_selector_dialog_component","init_business_selector_dialog_module","init_business_selector_dialog_service","init_format_address_pipe","init_address","init_src","__esmMin","init_lib"],"x_google_ignoreList":[0,30,31,75]}