{"version":3,"file":"static/js/application.initial~9e5dfa2a.8a49e93f.js","mappings":"mLAAA,IAAIA,EAAM,CACT,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,MAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,MAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,YAAa,OACb,YAAa,OACb,YAAa,OACb,eAAgB,OAChB,eAAgB,OAChB,YAAa,OACb,YAAa,MACb,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,OAChB,eAAgB,MAChB,eAAgB,OAChB,eAAgB,OAChB,YAAa,OACb,eAAgB,OAChB,eAAgB,OAChB,eAAgB,MAChB,eAAgB,MAChB,eAAgB,OAChB,eAAgB,OAChB,YAAa,MACb,YAAa,OACb,aAAc,OACd,eAAgB,OAChB,YAAa,OACb,YAAa,OACb,YAAa,OACb,YAAa,OACb,YAAa,OACb,YAAa,OACb,YAAa,OACb,YAAa,MACb,YAAa,OACb,YAAa,MACb,eAAgB,OAChB,YAAa,OACb,YAAa,OACb,YAAa,MACb,YAAa,OACb,YAAa,OACb,YAAa,OACb,YAAa,OACb,YAAa,OACb,eAAgB,OAChB,YAAa,MACb,YAAa,OACb,YAAa,OACb,YAAa,OACb,YAAa,MACb,iBAAkB,OAClB,oBAAqB,OACrB,iBAAkB,QAGnB,SAASC,EAAoBC,GAC5B,OAAOC,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAoBC,EAAEP,EAAKE,GAAM,CACpC,IAAIM,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CACP,CAEA,IAAIG,EAAKX,EAAIE,GACb,OAAOI,EAAoBM,EAAED,EAAI,GAClC,GACD,CACAV,EAAoBY,KAAO,WAAa,OAAOC,OAAOD,KAAKb,EAA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H,EAAgBA,EAAgBrjH,MAAqB,qBAARA,MAAoBA,WAAMtF,GAAoB0oH,CAAS,C,yBC5BzK,IAAIH,EAAM,EAAQ,QAclBp0H,EAAOC,QAZP,SAAkBo0H,GAAS,IAAoCC,EAAhCC,EAAW,GAAqCC,EAAmBH,GAAU,CAAC,EAW4C,OAXxC,SAAUljH,GAAQojH,GAAsB,qHACrJpjH,EAAM87B,QAAQs9E,OAClBgK,GAAsB,iCAGlBpjH,EAAM87B,QAAQzgB,KAClB+nG,GAAuB,OAASD,EAAanjH,EAAM87B,QAAQzgB,MAAQ,GAAK8nG,EAGxEC,EAAWA,EAAW,4CAA2DH,EAAIM,OAAO,OAASJ,EAAanjH,EAAM87B,SAAW,GAAKqnF,GAAe,UAEvJC,GAAsB,QAAwB,EAAEv5F,KAAK3rB,KAAK,UAAWmlH,EAAgBA,EAAgBrjH,MAAqB,qBAARA,MAAoBA,WAAMtF,GAAoB0oH,CAAS,C","sources":["../../../../campaign-legacy/packages/crud-ad/node_modules/@bingads-webui-universal/i18n-cldr-data-modern/locales-simplified|lazy|/^/.*/.json$/|chunkName: cldr-[request]|groupOptions: {}|namespace object","../../../../campaign-legacy/packages/accounts-summary/vnext/shared-column-configuration.js","../../../../campaign-legacy/packages/accounts-summary/data-fetch-config.js","../../../../campaign-legacy/packages/adgroup-create-advanced/util/campaignType.js","../../../../campaign-legacy/packages/advanced-settings/util/exclusion-repository.js","../../../../campaign-legacy/packages/alert/model/client-center-notifications.js","../../../../campaign-legacy/packages/alert/model/client-center.js","../../../../campaign-legacy/packages/alert/model/scopes.js","../../../../campaign-legacy/packages/audience-association/model/associationError.js","../../../../campaign-legacy/packages/audience-association/model/audienceAssociation.js","../../../../campaign-legacy/packages/audience-association/model/consts.js","../../../../campaign-legacy/packages/audience-association/model/errorEnum.js","../../../../campaign-legacy/packages/audience-association/model/scopeLevelEnum.js","../../../../campaign-legacy/packages/audience-association/service/campaign-selector-repository.js","../../../../campaign-legacy/packages/audience-association/model/errorModel.js","../../../../campaign-legacy/packages/audience-association/model/lists.js","../../../../campaign-legacy/packages/audience-association/utils/format-reach-number.js","../../../../campaign-legacy/packages/audience-association/viewmodel/association-section.js","../../../../campaign-legacy/packages/audiences/components/create-audience/audience-creation-popup-view.js","../../../../campaign-legacy/packages/audience-association/view/base-association-view.js","../../../../campaign-legacy/packages/audience-association/service/adgroup-selector-repository.js","../../../../campaign-legacy/packages/audience-association/view/adgroup-selector-proxy.js","../../../../campaign-legacy/packages/audience-association/view/scope-entity-selector.js","../../../../campaign-legacy/packages/audiences/components/audience-type/audienceTypes.js","../../../../campaign-legacy/packages/audiences/components/audience-type/type-selector-viewmodel.js","../../../../campaign-legacy/packages/audiences/components/audience-type/type-selector-view.js","../../../../campaign-legacy/packages/audiences/components/combined-list-audience/detail-panel.js","../../../../campaign-legacy/packages/audiences/components/customer-list-audience/panel.js","../../../../campaign-legacy/packages/audiences/components/impression-based-list/impression-based-list-react.js","../../../../campaign-legacy/packages/audiences/components/impression-based-list/index.js","../../../../campaign-legacy/packages/audiences/components/popup/audiences-popup-view.js","../../../../campaign-legacy/packages/audiences/components/popup/audience-status-popover.js","../../../../campaign-legacy/packages/audiences/components/product-audience/product-audience-types.js","../../../../campaign-legacy/packages/audiences/components/product-audience/product-audience-creation-viewmodel.js","../../../../campaign-legacy/packages/audiences/components/product-audience/product-audience-creation-view.js","../../../../campaign-legacy/packages/audiences/components/product-audience/product-audience-popup-view.js","../../../../campaign-legacy/packages/audiences/components/shared-library-scope/audiences-sharing-scope.js","../../../../campaign-legacy/packages/audiences/components/uet-tag/uet-tag-selector-viewmodel.js","../../../../campaign-legacy/packages/audiences/components/uet-tag/uet-tag-selector-view.js","../../../../campaign-legacy/packages/audiences/components/uet-tag/uet-tag-help-viewmodel.js","../../../../campaign-legacy/packages/audiences/components/uet-tag/uet-tag-help-view.js","../../../../campaign-legacy/packages/budget/shared/defaultBid.js","../../../../campaign-legacy/packages/cache-manager/index.js","../../../../campaign-legacy/packages/common-grid-config/column/bi-columns/bi-column-properties.js","../../../../campaign-legacy/packages/campaigns-tab-campaigns/grid/columns-config-base.js","../../../../campaign-legacy/packages/common-grid-config/column/bi-columns/base-bi-column-factory.js","../../../../campaign-legacy/packages/common-grid-config/budget/get-budget-range.js","../../../../campaign-legacy/packages/common-grid-config/filter/filter-storage-factory.js","../../../../campaign-legacy/packages/common-grid-config/filter/legacy-filter-preference-adapter.js","../../../../campaign-legacy/packages/crud-ad/service/adCustomizersUtils.js","../../../../campaign-legacy/packages/crud-ad/service/finalUrl.js","../../../../campaign-legacy/packages/crud-ad/service/displayUrl.js","../../../../campaign-legacy/packages/crud-ad/service/getDomain.js","../../../../campaign-legacy/packages/crud-ad/service/utils/i18n-dummy-vnext.js","../../../../campaign-legacy/packages/crud-ad/service/utils/constants.js","../../../../campaign-legacy/packages/crud-ad/service/utils/countdown.js","../../../../campaign-legacy/packages/crud-ad/service/utils/keyword.js","../../../../campaign-legacy/packages/crud-ad/service/utils/feeds.js","../../../../campaign-legacy/packages/crud-ad/service/utils/picker.js","../../../../campaign-legacy/packages/crud-ad/service/utils/query-feeds-by-name.js","../../../../campaign-legacy/packages/crud-ad/service/utils/query-feed-attribute-sample-value.js","../../../../campaign-legacy/packages/crud-ad/viewmodel/adsPreview/expandedTextAd.js","../../../../campaign-legacy/packages/crud-campaign/view/campaign-selector-repository.js","../../../../campaign-legacy/packages/crud-campaign/view/campaign-selector-proxy.js","../../../../campaign-legacy/packages/dashboard-cards/competition-card/data-fetch.js","../../../../campaign-legacy/packages/dashboard-cards/competition-card/tileLoader-new.js","../../../../campaign-legacy/packages/dashboard-cards/competition-card/competition-graph-new.js","../../../../campaign-legacy/packages/dashboard-cards/competition-card/index-new.js","../../../../campaign-legacy/packages/dashboard-cards/performance-card/defaultMetrics.js","../../../../campaign-legacy/packages/performance-graph/switcher.js","../../../../campaign-legacy/packages/performance-graph/formatter.js","../../../../campaign-legacy/packages/performance-graph/coerce-metric.js","../../../../campaign-legacy/packages/performance-graph/parse-api-date.js","../../../../campaign-legacy/packages/performance-graph/graph/line-symbols.js","../../../../campaign-legacy/packages/performance-graph/graph/viewmodel.js","../../../../campaign-legacy/packages/performance-graph/graph/index.js","../../../../campaign-legacy/packages/performance-graph/no-data/index.js","../../../../campaign-legacy/packages/performance-graph/has-error/index.js","../../../../campaign-legacy/packages/performance-graph/mock-data-fetch.js","../../../../campaign-legacy/packages/performance-graph/index.js","../../../../campaign-legacy/packages/dashboard-cards/performance-card/metrics-picker/index.js","../../../../campaign-legacy/packages/dashboard-cards/performance-card/index.js","../../../../campaign-legacy/packages/dashboard-cards/tips-card/data-fetch.js","../../../../campaign-legacy/packages/dashboard-cards/tips-card/consts.js","../../../../campaign-legacy/packages/dashboard-cards/tips-card/coupon-flyout.js","../../../../campaign-legacy/packages/dashboard-cards/tips-card/index.js","../../../../campaign-legacy/packages/dashboard-cards/top-locations-card/index.js","../../../../campaign-legacy/packages/dashboard-cards/top-locations-card/location-util.js","../../../../campaign-legacy/packages/dashboard-cards/welcome-tips-card/coupon-status.js","../../../../campaign-legacy/packages/dashboard-cards/welcome-tips-card/welcome-tips-config.js","../../../../campaign-legacy/packages/dashboard-cards/welcome-tips-card/index.js","../../../../campaign-legacy/packages/dashboard-page/dashboard/data-fetch-manager.js","../../../../campaign-legacy/packages/dashboard-page/dashboard/data-fetch-pmax-overview.js","../../../../campaign-legacy/packages/dashboard-page/dashboard/data-fetch-welcome.js","../../../../campaign-legacy/packages/dashboard-page/service/es6-import.js","../../../../campaign-legacy/packages/dashboard-page/service/load-map.js","../../../../campaign-legacy/packages/hotel-center-edm/index.js","../../../../campaign-legacy/packages/hotel-center-js-data/js-data-extension.js","../../../../campaign-legacy/packages/hotel-center-edm/callable-extension.js","../../../../campaign-legacy/packages/hotel-center-js-data/index.js","../../../../campaign-legacy/packages/import-campaigns/shared/import-task-item-helper.js","../../../../campaign-legacy/packages/instrumentation/setup.js","../../../../campaign-legacy/packages/instrumentation/perf-timing.js","../../../../campaign-legacy/packages/instrumentation/index.js","../../../../campaign-legacy/packages/location-targets/util/addressResolver.js","../../../../campaign-legacy/packages/location-targets/util/bingmap-vnext.js","../../../../campaign-legacy/packages/location-targets/util/constants.js","../../../../campaign-legacy/packages/location-targets/util/geoConverter.js","../../../../campaign-legacy/packages/location-targets/util/geoService.js","../../../../campaign-legacy/packages/location-targets/util/languageBundle.js","../../../../campaign-legacy/packages/location-targets/util/locationCache.js","../../../../campaign-legacy/packages/location-targets/util/locationIntermediateHelper.js","../../../../campaign-legacy/packages/location-targets/util/locationTargetContext.js","../../../../campaign-legacy/packages/location-targets/util/locationTargetConverter.js","../../../../campaign-legacy/packages/location-targets/util/locationTargetTypes.js","../../../../campaign-legacy/packages/location-targets/util/unitMaps.js","../../../../campaign-legacy/packages/location-targets/viewmodel/locationMap.js","../../../../campaign-legacy/packages/location-targets/view/locationMap.js","../../../../campaign-legacy/packages/location-targets/viewmodel/targetOptions.js","../../../../campaign-legacy/packages/performance-graph/data-fetch.js","../../../../campaign-legacy/packages/performance-graph/graph/color.js","../../../../campaign-legacy/packages/performance-metric-formatter/index.js","../../../../campaign-legacy/packages/alert/model/uet.js","../../../../campaign-legacy/packages/popover/conversion-advisor-entrypoint.js","../../../../campaign-legacy/packages/popover/popover-view.js","../../../../campaign-legacy/packages/popover/positions.js","../../../../campaign-legacy/packages/popover/contents/titled.js","../../../../campaign-legacy/packages/popover/contents/pager.js","../../../../campaign-legacy/packages/popover/contents/paged.js","../../../../campaign-legacy/packages/popover/index.js","../../../../campaign-legacy/packages/resources-prefetch/campaignui-resources-prefetch.js","../../../../campaign-legacy/packages/scheduled-import/view/import-type.js","../../../../campaign-legacy/packages/scheduled-import/view/utils/google-import-utils.js","../../cache-bridge/src/index.js","../../campaigns-data/src/data-fetch-config.js","../../campaigns-data/src/index.js","../../campaigns-data/src/filter-config.js","../../campaigns-data/src/data-fetch-source.js","../../../../campaign-legacy/packages/alert/template/action-link.pug","../../../../campaign-legacy/packages/alert/template/enable-auto-tagging.pug","../../../../campaign-legacy/packages/audience-association/template/association-section.pug","../../../../campaign-legacy/packages/audience-association/template/audienceInternalization.pug","../../../../campaign-legacy/packages/audience-association/template/bulkEditListSizeHeader.pug","../../../../campaign-legacy/packages/audience-association/template/bulkEditListSizeItemFunc.pug","../../../../campaign-legacy/packages/audience-association/template/bulkEditTreeListSizeItem.pug","../../../../campaign-legacy/packages/audience-association/template/fallbackPopover.pug","../../../../campaign-legacy/packages/audience-association/template/fallbackPopoverTitle.pug","../../../../campaign-legacy/packages/audience-association/template/listSizeHeader.pug","../../../../campaign-legacy/packages/audience-association/template/listSizeItemFunc.pug","../../../../campaign-legacy/packages/audience-association/template/scopeEntitySelector.pug","../../../../campaign-legacy/packages/audience-association/template/treeListSizeItem.pug","../../../../campaign-legacy/packages/audiences/components/audience-type/type-selector-template.pug","../../../../campaign-legacy/packages/audiences/components/create-audience/popup-footer-template.pug","../../../../campaign-legacy/packages/audiences/components/popup/audience-status-popover-template.pug","../../../../campaign-legacy/packages/audiences/components/popup/audiences-popup-footer-template.pug","../../../../campaign-legacy/packages/audiences/components/popup/audiences-popup-template.pug","../../../../campaign-legacy/packages/audiences/components/product-audience/product-audience-creation-template.pug","../../../../campaign-legacy/packages/audiences/components/product-audience/product-audience-popup-template.pug","../../../../campaign-legacy/packages/audiences/components/uet-tag/uet-tag-help-template.pug","../../../../campaign-legacy/packages/audiences/components/uet-tag/uet-tag-selector-template.pug","../../../../campaign-legacy/packages/dashboard-cards/competition-card/template.pug","../../../../campaign-legacy/packages/dashboard-cards/performance-card/metrics-picker/template.pug","../../../../campaign-legacy/packages/dashboard-cards/performance-card/template.pug","../../../../campaign-legacy/packages/dashboard-cards/tips-card/coupon-flyout-template.pug","../../../../campaign-legacy/packages/dashboard-cards/tips-card/template.pug","../../../../campaign-legacy/packages/dashboard-cards/top-locations-card/map-template.pug","../../../../campaign-legacy/packages/dashboard-cards/top-locations-card/metric-picker-button-template.pug","../../../../campaign-legacy/packages/dashboard-cards/top-locations-card/template.pug","../../../../campaign-legacy/packages/dashboard-cards/top-locations-card/tooltip.pug","../../../../campaign-legacy/packages/dashboard-cards/welcome-tips-card/template.pug","../../../../campaign-legacy/packages/location-targets/template/bingmap.pug","../../../../campaign-legacy/packages/location-targets/template/infobox.pug","../../../../campaign-legacy/packages/performance-graph/graph/label-template.pug","../../../../campaign-legacy/packages/performance-graph/graph/template.pug","../../../../campaign-legacy/packages/performance-graph/graph/tooltip-template-ui-next.pug","../../../../campaign-legacy/packages/performance-graph/has-error/template.pug","../../../../campaign-legacy/packages/performance-graph/no-data/template.pug","../../../../campaign-legacy/packages/performance-graph/template.pug","../../../../campaign-legacy/packages/popover/template/contents/paged.pug","../../../../campaign-legacy/packages/popover/template/contents/pager.pug","../../../../campaign-legacy/packages/popover/template/contents/titled.pug","../../../../campaign-legacy/packages/popover/template/index.pug"],"sourcesContent":["var map = {\n\t\"./ar-AE.json\": 783698,\n\t\"./ar-BH.json\": 959578,\n\t\"./ar-DZ.json\": 181778,\n\t\"./ar-EG.json\": 522420,\n\t\"./ar-IQ.json\": 912646,\n\t\"./ar-JO.json\": 634671,\n\t\"./ar-KW.json\": 433442,\n\t\"./ar-LB.json\": 79490,\n\t\"./ar-LY.json\": 672283,\n\t\"./ar-MA.json\": 780018,\n\t\"./ar-OM.json\": 31484,\n\t\"./ar-QA.json\": 525214,\n\t\"./ar-SA.json\": 988260,\n\t\"./ar-TN.json\": 639022,\n\t\"./ar-YE.json\": 562410,\n\t\"./bg.json\": 544233,\n\t\"./cs.json\": 972448,\n\t\"./da.json\": 618053,\n\t\"./de-AT.json\": 888865,\n\t\"./de-CH.json\": 688443,\n\t\"./de.json\": 932497,\n\t\"./el.json\": 52779,\n\t\"./en-AU.json\": 617970,\n\t\"./en-CA.json\": 893956,\n\t\"./en-GB.json\": 272445,\n\t\"./en-IE.json\": 468810,\n\t\"./en-IN.json\": 509123,\n\t\"./en-MY.json\": 950506,\n\t\"./en-NZ.json\": 74828,\n\t\"./en-PH.json\": 556196,\n\t\"./en-SG.json\": 129386,\n\t\"./en.json\": 484645,\n\t\"./es-AR.json\": 381582,\n\t\"./es-CL.json\": 635990,\n\t\"./es-CO.json\": 82359,\n\t\"./es-MX.json\": 16312,\n\t\"./es-PE.json\": 521506,\n\t\"./es-VE.json\": 804956,\n\t\"./es.json\": 77486,\n\t\"./fi.json\": 726335,\n\t\"./fil.json\": 634421,\n\t\"./fr-CA.json\": 264933,\n\t\"./fr.json\": 354886,\n\t\"./hi.json\": 192465,\n\t\"./hr.json\": 902524,\n\t\"./hu.json\": 372413,\n\t\"./id.json\": 248079,\n\t\"./it.json\": 736991,\n\t\"./ja.json\": 915771,\n\t\"./ko.json\": 84204,\n\t\"./lt.json\": 146558,\n\t\"./lv.json\": 16748,\n\t\"./ms-BN.json\": 670373,\n\t\"./ms.json\": 335142,\n\t\"./nb.json\": 979726,\n\t\"./nl.json\": 50520,\n\t\"./pl.json\": 111170,\n\t\"./pt.json\": 123722,\n\t\"./ro.json\": 656273,\n\t\"./ru.json\": 646095,\n\t\"./sl.json\": 490497,\n\t\"./sv-FI.json\": 772347,\n\t\"./sv.json\": 93343,\n\t\"./th.json\": 159762,\n\t\"./tr.json\": 623912,\n\t\"./uk.json\": 944326,\n\t\"./vi.json\": 45551,\n\t\"./zh-Hans.json\": 931239,\n\t\"./zh-Hant-HK.json\": 448712,\n\t\"./zh-Hant.json\": 785418\n};\n\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(function() {\n\t\tif(!__webpack_require__.o(map, req)) {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\tvar id = map[req];\n\t\treturn __webpack_require__.t(id, 3 | 16);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 267954;\nmodule.exports = webpackAsyncContext;","import { getSharedColumnConfiguration } from '@bingads-webui-campaign/accounts-grid';\r\nimport appConfig from '@bingads-webui-component-legacy/config/index';\r\n\r\nconst SharedColumnConfiguration = getSharedColumnConfiguration(appConfig);\r\n\r\nexport default SharedColumnConfiguration;\r\n","import SharedColumnConfiguration from '@bingads-webui-campaign-legacy/accounts-summary/vnext/shared-column-configuration';\r\nimport edm from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport globalConfig from '@bingads-webui-component-legacy/config/index';\r\nimport jsdataCampaign from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport _ from 'underscore';\r\nimport { addPoPFields } from '@bingads-webui-component-legacy/bingads-grid/shared/schema-util-helper';\r\nimport sessionStore from '@bingads-webui-component-legacy/js-data-storage/session-storage';\r\nimport { getFilters } from '@bingads-webui-component-legacy/bingads-grid/service/filter-preferences';\r\nimport { fetchSortInfo } from '@bingads-webui-component-legacy/bingads-grid/service/fetch-sortinfo';\r\nimport {\r\n initialize,\r\n updateEntitySchemaForPilotFeatures,\r\n updateEntitySchemaForPartialConversions,\r\n updateEntitySchemaForSOV,\r\n updateEntitySchemaForRemovedPerformanceMetrics,\r\n enableForAudienceSOVFeatures,\r\n getCommonFilterConfig,\r\n} from '@bingads-webui-campaign/common-grid-config';\r\n\r\nimport { FilterStorageFactory } from '@bingads-webui-campaign/filter-storage';\r\nimport { FilterService } from '@bingads-webui/filter-service';\r\nimport { cloneDeep } from '@bingads-webui-universal/primitive-utilities';\r\n\r\nimport * as ColumnChooserPreference from '@bingads-webui-component-legacy/bingads-grid/service/column-chooser-preferences';\r\nimport * as CustomColumnPreference from '@bingads-webui-component-legacy/bingads-grid/service/custom-column-preferences';\r\nimport * as SegmentationPreference from '@bingads-webui-component-legacy/bingads-grid/service/segmentation-preferences';\r\nimport * as fetchPagination from '@bingads-webui-component-legacy/bingads-grid/service/fetch-pagination';\r\nimport { getLoadDirectlyLinkedAccountsPreference } from '@bingads-webui-component-legacy/bingads-grid/service/linked-accounts-preferences';\r\nimport { applyCustomerHierarchyExtrasFilter, customerHierarchyColumnsToIgnore } from '@bingads-webui-component-legacy/bingads-grid/shared/customer-hierarchy-helper';\r\nimport { appendNewManagementDashboardExtrasFilter } from '@bingads-webui-component-legacy/bingads-grid/shared/management-dashboard-helper';\r\nimport dateUtil from '@bingads-webui-component-legacy/humanize/date';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nimport { Account } from '@bingads-webui-campaign/campaign-ui-schemas';\r\nimport { getColumnsConversionMap } from '@bingads-webui-campaign/column-conversions';\r\n\r\nimport dataContextManager from '@bingads-webui-static-legacy/summary/SummaryDataContextManager';\r\nimport cacheService from '@bingads-webui-static-legacy/cache-service';\r\n\r\nconst mockI18n = {\r\n get: _.identity,\r\n getString: _.identity,\r\n type: _.identity,\r\n enum: _.identity,\r\n value: _.identity,\r\n enumMappedString: _.identity,\r\n enumDescription: _.identity,\r\n valueDescription: _.identity,\r\n parseInt: _.identity,\r\n property: _.identity,\r\n};\r\nconst i18nCache = {\r\n i18n: mockI18n,\r\n newI18n: mockI18n,\r\n legacyGlobalI18n: mockI18n,\r\n schemaI18nCampaign: mockI18n,\r\n};\r\n\r\nconst accountsSchema = Account;\r\nconst accountInactiveReasonsSchema = window.globalLegacySchema.get('AccountInactiveReason');\r\n\r\nconst appName = 'CampaignUI';\r\nconst featureName = 'PerformanceGrid';\r\nconst {\r\n columnsMap,\r\n defaultColumns,\r\n getLockedColumns,\r\n} = SharedColumnConfiguration;\r\n\r\nconst permissions = globalConfig.get('Permissions');\r\n\r\nconst {\r\n IsAccountDashboardAlertsColumnAllowed,\r\n IsAccountSummaryGridDataActionEnabled,\r\n IsCustomColumnsInAccountsSummarySupported,\r\n IsCustomerHierarchyEnabled,\r\n IsManagementDashboardEnabled,\r\n IsAvgPositionDeprecationPhase2Enabled,\r\n IsAccountLabelsEnabled,\r\n dynamic = {},\r\n} = permissions;\r\nconst {\r\n ColumnConversion: IsColumnConversionEnabled,\r\n AccountSummaryFilterImprovementEnabled,\r\n} = dynamic;\r\nconst isOdataActionSource = IsAccountSummaryGridDataActionEnabled || IsCustomColumnsInAccountsSummarySupported;\r\nconst customColumnsEnabled =\r\n IsCustomColumnsInAccountsSummarySupported;\r\n\r\nconst odata = {\r\n ignoreCase: false,\r\n};\r\n\r\nif (IsAccountDashboardAlertsColumnAllowed) {\r\n const getAccountInactiveReasonsContainsQuery = (value) => {\r\n return `AccountInactiveReasons/any(r:r/Reason eq ${value})`;\r\n };\r\n\r\n const getAccountInactiveReasonsDoesNotContainQuery = (value) => {\r\n return `AccountInactiveReasons/all(r:r/Reason ne ${value})`;\r\n };\r\n\r\n odata.custom = {\r\n AccountInactiveReasons: {\r\n contains: getAccountInactiveReasonsContainsQuery,\r\n doesnotcontain: getAccountInactiveReasonsDoesNotContainQuery,\r\n },\r\n };\r\n}\r\n\r\nfunction getFilterOptions(resourceType, filterType) {\r\n return {\r\n resourceId: `${resourceType}-filter-storage`,\r\n entryId: `AdsApps(${appName})/Grids(${featureName})/${filterType}`,\r\n };\r\n}\r\n\r\nfunction schemaProcessor(schema) {\r\n let properties = {\r\n fields: _.map(schema.properties, (field) => {\r\n let { name } = field;\r\n\r\n return _.extend(field, { name });\r\n }),\r\n };\r\n\r\n // The function below needs to be decoupled from i18n and schemaI18n,\r\n // should probably be in FilterService\r\n properties = addPoPFields(properties);\r\n\r\n if (IsAccountDashboardAlertsColumnAllowed) {\r\n const property = accountInactiveReasonsSchema.properties.Reason;\r\n let enumValues = _.without(property.enum, 'NotSet');\r\n\r\n // enumValues needs to have this following string format for filter-service to avoid returning undefined\r\n // in the filter convert functions (component/filter/converter/kendo.js)\r\n enumValues = _.map(enumValues, (enumValue) => `Enum.AccountInactiveReasonCode'${enumValue}'`);\r\n\r\n properties.fields.push({\r\n name: 'AccountInactiveReasons',\r\n chooseType: 'select',\r\n operators: ['contains', 'doesnotcontain'],\r\n enum: enumValues,\r\n type: 'string',\r\n property: 'AccountInactiveReasons', // necessary for filter Service\r\n originalProperty: 'AccountInactiveReasons', // necessary for filter Service\r\n filterable: true, // necessary for filter Service\r\n });\r\n }\r\n\r\n schema.properties = _.reduce(\r\n properties.fields,\r\n (memo, prop) => {\r\n memo[prop.name] = prop;\r\n return memo;\r\n },\r\n {},\r\n );\r\n\r\n return schema;\r\n}\r\n\r\nfunction odataOptionsProcessor(odataOptions) {\r\n const custom = odataOptions.custom;\r\n\r\n if (custom) {\r\n odataOptions.odata = { custom };\r\n }\r\n\r\n return odataOptions;\r\n}\r\n\r\nfunction appendExpand(queryParams) {\r\n const labelsColumn = 'Labels';\r\n\r\n if (IsAccountLabelsEnabled) {\r\n queryParams.expand = queryParams.expand ? queryParams.expand.concat(labelsColumn) : [labelsColumn];\r\n }\r\n\r\n return queryParams;\r\n}\r\n\r\nfunction appendCustomerHierarchyExtras(queryparams) {\r\n queryparams.select = applyCustomerHierarchyExtrasFilter(queryparams.select, IsCustomerHierarchyEnabled);\r\n queryparams.select = appendNewManagementDashboardExtrasFilter(queryparams.select);\r\n\r\n return queryparams;\r\n}\r\n\r\nfunction updateQueryParams(queryParams) {\r\n return appendExpand(appendCustomerHierarchyExtras(queryParams));\r\n}\r\n\r\nconst initialQuery = isOdataActionSource ? { gridDataParameters: {} } : {};\r\n\r\ninitialize({ globalConfig });\r\nlet entitySchema;\r\nconst refreshCampaignCache = 'x-ms-refreshcampaigncache';\r\nconst lastWriteTimeFlag = 'x-ms-lastwritetime';\r\n\r\nexport function getConfig() {\r\n edm.customerIdType.useAdvertiserCustomerId = false;\r\n const entitySet = edm.currentCustomer.Accounts['Default.GridData'];\r\n\r\n let filterService;\r\n\r\n if (AccountSummaryFilterImprovementEnabled) {\r\n entitySchema = cloneDeep(accountsSchema);\r\n\r\n const filterConfig = getCommonFilterConfig({\r\n schemaProcessor,\r\n featureName,\r\n entitySchema,\r\n ...i18nCache,\r\n sessionStore,\r\n preferenceStoreFactory: getFilters,\r\n globalConfig,\r\n dataContextManager,\r\n jsdata: jsdataCampaign,\r\n cacheService,\r\n edm,\r\n state,\r\n });\r\n\r\n filterService = new FilterService(filterConfig);\r\n } else {\r\n entitySchema = _.compose(\r\n updateEntitySchemaForPilotFeatures,\r\n updateEntitySchemaForPartialConversions,\r\n updateEntitySchemaForSOV,\r\n updateEntitySchemaForRemovedPerformanceMetrics,\r\n enableForAudienceSOVFeatures,\r\n )(cloneDeep(accountsSchema));\r\n\r\n const storageFactory = new FilterStorageFactory({\r\n preferenceStoreFactory: getFilters,\r\n sessionStore,\r\n featureName,\r\n });\r\n\r\n filterService = new FilterService({\r\n storageFactory,\r\n storageOptions: {\r\n editableFilterOptions: getFilterOptions('grid', 'CurrentFilter'),\r\n quickFilterOptions: getFilterOptions('quick', 'QuickFilter'),\r\n },\r\n schemaProcessor,\r\n odataOptionsProcessor,\r\n getLegacySaved: false,\r\n entitySchema,\r\n odata,\r\n });\r\n }\r\n\r\n let gridDataParameterDecorator = { name: 'gridDataParameters', entitySet };\r\n let decorators = [\r\n {\r\n name: 'columnChooser',\r\n customColumnsEnabled,\r\n IsAvgPositionDeprecationPhase2Enabled,\r\n columnsMap: columnsMap(),\r\n defaultColumns: defaultColumns(featureName),\r\n lockedColumns: getLockedColumns(),\r\n comparisonPoPColumns: [\r\n 'PeriodPerformanceMetrics',\r\n 'PerformanceMetricsChange',\r\n 'PerformanceMetricsChangePercentage',\r\n ],\r\n },\r\n { name: 'dateFilter' },\r\n { name: 'segment' },\r\n { name: 'pagination' },\r\n { name: 'sorting', ignoreColumns: customerHierarchyColumnsToIgnore(IsCustomerHierarchyEnabled || IsManagementDashboardEnabled) },\r\n { name: 'filter', filterService, ignoreColumns: customerHierarchyColumnsToIgnore(IsCustomerHierarchyEnabled || IsManagementDashboardEnabled) },\r\n { run: (queryParams) => updateQueryParams(queryParams) },\r\n ];\r\n\r\n gridDataParameterDecorator.isCustomerHierachyRequest = IsCustomerHierarchyEnabled || IsManagementDashboardEnabled;\r\n gridDataParameterDecorator.preloadOptions = 'UsePreload';\r\n if (IsCustomerHierarchyEnabled) {\r\n gridDataParameterDecorator.loadDirectlyLinkedAccounts = () => getLoadDirectlyLinkedAccountsPreference(featureName);\r\n }\r\n decorators.push(gridDataParameterDecorator);\r\n\r\n return {\r\n filterService,\r\n dataSource: {\r\n type: 'jsdata',\r\n entity: jsdataCampaign.Account,\r\n options: {\r\n entitySet: edm.currentCustomer.Accounts,\r\n cacheResponse: false,\r\n headers: {\r\n [refreshCampaignCache]: true,\r\n [lastWriteTimeFlag]: 'Max',\r\n },\r\n useDfmCache: true,\r\n },\r\n },\r\n queryBuilder: {\r\n decorators,\r\n commonConfig: {\r\n featureName,\r\n isOdataActionSource,\r\n appConfig: globalConfig,\r\n appState: state,\r\n deps: {\r\n dateUtil,\r\n state,\r\n ColumnChooserPreference,\r\n CustomColumnPreference,\r\n SegmentationPreference,\r\n fetchPaginationConfig: fetchPagination.fetchPaginationConfig,\r\n fetchSortInfo,\r\n },\r\n IsColumnConversionEnabled,\r\n ...IsColumnConversionEnabled ? {\r\n columnConversions: getColumnsConversionMap(featureName, permissions),\r\n } : {},\r\n },\r\n initialQuery,\r\n },\r\n };\r\n}\r\n","import _ from 'underscore';\r\nimport pageContext from '@bingads-webui-static-legacy/page-context';\r\n\r\nexport const campaignTypeEnum = {\r\n 1: 'search',\r\n 2: 'shopping',\r\n 4: 'dynamicSearch',\r\n 8: 'audience',\r\n 32: 'hotel',\r\n 6: 'performanceMax',\r\n};\r\n\r\nexport const MTCampaignTypeEnum = {\r\n Default: 1,\r\n Shopping: 2,\r\n AudienceVideoAds: 3,\r\n DynamicSearchAds: 4,\r\n Audience: 8,\r\n Hotel: 32,\r\n PerformanceMax: 6,\r\n};\r\n\r\nexport default function get(campaign) {\r\n return _.result(campaignTypeEnum, _.result(campaign || pageContext.CurrentCampaign, 'CampaignType'));\r\n}\r\n\r\nexport const types = _.mapObject(_.invert(campaignTypeEnum), (id) => {\r\n return Number(id);\r\n});\r\n","import Promise from 'bluebird';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport { queryify } from '@bingads-webui/url-util';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\n\r\nfunction loadExclusionUrl (campaignId, adgroupId, level) {\r\n if (level === 'campaign') {\r\n return queryify('/Campaign/Newcampaign/GetExclusions', {\r\n aid: state.get('account_id'),\r\n cid: state.get('customer_id'),\r\n uid: state.get('user_id'),\r\n campaignId,\r\n });\r\n }\r\n\r\n return queryify('/Campaign/Newadgroup/GetExclusions', {\r\n aid: state.get('account_id'),\r\n cid: state.get('customer_id'),\r\n uid: state.get('user_id'),\r\n campaignId,\r\n adgroupId,\r\n });\r\n}\r\n\r\nexport default {\r\n load(campaignId, adgroupId, level) {\r\n if (level === 'campaign') {\r\n return Promise.join(jsdata.Exclusion.find(campaignId, { adapter: 'legacy', url: loadExclusionUrl(campaignId, adgroupId, level), bypassCache: true}));\r\n }\r\n\r\n return Promise.join(\r\n jsdata.Exclusion.find(campaignId, { adapter: 'legacy', url: loadExclusionUrl(campaignId, adgroupId, 'campaign'), bypassCache: true}),\r\n jsdata.Exclusion.find(adgroupId, { adapter: 'legacy', url: loadExclusionUrl(campaignId, adgroupId, level), bypassCache: true}));\r\n },\r\n\r\n saveExtensions(data, level = 'campaign') {\r\n let url = level === 'campaign' ? '/campaign/newcampaign/EditExclusions' : '/campaign/newadgroup/EditExclusions';\r\n\r\n url = queryify(url, {\r\n aid: state.get('account_id'),\r\n cid: state.get('customer_id'),\r\n uid: state.get('user_id'),\r\n });\r\n\r\n return jsdata.Exclusion.create(data, {\r\n adapter: 'legacy',\r\n url,\r\n 'contentType': 'application/json',\r\n cacheResponse: false,\r\n preProcess: (res) => {\r\n if (res.NegativeSitesResult || res.NegativeIPsResult) {\r\n throw res;\r\n }\r\n return res;\r\n },\r\n });\r\n },\r\n};\r\n","import _ from 'underscore';\r\nimport Promise from 'bluebird';\r\nimport legacy$ from 'jquery';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nimport { Account } from './scopes';\r\n\r\nlet $p$CCStatusNotifications = null;\r\n\r\nconst notificationType = {\r\n BannerAlert: 'BannerAlert',\r\n UnifiedQueueAlert: 'UnifiedQueueAlert',\r\n};\r\n\r\nconst notificationLevelMapping = {\r\n danger: 'Error',\r\n warning: 'Warning',\r\n info: 'Info',\r\n success: 'Confirmation',\r\n};\r\n\r\nconst notificationDismissibleMapping = {\r\n danger: false,\r\n warning: true,\r\n info: true,\r\n success: true,\r\n};\r\n\r\nexport function getClientCenterStatusNotifications() {\r\n if (!$p$CCStatusNotifications) {\r\n $p$CCStatusNotifications = new Promise((resolve) => {\r\n legacy$.advertiser.ajaxGet({\r\n url: `/cc/Notifications/StatusNotifications?rurl=${encodeURIComponent(window.location.href)}&aid=${state.get('account_id')}&cid=${state.get('customer_id')}&uid=${state.get('user_id')}`,\r\n onSuccess(notifications) {\r\n resolve(notifications);\r\n },\r\n // For this call we don't want to show any errors to user, so\r\n // below lines are required to prevent hiding loading panel and showing errors\r\n ignoreBeforeAjax: true,\r\n hideLoadingPanelOnSuccess: false,\r\n onAjaxError() {\r\n resolve({});\r\n },\r\n onAjaxComplete: _.noop,\r\n onJsonError() {\r\n resolve({});\r\n },\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n });\r\n });\r\n }\r\n\r\n return $p$CCStatusNotifications;\r\n}\r\n\r\nexport function convertCCStatusNotificationToAlerts(notifications, notificationFilter) {\r\n if (notifications && _.isArray(notifications) && !_.isEmpty(notifications)) {\r\n return _.map(_.filter(notifications, notificationFilter), (notification) => {\r\n if (notification.alertType === notificationType.UnifiedQueueAlert) {\r\n notification.scopeLevel = Account;\r\n return notification;\r\n } else {\r\n return {\r\n condition: true,\r\n alert: {\r\n message: notification.NotificationMessage,\r\n level: notificationLevelMapping[notification.NotificationLevel],\r\n dismissible: notificationDismissibleMapping[notification.NotificationLevel],\r\n },\r\n id: notification.NotificationId,\r\n options: {\r\n dismissalStorageLocation: 'session',\r\n },\r\n scopeLevel: Account,\r\n };\r\n }\r\n });\r\n }\r\n return [];\r\n}\r\n\r\nexport function convertAlertToCCStatusNotification(alert, notificationStateStore) {\r\n const {unifiedQueue, notificationId, scopeLevel} = alert;\r\n const {severity, title, message, actionList} = unifiedQueue;\r\n const notification = {\r\n severity,\r\n id: alert.id,\r\n title,\r\n message,\r\n dismissAction: () => {\r\n notificationStateStore.dismissNotification(alert.id);\r\n },\r\n notificationSource: 'CampaignUIStatusNotification',\r\n notificationTypeId: notificationId,\r\n scopeLevel,\r\n };\r\n\r\n if (actionList) {\r\n notification.actionList = actionList;\r\n }\r\n return notification;\r\n}\r\n\r\nexport function convertUnifiedQueueAlertDismissAction(notification, notificationStateStore) {\r\n if (!_.isFunction(notification.dismissAction)) {\r\n notification.dismissAction = notification.dismissAction === 'CCUIServerSession' ?\r\n () => {\r\n legacy$.ajax({\r\n url: `/cc/Notifications/StatusNotifications?__adcenterAJAX=true&id=${notification.id}&aid=${state.get('account_id')}&cid=${state.get('customer_id')}&uid=${state.get('user_id')}`,\r\n type: 'DELETE',\r\n timeout: 20000,\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: () => notificationStateStore.dismissNotification(notification.id),\r\n error: () => {\r\n return null;\r\n },\r\n });\r\n } : _.noop;\r\n }\r\n return notification;\r\n}\r\n","import { Account } from './scopes';\r\nimport { getClientCenterStatusNotifications, convertCCStatusNotificationToAlerts } from './client-center-notifications';\r\n\r\nlet p$clientCenterStatusAlerts = null;\r\n\r\nexport default function getClientCenterStatusAlerts(changingScope) {\r\n if (changingScope > Account) {\r\n // we don't need update these alerts when campaign or ad group is changing\r\n return [];\r\n }\r\n\r\n if (!p$clientCenterStatusAlerts) {\r\n const ccStatusNotificationFilter = (notification) => !notification.ActionTriggered;\r\n\r\n p$clientCenterStatusAlerts = getClientCenterStatusNotifications().then((notifications) => {\r\n return convertCCStatusNotificationToAlerts(notifications, ccStatusNotificationFilter);\r\n });\r\n }\r\n return p$clientCenterStatusAlerts;\r\n}\r\n","export const $root = 0;\r\nexport const Customer = 1;\r\nexport const Account = 2;\r\nexport const Campaign = 3;\r\nexport const AdGroup = 4;\r\n","import _ from 'underscore';\r\nimport {errorEnum} from '@bingads-webui-campaign-legacy/audience-association/model/errorEnum';\r\nimport { appendLearnMoreLink } from '@bingads-webui-component-legacy/help/index';\r\nimport { levelAtConstant } from '@bingads-webui-campaign/scope-constants';\r\n\r\nconst i18n = window.globalLegacyI18n.get('component/i18n/loader!campaignui/feature/audience/association');\r\n\r\nexport default class AssociationError {\r\n constructor(errorid, property, helpLinkQuery, customMessage) {\r\n if (_.isUndefined(errorid)) {\r\n return;\r\n }\r\n\r\n this.id = errorid;\r\n this.property = _.defaults(property || {}, {level: levelAtConstant.ADGROUP});\r\n this.helpLinkQuery = helpLinkQuery || null;\r\n\r\n let errorResource = errorEnum[this.id].resource,\r\n standardErrorMessage = _.result(errorResource, property.level, errorResource);\r\n\r\n this.error = _.isUndefined(customMessage) ? i18n.get(standardErrorMessage) : customMessage;\r\n }\r\n\r\n getErrorWithLearnMore() {\r\n return this.helpLinkQuery ?\r\n appendLearnMoreLink(this.error, this.helpLinkQuery) :\r\n this.error;\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport backbone from 'backbone';\r\nimport config from '@bingads-webui-component-legacy/config/index';\r\nimport odata from '@bingads-webui-static-legacy/communication/channel/odata';\r\nimport { criterionTypes } from './consts';\r\n\r\nexport default class Model extends backbone.Model {\r\n\r\n initialize() {\r\n this.idAttribute = 'Id';\r\n\r\n const cid = config.get('CurrentAccount') ? config.get('CurrentAccount').AdvertiserCustomerID : config.get('advertiserCustomerID');\r\n\r\n this.url = `Advertiser/Customers(${cid})/Accounts()/`;\r\n }\r\n\r\n _formatUrl(options) {\r\n const maxQuery = 2000;\r\n let requestUrl = this.url;\r\n\r\n if (_.isFinite(options.campaignId)) {\r\n requestUrl += `Campaigns(${options.campaignId})/`;\r\n }\r\n\r\n if (_.isFinite(options.adgroupId)) {\r\n requestUrl += `AdGroups(${options.adgroupId})/`;\r\n }\r\n\r\n requestUrl += 'AudienceAssociations';\r\n\r\n let queries = [];\r\n\r\n if (!_.isEmpty(options.expands)) {\r\n queries.push(`$expand=${options.expands.join(',')}`);\r\n }\r\n\r\n if (options.top) {\r\n queries.push(`$top=${options.top}`);\r\n } else {\r\n queries.push(`$top=${maxQuery}`);\r\n }\r\n\r\n if (options.noExclusion) {\r\n queries.push(\r\n '$filter=Status eq Enum.AdGroupCriterionStatus\\'Active\\'' +\r\n 'or Status eq Enum.AdGroupCriterionStatus\\'Paused\\''\r\n );\r\n }\r\n\r\n if (queries.length > 0) {\r\n requestUrl += `?${queries.join('&')}`;\r\n }\r\n\r\n return requestUrl;\r\n }\r\n\r\n _fetch(options) {\r\n let expands = [];\r\n\r\n if (options.isExpandAdGroup) {\r\n expands.push(criterionTypes.AdGroupCriterion);\r\n }\r\n if (options.isExpandCampaign) {\r\n expands.push(criterionTypes.CampaignCriterion);\r\n }\r\n\r\n this.options = _.defaults(options, {\r\n expands,\r\n noExclusion: false,\r\n });\r\n\r\n return this._formatUrl(this.options);\r\n }\r\n\r\n _validate(options) {\r\n this.options = _.defaults(options, {\r\n top: 1,\r\n expands: [],\r\n noExclusion: true,\r\n });\r\n\r\n return this._formatUrl(this.options);\r\n }\r\n\r\n sync(method, model, options) {\r\n if (options && options.isValidate === true) {\r\n return odata.get(this._validate(options));\r\n } else {\r\n return odata.get(this._fetch(options));\r\n }\r\n }\r\n}\r\n\r\n","export const bidConst = {\r\n Default: 15,\r\n Min: -90,\r\n Max: 900,\r\n};\r\n\r\nexport const AssociationTypes = {\r\n Bulk: 'Bulk',\r\n Aim: 'Aim',\r\n Association: 'Association',\r\n};\r\n\r\nexport const criterionTypes = {\r\n AdGroupCriterion: 'AdGroupCriterion',\r\n CampaignCriterion: 'CampaignCriterion',\r\n};\r\n","export const errorEnum = {\r\n CGSkipped: {\r\n id: 'CGSkipped',\r\n resource: 'AudiencesAssociation_ListToAdGroup_Error_CGSkipped',\r\n },\r\n CGNotSupported: {\r\n id: 'CGNotSupported',\r\n resource: 'AudiencesAssociation_ListToAdGroup_Error_CGNotSupported',\r\n },\r\n CGNotSupportedCustomInMarket: {\r\n id: 'CGNotSupportedCustomInMarket',\r\n resource: 'AudiencesAssociation_ListToAdGroup_Error_CGNotSupported_CustomInMarket',\r\n },\r\n DeliveryChannel: {\r\n id: 'DeliveryChannel',\r\n resource: 'AudiencesAssociation_ListToAdGroup_Error_DeliveryChannel',\r\n },\r\n ListConflicting: {\r\n id: 'ListConflicting',\r\n resource: 'AudiencesAssociation_ListToAdGroup_Error_List_Conflicting',\r\n },\r\n ExceedMaxLimit: {\r\n id: 'ExceedMaxLimit',\r\n resource: 'AudiencesAssociation_ListToAdGroup_Error_ExceedMaxLimit',\r\n },\r\n MaxInMarketAudienceExclusionPerAccountLimitReached: {\r\n id: 'MaxInMarketAudienceExclusionPerAccountLimitReached',\r\n resource: 'AudiencesAssociation_ListToAdGroup_Error_MaxInMarketAudienceExclusionPerAccountLimitReached',\r\n },\r\n NoChosenList: {\r\n id: 'NoChosenList',\r\n resource: { // in case adgroup and campaign has different error messages\r\n AdGroup: 'AudiencesAssociation_ListToAdGroup_Error_NoChosenList',\r\n Campaign: 'AudiencesAssociation_ListToCampaign_Error_NoChosenList',\r\n },\r\n },\r\n ReadOnly: {\r\n id: 'ReadOnly',\r\n resource: 'AudienceAssociation_Readonly_Message',\r\n },\r\n};\r\n","export const scopeLevelEnum = {\r\n adgroup: 'adgroup',\r\n account: 'account',\r\n campaign: 'campaign',\r\n};\r\n","import _ from 'underscore';\r\nimport Promise from 'bluebird';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport edmCampaign from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport odata from '@bingads-webui-component-legacy/http/channel/odata';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nimport { MTCampaignTypeEnum } from '@bingads-webui-campaign-legacy/adgroup-create-advanced/util/campaignType';\r\nimport pageContext from '@bingads-webui-static-legacy/page-context';\r\n\r\nconst PAGE_SIZE = 10;\r\nconst locationFilter = '$filter=isof(Criterion,\\'Model.LocationCriterion\\')+or+isof(Criterion,\\'Model.RadiusCriterion\\')+or+isof(Criterion,\\'Model.LocationIntentCriterion\\')';\r\nconst EU_COUNTRIES = [\r\n 'AT',\r\n 'BE',\r\n 'DK',\r\n 'FI',\r\n 'FR',\r\n 'DE',\r\n 'IE',\r\n 'IT',\r\n 'NL',\r\n 'ES',\r\n 'SE',\r\n 'UK',\r\n 'GB',\r\n];\r\nconst cid = state.get('advertisercustomer_id');\r\nconst aid = state.get('account_id');\r\n\r\nfunction fallbackCampaignType(campaignType) {\r\n return MTCampaignTypeEnum[campaignType] || MTCampaignTypeEnum.Default;\r\n}\r\n\r\nfunction transformCampaignData(data) {\r\n if (!data || !_.isArray(data)) {\r\n return [];\r\n }\r\n\r\n const campaignData = data.map((item) => {\r\n return {\r\n Id: item.Id,\r\n name: item.Name,\r\n status: item.Status,\r\n type: fallbackCampaignType(item.CampaignType),\r\n CampaignCashback: item.CampaignCashback,\r\n CampaignSubType: item.CampaignSubType,\r\n CampaignSettings: item.CampaignSettings,\r\n BiddingScheme: item.BiddingScheme,\r\n };\r\n });\r\n\r\n return {\r\n totalCount: data.totalCount,\r\n items: campaignData,\r\n };\r\n}\r\n\r\nfunction getLocationCriterion(criterions) {\r\n const locationCriterions = _.chain(criterions.value)\r\n .map((c) => c.Criterion)\r\n .filter((c) => c['@odata.type'] === '#Model.LocationCriterion' || c['@odata.type'] === '#Model.RadiusCriterion')\r\n .value();\r\n\r\n return locationCriterions;\r\n}\r\n\r\nfunction getTargetedLocationCriterion(criterions) {\r\n return _.chain(criterions.value)\r\n .filter((c) => c['@odata.type'] && c['@odata.type'].indexOf('Biddable') !== -1)\r\n .map((c) => c.Criterion)\r\n .filter((c) => c['@odata.type'] === '#Model.LocationCriterion' || c['@odata.type'] === '#Model.RadiusCriterion')\r\n .map((c) => c.CountryCode)\r\n .compact()\r\n .map((c) => c.toUpperCase())\r\n .uniq()\r\n .value();\r\n}\r\n\r\nfunction getExcludedLocationCriterion(criterions) {\r\n return _.chain(criterions.value)\r\n .filter((c) => c['@odata.type'] && c['@odata.type'].indexOf('Negative') !== -1)\r\n .map((c) => c.Criterion)\r\n .filter((c) => c['@odata.type'] === '#Model.LocationCriterion' || c['@odata.type'] === '#Model.RadiusCriterion')\r\n .map((c) => c.CountryCode)\r\n .compact()\r\n .map((c) => c.toUpperCase())\r\n .uniq()\r\n .value();\r\n}\r\n\r\nfunction getLocationIntentCriterion(criterions) {\r\n return _.chain(criterions.value)\r\n .map((c) => c.Criterion)\r\n .filter((c) => c['@odata.type'] === '#Model.LocationIntentCriterion')\r\n .map((c) => c.IntentOption)\r\n .compact()\r\n .value();\r\n}\r\n\r\nfunction hasLocationCriterion(criterions) {\r\n if (criterions.value.length < 1) {\r\n return false;\r\n }\r\n\r\n const locationCriterions = getLocationCriterion(criterions);\r\n\r\n return locationCriterions.length > 0;\r\n}\r\n\r\nfunction getLocationCriterionByCountryCode(criterions) {\r\n const targetedLocationCriterions = getTargetedLocationCriterion(criterions);\r\n const excludedLocationCriterions = getExcludedLocationCriterion(criterions);\r\n const locationIntentCriterions = getLocationIntentCriterion(criterions);\r\n\r\n return {\r\n targetedLocationCriterions,\r\n excludedLocationCriterions,\r\n locationIntentCriterion: locationIntentCriterions.length > 0 ? locationIntentCriterions[0] : undefined,\r\n };\r\n}\r\n\r\nfunction isEuCountry(countryCode) {\r\n if (!_.isString(countryCode) || _.isEmpty(countryCode)) {\r\n return false;\r\n }\r\n\r\n const result = _.find(EU_COUNTRIES, (country) => country === countryCode);\r\n\r\n return result !== undefined;\r\n}\r\n\r\nfunction hasEuCountryInLocationCriterion(criterions) {\r\n const {\r\n targetedLocationCriterions,\r\n excludedLocationCriterions,\r\n } = getLocationCriterionByCountryCode(criterions);\r\n\r\n // targeted location is exist, check whether it's include EU target\r\n if (targetedLocationCriterions && targetedLocationCriterions.length > 0) {\r\n return _.chain(targetedLocationCriterions)\r\n .map((c) => isEuCountry(c))\r\n .reduce((c, memo) => memo || c, false)\r\n .value();\r\n } else if (excludedLocationCriterions && excludedLocationCriterions.length > 0) {\r\n // no targeted locations but, there is excluded locations.\r\n const excludedEUMarkets = _.chain(excludedLocationCriterions)\r\n .intersection(EU_COUNTRIES).value();\r\n\r\n // if all EU market to excluded, return false, else EU market is included.\r\n return !(excludedEUMarkets.length === EU_COUNTRIES.length);\r\n }\r\n\r\n // all market are targeted, including EU\r\n return true;\r\n}\r\n\r\nexport default function getCampaignData(queryText = '', pageNumber = 0, campaignId = null, forAdGroupSelection = false) {\r\n const filter = _.compact([\r\n queryText && `contains(Name, '${queryText}')`,\r\n campaignId && `Id eq ${campaignId}`,\r\n '(CampaignType ne Enum.CampaignType\\'Smart\\') and (CampaignType ne Enum.CampaignType\\'LinkedIn\\')',\r\n // add a filter to filter out all smart shopping campaigns if the SSC pilot is open.\r\n pageContext.Permissions.IsSmartShoppingCampaignEnabled ?\r\n '(CampaignSubType ne Enum.CampaignSubType\\'ShoppingSmartAds\\')' : '',\r\n ].filter((item) => item !== '')).join(' and ');\r\n\r\n const $select = _.compact([\r\n 'Id',\r\n 'Name',\r\n 'Status',\r\n 'CampaignType',\r\n 'CampaignSubType',\r\n pageContext.Permissions.IsPersonalizedOffersEnabled && 'CampaignCashback',\r\n 'BiddingScheme',\r\n 'CampaignSettings',\r\n ]).join();\r\n\r\n const query = {\r\n $select,\r\n $skip: pageNumber * PAGE_SIZE,\r\n $top: PAGE_SIZE,\r\n $orderby: 'Status ASC',\r\n };\r\n\r\n if (filter) {\r\n query.$filter = filter;\r\n }\r\n\r\n return jsdata.Campaign.findAll({\r\n query,\r\n }).then((data) => {\r\n return transformCampaignData(data);\r\n });\r\n}\r\n\r\nexport function getCampaignById(campaignId) {\r\n const params = {\r\n entitySet: edmCampaign.currentAccount.Campaigns,\r\n bypassCache: true,\r\n queryParameters: {\r\n query: {\r\n $expand: 'CampaignCriterions',\r\n },\r\n },\r\n };\r\n\r\n return jsdata.Campaign.find(Number(campaignId), params)\r\n .then((data) => {\r\n data.CampaignType = fallbackCampaignType(data.CampaignType);\r\n return data;\r\n });\r\n}\r\n\r\nexport function getCampaignLocationCriterionInfo(campaignId) {\r\n const base = `/Customers(${cid})/Accounts(${aid})/Campaigns(${campaignId})/CampaignCriterions/Model.CampaignCriterion`;\r\n const url = `${base}?$count=true&${locationFilter}`;\r\n\r\n return odata.get(url)\r\n .then((criterions) => {\r\n return _.extend({}, {\r\n isLocationRestricted: hasEuCountryInLocationCriterion(criterions),\r\n }, getLocationCriterionByCountryCode(criterions));\r\n });\r\n}\r\n\r\nexport function getAdGroupLocationCriterionInfo(campaignId, adGroupId) {\r\n const base = `/Customers(${cid})/Accounts(${aid})/Campaigns(${campaignId})/AdGroups(${adGroupId})/AdGroupCriterions/Model.AdGroupCriterion`;\r\n const url = `${base}?$count=true&${locationFilter}`;\r\n\r\n return odata.get(url)\r\n .then((criterions) => {\r\n // ad group targeting is null, get it from campaign targeting\r\n if (!hasLocationCriterion(criterions)) {\r\n return getCampaignLocationCriterionInfo(campaignId);\r\n }\r\n\r\n return Promise.resolve(_.extend({}, {\r\n isLocationRestricted: hasEuCountryInLocationCriterion(criterions),\r\n }, getLocationCriterionByCountryCode(criterions)));\r\n });\r\n}\r\n","/* eslint camelcase: 0*/\r\nimport ko from 'knockout';\r\nimport _ from 'underscore';\r\n\r\nexport default class ErrorModel {\r\n constructor(ko_model) {\r\n ko_model.errors = ko.observableArray([]);\r\n ko_model.showError = ko.observable(false);\r\n\r\n ko_model.errors.subscribe((value) => {\r\n ko_model.showError(_.size(value) !== 0 );\r\n });\r\n\r\n _.extend(ko_model.errors, {\r\n add: _.partial(this.addErrors, ko_model),\r\n clear: _.partial(this.clearErrors, ko_model),\r\n clearAll: _.bind(this.clearErrors, null, ko_model, _.constant(true)),\r\n });\r\n }\r\n\r\n addErrors(ko_model, errObjs) {\r\n let ids = _.pluck(ko_model.errors(), 'id');\r\n\r\n _.each(errObjs, (errObj) => {\r\n const index = _.indexOf(ids, errObj.id);\r\n\r\n if (index === -1) {\r\n ko_model.errors.push(errObj);\r\n } else {\r\n ko_model.errors[index] = errObj;\r\n }\r\n });\r\n }\r\n\r\n clearErrors(ko_model, predicate) {\r\n let predicate1 = predicate || _.constant(true);\r\n\r\n ko_model.errors.remove(predicate1);\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport backbone from 'backbone';\r\nimport config from '@bingads-webui-component-legacy/config/index';\r\nimport odata from '@bingads-webui-static-legacy/communication/channel/odata';\r\nimport pageContext from '@bingads-webui-static-legacy/page-context';\r\nimport audienceTypes from '@bingads-webui-campaign-legacy/audiences/components/audience-type/audienceTypes';\r\nimport { types as campaignTypes } from '@bingads-webui-campaign-legacy/adgroup-create-advanced/util/campaignType';\r\nimport { isXandrCampaign, isXandrDisplayAdsCampaign, isXandrVideoAdsCampaign, campaignShouldServeOnMSAN } from '@bingads-webui-campaign-react/constants';\r\n\r\nexport default class Collection extends backbone.Collection {\r\n initialize(options) {\r\n const campaignSubType = options.campaignSubType;\r\n const biddingScheme = options.biddingScheme;\r\n const campaignSettings = options.campaignSettings;\r\n const isAudienceCreationWorkflow = options.isAudienceCreationWorkflow;\r\n const cid = config.get('CurrentAccount') ? config.get('CurrentAccount').AdvertiserCustomerID : config.get('advertiserCustomerID');\r\n\r\n this.url = `Advertiser/Customers(${cid})/Accounts()/Audiences?$orderby=Name`;\r\n\r\n const EnableImpressionBasedList = pageContext.Permissions && pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableImpressionBasedList;\r\n const EnableMSANDisplayCampaigns = pageContext.Permissions && pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableMSANDisplayCampaigns;\r\n const EnableMSANVideoCampaigns = pageContext.Permissions && pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableMSANVideoCampaigns;\r\n const EnableCustomSegments = pageContext.Permissions && pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableKeywordCustomSegments;\r\n\r\n // The following campaign subtypes are not supported for impression based list\r\n // Display (support Display if pilot = 1344 is on)\r\n // Online Video (support OLV in AIM pilot = 1345 is on)\r\n // CTV is not supported\r\n\r\n const isDisplayInMSANEnabled = EnableMSANDisplayCampaigns && isXandrDisplayAdsCampaign(campaignSubType);\r\n const isVideoInMSANEnabled = EnableMSANVideoCampaigns && isXandrVideoAdsCampaign(campaignSubType);\r\n const shouldServeOnMSAN = isAudienceCreationWorkflow ? isDisplayInMSANEnabled || isVideoInMSANEnabled : campaignShouldServeOnMSAN(campaignSettings);\r\n const isMSANVideoCampaign = isXandrVideoAdsCampaign(campaignSubType) && shouldServeOnMSAN;\r\n const isMSANDisplayCampaign = isXandrDisplayAdsCampaign(campaignSubType) && shouldServeOnMSAN;\r\n const isNonMSANCampaign = isXandrCampaign(campaignSubType) && !shouldServeOnMSAN;\r\n const isCTVCampaign = isXandrVideoAdsCampaign(campaignSubType) && biddingScheme && biddingScheme.Type === 'ManualCpv';\r\n\r\n const allowImpressionBasedList = (EnableMSANDisplayCampaigns || !isMSANDisplayCampaign) &&\r\n (EnableMSANVideoCampaigns || !isMSANVideoCampaign) &&\r\n !isNonMSANCampaign &&\r\n !isCTVCampaign;\r\n\r\n let audiencetype = options.type || _.compact([\r\n audienceTypes.Remessaging,\r\n pageContext.Permissions.IsCustomAudienceAllowed && audienceTypes.Custom,\r\n pageContext.Permissions.IsInMarketAudienceAllowed && audienceTypes.InMarket,\r\n (pageContext.Permissions.IsAIMCampaignEnabled || pageContext.Permissions.IsProductAudienceForSearchEnabled) && audienceTypes.Product,\r\n pageContext.Permissions.IsRemarketingSimilarAudienceAllowed && audienceTypes.RemarketingSimilar,\r\n pageContext.Permissions.IsCustomerListAudienceAllowed && audienceTypes.CustomerList,\r\n pageContext.Permissions.IsCombinedListAudienceAllowed && audienceTypes.CombinedList,\r\n EnableImpressionBasedList && allowImpressionBasedList && audienceTypes.ImpressionBasedRemarketing,\r\n EnableCustomSegments && audienceTypes.CustomSegment,\r\n ]).join(',');\r\n\r\n this.url = `${this.url}&audiencetype=${audiencetype}`;\r\n\r\n this.model = options.model;\r\n\r\n if (pageContext.Permissions.IsAIMCampaignEnabled || pageContext.Permissions.IsProductAudienceForSearchEnabled) {\r\n switch (options.campaignType) {\r\n case campaignTypes.audience:\r\n this.deliveryChannel = 'AIM';\r\n break;\r\n case null:\r\n case undefined:\r\n this.deliveryChannel = 'BingAds,AIM';\r\n break;\r\n default:\r\n this.deliveryChannel = 'BingAds';\r\n }\r\n }\r\n\r\n this.url = this.deliveryChannel ? `${this.url}&deliverychannel=${this.deliveryChannel}` : this.url;\r\n }\r\n\r\n sync(method, model, options) {\r\n if (method === 'read') {\r\n return odata.get(this.url, null, options);\r\n } else {\r\n return null;\r\n }\r\n }\r\n}\r\n\r\n","import _ from 'underscore';\r\n\r\nconst i18nGlobal = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!global');\r\n\r\nconst noData = '-';\r\n\r\nconst formatter = i18nGlobal.decimalFormatter({\r\n compact: 'short',\r\n minimumFractionDigits: 0,\r\n maximumFractionDigits: 2,\r\n minimumSignificantDigits: 1,\r\n maximumSignificantDigits: 3,\r\n});\r\n\r\n/*\r\n reach value can come in 3 different formats\r\n 1. numberic value bigger than 0\r\n 2. string value format of [number / number]\r\n 3. string value (error message, empty string)\r\n*/\r\n\r\nconst formatReachNumber = (value) => {\r\n if (_.isFinite(value) && value > 0) {\r\n // Numberic value bigger than 0\r\n return formatter(value);\r\n } else if (_.isString(value)) {\r\n // Handle 2nd case, where the format is like 12345 / 23456\r\n const splitValues = value.split('/');\r\n\r\n if (splitValues.length === 2) {\r\n return `${formatReachNumber(Number.parseInt(splitValues[0]))} / ${formatReachNumber(Number.parseInt(splitValues[1]))}`;\r\n } else {\r\n // for rest of the string that is already set, error messages\r\n return value;\r\n }\r\n }\r\n\r\n return noData;\r\n};\r\n\r\nexport { formatReachNumber };\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\nimport Promise from 'bluebird';\r\nimport bidTypes from '@bingads-webui-component-legacy/schema/bid/bidType';\r\nimport pageContext from '@bingads-webui-static-legacy/page-context';\r\nimport audienceType from '@bingads-webui-component-legacy/schema/audience/audienceType';\r\nimport * as constants from '@bingads-webui-campaign-legacy/audience-association/model/consts';\r\nimport listItemTemplateFunc from '@bingads-webui-campaign-legacy/audience-association/template/listSizeItemFunc.pug';\r\nimport treeItemTemplate from '@bingads-webui-campaign-legacy/audience-association/template/treeListSizeItem.pug';\r\nimport headerTemplate from '@bingads-webui-campaign-legacy/audience-association/template/listSizeHeader.pug';\r\nimport bulkEditListItemTemplateFunc from '@bingads-webui-campaign-legacy/audience-association/template/bulkEditListSizeItemFunc.pug';\r\nimport bulkEditTreeItemTemplate from '@bingads-webui-campaign-legacy/audience-association/template/bulkEditTreeListSizeItem.pug';\r\nimport bulkEditHeaderTemplate from '@bingads-webui-campaign-legacy/audience-association/template/bulkEditListSizeHeader.pug';\r\nimport { merge } from '@bingads-webui/primitive-utilities';\r\nimport { types as campaignTypes } from '@bingads-webui-campaign-legacy/adgroup-create-advanced/util/campaignType';\r\nimport { formatReachNumber } from '@bingads-webui-campaign-legacy/audience-association/utils/format-reach-number';\r\nimport {\r\n isXandrCampaign,\r\n isXandrDisplayAdsCampaign,\r\n isXandrVideoAdsCampaign,\r\n campaignShouldServeOnMSAN,\r\n isXandrServing,\r\n} from '@bingads-webui-campaign-react/constants';\r\nimport { InMarketInternalization } from '@bingads-webui-campaign-react/ima-reach-representation';\r\n\r\nconst i18n = window.globalLegacyI18n.get('component/i18n/loader!campaignui/feature/audience/association');\r\n\r\nexport default class ViewModel {\r\n constructor(options) {\r\n this.isAssocExpanded = ko.observable(options.isAssocExpanded);\r\n this.isExclExpanded = ko.observable(options.isExclExpanded);\r\n this.isBidTypeChanged = ko.observable(options.isBidTypeChanged);\r\n this.isCustomRestrictionDisplayedOnTargeting = ko.observable(options.isCustomRestrictionDisplayedOnTargeting);\r\n this.isCustomRestrictionDisplayedOnExclusion = ko.observable(options.isCustomRestrictionDisplayedOnExclusion);\r\n this.isCustomRestrictionNotAcceptedOnTargeting = ko.observable(options.isCustomRestrictionNotAcceptedOnTargeting);\r\n this.isCustomRestrictionNotAcceptedOnExclusion = ko.observable(options.isCustomRestrictionNotAcceptedOnExclusion);\r\n this.selectedCampaigns = ko.observable();\r\n this.selectedAdgroups = ko.observable();\r\n this.isCampaignLevel = ko.observable(options.isCampaignLevel);\r\n this.supportCashbackSettings = ko.observable(options.supportCashbackSettings);\r\n\r\n this.targetingLinkColor = ko.observable('gray');\r\n this.targetingPointerEvent = ko.observable('none');\r\n this.targetingLinkTabIndex = ko.observable('-1');\r\n this.exclusionLinkColor = ko.observable('gray');\r\n this.exclusionPointerEvent = ko.observable('none');\r\n this.exclusionLinkTabIndex = ko.observable('-1');\r\n\r\n this.isCustomEnabled = pageContext.Permissions.IsCustomAudienceAllowed;\r\n this.isInMarketEnabled = pageContext.Permissions.IsInMarketAudienceAllowed;\r\n this.isRemarketingSimilarEnabled = pageContext.Permissions.IsRemarketingSimilarAudienceAllowed;\r\n this.isAIMCampaignEnabled = pageContext.Permissions.IsAIMCampaignEnabled;\r\n this.isNewAudienceEnabled = pageContext.Permissions.IsNewAudienceEnabled;\r\n this.IsProductAudienceForSearchEnabled = pageContext.Permissions.IsProductAudienceForSearchEnabled;\r\n this.IsCustomerListEnabled = pageContext.Permissions.IsCustomerListAudienceAllowed;\r\n this.IsCombinedListEnabled = pageContext.Permissions.IsCombinedListAudienceAllowed;\r\n this.isImpressionBasedListEnabled = pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableImpressionBasedList;\r\n this.isImpressionBasedListForSearchPmaxEnabled = pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableImpressionBasedListForSearchPmax;\r\n this.isAudienceCreationWorkflow = options.isAudienceCreationWorkflow;\r\n this.isKeywordCustomSegmentsEnabled = pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableKeywordCustomSegments;\r\n this.isMSANBoostEnabled = pageContext.Permissions.IsAmplifyEnabled;\r\n this.isHideBidAdjustmentForBoostEnabled = this.isMSANBoostEnabled && pageContext.Permissions.dynamic &&\r\n pageContext.Permissions.dynamic.HideBidAdjustmentForBoost;\r\n\r\n this.isAudienceTreeViewEnabled = pageContext.Permissions.IsAudienceTreeViewEnabled;\r\n this.isIMAReachRepresentationPhase1Enabled = pageContext.Permissions.IsIMAReachRepresentationPhase1Enabled;\r\n this.isEnableMSANDisplayCampaignsEnabled = pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableMSANDisplayCampaigns;\r\n this.isEnableMSANVideoCampaignsEnabled = pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableMSANVideoCampaigns;\r\n\r\n this.showIneligibleAudience = ko.observable(true);\r\n this.isIMARedesignEnabled = options.isIMARedesignEnabled;\r\n this.hideCustomSegmentsOption = options.hideCustomSegmentsOption;\r\n\r\n this.optionValues = ko.observableArray([\r\n {\r\n id: 'ListToAddgroup_BidOnly',\r\n definedvalue: bidTypes.BidOnly,\r\n text: i18n.get('AudiencesAssociation_ListToAddgroup_BidOnly'),\r\n topic: 'pop_BA_AudienceBid',\r\n message: i18n.get('AudiencesAssociation_ListToAddgroup_BidOnlyMsg'),\r\n helpAriaLabel: (i18n.get('Click to learn more about {{item}}') || '').replace('{{item}}', i18n.get('AudiencesAssociation_ListToAddgroup_BidOnly')),\r\n },\r\n {\r\n id: 'ListToAddgroup_TargetNBid',\r\n definedvalue: bidTypes.TargetAndBid,\r\n text: i18n.get('AudiencesAssociation_ListToAddgroup_TargetNBid'),\r\n topic: 'pop_BA_AudienceTargetBid',\r\n message: i18n.get('AudiencesAssociation_ListToAddgroup_TargetNBidMsg'),\r\n helpAriaLabel: (i18n.get('Click to learn more about {{item}}') || '').replace('{{item}}', i18n.get('AudiencesAssociation_ListToAddgroup_TargetNBid')),\r\n },\r\n ]);\r\n\r\n this.selectedBidType = ko.observable(options.model.get('BidType'));\r\n this.customRestrictionAccepted = ko.observable(false);\r\n this.oldBidType = null;\r\n this.allAudiences = [];\r\n this.originalAssociations = [];\r\n this.disableAction = ko.observable(true);\r\n this.isBulkEditAssociation = ko.observable(options.associationType === constants.AssociationTypes.Bulk);\r\n this.isAimCampaignAssociation = ko.observable(options.associationType === constants.AssociationTypes.Aim);\r\n this.isNormalAssociation = ko.observable(options.associationType === constants.AssociationTypes.Association);\r\n\r\n this.campaignType = options.campaignType;\r\n this.campaignSubType = options.campaignSubType;\r\n this.selectedCategory = ko.observable(audienceType.None);\r\n this.excludeSelectedCategory = ko.observable(audienceType.None);\r\n this.isXandrCampaignType = ko.observable(isXandrServing(this.campaignSubType));\r\n this.isPerformanceMaxType = ko.observable(this.campaignType === campaignTypes.performanceMax);\r\n this.isSearchCampaign = ko.observable(this.campaignType === campaignTypes.search);\r\n this.isShoppingCampaign = ko.observable(this.campaignType === campaignTypes.shopping);\r\n this.hideBidAdjustment = ko.observable(this.isHideBidAdjustmentForBoostEnabled);\r\n\r\n this.campaignSettings = options.campaignSettings;\r\n this.biddingScheme = options.biddingScheme;\r\n\r\n if (!this.isNewAudienceEnabled) {\r\n this.setSelectedCategory(audienceType.Remessaging);\r\n }\r\n\r\n // for bulk edit scenario on aim campaigns, we will show both search and audience reach size, thus alt template is needed\r\n this.templates = this.isBulkEditAssociation() && this.isAIMCampaignEnabled ? {\r\n sourceHeaderContainerTemplate: bulkEditHeaderTemplate({ i18n, isAIMCampaignEnabled: this.isAIMCampaignEnabled && this.campaignType === campaignTypes.audience }),\r\n selectedHeaderContainerTemplate: bulkEditHeaderTemplate({ i18n, isAIMCampaignEnabled: this.isAIMCampaignEnabled && this.campaignType === campaignTypes.audience }),\r\n sourceItemTemplateType: 'function',\r\n sourceItemContentTemplate: bulkEditListItemTemplateFunc,\r\n selectedItemTemplateType: 'function',\r\n selectedItemContentTemplate: bulkEditListItemTemplateFunc,\r\n treeItemContentTemplateFunction: bulkEditTreeItemTemplate,\r\n layoutTemplate: options.customizedTemplates.dlbLayoutTemplate,\r\n } : {\r\n sourceHeaderContainerTemplate: headerTemplate({ i18n, isAIMCampaignEnabled: this.isAIMCampaignEnabled && this.campaignType === campaignTypes.audience }),\r\n selectedHeaderContainerTemplate: headerTemplate({ i18n, isAIMCampaignEnabled: this.isAIMCampaignEnabled && this.campaignType === campaignTypes.audience }),\r\n sourceItemContentTemplate: listItemTemplateFunc,\r\n sourceItemTemplateType: 'function',\r\n selectedItemContentTemplate: listItemTemplateFunc,\r\n selectedItemTemplateType: 'function',\r\n treeItemContentTemplateFunction: treeItemTemplate,\r\n layoutTemplate: options.customizedTemplates.dlbLayoutTemplate,\r\n };\r\n\r\n this.configSettings = _.chain([\r\n this.isNewAudienceEnabled && {\r\n value: audienceType.None,\r\n text: i18n.get('AudienceAssociation_List_None_Entity'),\r\n paging: false,\r\n strings: {\r\n emptyMessage: i18n.get('AudienceAssociation_List_None_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: null,\r\n processItem: null,\r\n },\r\n exclusion: {\r\n listDataCallback: null,\r\n processItem: null,\r\n },\r\n },\r\n {\r\n value: audienceType.Remessaging,\r\n supportsXandrCampaign: true,\r\n text: i18n.get('AudienceAssociation_List_Remessaging_Entity'),\r\n strings: {\r\n emptyMessage: i18n.get('AudiencesAssociation_RemarketingList_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnRemessaging,\r\n processItem: options.processAssociationItemOnRemessaging,\r\n },\r\n exclusion: {\r\n listDataCallback: options.exclusionListDataCallbackOnRemessaging,\r\n processItem: options.processExclusionItemOnRemessaging,\r\n },\r\n },\r\n (this.isAIMCampaignEnabled || this.IsProductAudienceForSearchEnabled) && !pageContext.Permissions.IsDomesticSimplifiedChineseEnabled && {\r\n value: audienceType.Product,\r\n text: i18n.get('AudienceAssociation_List_Product_Entity'),\r\n strings: {\r\n emptyMessage: !options.isFromPerformanceMaxCampaign && this.isAimCampaignAssociation() ?\r\n i18n.get('AudiencesAssociation_Product_EmptyMessage_Action') :\r\n i18n.get('AudiencesAssociation_Product_EmptyMessage'),\r\n emptyMessageAction: !options.isFromPerformanceMaxCampaign && this.isAimCampaignAssociation() && {\r\n prefix: i18n.get('AudiencesAssociation_Product_EmptyMessage_Action_Prefix'),\r\n link: i18n.get('AudiencesAssociation_Product_EmptyMessage_Action_Link'),\r\n suffix: i18n.get('AudiencesAssociation_Product_EmptyMessage_Action_Suffix'),\r\n },\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnProduct,\r\n processItem: options.processAssociationItemOnProduct,\r\n },\r\n exclusion: {\r\n listDataCallback: options.exclusionListDataCallbackOnProduct,\r\n processItem: options.processExclusionItemOnProduct,\r\n },\r\n emptyMessageClick: options.onEmptyProductAudienceClick,\r\n },\r\n this.isCustomEnabled && !pageContext.Permissions.IsDomesticSimplifiedChineseEnabled && {\r\n value: audienceType.Custom,\r\n text: i18n.get('AudienceAssociation_List_Custom_Entity'),\r\n strings: {\r\n emptyMessage: i18n.get('AudiencesAssociation_Custom_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnCustom,\r\n processItem: options.processAssociationItemOnCustom,\r\n },\r\n exclusion: {\r\n listDataCallback: options.exclusionListDataCallbackOnCustom,\r\n processItem: options.processExclusionItemOnCustom,\r\n },\r\n },\r\n this.isRemarketingSimilarEnabled && !pageContext.Permissions.IsDomesticSimplifiedChineseEnabled && {\r\n value: audienceType.RemarketingSimilar,\r\n supportsXandrCampaign: true,\r\n text: i18n.get('AudienceAssociation_List_RemarketingSimilar_Entity'),\r\n strings: {\r\n emptyMessage: i18n.get('AudiencesAssociation_RemarketingSimilar_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnRemarketingSimilar,\r\n processItem: options.processAssociationItemOnRemarketingSimilar,\r\n },\r\n exclusion: {\r\n listDataCallback: options.exclusionListDataCallbackOnRemarketingSimilar,\r\n processItem: options.processExclusionItemOnRemarketingSimilar,\r\n },\r\n },\r\n this.isInMarketEnabled && !this.isIMARedesignEnabled && {\r\n value: audienceType.InMarket,\r\n supportsXandrCampaign: true,\r\n text: i18n.get('AudienceAssociation_List_InMarket_Entity'),\r\n paging: !this.isAudienceTreeViewEnabled,\r\n treeView: this.isAudienceTreeViewEnabled,\r\n strings: {\r\n emptyMessage: i18n.get('AudiencesAssociation_InMarket_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnInMarket,\r\n processItem: options.processAssociationItemOnInMarket,\r\n },\r\n exclusion: {\r\n listDataCallback: options.exclusionListDataCallbackOnInMarket,\r\n processItem: options.processExclusionItemOnInMarket,\r\n },\r\n extraOptions: this.audienceItemOptionsFunction.bind(this),\r\n extraEvents: options.events,\r\n },\r\n this.IsCustomerListEnabled && !pageContext.Permissions.IsDomesticSimplifiedChineseEnabled && {\r\n value: audienceType.CustomerList,\r\n supportsXandrCampaign: true,\r\n text: i18n.get('AudienceAssociation_List_CustomerList_Entity'),\r\n strings: {\r\n emptyMessage: i18n.get('AudiencesAssociation_CustomerList_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnCustomerList,\r\n processItem: options.processAssociationItemOnCustomerList,\r\n },\r\n exclusion: {\r\n listDataCallback: options.exclusionListDataCallbackOnCustomerList,\r\n processItem: options.processExclusionItemOnCustomerList,\r\n },\r\n extraOptions: this.audienceItemOptionsFunction.bind(this),\r\n extraEvents: options.events,\r\n },\r\n this.IsCombinedListEnabled && {\r\n value: audienceType.CombinedList,\r\n text: i18n.get('AudienceAssociation_List_CombinedList_Entity'),\r\n strings: {\r\n emptyMessage: i18n.get('AudiencesAssociation_CombinedList_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnCombinedList,\r\n processItem: options.processAssociationItemOnCombinedList,\r\n },\r\n exclusion: {\r\n listDataCallback: options.exclusionListDataCallbackOnCombinedList,\r\n processItem: options.processExclusionItemOnCombinedList,\r\n },\r\n extraOptions: this.audienceItemOptionsFunction.bind(this),\r\n extraEvents: options.events,\r\n },\r\n this.isImpressionBasedListEnabled && {\r\n value: audienceType.ImpressionBasedRemarketing,\r\n text: i18n.get('AudienceAssociation_List_ImpressionBasedList_Entity'),\r\n strings: {\r\n emptyMessage: i18n.get('AudiencesAssociation_ImpressionBasedList_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnImpressionBasedList,\r\n processItem: options.processAssociationItemOnImpressionBasedList,\r\n },\r\n exclusion: {\r\n listDataCallback: options.exclusionListDataCallbackOnImpressionBasedList,\r\n processItem: options.processExclusionItemOnImpressionBasedList,\r\n },\r\n extraOptions: this.audienceItemOptionsFunction.bind(this),\r\n extraEvents: options.events,\r\n },\r\n this.isKeywordCustomSegmentsEnabled && !this.hideCustomSegmentsOption && {\r\n value: audienceType.CustomSegment,\r\n text: i18n.get('AudienceAssociation_List_CustomSegment_Entity'),\r\n strings: {\r\n emptyMessage: i18n.get('AudiencesAssociation_CustomSegment_EmptyMessage'),\r\n },\r\n targeting: {\r\n listDataCallback: options.listDataCallbackOnKeywordCustomSegments,\r\n processItem: options.processAssociationItemOnKeywordCustomSegments,\r\n },\r\n exclusion: {\r\n listDataCallback: null,\r\n processItem: null,\r\n },\r\n extraOptions: this.audienceItemOptionsFunction.bind(this),\r\n extraEvents: options.events,\r\n },\r\n ])\r\n .compact()\r\n // Add properties shared by all categories\r\n .map((option) =>\r\n merge({\r\n type: option.value,\r\n paging: true,\r\n treeView: false,\r\n targeting: {\r\n selectedLists: ko.observableArray(),\r\n isSelected: ko.computed(() => {\r\n return this.selectedCategory() === option.value;\r\n }),\r\n },\r\n exclusion: {\r\n selectedLists: ko.observableArray(),\r\n isSelected: ko.computed(() => {\r\n return this.excludeSelectedCategory() === option.value;\r\n }),\r\n },\r\n strings: {\r\n sourceItems: option.text,\r\n selectedItems: i18n.get('AudienceAssociation_ListToAdgroup_EntityPrefix'),\r\n filterWatermark: i18n.get('DoubleListBox_Search'),\r\n listSize: i18n.get('AudiencesGrid_Header_ListSize'),\r\n emptySelectedMessage: i18n.get('AudiencesAssociation_NoAudienceSelected'),\r\n selectCategoryLabel: i18n.get('AudienceAssociation_List_None_EmptyMessage'),\r\n },\r\n templates: this.isNewAudienceEnabled && this.templates,\r\n associationAllItems: [],\r\n exclusionAllItems: [],\r\n associationEmpty: ko.observable(false),\r\n exclusionEmpty: ko.observable(false),\r\n }, option),\r\n )\r\n .value();\r\n\r\n this.configSettingsOptions = ko.observable();\r\n this.isIBRWarningON = ko.observable(false);\r\n this.exlcusionConfigSettingsOptions = ko.observable();\r\n this.selectCategoryLabel = i18n.get('AudienceAssociation_List_None_EmptyMessage');\r\n this.setCampaignType(options.campaignType, options.campaignSubType, options.biddingScheme, options.campaignSettings);\r\n\r\n this.isShowRemarketingListLinkOnTargeting = ko.computed(() =>\r\n this.selectedCategory() === audienceType.Remessaging,\r\n );\r\n this.isShowImpressedBasedListOnTargeting = ko.computed(() =>\r\n this.selectedCategory() === audienceType.ImpressionBasedRemarketing,\r\n );\r\n this.isIBRWarningON = ko.computed(() =>\r\n this.selectedCategory() === audienceType.ImpressionBasedRemarketing && (this.isSearchCampaign() === true || this.isPerformanceMaxType() === true || this.isShoppingCampaign() === true),\r\n );\r\n this.isShowRemarketingListLinkOnExclusion = ko.computed(() =>\r\n this.excludeSelectedCategory() === audienceType.Remessaging,\r\n );\r\n this.isShowImpressedBasedListOnExclusion = ko.computed(() =>\r\n this.selectedCategory() === audienceType.ImpressionsBasedRemarketing,\r\n );\r\n this.showCustomeSegmentsKeywords = ko.computed(() =>\r\n this.selectedCategory() === audienceType.CustomSegment,\r\n );\r\n\r\n const productAudienceConfig = _.findWhere(this.configSettings, { value: audienceType.Product });\r\n\r\n this.showCreateProductOnTargeting = ko.computed(() =>\r\n this.selectedCategory() === audienceType.Product &&\r\n (!this.isAimCampaignAssociation() || !productAudienceConfig.associationEmpty()),\r\n );\r\n this.showCreateProductOnExclusion = ko.computed(() =>\r\n this.excludeSelectedCategory() === audienceType.Product &&\r\n (!this.isAimCampaignAssociation() || !productAudienceConfig.exclusionEmpty()),\r\n );\r\n\r\n this.showCreateCustomerListOnTargeting = ko.computed(() =>\r\n this.selectedCategory() === audienceType.CustomerList,\r\n );\r\n this.showCreateCustomerListOnExclusion = ko.computed(() =>\r\n this.excludeSelectedCategory() === audienceType.CustomerList,\r\n );\r\n\r\n this.showCreateCombinedListOnTargeting = ko.computed(() =>\r\n this.selectedCategory() === audienceType.CombinedList,\r\n );\r\n this.showCreateCombinedListOnExclusion = ko.computed(() =>\r\n this.excludeSelectedCategory() === audienceType.CombinedList,\r\n );\r\n\r\n this.showIneligibleAudienceToggleOnTargeting = ko.computed(() =>\r\n this.selectedCategory() === audienceType.InMarket &&\r\n this.isIMAReachRepresentationPhase1Enabled &&\r\n !this.isBulkEditAssociation() &&\r\n !options.isFromAudienceDashboard &&\r\n !options.isFromIFFunction &&\r\n !options.isFromPerformanceMaxCampaign,\r\n );\r\n\r\n this.showIneligibleAudienceToggleOnExclusion = ko.computed(() =>\r\n this.excludeSelectedCategory() === audienceType.InMarket &&\r\n this.isIMAReachRepresentationPhase1Enabled &&\r\n !this.isBulkEditAssociation() &&\r\n !options.isFromAudienceDashboard &&\r\n !options.isFromIFFunction &&\r\n !options.isFromPerformanceMaxCampaign,\r\n );\r\n\r\n this.bidAdjOptions = [\r\n {\r\n Value: 'IncreaseBid',\r\n Text: i18n.get('AudiencesAssociation_ListToAdGroup_BidIncreaseBy'),\r\n },\r\n {\r\n Value: 'DecreaseBid',\r\n Text: i18n.get('AudiencesAssociation_ListToAdGroup_BidDecreaseBy'),\r\n },\r\n ];\r\n this.bidAdjPercentage = this.isHideBidAdjustmentForBoostEnabled ? ko.observable(0) : ko.observable(constants.bidConst.Default);\r\n this.selectedAction = ko.observable('IncreaseBid');\r\n this.bidAdjError = ko.observable('');\r\n this.hasBidAdjError = ko.computed(() => this.bidAdjError() !== '');\r\n\r\n this.targetSettings = [];\r\n\r\n // create a dictionary to track whether the doubleListBox has finished initially loading\r\n this.createConfigLoadedMap();\r\n }\r\n\r\n isBidPercentageValid() {\r\n if (this.bidAdjPercentage() === '') {\r\n this.bidAdjError(i18n.getString('AdvancedTargeting_Error_BidValueMustNotBeEmpty'));\r\n return false;\r\n }\r\n return this.selectedAction() === 'IncreaseBid' ?\r\n this.checkPercentageBound(constants.bidConst.Max) :\r\n this.checkPercentageBound(-constants.bidConst.Min);\r\n }\r\n\r\n\r\n checkPercentageBound(max) {\r\n let percentage = Number(this.bidAdjPercentage());\r\n\r\n if (_.isNaN(percentage) || (percentage < 0) || (percentage > max)) {\r\n this.bidAdjError(i18n.getString('AudiencesAssociation_ListToAdGroup_BidAdjustmentError', 0, max));\r\n return false;\r\n } else {\r\n this.bidAdjError('');\r\n return true;\r\n }\r\n }\r\n\r\n getBidPercentage() {\r\n let percentage = Number(this.bidAdjPercentage());\r\n\r\n return this.selectedAction() === 'IncreaseBid' ? percentage : -percentage;\r\n }\r\n\r\n setTargetSettings(settings) {\r\n this.targetSettings = settings;\r\n }\r\n\r\n // include bidding scheme and campaignSetting for MSAN campaign type verifaction\r\n setCampaignType(campaignType = null, campaignSubType = null, biddingScheme = null, campaignSettings = null) {\r\n let filter = () => true;\r\n\r\n if (!pageContext.Permissions.IsProductAudienceForSearchEnabled &&\r\n campaignType !== campaignTypes.audience &&\r\n !_.isNull(campaignType)) {\r\n filter = (setting) => setting.value !== audienceType.Product;\r\n }\r\n\r\n const isDisplayInMSANEnabled = this.isEnableMSANDisplayCampaignsEnabled && isXandrDisplayAdsCampaign(campaignSubType);\r\n const isVideoInMSANEnabled = this.isEnableMSANVideoCampaignsEnabled && isXandrVideoAdsCampaign(campaignSubType);\r\n const shouldServeOnMSAN = this.isAudienceCreationWorkflow ? isDisplayInMSANEnabled || isVideoInMSANEnabled : campaignShouldServeOnMSAN(campaignSettings);\r\n const isXandrServingDisplayOrVideo = isXandrCampaign(campaignSubType) && !shouldServeOnMSAN;\r\n const isCTVCampaign = isXandrVideoAdsCampaign(campaignSubType) && biddingScheme && biddingScheme.Type === 'ManualCpv';\r\n const isPerformanceMaxCampaignType = campaignType === campaignTypes.performanceMax;\r\n const isSearchCampaignType = campaignType === campaignTypes.search;\r\n const isShoppingCampaignType = campaignType === campaignTypes.shopping;\r\n\r\n this.allowImpressionBasedList = !isXandrServingDisplayOrVideo &&\r\n !isCTVCampaign &&\r\n (this.isImpressionBasedListForSearchPmaxEnabled || (!isPerformanceMaxCampaignType &&\r\n !isSearchCampaignType &&\r\n !isShoppingCampaignType));\r\n\r\n const configSettings = _.chain(this.configSettings)\r\n .filter(filter)\r\n .filter((setting) =>\r\n !isXandrServingDisplayOrVideo || setting.supportsXandrCampaign)\r\n .filter((setting) => campaignType !== campaignTypes.hotel || setting.type !== 'Product')\r\n .filter((setting) => this.allowImpressionBasedList || setting.type !== 'ImpressionBasedRemarketing')\r\n .map((setting) => _.pick(setting, 'text', 'value'))\r\n .value();\r\n\r\n // If only two are visible, hide \"None\" options\r\n if (this.isNewAudienceEnabled && configSettings.length === 2) {\r\n configSettings.shift();\r\n }\r\n\r\n const exclusionConfigSettings = configSettings.filter( (setting) => setting.value !== audienceType.CustomSegment);\r\n\r\n this.configSettingsOptions(configSettings);\r\n this.exlcusionConfigSettingsOptions(exclusionConfigSettings);\r\n\r\n // Set default selectedBidType based on campaign type.\r\n // It will be overridden later if a value is set in the server\r\n if (campaignType === campaignTypes.audience) {\r\n this.selectedBidType(bidTypes.TargetAndBid);\r\n } else {\r\n this.selectedBidType(bidTypes.BidOnly);\r\n }\r\n\r\n // update campaignType in viewModel\r\n this.campaignType = campaignType;\r\n this.campaignSubType = campaignSubType;\r\n this.campaignSettings = campaignSettings;\r\n this.biddingScheme = biddingScheme;\r\n this.isXandrCampaignType(isXandrServing(this.campaignSubType));\r\n this.isPerformanceMaxType(this.campaignType === campaignTypes.performanceMax);\r\n this.isSearchCampaign(this.campaignType === campaignTypes.search);\r\n this.isShoppingCampaign(this.campaignType === campaignTypes.shopping);\r\n }\r\n\r\n createConfigLoadedMap() {\r\n _.chain(this.configSettings)\r\n .filter((config) => config.type !== audienceType.None)\r\n .each((config) => {\r\n let resolve,\r\n reject;\r\n\r\n config.Loaded = new Promise((res, rej) => {\r\n resolve = res;\r\n reject = rej;\r\n });\r\n\r\n // Expose resolve, reject to allow view\r\n config.Loaded.resolve = resolve;\r\n config.Loaded.reject = reject;\r\n });\r\n }\r\n\r\n setSelectedCategory(category) {\r\n this.selectedCategory(category);\r\n this.excludeSelectedCategory(category);\r\n }\r\n\r\n /*\r\n * We will show internalization popover when:\r\n * Current audience in the tree has data AND\r\n * isInMarketEnabled pilot is Enabled AND\r\n * Current audience item has valid internalization reach data AND\r\n * One of below conditions is MET:\r\n * 1. Bulk edit and we have non empty internalization reach values for the item\r\n * 2. CampaignType is Audience and we have valid audience internalization reach\r\n * 3. CampaignType is Search and we have valid search internlzation reach\r\n */\r\n isAudienceInternalizationButtonShown(item, isActionValid, campaignType = null) {\r\n const searchNetworkTitle = InMarketInternalization.SearchNetwork;\r\n const audienceNetworkTitle = InMarketInternalization.AudienceNetwork;\r\n\r\n // for bulk edit scenario, we don't have this.campaignType but I want to show audience and search list size separately\r\n const isAudienceCampaign = campaignType === campaignTypes.audience || this.campaignType === campaignTypes.audience;\r\n // shopping, dynamic search campaigns are sub types of search campaign\r\n const isSearchCampaign = campaignType === campaignTypes.search || (\r\n this.campaignType === campaignTypes.search ||\r\n this.campaignType === campaignTypes.shopping\r\n );\r\n\r\n if (isActionValid && this.isInMarketEnabled &&\r\n item.data.InternalizationReach && item.data.InternalizationReach.Keys) {\r\n if (isAudienceCampaign) {\r\n return _.contains(item.data.InternalizationReach.Keys, audienceNetworkTitle);\r\n } else if (isSearchCampaign) {\r\n return _.contains(item.data.InternalizationReach.Keys, searchNetworkTitle);\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n audienceItemOptionsFunction(item) {\r\n const isActionValid = !_.isNull(item.data);\r\n\r\n const isInEligible = isActionValid && (item.data.isInEligibleIMA || false);\r\n const isSelected = isActionValid && !_.isEmpty(item.data.selected);\r\n const isDisabled = isActionValid && (!_.isEmpty(item.data.disabled) || isInEligible);\r\n const listSize = isActionValid ? item.data.listSize : '';\r\n const listSizeSearch = isActionValid ? item.data.listSizeSearch : '';\r\n const listSizeAudience = isActionValid ? item.data.listSizeAudience : '';\r\n\r\n const isAudienceInternalizationAllowedForBulkSearch = this.isAudienceInternalizationButtonShown(item, isActionValid, campaignTypes.search);\r\n const isAudienceInternalizationAllowedForBulkAudience = this.isAudienceInternalizationButtonShown(item, isActionValid, campaignTypes.audience);\r\n const isAudienceInternalizationAllowedForSingleAdGroup = this.isAudienceInternalizationButtonShown(item, isActionValid);\r\n const isAudienceInternalizationHoverPopupAllowed = isAudienceInternalizationAllowedForSingleAdGroup && this.isIMAReachRepresentationPhase1Enabled;\r\n const isAudienceInternalizationHoverPopupAllowedForBulkAudience = isAudienceInternalizationAllowedForBulkAudience && this.isIMAReachRepresentationPhase1Enabled;\r\n\r\n return {\r\n isActionValid,\r\n isSelected,\r\n isDisabled,\r\n isInEligible,\r\n listSize,\r\n listSizeSearch,\r\n listSizeAudience,\r\n isAudienceInternalizationAllowedForBulkAudience,\r\n isAudienceInternalizationAllowedForBulkSearch,\r\n isAudienceInternalizationAllowedForSingleAdGroup,\r\n isAudienceInternalizationHoverPopupAllowed,\r\n isAudienceInternalizationHoverPopupAllowedForBulkAudience,\r\n formatReachNumber,\r\n };\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\nimport AudienceView from '@bingads-webui-static-legacy/audiences/view/index';\r\nimport popupFooterTemplate from './popup-footer-template.pug';\r\nimport { AudiencesPopupView, STATE } from '../popup/index';\r\nimport formStepMap from '@bingads-webui-static-legacy/audiences/model/manage/formStepMap';\r\nimport audienceTypes from '@bingads-webui-static-legacy/schema/audience/audienceTypes';\r\n\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nexport class AudienceCreationPopupView extends AudiencesPopupView {\r\n events() {\r\n return _.defaults(\r\n {\r\n 'click #next': 'onNext',\r\n },\r\n super.events());\r\n }\r\n\r\n initialize({\r\n type,\r\n deps,\r\n usePanel,\r\n isNewUI,\r\n enabledAudiences,\r\n newI18n,\r\n } = {}) {\r\n super.initialize({ focusElement: '#remarketingListName' });\r\n this.newI18n = newI18n;\r\n this.audienceType = type;\r\n this.deps = deps;\r\n this.once(STATE.shown, () => this.onShown());\r\n\r\n this.childview = new AudienceView({\r\n type: this.audienceType,\r\n isPopup: true,\r\n deps,\r\n usePanel,\r\n isNewUI,\r\n enabledAudiences,\r\n newI18n: this.newI18n,\r\n });\r\n\r\n // Audience type\r\n this.viewModel.audienceType = ko.observable(type);\r\n this.childview.on('audienceTypeChanged', (newValue) => {\r\n this.viewModel.audienceType(newValue);\r\n });\r\n\r\n // Form step\r\n this.viewModel.formStep = ko.observable(formStepMap.AudienceTypeAndTitle);\r\n this.childview.on('formStepChanged', (newValue) => {\r\n this.viewModel.formStep(newValue);\r\n });\r\n\r\n this.childview.on('leavingCurrentPage', () => {\r\n super.handleAction();\r\n });\r\n\r\n // Buttons of the view\r\n this.viewModel.isActionButtonVisible = ko.computed(() =>\r\n this.viewModel.audienceType() !== audienceTypes.CustomerList &&\r\n this.viewModel.formStep() === formStepMap.AudienceDetail,\r\n );\r\n\r\n this.viewModel.isNextButtonVisible = ko.computed(() =>\r\n this.viewModel.formStep() === formStepMap.AudienceTypeAndTitle || (\r\n this.viewModel.audienceType() === audienceTypes.CustomerList &&\r\n this.viewModel.formStep() === formStepMap.AudienceDetail\r\n ),\r\n );\r\n\r\n this.viewModel.isCancelButtonVisible = ko.computed(() =>\r\n this.viewModel.formStep() <= formStepMap.AudienceDetail,\r\n );\r\n }\r\n\r\n render() {\r\n super.render({\r\n title: audiencesi18n.getString('Audiences_Manage_Title_General'),\r\n footer: popupFooterTemplate({ i18n: audiencesi18n }),\r\n dialogClass: 'create-audience',\r\n });\r\n\r\n // render content\r\n this.$('.modal-body').html(this.childview.render().$el);\r\n\r\n return this;\r\n }\r\n\r\n onNext(e) {\r\n if (this.viewModel.formStep() === formStepMap.AudienceTypeAndTitle) {\r\n this.childview.completeAudienceTitleStep();\r\n } else if (this.viewModel.formStep() === formStepMap.AudienceDetail) {\r\n // Only customer list audience have visible next in the second step\r\n this.childview.onFinishAudienceDetail();\r\n }\r\n\r\n return this.handleEvent(e);\r\n }\r\n\r\n onShown() {\r\n // The view needs to be in the DOM to run this function\r\n this.childview._setCounterRestrictions();\r\n }\r\n\r\n handleAction() {\r\n // Only works for non-customerlist audience saving\r\n // Store this.saving so that we don't try to save twice\r\n // Also handle any errors as noop\r\n if (_.isUndefined(this.saving)) {\r\n this.saving = this.childview.saveRemarketingForm()\r\n .then(() => {\r\n super.handleAction();\r\n }, _.noop)\r\n .finally(() => {\r\n delete this.saving;\r\n });\r\n }\r\n }\r\n\r\n remove() {\r\n this.childview.remove();\r\n\r\n super.remove();\r\n }\r\n}\r\n","import '@bingads-webui-component-legacy/double-list-box/ko/doubleListBoxBinding';\r\nimport _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport Backbone from 'backbone';\r\nimport Promise from 'bluebird';\r\nimport ko from 'knockout';\r\nimport pageContext from '@bingads-webui-static-legacy/page-context';\r\nimport { appendLearnMoreLink } from '@bingads-webui-component-legacy/help/index';\r\nimport errorHandler from '@bingads-webui-static-legacy/audiences/audiences/errorHandler';\r\nimport logger from '@bingads-webui-static-legacy/instrumentation/index';\r\nimport constants from '@bingads-webui-static-legacy/instrumentation/constants';\r\nimport decimalUtil from '@bingads-webui-component-legacy/humanize/decimal';\r\nimport audienceType from '@bingads-webui-component-legacy/schema/audience/audienceType';\r\nimport associationStatusType from '@bingads-webui-component-legacy/schema/audience/associationStatusType';\r\nimport { CashbackPercentControlView } from '@bingads-webui-campaign/cashback-percent-control-view';\r\n\r\nimport * as consts from '@bingads-webui-campaign-legacy/audience-association/model/consts';\r\nimport { errorEnum } from '@bingads-webui-campaign-legacy/audience-association/model/errorEnum';\r\nimport { scopeLevelEnum } from '@bingads-webui-campaign-legacy/audience-association/model/scopeLevelEnum';\r\nimport AssociationError from '@bingads-webui-campaign-legacy/audience-association/model/associationError';\r\nimport AudienceAssociationModel from '@bingads-webui-campaign-legacy/audience-association/model/audienceAssociation';\r\nimport ErrorModel from '@bingads-webui-campaign-legacy/audience-association/model/errorModel';\r\nimport ListsCollection from '@bingads-webui-campaign-legacy/audience-association/model/lists';\r\nimport DoubleListBoxViewModel from '@bingads-webui-campaign-legacy/audience-association/viewmodel/association-section';\r\nimport { PopoverView, contents } from '@bingads-webui/popover';\r\nimport { shouldSupportCashbackSettings } from '@bingads-webui-campaign/personalized-offer-shared';\r\n\r\nimport doubleListBoxTemplate from '@bingads-webui-campaign-legacy/audience-association/template/association-section.pug';\r\nimport internalizationTemplate from '@bingads-webui-campaign-legacy/audience-association/template/audienceInternalization.pug';\r\nimport fallbackTemplate from '@bingads-webui-campaign-legacy/audience-association/template/fallbackPopover.pug';\r\nimport fallbackTitleTemplate from '@bingads-webui-campaign-legacy/audience-association/template/fallbackPopoverTitle.pug';\r\nimport {\r\n getCampaignById,\r\n getCampaignLocationCriterionInfo,\r\n getAdGroupLocationCriterionInfo,\r\n} from '@bingads-webui-campaign-legacy/audience-association/service/campaign-selector-repository';\r\nimport { AudienceCreationPopupView } from '@bingads-webui-campaign-legacy/audiences/components/create-audience/index';\r\nimport { SegmentsSidePanelBackboneWrapper } from '@bingads-webui-campaign-react/custom-segments-edit-create';\r\nimport { types as campaignTypes } from '@bingads-webui-campaign-legacy/adgroup-create-advanced/util/campaignType';\r\nimport { levelAtConstant } from '@bingads-webui-campaign/scope-constants';\r\nimport { panelDecorator } from '@bingads-webui-campaign-react/panel-decorator';\r\nimport { extendListSizeItem, extendInternalizationReach, InMarketInternalization, getLocalizedMarkets} from '@bingads-webui-campaign-react/ima-reach-representation';\r\nimport { formatReachNumber } from '@bingads-webui-campaign-legacy/audience-association/utils/format-reach-number';\r\n\r\nconst i18n = window.globalLegacyI18n.get('component/i18n/loader!campaignui/feature/audience/association');\r\n\r\nconst isStatusTargeting = (status) => status !== associationStatusType.Excluded;\r\n\r\nconst panelOptions = {\r\n panelClassName: 'audience-creation-panel',\r\n i18n,\r\n panelReadyAriaLabel: i18n.getString('Audience creation side panel opened'),\r\n};\r\n\r\nexport class AudienceAssociationView extends Backbone.View {\r\n get events() {\r\n return {\r\n 'click .expandable--plus-icon__association': 'expandAssociation',\r\n 'click .expandable--plus-icon__exclusion': 'expandExclusion',\r\n 'click #createRemarketingListOnTargeting': 'createRemarketingList',\r\n 'click #createRemarketingListOnExclusion': 'createRemarketingList',\r\n 'click #createProductAudienceOnTargeting': 'createProductAudience',\r\n 'click #createProductAudienceOnExclusion': 'createProductAudience',\r\n 'click #createCustomerListOnTargeting': 'createCustomerList',\r\n 'click #createCustomerListOnExclusion': 'createCustomerList',\r\n 'click #createCombinedListOnTargeting': 'createCombinedList',\r\n 'click #createCombinedListOnExclusion': 'createCombinedList',\r\n 'click .bidTypeChange': 'changeBidType',\r\n 'click #customRestrictionLabel': 'changeCustomRestrictionStatus',\r\n 'click #createImpressionBasedListOnTargeting': 'createImpressionBasedList',\r\n 'click #createImpressionBasedListOnExclusion': 'createImpressionBasedList',\r\n 'click #createCustomSegmentOnTargeting': 'createCustomSegment',\r\n };\r\n }\r\n\r\n initialize({\r\n scope,\r\n campaignType = null,\r\n campaignSubType = null,\r\n refreshOnInitialize = false,\r\n readOnlyMode = false,\r\n associationType = consts.AssociationTypes.Association,\r\n shouldShowUiBlockOnRender = true,\r\n customizedTemplates = {},\r\n entityLevel = levelAtConstant.ADGROUP,\r\n fromBulkEdit = false,\r\n isNewUI = false,\r\n deps = {},\r\n perfMarker = null,\r\n currentCampaign,\r\n isAudienceCreationWorkflow = false,\r\n isFromAudienceDashboard = false,\r\n isFromIFFunction = false,\r\n isFromPerformanceMaxCampaign = false,\r\n isAIMAudienceAssociationView = false,\r\n hideExclusion = false,\r\n hideAssociationHeader = false,\r\n newI18n,\r\n biddingScheme,\r\n campaignSettings,\r\n isIMARedesignEnabled = false,\r\n hideCustomSegmentsOption = false,\r\n }) {\r\n this.currentCampaign = currentCampaign || pageContext.CurrentCampaign;\r\n this.dlbTemplate = customizedTemplates.dlbContainerTemplate || doubleListBoxTemplate;\r\n this.scope = scope;\r\n this.campaignType = campaignType;\r\n this.campaignSubType = campaignSubType;\r\n this.biddingScheme = biddingScheme;\r\n this.campaignSettings = campaignSettings;\r\n this.shouldShowUiBlockOnRender = shouldShowUiBlockOnRender;\r\n this.entityLevel = entityLevel;\r\n this.fromBulkEdit = fromBulkEdit;\r\n this.isNewUI = isNewUI;\r\n this.deps = deps;\r\n this.perfMarker = perfMarker;\r\n this.usePanel = isNewUI;\r\n this.isAudienceCreationWorkflow = isAudienceCreationWorkflow;\r\n this.isAIMAudienceAssociationView = isAIMAudienceAssociationView;\r\n this.hideExclusionView = hideExclusion;\r\n this.hideAssociationHeader = hideAssociationHeader;\r\n this.newI18n = newI18n;\r\n this.isIMARedesignEnabled = isIMARedesignEnabled;\r\n this.hideCustomSegmentsOption = hideCustomSegmentsOption;\r\n\r\n if (this.perfMarker) {\r\n this.perfMarker.willInit();\r\n }\r\n // cache the selected audiences so that after a refresh it maintains the selected audiences\r\n this.resetCache();\r\n\r\n if (_.isNull(campaignType) && (scope.currentScope === scopeLevelEnum.campaign || scope.currentScope === scopeLevelEnum.adgroup)) {\r\n if (pageContext && pageContext.CurrentCampaign) {\r\n this.campaignType = pageContext.CurrentCampaign.CampaignType;\r\n } else {\r\n this.campaignTypeFetched = false;\r\n }\r\n }\r\n\r\n this.readOnlyMode = readOnlyMode;\r\n\r\n this.isAIMCampaignEnabled = pageContext.Permissions.IsAIMCampaignEnabled;\r\n this.isNewAudienceEnabled = pageContext.Permissions.IsNewAudienceEnabled;\r\n this.isCampaignLevelAudienceTargetingEnabled = true;\r\n this.isSharedLibraryEnabled = pageContext.Permissions.IsCustomerHierarchyEnabled && pageContext.Permissions.IsSharedLibraryPhase1Enabled;\r\n this.isIMAReachRepresentationPhase1Enabled = pageContext.Permissions.IsIMAReachRepresentationPhase1Enabled;\r\n\r\n this.canExpandAssociation = false;\r\n this.canExpandExclusion = false;\r\n\r\n this.model = new AudienceAssociationModel();\r\n\r\n // mock\r\n // pageContext.CurrentCampaign.CashbackSettings = { CashbackMonthlyBudget: 1 };\r\n\r\n this.supportCashbackSettings = (shouldSupportCashbackSettings(this.currentCampaign, pageContext.Permissions) ||\r\n // for account level bulk audience association scenario\r\n (this.fromBulkEdit && pageContext.Permissions.IsPersonalizedOffersEnabled && this.currentCampaign == null)) &&\r\n !pageContext.Permissions.IsPersonalizedOffersV3Enabled;\r\n\r\n this.doubleListBoxViewModel = new DoubleListBoxViewModel({\r\n customizedTemplates,\r\n isAssocExpanded: false,\r\n isExclExpanded: false,\r\n isBidTypeChanged: false,\r\n isCustomRestrictionDisplayedOnTargeting: false,\r\n isCustomRestrictionDisplayedOnExclusion: false,\r\n isCustomRestrictionNotAcceptedOnTargeting: false,\r\n isCustomRestrictionNotAcceptedOnExclusion: false,\r\n supportCashbackSettings: this.supportCashbackSettings,\r\n associationType,\r\n campaignType: this.campaignType,\r\n campaignSubType: this.campaignSubType,\r\n campaignSettings: this.campaignSettings,\r\n biddingScheme: this.biddingScheme,\r\n model: this.model,\r\n listDataCallbackOnRemessaging: this._getListFactory(audienceType.Remessaging, true),\r\n exclusionListDataCallbackOnRemessaging: this._getListFactory(audienceType.Remessaging, false),\r\n processAssociationItemOnRemessaging: this._processItemFactory(audienceType.Remessaging, true),\r\n processExclusionItemOnRemessaging: this._processItemFactory(audienceType.Remessaging, false),\r\n listDataCallbackOnInMarket: this._getListFactory(audienceType.InMarket, true),\r\n exclusionListDataCallbackOnInMarket: this._getListFactory(audienceType.InMarket, false),\r\n processAssociationItemOnInMarket: this._processItemFactory(audienceType.InMarket, true),\r\n processExclusionItemOnInMarket: this._processItemFactory(audienceType.InMarket, false),\r\n listDataCallbackOnCustom: this._getListFactory(audienceType.Custom, true),\r\n exclusionListDataCallbackOnCustom: this._getListFactory(audienceType.Custom, false),\r\n processAssociationItemOnCustom: this._processItemFactory(audienceType.Custom, true),\r\n processExclusionItemOnCustom: this._processItemFactory(audienceType.Custom, false),\r\n listDataCallbackOnRemarketingSimilar: this._getListFactory(audienceType.RemarketingSimilar, true),\r\n exclusionListDataCallbackOnRemarketingSimilar: this._getListFactory(audienceType.RemarketingSimilar, false),\r\n processAssociationItemOnRemarketingSimilar: this._processItemFactory(audienceType.RemarketingSimilar, true),\r\n processExclusionItemOnRemarketingSimilar: this._processItemFactory(audienceType.RemarketingSimilar, false),\r\n listDataCallbackOnProduct: this._getListFactory(audienceType.Product, true),\r\n exclusionListDataCallbackOnProduct: this._getListFactory(audienceType.Product, false),\r\n processAssociationItemOnProduct: this._processItemFactory(audienceType.Product, true),\r\n processExclusionItemOnProduct: this._processItemFactory(audienceType.Product, false),\r\n listDataCallbackOnCustomerList: this._getListFactory(audienceType.CustomerList, true),\r\n exclusionListDataCallbackOnCustomerList: this._getListFactory(audienceType.CustomerList, false),\r\n processAssociationItemOnCustomerList: this._processItemFactory(audienceType.CustomerList, true),\r\n processExclusionItemOnCustomerList: this._processItemFactory(audienceType.CustomerList, false),\r\n listDataCallbackOnCombinedList: this._getListFactory(audienceType.CombinedList, true),\r\n exclusionListDataCallbackOnCombinedList: this._getListFactory(audienceType.CombinedList, false),\r\n processAssociationItemOnCombinedList: this._processItemFactory(audienceType.CombinedList, true),\r\n processExclusionItemOnCombinedList: this._processItemFactory(audienceType.CombinedList, false),\r\n listDataCallbackOnKeywordCustomSegments: this._getListFactory(audienceType.CustomSegment, true),\r\n processAssociationItemOnKeywordCustomSegmentsList: this._processItemFactory(audienceType.CustomSegment, true),\r\n listDataCallbackOnImpressionBasedList: this._getListFactory(audienceType.ImpressionBasedRemarketing, true),\r\n exclusionListDataCallbackOnImpressionBasedList: this._getListFactory(audienceType.ImpressionBasedRemarketing, false),\r\n processAssociationItemOnImpressionBasedList: this._processItemFactory(audienceType.ImpressionBasedRemarketing, true),\r\n processExclusionItemOnImpressionBasedList: this._processItemFactory(audienceType.ImpressionBasedRemarketing, false),\r\n onEmptyProductAudienceClick: _.bind(this.onEmptyProductAudienceClick, this),\r\n events: pageContext.Permissions.IsInMarketAudienceAllowed ? {\r\n 'click .audience-association-internalization': _.bind(this.showAudienceInternalization, this),\r\n 'mouseover .audience-association-internalization-info': _.bind(this.showAudienceInternalization, this),\r\n 'mouseout .audience-association-internalization-info': _.bind(this.hideAudienceInternalizationPopover, this),\r\n } : {},\r\n isCampaignLevel: this.entityLevel === levelAtConstant.CAMPAIGN,\r\n isFromAudienceDashboard,\r\n isFromIFFunction,\r\n isFromPerformanceMaxCampaign,\r\n isAudienceCreationWorkflow,\r\n isIMARedesignEnabled: this.isIMARedesignEnabled,\r\n hideCustomSegmentsOption: this.hideCustomSegmentsOption,\r\n });\r\n\r\n this.errorModel = new ErrorModel(this.doubleListBoxViewModel);\r\n\r\n if (refreshOnInitialize) {\r\n this.refreshLists(false);\r\n }\r\n\r\n _.each(this.doubleListBoxViewModel.configSettings, (dlbConfig) => {\r\n dlbConfig.targeting.selectedLists.subscribe((items) => {\r\n this._updateDoubleListBox(\r\n dlbConfig.exclusionAllItems,\r\n dlbConfig.exclusion.selectedLists(),\r\n items,\r\n dlbConfig.exclusion.selectedLists);\r\n });\r\n\r\n dlbConfig.exclusion.selectedLists.subscribe((items) => {\r\n this._updateDoubleListBox(\r\n dlbConfig.associationAllItems,\r\n dlbConfig.targeting.selectedLists(),\r\n items,\r\n dlbConfig.targeting.selectedLists);\r\n });\r\n\r\n if (dlbConfig.type === 'InMarket') {\r\n this.doubleListBoxViewModel.showIneligibleAudience.subscribe(() => {\r\n this.reloadAudienceForIneligibleData();\r\n });\r\n }\r\n });\r\n\r\n // subscribe to \"Select audience\" dropdown selection menu,\r\n // so that when \"Custom audience\" is selected, we'll get notified\r\n // and add an event listener for double listbox selection change.\r\n //\r\n // For other types of audiences, this listener should be detached\r\n // so no irrelavant behavior will be performed.\r\n this.doubleListBoxViewModel.selectedCategory.subscribe((category) => {\r\n if (category === audienceType.Custom) {\r\n this.attachCustomRestrictionListener();\r\n } else {\r\n this.detachCustomRestrictionListener();\r\n }\r\n });\r\n\r\n this.ensureLoadedAsync().then(() => {\r\n if (this.perfMarker) {\r\n this.perfMarker.done();\r\n }\r\n _.each(this.doubleListBoxViewModel.configSettings, (dlbConfig) => {\r\n dlbConfig.targeting.selectedLists.subscribe(() => {\r\n this.trigger('selectionChanged', true);\r\n\r\n if (dlbConfig.value === audienceType.Custom) {\r\n this.trigger('selectionChanged:custom', true);\r\n }\r\n });\r\n\r\n dlbConfig.exclusion.selectedLists.subscribe(() => {\r\n this.trigger('selectionChanged', false);\r\n\r\n if (dlbConfig.value === audienceType.Custom) {\r\n this.trigger('selectionChanged:custom', false);\r\n }\r\n });\r\n });\r\n });\r\n }\r\n\r\n remove() {\r\n super.remove();\r\n this.removePopup();\r\n this.removePanelForNewUI();\r\n this.hideAudienceInternalizationPopover();\r\n this.removeFallbackPopover();\r\n }\r\n\r\n initCashbackPercentControlView(currentCampaign = pageContext.CurrentCampaign, currentAdGroup = pageContext.CurrentAdGroup) {\r\n if (this.cashbackPercentControlView) {\r\n this.cashbackPercentControlView.remove();\r\n this.cashbackPercentControlView = null;\r\n }\r\n\r\n this.cashbackPercentControlView = new CashbackPercentControlView({\r\n viewContext: {\r\n currentCampaign,\r\n currentAdGroup,\r\n },\r\n i18n,\r\n decimal: decimalUtil,\r\n });\r\n\r\n this.$('.cashback-settings-section').empty().append(this.cashbackPercentControlView.render().$el);\r\n }\r\n\r\n _processAudiencesList(audiencesData) {\r\n return _.chain(audiencesData)\r\n .result('value', [])\r\n .map((item) => {\r\n let result = item;\r\n\r\n // keep the format of internlization reach consistent with normal list size\r\n if (result.InternalizationReach) {\r\n const peopleInLocation = this.locationIntentCriterion && this.locationIntentCriterion.indexOf('PeopleIn') !== -1;\r\n\r\n result = extendInternalizationReach({\r\n item: result,\r\n peopleInLocation,\r\n targetedLocationCriterions: this.targetedLocationCriterions,\r\n excludedLocationCriterions: this.excludedLocationCriterions,\r\n legacyI18n: i18n,\r\n });\r\n }\r\n\r\n result = extendListSizeItem({\r\n item: result,\r\n hideIMAReach: this.fromBulkEdit,\r\n isAIMCampaignEnabled: this.isAIMCampaignEnabled,\r\n campaignType: this.campaignType,\r\n legacyI18n: i18n,\r\n decimalUtil,\r\n });\r\n\r\n const name = this.isSharedLibraryEnabled &&\r\n result.Type === audienceType.Remessaging &&\r\n result.Owner.Id !== pageContext.CurrentCustomer.Id ? `${result.Name} - ${result.Owner.Name}` : result.Name;\r\n\r\n _.extend(result, { name });\r\n\r\n return result;\r\n })\r\n .value();\r\n }\r\n\r\n fetchAudiencesAsync(forceRefresh = false, reloadAudiences = false, locationCriterionsData = null) {\r\n // should also ensure associations have been fetched\r\n this.fetchAssociationsAsync(forceRefresh);\r\n\r\n if (_.isUndefined(this.fetchAudiences)) {\r\n this.fetchAudiences = Promise.resolve({});\r\n }\r\n\r\n if (forceRefresh) {\r\n this.listsCollection = new ListsCollection({\r\n campaignType: this.campaignType,\r\n campaignSubType: this.campaignSubType,\r\n biddingScheme: this.biddingScheme,\r\n campaignSettings: this.campaignSettings,\r\n model: Backbone.Model.extend({}),\r\n isAudienceCreationWorkflow: this.isAudienceCreationWorkflow,\r\n });\r\n this.deliveryChannel = _.result(this.listsCollection, 'deliveryChannel', 'BingAds,AIM');\r\n this.cachedAudiencesByChannel = reloadAudiences || !this.cachedAudiencesByChannel ? {} : this.cachedAudiencesByChannel;\r\n\r\n // if audience cache of same deliveryChannel exists and not force reload, return audiences from cache\r\n const fetchAudiencePromise = !reloadAudiences && this.cachedAudiencesByChannel[this.deliveryChannel] ?\r\n Promise.resolve(this.cachedAudiencesByChannel[this.deliveryChannel]) :\r\n this.getLocationCriterionInfo(locationCriterionsData).then(({\r\n isLocationRestricted,\r\n targetedLocationCriterions,\r\n excludedLocationCriterions,\r\n locationIntentCriterion,\r\n }) => {\r\n this.isLocationRestricted = isLocationRestricted;\r\n this.targetedLocationCriterions = targetedLocationCriterions;\r\n this.excludedLocationCriterions = excludedLocationCriterions;\r\n this.locationIntentCriterion = locationIntentCriterion;\r\n\r\n return new Promise((resolve, reject) => {\r\n // Convert to bluebird promise\r\n this.listsCollection.fetch().then(resolve, reject);\r\n });\r\n });\r\n\r\n this.fetchAudiences = fetchAudiencePromise.then((response) => {\r\n this.doubleListBoxViewModel.allAudiences = this._processAudiencesList(response);\r\n this.cachedAudiencesByChannel[this.deliveryChannel] = response;\r\n\r\n return response;\r\n }).catch((err) => this._logError(err, 'fetchAudiences error'));\r\n }\r\n\r\n if (this.isNewUI && _.isNull(this.campaignType) && !this.campaignTypeFetched) {\r\n this.campaignTypeFetched = true;\r\n return this.fetchCampaignTypeAsync().then(this.fetchAudiences);\r\n } else {\r\n return this.fetchAudiences;\r\n }\r\n }\r\n\r\n getLocationCriterionInfo(locationCriterionsData = null) {\r\n // For audience campaign creation location criterion data from outside\r\n if (!this.scope && locationCriterionsData) {\r\n return Promise.resolve(locationCriterionsData);\r\n }\r\n\r\n // AIM Ad Group settings\r\n if (this.isAIMAudienceAssociationView && _.isFinite(this.campaignId) && _.isFinite(this.adGroupId)) {\r\n return getAdGroupLocationCriterionInfo(this.campaignId, this.adGroupId);\r\n }\r\n\r\n // Don't check location restriction for and bulk edit\r\n if (!this.scope || this.fromBulkEdit) {\r\n return Promise.resolve({\r\n isLocationRestricted: false,\r\n });\r\n }\r\n\r\n let level;\r\n let campaignId;\r\n let adgroupId;\r\n\r\n if (this.scope && this.scope.currentScope !== scopeLevelEnum.account) {\r\n level = this.scope.currentScope;\r\n campaignId = this.scope.campaign ? this.scope.campaign.Id : null;\r\n adgroupId = this.scope.adgroup ? this.scope.adgroup.Id : null;\r\n } else if (this.currentScope) {\r\n level = this.currentScope.level;\r\n campaignId = this.currentScope.campaignId || null;\r\n adgroupId = this.currentScope.adgroupId || null;\r\n }\r\n\r\n if (level === scopeLevelEnum.campaign && _.isFinite(campaignId)) {\r\n return getCampaignLocationCriterionInfo(campaignId);\r\n } else if (level === scopeLevelEnum.adgroup && _.isFinite(adgroupId) && _.isFinite(campaignId)) {\r\n return getAdGroupLocationCriterionInfo(campaignId, adgroupId);\r\n }\r\n\r\n return Promise.resolve({\r\n isLocationRestricted: false,\r\n });\r\n }\r\n\r\n fetchCampaignTypeAsync() {\r\n this.fetchCampaignType = Promise.resolve(this.campaignType);\r\n\r\n if (_.isNull(this.campaignType) && this.scope && this.scope.campaign) {\r\n this.fetchCampaignType = getCampaignById(this.scope.campaign.id).then((campaign) => {\r\n this.campaignType = campaign.CampaignType;\r\n });\r\n } else {\r\n this.campaignType = campaignTypes.search;\r\n }\r\n\r\n return this.fetchCampaignType;\r\n }\r\n\r\n fetchAssociationsAsync(forceRefresh = false) {\r\n if (_.isUndefined(this.fetchAssociations)) {\r\n this.fetchAssociations = {};\r\n }\r\n\r\n if (forceRefresh) {\r\n const { selectedCampaignId, selectedAdgroupId } = this.getSelectedEntity();\r\n\r\n let condition = _.isFinite(selectedCampaignId) || _.isFinite(selectedAdgroupId);\r\n\r\n if (condition) {\r\n this.fetchAssociations = new Promise((resolve, reject) => {\r\n // Fetch associations then convert to bluebird promise\r\n this.model.fetch({\r\n campaignId: selectedCampaignId,\r\n adgroupId: selectedAdgroupId,\r\n isExpandCampaign: this.entityLevel === levelAtConstant.CAMPAIGN,\r\n isExpandAdGroup: this.entityLevel === levelAtConstant.ADGROUP,\r\n }).then(resolve, reject);\r\n }).then((response) => {\r\n let isAdGroupLevel = this.entityLevel === levelAtConstant.ADGROUP;\r\n let targetId = isAdGroupLevel ? selectedAdgroupId : selectedCampaignId;\r\n\r\n let result = _.chain(response)\r\n .result('value', [])\r\n .filter((association) =>\r\n association.Level === this.entityLevel &&\r\n // Get AdGroupCriterion or CampaignCriterion based on the level of selected entity level,\r\n // Keep the criterions that are associated with this selected entity\r\n _.chain(association)\r\n .result(isAdGroupLevel ? 'AdGroupCriterion' : 'CampaignCriterion')\r\n .result(isAdGroupLevel ? 'AdGroupId' : 'CampaignId')\r\n .value() === targetId,\r\n )\r\n .value();\r\n\r\n this.doubleListBoxViewModel.originalAssociations = result;\r\n return result;\r\n }).catch((err) => this._logError(err, 'fetchAssociations error'));\r\n }\r\n }\r\n\r\n return this.fetchAssociations;\r\n }\r\n\r\n getSelectedEntity() {\r\n // Should be overriden by subclass who has adgroup & campaign context\r\n return {\r\n selectedAdgroupId: null,\r\n selectedCampaignId: null,\r\n selectedAdgroupName: null,\r\n selectedCampaignName: null,\r\n };\r\n }\r\n\r\n resetSelectionListBox() {\r\n if (this.canExpandAssociation) {\r\n this.doubleListBoxViewModel.targetingLinkColor('');\r\n this.doubleListBoxViewModel.targetingPointerEvent('');\r\n this.doubleListBoxViewModel.targetingLinkTabIndex('0');\r\n } else {\r\n this.doubleListBoxViewModel.targetingLinkColor('gray');\r\n this.doubleListBoxViewModel.targetingPointerEvent('none');\r\n this.doubleListBoxViewModel.targetingLinkTabIndex('-1');\r\n }\r\n\r\n if (this.canExpandExclusion) {\r\n this.doubleListBoxViewModel.exclusionLinkColor('');\r\n this.doubleListBoxViewModel.exclusionPointerEvent('');\r\n this.doubleListBoxViewModel.exclusionLinkTabIndex('0');\r\n } else {\r\n this.doubleListBoxViewModel.exclusionLinkColor('gray');\r\n this.doubleListBoxViewModel.exclusionPointerEvent('none');\r\n this.doubleListBoxViewModel.exclusionLinkTabIndex('-1');\r\n }\r\n\r\n this.doubleListBoxViewModel.selectedCategory(audienceType.None);\r\n }\r\n\r\n reloadAudienceData(locationCriterionsData) {\r\n // save cache list for creation flow which do not have associations\r\n this.updateCache([]);\r\n const fetchPromise = this.fetchAudiencesAsync(true, true, locationCriterionsData);\r\n const inMarketConfig = _.findWhere(this.doubleListBoxViewModel.configSettings, { type: 'InMarket' });\r\n\r\n this.refreshList(inMarketConfig, true);\r\n\r\n return fetchPromise;\r\n }\r\n\r\n reloadAudienceForIneligibleData() {\r\n const inMarketConfig = _.findWhere(this.doubleListBoxViewModel.configSettings, { type: 'InMarket' });\r\n\r\n this.refreshList(inMarketConfig, true);\r\n }\r\n\r\n refreshLists(refreshSource, resetCache = true, reloadAudiences = false, currentScope = null) {\r\n if (resetCache) {\r\n this.resetCache();\r\n }\r\n\r\n this.currentScope = currentScope || {};\r\n this.fetchAudiencesAsync(true, reloadAudiences);\r\n\r\n _.each(this.doubleListBoxViewModel.configSettings, (dlbConfig) => this.refreshList(dlbConfig, refreshSource));\r\n\r\n if (this.fromBulkEdit) {\r\n // If this view is rendered from bulk operations in campaign/ad group grids,\r\n // these links will always be enabled.\r\n\r\n this.canExpandAssociation = true;\r\n this.canExpandExclusion = true;\r\n this.resetSelectionListBox();\r\n }\r\n\r\n if (this.readOnlyMode) {\r\n let readonlyError = new AssociationError(errorEnum.ReadOnly.id,\r\n { scope: this.scope.currentScope, level: this.entityLevel });\r\n\r\n this.doubleListBoxViewModel.errors.add([readonlyError]);\r\n this.doubleListBoxViewModel.disableAction(true);\r\n } else {\r\n // in adgroup level, by default it is no error in initialization, but only in special case, if mediun is content-only, there will have error message\r\n //and we will not clean error message, user have only choice - choose cancel button\r\n // in other level, we will clean error message when switch ad group.\r\n if (this.scope && this.scope.currentScope !== scopeLevelEnum.adgroup) {\r\n this.doubleListBoxViewModel.errors.clearAll();\r\n }\r\n\r\n this.doubleListBoxViewModel.disableAction(false);\r\n }\r\n }\r\n\r\n refreshList(dlbConfig, refreshSource) {\r\n dlbConfig.targeting.selectedLists([]);\r\n dlbConfig.exclusion.selectedLists([]);\r\n\r\n if (refreshSource) {\r\n dlbConfig.targeting.selectedLists.refreshSource();\r\n dlbConfig.exclusion.selectedLists.refreshSource();\r\n }\r\n }\r\n\r\n onCustomAudienceChanged(isTargeting) {\r\n if (!this.isCustomRestrictionDisplayed()) {\r\n if ((isTargeting && this.canExpandAssociation) ||\r\n (!isTargeting && this.canExpandExclusion)) {\r\n this.showCustomRestrictionInformation(isTargeting);\r\n }\r\n }\r\n }\r\n\r\n getLists() {\r\n let associationList = [],\r\n exclusionList = [];\r\n\r\n _.each(this.doubleListBoxViewModel.configSettings, (dlbConfig) => {\r\n associationList.push(dlbConfig.targeting.selectedLists());\r\n exclusionList.push(dlbConfig.exclusion.selectedLists());\r\n });\r\n\r\n return {\r\n associationList: _.flatten(associationList),\r\n exclusionList: _.flatten(exclusionList),\r\n };\r\n }\r\n\r\n setLists(targets) {\r\n const association = _.groupBy(targets.associationList, (criterion) => {\r\n return criterion.Type;\r\n });\r\n const exclusion = _.groupBy(targets.exclusionList, (criterion) => {\r\n return criterion.Type;\r\n });\r\n\r\n const indexes = {};\r\n\r\n _.each(this.doubleListBoxViewModel.configSettings, (dlbConfig, key) => {\r\n indexes[dlbConfig.type] = key;\r\n dlbConfig.targeting.selectedLists([]);\r\n dlbConfig.exclusion.selectedLists([]);\r\n });\r\n\r\n _.each(association, (target, key) => {\r\n this.doubleListBoxViewModel.configSettings[indexes[key]].targeting.selectedLists(target);\r\n });\r\n _.each(exclusion, (target, key) => {\r\n this.doubleListBoxViewModel.configSettings[indexes[key]].exclusion.selectedLists(target);\r\n });\r\n }\r\n\r\n saveSnapshot() {\r\n this.snapshot = [];\r\n _.each(this.doubleListBoxViewModel.configSettings, (dlbConfig) => {\r\n this.snapshot.push({\r\n associationList: dlbConfig.targeting.selectedLists(),\r\n exclusionList: dlbConfig.exclusion.selectedLists(),\r\n });\r\n });\r\n }\r\n\r\n restoreSnapshot() {\r\n if (this.snapshot) {\r\n _.each(this.snapshot, (saved, index) => {\r\n this.doubleListBoxViewModel.configSettings[index].targeting.selectedLists(saved.associationList);\r\n this.doubleListBoxViewModel.configSettings[index].exclusion.selectedLists(saved.exclusionList);\r\n });\r\n }\r\n }\r\n\r\n render(options = {}) {\r\n if (this.perfMarker) {\r\n this.perfMarker.willRender();\r\n }\r\n this.$el.append(this.dlbTemplate(\r\n _.defaults(\r\n options,\r\n {\r\n appendLearnMoreLink,\r\n i18n,\r\n hideExclusion: this.hideExclusionView,\r\n hideAssociationHeader: this.hideAssociationHeader,\r\n }),\r\n ));\r\n ko.applyBindings(this.doubleListBoxViewModel, this.el);\r\n\r\n return this;\r\n }\r\n\r\n expandAssociation() {\r\n if (this.canExpandAssociation) {\r\n this.doubleListBoxViewModel.isAssocExpanded(true);\r\n }\r\n }\r\n\r\n expandExclusion() {\r\n if (this.canExpandExclusion) {\r\n this.doubleListBoxViewModel.isExclExpanded(true);\r\n }\r\n }\r\n\r\n hideAssociation() {\r\n this.doubleListBoxViewModel.isAssocExpanded(false);\r\n }\r\n\r\n hideExclusion() {\r\n this.doubleListBoxViewModel.isExclExpanded(false);\r\n }\r\n\r\n changeBidType() {\r\n this.doubleListBoxViewModel.isBidTypeChanged(true);\r\n }\r\n\r\n showCustomRestrictionInformation(isTargeting) {\r\n // Only one restiction info should be visible at a time\r\n if (this.isCustomRestrictionDisplayed()) {\r\n return;\r\n }\r\n\r\n if (isTargeting) {\r\n this.doubleListBoxViewModel.isCustomRestrictionDisplayedOnTargeting(true);\r\n } else {\r\n this.doubleListBoxViewModel.isCustomRestrictionDisplayedOnExclusion(true);\r\n }\r\n }\r\n\r\n validateCustomRestriction() {\r\n if (this.isCustomRestrictionDisplayed() && !this.doubleListBoxViewModel.customRestrictionAccepted()) {\r\n this.showCustomRestrictionError(this.doubleListBoxViewModel.isCustomRestrictionDisplayedOnTargeting());\r\n return false;\r\n }\r\n\r\n this.resetCustomRestrictionError(this.doubleListBoxViewModel.isCustomRestrictionDisplayedOnTargeting());\r\n return true;\r\n }\r\n\r\n isCustomRestrictionDisplayed() {\r\n if (this.doubleListBoxViewModel.isCustomRestrictionDisplayedOnTargeting() || this.doubleListBoxViewModel.isCustomRestrictionDisplayedOnExclusion()) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n showCustomRestrictionError(isTargeting) {\r\n if (isTargeting) {\r\n this.doubleListBoxViewModel.isCustomRestrictionNotAcceptedOnTargeting(true);\r\n } else {\r\n this.doubleListBoxViewModel.isCustomRestrictionNotAcceptedOnExclusion(true);\r\n }\r\n }\r\n\r\n resetCustomRestrictionError(isTargeting) {\r\n if (isTargeting) {\r\n this.doubleListBoxViewModel.isCustomRestrictionNotAcceptedOnTargeting(false);\r\n } else {\r\n this.doubleListBoxViewModel.isCustomRestrictionNotAcceptedOnExclusion(false);\r\n }\r\n }\r\n\r\n attachCustomRestrictionListener() {\r\n // Show custom audience restriction information when custom audience assc/exclusion changed\r\n this.on('selectionChanged:custom', this.onCustomAudienceChanged, this);\r\n }\r\n\r\n detachCustomRestrictionListener() {\r\n this.off('selectionChanged:custom', this.onCustomAudienceChanged, this);\r\n }\r\n\r\n customAudienceSelectionChanged(isTargeting = true) {\r\n this.trigger('selectionChanged:custom', isTargeting);\r\n }\r\n\r\n createRemarketingList(e) {\r\n if (this.isNewUI) {\r\n if (this.usePanel) {\r\n this.showPanelForNewUI({ View: AudienceCreationPopupView, type: audienceType.Remessaging, deps: this.deps });\r\n } else {\r\n this.showFallbackPopover(e.target);\r\n }\r\n } else if (this.isAIMCampaignEnabled) {\r\n this.showPopup(new AudienceCreationPopupView({ type: audienceType.Remessaging, deps: this.deps }));\r\n } else {\r\n this.cleanup();\r\n window.App.navigate('customer/:customer_id/account/:account_id/library/audience/create');\r\n }\r\n }\r\n\r\n createImpressionBasedList(e) {\r\n if (this.usePanel) {\r\n this.showPanelForNewUI({ View: AudienceCreationPopupView, type: audienceType.ImpressionBasedRemarketing, deps: this.deps });\r\n } else {\r\n this.showFallbackPopover(e.target);\r\n }\r\n }\r\n\r\n createCustomSegment(e) {\r\n this.showPanelForNewCustomSegments({ View: SegmentsSidePanelBackboneWrapper, type: audienceType.CustomSegment, deps: this.deps });\r\n }\r\n\r\n createProductAudience(e) {\r\n if (this.isNewUI) {\r\n if (this.usePanel) {\r\n this.showPanelForNewUI({ View: AudienceCreationPopupView, type: audienceType.Product, deps: this.deps });\r\n } else {\r\n this.showFallbackPopover(e.target);\r\n }\r\n } else if (this.isAIMCampaignEnabled) {\r\n this.showPopup(new AudienceCreationPopupView({ type: audienceType.Product, deps: this.deps }));\r\n } else {\r\n this.cleanup();\r\n window.App.navigate('customer/:customer_id/account/:account_id/library/audience/create', {\r\n data: {\r\n audienceType: audienceType.Product,\r\n },\r\n });\r\n }\r\n }\r\n\r\n createCustomerList(e) {\r\n if (this.isNewUI) {\r\n if (this.usePanel) {\r\n this.showPanelForNewUI({ View: AudienceCreationPopupView, type: audienceType.CustomerList, deps: this.deps });\r\n } else {\r\n this.showFallbackPopover(e.target);\r\n }\r\n } else if (this.isAIMCampaignEnabled) {\r\n this.showPopup(new AudienceCreationPopupView({ type: audienceType.CustomerList, deps: this.deps }));\r\n } else {\r\n this.cleanup();\r\n window.App.navigate('customer/:customer_id/account/:account_id/library/audience/create', {\r\n data: {\r\n audienceType: audienceType.CustomerList,\r\n },\r\n });\r\n }\r\n }\r\n\r\n createCombinedList(e) {\r\n if (this.isNewUI) {\r\n if (this.usePanel) {\r\n this.showPanelForNewUI({ View: AudienceCreationPopupView, type: audienceType.CombinedList, deps: this.deps });\r\n } else {\r\n this.showFallbackPopover(e.target);\r\n }\r\n } else if (this.isAIMCampaignEnabled) {\r\n this.showPopup(new AudienceCreationPopupView({ type: audienceType.CombinedList, deps: this.deps }));\r\n } else {\r\n this.cleanup();\r\n window.App.navigate('customer/:customer_id/account/:account_id/library/audience/create', {\r\n data: {\r\n audienceType: audienceType.CombinedList,\r\n },\r\n });\r\n }\r\n }\r\n\r\n showFallbackPopover(target) {\r\n const link = this.scope && this.scope.cid && this.scope.aid ?\r\n `/Campaign/Campaigns?#customer/${this.scope.cid}/account/${this.scope.aid}/library/audience/create` :\r\n '/Campaign/Campaigns';\r\n\r\n this.removeFallbackPopover();\r\n this.fallbackPopover = new PopoverView({\r\n target: this.$(target),\r\n position: {\r\n isAbsolute: true,\r\n },\r\n }).setContent(new contents.TitledContent()\r\n .setTitle({ html: fallbackTitleTemplate({ i18n }) })\r\n .setBody({\r\n html: fallbackTemplate({\r\n i18n,\r\n link,\r\n }),\r\n }),\r\n );\r\n this.fallbackPopover.once('remove', () => {\r\n this.fallbackPopover = null;\r\n });\r\n this.fallbackPopover.$el.addClass('create-audience-fallback-popover');\r\n\r\n this.$(target).parent().append(this.fallbackPopover.$el);\r\n }\r\n\r\n removeFallbackPopover() {\r\n if (this.fallbackPopover) {\r\n this.fallbackPopover.remove();\r\n this.fallbackPopover = null;\r\n }\r\n }\r\n\r\n showAudienceInternalization(e) {\r\n // check previous internalization popovers and clean up if exists\r\n this.hideAudienceInternalizationPopover();\r\n // always create a new internalization popover corresponds to current audience\r\n this.showAudienceInternalizationPopover(e);\r\n\r\n e.preventDefault();\r\n e.stopPropagation();\r\n }\r\n\r\n showAudienceInternalizationPopover(e) {\r\n const currentDoubleListBox = _.find(this.$('.doubleListBox'), (item) =>\r\n item.contains(e.target));\r\n const selectedAudience = _.findWhere(this.doubleListBoxViewModel.allAudiences, {\r\n Id: parseInt(e.target.getAttribute('data-id')),\r\n });\r\n const selectedChannel = e.target.getAttribute('data-channel-name');\r\n\r\n if (!selectedAudience) {\r\n return;\r\n }\r\n const containerRect = currentDoubleListBox.getBoundingClientRect();\r\n const targetRect = e.target.getBoundingClientRect();\r\n\r\n const localizedMarkets = getLocalizedMarkets({\r\n item: selectedAudience,\r\n legacyI18n: i18n,\r\n campaignType: this.campaignType,\r\n selectedChannel,\r\n });\r\n\r\n const title = i18n.get('AudiencesAssociation_InMarket_Representation_Internalization_Common_Title');\r\n\r\n this.audienceInternalizationPopover = new PopoverView({\r\n target: this.$(e.target),\r\n position: {\r\n isAbsolute: true,\r\n left: targetRect.left - containerRect.left + e.target.offsetWidth,\r\n top: targetRect.top - containerRect.top,\r\n },\r\n }).setContent(new contents.TitledContent()\r\n .setTitle(title)\r\n .setBody({\r\n html: internalizationTemplate({\r\n localizedMarkets: localizedMarkets.length > 0 ? localizedMarkets : [i18n.getString('None')],\r\n }),\r\n }),\r\n );\r\n\r\n this.audienceInternalizationPopover.$el[0].setAttribute('class', `dlb-internalzation-popover${this.isIMAReachRepresentationPhase1Enabled ? ' representation' : ''}`);\r\n this.audienceInternalizationPopover.audienceId = selectedAudience.Id;\r\n this.audienceInternalizationPopover.once('remove', () => {\r\n this.audienceInternalizationPopover = null;\r\n });\r\n\r\n this.$(currentDoubleListBox).append(this.audienceInternalizationPopover.$el);\r\n }\r\n\r\n hideAudienceInternalizationPopover(e) {\r\n if (this.audienceInternalizationPopover) {\r\n if (!e || (e && $(e.relatedTarget).closest('.dlb-internalzation-popover').length === 0)) {\r\n this.audienceInternalizationPopover.remove();\r\n this.audienceInternalizationPopover = null;\r\n }\r\n }\r\n }\r\n\r\n cleanup() {\r\n throw new TypeError('sub class should implement this function');\r\n }\r\n\r\n ensureLoadedAsync() {\r\n return Promise.all(_.pluck(this.doubleListBoxViewModel.configSettings, 'Loaded'));\r\n }\r\n\r\n resetUi() {\r\n this.hideAssociation();\r\n this.hideExclusion();\r\n\r\n this.doubleListBoxViewModel.isBidTypeChanged(false);\r\n this.doubleListBoxViewModel.errors.clearAll();\r\n this.doubleListBoxViewModel.disableAction(true);\r\n\r\n this.canExpandAssociation = false;\r\n this.canExpandExclusion = false;\r\n\r\n this.resetSelectionListBox();\r\n }\r\n\r\n setEntityLevel(entityLevel) {\r\n this.doubleListBoxViewModel.isCampaignLevel(entityLevel === levelAtConstant.CAMPAIGN);\r\n }\r\n\r\n _getList(options, cb, dlbConfig, isTargeting) {\r\n // Fetch all audiences for all the double list boxes, then filter them by audience type\r\n // and status for each double list box\r\n const fetchAudienceTask = this.fetchAudiencesAsync();\r\n\r\n if (this.shouldShowUiBlockOnRender) {\r\n // withUIBlock is null in local\r\n // have to add hack logic here or test cannot run\r\n if (fetchAudienceTask.withUiBlock == null) {\r\n fetchAudienceTask.withUiBlock = () => fetchAudienceTask;\r\n }\r\n\r\n fetchAudienceTask.withUiBlock(this.$el);\r\n }\r\n\r\n return fetchAudienceTask.then((response) => {\r\n // Filter the result\r\n const filtered = response ?\r\n this._filterLists(\r\n options,\r\n response,\r\n isTargeting,\r\n dlbConfig,\r\n ) : [];\r\n\r\n if (isTargeting) {\r\n dlbConfig.associationEmpty(filtered.total === 0);\r\n } else {\r\n dlbConfig.exclusionEmpty(filtered.total === 0);\r\n }\r\n\r\n // Call cb now as the next steps updated the \"selected\" audiences\r\n // which should happen after the callback\r\n cb(null, filtered);\r\n })\r\n .then(() => this.fetchAssociationsAsync())\r\n .then((res) => {\r\n this._processAssociationsList(res, dlbConfig, isTargeting);\r\n dlbConfig.Loaded.resolve();\r\n }, (err) => {\r\n this._logError(err, 'fetchAssociationsAsync err');\r\n errorHandler.ajaxError();\r\n dlbConfig.Loaded.reject();\r\n });\r\n }\r\n\r\n _logError(err, message) {\r\n logger.logMessage([constants.LOGCATEGORY.TRACE],\r\n constants.LOGLEVEL.INFO,\r\n '/audiences/association',\r\n `${message}: ${JSON.stringify(err)}`);\r\n }\r\n\r\n _getEmptyList(cb) {\r\n cb.call(this, null, {\r\n items: [],\r\n total: 0,\r\n });\r\n }\r\n\r\n _filterLists(options, response, isTargeting, dlbConfig) {\r\n const lists = response.value;\r\n const lowerCaseOfFilterText = options.filterText.toLowerCase();\r\n let total = 0;\r\n let items = [];\r\n\r\n if (!lists || lists.value) {\r\n return {\r\n items,\r\n total,\r\n };\r\n }\r\n\r\n const hideIneligibleAudience = dlbConfig.type === 'InMarket' &&\r\n !this.doubleListBoxViewModel.showIneligibleAudience() &&\r\n this.isIMAReachRepresentationPhase1Enabled;\r\n\r\n let res = _.chain(lists)\r\n .filter((item) =>\r\n item &&\r\n item.Name.toLowerCase().indexOf(lowerCaseOfFilterText) !== -1 &&\r\n item.Type === dlbConfig.type &&\r\n (hideIneligibleAudience ? !item.isInEligibleIMA : true),\r\n )\r\n .value();\r\n\r\n if (this.isLocationRestricted && dlbConfig.type === 'CombinedList') {\r\n res = _.reject(res, (item) => item.HasCustomerListOrCustomAudience === true);\r\n }\r\n\r\n total = _.size(res);\r\n items = res.slice(options.skip || 0, options.take ? options.take : total);\r\n\r\n return {\r\n items,\r\n total,\r\n };\r\n }\r\n\r\n _processItem(item, dlbConfig, isTargeting) {\r\n dlbConfig.associationAllItems = dlbConfig.associationAllItems || [];\r\n dlbConfig.exclusionAllItems = dlbConfig.exclusionAllItems || [];\r\n\r\n let allitems = isTargeting ? dlbConfig.associationAllItems : dlbConfig.exclusionAllItems;\r\n\r\n if (dlbConfig.type === 'InMarket') {\r\n item.name = item.name.replace(/^\\/+/, '');\r\n }\r\n\r\n if (!_.findWhere(allitems, { Id: item.Id })) {\r\n allitems.push(item);\r\n }\r\n return item;\r\n }\r\n\r\n _processAssociationsList(res, dlbConfig, isTargeting) {\r\n const currentAssociations = res;\r\n\r\n this._updateBidType(currentAssociations);\r\n\r\n // 204 no content or no association\r\n if (_.isEmpty(currentAssociations) && _.isNull(this.cache)) {\r\n return;\r\n }\r\n\r\n // If cache is present, use cache\r\n // otherwise filter associations with same audience type, and same targeting type\r\n let selectedAudiences = _.isNull(this.cache) ?\r\n this._filterAssociations(currentAssociations, dlbConfig.type, isTargeting) :\r\n this._getCache(dlbConfig.type, isTargeting);\r\n\r\n\r\n const hideIneligibleAudience = dlbConfig.type === 'InMarket' &&\r\n !this.doubleListBoxViewModel.showIneligibleAudience() &&\r\n this.isIMAReachRepresentationPhase1Enabled;\r\n\r\n if (hideIneligibleAudience) {\r\n selectedAudiences = _.filter(selectedAudiences, (item) => !item.isInEligibleIMA);\r\n }\r\n\r\n if (isTargeting) {\r\n dlbConfig.targeting.selectedLists(selectedAudiences);\r\n\r\n if (selectedAudiences.length > 0) {\r\n this.doubleListBoxViewModel.isAssocExpanded(true);\r\n }\r\n } else {\r\n dlbConfig.exclusion.selectedLists(selectedAudiences);\r\n\r\n if (selectedAudiences.length > 0) {\r\n this.doubleListBoxViewModel.isExclExpanded(true);\r\n }\r\n }\r\n }\r\n\r\n _getCache(type, isTargeting) {\r\n const cachedIds = isTargeting ? this.cache.targeting : this.cache.exclusion;\r\n\r\n return _.filter(this.doubleListBoxViewModel.allAudiences, (item) =>\r\n item.Type === type &&\r\n _.contains(cachedIds, item.Id),\r\n );\r\n }\r\n\r\n _filterAssociations(currentAssociations, type, isTargeting) {\r\n return _.filter(this.doubleListBoxViewModel.allAudiences, (item) =>\r\n item.Type === type &&\r\n _.find(currentAssociations, (value) =>\r\n isStatusTargeting(value.Status) === isTargeting &&\r\n _.result(value, this.entityLevel === levelAtConstant.ADGROUP ? 'AdGroupCriterion' : 'CampaignCriterion')\r\n .Criterion.AudienceId === item.Id,\r\n ),\r\n );\r\n }\r\n\r\n _updateBidType(currentAssociations) {\r\n const newBidType = _.chain(currentAssociations)\r\n .pluck('BidType')\r\n .compact()\r\n .unique()\r\n .first()\r\n .value();\r\n\r\n // Set Bid Type, all associations have same bid type by design\r\n // Only set bidType once, then rely on cache\r\n if (newBidType && !this.doubleListBoxViewModel.oldBidType) {\r\n this.doubleListBoxViewModel.oldBidType = newBidType;\r\n this.doubleListBoxViewModel.selectedBidType(this.doubleListBoxViewModel.oldBidType);\r\n }\r\n }\r\n\r\n _updateDoubleListBox(OtherAllItems, otherSelectedItems, currentSelectItems, currentBox) {\r\n // need to verify both uses contain an Id value\r\n let selectedIds = _.pluck(otherSelectedItems, 'Id');\r\n let sourceItems = [];\r\n\r\n if (_.isEmpty(selectedIds)) {\r\n sourceItems = OtherAllItems;\r\n } else {\r\n //calculate the source items\r\n _.each(OtherAllItems, (item) => {\r\n if (!_.contains(selectedIds, item.Id)) {\r\n sourceItems.push(item);\r\n }\r\n });\r\n }\r\n\r\n _.each(sourceItems, (item) => {\r\n if (_.findWhere(currentSelectItems, { Id: item.Id })) {\r\n currentBox.disableItem(item);\r\n } else {\r\n currentBox.enableItem(item);\r\n }\r\n });\r\n }\r\n\r\n _getListByConfig(options, cb, type, isTargeting) {\r\n let configSetting = _.findWhere(this.doubleListBoxViewModel.configSettings, { type });\r\n\r\n if (_.isUndefined(configSetting)) {\r\n return null;\r\n } else {\r\n return this._getList(options, cb, configSetting, isTargeting);\r\n }\r\n }\r\n\r\n _getListFactory(type, isTargeting) {\r\n return (options, cb) => this._getListByConfig(options, cb, type, isTargeting);\r\n }\r\n\r\n _processItemByConfig(item, type, isTargeting) {\r\n let configSetting = _.findWhere(this.doubleListBoxViewModel.configSettings, { type });\r\n\r\n if (!_.isUndefined(configSetting)) {\r\n this._processItem(item, configSetting, isTargeting);\r\n }\r\n }\r\n\r\n _processItemFactory(type, isTargeting) {\r\n return (item) => {\r\n item.formatReachNumber = formatReachNumber;\r\n this._processItemByConfig(item, type, isTargeting);\r\n return item;\r\n };\r\n }\r\n\r\n onEmptyProductAudienceClick(e) {\r\n this.createProductAudience(e);\r\n }\r\n\r\n showPopup(popup) {\r\n this.removePopup();\r\n\r\n // on old UI, when user navigate to uet tag page, the parent dialog also need to be dismissed\r\n popup.deps = _.defaults(popup.deps, {\r\n closeCreateAudienceDialog: () => {\r\n this.removePopup();\r\n },\r\n });\r\n\r\n this.popup = popup;\r\n\r\n this.popup.render().show().once('action', (associations = []) => {\r\n this.updateCache(associations);\r\n this.refreshLists(true, false, true);\r\n });\r\n }\r\n\r\n showPanelForNewUI(param) {\r\n this.removePanelForNewUI();\r\n const Panel = panelDecorator(param.View, panelOptions);\r\n // on new UI, when user navigate to uet tag page, the parent dialog also need to be dismissed\r\n const deps = _.defaults(param.deps, {\r\n closeCreateAudienceDialog: () => {\r\n this.removePanelForNewUI();\r\n },\r\n });\r\n\r\n this.panel = new Panel({\r\n newI18n: this.newI18n,\r\n type: param.type,\r\n deps,\r\n usePanel: this.usePanel,\r\n isNewUI: true,\r\n enabledAudiences: this.doubleListBoxViewModel.configSettingsOptions(),\r\n title: i18n.getString('Audiences_Manage_Title_General'),\r\n eventsToActions: [{\r\n event: 'action',\r\n action: (associations = []) => {\r\n this.updateCache(associations);\r\n this.refreshLists(true, false, true);\r\n this.removePanelForNewUI();\r\n },\r\n },\r\n {\r\n event: 'onCloseForNewUI',\r\n action: () => {\r\n this.removePanelForNewUI();\r\n },\r\n },\r\n {\r\n event: 'remove',\r\n action: () => {\r\n this.removePanelForNewUI();\r\n this.panel = null;\r\n },\r\n }],\r\n onClose: (e) => {\r\n if ((e.currentTarget.className === 'react-focus-lock' && e.type === 'keyup') || e.currentTarget.className === 'panel-mask' || (e.currentTarget.className && e.currentTarget.className.indexOf('panel-close') > -1)) {\r\n this.removePanelForNewUI();\r\n }\r\n },\r\n });\r\n this.panel.render();\r\n }\r\n\r\n showPanelForNewCustomSegments(param) {\r\n this.removePanelForNewUI();\r\n const Panel = param.View;\r\n\r\n this.panel = new Panel({\r\n onClose: () => {\r\n this.removePanelForNewUI();\r\n },\r\n onSave: () => {\r\n this.refreshLists(true, true, true);\r\n this.removePanelForNewUI();\r\n },\r\n scope: { values: this.scope },\r\n isOpen: true,\r\n i18n,\r\n });\r\n this.panel.render();\r\n }\r\n\r\n removePanelForNewUI() {\r\n if (this.panel) {\r\n this.panel.remove();\r\n }\r\n }\r\n\r\n removePanelForNewCustomSegments() {\r\n if (this.panel) {\r\n this.panel.remove();\r\n }\r\n }\r\n\r\n removePopup() {\r\n if (this.popup) {\r\n this.popup.hide();\r\n }\r\n }\r\n\r\n resetCache() {\r\n this.cache = null;\r\n }\r\n\r\n updateCache(targetingAssociations) {\r\n this.cache = {\r\n targeting: [],\r\n exclusion: [],\r\n };\r\n\r\n const { associationList, exclusionList } = this.getLists();\r\n let associationListIds = _.pluck(associationList, 'Id');\r\n let exclusionListIds = _.pluck(exclusionList, 'Id');\r\n\r\n this.cache.targeting = _.union(associationListIds, targetingAssociations);\r\n\r\n // to be safe, ensure no targeting audiences are in the exclusion cache\r\n this.cache.exclusion = _.difference(exclusionListIds, this.cache.targeting);\r\n }\r\n\r\n setCampaignType(campaignType, campaignSubType, biddingScheme, campaignSettings) {\r\n this.campaignType = campaignType;\r\n this.campaignSubType = campaignSubType;\r\n this.biddingScheme = biddingScheme;\r\n this.campaignSettings = campaignSettings;\r\n this.doubleListBoxViewModel.setCampaignType(this.campaignType, this.campaignSubType, this.biddingScheme, this.campaignSettings);\r\n }\r\n\r\n isTargetingListEmpty() {\r\n return _.chain(this.doubleListBoxViewModel.configSettings)\r\n .map((setting) => setting.targeting.selectedLists().length)\r\n .reduce((sum, num) => sum + num, 0)\r\n .value() === 0;\r\n }\r\n\r\n isExclusionListEmpty() {\r\n return _.chain(this.doubleListBoxViewModel.configSettings)\r\n .map((setting) => setting.targeting.selectedLists().length)\r\n .reduce((sum, num) => sum + num, 0)\r\n .value() === 0;\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport edmCampaign from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport { MTCampaignTypeEnum } from '@bingads-webui-campaign-legacy/adgroup-create-advanced/util/campaignType';\r\nimport pageContext from '@bingads-webui-static-legacy/page-context';\r\n\r\nconst PAGE_SIZE = 6;\r\n\r\nfunction transformAdgroupData(data) {\r\n if (!data || !_.isArray(data)) {\r\n return [];\r\n }\r\n\r\n const adgroupData = data.map((item) => {\r\n return {\r\n Id: item.Id,\r\n name: item.Name,\r\n status: item.Status,\r\n medium: item.Medium,\r\n language: item.Language,\r\n campaignId: item.Campaign.Id,\r\n campaignName: item.Campaign.Name,\r\n campaignType: MTCampaignTypeEnum[item.Campaign.CampaignType] || MTCampaignTypeEnum.Default,\r\n Campaign: item.Campaign,\r\n AdGroupCashback: item.AdGroupCashback,\r\n CampaignCashback: item.Campaign.CampaignCashback,\r\n CampaignSubType: item.Campaign.CampaignSubType,\r\n CampaignSettings: item.Campaign.CampaignSettings,\r\n BiddingScheme: item.Campaign.BiddingScheme,\r\n };\r\n });\r\n\r\n return {\r\n totalCount: data.totalCount,\r\n items: adgroupData,\r\n };\r\n}\r\n\r\n// support search by name and customized filter like\r\n// &$filter=contains(Name, 'nameQuery') and (Medium eq Enum.Medium'Search' or Medium eq Enum.Medium'SearchAndContent')\r\nexport default function getAdgroupData(nameQueryText = '', pageNumber = 0, customizedFilter = '', parentCampaignId) {\r\n const filter = _.compact([\r\n nameQueryText && `contains(Name, '${nameQueryText}')`,\r\n customizedFilter,\r\n ]).join(' and ');\r\n\r\n const $expand = _.compact([\r\n 'Id',\r\n 'Name',\r\n 'CampaignType',\r\n 'CampaignSubType',\r\n pageContext.Permissions.IsPersonalizedOffersEnabled && 'CampaignCashback',\r\n 'CampaignSettings',\r\n 'BiddingScheme',\r\n ]);\r\n\r\n const $select = _.compact([\r\n 'Id',\r\n 'Name',\r\n 'Status',\r\n 'Medium',\r\n 'Language',\r\n pageContext.Permissions.IsPersonalizedOffersEnabled && 'AdGroupCashback',\r\n 'DisplayBiddingStrategyType',\r\n ]).join(',');\r\n\r\n const query = {\r\n $expand: `Campaign($select=${$expand.join(',')})`,\r\n $select,\r\n $skip: pageNumber * PAGE_SIZE,\r\n $top: PAGE_SIZE,\r\n $count: true,\r\n };\r\n\r\n if (filter) {\r\n query.$filter = filter;\r\n }\r\n\r\n if (parentCampaignId) {\r\n query.entitySet = edmCampaign.currentAccount.Campaigns.$withKey(Number(parentCampaignId)).AdGroups.toJSON();\r\n }\r\n\r\n return jsdata.AdGroup.findAll({\r\n query,\r\n }).then((data) => {\r\n return transformAdgroupData(data);\r\n });\r\n}\r\n","/* eslint-disable no-unused-vars */\r\nimport _ from 'underscore';\r\nimport { CampaignAdgroupSelectorView } from '@bingads-webui-campaign-react/campaign-adgroup-selector';\r\nimport withUiBlock from '@bingads-webui-component-legacy/uiblocker/index';\r\n\r\nconst i18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/campaign-adgroup-selector');\r\n\r\nconst CAMPAIGN_PAGESIZE = 10;\r\nconst ADGROUP_PAGESIZE = 6;\r\n\r\nexport default class AdgroupSelectorProxy {\r\n\r\n constructor({\r\n onAdGroupSelect = _.noop,\r\n getCustomizedCampaignData = _.noop,\r\n getCustomizedAdGroupData = _.noop,\r\n parentCampaignId = _.noop,\r\n customizedAdGroupFilter = _.noop,\r\n }) {\r\n this.onAdGroupSelect = onAdGroupSelect;\r\n this.getCustomizedCampaignData = getCustomizedCampaignData || null;\r\n this.getCustomizedAdGroupData = getCustomizedAdGroupData || null;\r\n this.parentCampaignId = parentCampaignId || null;\r\n this.customizedAdGroupFilter = customizedAdGroupFilter || '';\r\n }\r\n\r\n fecthCampaignData({\r\n query = '', pageNumber = 0, pageSize = CAMPAIGN_PAGESIZE,\r\n }, adgroupSelectorView) {\r\n\r\n const uiBlockContainer = adgroupSelectorView && adgroupSelectorView.$('.dropdown-menu');\r\n\r\n return this.getCustomizedCampaignData(query, pageNumber, this.parentCampaignId, /* forAdGroupSelection */true).finally(withUiBlock(uiBlockContainer));\r\n }\r\n\r\n fecthAdgroupData({\r\n query = '', pageNumber = 0, pageSize = CAMPAIGN_PAGESIZE, scopeParentItem = null,\r\n }, adgroupSelectorView) {\r\n const uiBlockContainer = adgroupSelectorView && adgroupSelectorView.$('.dropdown-menu');\r\n\r\n return this.getCustomizedAdGroupData(query,\r\n pageNumber,\r\n this.customizedAdGroupFilter,\r\n this.parentCampaignId || (scopeParentItem && scopeParentItem.Id) || null)\r\n .finally(withUiBlock(uiBlockContainer));\r\n }\r\n\r\n getAdgroupSelectorView(selectedCampaign, selectedAdGroup) {\r\n\r\n const adgroupSelectorView = new CampaignAdgroupSelectorView({\r\n selectedCampaign: selectedCampaign || null,\r\n selectedAdGroup: selectedAdGroup || null,\r\n campaign: {\r\n pageSize: CAMPAIGN_PAGESIZE,\r\n onFetch: (args) => {\r\n return this.fecthCampaignData(args, adgroupSelectorView);\r\n },\r\n },\r\n adgroup: {\r\n pageSize: ADGROUP_PAGESIZE,\r\n onFetch: (args) => {\r\n return this.fecthAdgroupData(args, adgroupSelectorView);\r\n },\r\n },\r\n i18n,\r\n });\r\n\r\n adgroupSelectorView.on('selected-adgroup', (selectedItem) => {\r\n this.onAdGroupSelect(selectedItem);\r\n });\r\n\r\n return adgroupSelectorView;\r\n }\r\n}\r\n\r\n","import Backbone from 'backbone';\r\nimport _ from 'underscore';\r\n\r\nimport template from '@bingads-webui-campaign-legacy/audience-association/template/scopeEntitySelector.pug';\r\nimport getCampaignData from '@bingads-webui-campaign-legacy/audience-association/service/campaign-selector-repository';\r\nimport getAdgroupData from '@bingads-webui-campaign-legacy/audience-association/service/adgroup-selector-repository';\r\nimport AdgroupSelectorProxy from '@bingads-webui-campaign-legacy/audience-association/view/adgroup-selector-proxy';\r\nimport { scopeLevelEnum } from '@bingads-webui-campaign-legacy/audience-association/model/scopeLevelEnum';\r\nimport { levelAtConstant } from '@bingads-webui-campaign/scope-constants';\r\n\r\nimport { appendLearnMoreLink } from '@bingads-webui-component-legacy/help/index';\r\nimport DropdownView from '@bingads-webui-component-legacy/dropdown/dropdownview';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport edmCampaign from '@bingads-webui-component-legacy/edm-campaign/index';\r\n\r\nimport CampaignSelectorProxy from '@bingads-webui-campaign-legacy/crud-campaign/view/campaign-selector-proxy';\r\n\r\nconst i18n = window.globalLegacyI18n.get('component/i18n/loader!campaignui/feature/audience/association');\r\n\r\nexport default class View extends Backbone.View {\r\n initialize(options = {}) {\r\n this.options = options;\r\n this.scope = options.scope;\r\n this.currentLevel = options.scope.currentScope === scopeLevelEnum.adgroup || !options.isLevelSelectable ?\r\n levelAtConstant.ADGROUP : levelAtConstant.CAMPAIGN;\r\n this.selectedCampaign = null;\r\n this.selectedAdGroup = null;\r\n this.adgroupFilter = options.filterPredicate && options.filterPredicate.adgroup && options.filterPredicate.adgroup.length > 0 ?\r\n this._filterToString(options.filterPredicate.adgroup) : '';\r\n this.onSelectedEntityChange = options.onSelectedEntityChange;\r\n this.onSelectedLevelChange = options.onSelectedLevelChange;\r\n this.isAudienceEditMode = options.isAudienceEditMode;\r\n this.preselectedCampaign = options.preselectedCampaign;\r\n this.preselectedAdgroup = options.preselectedAdgroup;\r\n }\r\n\r\n render() {\r\n this.$el.html(template({\r\n i18n,\r\n appendLearnMoreLink,\r\n showHelp: this.options.showHelp, // don't show help under adgroup scope\r\n helpContent: this.options.helpContent,\r\n helpId: this.options.helpId, // 'app51227'\r\n isLevelSelectable: this.options.isLevelSelectable,\r\n isAtCampaignLevel: this.isAudienceEditMode ? !this.preselectedAdgroup : this.currentLevel !== levelAtConstant.ADGROUP,\r\n isAtAdgroupLevel: this.isAudienceEditMode ? this.preselectedAdgroup : this.currentLevel === levelAtConstant.ADGROUP,\r\n isCampaignSelectable: this.options.isCampaignSelectable,\r\n isAdGroupSelectable: this.options.isAdGroupSelectable,\r\n campaignName: this._getPreselectedCampaignName(this.scope),\r\n adgroupCaption: i18n.get('AudiencesAssociation_Header_AdGroup'),\r\n adgroupName: this._getPreselectedAdGroupName(this.scope),\r\n }));\r\n\r\n if (this.options.isLevelSelectable) {\r\n this._initializeLevelSelector();\r\n }\r\n\r\n if (this.options.isAdGroupSelectable) {\r\n this._initializeAdGroupSelector();\r\n } else {\r\n this.selectedAdGroup = this.scope.adgroup;\r\n this.selectedCampaign = this.scope.campaign;\r\n }\r\n\r\n if (this.options.isCampaignSelectable) {\r\n this._initializeCampaignSelector();\r\n } else {\r\n this.selectedCampaign = this.scope.campaign;\r\n }\r\n\r\n if (this.isAudienceEditMode) {\r\n if (this.preselectedAdgroup) {\r\n this.entityLevelSelector.selectItemById(1);\r\n this.$('.campaign-level-selection').hide();\r\n this.$('.adgroup-level-selection').show();\r\n this.$('.adgroup-label').hide();\r\n this.$('.adgroup-selector').show();\r\n } else {\r\n this.entityLevelSelector.selectItemById(0);\r\n this.$('.adgroup-level-selection').hide();\r\n this.$('.campaign-level-selection').show();\r\n this.$('.campaign-label').hide();\r\n this.$('.campaign-selector').show();\r\n }\r\n }\r\n return this;\r\n }\r\n\r\n onEntityLevelChanged(newLevel) {\r\n if (newLevel === levelAtConstant.CAMPAIGN) {\r\n this.$('.adgroup-level-selection').hide();\r\n this.$('.campaign-level-selection').show();\r\n if (this.options.isCampaignSelectable) {\r\n this.$('.campaign-label').hide();\r\n this.$('.campaign-selector').show();\r\n } else {\r\n this.$('.campaign-label').show();\r\n this.$('.campaign-selector').hide();\r\n }\r\n } else if (newLevel === levelAtConstant.ADGROUP) {\r\n this.$('.campaign-level-selection').hide();\r\n this.$('.adgroup-level-selection').show();\r\n if (this.options.isAdGroupSelectable) {\r\n this.$('.adgroup-label').hide();\r\n this.$('.adgroup-selector').show();\r\n } else {\r\n this.$('.adgroup-label').show();\r\n this.$('.adgroup-selector').hide();\r\n }\r\n }\r\n\r\n if (newLevel !== this.currentLevel) {\r\n this.trigger('entityLevelChanged', newLevel);\r\n if (_.isFunction(this.onSelectedLevelChange)) {\r\n this.onSelectedLevelChange(newLevel);\r\n }\r\n this.currentLevel = newLevel;\r\n // trigger selected entity change\r\n if (newLevel === levelAtConstant.CAMPAIGN) {\r\n this.trigger('selectedEntityChanged', this.selectedCampaign);\r\n if (_.isFunction(this.onSelectedEntityChange)) {\r\n this.onSelectedEntityChange(this.selectedCampaign);\r\n }\r\n } else if (newLevel === levelAtConstant.ADGROUP) {\r\n this.trigger('selectedEntityChanged', this.selectedAdGroup);\r\n if (_.isFunction(this.onSelectedEntityChange)) {\r\n this.onSelectedEntityChange(this.selectedAdGroup);\r\n }\r\n }\r\n }\r\n }\r\n\r\n onSelectedEntityChanged(level, newEntity) {\r\n if (level === scopeLevelEnum.adgroup) {\r\n this.selectedCampaign = {\r\n Id: newEntity.campaignId,\r\n Name: newEntity.campaignName,\r\n CampaignType: newEntity.campaignType,\r\n CampaignCashback: newEntity.CampaignCashback,\r\n CampaignSubType: newEntity.CampaignSubType,\r\n CampaignSettings: newEntity.CampaignSettings,\r\n BiddingScheme: newEntity.BiddingScheme,\r\n };\r\n this.selectedAdGroup = {\r\n Type: levelAtConstant.ADGROUP,\r\n Id: newEntity.Id,\r\n Name: newEntity.name,\r\n Campaign: this.selectedCampaign,\r\n AdGroupCashback: newEntity.AdGroupCashback,\r\n };\r\n this.trigger('selectedEntityChanged', this.selectedAdGroup);\r\n if (_.isFunction(this.onSelectedEntityChange)) {\r\n this.onSelectedEntityChange(this.selectedAdGroup);\r\n }\r\n } else {\r\n this.selectedCampaign = {\r\n Type: levelAtConstant.CAMPAIGN,\r\n Id: newEntity.Id,\r\n Name: newEntity.name,\r\n CampaignType: newEntity.type,\r\n CampaignCashback: newEntity.CampaignCashback,\r\n };\r\n this.selectedAdGroup = null;\r\n this.trigger('selectedEntityChanged', this.selectedCampaign);\r\n if (_.isFunction(this.onSelectedEntityChange)) {\r\n this.onSelectedEntityChange(this.selectedCampaign);\r\n }\r\n }\r\n }\r\n\r\n _getPreselectedCampaignName(scope) {\r\n if (this.isAudienceEditMode) {\r\n this.selectedCampaign = this.preselectedCampaign;\r\n return this.preselectedCampaign.Name;\r\n } else if (scope.currentScope === scopeLevelEnum.campaign) {\r\n if (scope.campaign && scope.campaign.name) {\r\n this.selectedCampaign = scope.campaign;\r\n this.selectedAdGroup = null;\r\n return scope.campaign.name;\r\n } else {\r\n this._getCampaignNameById(scope.campaign.id);\r\n return '';\r\n }\r\n } else {\r\n return '';\r\n }\r\n }\r\n\r\n _getPreselectedAdGroupName(scope) {\r\n if (this.isAudienceEditMode) {\r\n this.selectedAdGroup = this.preselectedAdgroup ? this.preselectedAdgroup : null;\r\n return this.preselectedAdgroup ? this.preselectedAdgroup.Name : '';\r\n } else if (scope.currentScope === scopeLevelEnum.adgroup) {\r\n if (scope.adgroup && scope.adgroup.name) {\r\n this.selectedAdGroup = scope.adgroup;\r\n this.selectedCampaign = scope.campaign;\r\n return scope.adgroup.name;\r\n } else {\r\n this._getAdGroupNameById(scope.campaign.id, scope.adgroup.id);\r\n return '';\r\n }\r\n } else {\r\n return '';\r\n }\r\n }\r\n\r\n _getCampaignNameById(campaignId) {\r\n if (!campaignId) {\r\n return;\r\n }\r\n\r\n const params = {\r\n entitySet: edmCampaign.currentAccount.Campaigns,\r\n bypassCache: true,\r\n queryParameters: {\r\n query: {\r\n $select: 'Id, Name, CampaignType',\r\n },\r\n },\r\n };\r\n\r\n jsdata.Campaign.find(Number(campaignId), params).then((data) => {\r\n this.selectedAdGroup = null;\r\n this.selectedCampaign = data;\r\n this.$('.campaign-text').text(data.Name);\r\n });\r\n }\r\n\r\n _getAdGroupNameById(campaignId, adGroupId) {\r\n if (!campaignId || !adGroupId) {\r\n return;\r\n }\r\n\r\n const params = {\r\n entitySet: edmCampaign.currentAccount.Campaigns.$withKey(Number(campaignId)).AdGroups,\r\n bypassCache: true,\r\n queryParameters: {\r\n query: {\r\n $select: 'Id, Name, Status',\r\n $expand: 'Campaign',\r\n },\r\n },\r\n };\r\n\r\n jsdata.AdGroup.find(Number(adGroupId), params).then((data) => {\r\n this.selectedAdGroup = data;\r\n this.selectedCampaign = data.Campaign;\r\n this.$('.adgroup-text').text(data.Name);\r\n });\r\n }\r\n\r\n _filterToString(filters) {\r\n const preds = _.chain(filters)\r\n .first()\r\n .map((pred) => `${pred.operand} ${pred.operator} ${pred.value}`)\r\n .value()\r\n .join(' or ');\r\n\r\n return `(${preds})`;\r\n }\r\n\r\n _initializeLevelSelector() {\r\n const levelContent = [\r\n {\r\n id: 0,\r\n value: i18n.get('AudiencesAssociation_Header_Campaign'),\r\n menuItemId: 'audience-level__campaign',\r\n }, {\r\n id: 1,\r\n value: i18n.get('AudiencesAssociation_Header_AdGroup'),\r\n menuItemId: 'audience-level__adgroup',\r\n },\r\n ];\r\n\r\n this.entityLevelSelector = new DropdownView({\r\n el: this.$('#level-selector').first(),\r\n dropDownOptions: levelContent,\r\n onDropDownChanged: (event) => {\r\n if (event.id === 0) { // campaign\r\n this.onEntityLevelChanged(levelAtConstant.CAMPAIGN);\r\n } else if (event.id === 1) { // adgroup\r\n this.onEntityLevelChanged(levelAtConstant.ADGROUP);\r\n }\r\n },\r\n });\r\n\r\n\r\n }\r\n\r\n _initializeAdGroupSelector() {\r\n this.adgroupSelectorProxy = new AdgroupSelectorProxy({\r\n onAdGroupSelect: (selectedItem) => {\r\n this.onSelectedEntityChanged(scopeLevelEnum.adgroup, selectedItem);\r\n },\r\n getCustomizedCampaignData: getCampaignData,\r\n getCustomizedAdGroupData: getAdgroupData,\r\n parentCampaignId: this.scope.currentScope === scopeLevelEnum.campaign ? this.scope.campaign.id : null,\r\n customizedAdGroupFilter: this.adgroupFilter,\r\n selectedItem: this.isAudienceEditMode ? this.preselectedAdgroup : null,\r\n checkSelected: (selectedItem, item) => {\r\n const selectedItemId = selectedItem ? selectedItem.Id : null;\r\n const itemId = item ? item.Id : null;\r\n\r\n _.isEqual(selectedItemId, itemId);\r\n },\r\n });\r\n this.adgroupSelector = this.adgroupSelectorProxy.getAdgroupSelectorView(\r\n this.preselectedCampaign, this.preselectedAdgroup,\r\n );\r\n this.$('.adgroup-selector').empty().append(this.adgroupSelector.render().$el);\r\n }\r\n\r\n _initializeCampaignSelector() {\r\n this.campaignSelectorProxy = new CampaignSelectorProxy({\r\n campaignType: '',\r\n selectedItem: this.isAudienceEditMode ? this.preselectedCampaign : null,\r\n onEventTrigger: (key, selectedItem) => {\r\n this.onSelectedEntityChanged(scopeLevelEnum.campaign, selectedItem);\r\n },\r\n getCustomizedData: getCampaignData,\r\n checkSelected: (selectedItem, item) => {\r\n const selectedItemId = selectedItem ? selectedItem.Id : null;\r\n const itemId = item ? item.Id : null;\r\n\r\n _.isEqual(selectedItemId, itemId);\r\n }\r\n });\r\n this.campaignSelector = this.campaignSelectorProxy.getCampaignSelectorView(this.preselectedCampaign);\r\n this.$('.campaign-selector').empty().append(this.campaignSelector.render().$el);\r\n }\r\n\r\n}\r\n","const audienceTypes = {\r\n Remessaging: 'Remessaging',\r\n Custom: 'Custom',\r\n InMarket: 'InMarket',\r\n Product: 'Product',\r\n RemarketingSimilar: 'RemarketingSimilar',\r\n CustomerList: 'CustomerList',\r\n CombinedList: 'CombinedList',\r\n ImpressionBasedRemarketing: 'ImpressionBasedRemarketing',\r\n SubType: {\r\n AdvertiserDefined: 'AdvertiserDefined',\r\n AllVisitor: 'AllVisitor',\r\n AllConverter: 'AllConverter',\r\n RemarketingSmartAudience: 'RemarketingSmartAudience',\r\n TestSegment: 'TestSegment',\r\n },\r\n CustomSegment: 'CustomSegment',\r\n};\r\n\r\nexport default audienceTypes;\r\n","import ko from 'knockout';\r\nimport _ from 'underscore';\r\nimport pageContext from '@bingads-webui-static-legacy/page-context';\r\nimport { appendLearnMoreLink } from '@bingads-webui-component-legacy/help/index';\r\nimport audienceTypes from '@bingads-webui-campaign-legacy/audiences/components/audience-type/audienceTypes';\r\nimport audienceTypeToString from '@bingads-webui-static-legacy/audiences/model/audienceTypeToString';\r\n\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nconst audienceTypesOptions = [\r\n {\r\n id: 'audienceType_Remessaging',\r\n enum: audienceTypes.Remessaging,\r\n title: audienceTypeToString.Remessaging,\r\n description: audiencesi18n.getString('AudiencesAssociation_AudienceType_Remessaging_Desc'),\r\n helpLink: appendLearnMoreLink('', 'app54698', {\r\n label: audiencesi18n.getString('AudiencesAssociation_AudienceType_Remessaging_Desc'),\r\n }),\r\n visible: true,\r\n },\r\n {\r\n id: 'audienceType_Product',\r\n enum: audienceTypes.Product,\r\n title: audienceTypeToString.Product,\r\n description: audiencesi18n.getString('AudiencesAssociation_AudienceType_Product_Desc'),\r\n helpLink: appendLearnMoreLink('', 'app54699', {\r\n label: audiencesi18n.getString('AudiencesAssociation_AudienceType_Product_Desc'),\r\n }),\r\n visible: (pageContext.Permissions.IsAIMCampaignEnabled || pageContext.Permissions.IsProductAudienceForSearchEnabled) && !pageContext.Permissions.IsDomesticSimplifiedChineseEnabled,\r\n },\r\n {\r\n id: 'audienceType_Custom',\r\n enum: audienceTypes.Custom,\r\n title: audienceTypeToString.Custom,\r\n description: audiencesi18n.getString('AudiencesAssociation_AudienceType_Custom_Desc'),\r\n helpLink: '',\r\n visible: false,\r\n },\r\n {\r\n id: 'audienceType_InMarket',\r\n enum: audienceTypes.InMarket,\r\n title: audienceTypeToString.InMarket,\r\n description: audiencesi18n.getString('AudiencesAssociation_AudienceType_InMarket_Desc'),\r\n helpLink: '',\r\n visible: false,\r\n },\r\n {\r\n id: 'audienceType_RemarketingSimilar',\r\n enum: audienceTypes.RemarketingSimilar,\r\n title: audienceTypeToString.RemarketingSimilar,\r\n description: audiencesi18n.getString('AudiencesAssociation_AudienceType_RemarketingSimilar_Desc'),\r\n helpLink: '',\r\n visible: false,\r\n },\r\n {\r\n id: 'audienceType_CustomerList',\r\n enum: audienceTypes.CustomerList,\r\n title: audienceTypeToString.CustomerList,\r\n description: audiencesi18n.getString('AudiencesAssociation_AudienceType_CustomerList_Desc'),\r\n helpLink: appendLearnMoreLink('', 'app54675', {\r\n label: audiencesi18n.getString('AudiencesAssociation_AudienceType_CustomerList_Desc'),\r\n }),\r\n visible: pageContext.Permissions.IsCustomerListAudienceAllowed && !pageContext.Permissions.IsDomesticSimplifiedChineseEnabled,\r\n },\r\n {\r\n id: 'audienceType_CombinedList',\r\n enum: audienceTypes.CombinedList,\r\n title: audienceTypeToString.CombinedList,\r\n description: audiencesi18n.getString('AudiencesAssociation_AudienceType_CombinedList_Desc'),\r\n helpLink: appendLearnMoreLink('', 'app54761', {\r\n label: audiencesi18n.getString('AudiencesAssociation_AudienceType_CombinedList_Desc'),\r\n }),\r\n visible: pageContext.Permissions.IsCombinedListAudienceAllowed,\r\n },\r\n {\r\n id: 'audienceType_ImpressionsBasedRemarketing',\r\n enum: audienceTypes.ImpressionBasedRemarketing,\r\n title: audienceTypeToString.ImpressionBasedRemarketing,\r\n description: audiencesi18n.getString('AudiencesAssociation_AudienceType_ImpressionBasedRemarketing_Desc'),\r\n helpLink: appendLearnMoreLink('', 'app54857', {\r\n label: audiencesi18n.getString('AudiencesAssociation_AudienceType_ImpressionBasedRemarketing_Desc'),\r\n }),\r\n visible: pageContext.Permissions.dynamic && pageContext.Permissions.dynamic.EnableImpressionBasedList,\r\n },\r\n];\r\n\r\nexport class AudienceTypeSelectorViewModel {\r\n constructor({\r\n editMode = false,\r\n type = null,\r\n enabledAudiences = null,\r\n disabledAudiences = null,\r\n }) {\r\n this.editMode = ko.observable(editMode);\r\n this.selectedOption = ko.observable(null);\r\n this.typeError = ko.observable(false);\r\n this.audienceTypesOptions = audienceTypesOptions.filter(\r\n (option) => option.visible && (!enabledAudiences || enabledAudiences.findIndex((enabled) => enabled.value === option.enum) > -1),\r\n ).filter((option) => !disabledAudiences || disabledAudiences.findIndex((disabled) => disabled.value === option.enum) === -1);\r\n\r\n\r\n if (type) {\r\n const selectedOption = _.findWhere(audienceTypesOptions, { enum: type });\r\n\r\n this.selectedOption(selectedOption.id);\r\n }\r\n }\r\n\r\n validate() {\r\n const selectedItem = this.getSelectedItem();\r\n\r\n this.typeError(!selectedItem);\r\n return !_.isUndefined(selectedItem);\r\n }\r\n\r\n getSelectedItem() {\r\n const item = _.findWhere(audienceTypesOptions, { id: this.selectedOption() });\r\n\r\n return item;\r\n }\r\n}\r\n","import ko from 'knockout';\r\nimport { BaseView } from '@bingads-webui/base-view';\r\nimport { appendLearnMoreLink } from '@bingads-webui-component-legacy/help/index';\r\n\r\nimport audienceTypeSelectorTemplate from './type-selector-template.pug';\r\nimport { AudienceTypeSelectorViewModel } from './type-selector-viewmodel';\r\n\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nexport class AudienceTypeSelectorView extends BaseView {\r\n initialize({\r\n editMode = false,\r\n type = null,\r\n enabledAudiences = null,\r\n disabledAudiences = null,\r\n }) {\r\n this.viewModel = new AudienceTypeSelectorViewModel({ editMode, type, enabledAudiences, disabledAudiences });\r\n this.viewModel.selectedOption.subscribe(() => {\r\n this.onSelectedItemUpdated();\r\n });\r\n this.saveClicked = false;\r\n }\r\n\r\n render() {\r\n this.setElement(audienceTypeSelectorTemplate({\r\n i18n: audiencesi18n,\r\n appendLearnMoreLink,\r\n }));\r\n\r\n ko.applyBindings(this.viewModel, this.$el[0]);\r\n\r\n return this;\r\n }\r\n\r\n onSelectedItemUpdated() {\r\n this.validate(false);\r\n this.trigger('update', this.getSelectedItem());\r\n }\r\n\r\n validate(saveClicked = false) {\r\n this.saveClicked = this.saveClicked || saveClicked;\r\n\r\n if (this.saveClicked) {\r\n return this.viewModel.validate();\r\n }\r\n\r\n return false;\r\n }\r\n\r\n setEditMode(editMode) {\r\n this.viewModel.editMode(editMode);\r\n }\r\n\r\n getSelectedItem() {\r\n return this.viewModel.getSelectedItem();\r\n }\r\n}\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport _ from 'underscore';\r\n\r\nimport { AudienceAssociationRepository, AudienceAssociationUtils } from '@bingads-webui-campaign/audience-association-repository';\r\nimport AudienceTypes from '@bingads-webui-campaign-legacy/audiences/components/audience-type/audienceTypes';\r\nimport { BaseView } from '@bingads-webui/base-view';\r\nimport { types as campaignTypes } from '@bingads-webui-campaign-legacy/adgroup-create-advanced/util/campaignType';\r\nimport { CombinedListDetail } from '@bingads-webui-campaign-react/custom-combination';\r\nimport edmCampaign from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport jsData from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport PageContext from '@bingads-webui-static-legacy/page-context';\r\nimport routerUtil from '@bingads-webui-static-legacy/utils/router-util';\r\n\r\nconst AudienceI18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nexport class CombinedListAudiencePanelView extends BaseView {\r\n initialize({\r\n isEditMode = false,\r\n isPopup = false,\r\n isReadonly = false,\r\n attachPoint = null,\r\n newI18n = null,\r\n instrumentationSvc = { logMessage: _.noop },\r\n instrumentConsts = { LOGCATEGORY: {}, LOGLEVEL: {} },\r\n }) {\r\n this.instrumentationSvc = instrumentationSvc;\r\n this.instrumentConsts = instrumentConsts;\r\n this.logMessage = (isError, Api, Message) => {\r\n if (isError) {\r\n this.instrumentationSvc.logMessage(\r\n [this.instrumentConsts.LOGCATEGORY.ERROR],\r\n this.instrumentConsts.LOGLEVEL.INFO,\r\n Api,\r\n Message,\r\n );\r\n } else {\r\n this.instrumentationSvc.logMessage(\r\n [this.instrumentConsts.LOGCATEGORY.TRACE],\r\n this.instrumentConsts.LOGLEVEL.INFO,\r\n Api,\r\n Message,\r\n );\r\n }\r\n };\r\n this.isEditMode = isEditMode;\r\n this.isPopup = isPopup;\r\n this.isReadonly = isReadonly;\r\n this.newI18n = newI18n;\r\n\r\n this.attachPoint = attachPoint;\r\n if (_.isNull(this.attachPoint)) {\r\n this.logMessage(true, 'initialize', 'attachPoint is null');\r\n } else {\r\n this.logMessage(false, 'initialize', `attachPoint is ${this.attachPoint}`);\r\n }\r\n\r\n this.detailPanel = null;\r\n\r\n this.edmScope = routerUtil.isAccountScope() ? 'currentAccount' : 'currentCustomer';\r\n\r\n this.advertiserCustomerId = this.getAdvertiserCustomerId(PageContext, this.edmScope);\r\n this.entities = this.getEdmEntities(this.edmScope);\r\n\r\n this.dataSource = new AudienceAssociationRepository({\r\n permissions: PageContext.Permissions,\r\n campaignType: campaignTypes.audience,\r\n jsData,\r\n edmCampaign: this.entities,\r\n i18n: AudienceI18n,\r\n campaignTypes,\r\n });\r\n }\r\n\r\n getAdvertiserCustomerId(pageContext, edmScope) {\r\n if (edmScope === 'currentCustomer') {\r\n // for agency customer with no aid\r\n return pageContext.CurrentCustomer.Id;\r\n }\r\n\r\n const advertiserCustomerId = (pageContext.CurrentAccount && pageContext.CurrentAccount.AdvertiserCustomerID) || pageContext.CurrentCustomer.Id;\r\n\r\n return advertiserCustomerId;\r\n }\r\n\r\n fromMT(mtAudienceSets) {\r\n const view = this.detailPanel;\r\n\r\n if (view) {\r\n this.logMessage(false, 'fromMT detail-panel', 'calling fromMT Combined List Audience Createion');\r\n view.load(mtAudienceSets);\r\n } else {\r\n this.logMessage(true, 'fromMT detail-panel', 'fromMT Combined List Audience Createion, view is not found');\r\n }\r\n\r\n }\r\n\r\n toMT() {\r\n const view = this.detailPanel;\r\n\r\n if (view) {\r\n this.logMessage(false, 'toMT detail-panel', 'calling toMT Combined List Audience Createion');\r\n return view.serialize();\r\n }\r\n\r\n this.logMessage(true, 'toMT detail-panel', 'toMT Combined List Audience Createion, view is not found');\r\n return null;\r\n }\r\n\r\n getEdmEntities(edmScope) {\r\n if (edmScope === 'currentCustomer') {\r\n edmCampaign.customerIdType.useAdvertiserCustomerId = false;\r\n }\r\n\r\n return PageContext.Permissions.IsNewAudienceEnabled || PageContext.Permissions.IsAudienceListSizeEnabled ?\r\n edmCampaign[edmScope].Audiences :\r\n edmCampaign[edmScope].RemessagingAudiences;\r\n }\r\n\r\n getPermittedAudienceTypes() {\r\n const EnableImpressionBasedList = PageContext.Permissions && PageContext.Permissions.dynamic && PageContext.Permissions.dynamic.EnableImpressionBasedList;\r\n\r\n return _.compact([\r\n AudienceTypes.Remessaging,\r\n PageContext.Permissions.IsCustomAudienceAllowed && AudienceTypes.Custom,\r\n (PageContext.Permissions.IsAIMCampaignEnabled || PageContext.Permissions.IsProductAudienceForSearchEnabled) && AudienceTypes.Product,\r\n PageContext.Permissions.IsRemarketingSimilarAudienceAllowed && AudienceTypes.RemarketingSimilar,\r\n PageContext.Permissions.IsCustomerListAudienceAllowed && AudienceTypes.CustomerList,\r\n EnableImpressionBasedList && AudienceTypes.ImpressionBasedRemarketing,\r\n ]);\r\n }\r\n\r\n activate() {\r\n const view = this.detailPanel;\r\n\r\n if (view) {\r\n this.logMessage(false, 'active detail-panel', 'calling active Combined List Audience Createion');\r\n return view.activate();\r\n }\r\n\r\n this.logMessage(true, 'active detail-panel', 'active Combined List Audience Createion, view is not found');\r\n return _.noop();\r\n }\r\n\r\n validate() {\r\n const view = this.detailPanel;\r\n\r\n if (view) {\r\n this.logMessage(false, 'validate detail-panel', 'calling validate Combined List Audience Createion');\r\n return view.validateCombinedList();\r\n }\r\n this.logMessage(true, 'validate detail-panel', 'validate Combined List Audience Createion, view is not found');\r\n return false;\r\n }\r\n\r\n backFillMTResponse(errorCode) {\r\n this.detailPanel.backFillMTResponse(errorCode);\r\n }\r\n\r\n render() {\r\n\r\n const permittedAudienceTypes = this.getPermittedAudienceTypes();\r\n\r\n const props = {\r\n i18n: AudienceI18n,\r\n isEditMode: this.isEditMode,\r\n permissions: PageContext.Permissions,\r\n newI18n: this.newI18n,\r\n loadAudiencesAsync: () => this.dataSource\r\n .getAudiencesByType(permittedAudienceTypes, 0, 100000)\r\n .then((audiences) => AudienceAssociationUtils.filterOutSharedAudiences(audiences, this.advertiserCustomerId)),\r\n\r\n ref: (el) => {\r\n this.logMessage(false, 'Callback Ref', `Callback Ref Combined List Audience Createion, el is ${el}`);\r\n this.detailPanel = el;\r\n },\r\n logMessage: (isError, Api, Message) => this.logMessage(isError, Api, Message),\r\n };\r\n\r\n this.logMessage(false, 'render detail-panel', 'begin rendering Combined List Audience Createion React');\r\n ReactDOM.render(\r\n React.createElement(CombinedListDetail, props, null),\r\n this.attachPoint,\r\n );\r\n this.logMessage(false, 'render detail-panel', 'end rendering Combined List Audience Createion React');\r\n }\r\n\r\n remove() {\r\n ReactDOM.unmountComponentAtNode(this.attachPoint);\r\n this.logMessage(false, 'remove detail-panel', 'remove Combined List Audience Createion React');\r\n return super.remove();\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport PageContext from '@bingads-webui-static-legacy/page-context';\r\nimport azureUpload from '@bingads-webui-component-legacy/azure-upload/index';\r\n\r\nimport { CustomerListAudiencePanelView as customerListAudiencePanelViewLoader } from '@bingads-webui-campaign-react/customer-list-audience-panel';\r\n\r\nconst i18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nconst deps = {\r\n PageContext,\r\n '@bingads-webui/i18n-amd-loader!campaignui/feature/audiences': i18n,\r\n 'component/azure-upload/index': azureUpload,\r\n};\r\n\r\n// Inject the dependencies\r\nexport const CustomerListAudiencePanelView = customerListAudiencePanelViewLoader(deps).then(_.property('CustomerListAudiencePanelView'));\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport _ from 'underscore';\r\nimport { BackboneViewWrapper } from '@bingads-webui-react/backbone-view-wrapper';\r\nimport { levelAtConstant } from '@bingads-webui-campaign/scope-constants';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport edmCampaign from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport ScopeEntitySelectorView from '@bingads-webui-campaign-legacy/audience-association/view/scope-entity-selector';\r\n\r\nexport default class ImpressionBasedList extends React.PureComponent {\r\n constructor(props) {\r\n super(props);\r\n this.logMessage = props.logMessage;\r\n this.isEditMode = props.isEditMode;\r\n this.model = props.model;\r\n this.state = {\r\n error: null,\r\n isDataLoaded: false,\r\n // selectedEntity: props.selectedEntity || null,\r\n // selectedLevel: props.selectedLevel || null,\r\n };\r\n\r\n const CampaignId = this.isEditMode ? this.model.attributes.CampaignId : null;\r\n const AdGroupId = this.isEditMode ? this.model.attributes.AdGroupId : null;\r\n const EntityType = this.isEditMode ? this.model.attributes.EntityType : null;\r\n\r\n this.selectedCampaignRef = React.createRef();\r\n this.selectedAdgroupRef = React.createRef();\r\n this.selectedLevelRef = React.createRef();\r\n\r\n if (this.isEditMode) {\r\n if (EntityType === levelAtConstant.CAMPAIGN) {\r\n this.selectedLevelRef.current = levelAtConstant.CAMPAIGN;\r\n this.selectedCampaignRef.current = { Id: CampaignId };\r\n this.selectedAdgroupRef.current = null;\r\n } else {\r\n this.selectedLevelRef.current = levelAtConstant.ADGROUP;\r\n this.selectedAdgroupRef.current = { Id: AdGroupId };\r\n this.selectedCampaignRef.current = { Id: CampaignId };\r\n }\r\n } else {\r\n this.selectedAdgroupRef.current = props.selectedEntity || null;\r\n this.selectedCampaignRef.current = props.selectedEntity || null;\r\n this.selectedLevelRef.current = props.selectedLevel || null;\r\n }\r\n\r\n // only for test purpose\r\n if (this.props.testRef) {\r\n this.props.testRef.current = {\r\n validateImpressionBasedList: this.validateImpressionBasedList.bind(this),\r\n toJSON: this.toJSON.bind(this),\r\n };\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n this.logMessage(false, 'ImpressionBasedList', 'componentDidMount');\r\n if (this.isEditMode && !this.state.isDataLoaded) {\r\n const campaignId = this.selectedCampaignRef.current.Id;\r\n\r\n const params = {\r\n entitySet: edmCampaign.currentAccount.Campaigns,\r\n bypassCache: true,\r\n queryParameters: {\r\n query: {\r\n $select: 'Id, Name, CampaignType',\r\n },\r\n },\r\n };\r\n\r\n jsdata.Campaign.find(Number(campaignId), params).then((data) => {\r\n const campaignObj = data;\r\n\r\n // backfill name and type for entity selector\r\n campaignObj.name = data.Name;\r\n campaignObj.Type = 'Campaign';\r\n this.selectedCampaignRef.current = campaignObj;\r\n const paramsAdgroup = {\r\n entitySet: edmCampaign.currentAccount.Campaigns.$withKey(Number(campaignId)).AdGroups,\r\n bypassCache: true,\r\n queryParameters: {\r\n query: {\r\n $select: 'Id, Name, Status, CampaignName, CampaignId, Campaign',\r\n },\r\n },\r\n };\r\n\r\n if (!this.selectedAdgroupRef.current) {\r\n return null;\r\n }\r\n\r\n const adGroupId = this.selectedAdgroupRef.current.Id;\r\n\r\n return jsdata.AdGroup.find(Number(adGroupId), paramsAdgroup);\r\n }).then((data) => {\r\n if (!data) {\r\n this.setState({ isDataLoaded: true });\r\n return;\r\n }\r\n\r\n const adgroupObj = data;\r\n\r\n // backfill name and type for entity selector\r\n adgroupObj.campaignName = this.selectedCampaignRef.current.Name;\r\n adgroupObj.name = data.Name;\r\n adgroupObj.Type = 'AdGroup';\r\n this.selectedAdgroupRef.current = adgroupObj;\r\n this.setState({ isDataLoaded: true });\r\n });\r\n }\r\n }\r\n\r\n validateImpressionBasedList = () => {\r\n\r\n if (!this.selectedLevelRef.current) {\r\n if (this.selectedLevelRef.current === 'Campaign' && !this.selectedCampaignRef.current) {\r\n this.logMessage(false, 'ImpressionBasedList', 'validateImpressionBasedList: selectedCampaign is null');\r\n return false;\r\n }\r\n if (this.selectedLevelRef.current === 'AdGroup' && !this.selectedAdgroupRef.current) {\r\n this.logMessage(false, 'ImpressionBasedList', 'validateImpressionBasedList: selectedAdgroup is null');\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n };\r\n\r\n toJSON() {\r\n // TODO: Implement this function to return the JSON representation of the component\r\n if (this.selectedLevelRef.current === 'Campaign') {\r\n return {\r\n EntityType: this.selectedLevelRef.current || null,\r\n CampaignId: this.selectedCampaignRef.current ? this.selectedCampaignRef.current.Id : null,\r\n AdGroupId: null,\r\n };\r\n } else {\r\n return {\r\n EntityType: this.selectedLevelRef.current || null,\r\n CampaignId: this.selectedCampaignRef.current ? this.selectedCampaignRef.current.Id : null,\r\n AdGroupId: this.selectedAdgroupRef.current ? this.selectedAdgroupRef.current.Id : null,\r\n };\r\n }\r\n }\r\n\r\n updateViewModelWithNewEntitySelected(newEntity) {\r\n this.selectedCampaignRef.current = null;\r\n this.selectedAdgroupRef.current = null;\r\n\r\n if (!newEntity) {\r\n return;\r\n }\r\n\r\n if (newEntity.Type === 'Campaign') {\r\n this.selectedCampaignRef.current = newEntity;\r\n this.selectedLevelRef.current = 'Campaign';\r\n\r\n } else if (newEntity.Type === 'AdGroup') {\r\n this.selectedAdgroupRef.current = newEntity;\r\n this.selectedCampaignRef.current = newEntity.Campaign;\r\n this.selectedLevelRef.current = 'AdGroup';\r\n }\r\n }\r\n\r\n onSelectedEntityChange(selectedEntity) {\r\n // this.setState({ selectedEntity });\r\n this.updateViewModelWithNewEntitySelected(selectedEntity);\r\n }\r\n\r\n onSelectedLevelChange(selectedLevel) {\r\n // this.setState({ selectedLevel });\r\n this.updateViewModelWithNewEntitySelected(null);\r\n this.selectedLevelRef.current = selectedLevel;\r\n }\r\n\r\n render() {\r\n const { i18n } = this.props;\r\n const helpContentString = i18n.getString('ImpressionBasedList_Selector_Description');\r\n\r\n this.logMessage(false, `entity Selection Panel render with isDataLoaded ${this.state.isDataLoaded}`, 'render');\r\n return (\r\n <>\r\n {(!this.isEditMode || this.state.isDataLoaded) && {\r\n this.onSelectedEntityChange(selectedEntity);\r\n },\r\n onSelectedLevelChange: (selectedLevel) => {\r\n this.onSelectedLevelChange(selectedLevel);\r\n },\r\n }}\r\n />}\r\n \r\n );\r\n }\r\n}\r\n\r\nImpressionBasedList.defaultProps = {\r\n newI18n: {\r\n getString: () => 'empty',\r\n },\r\n selectedEntity: null,\r\n selectedLevel: null,\r\n logMessage: _.noop,\r\n};\r\n\r\nImpressionBasedList.propTypes = {\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func.isRequired,\r\n }).isRequired,\r\n newI18n: PropTypes.shape({\r\n getString: PropTypes.func.isRequired,\r\n }),\r\n isEditMode: PropTypes.bool.isRequired,\r\n logMessage: PropTypes.func,\r\n selectedEntity: PropTypes.object,\r\n selectedLevel: PropTypes.string,\r\n};\r\n\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport _ from 'underscore';\r\n\r\nimport { BaseView } from '@bingads-webui/base-view';\r\nimport ImpressionBasedList from './impression-based-list-react';\r\nimport PageContext from '@bingads-webui-static-legacy/page-context';\r\n\r\nconst AudienceI18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nexport class ImpressionBasedListPanelView extends BaseView {\r\n initialize({\r\n isEditMode = false,\r\n isPopup = false,\r\n isReadonly = false,\r\n attachPoint = null,\r\n newI18n = null,\r\n instrumentationSvc = { logMessage: _.noop },\r\n instrumentConsts = { LOGCATEGORY: {}, LOGLEVEL: {} },\r\n model = {},\r\n }) {\r\n this.instrumentationSvc = instrumentationSvc;\r\n this.instrumentConsts = instrumentConsts;\r\n this.logMessage = (isError, Api, Message) => {\r\n if (isError) {\r\n this.instrumentationSvc.logMessage(\r\n [this.instrumentConsts.LOGCATEGORY.ERROR],\r\n this.instrumentConsts.LOGLEVEL.INFO,\r\n Api,\r\n Message,\r\n );\r\n } else {\r\n this.instrumentationSvc.logMessage(\r\n [this.instrumentConsts.LOGCATEGORY.TRACE],\r\n this.instrumentConsts.LOGLEVEL.INFO,\r\n Api,\r\n Message,\r\n );\r\n }\r\n };\r\n\r\n this.isEditMode = isEditMode;\r\n this.isPopup = isPopup;\r\n this.isReadonly = isReadonly;\r\n this.newI18n = newI18n;\r\n this.model = model;\r\n\r\n this.attachPoint = attachPoint;\r\n if (_.isNull(this.attachPoint)) {\r\n this.logMessage(true, 'initialize', 'attachPoint is null');\r\n } else {\r\n this.logMessage(false, 'initialize', `attachPoint is ${this.attachPoint}`);\r\n }\r\n }\r\n\r\n validate() {\r\n const view = this.entitySelectionPanel;\r\n\r\n if (view) {\r\n this.logMessage(false, 'validate Impression Based List Selector', 'calling validate Impression-based List Audience Createion');\r\n return view.validateImpressionBasedList();\r\n }\r\n this.logMessage(true, 'validate Impression Based List Selector', 'validate Impression-based List Audience Createion, view is not found');\r\n return false;\r\n }\r\n\r\n toJSON() {\r\n const view = this.entitySelectionPanel;\r\n\r\n if (view) {\r\n this.logMessage(false, 'toJSON Impression Based List Selector', 'calling toJSON Impression-based List Audience Createion');\r\n return view.toJSON();\r\n }\r\n this.logMessage(true, 'toJSON Impression Based List Selector', 'toJSON Impression-based List Audience Createion, view is not found');\r\n return null;\r\n }\r\n\r\n render() {\r\n const props = {\r\n i18n: AudienceI18n,\r\n isEditMode: this.isEditMode,\r\n permissions: PageContext.Permissions,\r\n newI18n: this.newI18n,\r\n model: this.model,\r\n\r\n ref: (el) => {\r\n this.logMessage(false, 'Callback Ref', `Callback Ref Impression-based List Audience Createion, el is ${el}`);\r\n this.entitySelectionPanel = el;\r\n },\r\n logMessage: (isError, Api, Message) => this.logMessage(isError, Api, Message),\r\n };\r\n\r\n this.logMessage(false, 'render Impression Based List Selector', 'begin rendering Impression-based List Audience Createion React');\r\n ReactDOM.render(\r\n React.createElement(ImpressionBasedList, props, null),\r\n this.attachPoint,\r\n );\r\n this.logMessage(false, 'render Impression Based List Selector', 'end rendering Impression-based List Audience Createion React');\r\n }\r\n\r\n remove() {\r\n ReactDOM.unmountComponentAtNode(this.attachPoint);\r\n this.logMessage(false, 'remove Impression Based List Selector', 'remove Impression-based List Audience Createion React');\r\n return super.remove();\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport Backbone from 'backbone';\r\nimport ko from 'knockout';\r\nimport audiencesPopupTemplate from './audiences-popup-template.pug';\r\nimport audiencesPopupFooterTemplate from './audiences-popup-footer-template.pug';\r\n\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nexport const STATE = {\r\n show: 'show',\r\n shown: 'shown',\r\n hide: 'hide',\r\n hidden: 'hidden',\r\n};\r\n\r\nexport class AudiencesPopupView extends Backbone.View {\r\n events() {\r\n return {\r\n 'click #action': 'onAction',\r\n 'click #cancel': 'onClose',\r\n 'click .dialog-close-button': 'onClose',\r\n 'show.bs.modal': 'onStateChanged',\r\n 'shown.bs.modal': 'onStateChanged',\r\n 'hide.bs.modal': 'onStateChanged',\r\n 'hidden.bs.modal': 'onStateChanged',\r\n };\r\n }\r\n\r\n initialize(options = {}) {\r\n this.state = STATE.hidden;\r\n this.close = false;\r\n this.focusElement = options.focusElement || '.btn-primary';\r\n\r\n this.viewModel = {};\r\n this.viewModel.error = ko.observable('');\r\n this.viewModel.hasError = ko.computed(() => !_.isEmpty(this.viewModel.error()));\r\n }\r\n\r\n render({\r\n title,\r\n content,\r\n footer = audiencesPopupFooterTemplate({ i18n: audiencesi18n }),\r\n dialogClass,\r\n dialogClose = audiencesi18n.getString('BulkEdit_Close'),\r\n }) {\r\n this.setElement(audiencesPopupTemplate({\r\n title,\r\n content,\r\n footer,\r\n dialogClass,\r\n dialogClose,\r\n }));\r\n\r\n ko.applyBindings(this.viewModel, this.el);\r\n\r\n return this;\r\n }\r\n\r\n show() {\r\n if (this.$el.parent().length > 0 && !this.$el.parent().is('body')) {\r\n throw new Error('The popup shouldn\\'t be added directly to the DOM.');\r\n }\r\n\r\n if (_.isFunction(this.$el.modal)) {\r\n this.$el.modal('show');\r\n }\r\n\r\n //set focus to primary button after transition\r\n this.once(STATE.shown, () => {\r\n this.$(this.focusElement).focus();\r\n });\r\n\r\n return this;\r\n }\r\n\r\n hide() {\r\n if (_.isFunction(this.$el.modal)) {\r\n this.$el.modal('hide');\r\n }\r\n }\r\n\r\n onAction(e) {\r\n this.handleAction();\r\n\r\n return this.handleEvent(e);\r\n }\r\n\r\n onClose(e) {\r\n this.hide();\r\n this.trigger('onCloseForNewUI');\r\n return this.handleEvent(e);\r\n }\r\n\r\n onStateChanged(e) {\r\n if (_.has(e, 'type') && _.has(STATE, e.type)) {\r\n this.state = e.type;\r\n\r\n if (this.state === STATE.hidden) {\r\n this.remove(false);\r\n }\r\n\r\n this.trigger(this.state);\r\n }\r\n }\r\n\r\n handleAction(payload) {\r\n this.trigger('action', payload);\r\n this.hide();\r\n }\r\n\r\n handleEvent(e) {\r\n e.preventDefault();\r\n e.stopImmediatePropagation();\r\n return true;\r\n }\r\n\r\n remove(forceClose = true) {\r\n this.close = this.close || forceClose;\r\n\r\n if (this.state === STATE.hidden && this.close) {\r\n // Only remove when the modal is hidden\r\n super.remove();\r\n } else {\r\n this.hide();\r\n }\r\n }\r\n}\r\n","import $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport pageContext from '@bingads-webui-static-legacy/page-context';\r\nimport { PopoverView, positions, contents } from '@bingads-webui-campaign-legacy/popover/index';\r\nimport audienceTypes from '@bingads-webui-campaign-legacy/audiences/components/audience-type/audienceTypes';\r\nimport audienceStatusPopoverTemplate from './audience-status-popover-template.pug';\r\n\r\n/**\r\n * Shows a popover view for audience name status\r\n * when customer clicks on the ... button.\r\n * Need to pass in the data item from the row where the button is clicked (e.g.\r\n * via wrapperView.gridView.itemOfElement(event.target)), the target jQuery element of\r\n * the button clicked (e.g. via wrapperView.$(event.target)), and finally a function that\r\n * checkes whether a given status value is considered active like the one above.\r\n *\r\n * @param {Object} item Data item from the button clicked in the row\r\n * @param {Array} target Target jQuery element of the button clicked\r\n * @param {String} className Class name of the popover\r\n * @param {Object} i18n I18nModel where the resource keys needed by this feature can be found\r\n * @returns {Object} AudienceStatusPopoverView The popover view\r\n */\r\nexport function audiencesStatusPopupView(\r\n item,\r\n target,\r\n className,\r\n i18n,\r\n) {\r\n const a11yIdPrefix = _.uniqueId('a11y-');\r\n const a11yId = (suffix) => `${a11yIdPrefix}__${suffix}`;\r\n const { AudienceCriterion: { AudienceType: type = '' } } = item;\r\n\r\n return new PopoverView({\r\n target,\r\n className,\r\n position: positions.relativeToTableRow({\r\n marginBottom: $('footer > .navbar-footer').height(),\r\n }),\r\n }).setContent(\r\n new contents.TitledContent()\r\n .setBody({\r\n html: audienceStatusPopoverTemplate({\r\n a11yId,\r\n message: type === audienceTypes.InMarket ?\r\n i18n.getString('InMarketDeletionMessage') :\r\n i18n.getString('SharedLibrary_Audience_Not_Available', { account: pageContext.CurrentAccount.Title }),\r\n }),\r\n })\r\n );\r\n}\r\n","export const ProductAudienceTypes = {\r\n GeneralVisitors: 'GeneralVisitors',\r\n ProductSearchers: 'ProductSearchers',\r\n ProductViewers: 'ProductViewers',\r\n ShoppingCartAbandoners: 'ShoppingCartAbandoners',\r\n PastBuyers: 'PastBuyers',\r\n};\r\n","import ko from 'knockout';\r\nimport _ from 'underscore';\r\nimport { ProductAudienceTypes } from './product-audience-types';\r\nimport audienceTypes from '@bingads-webui-campaign-legacy/audiences/components/audience-type/audienceTypes';\r\nimport audienceStatus from '@bingads-webui-static-legacy/schema/audience/status';\r\n\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nconst productAudienceTypes = [\r\n {\r\n id: 0,\r\n enum: ProductAudienceTypes.GeneralVisitors,\r\n name: audiencesi18n.getString('Audiences_Manage_Product_General'),\r\n title: audiencesi18n.getString('Audiences_Manage_Product_General_Title'),\r\n description: audiencesi18n.getString('Audiences_Manage_Product_General_Description'),\r\n suffix: audiencesi18n.getString('Audiences_Manage_Product_Suffix'),\r\n duration: 14,\r\n },\r\n {\r\n id: 1,\r\n enum: ProductAudienceTypes.ProductSearchers,\r\n name: audiencesi18n.getString('Audiences_Manage_Product_Searchers'),\r\n title: audiencesi18n.getString('Audiences_Manage_Product_Searchers_Title'),\r\n description: audiencesi18n.getString('Audiences_Manage_Product_Searchers_Description'),\r\n suffix: audiencesi18n.getString('Audiences_Manage_Product_Suffix'),\r\n duration: 14,\r\n },\r\n {\r\n id: 2,\r\n enum: ProductAudienceTypes.ProductViewers,\r\n name: audiencesi18n.getString('Audiences_Manage_Product_Viewers'),\r\n title: audiencesi18n.getString('Audiences_Manage_Product_Viewers_Title'),\r\n description: audiencesi18n.getString('Audiences_Manage_Product_Viewers_Description'),\r\n suffix: audiencesi18n.getString('Audiences_Manage_Product_Suffix'),\r\n duration: 14,\r\n },\r\n {\r\n id: 3,\r\n enum: ProductAudienceTypes.ShoppingCartAbandoners,\r\n name: audiencesi18n.getString('Audiences_Manage_Product_Abandoners'),\r\n title: audiencesi18n.getString('Audiences_Manage_Product_Abandoners_Title'),\r\n description: audiencesi18n.getString('Audiences_Manage_Product_Abandoners_Description'),\r\n suffix: audiencesi18n.getString('Audiences_Manage_Product_Suffix'),\r\n duration: 14,\r\n },\r\n {\r\n id: 4,\r\n enum: ProductAudienceTypes.PastBuyers,\r\n name: audiencesi18n.getString('Audiences_Manage_Product_Buyers'),\r\n title: audiencesi18n.getString('Audiences_Manage_Product_Buyers_Title'),\r\n description: audiencesi18n.getString('Audiences_Manage_Product_Buyers_Description'),\r\n suffix: audiencesi18n.getString('Audiences_Manage_Product_Suffix'),\r\n duration: 14,\r\n },\r\n];\r\n\r\nexport const isNumber = (value) => !isNaN(parseFloat(value)) && isFinite(value);\r\n\r\nexport const isDecimal = (value) => {\r\n // Force conversion to string for easy validation\r\n const duration = value ? value.toString() : '';\r\n // Checks whether duration is a number or not\r\n const validNumber = isNumber(duration);\r\n // Check whether duation is a decimal, also check for empty decimal case (e.g. 5.00)\r\n const validDecimal = _.contains(duration, '.');\r\n\r\n return validNumber && validDecimal;\r\n};\r\n\r\nexport const isValidInteger = (value, min = 1, max = 180) => {\r\n // Force conversion to string for easy validation\r\n const duration = value ? value.toString() : '';\r\n // Checks whether duration is a number or not\r\n const validNumber = isNumber(duration);\r\n // Although decimal, hex, octal and binary are valid numbers, they're not supported, e.g. '0x40'\r\n const validRawInteger = _.any(['.', 'x', 'o', 'b'], (character) => _.contains(duration, character));\r\n\r\n return validNumber &&\r\n !validRawInteger &&\r\n duration >= min &&\r\n duration <= max;\r\n};\r\n\r\nexport class ProductAudienceCreationViewModel {\r\n constructor({\r\n createAll = false,\r\n model = {},\r\n }) {\r\n this.createAll = createAll;\r\n this.selectedOption = ko.observable(null);\r\n this.productTypeError = ko.observable(false);\r\n this.productAudienceTypes = this.getProductAudienceTypes();\r\n\r\n if (model.Id && model.Type === audienceTypes.Product) {\r\n const selectedOption = _.findWhere(this.productAudienceTypes, { enum: model.ActionType });\r\n\r\n this.selectedOption(selectedOption.id);\r\n selectedOption.duration(model.MembershipDuration);\r\n }\r\n }\r\n\r\n validate() {\r\n if (this.createAll) {\r\n return this.validateAll();\r\n } else {\r\n return this.validateSelected();\r\n }\r\n }\r\n\r\n validateSelected() {\r\n this.productTypeError(!_.findWhere(this.productAudienceTypes, { id: this.selectedOption() }));\r\n const validDuration = this.validateDuration(this.getSelectedItem());\r\n\r\n return !this.productTypeError() && validDuration;\r\n }\r\n\r\n validateAll() {\r\n return _.reduce(\r\n this.productAudienceTypes,\r\n (memo, item) => this.validateDuration(item) && memo,\r\n true);\r\n }\r\n\r\n validateDuration(item) {\r\n if (_.isUndefined(item) || _.isNull(item)) {\r\n return false;\r\n }\r\n\r\n const valid = isValidInteger(item.duration());\r\n\r\n if (valid) {\r\n item.durationErrorString('');\r\n } else if (isDecimal(item.duration())) {\r\n item.durationErrorString(audiencesi18n.getString('Audiences_Manage_error_Duration_Decimal'));\r\n } else {\r\n item.durationErrorString(audiencesi18n.getString('Audiences_Manage_error_Duration_Dynamic'));\r\n }\r\n\r\n return valid;\r\n }\r\n\r\n getProductAudienceTypes() {\r\n return _.chain(productAudienceTypes)\r\n .map(_.clone)\r\n .mapObject((item) => {\r\n item.defaultDuration = item.duration;\r\n item.duration = ko.observable(item.duration);\r\n\r\n item.durationErrorString = ko.observable('');\r\n item.durationError = ko.computed(() => {\r\n if (!this.createAll && item.id !== this.selectedOption()) {\r\n return '';\r\n } else {\r\n return item.durationErrorString();\r\n }\r\n });\r\n\r\n // For create all, we don't show the past buyers audience\r\n item.visible = !this.createAll || item.enum !== ProductAudienceTypes.PastBuyers;\r\n\r\n return item;\r\n })\r\n .toArray()\r\n .value();\r\n }\r\n\r\n getSelectedItem() {\r\n const item = _.findWhere(this.productAudienceTypes, { id: this.selectedOption() });\r\n\r\n return item;\r\n }\r\n\r\n toJSON() {\r\n if (!this.createAll) {\r\n const selectedOption = _.findWhere(this.productAudienceTypes, { id: this.selectedOption() });\r\n\r\n return {\r\n MembershipDuration: selectedOption.duration(),\r\n ActionType: selectedOption.enum,\r\n };\r\n }\r\n\r\n return _.map(\r\n this.productAudienceTypes,\r\n (item) => this.createAudience({\r\n MembershipDuration: item.duration(),\r\n ActionType: item.enum,\r\n }));\r\n }\r\n\r\n createAudience({\r\n MembershipDuration,\r\n ActionType,\r\n }) {\r\n return {\r\n Name: '',\r\n MembershipDuration,\r\n Description: '',\r\n Status: audienceStatus.Active,\r\n Type: audienceTypes.Product,\r\n IsAccountLevel: false,\r\n ActionType,\r\n '@odata.type': '#Model.ProductAudience',\r\n };\r\n }\r\n}\r\n","import { BaseView } from '@bingads-webui/base-view';\r\nimport ko from 'knockout';\r\nimport productAudiencesCreationTemplate from './product-audience-creation-template.pug';\r\nimport { ProductAudienceCreationViewModel } from './product-audience-creation-viewmodel';\r\n\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nexport class ProductAudienceCreationView extends BaseView {\r\n events() {\r\n return {\r\n 'change input': 'onInputModified',\r\n };\r\n }\r\n\r\n initialize({\r\n createAll = false,\r\n model,\r\n }) {\r\n this.createAll = createAll;\r\n this.viewModel = new ProductAudienceCreationViewModel({ createAll, model });\r\n this.saveClicked = false;\r\n }\r\n\r\n render() {\r\n this.setElement(productAudiencesCreationTemplate({\r\n createAll: this.createAll,\r\n i18n: audiencesi18n,\r\n }));\r\n\r\n ko.applyBindings(this.viewModel, this.$el[0]);\r\n\r\n return this;\r\n }\r\n\r\n onInputModified() {\r\n this.validate(false);\r\n }\r\n\r\n validate(saveClicked = false) {\r\n this.saveClicked = this.saveClicked || saveClicked;\r\n\r\n if (this.saveClicked) {\r\n return this.viewModel.validate(saveClicked);\r\n }\r\n\r\n return false;\r\n }\r\n\r\n save() {\r\n return this.viewModel.save();\r\n }\r\n\r\n toJSON() {\r\n return this.viewModel.toJSON();\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport Promise from 'bluebird';\r\nimport PageContext from '@bingads-webui-static-legacy/page-context';\r\nimport { getAudienceErrorMessage } from '@bingads-webui-campaign/api-errors';\r\nimport odata from '@bingads-webui-component-legacy/http/channel/odata';\r\nimport { appendLearnMoreLink } from '@bingads-webui-component-legacy/help/index';\r\nimport errorHandler from '@bingads-webui-static-legacy/audiences/audiences/errorHandler';\r\nimport productAudiencePopupTemplate from './product-audience-popup-template.pug';\r\nimport { ProductAudienceCreationView } from './product-audience-creation-view';\r\nimport { UetTagSelectorView, UetTagHelpView } from '../uet-tag/index';\r\nimport { AudiencesPopupView } from '../popup/index';\r\n\r\nconst i18n = window.globalLegacyI18n.get('module/extension/requirejs/i18n!global');\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nexport class ProductAudiencePopupView extends AudiencesPopupView {\r\n initialize(options = {}) {\r\n super.initialize();\r\n this.productAudienceView = new ProductAudienceCreationView({ createAll: true, deps: options.deps });\r\n this.uetTagView = new UetTagSelectorView({\r\n enabled: true,\r\n showManageTagLink: false,\r\n deps: options.deps,\r\n });\r\n this.uetTagView.updateTags();\r\n this.uetTagHelpView = new UetTagHelpView({ isProductAudience: true, deps: options.deps });\r\n\r\n this.uetTagView.on('update', (tag) => {\r\n this.uetTagHelpView.updateTag(tag);\r\n\r\n if (tag) {\r\n this.$('.step2').show();\r\n } else {\r\n this.$('.step2').hide();\r\n }\r\n });\r\n }\r\n\r\n render() {\r\n super.render({\r\n title: audiencesi18n.getString('Audiences_Manage_Title_ProductAudience'),\r\n dialogClass: 'product-audience',\r\n });\r\n\r\n // render content\r\n this.$('.modal-body').html(productAudiencePopupTemplate({\r\n i18n: audiencesi18n,\r\n appendLearnMoreLink,\r\n }));\r\n\r\n return this.renderChildren();\r\n }\r\n\r\n renderChildren() {\r\n this.$('.product-audience-panel').html(this.productAudienceView.render().el);\r\n this.$('.uet-tag-selector-panel').html(this.uetTagView.render().el);\r\n this.$('.uet-tag-help-panel').html(this.uetTagHelpView.render().el);\r\n\r\n return this;\r\n }\r\n\r\n remove() {\r\n this.productAudienceView.remove();\r\n this.uetTagView.remove();\r\n\r\n super.remove();\r\n }\r\n\r\n handleAction() {\r\n const validAudiences = this.productAudienceView.validate(true);\r\n const validTag = this.uetTagView.validate(true);\r\n\r\n if (validAudiences && validTag && !this.saving) {\r\n this.saving = this.save()\r\n .then((result) => {\r\n if (result) {\r\n // If saving is successful we receive ids back for all the newly created audiences.\r\n // However, we don't want to associate PastBuyers (the last id),\r\n // so we only want to pass in the first 4 ids.\r\n let payload = _.chain(result)\r\n .result('value')\r\n .first(4)\r\n .value();\r\n\r\n super.handleAction(payload);\r\n }\r\n }, (error) => {\r\n this.setErrorFields(error);\r\n })\r\n .finally(() => {\r\n delete this.saving;\r\n });\r\n }\r\n }\r\n\r\n save() {\r\n if (this.uetTagView.createNewTag()) {\r\n return new Promise((resolve, reject) => {\r\n this.uetTagView.save()\r\n .done((response) => resolve(response))\r\n .fail((response) => reject(response));\r\n })\r\n .withUiBlock()\r\n .then((response) => {\r\n if (_.has(response, 'Id')) {\r\n return this.saveAudiences({ TagId: response.Id });\r\n } else {\r\n this.setErrorFields(response);\r\n return false;\r\n }\r\n }, (response) => {\r\n this.setErrorFields(response);\r\n return false;\r\n });\r\n } else {\r\n return this.saveAudiences(this.uetTagView.toJSON());\r\n }\r\n }\r\n\r\n saveAudiences(tagModel) {\r\n const audiences = this.productAudienceView.toJSON();\r\n const Audiences = _.map(audiences, (audience) => _.extend(audience, tagModel));\r\n const url = `Customers(${PageContext.CurrentAccount.AdvertiserCustomerID})/Accounts()/Audiences/Default.PostAudiences`;\r\n\r\n return odata.post(\r\n url,\r\n {\r\n data: {\r\n Audiences,\r\n },\r\n });\r\n }\r\n\r\n setErrorFields(response) {\r\n const code = _.chain(response).result('errorResponseBody').result('value').first().result('Code').value() ||\r\n _.chain(response).result('body').result('value').first().result('Code').value();\r\n const errorMsg = getAudienceErrorMessage(code, i18n);\r\n\r\n if (code === 'InvalidTagName' || code === 'InvalidTagDescription') {\r\n this.uetTagView.onServerError(code);\r\n } else {\r\n this.viewModel.error(errorMsg);\r\n errorHandler.ajaxError();\r\n }\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport Backbone from 'backbone';\r\nimport {\r\n SharedLibraryUtils,\r\n AudienceSharingView,\r\n} from '@bingads-webui-campaign-react/shared-library-scopes';\r\nimport { withUiBlock } from '@bingads-webui/uiblocker';\r\nimport { Storage } from '@bingads-webui/window-name-store';\r\nimport { ClientCenterCustomerService } from '@bingads-webui/clientcenter-customer-service';\r\nimport config from '@bingads-webui-component-legacy/config/index';\r\n\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nconst {\r\n Scopes,\r\n fetchUserPermissions,\r\n hasChildCustomers,\r\n isLinkedAccount,\r\n isSuperAdmin,\r\n} = SharedLibraryUtils;\r\n\r\nexport class AudienceSharingScopeView extends Backbone.View {\r\n initialize({ audienceModel, $blocker, isScopeEditDisabled = _.noop }) {\r\n const currentCustomer = config.get('CurrentCustomer');\r\n const customerService = new ClientCenterCustomerService({ ccBaseUrl: config.get('CCBaseUrl') });\r\n const currentUser = config.get('CurrentUser');\r\n // In ui-next serverContext, ParentCustomerId are put in CurrentUser\r\n const parentCustomerId = _.isUndefined(currentUser.ParentCustomerId) ? config.get('ParentCustomerId') : currentUser.ParentCustomerId;\r\n const windowNameStorage = new Storage();\r\n const loginCID = currentUser.IsInternal ? windowNameStorage.get('rcid') || currentCustomer.Id : parentCustomerId;\r\n\r\n this.isScopeEditDisabledCallback = isScopeEditDisabled;\r\n\r\n this.audienceModel = _.defaults(audienceModel, {\r\n Owner: _.pick(currentCustomer, ['Id', 'Name', 'Number']),\r\n SharingScope: { Customers: [], Accounts: [], Others: 0, Total: 0 },\r\n });\r\n\r\n // In the case of combined list with more than one account info\r\n // the Sharing Scope field would be null, need to fill it with default value\r\n if (this.audienceModel.SharingScope === null) {\r\n this.audienceModel.SharingScope = { Customers: [], Accounts: [], Others: 0, Total: 0 };\r\n }\r\n\r\n this.customerServicePromise = customerService.getCustomerHierarchy({\r\n cid: loginCID,\r\n uid: currentUser.Id,\r\n returnOnlyDirectlyLinkedEntities: false,\r\n }).then((data) => {\r\n const { customerHierarchyEntities: customerHierarchy } = data;\r\n const { Id: currentCustomerId } = currentCustomer;\r\n\r\n this.customerHierarchy = customerHierarchy;\r\n return fetchUserPermissions({\r\n uid: currentUser.Id,\r\n cid: currentCustomerId,\r\n customerHierarchy,\r\n }).then((result) => {\r\n this.generateAvailableOptions({ customerHierarchy, loginCID });\r\n return result;\r\n });\r\n }).finally(withUiBlock($blocker));\r\n }\r\n\r\n toJSON() {\r\n if (this.audienceSharingView) {\r\n const { selectedOption, treeSelection } = this.audienceSharingView.getSharingScope();\r\n\r\n switch (selectedOption) {\r\n case Scopes.ACCOUNT:\r\n return {\r\n IsAccountLevel: true,\r\n SharingScope: { Customers: [], Accounts: [], Others: 0, Total: 0 },\r\n };\r\n case Scopes.HIERARCHY:\r\n return {\r\n IsAccountLevel: false,\r\n SharingScope: treeSelection,\r\n };\r\n case Scopes.CUSTOMER:\r\n default:\r\n return {\r\n IsAccountLevel: false,\r\n SharingScope: { Customers: [], Accounts: [], Others: 0, Total: 0 },\r\n };\r\n }\r\n }\r\n\r\n return _.pick(this.audienceModel, ['IsAccountLevel', 'SharingScope']);\r\n }\r\n\r\n updateTag(tag) {\r\n this.audienceModel = _.extend(this.audienceModel, { tag });\r\n this.render();\r\n }\r\n\r\n generateAvailableOptions({ customerHierarchy, loginCID }) {\r\n const {\r\n IsAccountLevel,\r\n Owner,\r\n SharingScope,\r\n Id: audienceId,\r\n } = this.audienceModel;\r\n\r\n const currentAccount = config.get('CurrentAccount') || {};\r\n const currentCustomer = config.get('CurrentCustomer');\r\n const currentUser = config.get('CurrentUser');\r\n const matchResult = (/customer\\/(\\d+)(?:\\/account\\/(\\d+))?/).exec(window.location.hash);\r\n\r\n let showAccountScope = false;\r\n let showHierarchyScope = false;\r\n let selected = Scopes.CUSTOMER;\r\n let [customerIdFromUrl, accountIdFromUrl] = matchResult ? _.tail(matchResult) : [];\r\n\r\n if (!customerIdFromUrl) {\r\n const cidResult = (/cid=(\\d+)/).exec(window.location.search);\r\n const aidResult = (/aid=(\\d+)/).exec(window.location.search);\r\n\r\n customerIdFromUrl = _.last(cidResult);\r\n accountIdFromUrl = _.last(aidResult);\r\n }\r\n\r\n const isLinked = accountIdFromUrl && isLinkedAccount(config);\r\n\r\n this.shouldDisableEdit = false;\r\n\r\n if (_.isFinite(audienceId)) {\r\n // edit audience scenario\r\n if (IsAccountLevel) {\r\n // edit audience whose scope is owner account only\r\n showAccountScope = true;\r\n selected = Scopes.ACCOUNT;\r\n } else if (SharingScope.Total > 0) {\r\n selected = Scopes.HIERARCHY;\r\n }\r\n\r\n if (isSuperAdmin({ uid: currentUser.Id, cid: currentCustomer.Id }) && !isLinked &&\r\n (SharingScope.Total > 0 || hasChildCustomers(customerHierarchy, { cid: loginCID }))) {\r\n showHierarchyScope = true;\r\n }\r\n this.shouldDisableEdit = !showHierarchyScope;\r\n } else {\r\n // create audience scenario\r\n if (customerIdFromUrl && accountIdFromUrl) {\r\n // create audience at account level\r\n showAccountScope = true;\r\n }\r\n selected = accountIdFromUrl ? Scopes.ACCOUNT : Scopes.CUSTOMER;\r\n if (isSuperAdmin({ uid: currentUser.Id, cid: currentCustomer.Id }) && !isLinked &&\r\n hasChildCustomers(customerHierarchy, { cid: loginCID })) {\r\n showHierarchyScope = true;\r\n }\r\n }\r\n\r\n this.isScopeEditDisabledCallback(this.shouldDisableEdit);\r\n let scopeOptions = _.compact([\r\n showAccountScope &&\r\n {\r\n id: Scopes.ACCOUNT,\r\n text: _.isFinite(audienceId) && config.get('Permissions').IsMultiAccountLevelAudiencesEnabled && this.audienceModel.AccountInfo && this.audienceModel.AccountInfo.length > 1 ?\r\n {\r\n text: audiencesi18n.getString('SharedLibrary_Audience_SharingScope_Account', { account: audiencesi18n.getString('AudiencesGrid_Number_Accounts', { number: this.audienceModel.AccountInfo.length }) }),\r\n className: 'audiences-edit__multiaccounts-detail',\r\n popoverId: 'audiences-edit__multiaccounts-detail',\r\n i18n: audiencesi18n,\r\n accountInfo: this.audienceModel.AccountInfo,\r\n title: audiencesi18n.getString('Audiences_MultiAccount_Popover_Title', { number: this.audienceModel.AccountInfo.length }),\r\n } :\r\n audiencesi18n.getString('SharedLibrary_Audience_SharingScope_Account', { account: `${currentAccount.ShortName} (${currentAccount.AccountNumber})` }),\r\n },\r\n {\r\n id: Scopes.CUSTOMER,\r\n text: isLinked ?\r\n audiencesi18n.getString('Audiences_Manage_Scope_Option_Customer') :\r\n audiencesi18n.getString('SharedLibrary_Audience_SharingScope_Customer', {\r\n account: `${_.result(Owner || currentCustomer, 'Name')} (${_.result(Owner || currentCustomer, 'Number')})`,\r\n }),\r\n },\r\n showHierarchyScope && {\r\n id: Scopes.HIERARCHY,\r\n text: audiencesi18n.getString('SharedLibrary_Audience_SharingScope_Hierarchy'),\r\n },\r\n ]);\r\n\r\n _.extend(_.findWhere(scopeOptions, { id: selected }), { selected: true });\r\n this.selectedOption = selected;\r\n this.scopeOptions = scopeOptions;\r\n }\r\n\r\n render() {\r\n this.customerServicePromise.then(() => {\r\n this.audienceSharingView = new AudienceSharingView({\r\n customerHierarchy: this.customerHierarchy,\r\n deps: {\r\n i18n: audiencesi18n,\r\n appConfig: config,\r\n },\r\n scopeOptions: this.scopeOptions,\r\n selectedOption: this.selectedOption,\r\n audienceEntity: this.audienceModel,\r\n tagEntity: this.audienceModel.tag,\r\n disabled: this.shouldDisableEdit,\r\n });\r\n this.$el.html(this.audienceSharingView.render().el);\r\n });\r\n\r\n return this;\r\n }\r\n\r\n remove() {\r\n if (this.audienceSharingView) {\r\n this.audienceSharingView.remove();\r\n }\r\n\r\n super.remove();\r\n }\r\n}\r\n","import ko from 'knockout';\r\nimport _ from 'underscore';\r\nimport audienceTypes from '@bingads-webui-campaign-legacy/audiences/components/audience-type/audienceTypes';\r\nimport { getAudienceErrorMessage } from '@bingads-webui-campaign/api-errors';\r\nimport config from '@bingads-webui-component-legacy/config/index';\r\nimport TagModel from '@bingads-webui-static-legacy/audiences/model/manage/tag';\r\nimport TagsCollection from '@bingads-webui-static-legacy/audiences/model/manage/tags';\r\n\r\nconst i18n = window.globalLegacyI18n.get('module/extension/requirejs/i18n!global');\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nexport class UetTagSelectorViewModel {\r\n constructor({\r\n eventAggregator,\r\n enabled,\r\n showManageTagLink,\r\n $blocker,\r\n scope,\r\n dataOptions,\r\n }) {\r\n this.$blocker = $blocker;\r\n this.eventAggregator = eventAggregator;\r\n this.tags = ko.observableArray([]);\r\n this.tagSelectedItem = ko.observable();\r\n this.tagName = ko.observable('');\r\n this.tagNameRemainCharacters = ko.computed(() => {\r\n return audiencesi18n.getString('RemainingCharactersText_New', { count: 100 - _.size(this.tagName()) });\r\n });\r\n this.tagDescription = ko.observable('');\r\n this.tagDescriptionRemainCharacters = ko.computed(() => {\r\n return audiencesi18n.getString('RemainingCharactersText_New', { count: 100 - _.size(this.tagDescription()) });\r\n });\r\n this.showTagCreate = ko.observable(false);\r\n this.showManageTagLink = showManageTagLink;\r\n this.enabled = ko.computed(() => {\r\n return enabled && this.tags().length > 0;\r\n });\r\n this.scope = scope;\r\n\r\n // Strings\r\n this.tagsCaption = audiencesi18n.getString('Audiences_Manage_lbl_SelectTag_OptionsText');\r\n this.tagNamePlaceholder = audiencesi18n.getString('Audiences_Manage_Placeholder_TagName');\r\n this.tagDescriptionPlaceholder = audiencesi18n.getString('Audiences_Manage_Placeholder_TagDescription');\r\n\r\n // Validation\r\n this.errorTag = ko.observable(false);\r\n this.errorTagStr = audiencesi18n.getString('Audiences_Manage_error_Tag');\r\n this.errorTagName = ko.observable(false);\r\n this.errorTagNameStr = audiencesi18n.getString('Audiences_Manage_Error_TagName');\r\n this.serverErrorTagName = ko.observable(false);\r\n this.serverErrorTagNameStr = ko.observable('');\r\n this.errorTagDescription = ko.observable(false);\r\n this.errorTagDescriptionStr = audiencesi18n.getString('Audiences_Manage_Error_TagDescription');\r\n this.serverErrorTagDescription = ko.observable(false);\r\n this.serverErrorTagDescriptionStr = ko.observable('');\r\n\r\n //Show or hide the create tag section\r\n this.tagSelectedItem.subscribe((newItem) => {\r\n if (newItem === -1 && this.enabled) {\r\n this.showTagCreate(true);\r\n } else {\r\n this.showTagCreate(false);\r\n }\r\n });\r\n\r\n //Set the create option color to blue\r\n this.setCreateOptionColor = (option) => {\r\n if (option && option.value === '-1') {\r\n option.style.color = 'blue';\r\n }\r\n };\r\n this.isSystemGeneratedList = ko.observable(false);\r\n\r\n if (dataOptions) {\r\n this.fetchTags = dataOptions.fetchTags;\r\n this.saveTag = dataOptions.saveTag;\r\n }\r\n }\r\n\r\n updateTags(tagId, sortFunc, selectFirst, subType) {\r\n const createTag = new TagModel({\r\n Id: -1, //Reserved ID do not change...\r\n Name: audiencesi18n.getString('Audiences_Manage_lnk_CreateTag'),\r\n Description: audiencesi18n.getString('Audiences_Manage_lnk_CreateTag'),\r\n }, { scope: this.scope });\r\n\r\n let fetchPromise = this.fetchTags;\r\n\r\n if (!fetchPromise) {\r\n this.tagsCollection = this.tagsCollection || new TagsCollection(null, { scope: this.scope });\r\n fetchPromise = this.tagsCollection.fetch.bind(this.tagsCollection);\r\n }\r\n\r\n return fetchPromise()\r\n .withUiBlock(this.$blocker)\r\n .then((res) => {\r\n if (res.value) {\r\n let tags = [];\r\n const permissions = config.get('Permissions');\r\n const { IsCustomerHierarchyEnabled, IsSharedLibraryPhase1Enabled } = permissions;\r\n\r\n this.isSystemGeneratedList(_.contains([audienceTypes.SubType.AllVisitor, audienceTypes.SubType.AllConverter, audienceTypes.SubType.RemarketingSmartAudience], subType));\r\n if (IsCustomerHierarchyEnabled && IsSharedLibraryPhase1Enabled) {\r\n const currentCustomerId = config.get('CurrentCustomer').Id;\r\n\r\n _.each(res.value, (val) => {\r\n tags.push(_.extend(val, {\r\n Name: val.Owner.Id === currentCustomerId ? _.unescape(val.Name) : `${_.unescape(val.Name)} - ${val.Owner.Name}`,\r\n }));\r\n });\r\n } else {\r\n _.each(res.value, (val) => {\r\n tags.push(_.extend(val, {\r\n Name: _.unescape(val.Name),\r\n }));\r\n });\r\n }\r\n\r\n if (sortFunc) {\r\n tags = _.sortBy(tags, sortFunc);\r\n }\r\n\r\n this.tags(tags);\r\n this.tags.push(createTag.toJSON());\r\n }\r\n if (tagId) {\r\n this.tagSelectedItem(tagId);\r\n } else if (selectFirst) {\r\n this.tagSelectedItem(this.tags()[0].Id);\r\n }\r\n }, (res) => {\r\n this.tags.push(createTag.toJSON());\r\n this.eventAggregator.trigger('error', res);\r\n });\r\n }\r\n\r\n save(patch = false) {\r\n const tagModel = new TagModel({\r\n Name: this.tagName(),\r\n Description: this.tagDescription(),\r\n }, { scope: this.scope });\r\n\r\n const savePromise = this.saveTag || tagModel.save.bind(tagModel);\r\n\r\n return savePromise(\r\n tagModel.toJSON(),\r\n {\r\n patch,\r\n });\r\n }\r\n\r\n validate() {\r\n const tagIsValid = !_.isUndefined(this.tagSelectedItem());\r\n\r\n this.errorTag(!tagIsValid);\r\n\r\n if (this.showTagCreate()) {\r\n const htmlTags = new RegExp(/(<([^>]+)>)/ig);\r\n const tagNameValid = this.tagName() !== '' && _.isEmpty(this.tagName().match(htmlTags));\r\n const tagDescriptionValid = this.tagDescription() !== '' && _.isEmpty(this.tagDescription().match(htmlTags));\r\n\r\n this.errorTagName(!tagNameValid);\r\n this.errorTagDescription(!tagDescriptionValid);\r\n\r\n return tagIsValid && tagNameValid && tagDescriptionValid;\r\n }\r\n\r\n this.errorTagName(false);\r\n this.errorTagDescription(false);\r\n\r\n return tagIsValid;\r\n }\r\n\r\n handleServerError(code) {\r\n if (code === 'InvalidTagName') {\r\n this.serverErrorTagName(true);\r\n this.serverErrorTagNameStr(getAudienceErrorMessage(code, i18n));\r\n } else if (code === 'InvalidTagDescription') {\r\n this.serverErrorTagDescription(true);\r\n this.serverErrorTagDescriptionStr(getAudienceErrorMessage(code, i18n));\r\n } else {\r\n this.serverErrorTagName(false);\r\n this.serverErrorTagDescription(false);\r\n }\r\n }\r\n\r\n toJSON() {\r\n return {\r\n TagId: this.tagSelectedItem(),\r\n };\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\nimport $ from 'jquery';\r\nimport { BaseView } from '@bingads-webui/base-view';\r\nimport { appendLearnMoreLink } from '@bingads-webui-component-legacy/help/index';\r\nimport TagDialog from '@bingads-webui-static-legacy/audiences/view/tagDialog';\r\nimport instrumentation from '@bingads-webui-campaign-legacy/instrumentation/index';\r\n\r\nimport uetTagSelectorTemplate from '@bingads-webui-campaign-legacy/audiences/components/uet-tag/uet-tag-selector-template.pug';\r\nimport { UetTagSelectorViewModel } from '@bingads-webui-campaign-legacy/audiences/components/uet-tag/uet-tag-selector-viewmodel';\r\nimport { panelDecorator } from '@bingads-webui-campaign-react/panel-decorator';\r\n\r\nconst audiencesi18n = window.globalLegacyI18n.get('@bingads-webui/i18n-amd-loader!campaignui/feature/audiences');\r\n\r\nconst panelOptions = {\r\n panelClassName: 'manage-tag-alert-panel',\r\n i18n: audiencesi18n,\r\n panelReadyAriaLabel: audiencesi18n.getString('Uet tag alert side panel opened'),\r\n};\r\n\r\nexport class UetTagSelectorView extends BaseView {\r\n events() {\r\n return {\r\n 'change input': 'onInputModified',\r\n 'change select': 'onInputModified',\r\n 'change textarea': 'onInputModified',\r\n 'click .link-manage-tag': 'onManageTag',\r\n };\r\n }\r\n\r\n initialize({\r\n eventAggregator,\r\n enabled,\r\n showManageTagLink,\r\n $blocker,\r\n deps,\r\n usePanel,\r\n isNewUI,\r\n scope,\r\n dataOptions,\r\n }) {\r\n this.viewModel = new UetTagSelectorViewModel({\r\n eventAggregator,\r\n enabled,\r\n showManageTagLink,\r\n $blocker,\r\n scope,\r\n dataOptions,\r\n });\r\n this.saveClicked = false;\r\n this.deps = deps;\r\n this.initializeInstrumentation();\r\n this.usePanel = usePanel;\r\n this.isNewUI = isNewUI;\r\n }\r\n\r\n initializeInstrumentation() {\r\n const scenarios = {\r\n createOrManageAudience: instrumentation.createOrManageAudience.create(),\r\n };\r\n\r\n this.activities = {\r\n clickOnManageTagLink: scenarios.createOrManageAudience.clickOnManageTagLink.create(),\r\n loadUETTagsList: scenarios.createOrManageAudience.loadUETTagsList.create(),\r\n };\r\n this.activities.clickOnManageTagLink.monitor('onManageTag', this);\r\n this.activities.loadUETTagsList.monitor('updateTags', this);\r\n }\r\n\r\n remove() {\r\n if (this.dialog) {\r\n this.dialog.hide();\r\n }\r\n\r\n this.removePanelForNewUI();\r\n super.remove();\r\n }\r\n\r\n render() {\r\n this.setElement(uetTagSelectorTemplate({\r\n i18n: audiencesi18n,\r\n appendLearnMoreLink,\r\n }));\r\n\r\n ko.applyBindings(this.viewModel, this.$el[0]);\r\n\r\n if (!this.usePanel ) {\r\n this.dialog = new TagDialog({\r\n content: audiencesi18n.getString('Audience_Create_ManageTags_Dialog_Content'),\r\n dialogClass: 'audience manage-tag-alert',\r\n deps: this.deps,\r\n isNewUI: this.isNewUI,\r\n });\r\n }\r\n\r\n return this;\r\n }\r\n\r\n renderCounterRestrictions() {\r\n // DO NOTHING\r\n }\r\n\r\n updateTags(tagId, sortFunc, selectFirst = false, subType = null) {\r\n return this.viewModel.updateTags(tagId, sortFunc, selectFirst, subType).then(() => {\r\n this.onTagChanged();\r\n });\r\n }\r\n\r\n onManageTag() {\r\n if (this.usePanel) {\r\n this.showUetPanelForNewUI();\r\n } else {\r\n this.dialog.render();\r\n }\r\n }\r\n\r\n onInputModified() {\r\n this.validate(false);\r\n this.onTagChanged();\r\n }\r\n\r\n onTagChanged() {\r\n let tagId = this.viewModel.tagSelectedItem();\r\n let payload = null;\r\n\r\n if (tagId === -1) {\r\n payload = {\r\n Name: this.viewModel.tagName(),\r\n Description: this.viewModel.tagDescription(),\r\n };\r\n } else {\r\n payload = _.findWhere(\r\n this.viewModel.tags(),\r\n { Id: tagId }\r\n );\r\n }\r\n\r\n this.trigger('update', payload);\r\n }\r\n\r\n onServerError(code) {\r\n this.viewModel.handleServerError(code);\r\n }\r\n\r\n validate(saveClicked = false) {\r\n this.saveClicked = this.saveClicked || saveClicked;\r\n\r\n if (this.saveClicked) {\r\n return this.viewModel.validate(saveClicked);\r\n }\r\n\r\n return false;\r\n }\r\n\r\n createNewTag() {\r\n return this.viewModel.tagSelectedItem() === -1;\r\n }\r\n\r\n save(patch) {\r\n return this.viewModel.save(patch);\r\n }\r\n\r\n toJSON() {\r\n return this.viewModel.toJSON();\r\n }\r\n\r\n showUetPanelForNewUI() {\r\n this.removePanelForNewUI();\r\n const UetPanel = panelDecorator(TagDialog, panelOptions);\r\n\r\n this.panel = new UetPanel({\r\n content: audiencesi18n.getString('Audience_Create_ManageTags_Dialog_Content'),\r\n dialogClass: 'audience manage-tag-alert',\r\n deps: this.deps,\r\n isNewUI: true,\r\n title: audiencesi18n.getString('UnifiedEventTracking_Goal_Creation_TagManage_Title'),\r\n eventsToActions: [{\r\n event: 'onCloseForNewUI',\r\n action: () => {\r\n this.removePanelForNewUI();\r\n },\r\n }],\r\n\r\n onClose: (e) => {\r\n if ((e.currentTarget.className === 'react-focus-lock' && e.type === 'keyup') || e.currentTarget.className === 'panel-mask' || (e.currentTarget.className && e.currentTarget.className.indexOf('panel-close') > -1)) {\r\n this.removeModalBackDropForNewUI();\r\n this.removePanelForNewUI();\r\n }\r\n },\r\n });\r\n this.panel.render();\r\n }\r\n\r\n removePanelForNewUI() {\r\n if (this.panel) {\r\n this.panel.remove();\r\n }\r\n }\r\n\r\n removeModalBackDropForNewUI() {\r\n if ($('.manage-tag-alert') && _.isFunction($('.manage-tag-alert').modal)) {\r\n $('.manage-tag-alert').modal('removeBackdrop');\r\n }\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\n\r\nconst scriptRegex = /\") ? \"\" : pug_interp)) + \"\\u003C\\u002Fp\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"col-sm-6 pull-right\\\"\\u003E\\u003Cbutton class=\\\"col-sm-3 btn btn-primary btn-uet-copy-tag\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('UnifiedEventTracking_TagViewer_CopyTag')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\\u003Cbutton class=\\\"col-sm-5 btn btn-default btn-uet-download-tag\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('UnifiedEventTracking_TagViewer_Download')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\\u003Cbutton class=\\\"col-sm-3 btn btn-default btn-uet-email-tag\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('UnifiedEventTracking_TagViewer_EmailTag')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"i18n\" in locals_for_with?locals_for_with.i18n:typeof i18n!==\"undefined\"?i18n:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (i18n) {pug_html = pug_html + \"\\u003Cdiv class=\\\"uet-tag-selector\\\"\\u003E\\u003Cdiv class=\\\"row row-gap\\\"\\u003E\\u003Cdiv class=\\\"col-sm-8\\\"\\u003E\\u003Cselect class=\\\"form-control\\\" id=\\\"tagsDropDown\\\" name=\\\"tagsDropDown\\\" aria-required=\\\"true\\\" aria-label=\\\"ManageLblSelectTag\\\" aria-labelledby=\\\"ManageLblSelectTag\\\" aria-describedby=\\\"RemarketingListSelectTagError\\\" data-bind=\\\"optionsCaption: tagsCaption, enable: enabled() && !isSystemGeneratedList(), options: tags, optionsText:"Name", optionsValue: "Id", value: tagSelectedItem, attr: { "aria-invalid": errorTag() }, css: { error: errorTag() }, optionsAfterRender: setCreateOptionColor\\\"\\u003E\\u003C\\u002Fselect\\u003E\\u003Cdiv class=\\\"error\\\" id=\\\"RemarketingListSelectTagError\\\" data-bind=\\\"visible: errorTag(), text: errorTagStr\\\" role=\\\"alert\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"col-sm-4\\\"\\u003E\\u003Ca class=\\\"link-manage-tag\\\" data-bind=\\\"visible: showManageTagLink && !isSystemGeneratedList()\\\" href=\\\"javascript:void(0);\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('UnifiedEventTracking_Goal_Creation_TagManage')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"row create-tag-form\\\" data-bind=\\\"visible: showTagCreate()\\\"\\u003E\\u003Cdiv class=\\\"col-sm-12\\\"\\u003E\\u003Cdiv class=\\\"panel panel-form\\\"\\u003E\\u003Cdiv class=\\\"form-group\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"form-group\\\"\\u003E\\u003Clabel class=\\\"control-label col-sm-3\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Audiences_Manage_lbl_TagName')) ? \"\" : pug_interp)) + \"\\u003C\\u002Flabel\\u003E\\u003Cdiv class=\\\"col-sm-8\\\"\\u003E\\u003Cinput\" + (\" class=\\\"form-control\\\"\"+\" id=\\\"remarketingTagName\\\" name=\\\"tagNameTextbox\\\" data-counter-target=\\\"tagNameTextboxCounter\\\" data-maxlength=\\\"100\\\" maxlength=\\\"100\\\" data-bind=\\\"enable: enabled, value: tagName, valueUpdate: "input", attr: { placeholder: tagNamePlaceholder, "aria-invalid": errorTagName() || serverErrorTagName() }, css: { error: errorTagName() }\\\"\"+pug.attr(\"aria-label\", i18n.getString('Audiences_Manage_lbl_TagName'), true, true)+\" aria-describedby=\\\"RemarketingListTagNameError RemarketingListTagNameServerError\\\" aria-required=\\\"true\\\"\") + \"\\u003E\\u003Cdiv class=\\\"annotation-text\\\"\\u003E\\u003Cspan id=\\\"tagNameTextboxCounter\\\" data-bind=\\\"text: tagNameRemainCharacters\\\"\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"error\\\" id=\\\"RemarketingListTagNameError\\\" data-bind=\\\"visible: errorTagName(), text: errorTagNameStr\\\" role=\\\"alert\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"error\\\" id=\\\"RemarketingListTagNameServerError\\\" data-bind=\\\"visible: serverErrorTagName(), text: serverErrorTagNameStr\\\" role=\\\"alert\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"form-group\\\"\\u003E\\u003Clabel class=\\\"control-label col-sm-3\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Audiences_Manage_lbl_TagDescription')) ? \"\" : pug_interp)) + \"\\u003C\\u002Flabel\\u003E\\u003Cdiv class=\\\"col-sm-8\\\"\\u003E\\u003Ctextarea\" + (\" class=\\\"form-control\\\"\"+\" id=\\\"remarketingTagDesc\\\" name=\\\"tagDescTextArea\\\" rows=\\\"1\\\" data-counter-target=\\\"tagDescTextAreaCounter\\\" data-maxlength=\\\"100\\\" maxlength=\\\"100\\\" data-bind=\\\"enable: enabled, value: tagDescription, valueUpdate: "input", attr: { placeholder: tagDescriptionPlaceholder, "aria-invalid": errorTagDescription() || serverErrorTagDescription() }, css: { error: errorTagDescription() }\\\"\"+pug.attr(\"aria-label\", i18n.getString('Audiences_Manage_lbl_TagDescription'), true, true)+\" aria-describedby=\\\"RemarketingListTagDescriptionError RemarketingListTagDescriptionServerError\\\"\") + \"\\u003E\\u003C\\u002Ftextarea\\u003E\\u003Cdiv class=\\\"annotation-text\\\"\\u003E\\u003Cspan id=\\\"tagDescTextAreaCounter\\\" data-bind=\\\"text: tagDescriptionRemainCharacters\\\"\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"error\\\" id=\\\"RemarketingListTagDescriptionError\\\" data-bind=\\\"visible: errorTagDescription(), text: errorTagDescriptionStr\\\" role=\\\"alert\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"error\\\" id=\\\"RemarketingListTagDescriptionServerError\\\" data-bind=\\\"visible: serverErrorTagDescription(), text: serverErrorTagDescriptionStr\\\" role=\\\"alert\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"footer pull-right\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"i18n\" in locals_for_with?locals_for_with.i18n:typeof i18n!==\"undefined\"?i18n:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (model, view) {pug_html = pug_html + \"\\u003Cdiv class=\\\"competition-card__graph\\\" data-ref=\\\"competitionGraph\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\nif (!model.hasData && !model.hasError) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"competition-empty\\\"\\u003E\\u003Cdiv class=\\\"competition-empty-text\\\"\\u003E\" + (null == (pug_interp = view.emptyText) ? \"\" : pug_interp) + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\npug_html = pug_html + \"\\u003Ca class=\\\"HelpTopic hiddenHelpBridge\\\" query=\\\"help:app54555\\\" href=\\\"javascript:void(0);\\\" style=\\\"display:none\\\"\\u003E\\u003C\\u002Fa\\u003E\\u003Cdiv class=\\\"competition_action\\\"\\u003E\\u003Cspan class=\\\"competition_clickLink\\\" href=\\\"javascript:void(0);\\\" role=\\\"presentation\\\" tabindex=\\\"-1\\\"\\u003E\\u003Cbutton class=\\\"btn-default btn\\\" type=\\\"button\\\"\\u003E\" + (pug.escape(null == (pug_interp = view.actionButtonText) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"model\" in locals_for_with?locals_for_with.model:typeof model!==\"undefined\"?model:undefined,\"view\" in locals_for_with?locals_for_with.view:typeof view!==\"undefined\"?view:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (String, model) {pug_html = pug_html + \"\\u003Cdiv class=\\\"performance-card-metrics-picker\\\"\\u003E\";\n// iterate model.metrics\n;(function(){\n var $$obj = model.metrics;\n if ('number' == typeof $$obj.length) {\n for (var index = 0, $$l = $$obj.length; index < $$l; index++) {\n var metric = $$obj[index];\nvar classes = []\nvar selected = false\nif (model.selectedMetricIndexes.indexOf(index) !== -1) {\nclasses.push('performance-card-metrics-picker__metric--column' + index)\nselected = true\n}\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"performance-card-metrics-picker__metric\",classes], [false,true]), false, true)+pug.attr(\"data-metric\", metric, true, true)) + \"\\u003E\\u003Cdiv class=\\\"marker-container\\\"\\u003E\";\nif (selected) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"marker original-marker\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\nif (model.period.compared) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"marker comparison-marker\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv\" + (pug.attr(\"data-ref\", String(index), true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n } else {\n var $$l = 0;\n for (var index in $$obj) {\n $$l++;\n var metric = $$obj[index];\nvar classes = []\nvar selected = false\nif (model.selectedMetricIndexes.indexOf(index) !== -1) {\nclasses.push('performance-card-metrics-picker__metric--column' + index)\nselected = true\n}\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"performance-card-metrics-picker__metric\",classes], [false,true]), false, true)+pug.attr(\"data-metric\", metric, true, true)) + \"\\u003E\\u003Cdiv class=\\\"marker-container\\\"\\u003E\";\nif (selected) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"marker original-marker\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\nif (model.period.compared) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"marker comparison-marker\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv\" + (pug.attr(\"data-ref\", String(index), true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\";}.call(this,\"String\" in locals_for_with?locals_for_with.String:typeof String!==\"undefined\"?String:undefined,\"model\" in locals_for_with?locals_for_with.model:typeof model!==\"undefined\"?model:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (isCustomerLevel) {pug_html = pug_html + \"\\u003Cdiv class=\\\"performance-card__graph\\\" data-ref=\\\"graph\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Ca\" + (\" class=\\\"HelpTopic hiddenHelpBridge\\\"\"+pug.attr(\"query\", isCustomerLevel ? 'help:ext60045': 'help:app54555', true, true)+\" href=\\\"javascript:void(0);\\\" style=\\\"display:none\\\"\") + \"\\u003E\\u003C\\u002Fa\\u003E\";}.call(this,\"isCustomerLevel\" in locals_for_with?locals_for_with.isCustomerLevel:typeof isCustomerLevel!==\"undefined\"?isCustomerLevel:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (view) {pug_html = pug_html + \"\\u003Cdiv class=\\\"coupon-tag-flyout\\\"\\u003E\\u003Cdiv class=\\\"coupon-tag-flyout-content\\\"\\u003E\\u003Cp class=\\\"coupon-tag-flyout-line1\\\"\\u003E\" + (pug.escape(null == (pug_interp = view.i18n.getString('Coupon_TagFlyoutMessage', view.coupon)) ? \"\" : pug_interp)) + \"\\u003C\\u002Fp\\u003E\\u003Cp class=\\\"coupon-tag-flyout-line2\\\"\\u003E\" + (pug.escape(null == (pug_interp = view.i18n.getString('Coupon_Lightbox_LimitedTimeOffer')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fp\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"view\" in locals_for_with?locals_for_with.view:typeof view!==\"undefined\"?view:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (activeItems, consultationLink, currentSlide, i18n, isCustomerLevel, loaded) {pug_mixins[\"CouponFlag\"] = pug_interp = function(coupon, i18n, rightAlign){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\nif (coupon) {\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([rightAlign ? 'coupon-right-aligned' : ''], [true]), false, true)) + \"\\u003E\\u003Cspan\" + (\" class=\\\"coupon-tag\\\"\"+pug.attr(\"data-feature-id\", coupon.rawData.FeatureId.toString(), true, true)) + \"\\u003E\\u003Cspan class=\\\"coupon-tag-main-triangle\\\"\\u003E\\u003C\\u002Fspan\\u003E\\u003Cspan class=\\\"coupon-tag-message\\\"\\u003E\\u003Cspan class=\\\"tag-message-content\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Coupon_TagMessageNew', coupon)) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\n};\n\n\n\n\n\n\npug_mixins[\"TipCarouselContent\"] = pug_interp = function(item, i18n){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\npug_html = pug_html + \"\\u003Cdiv class=\\\"carousel__tip_content\\\"\\u003E\";\npug_mixins[\"CouponFlag\"](item.coupon, i18n, true);\npug_html = pug_html + \"\\u003Cdiv class=\\\"tip_text_content\\\"\\u003E\\u003Cdiv class=\\\"tip_title\\\"\\u003E\" + (pug.escape(null == (pug_interp = item.title) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"tip_description__wrapper\\\"\\u003E\\u003Cp class=\\\"tip_description\\\"\\u003E\" + (pug.escape(null == (pug_interp = item.description) ? \"\" : pug_interp)) + \"\\u003C\\u002Fp\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"tip_links\\\"\\u003E\";\nif (item.helpType === 'side_pane') {\npug_html = pug_html + \"\\u003Cspan\" + (\" class=\\\"tip_clickLink\\\"\"+\" href=\\\"javascript:void(0);\\\"\"+pug.attr(\"data-id\", \"\" +item.tipId, true, true)+\" role=\\\"presentation\\\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cbutton\" + (\" class=\\\"btn-default btn HelpTopic\\\"\"+pug.attr(\"query\", \"help:\" + item.helpLink, true, true)+\" type=\\\"button\\\"\") + \"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('LearnMore')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\\u003C\\u002Fspan\\u003E\";\n}\nelse\nif (item.helpType === 'new_page') {\npug_html = pug_html + \"\\u003Cspan\" + (\" class=\\\"tip_clickLink\\\"\"+pug.attr(\"data-id\", \"\" +item.tipId, true, true)+\" role=\\\"presentation\\\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Ca\" + (\" class=\\\"linkButton btn-default btn\\\"\"+pug.attr(\"href\", \"\" +item.helpLink, true, true)+\" target=\\\"_blank\\\"\") + \"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('LearnMore')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\\u003C\\u002Fspan\\u003E\";\n}\nelse\nif (item.helpType === 'video') {\npug_html = pug_html + \"\\u003Cspan\" + (\" class=\\\"tip_clickLink\\\"\"+\" href=\\\"javascript:void(0);\\\"\"+pug.attr(\"data-id\", \"\" +item.tipId, true, true)+\" role=\\\"presentation\\\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cbutton class=\\\"btn-default btn\\\" type=\\\"button\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Dashboard_TipCard_Click_WatchNow')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\\u003C\\u002Fspan\\u003E\\u003Cdiv\" + (\" class=\\\"abLaunchVideo\\\"\"+pug.attr(\"videoId\", \"\"+item.helpLink, true, true)+\" style=\\\"display:none\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\nelse\nif (item.helpType === 'tour') {\npug_html = pug_html + \"\\u003Cspan\" + (\" class=\\\"tip_clickLink\\\"\"+\" target=\\\"_blank\\\"\"+pug.attr(\"data-id\", \"\" +item.tipId, true, true)+\" role=\\\"presentation\\\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cbutton class=\\\"btn-default btn\\\" type=\\\"button\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Dashboard_TipCard_Click_GuideMe')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\\u003C\\u002Fspan\\u003E\";\n}\npug_html = pug_html + \"\\u003Ca\" + (\" class=\\\"tip_dismissLink clickable\\\"\"+\" tabindex=\\\"0\\\" role=\\\"button\\\"\"+pug.attr(\"aria-label\", i18n.getString('Dashboard_TipCard_Dismiss'), true, true)+pug.attr(\"data-id\", \"\" +item.tipId, true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Dashboard_TipCard_Dismiss')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"tip_image_container\\\"\\u003E\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"tip_image\",\"\"+item.imgClass], [false,true]), false, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n};\npug_mixins[\"OpportunityCarouselContentVNextV2\"] = pug_interp = function(item, i18n, index){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\npug_html = pug_html + \"\\u003Cdiv\" + (\" class=\\\"carousel__tip_content\\\"\"+pug.attr(\"id\", 'recommendation-container-' + index, true, true)+pug.attr(\"data-ref\", \"recommendation-container-\" + index, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n};\npug_mixins[\"CarouselContent\"] = pug_interp = function(item, i18n, index){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\nif (item.type == 'Tip') {\npug_mixins[\"TipCarouselContent\"](item, i18n);\n}\nelse {\npug_mixins[\"OpportunityCarouselContentVNextV2\"](item, i18n, index);\n}\n};\npug_mixins[\"EmptyCarouselContent\"] = pug_interp = function(i18n, consultationLink){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\npug_html = pug_html + \"\\u003Cdiv class=\\\"carousel__tip_content empty_content\\\"\\u003E\\u003Cdiv class=\\\"tip_text_content\\\"\\u003E\\u003Ch1 class=\\\"tip_title\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Dashboard_TipCard_OptimizationConsultation_Title')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fh1\\u003E\\u003Cdiv class=\\\"tip_description__wrapper\\\"\\u003E\\u003Ch3 class=\\\"tip_description\\\" id=\\\"dashboardRecommendationsCardOptimizationConsultationDesc\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Dashboard_RecommendationsCard_OptimizationConsultation_Desc')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fh3\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"tip_links\\\"\\u003E\\u003Cspan class=\\\"tip_clickLink\\\" data-id=\\\"0\\\" role=\\\"presentation\\\" tabindex=\\\"-1\\\"\\u003E\\u003Ca\" + (\" class=\\\"linkButton btn-default btn\\\"\"+pug.attr(\"href\", consultationLink, true, true)+\" target=\\\"_blank\\\" aria-labelledby=\\\"dashboardRecommendationsCardOptimizationConsultationDesc\\\"\") + \"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('LearnMore')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"tip_image_container\\\"\\u003E\\u003Cdiv class=\\\"tip_image optiConsult_tip_img\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n};\npug_mixins[\"Carousel\"] = pug_interp = function(){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\npug_html = pug_html + \"\\u003Cdiv\" + (\" class=\\\"tipsCarousel carousel slide\\\"\"+\" data-ride=\\\"carousel\\\" data-interval=\\\"false\\\"\"+pug.attr(\"aria-label\", i18n.getString('Dashboard_Tips_Card_Title'), true, true)) + \"\\u003E\\u003C!-- Wrapper for slides--\\u003E\\u003Cul class=\\\"carousel-inner\\\" role=\\\"presentation\\\"\\u003E\";\nif (activeItems.length != 0) {\nvar havevideo = false;\n// iterate activeItems\n;(function(){\n var $$obj = activeItems;\n if ('number' == typeof $$obj.length) {\n for (var i = 0, $$l = $$obj.length; i < $$l; i++) {\n var item = $$obj[i];\nif (i === currentSlide) {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item active\\\"\"+pug.attr(\"id\", 'carousel-panel-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\npug_mixins[\"CarouselContent\"](item, i18n, i);\npug_html = pug_html + \"\\u003C\\u002Fli\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item\\\"\"+pug.attr(\"id\", 'carousel-panel-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\npug_mixins[\"CarouselContent\"](item, i18n, i);\npug_html = pug_html + \"\\u003C\\u002Fli\\u003E\";\n}\nif (item.helpType === 'video') {\nhavevideo = true;\n}\n }\n } else {\n var $$l = 0;\n for (var i in $$obj) {\n $$l++;\n var item = $$obj[i];\nif (i === currentSlide) {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item active\\\"\"+pug.attr(\"id\", 'carousel-panel-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\npug_mixins[\"CarouselContent\"](item, i18n, i);\npug_html = pug_html + \"\\u003C\\u002Fli\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item\\\"\"+pug.attr(\"id\", 'carousel-panel-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\npug_mixins[\"CarouselContent\"](item, i18n, i);\npug_html = pug_html + \"\\u003C\\u002Fli\\u003E\";\n}\nif (item.helpType === 'video') {\nhavevideo = true;\n}\n }\n }\n}).call(this);\n\nif (havevideo) {\npug_html = pug_html + \"\\u003Cscript\\u003Eif (typeof ApexVideoHandler !== 'undefined') {ApexVideoHandler.Init();}\\u003C\\u002Fscript\\u003E\";\n}\n}\nelse {\npug_mixins[\"EmptyCarouselContent\"](i18n, consultationLink);\n}\npug_html = pug_html + \"\\u003C\\u002Ful\\u003E\";\nif (activeItems.length != 0) {\npug_html = pug_html + \"\\u003Cul class=\\\"carousel-footer\\\" role=\\\"presentation\\\"\\u003E\";\n// iterate activeItems\n;(function(){\n var $$obj = activeItems;\n if ('number' == typeof $$obj.length) {\n for (var i = 0, $$l = $$obj.length; i < $$l; i++) {\n var item = $$obj[i];\nif (i === currentSlide) {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item activeButton\\\"\"+pug.attr(\"id\", 'carousel-panel-footer-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cdiv class=\\\"summary-footer\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"summary-footer-content\\\"\"+pug.attr(\"data-ref\", 'summaryfooter-'+i, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fli\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item inactiveButton\\\"\"+pug.attr(\"id\", 'carousel-panel-footer-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cdiv class=\\\"summary-footer\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"summary-footer-content\\\"\"+pug.attr(\"data-ref\", 'summaryfooter-'+i, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fli\\u003E\";\n}\n }\n } else {\n var $$l = 0;\n for (var i in $$obj) {\n $$l++;\n var item = $$obj[i];\nif (i === currentSlide) {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item activeButton\\\"\"+pug.attr(\"id\", 'carousel-panel-footer-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cdiv class=\\\"summary-footer\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"summary-footer-content\\\"\"+pug.attr(\"data-ref\", 'summaryfooter-'+i, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fli\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item inactiveButton\\\"\"+pug.attr(\"id\", 'carousel-panel-footer-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cdiv class=\\\"summary-footer\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"summary-footer-content\\\"\"+pug.attr(\"data-ref\", 'summaryfooter-'+i, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fli\\u003E\";\n}\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Ful\\u003E\\u003Cdiv class=\\\"liveregion visuallyhidden\\\" aria-live=\\\"polite\\\" aria-atomic=\\\"true\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Item {{itemIndex}} of {{itemCount}}', {itemIndex: currentSlide + 1, itemCount: activeItems.length})) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\";\n}\npug_html = pug_html + \"\\u003C!-- Indicators--\\u003E\";\nif (activeItems.length > 1) {\npug_html = pug_html + \"\\u003Cspan class=\\\"carouselItemCount\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Item {{itemIndex}} of {{itemCount}}', {itemIndex: currentSlide + 1, itemCount: activeItems.length})) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C!-- Left and right controls--\\u003E\\u003Ca class=\\\"left carousel-control\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"carousel-control carousel-control__arrow-left clickable\\\"\"+\" tabindex=\\\"0\\\" href=\\\".tipsCarousel\\\" role=\\\"button\\\" data-slide=\\\"prev\\\"\"+pug.attr(\"aria-label\", i18n.getString('PrevNext_Previous'), true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cspan class=\\\"sr-only\\\"\\u003EPrevious\\u003C\\u002Fspan\\u003E\\u003C\\u002Fa\\u003E\\u003Ca class=\\\"right carousel-control\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"carousel-control carousel-control__arrow-right clickable\\\"\"+\" tabindex=\\\"0\\\" href=\\\".tipsCarousel\\\" role=\\\"button\\\" data-slide=\\\"next\\\"\"+pug.attr(\"aria-label\", i18n.getString('PrevNext_Next'), true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cspan class=\\\"sr-only\\\"\\u003ENext\\u003C\\u002Fspan\\u003E\\u003C\\u002Fa\\u003E\";\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003Ca\" + (\" class=\\\"HelpTopic hiddenHelpBridge\\\"\"+pug.attr(\"query\", isCustomerLevel ? 'help:ext60045': 'help:app54555', true, true)+\" href=\\\"javascript:void(0);\\\" style=\\\"display:none\\\"\") + \"\\u003E\\u003C\\u002Fa\\u003E\";\n};\nif (loaded) {\npug_mixins[\"Carousel\"]();\n}}.call(this,\"activeItems\" in locals_for_with?locals_for_with.activeItems:typeof activeItems!==\"undefined\"?activeItems:undefined,\"consultationLink\" in locals_for_with?locals_for_with.consultationLink:typeof consultationLink!==\"undefined\"?consultationLink:undefined,\"currentSlide\" in locals_for_with?locals_for_with.currentSlide:typeof currentSlide!==\"undefined\"?currentSlide:undefined,\"i18n\" in locals_for_with?locals_for_with.i18n:typeof i18n!==\"undefined\"?i18n:undefined,\"isCustomerLevel\" in locals_for_with?locals_for_with.isCustomerLevel:typeof isCustomerLevel!==\"undefined\"?isCustomerLevel:undefined,\"loaded\" in locals_for_with?locals_for_with.loaded:typeof loaded!==\"undefined\"?loaded:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;pug_html = pug_html + \"\\u003Cdiv class=\\\"map-container-wrapper\\\"\\u003E\\u003Cdiv class=\\\"map-container\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (metric, s$i18n) {pug_html = pug_html + \"\\u003Cdiv class=\\\"metric-picker__button metric-picker__button--single dropdown-toggle\\\" role=\\\"button\\\" data-toggle=\\\"dropdown\\\" aria-haspopup=\\\"true\\\" aria-expanded=\\\"false\\\" tabindex=\\\"0\\\"\\u003E\\u003Cdiv class=\\\"bubble-icon\\\"\\u003E\\u003Cdiv class=\\\"dot\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"metric-picker__name\\\"\\u003E\" + (pug.escape(null == (pug_interp = s$i18n.property('PerformanceMetrics', metric)) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cspan class=\\\"glyphicon glyphicon-triangle-bottom toolbar-icon pull-right\\\"\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"metric\" in locals_for_with?locals_for_with.metric:typeof metric!==\"undefined\"?metric:undefined,\"s$i18n\" in locals_for_with?locals_for_with.s$i18n:typeof s$i18n!==\"undefined\"?s$i18n:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (hasError, i18n, loaded, locationInfos, noData, recommendationMsg, showList, tooMuchData) {pug_html = pug_html + \"\\u003Cdiv class=\\\"metric-picker-container\\\"\\u003E\\u003Cdiv class=\\\"dev\\\" data-ref=\\\"metric-picker\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\nif ((hasError)) {\nif (tooMuchData) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"msg\\\"\\u003E\" + (null == (pug_interp = i18n.getString('Dashboard_TopLocations_TooMuchDataToDownload')) ? \"\" : pug_interp) + \"\\u003C\\u002Fdiv\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cdiv class=\\\"msg\\\"\\u003E\" + (null == (pug_interp = i18n.getString('Dashboard_Cards_Data_Error')) ? \"\" : pug_interp) + \"\\u003C\\u002Fdiv\\u003E\";\n}\n}\nelse\nif (noData) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"msg\\\"\\u003E\" + (null == (pug_interp = i18n.getString('Dashboard_Cards_NoData')) ? \"\" : pug_interp) + \"\\u003C\\u002Fdiv\\u003E\";\n}\nvar showData = loaded && !hasError && !noData\nif ((showData)) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"location-data\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"location-map\\\"\"+pug.attr(\"style\", pug.style(\"display:\" + (showList ? '' : 'flex')), true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv\" + (\" class=\\\"data-container\\\"\"+pug.attr(\"style\", pug.style(\"display:\" + (showList ? 'flex' : '')), true, true)) + \"\\u003E\\u003Cdiv class=\\\"scroll-container\\\"\\u003E\\u003Cdiv class=\\\"data-grid\\\"\\u003E\";\n// iterate locationInfos\n;(function(){\n var $$obj = locationInfos;\n if ('number' == typeof $$obj.length) {\n for (var index = 0, $$l = $$obj.length; index < $$l; index++) {\n var location = $$obj[index];\nvar rowClass = \"data-grid-row-\" + (index+1)\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"location-name\",rowClass], [false,true]), false, true)+pug.attr(\"data-index\", index.toString(), true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = location.name) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"kpi\",rowClass], [false,true]), false, true)+pug.attr(\"data-index\", index.toString(), true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = location.formattedValue) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\";\n }\n } else {\n var $$l = 0;\n for (var index in $$obj) {\n $$l++;\n var location = $$obj[index];\nvar rowClass = \"data-grid-row-\" + (index+1)\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"location-name\",rowClass], [false,true]), false, true)+pug.attr(\"data-index\", index.toString(), true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = location.name) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"kpi\",rowClass], [false,true]), false, true)+pug.attr(\"data-index\", index.toString(), true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = location.formattedValue) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\";\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\nif (recommendationMsg) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"recommendation-container\\\"\\u003E\\u003Cdiv class=\\\"recommendation-icon-container\\\"\\u003E\\u003Cspan class=\\\"recommendation-light-bulb\\\"\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"msg-container\\\"\\u003E\\u003Cdiv class=\\\"msg\\\"\\u003E\" + (null == (pug_interp = recommendationMsg + '  ') ? \"\" : pug_interp) + \"\\u003C\\u002Fdiv\\u003E\\u003Ca class=\\\"view-recommendations\\\"\\u003E\" + (null == (pug_interp = i18n.getString('Dashboard_TopLocations_View_Recommendations')) ? \"\" : pug_interp) + \"\\u003C\\u002Fa\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\npug_html = pug_html + \"\\u003Cdiv class=\\\"scroll-bar-cover\\\"\\u003E\\u003Cdiv class=\\\"block-container\\\"\\u003E\";\n// iterate locationInfos\n;(function(){\n var $$obj = locationInfos;\n if ('number' == typeof $$obj.length) {\n for (var index = 0, $$l = $$obj.length; index < $$l; index++) {\n var location = $$obj[index];\nvar rowClass = \"data-grid-row-\" + (index+1)\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"cover-block\",rowClass], [false,true]), false, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n } else {\n var $$l = 0;\n for (var index in $$obj) {\n $$l++;\n var location = $$obj[index];\nvar rowClass = \"data-grid-row-\" + (index+1)\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"cover-block\",rowClass], [false,true]), false, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\npug_html = pug_html + \"\\u003Cdiv class=\\\"location-links\\\"\\u003E\\u003Cspan class=\\\"view-all-clickLink\\\" href=\\\"javascript:void(0);\\\" role=\\\"presentation\\\" tabindex=\\\"-1\\\"\\u003E\\u003Cbutton class=\\\"btn-default btn\\\" type=\\\"button\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Dashboard_TopLocations_View_All')) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\\u003C\\u002Fspan\\u003E\";\nif ((showData)) {\nvar linkText = showList ? i18n.getString('Dashboard_TopLocations_Show_Map') : i18n.getString('Dashboard_TopLocations_Show_List');\npug_html = pug_html + \"\\u003Ca class=\\\"view-picker-clickLink\\\"\\u003E\" + (pug.escape(null == (pug_interp = linkText) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\";\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003Ca class=\\\"HelpTopic hiddenHelpBridge\\\" query=\\\"help:app54555\\\" href=\\\"javascript:void(0);\\\" style=\\\"display:none\\\"\\u003E\\u003C\\u002Fa\\u003E\";}.call(this,\"hasError\" in locals_for_with?locals_for_with.hasError:typeof hasError!==\"undefined\"?hasError:undefined,\"i18n\" in locals_for_with?locals_for_with.i18n:typeof i18n!==\"undefined\"?i18n:undefined,\"loaded\" in locals_for_with?locals_for_with.loaded:typeof loaded!==\"undefined\"?loaded:undefined,\"locationInfos\" in locals_for_with?locals_for_with.locationInfos:typeof locationInfos!==\"undefined\"?locationInfos:undefined,\"noData\" in locals_for_with?locals_for_with.noData:typeof noData!==\"undefined\"?noData:undefined,\"recommendationMsg\" in locals_for_with?locals_for_with.recommendationMsg:typeof recommendationMsg!==\"undefined\"?recommendationMsg:undefined,\"showList\" in locals_for_with?locals_for_with.showList:typeof showList!==\"undefined\"?showList:undefined,\"tooMuchData\" in locals_for_with?locals_for_with.tooMuchData:typeof tooMuchData!==\"undefined\"?tooMuchData:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (date, formattedValue, metricName, name) {pug_html = pug_html + \"\\u003Cdiv class=\\\"tool-tip-container\\\"\\u003E\\u003Cdiv class=\\\"location-name\\\"\\u003E\" + (pug.escape(null == (pug_interp = name) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"date-range\\\"\\u003E\" + (pug.escape(null == (pug_interp = date) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"metric-container\\\"\\u003E\\u003Cdiv class=\\\"bubble-icon\\\"\\u003E\\u003Cdiv class=\\\"dot\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"metric-name\\\"\\u003E\" + (pug.escape(null == (pug_interp = metricName) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"metric-value\\\"\\u003E\" + (pug.escape(null == (pug_interp = formattedValue) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"date\" in locals_for_with?locals_for_with.date:typeof date!==\"undefined\"?date:undefined,\"formattedValue\" in locals_for_with?locals_for_with.formattedValue:typeof formattedValue!==\"undefined\"?formattedValue:undefined,\"metricName\" in locals_for_with?locals_for_with.metricName:typeof metricName!==\"undefined\"?metricName:undefined,\"name\" in locals_for_with?locals_for_with.name:typeof name!==\"undefined\"?name:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (activeItems, consultationLink, currentSlide, i18n, isCustomerLevel, loaded) {pug_mixins[\"WelcomeTipCarouselContent\"] = pug_interp = function(item, i18n){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\npug_html = pug_html + \"\\u003Cdiv class=\\\"carousel__welcome_content\\\"\\u003E\\u003Cdiv class=\\\"welcome_text_content\\\"\\u003E\\u003Ch1 class=\\\"welcome_title\\\"\\u003E\" + (pug.escape(null == (pug_interp = item.title) ? \"\" : pug_interp)) + \"\\u003C\\u002Fh1\\u003E\\u003Cdiv class=\\\"welcome_description__wrapper\\\"\\u003E\\u003Ch3 class=\\\"welcome_description\\\"\\u003E\" + (null == (pug_interp = item.description) ? \"\" : pug_interp) + \"\\u003C\\u002Fh3\\u003E\\u003C\\u002Fdiv\\u003E\";\nif (item.button) {\npug_html = pug_html + \"\\u003Cdiv class=\\\"welcome_links\\\"\\u003E\";\nvar classes = [];\nclasses.push(item.disableButton? 'disabled-button' : 'welcome_clickLink');\npug_html = pug_html + \"\\u003Cspan\" + (pug.attr(\"class\", pug.classes([classes], [true]), false, true)+pug.attr(\"data-name\", \"\"+ item.tipName+ \"\", true, true)+\" role=\\\"presentation\\\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\nif (item.actionLink) {\npug_html = pug_html + \"\\u003Ca\" + (\" class=\\\"btn-default btn linkButton\\\"\"+pug.attr(\"href\", item.actionLink ? \"\"+item.actionLink+\"\" : 'javascript:void(0);', true, true)+pug.attr(\"target\", item.newTab ? '_blank' : '_self', true, true)+pug.attr(\"data-analyticsid\", \"\" +item.analyticsid+\"\", true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = item.button) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cbutton\" + (pug.attr(\"class\", pug.classes([\"btn-default\",\"btn\",item.tipName === 'help' ? 'HelpTopic': ''], [false,false,true]), false, true)+\" type=\\\"button\\\"\"+pug.attr(\"query\", item.helpLink, true, true)+pug.attr(\"data-analyticsid\", \"\" +item.analyticsid+\"\", true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = item.button) ? \"\" : pug_interp)) + \"\\u003C\\u002Fbutton\\u003E\";\n}\npug_html = pug_html + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"welcome_image_container\\\"\\u003E\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"welcome_image\",\"\"+ item.imgClass +\"\"], [false,true]), false, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n};\npug_mixins[\"CarouselContent\"] = pug_interp = function(item, i18n){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\npug_mixins[\"WelcomeTipCarouselContent\"](item, i18n);\n};\npug_mixins[\"EmptyCarouselContent\"] = pug_interp = function(i18n, link){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\npug_html = pug_html + \"\\u003Cdiv class=\\\"empty\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n};\npug_mixins[\"Carousel\"] = pug_interp = function(){\nvar block = (this && this.block), attributes = (this && this.attributes) || {};\npug_html = pug_html + \"\\u003Cdiv\" + (\" class=\\\"tipsCarousel carousel slide\\\"\"+\" data-ride=\\\"carousel\\\" data-interval=\\\"false\\\"\"+pug.attr(\"aria-label\", i18n.getString('Dashboard_Tips_Card_Title'), true, true)) + \"\\u003E\\u003C!-- Wrapper for slides--\\u003E\\u003Cul class=\\\"carousel-inner\\\" role=\\\"presentation\\\"\\u003E\";\nif (activeItems.length != 0) {\nvar havevideo = false;\n// iterate activeItems\n;(function(){\n var $$obj = activeItems;\n if ('number' == typeof $$obj.length) {\n for (var i = 0, $$l = $$obj.length; i < $$l; i++) {\n var item = $$obj[i];\nif (i === currentSlide) {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item active\\\"\"+pug.attr(\"id\", 'carousel-panel-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\npug_mixins[\"CarouselContent\"](item, i18n, i);\npug_html = pug_html + \"\\u003C\\u002Fli\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item\\\"\"+pug.attr(\"id\", 'carousel-panel-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\npug_mixins[\"CarouselContent\"](item, i18n, i);\npug_html = pug_html + \"\\u003C\\u002Fli\\u003E\";\n}\nif (item.helpType === 'video') {\nhavevideo = true;\n}\n }\n } else {\n var $$l = 0;\n for (var i in $$obj) {\n $$l++;\n var item = $$obj[i];\nif (i === currentSlide) {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item active\\\"\"+pug.attr(\"id\", 'carousel-panel-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\npug_mixins[\"CarouselContent\"](item, i18n, i);\npug_html = pug_html + \"\\u003C\\u002Fli\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item\\\"\"+pug.attr(\"id\", 'carousel-panel-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\";\npug_mixins[\"CarouselContent\"](item, i18n, i);\npug_html = pug_html + \"\\u003C\\u002Fli\\u003E\";\n}\nif (item.helpType === 'video') {\nhavevideo = true;\n}\n }\n }\n}).call(this);\n\nif (havevideo) {\npug_html = pug_html + \"\\u003Cscript\\u003Eif (typeof ApexVideoHandler !== 'undefined') {ApexVideoHandler.Init();}\\u003C\\u002Fscript\\u003E\";\n}\n}\nelse {\npug_mixins[\"EmptyCarouselContent\"](i18n, consultationLink);\n}\npug_html = pug_html + \"\\u003C\\u002Ful\\u003E\";\nif (activeItems.length != 0) {\npug_html = pug_html + \"\\u003Cul class=\\\"carousel-footer\\\" role=\\\"presentation\\\"\\u003E\";\n// iterate activeItems\n;(function(){\n var $$obj = activeItems;\n if ('number' == typeof $$obj.length) {\n for (var i = 0, $$l = $$obj.length; i < $$l; i++) {\n var item = $$obj[i];\nif (i === currentSlide) {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item activeButton\\\"\"+pug.attr(\"id\", 'carousel-panel-footer-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cdiv class=\\\"summary-footer\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"summary-footer-content\\\"\"+pug.attr(\"data-ref\", 'summaryfooter-'+i, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fli\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item inactiveButton\\\"\"+pug.attr(\"id\", 'carousel-panel-footer-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cdiv class=\\\"summary-footer\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"summary-footer-content\\\"\"+pug.attr(\"data-ref\", 'summaryfooter-'+i, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fli\\u003E\";\n}\n }\n } else {\n var $$l = 0;\n for (var i in $$obj) {\n $$l++;\n var item = $$obj[i];\nif (i === currentSlide) {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item activeButton\\\"\"+pug.attr(\"id\", 'carousel-panel-footer-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cdiv class=\\\"summary-footer\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"summary-footer-content\\\"\"+pug.attr(\"data-ref\", 'summaryfooter-'+i, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fli\\u003E\";\n}\nelse {\npug_html = pug_html + \"\\u003Cli\" + (\" class=\\\"item inactiveButton\\\"\"+pug.attr(\"id\", 'carousel-panel-footer-' + i, true, true)+\" tabindex=\\\"-1\\\"\") + \"\\u003E\\u003Cdiv class=\\\"summary-footer\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"summary-footer-content\\\"\"+pug.attr(\"data-ref\", 'summaryfooter-'+i, true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fli\\u003E\";\n}\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Ful\\u003E\\u003Cdiv class=\\\"liveregion visuallyhidden\\\" aria-live=\\\"polite\\\" aria-atomic=\\\"true\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Item {{itemIndex}} of {{itemCount}}', {itemIndex: currentSlide + 1, itemCount: activeItems.length})) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\";\n}\npug_html = pug_html + \"\\u003C!-- Indicators--\\u003E\";\nif (activeItems.length > 1) {\npug_html = pug_html + \"\\u003Cspan class=\\\"carouselItemCount\\\"\\u003E\" + (pug.escape(null == (pug_interp = i18n.getString('Item {{itemIndex}} of {{itemCount}}', {itemIndex: currentSlide + 1, itemCount: activeItems.length})) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C!-- Left and right controls--\\u003E\\u003Ca class=\\\"left carousel-control\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"carousel-control carousel-control__arrow-left clickable\\\"\"+\" tabindex=\\\"0\\\" href=\\\".tipsCarousel\\\" role=\\\"button\\\" data-slide=\\\"prev\\\"\"+pug.attr(\"aria-label\", i18n.getString('PrevNext_Previous'), true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cspan class=\\\"sr-only\\\"\\u003EPrevious\\u003C\\u002Fspan\\u003E\\u003C\\u002Fa\\u003E\\u003Ca class=\\\"right carousel-control\\\"\\u003E\\u003Cdiv\" + (\" class=\\\"carousel-control carousel-control__arrow-right clickable\\\"\"+\" tabindex=\\\"0\\\" href=\\\".tipsCarousel\\\" role=\\\"button\\\" data-slide=\\\"next\\\"\"+pug.attr(\"aria-label\", i18n.getString('PrevNext_Next'), true, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cspan class=\\\"sr-only\\\"\\u003ENext\\u003C\\u002Fspan\\u003E\\u003C\\u002Fa\\u003E\";\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003Ca\" + (\" class=\\\"HelpTopic hiddenHelpBridge\\\"\"+pug.attr(\"query\", isCustomerLevel ? 'help:ext60045': 'help:app54555', true, true)+\" href=\\\"javascript:void(0);\\\" style=\\\"display:none\\\"\") + \"\\u003E\\u003C\\u002Fa\\u003E\";\n};\nif (loaded) {\npug_mixins[\"Carousel\"]();\n}}.call(this,\"activeItems\" in locals_for_with?locals_for_with.activeItems:typeof activeItems!==\"undefined\"?activeItems:undefined,\"consultationLink\" in locals_for_with?locals_for_with.consultationLink:typeof consultationLink!==\"undefined\"?consultationLink:undefined,\"currentSlide\" in locals_for_with?locals_for_with.currentSlide:typeof currentSlide!==\"undefined\"?currentSlide:undefined,\"i18n\" in locals_for_with?locals_for_with.i18n:typeof i18n!==\"undefined\"?i18n:undefined,\"isCustomerLevel\" in locals_for_with?locals_for_with.isCustomerLevel:typeof isCustomerLevel!==\"undefined\"?isCustomerLevel:undefined,\"loaded\" in locals_for_with?locals_for_with.loaded:typeof loaded!==\"undefined\"?loaded:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (hideMessage, zoomAllText) {pug_html = pug_html + \"\\u003Cdiv class=\\\"map-container-wrapper\\\"\\u003E\\u003Cdiv class=\\\"map-container\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"map-message-panel\\\"\\u003E\" + (pug.escape(null == (pug_interp = hideMessage) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Ca class=\\\"zoom-to-all pull-right clickable\\\" href=\\\"javascript:void(0);\\\" role=\\\"button\\\"\\u003E\" + (pug.escape(null == (pug_interp = zoomAllText) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\";}.call(this,\"hideMessage\" in locals_for_with?locals_for_with.hideMessage:typeof hideMessage!==\"undefined\"?hideMessage:undefined,\"zoomAllText\" in locals_for_with?locals_for_with.zoomAllText:typeof zoomAllText!==\"undefined\"?zoomAllText:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (actions, description, title) {pug_html = pug_html + \"\\u003Cdiv class=\\\"Infobox2\\\"\\u003E\\u003Cdiv class=\\\"infobox-body\\\"\\u003E\\u003Cdiv class=\\\"infobox-title\\\"\\u003E\" + (pug.escape(null == (pug_interp = title) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"infobox-info\\\"\\u003E\" + (pug.escape(null == (pug_interp = description) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"infobox-actions\\\"\\u003E\\u003Cul class=\\\"infobox-actions-list\\\"\\u003E\";\n// iterate actions\n;(function(){\n var $$obj = actions;\n if ('number' == typeof $$obj.length) {\n for (var pug_index0 = 0, $$l = $$obj.length; pug_index0 < $$l; pug_index0++) {\n var action = $$obj[pug_index0];\npug_html = pug_html + \"\\u003Cli\\u003E\\u003Ca class=\\\"clickable\\\" href=\\\"#\\\" role=\\\"button\\\"\\u003E\" + (pug.escape(null == (pug_interp = action.label) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\\u003C\\u002Fli\\u003E\";\n }\n } else {\n var $$l = 0;\n for (var pug_index0 in $$obj) {\n $$l++;\n var action = $$obj[pug_index0];\npug_html = pug_html + \"\\u003Cli\\u003E\\u003Ca class=\\\"clickable\\\" href=\\\"#\\\" role=\\\"button\\\"\\u003E\" + (pug.escape(null == (pug_interp = action.label) ? \"\" : pug_interp)) + \"\\u003C\\u002Fa\\u003E\\u003C\\u002Fli\\u003E\";\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Ful\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"actions\" in locals_for_with?locals_for_with.actions:typeof actions!==\"undefined\"?actions:undefined,\"description\" in locals_for_with?locals_for_with.description:typeof description!==\"undefined\"?description:undefined,\"title\" in locals_for_with?locals_for_with.title:typeof title!==\"undefined\"?title:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (cls, label) {pug_html = pug_html + \"\\u003Cspan\" + (pug.attr(\"class\", pug.classes([\"highcharts-el__label\",cls], [false,true]), false, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = label) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\";}.call(this,\"cls\" in locals_for_with?locals_for_with.cls:typeof cls!==\"undefined\"?cls:undefined,\"label\" in locals_for_with?locals_for_with.label:typeof label!==\"undefined\"?label:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;pug_html = pug_html + \"\\u003Cdiv class=\\\"highcharts-el\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (formatOption, formatPoint, points, title) {pug_html = pug_html + \"\\u003Cdiv class=\\\"charts-tooltip\\\"\\u003E\\u003Cdiv class=\\\"tool-tip-title\\\"\\u003E\" + (pug.escape(null == (pug_interp = title) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"tool-tip-properties\\\"\\u003E\";\n// iterate points\n;(function(){\n var $$obj = points;\n if ('number' == typeof $$obj.length) {\n for (var pug_index0 = 0, $$l = $$obj.length; pug_index0 < $$l; pug_index0++) {\n var point = $$obj[pug_index0];\nvar className = point.series.options.marker.symbol + \"-\" + point.series.options.dashStyle;\npug_html = pug_html + \"\\u003Cdiv class=\\\"tool-tip-property\\\"\\u003E\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"tool-tip-icon\",className.toLowerCase()], [false,true]), false, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"tool-tip-details\\\"\\u003E\\u003Cdiv class=\\\"tool-tip-name\\\"\\u003E\" + (pug.escape(null == (pug_interp = point.series.name) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv\" + (\" class=\\\"tool-tip-value\\\"\"+pug.attr(\"style\", pug.style(\"color: \" + point.color + \";\"), true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = formatPoint(point, formatOption)) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n } else {\n var $$l = 0;\n for (var pug_index0 in $$obj) {\n $$l++;\n var point = $$obj[pug_index0];\nvar className = point.series.options.marker.symbol + \"-\" + point.series.options.dashStyle;\npug_html = pug_html + \"\\u003Cdiv class=\\\"tool-tip-property\\\"\\u003E\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"tool-tip-icon\",className.toLowerCase()], [false,true]), false, true)) + \"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"tool-tip-details\\\"\\u003E\\u003Cdiv class=\\\"tool-tip-name\\\"\\u003E\" + (pug.escape(null == (pug_interp = point.series.name) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv\" + (\" class=\\\"tool-tip-value\\\"\"+pug.attr(\"style\", pug.style(\"color: \" + point.color + \";\"), true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = formatPoint(point, formatOption)) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"formatOption\" in locals_for_with?locals_for_with.formatOption:typeof formatOption!==\"undefined\"?formatOption:undefined,\"formatPoint\" in locals_for_with?locals_for_with.formatPoint:typeof formatPoint!==\"undefined\"?formatPoint:undefined,\"points\" in locals_for_with?locals_for_with.points:typeof points!==\"undefined\"?points:undefined,\"title\" in locals_for_with?locals_for_with.title:typeof title!==\"undefined\"?title:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (i18n) {pug_html = pug_html + \"\\u003Cdiv class=\\\"graph graph--no-data__label\\\"\\u003E\" + (null == (pug_interp = i18n.getString('BI_Chart_Error')) ? \"\" : pug_interp) + \"\\u003C\\u002Fdiv\\u003E\";}.call(this,\"i18n\" in locals_for_with?locals_for_with.i18n:typeof i18n!==\"undefined\"?i18n:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (i18n) {pug_html = pug_html + \"\\u003Cdiv class=\\\"graph graph--no-data__label\\\"\\u003E\" + (null == (pug_interp = i18n.getString('BI_Chart_NoData')) ? \"\" : pug_interp) + \"\\u003C\\u002Fdiv\\u003E\";}.call(this,\"i18n\" in locals_for_with?locals_for_with.i18n:typeof i18n!==\"undefined\"?i18n:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;pug_html = pug_html + \"\\u003Cdiv class=\\\"performance-graph__metrics-picker\\\" data-ref=\\\"metrics-picker\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"performance-graph__graph\\\"\\u003E\\u003Cdiv data-ref=\\\"graph\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (model) {pug_html = pug_html + \"\\u003Cdiv class=\\\"popover-paged-content__body\\\"\\u003E\\u003Cdiv class=\\\"popover-content\\\"\\u003E\" + (null == (pug_interp = this.options.pages[model.currentPage-1]) ? \"\" : pug_interp) + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"popover-paged-content__pager\\\"\\u003E\\u003Cdiv data-ref=\\\"pagination\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";}.call(this,\"model\" in locals_for_with?locals_for_with.model:typeof model!==\"undefined\"?model:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (model) {if (model.pageSize > 1) {\nvar gridPrev = (model.currentPage === 1 ? 'grid-previous-disabled' : 'grid-previous')\nvar gridNext = (model.currentPage === model.pageSize ? 'grid-next-disabled' : 'grid-next')\nvar tabindexPrev = (model.currentPage === 1 ? '-1' : '0')\nvar tabindexNext = (model.currentPage === model.pageSize ? '-1' : '0')\npug_html = pug_html + \"\\u003Cdiv class=\\\"spritedimage\\\" id=\\\"gridPopup-Pager-prev\\\"\\u003E\\u003Cspan\" + (pug.attr(\"class\", pug.classes([\"clickable\",gridPrev], [false,true]), false, true)+pug.attr(\"tabindex\", tabindexPrev, true, true)+\" role=\\\"button\\\"\"+pug.attr(\"aria-label\", model.popUpText.prevPage, true, true)) + \"\\u003E\\u003C\\u002Fspan\\u003E\\u003Cspan\" + (\" id=\\\"gridPopup-Pager-cur\\\"\"+pug.attr(\"data-val\", model.currentPage, true, true)) + \"\\u003E\" + (pug.escape(null == (pug_interp = model.currentPage) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003Cspan\\u003E\" + (pug.escape(null == (pug_interp = model.popUpText.pageOf) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003Cspan id=\\\"gridPopup-Pager-tot\\\"\\u003E\" + (pug.escape(null == (pug_interp = model.pageSize) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"spritedimage\\\" id=\\\"gridPopup-Pager-next\\\"\\u003E\\u003Cspan\" + (pug.attr(\"class\", pug.classes([\"clickable\",gridNext], [false,true]), false, true)+pug.attr(\"tabindex\", tabindexNext, true, true)+\" role=\\\"button\\\"\"+pug.attr(\"aria-label\", model.popUpText.nextPage, true, true)) + \"\\u003E\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";\n}}.call(this,\"model\" in locals_for_with?locals_for_with.model:typeof model!==\"undefined\"?model:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (model) {pug_html = pug_html + \"\\u003Cdiv class=\\\"popover-titled-content__title\\\"\\u003E\";\nif (model.title) {\nif (model.title.isView) {\npug_html = pug_html + \"\\u003Cdiv data-ref=\\\"title\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\nelse\nif (model.title.html) {\npug_html = pug_html + (null == (pug_interp = model.title.html) ? \"\" : pug_interp);\n}\nelse {\npug_html = pug_html + \"\\u003Cspan class=\\\"popover-title-content__title-text\\\"\\u003E\" + (pug.escape(null == (pug_interp = model.title) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\";\n}\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"popover-titled-content__body\\\"\\u003E\";\nif (model.body) {\nif (model.body.isView) {\npug_html = pug_html + \"\\u003Cdiv data-ref=\\\"body\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\nelse\nif (model.body.html) {\npug_html = pug_html + (null == (pug_interp = model.body.html) ? \"\" : pug_interp);\n}\nelse {\npug_html = pug_html + \"\\u003Cspan class=\\\"popover-title-content__body-text\\\"\\u003E\" + (pug.escape(null == (pug_interp = model.body) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\";\n}\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\";}.call(this,\"model\" in locals_for_with?locals_for_with.model:typeof model!==\"undefined\"?model:undefined));;return pug_html;};\nmodule.exports = template;","var pug = require(\"!../../../../node_modules/.pnpm/pug@2.0.4/node_modules/pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;;var locals_for_with = (locals || {});(function (model) {pug_html = pug_html + \"\\u003Cdiv class=\\\"popover-view__dismiss close closeimage iconba iconba-Cancel\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003Cdiv class=\\\"popover-view__content\\\"\\u003E\";\nif (model.content.isView) {\npug_html = pug_html + \"\\u003Cdiv data-ref=\\\"content\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\nelse\nif (model.content.html) {\npug_html = pug_html + (null == (pug_interp = model.content.html) ? \"\" : pug_interp);\n}\nelse {\npug_html = pug_html + \"\\u003Cspan class=\\\"popover-view__content-text\\\"\\u003E\" + (pug.escape(null == (pug_interp = model.content) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\";\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\";}.call(this,\"model\" in locals_for_with?locals_for_with.model:typeof model!==\"undefined\"?model:undefined));;return pug_html;};\nmodule.exports = template;"],"names":["map","webpackAsyncContext","req","Promise","resolve","then","__webpack_require__","o","e","Error","code","id","t","keys","Object","module","exports","getSharedColumnConfiguration","appConfig","mockI18n","get","_","getString","type","enum","value","enumMappedString","enumDescription","valueDescription","parseInt","property","i18nCache","i18n","newI18n","legacyGlobalI18n","schemaI18nCampaign","accountsSchema","Account","accountInactiveReasonsSchema","window","globalLegacySchema","appName","featureName","columnsMap","SharedColumnConfiguration","defaultColumns","getLockedColumns","permissions","globalConfig","IsAccountDashboardAlertsColumnAllowed","IsAccountSummaryGridDataActionEnabled","IsCustomColumnsInAccountsSummarySupported","IsCustomerHierarchyEnabled","IsManagementDashboardEnabled","IsAvgPositionDeprecationPhase2Enabled","IsAccountLabelsEnabled","_permissions$dynamic","dynamic","IsColumnConversionEnabled","ColumnConversion","AccountSummaryFilterImprovementEnabled","isOdataActionSource","customColumnsEnabled","odata","ignoreCase","custom","AccountInactiveReasons","contains","concat","doesnotcontain","getFilterOptions","resourceType","filterType","resourceId","entryId","schemaProcessor","schema","properties","fields","field","name","addPoPFields","Reason","enumValues","enumValue","push","chooseType","operators","originalProperty","filterable","memo","prop","odataOptionsProcessor","odataOptions","updateQueryParams","queryParams","labelsColumn","expand","appendExpand","queryparams","select","applyCustomerHierarchyExtrasFilter","appendNewManagementDashboardExtrasFilter","entitySchema","initialQuery","gridDataParameters","initialize","refreshCampaignCache","lastWriteTimeFlag","getConfig","edm","customerIdType","useAdvertiserCustomerId","filterService","entitySet","currentCustomer","Accounts","cloneDeep","filterConfig","getCommonFilterConfig","_objectSpread","sessionStore","preferenceStoreFactory","getFilters","dataContextManager","jsdata","jsdataCampaign","cacheService","state","FilterService","updateEntitySchemaForPilotFeatures","updateEntitySchemaForPartialConversions","updateEntitySchemaForSOV","updateEntitySchemaForRemovedPerformanceMetrics","enableForAudienceSOVFeatures","storageFactory","FilterStorageFactory","storageOptions","editableFilterOptions","quickFilterOptions","getLegacySaved","gridDataParameterDecorator","decorators","lockedColumns","comparisonPoPColumns","ignoreColumns","customerHierarchyColumnsToIgnore","run","isCustomerHierachyRequest","preloadOptions","loadDirectlyLinkedAccounts","getLoadDirectlyLinkedAccountsPreference","dataSource","entity","options","cacheResponse","headers","_defineProperty","useDfmCache","queryBuilder","commonConfig","appState","deps","dateUtil","ColumnChooserPreference","CustomColumnPreference","SegmentationPreference","fetchPaginationConfig","fetchPagination","fetchSortInfo","columnConversions","getColumnsConversionMap","campaignTypeEnum","MTCampaignTypeEnum","Default","Shopping","AudienceVideoAds","DynamicSearchAds","Audience","Hotel","PerformanceMax","campaign","pageContext","CurrentCampaign","types","Number","loadExclusionUrl","campaignId","adgroupId","level","queryify","aid","cid","uid","load","Exclusion","find","adapter","url","bypassCache","saveExtensions","data","arguments","length","undefined","create","preProcess","res","NegativeSitesResult","NegativeIPsResult","$p$CCStatusNotifications","notificationType","BannerAlert","UnifiedQueueAlert","notificationLevelMapping","danger","warning","info","success","notificationDismissibleMapping","p$clientCenterStatusAlerts","getClientCenterStatusAlerts","changingScope","ccStatusNotificationFilter","notification","ActionTriggered","legacy$","ajaxGet","encodeURIComponent","location","href","onSuccess","notifications","ignoreBeforeAjax","hideLoadingPanelOnSuccess","onAjaxError","onAjaxComplete","onJsonError","xhrFields","withCredentials","notificationFilter","alertType","scopeLevel","condition","alert","message","NotificationMessage","NotificationLevel","dismissible","NotificationId","dismissalStorageLocation","convertCCStatusNotificationToAlerts","$root","globalLegacyI18n","AssociationError","_createClass","errorid","helpLinkQuery","customMessage","_classCallCheck","this","levelAtConstant","ADGROUP","errorResource","errorEnum","resource","standardErrorMessage","error","key","appendLearnMoreLink","Model","_backbone$Model","_callSuper","_inherits","idAttribute","config","AdvertiserCustomerID","requestUrl","queries","expands","join","top","noExclusion","isExpandAdGroup","criterionTypes","AdGroupCriterion","isExpandCampaign","CampaignCriterion","_formatUrl","method","model","isValidate","_validate","_fetch","backbone","bidConst","Min","Max","AssociationTypes","Bulk","Aim","Association","CGSkipped","CGNotSupported","CGNotSupportedCustomInMarket","DeliveryChannel","ListConflicting","ExceedMaxLimit","MaxInMarketAudienceExclusionPerAccountLimitReached","NoChosenList","AdGroup","Campaign","ReadOnly","scopeLevelEnum","adgroup","account","PAGE_SIZE","locationFilter","EU_COUNTRIES","fallbackCampaignType","campaignType","hasLocationCriterion","criterions","locationCriterions","c","Criterion","filter","getLocationCriterion","getLocationCriterionByCountryCode","targetedLocationCriterions","indexOf","CountryCode","compact","toUpperCase","uniq","getTargetedLocationCriterion","excludedLocationCriterions","getExcludedLocationCriterion","locationIntentCriterions","IntentOption","getLocationIntentCriterion","locationIntentCriterion","hasEuCountryInLocationCriterion","_getLocationCriterion","countryCode","country","reduce","intersection","getCampaignData","queryText","pageNumber","Permissions","IsSmartShoppingCampaignEnabled","item","query","$select","IsPersonalizedOffersEnabled","$skip","$top","$orderby","$filter","findAll","campaignData","Id","Name","status","Status","CampaignType","CampaignCashback","CampaignSubType","CampaignSettings","BiddingScheme","totalCount","items","transformCampaignData","getCampaignById","params","edmCampaign","currentAccount","Campaigns","queryParameters","$expand","getCampaignLocationCriterionInfo","base","isLocationRestricted","getAdGroupLocationCriterionInfo","adGroupId","ErrorModel","ko_model","errors","ko","showError","subscribe","add","addErrors","clear","clearErrors","clearAll","errObjs","ids","errObj","index","predicate","predicate1","remove","Collection","_backbone$Collection","campaignSubType","biddingScheme","campaignSettings","isAudienceCreationWorkflow","EnableImpressionBasedList","EnableMSANDisplayCampaigns","EnableMSANVideoCampaigns","EnableCustomSegments","EnableKeywordCustomSegments","isDisplayInMSANEnabled","isXandrDisplayAdsCampaign","isVideoInMSANEnabled","isXandrVideoAdsCampaign","shouldServeOnMSAN","campaignShouldServeOnMSAN","isMSANVideoCampaign","isMSANDisplayCampaign","isNonMSANCampaign","isXandrCampaign","isCTVCampaign","Type","allowImpressionBasedList","audiencetype","audienceTypes","Remessaging","IsCustomAudienceAllowed","Custom","IsInMarketAudienceAllowed","InMarket","IsAIMCampaignEnabled","IsProductAudienceForSearchEnabled","Product","IsRemarketingSimilarAudienceAllowed","RemarketingSimilar","IsCustomerListAudienceAllowed","CustomerList","IsCombinedListAudienceAllowed","CombinedList","ImpressionBasedRemarketing","CustomSegment","campaignTypes","audience","deliveryChannel","i18nGlobal","formatter","decimalFormatter","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","formatReachNumber","splitValues","split","ViewModel","_this","isAssocExpanded","isExclExpanded","isBidTypeChanged","isCustomRestrictionDisplayedOnTargeting","isCustomRestrictionDisplayedOnExclusion","isCustomRestrictionNotAcceptedOnTargeting","isCustomRestrictionNotAcceptedOnExclusion","selectedCampaigns","selectedAdgroups","isCampaignLevel","supportCashbackSettings","targetingLinkColor","targetingPointerEvent","targetingLinkTabIndex","exclusionLinkColor","exclusionPointerEvent","exclusionLinkTabIndex","isCustomEnabled","isInMarketEnabled","isRemarketingSimilarEnabled","isAIMCampaignEnabled","isNewAudienceEnabled","IsNewAudienceEnabled","IsCustomerListEnabled","IsCombinedListEnabled","isImpressionBasedListEnabled","isImpressionBasedListForSearchPmaxEnabled","EnableImpressionBasedListForSearchPmax","isKeywordCustomSegmentsEnabled","isMSANBoostEnabled","IsAmplifyEnabled","isHideBidAdjustmentForBoostEnabled","HideBidAdjustmentForBoost","isAudienceTreeViewEnabled","IsAudienceTreeViewEnabled","isIMAReachRepresentationPhase1Enabled","IsIMAReachRepresentationPhase1Enabled","isEnableMSANDisplayCampaignsEnabled","isEnableMSANVideoCampaignsEnabled","showIneligibleAudience","isIMARedesignEnabled","hideCustomSegmentsOption","optionValues","definedvalue","bidTypes","BidOnly","text","topic","helpAriaLabel","replace","TargetAndBid","selectedBidType","customRestrictionAccepted","oldBidType","allAudiences","originalAssociations","disableAction","isBulkEditAssociation","associationType","constants","isAimCampaignAssociation","isNormalAssociation","selectedCategory","audienceType","None","excludeSelectedCategory","isXandrCampaignType","isXandrServing","isPerformanceMaxType","performanceMax","isSearchCampaign","search","isShoppingCampaign","shopping","hideBidAdjustment","setSelectedCategory","templates","sourceHeaderContainerTemplate","bulkEditHeaderTemplate","selectedHeaderContainerTemplate","sourceItemTemplateType","sourceItemContentTemplate","bulkEditListItemTemplateFunc","selectedItemTemplateType","selectedItemContentTemplate","treeItemContentTemplateFunction","bulkEditTreeItemTemplate","layoutTemplate","customizedTemplates","dlbLayoutTemplate","headerTemplate","listItemTemplateFunc","treeItemTemplate","configSettings","paging","strings","emptyMessage","targeting","listDataCallback","processItem","exclusion","supportsXandrCampaign","listDataCallbackOnRemessaging","processAssociationItemOnRemessaging","exclusionListDataCallbackOnRemessaging","processExclusionItemOnRemessaging","IsDomesticSimplifiedChineseEnabled","isFromPerformanceMaxCampaign","emptyMessageAction","prefix","link","suffix","listDataCallbackOnProduct","processAssociationItemOnProduct","exclusionListDataCallbackOnProduct","processExclusionItemOnProduct","emptyMessageClick","onEmptyProductAudienceClick","listDataCallbackOnCustom","processAssociationItemOnCustom","exclusionListDataCallbackOnCustom","processExclusionItemOnCustom","listDataCallbackOnRemarketingSimilar","processAssociationItemOnRemarketingSimilar","exclusionListDataCallbackOnRemarketingSimilar","processExclusionItemOnRemarketingSimilar","treeView","listDataCallbackOnInMarket","processAssociationItemOnInMarket","exclusionListDataCallbackOnInMarket","processExclusionItemOnInMarket","extraOptions","audienceItemOptionsFunction","bind","extraEvents","events","listDataCallbackOnCustomerList","processAssociationItemOnCustomerList","exclusionListDataCallbackOnCustomerList","processExclusionItemOnCustomerList","listDataCallbackOnCombinedList","processAssociationItemOnCombinedList","exclusionListDataCallbackOnCombinedList","processExclusionItemOnCombinedList","listDataCallbackOnImpressionBasedList","processAssociationItemOnImpressionBasedList","exclusionListDataCallbackOnImpressionBasedList","processExclusionItemOnImpressionBasedList","listDataCallbackOnKeywordCustomSegments","processAssociationItemOnKeywordCustomSegments","option","merge","selectedLists","isSelected","sourceItems","selectedItems","filterWatermark","listSize","emptySelectedMessage","selectCategoryLabel","associationAllItems","exclusionAllItems","associationEmpty","exclusionEmpty","configSettingsOptions","isIBRWarningON","exlcusionConfigSettingsOptions","setCampaignType","isShowRemarketingListLinkOnTargeting","isShowImpressedBasedListOnTargeting","isShowRemarketingListLinkOnExclusion","isShowImpressedBasedListOnExclusion","ImpressionsBasedRemarketing","showCustomeSegmentsKeywords","productAudienceConfig","showCreateProductOnTargeting","showCreateProductOnExclusion","showCreateCustomerListOnTargeting","showCreateCustomerListOnExclusion","showCreateCombinedListOnTargeting","showCreateCombinedListOnExclusion","showIneligibleAudienceToggleOnTargeting","isFromAudienceDashboard","isFromIFFunction","showIneligibleAudienceToggleOnExclusion","bidAdjOptions","Value","Text","bidAdjPercentage","selectedAction","bidAdjError","hasBidAdjError","targetSettings","createConfigLoadedMap","checkPercentageBound","max","percentage","settings","_this2","setting","isXandrServingDisplayOrVideo","isPerformanceMaxCampaignType","isSearchCampaignType","isShoppingCampaignType","hotel","shift","exclusionConfigSettings","each","reject","Loaded","rej","category","isActionValid","searchNetworkTitle","InMarketInternalization","SearchNetwork","audienceNetworkTitle","AudienceNetwork","isAudienceCampaign","InternalizationReach","Keys","isInEligible","isInEligibleIMA","selected","isDisabled","disabled","listSizeSearch","listSizeAudience","isAudienceInternalizationAllowedForBulkSearch","isAudienceInternalizationButtonShown","isAudienceInternalizationAllowedForBulkAudience","isAudienceInternalizationAllowedForSingleAdGroup","isAudienceInternalizationHoverPopupAllowed","isAudienceInternalizationHoverPopupAllowedForBulkAudience","audiencesi18n","AudienceCreationPopupView","_AudiencesPopupView","_superPropGet","_ref","usePanel","isNewUI","enabledAudiences","focusElement","once","STATE","shown","onShown","childview","AudienceView","isPopup","viewModel","on","newValue","formStep","formStepMap","AudienceTypeAndTitle","isActionButtonVisible","AudienceDetail","isNextButtonVisible","isCancelButtonVisible","title","footer","popupFooterTemplate","dialogClass","$","html","render","$el","completeAudienceTitleStep","onFinishAudienceDetail","handleEvent","_setCounterRestrictions","saving","saveRemarketingForm","finally","AudiencesPopupView","panelOptions","panelClassName","panelReadyAriaLabel","AudienceAssociationView","_Backbone$View","scope","_ref$campaignType","_ref$campaignSubType","_ref$refreshOnInitial","refreshOnInitialize","_ref$readOnlyMode","readOnlyMode","_ref$associationType","consts","_ref$shouldShowUiBloc","shouldShowUiBlockOnRender","_ref$customizedTempla","_ref$entityLevel","entityLevel","_ref$fromBulkEdit","fromBulkEdit","_ref$isNewUI","_ref$deps","_ref$perfMarker","perfMarker","currentCampaign","_ref$isAudienceCreati","_ref$isFromAudienceDa","_ref$isFromIFFunction","_ref$isFromPerformanc","_ref$isAIMAudienceAss","isAIMAudienceAssociationView","_ref$hideExclusion","hideExclusion","_ref$hideAssociationH","hideAssociationHeader","_ref$isIMARedesignEna","_ref$hideCustomSegmen","dlbTemplate","dlbContainerTemplate","doubleListBoxTemplate","hideExclusionView","willInit","resetCache","currentScope","campaignTypeFetched","isCampaignLevelAudienceTargetingEnabled","isSharedLibraryEnabled","IsSharedLibraryPhase1Enabled","canExpandAssociation","canExpandExclusion","AudienceAssociationModel","shouldSupportCashbackSettings","IsPersonalizedOffersV3Enabled","doubleListBoxViewModel","DoubleListBoxViewModel","_getListFactory","_processItemFactory","processAssociationItemOnKeywordCustomSegmentsList","showAudienceInternalization","hideAudienceInternalizationPopover","CAMPAIGN","errorModel","refreshLists","dlbConfig","_updateDoubleListBox","reloadAudienceForIneligibleData","attachCustomRestrictionListener","detachCustomRestrictionListener","ensureLoadedAsync","done","trigger","removePopup","removePanelForNewUI","removeFallbackPopover","currentAdGroup","CurrentAdGroup","cashbackPercentControlView","CashbackPercentControlView","viewContext","decimal","decimalUtil","empty","append","audiencesData","result","peopleInLocation","extendInternalizationReach","legacyI18n","extendListSizeItem","hideIMAReach","Owner","CurrentCustomer","_this3","forceRefresh","reloadAudiences","locationCriterionsData","fetchAssociationsAsync","fetchAudiences","listsCollection","ListsCollection","Backbone","extend","cachedAudiencesByChannel","fetchAudiencePromise","getLocationCriterionInfo","_ref2","fetch","response","_processAudiencesList","catch","err","_logError","fetchCampaignTypeAsync","_this4","fetchCampaignType","_this5","fetchAssociations","_this$getSelectedEnti","getSelectedEntity","selectedCampaignId","selectedAdgroupId","isAdGroupLevel","targetId","association","Level","selectedAdgroupName","selectedCampaignName","updateCache","fetchPromise","fetchAudiencesAsync","inMarketConfig","refreshList","refreshSource","_this6","resetSelectionListBox","readonlyError","isTargeting","isCustomRestrictionDisplayed","showCustomRestrictionInformation","associationList","exclusionList","targets","_this7","criterion","indexes","target","_this8","snapshot","_this9","saved","willRender","el","showCustomRestrictionError","resetCustomRestrictionError","onCustomAudienceChanged","off","showPanelForNewUI","View","showFallbackPopover","showPopup","cleanup","App","navigate","showPanelForNewCustomSegments","SegmentsSidePanelBackboneWrapper","_this10","fallbackPopover","PopoverView","position","isAbsolute","setContent","contents","TitledContent","setTitle","fallbackTitleTemplate","setBody","fallbackTemplate","addClass","parent","showAudienceInternalizationPopover","preventDefault","stopPropagation","_this11","currentDoubleListBox","selectedAudience","getAttribute","selectedChannel","containerRect","getBoundingClientRect","targetRect","localizedMarkets","getLocalizedMarkets","audienceInternalizationPopover","left","offsetWidth","internalizationTemplate","setAttribute","audienceId","relatedTarget","closest","TypeError","hideAssociation","cb","_this12","fetchAudienceTask","withUiBlock","filtered","_filterLists","total","_processAssociationsList","errorHandler","ajaxError","logger","logMessage","LOGCATEGORY","TRACE","LOGLEVEL","INFO","JSON","stringify","call","lists","lowerCaseOfFilterText","filterText","toLowerCase","hideIneligibleAudience","HasCustomerListOrCustomAudience","slice","skip","take","allitems","currentAssociations","_updateBidType","cache","selectedAudiences","_filterAssociations","_getCache","cachedIds","_this13","associationStatusType","Excluded","AudienceId","newBidType","pluck","unique","first","OtherAllItems","otherSelectedItems","currentSelectItems","currentBox","selectedIds","disableItem","enableItem","configSetting","_getList","_this14","_getListByConfig","_processItem","_this15","_processItemByConfig","createProductAudience","popup","_this16","closeCreateAudienceDialog","show","associations","param","_this17","Panel","panelDecorator","panel","eventsToActions","event","action","onClose","currentTarget","className","_this18","onSave","values","isOpen","hide","targetingAssociations","_this$getLists","getLists","associationListIds","exclusionListIds","sum","num","getAdgroupData","nameQueryText","customizedFilter","parentCampaignId","$count","$withKey","AdGroups","toJSON","adgroupData","medium","Medium","language","Language","campaignName","AdGroupCashback","transformAdgroupData","AdgroupSelectorProxy","_ref$onAdGroupSelect","onAdGroupSelect","_ref$getCustomizedCam","getCustomizedCampaignData","_ref$getCustomizedAdG","getCustomizedAdGroupData","_ref$parentCampaignId","_ref$customizedAdGrou","customizedAdGroupFilter","adgroupSelectorView","_ref2$query","_ref2$pageNumber","uiBlockContainer","pageSize","_ref3","_ref3$query","_ref3$pageNumber","_ref3$scopeParentItem","scopeParentItem","selectedCampaign","selectedAdGroup","CampaignAdgroupSelectorView","onFetch","args","fecthCampaignData","fecthAdgroupData","selectedItem","currentLevel","isLevelSelectable","adgroupFilter","filterPredicate","_filterToString","onSelectedEntityChange","onSelectedLevelChange","isAudienceEditMode","preselectedCampaign","preselectedAdgroup","template","showHelp","helpContent","helpId","isAtCampaignLevel","isAtAdgroupLevel","isCampaignSelectable","isAdGroupSelectable","_getPreselectedCampaignName","adgroupCaption","adgroupName","_getPreselectedAdGroupName","_initializeLevelSelector","_initializeAdGroupSelector","_initializeCampaignSelector","entityLevelSelector","selectItemById","newLevel","newEntity","_getCampaignNameById","_getAdGroupNameById","filters","preds","pred","operand","operator","levelContent","menuItemId","DropdownView","dropDownOptions","onDropDownChanged","onEntityLevelChanged","adgroupSelectorProxy","onSelectedEntityChanged","checkSelected","selectedItemId","itemId","adgroupSelector","getAdgroupSelectorView","campaignSelectorProxy","CampaignSelectorProxy","onEventTrigger","getCustomizedData","campaignSelector","getCampaignSelectorView","SubType","AdvertiserDefined","AllVisitor","AllConverter","RemarketingSmartAudience","TestSegment","audienceTypesOptions","audienceTypeToString","description","helpLink","label","visible","AudienceTypeSelectorViewModel","_ref$editMode","editMode","_ref$type","_ref$enabledAudiences","_ref$disabledAudience","disabledAudiences","selectedOption","typeError","findIndex","enabled","getSelectedItem","AudienceTypeSelectorView","_BaseView","onSelectedItemUpdated","saveClicked","setElement","audienceTypeSelectorTemplate","validate","BaseView","AudienceI18n","CombinedListAudiencePanelView","_ref$isEditMode","isEditMode","_ref$isPopup","_ref$isReadonly","isReadonly","_ref$attachPoint","attachPoint","_ref$newI18n","_ref$instrumentationS","instrumentationSvc","_ref$instrumentConsts","instrumentConsts","isError","Api","Message","ERROR","detailPanel","edmScope","routerUtil","isAccountScope","advertiserCustomerId","getAdvertiserCustomerId","PageContext","entities","getEdmEntities","AudienceAssociationRepository","jsData","CurrentAccount","mtAudienceSets","view","serialize","IsAudienceListSizeEnabled","Audiences","RemessagingAudiences","AudienceTypes","activate","validateCombinedList","errorCode","backFillMTResponse","permittedAudienceTypes","getPermittedAudienceTypes","props","loadAudiencesAsync","getAudiencesByType","audiences","AudienceAssociationUtils","filterOutSharedAudiences","ref","ReactDOM","React","CombinedListDetail","azureUpload","CustomerListAudiencePanelView","customerListAudiencePanelViewLoader","ImpressionBasedList","_React$PureComponent","validateImpressionBasedList","selectedLevelRef","current","selectedCampaignRef","selectedAdgroupRef","isDataLoaded","CampaignId","attributes","AdGroupId","EntityType","selectedEntity","selectedLevel","testRef","campaignObj","paramsAdgroup","adgroupObj","setState","updateViewModelWithNewEntitySelected","helpContentString","_jsx","_Fragment","children","BackboneViewWrapper","ScopeEntitySelectorView","defaultProps","ImpressionBasedListPanelView","_ref$model","entitySelectionPanel","hidden","close","hasError","content","_ref$footer","audiencesPopupFooterTemplate","_ref$dialogClose","dialogClose","audiencesPopupTemplate","is","modal","focus","handleAction","payload","stopImmediatePropagation","forceClose","audiencesStatusPopupView","a11yIdPrefix","_item$AudienceCriteri","AudienceCriterion","AudienceType","positions","relativeToTableRow","marginBottom","height","audienceStatusPopoverTemplate","a11yId","Title","ProductAudienceTypes","productAudienceTypes","duration","isNumber","isNaN","parseFloat","isFinite","isDecimal","toString","validNumber","validDecimal","isValidInteger","min","validRawInteger","character","ProductAudienceCreationViewModel","_ref$createAll","createAll","productTypeError","getProductAudienceTypes","ActionType","MembershipDuration","validateAll","validateSelected","validDuration","validateDuration","valid","durationErrorString","mapObject","defaultDuration","durationError","toArray","createAudience","Description","audienceStatus","Active","IsAccountLevel","ProductAudienceCreationView","productAudiencesCreationTemplate","save","Scopes","SharedLibraryUtils","fetchUserPermissions","hasChildCustomers","isLinkedAccount","isSuperAdmin","AudienceSharingScopeView","audienceModel","$blocker","_ref$isScopeEditDisab","isScopeEditDisabled","customerService","ClientCenterCustomerService","ccBaseUrl","currentUser","parentCustomerId","ParentCustomerId","windowNameStorage","Storage","loginCID","IsInternal","isScopeEditDisabledCallback","SharingScope","Customers","Others","Total","customerServicePromise","getCustomerHierarchy","returnOnlyDirectlyLinkedEntities","customerHierarchy","customerHierarchyEntities","currentCustomerId","generateAvailableOptions","audienceSharingView","_this$audienceSharing","getSharingScope","treeSelection","ACCOUNT","HIERARCHY","CUSTOMER","tag","_this$audienceModel","matchResult","exec","hash","showAccountScope","showHierarchyScope","_ref4","_slicedToArray","customerIdFromUrl","accountIdFromUrl","cidResult","aidResult","isLinked","shouldDisableEdit","scopeOptions","IsMultiAccountLevelAudiencesEnabled","AccountInfo","number","popoverId","accountInfo","ShortName","AccountNumber","AudienceSharingView","audienceEntity","tagEntity","UetTagSelectorViewModel","eventAggregator","showManageTagLink","dataOptions","tags","tagSelectedItem","tagName","tagNameRemainCharacters","count","tagDescription","tagDescriptionRemainCharacters","showTagCreate","tagsCaption","tagNamePlaceholder","tagDescriptionPlaceholder","errorTag","errorTagStr","errorTagName","errorTagNameStr","serverErrorTagName","serverErrorTagNameStr","errorTagDescription","errorTagDescriptionStr","serverErrorTagDescription","serverErrorTagDescriptionStr","newItem","setCreateOptionColor","style","color","isSystemGeneratedList","fetchTags","saveTag","tagId","sortFunc","selectFirst","subType","createTag","TagModel","tagsCollection","TagsCollection","val","patch","tagModel","tagIsValid","htmlTags","RegExp","tagNameValid","match","tagDescriptionValid","getAudienceErrorMessage","TagId","UetTagSelectorView","initializeInstrumentation","scenarios","createOrManageAudience","instrumentation","activities","clickOnManageTagLink","loadUETTagsList","monitor","dialog","uetTagSelectorTemplate","TagDialog","updateTags","onTagChanged","showUetPanelForNewUI","handleServerError","UetPanel","removeModalBackDropForNewUI","scriptRegex","UetTagHelpViewModel","_ref$isProductAudienc","isProductAudience","_ref$isCustomEvent","isCustomEvent","_ref$enableAutoSpaTra","enableAutoSpaTracking","customHelpVisible","productHelpVisible","tagScript","defaultTagVisible","TrackingCode","_ref2$Name","scriptMatches","_ref3$isProductAudien","_ref3$isCustomEvent","UetTagHelpView","UetAutoSpaTracking","uetTagHelpTemplate","updateTag","_ref2$isProductAudien","_ref2$isCustomEvent","updateAudienceType","prompt","getTagText","subject","mailto","getEmailDownloadBody","download","downloadify","defaultBidByCurrency","USD","SGD","EUR","CAD","GBP","INR","CHF","DKK","NOK","SEK","ARS","CLP","COP","MXN","PEN","TWD","MYR","PHP","VND","THB","IDR","HKD","BRL","AUD","NZD","CNY","DZD","EGP","LBP","MAD","QAR","SAR","JPY","PLN","TRY","defaultMSStoreBidsMap","ZAR","AED","ILS","NGN","defaultBidByConfig","configKey","currencyCode","basicValue","configValue","defaultBid","defaultBidForShoppingCampaign","defaultMSStoreMinSuggestionBid","Infinity","defaultMSStoreSuggestionBid","bid","CampaignCacheManager","store","contextManager","getTTL","definition","endDate","putil","getEndDate","dateString","today","dateUtils","date","accountTimeZoneNow","Date","toDateString","isToday","ColumnProperties","format","subPropertyName","parentMetric","SalesCount","AverageCPS","Installs","CostPerInstall","RevenuePerInstall","AdvertiserReportedRevenueAdjustment","ViewThroughConversionsRevenueAdjustment","AllConversionAdvertiserReportedRevenueAdjustment","cpmColumns","ColumnConversionEnabledFeatures","ConversionValueRulesEnabledFeatures","_config$get","IsViewThroughConversionEnabled","IsViewThroughConversionsRevenueEnabled","_config$get$dynamic","IsPartialConversionsEnabled","PartialConversions","IsConvValueRulesEnabled","ConvValueRules","isNewCustomerAquisitionEnabled","NewCustomerAcquisition","IsCampaignLifetimeBudgetEnabled","CampaignLifetimeBudget","generateConversionColumns","rawConversionColumns","usePartialConversions","_toConsumableArray","phoneColumns","generateBaseBIColumns","columnNameArray","columnName","columnProperty","propertyName","generateBaseBIColumn","getColumnNames","columnList","column","impressionColumns","videoMetricColumns","appMetricColumns","CPSColumns","InstallColumns","campaignStatusIconBaseColumn","cfg","IsExperimentsEnabled","nameBaseColumn","IsBAACompetitionBSCAuctionInsightsEnabled","IsRSAAdCustomizerEnabled","budgetBaseColumn","IsExperimentsOpenBetaEnabled","deliveryStatusBaseColumn","AutoBiddingStrategies","CampaignTypeBaseColumn","BidStrategyBaseColumn","CashbackBudgetColumn","CashbackPercentColumn","CashbackScopeColumn","CouponColumn","BidStrategyNameColumn","BidStrategyTargetROASColumn","BidStrategyTargetCPAColumn","BidStrategyTargetImpressionShareColumn","CampaignIdBaseColumn","QualityScoreBaseColumn","CampaignLanguagesBaseColumn","LabelsBaseColumn","RSAAdCustomizerAttributesColumn","OptimizationScoreColumn","PerformanceInsightsColumn","StartDateColumn","EndDateColumn","getListOfRawBIColumns","baseBIColumns","Array","prototype","apply","IsCallMeteringAllowed","IsAudienceSOVEnabled","IsVideoAdsPerfMetricsEnabled","getListOfBaseColumns","columnsForGrid","columnsWithFluctuationInsights","getColumnsMap","getBaseColumnsByType","defaultBiColumns","selectedColumns","IsEnhancedShoppingCampaignAllowed","IsDynamicSearchAdsV1Enabled","IsOptimizationScoreInCampaignsGridEnabled","IsPerformanceInsightsEnabled","MonthlyBudgetRangePerCurrency","VEF","minDailyBudgetRangePerCurrency","maxDailyBudgetRangePerCurrency","defaultDailyBudgetPerCurrency","MinXandrDailyBudgetRangePerCurrency","LinkedInBudgetRangePerCurrency","getBudgetRange","currency","Monthly","Daily","usdDefault","basicDefaultValue","defaultValue","Lifetime","getBudgetRangeOld","_getBudgetRange","_getBudgetRange$Month","monthlyMin","monthlyMax","_getBudgetRange$Daily","dailyMin","dailyMax","_getBudgetRange$Lifet","lifetimeMin","DailyRange","CeilingValue","FloorValue","MonthlyRange","LifetimeRange","createFilterStore","entityType","filterStoreType","_getEntityInfo","entityInfo","entitySchemaName","getEntityInfo","filterEntityOptions","createEditableFilterStorage","projectName","entitySchemaMapping","legacyPreferenceNameMapping","LegacyFiltersPreferenceAdapter","_PreferencesSubadapte","gridName","where","grid","legacyGridFlagQuery","project","LegacyGridFlag","flags","flag","isFilterMigrated","flagInfo","isUserFilterMigrated","isUserPreferenceFilterMigrated","legacyGridName","legacyPreferenceStore","preferenceQuery","existingFilters","legacyPreferenceFilters","update","existingFilterNames","legacyFiltersWithUniqueName","filterUnderNewKeyExistsWithSameName","updatedFilters","legacyPreferenceName","PreferencesSubadapter","audienceCampaignPageContext","CurrentCustomerId","DependencyResolver","set","bingadsGridColumn","evaluateAdCustomizers","fieldText","evaluators","evaluateKeywordRules","evaluateAdCustomizerFeedRules","evaluateCountdownRules","IsKeywordDefaultEnabled","IsAdCustomizerEnabled","pipeNextEvaluator","previewPromise","currentPosition","getCharCountExcludingAdCustomizers","processedText","countdownCharCount","rule","parseCountdownRule","languageParseMode","ForCharacterCount","maxLength","source","adCustomizerRuleLength","evaluateAdCustomizer","evaluateText","parseAdCustomizerFeedsRuleForSpecialChracter","defaultText","displayLength","parse","finalUrl","extaInvalidDomainReplacement","extaPath1Placeholder","extaPath2Placeholder","getDisplayUrl","domain","path","getCombinedPath","path1","path2","getFinalUrlDomain","safeFinalUrl","getDomain","parseFinalUrl","getExpandedTextAdDisplayUrl","displayUrl","usePathPlaceholders","safeDisplayUrl","IsVanityUrlEnabled","safePath1","safePath2","getDynamicSearchAdDisplayUrl","getPath1AndPath2","matches","trim","URI","urijs","newUrl","test","hostname","i18nDummy","I18nModel","failFast","loadCLDRData","locale","cldrLocale","getCldrLocale","default","loadTranslationData","ADCUSTOMIZER_HELPER_PROPERTY_NAME","defaultCountdownDays","keysForCountDown","i18nAdCustomizers","countdownEvalTaskChain","countdownRuleSyntax","countdownRuleWithAdCustomizerSyntax","translateDays","days","formatUnit","startIndex","parseMode","cursorIndex","input","substring","tokens","getLanguage","time","includeAdCustomizerFeed","feed","attributeWithOthers","getDefaultLanguage","parseCountdownRuleUsingAdCustomizerFeedSyntax","queueSubstitution","lang","currentLanguage","translation","setLocale","searchStartIndex","ForPreview","getLocale","keywordRuleSyntax","keywordReplaceSyntax","adCustomizerFeedNameSyntaxWithSpecialCharacter","adCustomizerFeedAttributeSyntaxWithSpecialCharacter","adCustomizerFeedDefaultTextSyntaxWithSpecialCharacter","isItemSelected","nameTokens","ori","attribute","specificFeedName","specificAttributeName","attributeTokens","removeEscapedStringFromAttribute","defaultTextToken","getAdCustomizerFeedsEditorProperties","needFullRule","lastIndexOf","lowerCaseInput","toLocaleLowerCase","ck","fetchAndShow","withLastPromise","promiseFactory","queryFeedsByName","finish","feeds","isCountDownRule","countDownRule","endIndex","parsers","inclusive","parser","isValid","queryFeedAttributeSampleValue","sample","pickerKeywordInsert","pickerCountdownInsert","nDaysAfterToday","pickerCountdownInsertCursorPosition","allPickerItems","shouldShow","insert","cursorPosition","pickerAdCustomizerInsert","originalWithUiBlock","getAllFeeds","uiBlock","jsDataCampaign","Feed","limit","returnResult","Attributes","AttributeNames","cloneFeed","orignalFeed","namePrefix","useExactMatch","allFeeds","originalFeeds","feedNameToUse","feedName","attributeName","_feeds$","attributeNameToUse","Feeds","FeedItems","FeedItem","feedItems","firstItemHasAttributeValue","feedItem","AttributeValues","IsNewAdsAdCustomizerEditorEnabled","IsIfFunctionMilestone1Enabled","IsDisclaimerAdsEnabled","withNewAdCustomizerEditor","newEvaluateAdCustomizers","countdownI18nDummy","legacyEvaluateAdCustomizers","combineText","textPart1","textPart2","adViewModel","self","placeHolders","placeholders","IsExpandedTextAdV2Enabled","fieldName","createField","ParsedText","disclaimerInfo","DisclaimerLayout","LineText","rawTextPart2","ParsedTextPart2","titlePart1","ParsedTitlePart1","titlePart2","ParsedTitlePart2","rawTitlePart3","ParsedTitlePart3","titlePart3","TitlePart1","TitlePart2","TitlePart3","DisplayUrl","FinalUrls","ParsedPath1","ParsedPath2","DestinationUrl","ShowDisclaimer","IsDisclaimerPopupHintVisible","DisclaimerFinalUrl","IsAdditionalLineLayout","IsPopupLayout","DisclaimerPopHint","DisclaimerPopupText","PopupText","dependency","campaignSelectorView","CampaignSelectorView","ariaLabel","searchBoxAriaLabel","getAuctionInsightDataService","addScenario","instrumentationSchema","currentScenario","loadGeneralInsights","currentActivity","AuctionInsightService","odataPath","CAMPAIGN_TYPES","getDataSource","dataService","existingDataSource","DataSourceStore","GENERAL_INSIGHTS_DATA_TYPES","Tile","queryBuilderConfig","GeneralInsightsSegmentationDecorator","QueryBuilderFactory","make","connect","getScope","CAMPAIGN_TYPES_ENUM_VALUE","Search","customerId","accountId","token","levelAt","entityIds","getAuctionInsightDataSource","dataType","clearCache","tileDeps","sessionStorage","humanizeDate","preferenceService","getSegPreference","setSegType","getSegType","tileModule","competitionTile","CompetitionGraph","_DeterministicView","renderInSync","getChild","getLocalizedMetrics","refreshDataAsync","_ref$metric","metric","_ref$tileSize","tileSize","updateState","chartType","saveDomainFilter","CompetitionTileView","parentScenario","isForVNext","preexecuteFlag","DeterministicView","LAYOUT_SIZE","TILE_SIZE","CompetitionCard","_BaseCard","onClickLink","dateRange","navigationLevel","_ref$preexecuteFlag","removed","actionButtonText","emptyText","hasData","dataFetched","legacyRouter","competitionGraph","helpers","ensureChildView","selectedMenuItem","willFetchData","listenTo","changeEvents","updateDateRange","menuItems","getState","onResize","reLayout","currentLayoutSize","willRenderWithData","renderedWithData","navigateToRoute","campaign_id","getAllMetrics","displayText","preset","menuItem","outerWidth","_reLayout","newLayoutSize","getLayoutSize","getDomainSelector","removeClass","BaseCard","defaultMetrics","metrics","AccountsMode","Expert","applyPartialConversionColumnName","ensureChild","_this$options$switchA","switchAmong","Constructor","SwitcherView","$current","child","updateView","getAccountIANATimeZone","_bingads_webui_component_legacy_timezonemapper_index","formatTickValue","tickValue","tickInterval","interval","Math","abs","formatMetric","floor","granularityOptions","Hour","datetime","Day","skeleton","Week","Month","Quarter","formatDate","timestamp","granularity","formattedDate","timeZone","mismatches","Spend","CTR","dateParser","raw","parseAPIDate","substr","symbols","s$i18n","transformPoints","points","DateTime","highchartsPoints","point","getTime","highchartsSeries","series","colors","symbol","_$find","MetricName","coerceMetric","PrimaryDataPoints","ComparisonDataPoints","marker","fillColor","original","lineColor","lineWidth","radius","isOriginal","dashStyle","isComparison","comparative","xAxis","selectedMetricIndexes","period","performanceTimeSeries","seriesWithDate","firstItem","isPopOn","compared","seriesAlignedForComparison","_ref5","originalPrimaryDataPoints","originalComparisonDataPoints","_ref6","_ref7","shorterPoints","longerPoints","i","diff","setDate","getDate","chartSeries","metricIndex","allColors","yAxis","formatPoint","y","formatTooltip","hideCurrency","originalPoints","comparativePoints","tooltip","tooltipTemplateVNext","originalPointsTooltip","formatOption","comparativePointsTooltip","movingAverage","havePop","formatXAxisLabel","isFirst","isLast","chart","axis","clsModifier","line","getLabel","userOptions","labelTemplate","cls","tickPositioner","dataMin","dataMax","redraw","redrawInternal","hideYAxisLabels","labels","gridLineStyle","gridLineDashStyle","gridLineColor","tickPixelInterval","borderWidth","outside","graph","ChartView","showWeekend","highchartsOptions","endOnTick","useHTML","showFirstLabel","showLastLabel","startOnTick","reserveSpace","crosshairs","fontFamily","onMounted","schedule","requestAnimationFrame","Graph","_ref4$onMounted","reflow","NoDataGraph","hasErrorGraph","fetchMockPerformanceTimeSeries","patchOption","primaryMetric","secondaryMetric","PerformanceGraph","_ref$template","defaultTemplate","MetricsPicker","getCardsConfig","fetchSingleTile","accountsMode","typeId","switcher","Switcher","noData","NoData","HasError","_ref2$movingAverage","_ref2$period","_ref2$filter","passedInGranularity","allAvailableGranularities","availableGranularities","metricsPicker","pick","granularityDidUpdate","newGranularity","isMovingAverageOnDidUpdate","isMovingAverageOn","switchTo","unblock","document","documentElement","fetchPerformanceTimeSeries","dfmCacheKey","isComparisonDataMissing","isPerformanceTimeSeriesAvailable","metricsPickerState","allMetrics","currentMetric","performanceMetric","performanceMetrics","availableMetrics","updateData","_this$getState","fetchAggregatedData","extraFilter","AccountsHaveDifferentCurrencies","getFilteredTotalsMetrics","ensureChildren","String","Metric","leftAlign","metricFormatter","buttonTemplateParams","_this3$getState","originalMetric","newMetrics","sort","a","b","_ref2$fetchSingleTile","_ref2$preexecuteFlag","availableDefaultMetrics","updateDataFunc","convertPreference","allSelectedMetrics","union","performanceGraph","PerformanceCard","sharedOptions","_ref3$fetchSingleTile","_ref3$preexecuteFlag","initPerfMarker","patchedMetrics","patchMetrics","convertedMetrics","metricsUpdated","metricsPickerOptions","reflowCHart","resizeObserver","ResizeObserver","ResizeObserverPollyFill","observe","isCustomerLevel","unobserve","RECOMMENDATION_SUMMARY_TOP_NUMBER","p$Opportunities","fetchTips","Tip","scenario","activity","fetchMCCOverviewRecommendations","multiAccountRecommendationParameters","RecommendationTypes","getRecommendationIds","CHANNEL_TYPES","MCCOVERVIEW","$call","elementType","shortName","fetchRecommendations","ccJsData","featureInstrumentation","loadRecommendationTile","opportunities","RecommendationService","lcid","CultureLcid","channel","OVERVIEW","getSummary","ignoreCoupons","clearRecommendationsCache","FAC_FEATUREID_TIPID_PRIORITY_MAPPING","FAC_FEATURE_ID","GOOGLE_IMPORT","CONVERSION_TRACKING","FAC_TIPID_FEATUREID_MAPPING","mapping","priorities","featureId","tipId","CouponFlyoutView","coupon","flyoutTemplateView","_bingads_webui_component_legacy_legacy_router_index","logApi","logAdInsightOppTracking","oppt","isClick","isMCC","opportunityType","guid","opportunityTypeId","logSlideDisplay","reason","activeItems","currentSlide","willDisplayImportRelatedtips","tips","tip","isImportRelatedTip","getRecommendationCounts","tipsCount","recommendationsToShow","recommendationsCount","recommendations","setUpCarousel","_getRecommendationCou","allItems","importTipsPriorityEnabled","otherThanImportTips","importTips","numberOfRecommendations","loaded","handleCouponsforTips","p$Coupons","coupons","rawCoupon","formatCoupon","CurrencyCode","couponFeatureId","FeatureId","tipPriorities","couponEligibleTip","sortBy","handleCouponsThenSetUpCarousel","fetchCoupons","loadOpportunitiesData","opportunitiesData","categories","RECOMMENDATION_CATEGORIES_IDS","normalize","accoutRecommIdsToShow","recommendation","overallOptimizationScoreBar","OverallOptimizationScoreBar","willDisplayAccountRecommendation","isEmpty","showTip","tipName","helpType","market","CurrentUser","Market","tipNames","calloutsMktg","calloutsHelp","dsa","autoBidHelp","autoBidMktg","importHelp","importVideo","RECOMMENDATION_TYPES","broadMatchVideo","BROAD_MATCH_MODIFIER_KEYWORD","CALLOUT","DYNAMIC_SEARCH_ADS","AUTOBIDDING_ENHANCEDCPC","AUTOBIDDING_MAXCLICKS","AUTOBIDDING_MAXCONVERSIONS","AUTOBIDDING_TARGETCPA","broadMatchHelp","BROAD_MATCH_KEYWORD","sitelinksMktg","sitelinksHelp","SITE_LINK","ScheduledImportHelp","GOOGLE_IMPORT_SCHEDULED","loadTipsData","TipId","tipConfig","tipsConfig","shuffle","loadTipAndOpportunities","p$Tips","blockCard","unblockCard","tipList","getRecommendationsData","loadOpportunities","Recommendations","stack","TipsCard","_ref4$preexecuteFlag","consultationLink","getLocalizedSupportLink","generateGuid","GetJsDataInfo","cidFetcher","uidFetcher","willSupportCors","CCBaseUrl","jsDataCcRest","IsImportTipsPriorityEnabled","isOptimizationScoreOn","OptimizationScore","viewRecommendation","loadOpportunitiesFunc","dismissCard","clickCard","clickOpportunity","clickOpportunityLearnMore","_ref5$type","_ref5$position","_ref5$input","_ref5$context","context","api","ADINSIGHT_LOG_API_NAME","RECOMMENDATION","trace","RECOMMENDATION_IDS","getChannel","_loop","cardIndex","cardData","summaryCardModel","getSummaryCardModel","errI18n","i18nErrors","AccountCurrencyCode","adDisplayUrlService","summaryCardOptions","opportunityCount","optimizationScore","version","isInlineView","preferencesService","locationMap","applyAllCallback","isOverviewPage","logOpportunityEvent","viewDetails","recommendationReactCard","DeterministicViewForBackBoneView","SummaryCard","recommendationReactCardFooter","SummaryFooter","setChild","setupShowFlyout","dismissEvent","$flag","windowWidth","innerWidth","isFlyoutOnRight","offset","width","couponItem","rawData","dismissCalled","handleDismissedBeforePopupLoad","one","FixedPositionLocation","bottomRightCorner","bottomLeftCorner","positioningMethod","PositioningMethod","fixed","positioningOptions","contentView","container","anchor","resolveOnceRendered","classes","positioningClass","popover","activeElement","hasClass","itemIndex","itemCount","updateFooterItemVisibility","selector","activeButtonClass","inactiveButtonClass","splice","getTopItems","evt","removeTipLocally","expirationTime","DismissalExpirationDateTime","afterUpdate","$target","currentTip","WalkMeAPI","startWalkthruById","walkme","siblings","click","loadRecommendationOverviewTile","clearCouponsCache","bubbleColorForVNext","layoutSize","allMetricsUnderPermissions","defaultMetric","setupScrollBarCover","containerWidth","gridWidth","scrollBarWidth","scrollBarHeight","css","updateScrollBarCover","$scroller","scrollTop","navigateToLocationSetting","viewRecommendations","getPushPinIcon","fillOpacity","strokeColor","toggleView","showList","createPushpinOptions","locationInfos","locationInfo","htmlContent","svg","toolTipHtmlContent","showHoverToolTip","svgHighlight","x","roundClickableArea","updateMetricPicker","metricPickerChild","loadErrorMsg","_ref3$tooMuchData","tooMuchData","setLocationInfo","locationData","maxValue","formattedValue","metricName","Latitude","latitude","Longitude","longitude","start","end","bingMap","addCustomPushPins","filterLocationData","loadUpperGranularity","cityLocationData","countyLocationData","stateOrProvinceLocationData","countryLocationData","locationGranularity","stateOrProvince","county","city","loadLocationData","removeCustomPushPins","_fetchAll","fetchCountry","fetchCountryData","fetchStateOrProvince","fetchStateOrProvinceData","fetchCounty","fetchCountyData","fetchCity","fetchCityData","fetchPostalCode","fetchPostalCodeData","fetchAll","countryData","Code","CountryLatitude","CountryLongitude","isUSandCanada","stateOrProvinceData","countyData","cityData","postalCodeData","postalCodeLocationData","postalCode","getLocationInfo","enterDataRow","updateCustomPushPin","icon","leaveDataRow","zoomInMap","zoomInLocationGroup","setZoom","TopLocationsCard","initialState","patchMetric","MetricPicker","buttonTemplate","metricPickerButtonTemplate","_ref8","newMetric","extraMapOptions","enableClickableLogo","showZoomButtons","allowInfoboxOverflow","showScalebar","BingMap","mapContent","mapTemplate","recommendationMsg","mapContainer","_this$getState8","p$CouponStatus","getCouponStatus","userId","urlParams","azure","rewriteUrl","getPaymentLink","paymentUrl","azureUrlRewrite","urlParam","showTaxForm","getCouponLink","getCreateCampaignDesc","_ref$withCoupon","withCoupon","linkText","linkContent","importLink","getWelcomeTitle","FirstName","getAllSetTitle","loadData","showWelcomeMsg","createdCampaign","hasPaymentPermission","hasValidPaymentMethod","hasCoupon","paymentImgClass","_ref2$showWelcomeMsg","_ref2$hasPaymentPermi","_ref2$hasCoupon","_ref2$createdCampaign","_ref2$hasValidPayment","paymentTipName","isPaymentFirstTile","imgClass","button","actionLink","analyticsid","descriptionLinkContent","disableButton","newTab","coachingLink","welcomeTipsConfig","renderTrunk","loadWelcomeTips","p$Alert","p$Coupon","skippedBothAtAccountCreation","skippedNoneAtAccountCreation","alerts","paymentAlert","skippedNoneInFirstLoad","Redemptions","redeemedCoupons","redeemed","StatusId","AssociatedCoupon","ExpiryDateFromAssociation","expirationDate","WelcomeTipsCard","getClientCenterAlerts","scopes","clickWelcomeAction","clickDescriptionLink","currentTile","startFlowById","tourLink","shiftKey","metaKey","ctrlKey","DateFilter","p$DateRange","completionCallback","cardCount","couponFetchSource","fetchGridTileData","gridDataSource","p$State","fetchGridData","fetchOverviewTilesData","getViewportCardCount","DateFilterState","CardState","_ref8$newCardsConfig","newCardsConfig","_ref8$welcomeCardsCon","welcomeCardsConfig","cardState","preferences","instrumentationSettings","isPrefetch","viewportCardCount","cards","isMccLevel","viewPortCards","isKeywordInViewPort","card","isSearchTermInViewPort","tipsAndOpportunitiesDataFetchModuleIndex","gridDataFetchModuleIndex","performanceDataFetchModuleIndex","auctionInsightDataFetchModuleIndex","couponDataModuleIndex","needsTipsAndOpportunitiesData","needsGridData","needsCouponData","needsPerformanceData","needsAuctionInsightData","modulePromises","dataFetchModules","p$fetchPerformanceTileData","performanceDataSource","fetchPerformanceTileData","_data","p$PerformanceAggregatedData","p$PerformanceTimeSeries","setDFMCache","tipsAndOpportunitiesDataSource","fetchTipAndOpportunities","p$ConversionTracking","fetchConversionTracking","fetchConversionTrackingData","p$TopCampaigns","p$TopChangesCampaign","fetchTopChanges","fetchTopChangesTileData","p$TopAccountKeyword","Keywords","p$TopAccountSearchTerms","SearchTerms","p$Device","fetchDeviceTileData","auctionInsightDataSource","cardId","p$CompetitionTile","withDFMCache","fetchCompetitionTileData","fetchPmaxOverviewTabData","serverContext","currentCustomerID","URLSearchParams","getCampaignStatus","setDFMGetBillingStatus","areasToFetch","getAreasForCampaignType","CampaignTypes","Areas","Billing","setDFMGetCampaignDiagnostics","timeZoneId","adInsightBaseUrl","Token","areas","withNewApi","useNewConversionDiagnostics","getPromise","cardPreference","findByNameAtUserLevel","METRIC_OPTIONS","includes","findByName","cardPreferences","fetchTopLocationsTileData","root","extendedFilter","fetchWelcomeTipData","moduleName","loadMap","isMapLoaded","Microsoft","Maps","Color","loadModule","attempts","checkMapLoaded","userRegion","getAccount","BusinessAddress","Country","script","createElement","async","src","CurrentLocale","onload","onerror","node","getElementsByTagName","parentNode","insertBefore","injectScript","namespace","createEdm","schemas","skipSchemaParse","registerAdapter","BulkAdapter","EchoAdapter","LegacyAdapter","jsdataExtension","CallableType","returnTypeName","report","Property","typeName","collectionType","addProperties","callablesExtension","CustomerIdType","defineConstProperty","collection","currentSubAccount","dependencies","defineComputedProperty","resources","_edmHotelCenter","Intermediate","fluxDispatcher","testTypeSuffix","IsUseImportTestTypeForImportTaskExecutionEnabled","fileImportType","googleImportType","multiAccountGoogleImportType","getGoogleImportInfoFromCookie","importCookie","cookie","cookieText","safeJson","accountIdKey","subCookieValue","_len","keysInSubCookie","_key","keyInSubCookie","getValueInSubImportCookieByAccountId","googleSessionId","googleAccountName","prepareAdWordsImportContext","googleCustomerId","campaignIds","initialAdWordsAccount","loginCustomerId","sessionType","googleEntitiesBlobName","sessionId","SessionId","SessionType","CustomerId","AccountName","AdWordsSessionUserId","LoginCustomerId","CampaignIds","GoogleEntitiesBlobName","prepareBaseImportTaskItem","AccountId","CultureName","prepareCompleteImportTaskItem","importUserPreferences","adGroupMedium","CampaignTimeZone","timeZoneEnumMapper","ImportUserPreferences","LCID","AdGroupMedium","CustomerMarket","UserName","NotificationMedium","TimeZoneId","prepareGoogleImport","importOptions","NotificationType","AdWordsImportContext","ImportType","ImportAction","FileImportContext","createImportTaskItemHelper","prepareFilePreview","columnMapping","uploadedFileName","uploadedFileBlobPath","fileName","filePath","ImportColToAdCenterMapField","UploadedFileName","FilePath","Cron","prepareFileCommit","importId","ImportId","prepareGoogleImportForSignUp","prepareMultiAccountGoogleImport","importUserPreference","importTaskItemList","ImportTaskItemList","ImportUserPreference","State","getListeners","ariaConfig","getAriaConfig","currentEnv","env","basicFormatter","BasicFormatter","applicationSystem","applicationSubSystem","apiFormatter","ApiFormatter","reportingApiFormatter","ReportingApiFormatter","consoleFormatter","ConsoleFormatter","uetTagHelperFormatter","UetTagHelperFormatter","logLevelFilter","LogLevelFilter","apiFilter","ApiFilter","consoleFilter","ConsoleFilter","unloadLogFilter","UnloadLogFilter","localStorageListener","LocalStorageListener","formatters","uniquePageId","PageTrackingId","init","campaignAriaListener","AriaListener","tenantToken","flushInterval","batchSize","logTableNames","campaignLogTableConfig","defaultLogCategory","registerForTeardown","adInsightLogFormatter","AdInsightOpportunityLogFormatter","adInsightApiFilter","AdInsightOpportunityApiFilter","adInsightAriaListener","adInsightOppTracking","adInsightLogTableConfig","consoleListener","ConsoleListener","listeners","isTestEnvironment","seleniumLogsSink","InMemorySink","maxSize","inMemoryListener","InMemoryListener","sink","getProcessors","contextProcessor","ContextProcessor","debugProcessor","DebugProcessor","isDebugMode","BINGADS_DEBUG","getErrorMappers","odataErrorMapper","OdataErrorMapper","odataErrorCodes","campaignApiErrorMapper","CampaignApiErrorMapper","campaignApiErrorCodes","urlErrorMapper","UrlErrorMapper","invalidDomains","performanceLogsFormatter","PerformanceLogsFormatter","performanceLogsFilter","PerformanceLogsFilter","ariaListener","vNextInstrumentation","PerfMarkerFactory","instr","Instrumentation","processors","perfTimingProcessor","PerfTimingProcessor","landingPageUrl","PerformanceTimingLogger","getPerfTimingLogger","stubOptions","objectsToStub","pageTrackingId","errorMappers","eventHandler","AjaxEventHandler","shouldAddHeaders","ajaxContext","isInternalUrl","ajaxStub","AjaxStub","errorStub","ErrorStub","stub","ExpLoggerFactory","latitudeLongitudeRegex","locationNameExceptions","getAddress","EnclosingLocationIds","LocationTargetEnclosingLocationIds","reverse","parentLocation","locationCache","getLocation","unshift","getLocationName","isLatLongCoordinates","images","icon_pin_blue","icon_pin_gray","icon_pin_green","icon_pin_red","getPushPinOptions","iconName","colorsByGroupName","strokeThickness","highlightPolygonOptionsByGroupName","new","included","excluded","recommended","pushPinOptionsByGroupName","maxVisibleShapes","minHiddenShapes","defaultHideGroups","_locationsHidden","_mapObjectsSet","_content","isV8Enabled","IsBingMapV8Enabled","_polygonLayer","Layer","zIndex","EntityCollection","_pushPinLayer","_infoBoxLayer","autoAdjustTimeStamp","_hidenGroups","_messagePanel","_createMap","infoBox","_createInfoBox","toolTip","setMap","layers","hasRendered","groupName","shape","_getCircle","lat","lon","unit","addShape","shapes","isShape","center","Location","locationShapes","shapesBoundary","LocationRect","pushpin","Pushpin","_createPolygons","_createEntityCollection","hideInfoBox","Events","addHandler","_onEntityClick","_getShownLocationsCount","_hideLocations","pinOptions","pins","pinOption","pin","Point","metadata","showTooltipAndAddPinHight","closeTooltipAndRemovePinHight","removeShapesByGroupName","setOptions","mainShape","fromLocations","_hideShapOnMap","pairs","pair","size","_showHiddenLocations","polygon","removeShape","bounds","padding","setView","zoomInLocationGroupAfterMapLoad","_getShownLocations","loc","getNorthwest","getSoutheast","flatten","zoom","newBounds","getBounds","_autoAdjustZoom","SMART_CAMPAIGN_SCENARIO","dispose","actions","setLocation","infoboxTemplate","locationId","_isLocationOnMap","_highlightPolygon","maplocation","mapRect","chunkCore","arr","step","ret","locs","getZoom","zoomRange","getZoomRange","timeStamp","showedLocations","allLocationsVisible","_resetPolygon","dom","apiToken","mapHeight","mapOptions","restrictKeyboardListeningToMapContainer","credentials","mapTypeId","MapTypeId","road","theme","showDashboard","enableSearchLogo","showMapTypeSelector","showBreadcrumb","Map","_onMapMousedownOrKeydown","_onMapResize","showLocateMeButton","navigationBarMode","NavigationBarMode","Infobox","showPointer","showCloseButton","polygoncolor","Polygon","_getDefaultPolygonOption","entityCollection","_createPolygon","brng","tlat","tlon","PI","d","asin","sin","cos","atan2","hideOption","defautlHideMessage","groups","group","_hideShapesByGroupName","tire1SupportedCountries","SupportKeywordSearch","tire2SupportedMarkets","tire1SupportedMarkets","tire1Languages","tire2Langauges","locationIdListWithPriority","keywordPlannerSupportedCountries","Spain","Switzerland","Sweden","India","keywordPlannerSupportedLanguages","isSelectedLanguagesOnlyTire2ForKeywordPlanner","selectedLangauges","trafficEstimationSupportedLanguages","trafficEstimationSupportedCountries","freeze","locationRecommendation","dismiss","getKeywordPlannerSupportedLanguagesByLocationIds","locationIds","marketsToUse","sortedLocationIds","languageArr","getLaguageByLocationIdWithPriority","getKeywordPlannerSupportedLocationIdsByLangauges","langauges","languageSect","MAX_NUMBER_LOCATION_IDS","LocationStatus","Deleted","Unsupported","PendingDeprecation","Deprecated","deprecatedTextMapping","MathSign","locationStatus","none","distanceUnitMap","i18nUnitMap","bingLocationIdExceptions","isDMA","Licenses","toHashtableWithStatus","object","getTitle","categorys","parentName","toBrowseView","toGenericLocation","entityObject","subEntities","Categories","ID","countryId","ParentIDs","hasSubEntities","HasClildren","parentIds","GeoLocations","countryWrapper","states","States","stateWrapper","metros","Metros","metroWrapper","cities","Cities","cityWrapper","City","ParentStateName","Metro","StateName","stateCities","mapBackendData","locations","getParentNameForZipLocation","ParentSubGeographyLocationId","getParentNameForStateLocation","ParentCountryLocationId","excludedLocations","ExcludedLocations","ImmediateParentName","ParentLocationIds","LocationId","GeoEntityType","includedAreaLocations","targetTypes","parentPropNames","Bids","accessor","getParentName","ParentMetroAreaLocationId","BidAdjustment","toIncludedAreaLocations","includedRadiusLocations","CustomLocationTarget","Bids2","RadiusUnit","computedName","round","Radius","mtId","Errors","RadiusError","toIncludedRadiusLocations","includedLocations","mapImportBackendData","ExcludedGeoEntity","sortLocationsByName","loc1","loc2","loc1Name","loc2Name","loc1NameTypeCombo","LocationCriterion","NameTypeCombo","RadiusCriterion","loc1Status","SelectionStatus","loc1Order","Order","loc2NameTypeCombo","loc2Status","loc2Order","locationTargetTypes","mapGeoData","geoData","mapCities","mapGeoEntity","mapCity","rawResults","countries","postalCodes","mapPostalCode","PostalCode","mapPostalCodes","PostalCodes","metro","mapMetro","mapMetros","mapState","mapStates","mapCountry","mapCountries","toBrowseViewWithMetroAndCityLevelOnly","toFormDataDelta","delta","operatorMap","addProp","srcProp","dsc","dscProp","minimizer","opr","obj","operation","minimizedIncludeDelta","include","minimizedExcludeDelta","exclude","mapBackendDataOnCampaignChange","mapBingGeoData","includedRadiuses","resourceSets","geoCodeLocation","coordinates","l","toRadiusTargetingEntity","distance","convertBundleTargets","CountryTarget","convertCustomerCountryTarget","toJsonData","includedArea","includedRadius","locationTargetsIncluded","IsExclusion","radiusTargets","locationTargetsExcluded","LocationTargets","RadiusTargets","decodeBoundaries","results","Primitives","p","Shape","list","xsum","ysum","n","k","charAt","tmp","pow","diagonal","sqrt","ny","nx","decodeLine","flattenTreeData","tree","toObjWithOnlyCountryIdProp","CountryID","getIntentOption","intentOption","getInheritedIntentOption","campaignIntentOption","isRadiusTargetingAllowedForLocationType","locationType","isRadiusTargetingAllowedForBingMapsLocationTypes","bingMapsLocationType","sortLocationsByType","sortedLocations","sortLocationsForEdit","editLocations","locationTargetContext","editLocation","edit","bingMapRequestTimeout","bingMapStructuredRestServiceUrl","bingMapUnstructuredRestServiceUrl","bingMapGeodataServiceUrl","bingMapRestServiceToken","executeGetRequest","timeout","searchLocationAtBingMaps","searchText","useStructuredApiEndpoint","apiParts","getLocationBoundaries","entityTypes","null","AdministrativeRegionLevel1","FormerAdministrativeDivision","AdministrativeRegionLevel2","Neighborhood","Postcode1","Postcode2","Postcode3","resultsCache","address","LesLocationType","LocationType","arg","r","executeGetRequestWithCache","locationBoundariesService","isSimplifiedChineseLanguageEnabledInMultipleLanguage","IsSimplifiedChineseLanguageEnabledInMultipleLanguage","publisherCountries","bundles","DK","NL","AU","CA","NZ","US","DE","FR","GB","IE","MY","PH","SG","VN","TH","IN","FI","AT","CH","IT","NO","BR","AR","CL","CO","MX","PE","ES","VE","SE","CN","TW","HK","languageLocationPublisherCountryData","getBundle","languagesToUse","getBundleForOneLanguage","getPublisherCountryByCode","getLanguageLocationPublisherCountryData","langs","locationPublisherMap","getCountryCode","allCountriesAndStatesCache","cacheAllCountriesAndStates","resourceName","allCriterions","getAll","CriterionType","getLocationByIds","idArray","expandEpx","reqs","batch","needContentType","overlayElement","loadingText","buildRadiusCriterionFromBingMaps","bingMapsLocation","long","unitMaps","countryRegionIso2","buildLocationCriterionWithLocationId","languageBundle","buildLocationCriterionFromSearchResult","targetItem","targetType","mode","ExpandedName","GeoPoint","ParentLocations","getNameForRadiusLocation","latComputed","longComputed","buildLocationCriterionFromBiddableCampaignCriterion","biddableCampaignCriterion","criterionLevel","parentId","IsOriginalNameEmpty","CriterionBid","Multiplier","CriterionCashback","CashbackPercent","convertLocationToRadiusCriterion","locationCriterion","OriginalBidAdjustment","convertRadiusToLocationCriterion","radiusCriterion","LocationTargetType","convertLocationCriterionfromMTData","isIncluded","convertRadiusCriterionfromMTData","New","Included","radiusTargetNameTypeComboGenerator","areaTargetNameTypeComboGenerator","dispalyText","isMicrosoftBingDMAEnabled","UpdateNielsenToMicrosoftBingDMA","locationDMAString","getLocalizedTargetType","trimEnd","shouldHideIncludedLocations","disableInfoBoxGroupList","disableActionGroupList","viewmodel","maxNumberOfLocationsInMap","childOptions","omit","defaults","zoomAllText","hideMessage","bingmap","_onMapLocationClick","bindEventBus","entityId","zoomInLocation","highlightLocation","resetLocation","destroyAll","eventDispatcher","onCriterionChange","searchedCriterions","searchedLocations","searched","includedLoc","searchedLocId","getLocationId","excludedLoc","clearSubscribers","waitBingMapLoaded","locationIntermediateHelper","locationsCopy","_onInclude","_onExclude","_addEntityToMapOnIncludeOrExclude","hasRecommended","_showResultOnTheMap","_addLocationShapeToMap","onComplete","geoConverter","addRadius","addPushpin","addressResolver","geoService","zoomIn","findEntity","_onIncludeMapHandler","_onExcludeMapHandler","_onTargetRecommendationHandler","_onDismissRecommendationHandler","_onRemoveFromMap","groupNameToDescriptionMap","trafficGain","formatPercentToFixed","QueriesFiltered","QueriesPassedLocationFiltering","impressionGain","EstimatedIncreaseInImpressions","clicksGain","EstimatedIncreaseInClicks","showInfoBox","locationEntity","locationOnly","isRecommendedLocation","locationTargetConverter","_showInfoBoxOnMap","addRadiusTargetToMap","destroy","formatPeriodDate","_ref$movingAverage","_ref$filter","comparativePeriod","f","fetchCombinedPerformanceTimeSeries","finalFilter","getMergedFilter","PerformanceTimeSeries","startDate","comparisonStartDate","comparisonEndDate","filterOptions","originalPrimary","comparativePrimary","originalSecondary","comparativeSecondary","originalTertiary","comparativeTertiary","originalQuaternary","comparativeQuaternary","primary","secondary","uiNextColors","uiNextOriginal","uiNextComparative","getI18n","stringNaN","formatToInteger","formatDecimal","formatTo2Digits","formatTo2DigitsPercent","formatPercent","formatCurrency","Clicks","Impressions","AverageCPC","AveragePosition","Conversions","ConversionsCredit","ConversionRate","PartialConversionRate","CPA","PartialConversionCPA","AdvertiserReportedRevenue","RevenueOnAdSpend","TopImpressionRate","AbsoluteTopImpressionRate","TopImpressionRatePercent","AbsoluteTopImpressionRatePercent","Downloads","PostClickDownloadRate","CostPerDownload","FirstLaunches","PostClickFirstLaunchRate","CostPerFirstLaunch","Purchases","PostInstallPurchaseRate","CostPerPurchase","Subscriptions","PostInstallSubscriptionRate","CostPerSubscription","formatClicks","formatImpressions","formatCTR","formatAverageCPC","formatSpend","formatSpendWithOutCurrencySymbolAsExistingBehavior","formatAveragePosition","formatConversions","formatConversionRate","formatCPA","formatAdvertiserReportedRevenue","formatRevenueOnAdSpend","formatTopImpressionRate","formatAbsoluteTopImpressionRate","numberCompactShort","compactShort","formatChangePercentage","sign","formatMetricWithSign","formatChangePercentageWithSign","urlOptionLink","actionLinkTemplate","enableAutoTaggingTemplate","getMsClickIdTaggingState","urlTmpl","chromeExtensionId","edgeExtensionId","hostName","host","conversionGuideUrl","extensionNotInstalledUrl","browserUnsupportedUrl","apiPrefix","testType","Goal","logOutcome","testItem","entryPoint","TestType","scenarioId","scenarioName","writeRawLog","wrapUrlWithAccountInfo","rawUrl","getConversionGuiderUrl","baseUrl","sendDefinition","extensionId","MsClickIdTaggingEnabled","autoTaggingEnabled","chrome","runtime","sendMessage","goalItem","goalDef","connectExtension","img","Image","open","backupImg","getExtensionNotInstalledUrl","startConversionAdvisor","userAgentString","navigator","userAgent","isChromeOrEdge","getBrowserUnSupportedUrl","_options$position","eventActions","classNameArray","_this$options","body","appendChild","onClickDocument","_ref$isAbsolute","_ref$left","_ref$top","_$$offset","_ref2$isAbsolute","_ref2$left","_ref2$top","_$$offset2","popoverViewTemplate","triggerExtension","isView","parseNumber","str","_ref$offsetTop","offsetTop","_ref$offsetLeft","offsetLeft","$tr","$body","outerHeight","paddingBottom","topMax","innerHeight","clientWidth","paddingRight","leftMax","titledContentTemplate","PagerView","paginationTemplate","currentPage","popUpText","prevPage","nextPage","pageOf","PagedContent","pagedContentTemplate","pages","pager","setPager","setPages","_positions","_contents","prefetchResources","prefetchFilesPath","isArray","prefetchContainer","getElementById","prefetchLinksToInject","getPrefetchLink","innerHTML","IsResourcesPrefetchEnabled","PageReady","afterPageReady","serviceWorkerPreFetchUrls","getNewResourcesUrl","origin","request","Request","json","newResources","PreFetchUrls","setNewVersionAvailableEvent","IMPORT_TYPE","googleimport","facebookimport","fileimport","amazonImport","pinterestImport","IMPORT_TYPE_TO_IMPORT_NAME","getDefaultImportTypeOfFilter","isMultiAccount","importType","supportedImportTypes","defaultImportTypeOfFilter","getSupportedImportTypes","isSmartAccount","isUPSmartAccount","IsFacebookImportEnabled","IsAmazonImportEnabled","_bingads_webui_component_legacy_extension_underscore","propertyOf","getGoogleSessionUrlTmpl","logMsg","msg","prepareGoogleImportTaskItemBodyForPmaxImportRecommendationRunnow","taskItem","Frequency","updateTaskItem","_ref2$sessionId","taskId","prepareTaskItemBody","getSuccessMsg","adWordsSessionId","TaskItem","newTaskItem","showSuccess","_TL_","showGoogleLoginPopup","afterSignInCallback","require","google","loginRepo","GoogleLoginRepository","GSILocal","googleSignIn","onFail","useConsentPrompt","AuthCode","post","startGoogleSession","authErrors","handleGoogleLoginAuthError","getEdmName","getEntityName","cacheManager","afterInvalidate","cm","isTriggeredFromOutside","invalidateTypeCache","successEmitter","skipEntityCallPaths","cacheEvent","next","invalidate","CurrentTabId","getDataFetchConfig","CampaignsCombineGridAndChartOdataCallEnabled","_getBaseColumnsByType","_getBaseColumnsByType2","waterfallFilterStorage","WaterfallFilterStorage","getGridDataParams","addPoPColumnsOnComparisonEnabled","IsCustomColumnsInCampaignsSupported","defaultPageSize","pageState","chartDataAdapter","ChartDataAdapter","inlineChartPreference","InlineChartPreferences","legacyPreferenceService","dateFilter","waterfallDateFilterProcessor","WaterfallFilterType","getFilterConfigWithInjection","cachedEntitySchema","customColumnPreference","adGroupSchema","CampaignSchemaProcessor","languageI18n","s$AdGroup","isFromCampaignGrid","enableCampaignWaterfall","editor","searchbox","placeholder","searchProperty","searchOperator","removable","getFilterConfig","suppressWaterfallEvents","getDataSourceWithInjection","_ref2$logActivity","logActivity","CampaignFilterImprovementEnabled","dataFetchConfig","cacheableObjects","pug","locals","pug_interp","pug_html","locals_for_with","attr","escape","pug_mixins","associationInfoText","associationInfoTextCampaign","assoicationQueryLink","bulkEditIntro","exclusionInfoText","exclusionQueryLink","popupId","ariaLabelContext","block","templateString","attrs","display","errorClass","formattedListSizeSearch","formattedListSizeAudience","compactListSizeSearch","compactListSizeAudience","isActive","isFocus","$$obj","keyHierarchyLength","pug_index0","$$l","expanded","isLeaf","topicId","formattedListSize","compactListSize","rightAlign","havevideo","showData","rowClass","gridPrev","gridNext","tabindexPrev","tabindexNext"],"sourceRoot":""}