@commercetools-frontend/application-shell 21.13.1 → 21.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/{application-entry-point-9c924b81.esm.js → application-entry-point-0de0fed2.esm.js} +9 -3
  2. package/dist/{application-entry-point-43fd73f5.cjs.dev.js → application-entry-point-379ddfbf.cjs.dev.js} +9 -3
  3. package/dist/{application-entry-point-f5a19490.cjs.prod.js → application-entry-point-d7ed60b0.cjs.prod.js} +9 -3
  4. package/dist/commercetools-frontend-application-shell.cjs.dev.js +5 -4
  5. package/dist/commercetools-frontend-application-shell.cjs.prod.js +5 -4
  6. package/dist/commercetools-frontend-application-shell.esm.js +5 -4
  7. package/dist/{constants-a3c850be.esm.js → constants-0d48a7ae.esm.js} +1 -0
  8. package/dist/{constants-c2c238ff.cjs.prod.js → constants-41338dec.cjs.dev.js} +1 -0
  9. package/dist/{constants-d9a5241e.cjs.dev.js → constants-9ffc458b.cjs.prod.js} +1 -0
  10. package/dist/declarations/src/components/application-page-title/application-page-title.d.ts +9 -0
  11. package/dist/declarations/src/components/application-page-title/index.d.ts +1 -0
  12. package/dist/declarations/src/components/navbar/navbar.d.ts +1 -1
  13. package/dist/declarations/src/constants.d.ts +1 -0
  14. package/dist/declarations/src/utils/http-client.d.ts +2 -0
  15. package/dist/{index-a544deff.cjs.prod.js → index-23885269.cjs.prod.js} +65 -15
  16. package/dist/{index-428502d7.esm.js → index-aee304c6.esm.js} +63 -15
  17. package/dist/{index-e4a6db71.cjs.dev.js → index-bf785dc5.cjs.dev.js} +65 -15
  18. package/dist/{oidc-5cae2dba.esm.js → oidc-4c509f49.esm.js} +1 -1
  19. package/dist/{oidc-9134face.cjs.dev.js → oidc-a2126dac.cjs.dev.js} +1 -1
  20. package/dist/{oidc-5b507512.cjs.prod.js → oidc-d13fc045.cjs.prod.js} +1 -1
  21. package/dist/{project-expired-45491d93.esm.js → project-expired-6dd19ac5.esm.js} +6 -5
  22. package/dist/{project-expired-110383bb.cjs.prod.js → project-expired-884349ac.cjs.dev.js} +6 -5
  23. package/dist/{project-expired-5609f6c3.cjs.dev.js → project-expired-b70d0be4.cjs.prod.js} +6 -5
  24. package/dist/{project-not-found-05608a7b.cjs.dev.js → project-not-found-1bb414bd.cjs.prod.js} +6 -5
  25. package/dist/{project-not-found-64180914.esm.js → project-not-found-5c5d8978.esm.js} +6 -5
  26. package/dist/{project-not-found-56537969.cjs.prod.js → project-not-found-f4588a92.cjs.dev.js} +6 -5
  27. package/dist/{project-not-initialized-55986b48.esm.js → project-not-initialized-4ffa6dfd.esm.js} +6 -5
  28. package/dist/{project-not-initialized-f715cd11.cjs.dev.js → project-not-initialized-730e8f66.cjs.prod.js} +6 -5
  29. package/dist/{project-not-initialized-ecf77673.cjs.prod.js → project-not-initialized-e14aec3c.cjs.dev.js} +6 -5
  30. package/dist/{project-suspended-4e25c346.cjs.dev.js → project-suspended-021b826a.cjs.prod.js} +6 -5
  31. package/dist/{project-suspended-af3dcdac.esm.js → project-suspended-4586252a.esm.js} +6 -5
  32. package/dist/{project-suspended-0d7731b8.cjs.prod.js → project-suspended-9dc74eb9.cjs.dev.js} +6 -5
  33. package/dist/{quick-access-28ff2c5f.cjs.prod.js → quick-access-06faafe4.cjs.prod.js} +5 -4
  34. package/dist/{quick-access-44288a69.cjs.dev.js → quick-access-529bfe5e.cjs.dev.js} +5 -4
  35. package/dist/{quick-access-20f2f865.esm.js → quick-access-7e849881.esm.js} +5 -4
  36. package/dist/{service-page-project-switcher-ae61c39d.cjs.prod.js → service-page-project-switcher-38236d62.cjs.prod.js} +1 -1
  37. package/dist/{service-page-project-switcher-d1c2ae56.esm.js → service-page-project-switcher-3faeb457.esm.js} +1 -1
  38. package/dist/{service-page-project-switcher-a1cbb100.cjs.dev.js → service-page-project-switcher-5c01b213.cjs.dev.js} +1 -1
  39. package/package.json +21 -21
  40. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +2 -2
  41. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +2 -2
  42. package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +2 -2
  43. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +2 -2
  44. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +2 -2
  45. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +2 -2
@@ -1,4 +1,4 @@
1
- import { g as getMcApiUrl, l as logger, a as getActiveProjectKey, r as removeActiveProjectKey, s as setActiveProjectKey, b as getSessionScope, c as location, d as getSessionState, e as setActiveSession, f as createApolloClient, i as internalReduxStore, h as setCachedApolloClient, v as version, R as REQUESTS_IN_FLIGHT_LOADER_DOM_ID, u as useIsServedByProxy, A as ApplicationEntryPoint, j as setSessionScope, k as setSessionState, m as clearSession, n as selectProjectKeyFromUrl, o as RequestsInFlightLoader, p as RouteCatchAll } from './application-entry-point-9c924b81.esm.js';
1
+ import { g as getMcApiUrl, l as logger, a as getActiveProjectKey, r as removeActiveProjectKey, s as setActiveProjectKey, b as getSessionScope, c as location, d as getSessionState, e as setActiveSession, f as createApolloClient, i as internalReduxStore, h as setCachedApolloClient, v as version, R as REQUESTS_IN_FLIGHT_LOADER_DOM_ID, u as useIsServedByProxy, A as ApplicationEntryPoint, j as setSessionScope, k as setSessionState, m as clearSession, n as selectProjectKeyFromUrl, o as RequestsInFlightLoader, p as RouteCatchAll } from './application-entry-point-0de0fed2.esm.js';
2
2
  import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
3
3
  import _styled from '@emotion/styled/base';
4
4
  import _pt from 'prop-types';
@@ -13,7 +13,7 @@ import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/inst
13
13
  import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors';
14
14
  import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/object/define-properties';
15
15
  import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
16
- import { useState, useCallback, useEffect, createContext, Component, useMemo, Suspense, version as version$1, useRef, lazy, useLayoutEffect, useReducer, forwardRef, useContext } from 'react';
16
+ import { useState, useCallback, useEffect, createContext, useLayoutEffect, Component, useMemo, Suspense, version as version$1, useRef, lazy, useReducer, forwardRef, useContext } from 'react';
17
17
  import { useHistory, useLocation, Switch, Route, Router, Link, Redirect, matchPath, NavLink } from 'react-router-dom';
18
18
  import { css, Global, keyframes } from '@emotion/react';
19
19
  import { GRAPHQL_TARGETS, MC_API_PROXY_TARGETS, SUPPORT_PORTAL_URL, LOGOUT_REASONS, NO_VALUE_FALLBACK, DOMAINS } from '@commercetools-frontend/constants';
@@ -22,7 +22,7 @@ import { ApplicationContextProvider, useApplicationContext, normalizeAllAppliedP
22
22
  import { PublicPageLayout, MaintenancePageLayout, PortalsContainer } from '@commercetools-frontend/application-components';
23
23
  import { Notifier, NotificationsList } from '@commercetools-frontend/react-notifications';
24
24
  import { AsyncLocaleData } from '@commercetools-frontend/i18n';
25
- import { S as STORAGE_KEYS, O as OIDC_CLAIMS, D as DIMENSIONS, C as CONTAINERS, a as SUSPENSION_REASONS, b as OIDC_RESPONSE_TYPES } from './constants-a3c850be.esm.js';
25
+ import { S as STORAGE_KEYS, O as OIDC_CLAIMS, D as DIMENSIONS, C as CONTAINERS, a as SUSPENSION_REASONS, b as OIDC_RESPONSE_TYPES } from './constants-0d48a7ae.esm.js';
26
26
  import { v4 } from 'uuid';
27
27
  import _URL from '@babel/runtime-corejs3/core-js-stable/url';
28
28
  import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
@@ -36,7 +36,7 @@ import { Provider, useStore } from 'react-redux';
36
36
  import history from '@commercetools-frontend/browser-history';
37
37
  import { IntlProvider, defineMessages, useIntl, FormattedMessage } from 'react-intl';
38
38
  import _startsWithInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
39
- import { b as buildOidcScope } from './oidc-5cae2dba.esm.js';
39
+ import { b as buildOidcScope } from './oidc-4c509f49.esm.js';
40
40
  import { encode, decode } from 'qss';
41
41
  import jwtDecode from 'jwt-decode';
42
42
  import FailedAuthenticationSVG from '@commercetools-frontend/assets/images/locked-diamond.svg';
@@ -47,6 +47,10 @@ import Card from '@commercetools-uikit/card';
47
47
  import Text from '@commercetools-uikit/text';
48
48
  import FlatButton from '@commercetools-uikit/flat-button';
49
49
  import { AngleLeftIcon, CaretDownIcon, ErrorIcon, WorldIcon, SupportIcon, BackIcon, ConnectedSquareIcon, StarIcon, RocketIcon, PluginIcon, PaperclipIcon, HeartIcon, ListWithSearchIcon, GearIcon, BoxIcon, CartIcon, TagMultiIcon, SpeedometerIcon, UserFilledIcon, TreeStructureIcon } from '@commercetools-uikit/icons';
50
+ import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableArray';
51
+ import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
52
+ import _sliceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/slice';
53
+ import upperFirst from 'lodash/upperFirst';
50
54
  import LoadingSpinner from '@commercetools-uikit/loading-spinner';
51
55
  import CTLogoSVG from '@commercetools-frontend/assets/images/ct-logo.svg';
52
56
  import _Reflect$construct from '@babel/runtime-corejs3/core-js-stable/reflect/construct';
@@ -62,7 +66,6 @@ import { actions, useAsyncDispatch } from '@commercetools-frontend/sdk';
62
66
  import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
63
67
  import LogoSVG from '@commercetools-frontend/assets/images/logo.svg';
64
68
  import _trimInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/trim';
65
- import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
66
69
  import Downshift from 'downshift';
67
70
  import { ToggleFeature, ConfigureFlopFlip, useFlagVariation } from '@flopflip/react-broadcast';
68
71
  import Avatar from '@commercetools-uikit/avatar';
@@ -81,9 +84,7 @@ import _flagsInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instan
81
84
  import ldAdapter from '@flopflip/launchdarkly-adapter';
82
85
  import httpAdapter from '@flopflip/http-adapter';
83
86
  import combineAdapters from '@flopflip/combine-adapters';
84
- import '@babel/runtime-corejs3/helpers/toConsumableArray';
85
87
  import '@babel/runtime-corejs3/core-js-stable/instance/index-of';
86
- import '@babel/runtime-corejs3/core-js-stable/instance/slice';
87
88
  import _everyInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/every';
88
89
  import _Array$from from '@babel/runtime-corejs3/core-js-stable/array/from';
89
90
  import classnames from 'classnames';
@@ -990,6 +991,53 @@ GtmBooter.propTypes = {
990
991
  };
991
992
  GtmBooter.displayName = 'GtmBooter';
992
993
 
994
+ var maxTitleCharLength = 24;
995
+ var staticPaths = ['account', 'login'];
996
+ var defaultProps$1 = {
997
+ additionalParts: []
998
+ };
999
+
1000
+ var usePageTitle = function usePageTitle(props) {
1001
+ var _context, _context3;
1002
+
1003
+ var location = useLocation();
1004
+
1005
+ var _location$pathname$sp = location.pathname.split('/'),
1006
+ _location$pathname$sp2 = _slicedToArray(_location$pathname$sp, 3),
1007
+ projectKeyOrStaticPath = _location$pathname$sp2[1],
1008
+ entryPointUriPath = _location$pathname$sp2[2];
1009
+
1010
+ var customTitleParts = _mapInstanceProperty(_context = props.additionalParts).call(_context, function (titlePart) {
1011
+ if (titlePart.length <= maxTitleCharLength) {
1012
+ return titlePart;
1013
+ }
1014
+
1015
+ return [_sliceInstanceProperty(titlePart).call(titlePart, 0, maxTitleCharLength / 2), _sliceInstanceProperty(titlePart).call(titlePart, titlePart.length - maxTitleCharLength / 2)].join('...');
1016
+ });
1017
+
1018
+ if (_includesInstanceProperty(staticPaths).call(staticPaths, projectKeyOrStaticPath)) {
1019
+ var _context2;
1020
+
1021
+ return _concatInstanceProperty(_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst(projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
1022
+ }
1023
+
1024
+ return _concatInstanceProperty(_context3 = []).call(_context3, _toConsumableArray(customTitleParts || []), [upperFirst(entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
1025
+ };
1026
+
1027
+ var ApplicationPageTitle = function ApplicationPageTitle(props) {
1028
+ var pageTitle = usePageTitle(props);
1029
+ useLayoutEffect(function () {
1030
+ document.title = pageTitle;
1031
+ }, [pageTitle]);
1032
+ return null;
1033
+ };
1034
+
1035
+ ApplicationPageTitle.propTypes = {
1036
+ additionalParts: _pt.arrayOf(_pt.string).isRequired
1037
+ };
1038
+ ApplicationPageTitle.displayName = 'ApplicationPageTitle';
1039
+ ApplicationPageTitle.defaultProps = defaultProps$1;
1040
+
993
1041
  var ApplicationLoader = function ApplicationLoader(props) {
994
1042
  return jsxs("div", {
995
1043
  css: /*#__PURE__*/css("display:flex;align-items:center;justify-content:center;flex:1;flex-direction:column;height:100vh;padding:", customProperties.spacingL, ";>*+*{margin:", customProperties.spacingL, " 0 0;}" + (process.env.NODE_ENV === "production" ? "" : ";label:ApplicationLoader;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcGxpY2F0aW9uLWxvYWRlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV1kiLCJmaWxlIjoiYXBwbGljYXRpb24tbG9hZGVyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcbmltcG9ydCBMb2FkaW5nU3Bpbm5lciBmcm9tICdAY29tbWVyY2V0b29scy11aWtpdC9sb2FkaW5nLXNwaW5uZXInO1xuaW1wb3J0IHsgY3VzdG9tUHJvcGVydGllcyB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L2Rlc2lnbi1zeXN0ZW0nO1xuaW1wb3J0IENUTG9nb1NWRyBmcm9tICdAY29tbWVyY2V0b29scy1mcm9udGVuZC9hc3NldHMvaW1hZ2VzL2N0LWxvZ28uc3ZnJztcblxudHlwZSBQcm9wcyA9IHtcbiAgc2hvd0xvZ28/OiBib29sZWFuO1xufTtcblxuY29uc3QgQXBwbGljYXRpb25Mb2FkZXIgPSAocHJvcHM6IFByb3BzKSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e2Nzc2BcbiAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICBmbGV4OiAxO1xuICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgIGhlaWdodDogMTAwdmg7XG4gICAgICBwYWRkaW5nOiAke2N1c3RvbVByb3BlcnRpZXMuc3BhY2luZ0x9O1xuXG4gICAgICA+ICogKyAqIHtcbiAgICAgICAgbWFyZ2luOiAke2N1c3RvbVByb3BlcnRpZXMuc3BhY2luZ0x9IDAgMDtcbiAgICAgIH1cbiAgICBgfVxuICAgIGRhdGEtdGVzdGlkPVwiYXBwbGljYXRpb24tbG9hZGVyXCJcbiAgPlxuICAgIDxMb2FkaW5nU3Bpbm5lciAvPlxuICAgIHtwcm9wcy5zaG93TG9nbyA9PT0gdHJ1ZSA/IChcbiAgICAgIDxpbWcgYWx0PVwiY29tbWVyY2V0b29scyBsb2dvXCIgc3JjPXtDVExvZ29TVkd9IC8+XG4gICAgKSA6IG51bGx9XG4gIDwvZGl2PlxuKTtcbkFwcGxpY2F0aW9uTG9hZGVyLmRpc3BsYXlOYW1lID0gJ0FwcGxpY2F0aW9uTG9hZGVyJztcblxuZXhwb3J0IGRlZmF1bHQgQXBwbGljYXRpb25Mb2FkZXI7XG4iXX0= */"),
@@ -1208,9 +1256,9 @@ var ApplicationShellProvider = function ApplicationShellProvider(props) {
1208
1256
  fallback: jsx(ApplicationLoader, {}),
1209
1257
  children: jsx(Router, {
1210
1258
  history: ApplicationShellProvider.history,
1211
- children: jsx(GtmBooter, {
1259
+ children: jsxs(GtmBooter, {
1212
1260
  trackingEventList: props.trackingEventList || {},
1213
- children: jsx(AuthenticationRoutes, {
1261
+ children: [jsx(ApplicationPageTitle, {}), jsx(AuthenticationRoutes, {
1214
1262
  locale: browserLocale,
1215
1263
  applicationMessages: props.applicationMessages,
1216
1264
  render: function render(_ref) {
@@ -1234,7 +1282,7 @@ var ApplicationShellProvider = function ApplicationShellProvider(props) {
1234
1282
  }
1235
1283
  });
1236
1284
  }
1237
- })
1285
+ })]
1238
1286
  })
1239
1287
  })
1240
1288
  })
@@ -2388,19 +2436,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
2388
2436
  } : {};
2389
2437
 
2390
2438
  var ProjectNotFound = /*#__PURE__*/lazy(function () {
2391
- return import('./project-not-found-64180914.esm.js'
2439
+ return import('./project-not-found-5c5d8978.esm.js'
2392
2440
  /* webpackChunkName: "project-not-found" */
2393
2441
  );
2394
2442
  });
2395
2443
 
2396
2444
  var ProjectExpired = /*#__PURE__*/lazy(function () {
2397
- return import('./project-expired-45491d93.esm.js'
2445
+ return import('./project-expired-6dd19ac5.esm.js'
2398
2446
  /* webpackChunkName: "project-expired" */
2399
2447
  );
2400
2448
  });
2401
2449
 
2402
2450
  var ProjectNotInitialized = /*#__PURE__*/lazy(function () {
2403
- return import('./project-not-initialized-55986b48.esm.js'
2451
+ return import('./project-not-initialized-4ffa6dfd.esm.js'
2404
2452
  /* webpackChunkName: "project-not-initialized" */
2405
2453
  );
2406
2454
  });
@@ -2447,7 +2495,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
2447
2495
  RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
2448
2496
 
2449
2497
  var ProjectSuspended = /*#__PURE__*/lazy(function () {
2450
- return import('./project-suspended-af3dcdac.esm.js'
2498
+ return import('./project-suspended-4586252a.esm.js'
2451
2499
  /* webpackChunkName: "project-suspended" */
2452
2500
  );
2453
2501
  });
@@ -3793,7 +3841,7 @@ var pimIndexerStates = {
3793
3841
  };
3794
3842
 
3795
3843
  var QuickAccess = /*#__PURE__*/lazy(function () {
3796
- return import('./quick-access-20f2f865.esm.js'
3844
+ return import('./quick-access-7e849881.esm.js'
3797
3845
  /* webpackChunkName: "quick-access" */
3798
3846
  );
3799
3847
  });
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var applicationEntryPoint = require('./application-entry-point-43fd73f5.cjs.dev.js');
3
+ var applicationEntryPoint = require('./application-entry-point-379ddfbf.cjs.dev.js');
4
4
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
5
5
  var _styled = require('@emotion/styled/base');
6
6
  var _pt = require('prop-types');
@@ -24,7 +24,7 @@ var applicationShellConnectors = require('@commercetools-frontend/application-sh
24
24
  var applicationComponents = require('@commercetools-frontend/application-components');
25
25
  var reactNotifications = require('@commercetools-frontend/react-notifications');
26
26
  var i18n = require('@commercetools-frontend/i18n');
27
- var constants = require('./constants-d9a5241e.cjs.dev.js');
27
+ var constants = require('./constants-41338dec.cjs.dev.js');
28
28
  var uuid = require('uuid');
29
29
  var _URL = require('@babel/runtime-corejs3/core-js-stable/url');
30
30
  var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
@@ -38,7 +38,7 @@ var reactRedux = require('react-redux');
38
38
  var history = require('@commercetools-frontend/browser-history');
39
39
  var reactIntl = require('react-intl');
40
40
  var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
41
- var oidc = require('./oidc-9134face.cjs.dev.js');
41
+ var oidc = require('./oidc-a2126dac.cjs.dev.js');
42
42
  var qss = require('qss');
43
43
  var jwtDecode = require('jwt-decode');
44
44
  var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/locked-diamond.svg');
@@ -49,6 +49,10 @@ var Card = require('@commercetools-uikit/card');
49
49
  var Text = require('@commercetools-uikit/text');
50
50
  var FlatButton = require('@commercetools-uikit/flat-button');
51
51
  var icons = require('@commercetools-uikit/icons');
52
+ var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
53
+ var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
54
+ var _sliceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/slice');
55
+ var upperFirst = require('lodash/upperFirst');
52
56
  var LoadingSpinner = require('@commercetools-uikit/loading-spinner');
53
57
  var CTLogoSVG = require('@commercetools-frontend/assets/images/ct-logo.svg');
54
58
  var _Reflect$construct = require('@babel/runtime-corejs3/core-js-stable/reflect/construct');
@@ -64,7 +68,6 @@ var sdk = require('@commercetools-frontend/sdk');
64
68
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
65
69
  var LogoSVG = require('@commercetools-frontend/assets/images/logo.svg');
66
70
  var _trimInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/trim');
67
- var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
68
71
  var Downshift = require('downshift');
69
72
  var reactBroadcast = require('@flopflip/react-broadcast');
70
73
  var Avatar = require('@commercetools-uikit/avatar');
@@ -83,9 +86,7 @@ var _flagsInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/inst
83
86
  var ldAdapter = require('@flopflip/launchdarkly-adapter');
84
87
  var httpAdapter = require('@flopflip/http-adapter');
85
88
  var combineAdapters = require('@flopflip/combine-adapters');
86
- require('@babel/runtime-corejs3/helpers/toConsumableArray');
87
89
  require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
88
- require('@babel/runtime-corejs3/core-js-stable/instance/slice');
89
90
  var _everyInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/every');
90
91
  var _Array$from = require('@babel/runtime-corejs3/core-js-stable/array/from');
91
92
  var classnames = require('classnames');
@@ -126,6 +127,9 @@ var Spacings__default = /*#__PURE__*/_interopDefault(Spacings);
126
127
  var Card__default = /*#__PURE__*/_interopDefault(Card);
127
128
  var Text__default = /*#__PURE__*/_interopDefault(Text);
128
129
  var FlatButton__default = /*#__PURE__*/_interopDefault(FlatButton);
130
+ var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
131
+ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanceProperty);
132
+ var upperFirst__default = /*#__PURE__*/_interopDefault(upperFirst);
129
133
  var LoadingSpinner__default = /*#__PURE__*/_interopDefault(LoadingSpinner);
130
134
  var CTLogoSVG__default = /*#__PURE__*/_interopDefault(CTLogoSVG);
131
135
  var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construct);
@@ -134,7 +138,6 @@ var _reduceInstanceProperty__default = /*#__PURE__*/_interopDefault(_reduceInsta
134
138
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
135
139
  var LogoSVG__default = /*#__PURE__*/_interopDefault(LogoSVG);
136
140
  var _trimInstanceProperty__default = /*#__PURE__*/_interopDefault(_trimInstanceProperty);
137
- var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
138
141
  var Downshift__default = /*#__PURE__*/_interopDefault(Downshift);
139
142
  var Avatar__default = /*#__PURE__*/_interopDefault(Avatar);
140
143
  var AccessibleHidden__default = /*#__PURE__*/_interopDefault(AccessibleHidden);
@@ -1050,6 +1053,53 @@ GtmBooter.propTypes = {
1050
1053
  };
1051
1054
  GtmBooter.displayName = 'GtmBooter';
1052
1055
 
1056
+ var maxTitleCharLength = 24;
1057
+ var staticPaths = ['account', 'login'];
1058
+ var defaultProps$1 = {
1059
+ additionalParts: []
1060
+ };
1061
+
1062
+ var usePageTitle = function usePageTitle(props) {
1063
+ var _context, _context3;
1064
+
1065
+ var location = reactRouterDom.useLocation();
1066
+
1067
+ var _location$pathname$sp = location.pathname.split('/'),
1068
+ _location$pathname$sp2 = _slicedToArray(_location$pathname$sp, 3),
1069
+ projectKeyOrStaticPath = _location$pathname$sp2[1],
1070
+ entryPointUriPath = _location$pathname$sp2[2];
1071
+
1072
+ var customTitleParts = _mapInstanceProperty__default["default"](_context = props.additionalParts).call(_context, function (titlePart) {
1073
+ if (titlePart.length <= maxTitleCharLength) {
1074
+ return titlePart;
1075
+ }
1076
+
1077
+ return [_sliceInstanceProperty__default["default"](titlePart).call(titlePart, 0, maxTitleCharLength / 2), _sliceInstanceProperty__default["default"](titlePart).call(titlePart, titlePart.length - maxTitleCharLength / 2)].join('...');
1078
+ });
1079
+
1080
+ if (_includesInstanceProperty__default["default"](staticPaths).call(staticPaths, projectKeyOrStaticPath)) {
1081
+ var _context2;
1082
+
1083
+ return _concatInstanceProperty__default["default"](_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
1084
+ }
1085
+
1086
+ return _concatInstanceProperty__default["default"](_context3 = []).call(_context3, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
1087
+ };
1088
+
1089
+ var ApplicationPageTitle = function ApplicationPageTitle(props) {
1090
+ var pageTitle = usePageTitle(props);
1091
+ react.useLayoutEffect(function () {
1092
+ document.title = pageTitle;
1093
+ }, [pageTitle]);
1094
+ return null;
1095
+ };
1096
+
1097
+ ApplicationPageTitle.propTypes = {
1098
+ additionalParts: _pt__default["default"].arrayOf(_pt__default["default"].string).isRequired
1099
+ };
1100
+ ApplicationPageTitle.displayName = 'ApplicationPageTitle';
1101
+ ApplicationPageTitle.defaultProps = defaultProps$1;
1102
+
1053
1103
  var ApplicationLoader = function ApplicationLoader(props) {
1054
1104
  return jsxRuntime.jsxs("div", {
1055
1105
  css: /*#__PURE__*/react$2.css("display:flex;align-items:center;justify-content:center;flex:1;flex-direction:column;height:100vh;padding:", designSystem.customProperties.spacingL, ";>*+*{margin:", designSystem.customProperties.spacingL, " 0 0;}" + (process.env.NODE_ENV === "production" ? "" : ";label:ApplicationLoader;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcGxpY2F0aW9uLWxvYWRlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV1kiLCJmaWxlIjoiYXBwbGljYXRpb24tbG9hZGVyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcbmltcG9ydCBMb2FkaW5nU3Bpbm5lciBmcm9tICdAY29tbWVyY2V0b29scy11aWtpdC9sb2FkaW5nLXNwaW5uZXInO1xuaW1wb3J0IHsgY3VzdG9tUHJvcGVydGllcyB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L2Rlc2lnbi1zeXN0ZW0nO1xuaW1wb3J0IENUTG9nb1NWRyBmcm9tICdAY29tbWVyY2V0b29scy1mcm9udGVuZC9hc3NldHMvaW1hZ2VzL2N0LWxvZ28uc3ZnJztcblxudHlwZSBQcm9wcyA9IHtcbiAgc2hvd0xvZ28/OiBib29sZWFuO1xufTtcblxuY29uc3QgQXBwbGljYXRpb25Mb2FkZXIgPSAocHJvcHM6IFByb3BzKSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e2Nzc2BcbiAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICBmbGV4OiAxO1xuICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgIGhlaWdodDogMTAwdmg7XG4gICAgICBwYWRkaW5nOiAke2N1c3RvbVByb3BlcnRpZXMuc3BhY2luZ0x9O1xuXG4gICAgICA+ICogKyAqIHtcbiAgICAgICAgbWFyZ2luOiAke2N1c3RvbVByb3BlcnRpZXMuc3BhY2luZ0x9IDAgMDtcbiAgICAgIH1cbiAgICBgfVxuICAgIGRhdGEtdGVzdGlkPVwiYXBwbGljYXRpb24tbG9hZGVyXCJcbiAgPlxuICAgIDxMb2FkaW5nU3Bpbm5lciAvPlxuICAgIHtwcm9wcy5zaG93TG9nbyA9PT0gdHJ1ZSA/IChcbiAgICAgIDxpbWcgYWx0PVwiY29tbWVyY2V0b29scyBsb2dvXCIgc3JjPXtDVExvZ29TVkd9IC8+XG4gICAgKSA6IG51bGx9XG4gIDwvZGl2PlxuKTtcbkFwcGxpY2F0aW9uTG9hZGVyLmRpc3BsYXlOYW1lID0gJ0FwcGxpY2F0aW9uTG9hZGVyJztcblxuZXhwb3J0IGRlZmF1bHQgQXBwbGljYXRpb25Mb2FkZXI7XG4iXX0= */"),
@@ -1268,9 +1318,9 @@ var ApplicationShellProvider = function ApplicationShellProvider(props) {
1268
1318
  fallback: jsxRuntime.jsx(ApplicationLoader, {}),
1269
1319
  children: jsxRuntime.jsx(reactRouterDom.Router, {
1270
1320
  history: ApplicationShellProvider.history,
1271
- children: jsxRuntime.jsx(GtmBooter, {
1321
+ children: jsxRuntime.jsxs(GtmBooter, {
1272
1322
  trackingEventList: props.trackingEventList || {},
1273
- children: jsxRuntime.jsx(AuthenticationRoutes, {
1323
+ children: [jsxRuntime.jsx(ApplicationPageTitle, {}), jsxRuntime.jsx(AuthenticationRoutes, {
1274
1324
  locale: browserLocale,
1275
1325
  applicationMessages: props.applicationMessages,
1276
1326
  render: function render(_ref) {
@@ -1294,7 +1344,7 @@ var ApplicationShellProvider = function ApplicationShellProvider(props) {
1294
1344
  }
1295
1345
  });
1296
1346
  }
1297
- })
1347
+ })]
1298
1348
  })
1299
1349
  })
1300
1350
  })
@@ -2448,19 +2498,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
2448
2498
  } : {};
2449
2499
 
2450
2500
  var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
2451
- return Promise.resolve().then(function () { return require('./project-not-found-05608a7b.cjs.dev.js'
2501
+ return Promise.resolve().then(function () { return require('./project-not-found-f4588a92.cjs.dev.js'
2452
2502
  /* webpackChunkName: "project-not-found" */
2453
2503
  ); });
2454
2504
  });
2455
2505
 
2456
2506
  var ProjectExpired = /*#__PURE__*/react.lazy(function () {
2457
- return Promise.resolve().then(function () { return require('./project-expired-5609f6c3.cjs.dev.js'
2507
+ return Promise.resolve().then(function () { return require('./project-expired-884349ac.cjs.dev.js'
2458
2508
  /* webpackChunkName: "project-expired" */
2459
2509
  ); });
2460
2510
  });
2461
2511
 
2462
2512
  var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
2463
- return Promise.resolve().then(function () { return require('./project-not-initialized-f715cd11.cjs.dev.js'
2513
+ return Promise.resolve().then(function () { return require('./project-not-initialized-e14aec3c.cjs.dev.js'
2464
2514
  /* webpackChunkName: "project-not-initialized" */
2465
2515
  ); });
2466
2516
  });
@@ -2507,7 +2557,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
2507
2557
  RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
2508
2558
 
2509
2559
  var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
2510
- return Promise.resolve().then(function () { return require('./project-suspended-4e25c346.cjs.dev.js'
2560
+ return Promise.resolve().then(function () { return require('./project-suspended-9dc74eb9.cjs.dev.js'
2511
2561
  /* webpackChunkName: "project-suspended" */
2512
2562
  ); });
2513
2563
  });
@@ -3853,7 +3903,7 @@ var pimIndexerStates = {
3853
3903
  };
3854
3904
 
3855
3905
  var QuickAccess = /*#__PURE__*/react.lazy(function () {
3856
- return Promise.resolve().then(function () { return require('./quick-access-44288a69.cjs.dev.js'
3906
+ return Promise.resolve().then(function () { return require('./quick-access-529bfe5e.cjs.dev.js'
3857
3907
  /* webpackChunkName: "quick-access" */
3858
3908
  ); });
3859
3909
  });
@@ -1,7 +1,7 @@
1
1
  import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableArray';
2
2
  import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
3
3
  import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
4
- import { O as OIDC_CLAIMS } from './constants-a3c850be.esm.js';
4
+ import { O as OIDC_CLAIMS } from './constants-0d48a7ae.esm.js';
5
5
 
6
6
  var buildOidcScope = function buildOidcScope(options) {
7
7
  var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2, _context7;
@@ -3,7 +3,7 @@
3
3
  var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
4
4
  var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
5
5
  var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
6
- var constants = require('./constants-d9a5241e.cjs.dev.js');
6
+ var constants = require('./constants-41338dec.cjs.dev.js');
7
7
 
8
8
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
9
9
 
@@ -3,7 +3,7 @@
3
3
  var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
4
4
  var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
5
5
  var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
6
- var constants = require('./constants-c2c238ff.cjs.prod.js');
6
+ var constants = require('./constants-9ffc458b.cjs.prod.js');
7
7
 
8
8
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
9
9
 
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
10
10
  import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
11
11
  import ProjectExpiredSVG from '@commercetools-frontend/assets/images/hourglass.svg';
12
12
  import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
13
- import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-d1c2ae56.esm.js';
13
+ import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-3faeb457.esm.js';
14
14
  import { jsx } from '@emotion/react/jsx-runtime';
15
15
  import '@emotion/styled/base';
16
16
  import 'react-router-dom';
17
17
  import '@commercetools-frontend/application-shell-connectors';
18
- import './index-428502d7.esm.js';
19
- import './application-entry-point-9c924b81.esm.js';
18
+ import './index-aee304c6.esm.js';
19
+ import './application-entry-point-0de0fed2.esm.js';
20
20
  import '@babel/runtime-corejs3/helpers/toConsumableArray';
21
21
  import '@babel/runtime-corejs3/helpers/slicedToArray';
22
22
  import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
@@ -30,7 +30,7 @@ import 'omit-empty-es';
30
30
  import '@commercetools-frontend/notifications';
31
31
  import '@commercetools-frontend/sdk';
32
32
  import '@commercetools-frontend/constants';
33
- import './constants-a3c850be.esm.js';
33
+ import './constants-0d48a7ae.esm.js';
34
34
  import '@commercetools-frontend/react-notifications';
35
35
  import '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
36
36
  import '@babel/runtime-corejs3/core-js-stable/instance/includes';
@@ -79,7 +79,7 @@ import 'perfume.js';
79
79
  import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
80
80
  import 'lodash/camelCase';
81
81
  import '@apollo/client/react';
82
- import './oidc-5cae2dba.esm.js';
82
+ import './oidc-4c509f49.esm.js';
83
83
  import 'qss';
84
84
  import 'jwt-decode';
85
85
  import '@commercetools-frontend/assets/images/locked-diamond.svg';
@@ -90,6 +90,7 @@ import '@commercetools-uikit/card';
90
90
  import '@commercetools-uikit/text';
91
91
  import '@commercetools-uikit/flat-button';
92
92
  import '@commercetools-uikit/icons';
93
+ import 'lodash/upperFirst';
93
94
  import '@commercetools-frontend/assets/images/ct-logo.svg';
94
95
  import '@commercetools-frontend/assets/images/icecream.svg';
95
96
  import '@commercetools-frontend/l10n';
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
12
12
  var reactIntl = require('react-intl');
13
13
  var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
14
14
  var applicationComponents = require('@commercetools-frontend/application-components');
15
- var servicePageProjectSwitcher = require('./service-page-project-switcher-ae61c39d.cjs.prod.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-5c01b213.cjs.dev.js');
16
16
  var jsxRuntime = require('@emotion/react/jsx-runtime');
17
17
  require('@emotion/styled/base');
18
18
  require('react-router-dom');
19
19
  require('@commercetools-frontend/application-shell-connectors');
20
- require('./index-a544deff.cjs.prod.js');
21
- require('./application-entry-point-f5a19490.cjs.prod.js');
20
+ require('./index-bf785dc5.cjs.dev.js');
21
+ require('./application-entry-point-379ddfbf.cjs.dev.js');
22
22
  require('@babel/runtime-corejs3/helpers/toConsumableArray');
23
23
  require('@babel/runtime-corejs3/helpers/slicedToArray');
24
24
  require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
@@ -32,7 +32,7 @@ require('omit-empty-es');
32
32
  require('@commercetools-frontend/notifications');
33
33
  require('@commercetools-frontend/sdk');
34
34
  require('@commercetools-frontend/constants');
35
- require('./constants-c2c238ff.cjs.prod.js');
35
+ require('./constants-41338dec.cjs.dev.js');
36
36
  require('@commercetools-frontend/react-notifications');
37
37
  require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
38
38
  require('@babel/runtime-corejs3/core-js-stable/instance/includes');
@@ -81,7 +81,7 @@ require('perfume.js');
81
81
  require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
82
82
  require('lodash/camelCase');
83
83
  require('@apollo/client/react');
84
- require('./oidc-5b507512.cjs.prod.js');
84
+ require('./oidc-a2126dac.cjs.dev.js');
85
85
  require('qss');
86
86
  require('jwt-decode');
87
87
  require('@commercetools-frontend/assets/images/locked-diamond.svg');
@@ -92,6 +92,7 @@ require('@commercetools-uikit/card');
92
92
  require('@commercetools-uikit/text');
93
93
  require('@commercetools-uikit/flat-button');
94
94
  require('@commercetools-uikit/icons');
95
+ require('lodash/upperFirst');
95
96
  require('@commercetools-frontend/assets/images/ct-logo.svg');
96
97
  require('@commercetools-frontend/assets/images/icecream.svg');
97
98
  require('@commercetools-frontend/l10n');
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
12
12
  var reactIntl = require('react-intl');
13
13
  var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
14
14
  var applicationComponents = require('@commercetools-frontend/application-components');
15
- var servicePageProjectSwitcher = require('./service-page-project-switcher-a1cbb100.cjs.dev.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-38236d62.cjs.prod.js');
16
16
  var jsxRuntime = require('@emotion/react/jsx-runtime');
17
17
  require('@emotion/styled/base');
18
18
  require('react-router-dom');
19
19
  require('@commercetools-frontend/application-shell-connectors');
20
- require('./index-e4a6db71.cjs.dev.js');
21
- require('./application-entry-point-43fd73f5.cjs.dev.js');
20
+ require('./index-23885269.cjs.prod.js');
21
+ require('./application-entry-point-d7ed60b0.cjs.prod.js');
22
22
  require('@babel/runtime-corejs3/helpers/toConsumableArray');
23
23
  require('@babel/runtime-corejs3/helpers/slicedToArray');
24
24
  require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
@@ -32,7 +32,7 @@ require('omit-empty-es');
32
32
  require('@commercetools-frontend/notifications');
33
33
  require('@commercetools-frontend/sdk');
34
34
  require('@commercetools-frontend/constants');
35
- require('./constants-d9a5241e.cjs.dev.js');
35
+ require('./constants-9ffc458b.cjs.prod.js');
36
36
  require('@commercetools-frontend/react-notifications');
37
37
  require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
38
38
  require('@babel/runtime-corejs3/core-js-stable/instance/includes');
@@ -81,7 +81,7 @@ require('perfume.js');
81
81
  require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
82
82
  require('lodash/camelCase');
83
83
  require('@apollo/client/react');
84
- require('./oidc-9134face.cjs.dev.js');
84
+ require('./oidc-d13fc045.cjs.prod.js');
85
85
  require('qss');
86
86
  require('jwt-decode');
87
87
  require('@commercetools-frontend/assets/images/locked-diamond.svg');
@@ -92,6 +92,7 @@ require('@commercetools-uikit/card');
92
92
  require('@commercetools-uikit/text');
93
93
  require('@commercetools-uikit/flat-button');
94
94
  require('@commercetools-uikit/icons');
95
+ require('lodash/upperFirst');
95
96
  require('@commercetools-frontend/assets/images/ct-logo.svg');
96
97
  require('@commercetools-frontend/assets/images/icecream.svg');
97
98
  require('@commercetools-frontend/l10n');
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
12
12
  var reactIntl = require('react-intl');
13
13
  var FailedAuthorizationSVG = require('@commercetools-frontend/assets/images/folder-full-locked.svg');
14
14
  var applicationComponents = require('@commercetools-frontend/application-components');
15
- var servicePageProjectSwitcher = require('./service-page-project-switcher-a1cbb100.cjs.dev.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-38236d62.cjs.prod.js');
16
16
  var jsxRuntime = require('@emotion/react/jsx-runtime');
17
17
  require('@emotion/styled/base');
18
18
  require('react-router-dom');
19
19
  require('@commercetools-frontend/application-shell-connectors');
20
- require('./index-e4a6db71.cjs.dev.js');
21
- require('./application-entry-point-43fd73f5.cjs.dev.js');
20
+ require('./index-23885269.cjs.prod.js');
21
+ require('./application-entry-point-d7ed60b0.cjs.prod.js');
22
22
  require('@babel/runtime-corejs3/helpers/toConsumableArray');
23
23
  require('@babel/runtime-corejs3/helpers/slicedToArray');
24
24
  require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
@@ -32,7 +32,7 @@ require('omit-empty-es');
32
32
  require('@commercetools-frontend/notifications');
33
33
  require('@commercetools-frontend/sdk');
34
34
  require('@commercetools-frontend/constants');
35
- require('./constants-d9a5241e.cjs.dev.js');
35
+ require('./constants-9ffc458b.cjs.prod.js');
36
36
  require('@commercetools-frontend/react-notifications');
37
37
  require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
38
38
  require('@babel/runtime-corejs3/core-js-stable/instance/includes');
@@ -81,7 +81,7 @@ require('perfume.js');
81
81
  require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
82
82
  require('lodash/camelCase');
83
83
  require('@apollo/client/react');
84
- require('./oidc-9134face.cjs.dev.js');
84
+ require('./oidc-d13fc045.cjs.prod.js');
85
85
  require('qss');
86
86
  require('jwt-decode');
87
87
  require('@commercetools-frontend/assets/images/locked-diamond.svg');
@@ -92,6 +92,7 @@ require('@commercetools-uikit/card');
92
92
  require('@commercetools-uikit/text');
93
93
  require('@commercetools-uikit/flat-button');
94
94
  require('@commercetools-uikit/icons');
95
+ require('lodash/upperFirst');
95
96
  require('@commercetools-frontend/assets/images/ct-logo.svg');
96
97
  require('@commercetools-frontend/assets/images/icecream.svg');
97
98
  require('@commercetools-frontend/l10n');
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
10
10
  import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
11
11
  import FailedAuthorizationSVG from '@commercetools-frontend/assets/images/folder-full-locked.svg';
12
12
  import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
13
- import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-d1c2ae56.esm.js';
13
+ import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-3faeb457.esm.js';
14
14
  import { jsx } from '@emotion/react/jsx-runtime';
15
15
  import '@emotion/styled/base';
16
16
  import 'react-router-dom';
17
17
  import '@commercetools-frontend/application-shell-connectors';
18
- import './index-428502d7.esm.js';
19
- import './application-entry-point-9c924b81.esm.js';
18
+ import './index-aee304c6.esm.js';
19
+ import './application-entry-point-0de0fed2.esm.js';
20
20
  import '@babel/runtime-corejs3/helpers/toConsumableArray';
21
21
  import '@babel/runtime-corejs3/helpers/slicedToArray';
22
22
  import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
@@ -30,7 +30,7 @@ import 'omit-empty-es';
30
30
  import '@commercetools-frontend/notifications';
31
31
  import '@commercetools-frontend/sdk';
32
32
  import '@commercetools-frontend/constants';
33
- import './constants-a3c850be.esm.js';
33
+ import './constants-0d48a7ae.esm.js';
34
34
  import '@commercetools-frontend/react-notifications';
35
35
  import '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
36
36
  import '@babel/runtime-corejs3/core-js-stable/instance/includes';
@@ -79,7 +79,7 @@ import 'perfume.js';
79
79
  import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
80
80
  import 'lodash/camelCase';
81
81
  import '@apollo/client/react';
82
- import './oidc-5cae2dba.esm.js';
82
+ import './oidc-4c509f49.esm.js';
83
83
  import 'qss';
84
84
  import 'jwt-decode';
85
85
  import '@commercetools-frontend/assets/images/locked-diamond.svg';
@@ -90,6 +90,7 @@ import '@commercetools-uikit/card';
90
90
  import '@commercetools-uikit/text';
91
91
  import '@commercetools-uikit/flat-button';
92
92
  import '@commercetools-uikit/icons';
93
+ import 'lodash/upperFirst';
93
94
  import '@commercetools-frontend/assets/images/ct-logo.svg';
94
95
  import '@commercetools-frontend/assets/images/icecream.svg';
95
96
  import '@commercetools-frontend/l10n';