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,EAAAA,QAC7GZ,OAAOG,2CAA2C,4DAA8DU,EAAAA,QAChHb,OAAOG,2CAA2C,6CAA+CW,EAAAA,EACjGd,OAAOG,2CAA2C,uDAAyDY,EAAAA,QAC7G,C","sources":["sdk/dynamic-routes.js","sdk/sdk-bootstrap.js","test-context-side-effect.js"],"sourcesContent":["/* eslint-disable max-len */\r\nimport { getDefaultExport, importAfterPreLoad, lazyLoad } from '../components/utils';\r\n\r\nconst SDKCampaignCreationPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"sdk-campaign-creation-page\" */'../feature-bootstrap/sdk-campaign-creation').then(getDefaultExport), true);\r\n\r\nconst SDKCampaignOverviewPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"sdk-campaign-overview-page\" */'../feature-bootstrap/sdk-campaign-overview').then(getDefaultExport), true);\r\n\r\nconst SDKAssetGroupSettingsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"sdk-asset-group-settings-page\" */'../feature-bootstrap/sdk-asset-group-settings').then(getDefaultExport), true);\r\n\r\nconst SDKTargetSettingsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"sdk-target-settings-page\" */'../feature-bootstrap/sdk-target-settings').then(getDefaultExport), true);\r\n\r\nconst SDKBudgetSettingsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"sdk-budget-settings-page\" */'../feature-bootstrap/sdk-budget-settings').then(getDefaultExport), true);\r\n\r\nconst SDKAppWrapper = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"sdk-app-wrapper-loader\" */'./sdk-app-wrapper-loader').then(getDefaultExport), true);\r\n\r\nexport const LazySDKAppWrapper = lazyLoad(SDKAppWrapper);\r\n\r\nexport const routes = {\r\n SDKCampaignCreationPage,\r\n SDKCampaignOverviewPage,\r\n SDKAssetGroupSettingsPage,\r\n SDKTargetSettingsPage,\r\n SDKBudgetSettingsPage,\r\n};\r\n\r\n","import '../public-path';\r\n\r\nimport(/* webpackChunkName: \"sdk-bootstrap\" */'@bingads-webui-campaign-react/sdk-bootstrap').then(({ sdkBootstrap }) => {\r\n sdkBootstrap(window.serverContext, () => import(/* webpackMode: 'eager' */'../bootstrap'));\r\n});\r\n","/* eslint-disable no-underscore-dangle */ // we use __ to indicate a private global variable\r\n\r\n// Bundler(webpack, for now) introduces some subtle challenge\r\n// Like every package could only be accessed by webpack itself.\r\n// Seems reasonable, but this means, the tests(run in node) could not use any packages in browser though import statement or expression.\r\n// For example, if you are using playwright:\r\n/**\r\n * const status = await page.evaluate(async () => {\r\n * const somepackage = await import('somePackage');\r\n * // 'somePackage' is used in your application\r\n * // but this will throw an error, because 'somePackage' was taken over by webpack\r\n * });\r\n */\r\n\r\n// So, this introduce a context, which just give a global context under window, so the test could access it directly\r\n// TODO: It's not a best solution, it makes tree shaking workless! Should be removed in future if we have resource to do it.\r\n\r\nimport edmImport from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport jsDataCampaignImport from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport exRepoImport from '@bingads-webui-campaign-legacy/advanced-settings/util/exclusion-repository';\r\nimport * as azurePayloadImport from '@bingads-webui/azure-upload';\r\nimport * as EDMCampaign from '@bingads-webui/edm-campaign';\r\nimport componentStateImport from '@bingads-webui-component-legacy/state/index';\r\nimport legacyOdataImport from '@bingads-webui-component-legacy/http/channel/odata';\r\nimport hotelCenterJsDataImport from '@bingads-webui-campaign-legacy/hotel-center-js-data/index';\r\nimport hotelCenterEDMImport from '@bingads-webui-campaign-legacy/hotel-center-edm/index';\r\nimport legacyPreferenceImport from '@bingads-webui-component-legacy/preference/service/index';\r\nimport PageContext from '@bingads-webui-static-legacy/page-context';\r\nimport OdataAdapter from '@bingads-webui-component-legacy/js-data-odata/index';\r\n\r\nexport function setTestContext() {\r\n if (window.__integration_test_packages_escape_hatch__) {\r\n return;\r\n }\r\n\r\n window.__integration_test_packages_escape_hatch__ = {};\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-component-legacy/edm-campaign/index'] = edmImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-component-legacy/js-data-campaign/index'] = jsDataCampaignImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-campaign-legacy/advanced-settings/util/exclusion-repository'] = exRepoImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui/azure-upload'] = azurePayloadImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui/edm-campaign'] = EDMCampaign;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-component-legacy/state/index'] = componentStateImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-component-legacy/http/channel/odata'] = legacyOdataImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-campaign-legacy/hotel-center-js-data/index'] = hotelCenterJsDataImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-campaign-legacy/hotel-center-edm/index'] = hotelCenterEDMImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-component-legacy/preference/service/index'] = legacyPreferenceImport;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-static-legacy/page-context'] = PageContext;\r\n window.__integration_test_packages_escape_hatch__['@bingads-webui-component-legacy/js-data-odata/index'] = OdataAdapter;\r\n}\r\n"],"names":["LazySDKAppWrapper","lazyLoad","importAfterPreLoad","then","getDefaultExport","routes","SDKCampaignCreationPage","SDKCampaignOverviewPage","SDKAssetGroupSettingsPage","SDKTargetSettingsPage","SDKBudgetSettingsPage","_ref","sdkBootstrap","window","serverContext","setTestContext","__integration_test_packages_escape_hatch__","edmImport","jsDataCampaignImport","exRepoImport","azurePayloadImport","EDMCampaign","componentStateImport","legacyOdataImport","hotelCenterJsDataImport","hotelCenterEDMImport","legacyPreferenceImport","PageContext","OdataAdapter"],"sourceRoot":""}