@lendi/navbar 7.22.3 → 7.23.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.
@@ -19,7 +19,7 @@ export declare const NAV_MENU_ITEMS: NavElements[];
19
19
  interface NavTypes {
20
20
  isSlideout?: boolean;
21
21
  }
22
- export declare type NavProps = GlobalProps & NavTypes & {
22
+ export type NavProps = GlobalProps & NavTypes & {
23
23
  navOptions: NavElements[];
24
24
  };
25
25
  export interface MenuItemProps {
@@ -7,7 +7,7 @@ export interface AuthenticationProps {
7
7
  interface SignOutProps {
8
8
  onLogout: () => void;
9
9
  }
10
- export declare type AccountProps = AuthenticationProps & PrimaryCTAProps & TalkToExpertProps & SignOutProps;
10
+ export type AccountProps = AuthenticationProps & PrimaryCTAProps & TalkToExpertProps & SignOutProps;
11
11
  export declare const AccountDropdown: ({ application, session, handleApplyNowClick, teamMember, openCommPanel, onLogout, }: AccountProps) => JSX.Element;
12
12
  export declare const AccountSlideoutMenu: ({ session, application, teamMember, handleApplyNowClick, openCommPanel, onLogout, }: AccountProps) => JSX.Element;
13
13
  export {};
@@ -2,6 +2,6 @@ import { TalkToExpertProps } from './TalkToExpert';
2
2
  import { NavProps } from '../Nav';
3
3
  import { PrimaryCTAProps } from '../PrimaryCTA';
4
4
  import { AuthenticationProps } from './AccountMenu';
5
- declare type HamburgerMenuProps = PrimaryCTAProps & TalkToExpertProps & AuthenticationProps;
5
+ type HamburgerMenuProps = PrimaryCTAProps & TalkToExpertProps & AuthenticationProps;
6
6
  export declare const HamburgerMenu: ({ navOptions, ...props }: HamburgerMenuProps & NavProps) => JSX.Element;
7
7
  export {};
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { MultiNavbarProps } from '..';
3
- export declare const MultiNavbar: React.FC<MultiNavbarProps & (import("..").SimpleNavbarProps | MultiNavbarProps)>;
3
+ export declare const MultiNavbar: React.FC<MultiNavbarProps | (MultiNavbarProps & import("..").SimpleNavbarProps)>;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { SimpleNavbarProps } from '..';
3
- export declare const SimpleNavbar: React.FC<SimpleNavbarProps & (SimpleNavbarProps | import("..").MultiNavbarProps)>;
3
+ export declare const SimpleNavbar: React.FC<SimpleNavbarProps | (SimpleNavbarProps & import("..").MultiNavbarProps)>;
@@ -3,5 +3,5 @@ import { Application } from '../types';
3
3
  interface FunnelApplicationAPIResponse {
4
4
  data: Application[];
5
5
  }
6
- export declare const getApplications: (session: SessionState, customerId?: string | undefined, limit?: number | undefined, orderBy?: string | undefined) => Promise<FunnelApplicationAPIResponse>;
6
+ export declare const getApplications: (session: SessionState, customerId?: string, limit?: number, orderBy?: string) => Promise<FunnelApplicationAPIResponse>;
7
7
  export {};
@@ -40,7 +40,7 @@ export declare enum ApplicationStage {
40
40
  finalised_application = "finalised_application",
41
41
  loan_selected = "loan_selected"
42
42
  }
43
- export declare type ApplicationType = 'Refinance' | 'New Purchase';
43
+ export type ApplicationType = 'Refinance' | 'New Purchase';
44
44
  export interface Applicant {
45
45
  uuid?: string;
46
46
  sfid?: string;
@@ -1,2 +1,2 @@
1
1
  import { Environment } from '@lendi/lala-react';
2
- export declare const getEnvFromHostname: (hostname?: string | undefined) => Environment;
2
+ export declare const getEnvFromHostname: (hostname?: string) => Environment;
@@ -1,2 +1,2 @@
1
1
  import { Brand, Environment } from '@lendi/lala-react';
2
- export declare const getSignInURL: (brand: Brand, env: Environment, returnURL?: string | undefined) => string;
2
+ export declare const getSignInURL: (brand: Brand, env: Environment, returnURL?: string) => string;
@@ -1,4 +1,4 @@
1
- export declare type UserType = 'customer' | 'broker';
1
+ export type UserType = 'customer' | 'broker';
2
2
  export interface Customer {
3
3
  customerId: string;
4
4
  name?: string;
@@ -112,26 +112,26 @@ function _defineProperty(obj, key, value) {
112
112
  return obj;
113
113
  }
114
114
 
115
- function ownKeys(object, enumerableOnly) {
116
- var keys = Object.keys(object);
115
+ function ownKeys(e, r) {
116
+ var t = Object.keys(e);
117
117
  if (Object.getOwnPropertySymbols) {
118
- var symbols = Object.getOwnPropertySymbols(object);
119
- enumerableOnly && (symbols = symbols.filter(function (sym) {
120
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
121
- })), keys.push.apply(keys, symbols);
118
+ var o = Object.getOwnPropertySymbols(e);
119
+ r && (o = o.filter(function (r) {
120
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
121
+ })), t.push.apply(t, o);
122
122
  }
123
- return keys;
123
+ return t;
124
124
  }
125
- function _objectSpread2(target) {
126
- for (var i = 1; i < arguments.length; i++) {
127
- var source = null != arguments[i] ? arguments[i] : {};
128
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
129
- _defineProperty(target, key, source[key]);
130
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
131
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
125
+ function _objectSpread2(e) {
126
+ for (var r = 1; r < arguments.length; r++) {
127
+ var t = null != arguments[r] ? arguments[r] : {};
128
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
129
+ _defineProperty(e, r, t[r]);
130
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
131
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
132
132
  });
133
133
  }
134
- return target;
134
+ return e;
135
135
  }
136
136
 
137
137
  var analytics = navbarAnalyticsEvent => {
@@ -610,7 +610,7 @@ var RenderChatOrSideBar = _ref => {
610
610
  });
611
611
  };
612
612
  var RenderDesktopAction = _ref2 => {
613
- var _window, _window$location, _window2, _window2$location;
613
+ var _window, _window2;
614
614
  var {
615
615
  dashboardVariant,
616
616
  isAuthenticated,
@@ -623,8 +623,8 @@ var RenderDesktopAction = _ref2 => {
623
623
  hasUnreadMessages
624
624
  } = _ref2;
625
625
  var brand = lalaUtils.getBrandFromHostname();
626
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
627
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
626
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
627
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
628
628
  var isDomain = brand === lalaUtils.Brand.Domain;
629
629
  var path = isDomain ? PATH_DOMAIN : PATH_LENDI;
630
630
  var renderSecondaryBtn = (isAuthenticated, showBookanAppointmentCta, showContinueAction) => {
@@ -695,7 +695,7 @@ var MobileActionsWrapper = styled__default["default"].div.withConfig({
695
695
  })(["display:flex;", ";.noHover{", ";:hover{box-shadow:none;}}"], breakpoint.gte('desktop')(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n display: none;\n "]))), spacing.mr('nil'));
696
696
 
697
697
  var RenderMobileAction = _ref => {
698
- var _window, _window$location, _window2, _window2$location;
698
+ var _window, _window2;
699
699
  var {
700
700
  isAuthenticated,
701
701
  continueURL,
@@ -711,8 +711,8 @@ var RenderMobileAction = _ref => {
711
711
  var needToContinue = () => isAuthenticated && showContinueAction;
712
712
  var needToSignIn = () => !isAuthenticated && showContinueAction;
713
713
  var brand = lalaUtils.getBrandFromHostname();
714
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
715
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
714
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
715
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
716
716
  var primaryLabel = customerOwner !== null && customerOwner !== void 0 && customerOwner.firstName ? "Talk to ".concat(customerOwner.firstName) : needToContinue() ? CONTACT_US : brand === 'aussie' ? LABEL_TALK_TO_A_BROKER : LABEL_TALK_TO_EXPERT;
717
717
  return /*#__PURE__*/jsxRuntime.jsxs(MobileActionsWrapper, {
718
718
  children: [showTalkToExpertCta && /*#__PURE__*/jsxRuntime.jsx(TalkExpertAction, {
@@ -1516,14 +1516,14 @@ var SlideoutMenuBase = _ref3 => {
1516
1516
 
1517
1517
  var onAnimationEnd = () => {
1518
1518
  if (!isOpen) {
1519
- var _slideoutRef$current, _slideoutRef$current$;
1519
+ var _slideoutRef$current;
1520
1520
  // happens after close
1521
- slideoutRef === null || slideoutRef === void 0 ? void 0 : (_slideoutRef$current = slideoutRef.current) === null || _slideoutRef$current === void 0 ? void 0 : (_slideoutRef$current$ = _slideoutRef$current.classList) === null || _slideoutRef$current$ === void 0 ? void 0 : _slideoutRef$current$.remove("slide-out-right");
1521
+ slideoutRef === null || slideoutRef === void 0 || (_slideoutRef$current = slideoutRef.current) === null || _slideoutRef$current === void 0 || (_slideoutRef$current = _slideoutRef$current.classList) === null || _slideoutRef$current === void 0 || _slideoutRef$current.remove("slide-out-right");
1522
1522
  if (slideoutRef !== null && slideoutRef !== void 0 && slideoutRef.current) slideoutRef.current.style.display = 'none';
1523
1523
  } else {
1524
1524
  var _slideoutRef$current2;
1525
1525
  // happens after open
1526
- slideoutRef === null || slideoutRef === void 0 ? void 0 : (_slideoutRef$current2 = slideoutRef.current) === null || _slideoutRef$current2 === void 0 ? void 0 : _slideoutRef$current2.classList.remove("slide-in-right");
1526
+ slideoutRef === null || slideoutRef === void 0 || (_slideoutRef$current2 = slideoutRef.current) === null || _slideoutRef$current2 === void 0 || _slideoutRef$current2.classList.remove("slide-in-right");
1527
1527
  }
1528
1528
  };
1529
1529
  return /*#__PURE__*/jsxRuntime.jsxs(FocusLock__default["default"], {
@@ -1854,7 +1854,7 @@ var MULTI_MENU_OPTIONS = [{
1854
1854
  }];
1855
1855
 
1856
1856
  var DesktopActions = _ref => {
1857
- var _window, _window$location, _window2, _window2$location;
1857
+ var _window, _window2;
1858
1858
  var {
1859
1859
  isAuthenticated,
1860
1860
  continueURL,
@@ -1865,8 +1865,8 @@ var DesktopActions = _ref => {
1865
1865
  showTalkToExpertCta
1866
1866
  } = _ref;
1867
1867
  var brand = lalaUtils.getBrandFromHostname();
1868
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
1869
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
1868
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
1869
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
1870
1870
  var primaryLabel = teamMember !== null && teamMember !== void 0 && teamMember.firstName ? "Talk to ".concat(teamMember.firstName) : brand === 'aussie' ? LABEL_TALK_TO_A_BROKER : LABEL_TALK_TO_EXPERT;
1871
1871
  return /*#__PURE__*/jsxRuntime.jsxs(DesktopActionsWrapper, {
1872
1872
  children: [showTalkToExpertCta && /*#__PURE__*/jsxRuntime.jsx(TalkExpertAction$1, {
@@ -1914,7 +1914,7 @@ var DesktopActions = _ref => {
1914
1914
  };
1915
1915
 
1916
1916
  var MobileActions = _ref => {
1917
- var _window, _window$location, _window2, _window2$location;
1917
+ var _window, _window2;
1918
1918
  var {
1919
1919
  isAuthenticated,
1920
1920
  continueURL,
@@ -1925,8 +1925,8 @@ var MobileActions = _ref => {
1925
1925
  showTalkToExpertCta
1926
1926
  } = _ref;
1927
1927
  var brand = lalaUtils.getBrandFromHostname();
1928
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
1929
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
1928
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
1929
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
1930
1930
  var {
1931
1931
  isTransparent
1932
1932
  } = NavbarBase.useNavbarBaseContext();
@@ -2871,7 +2871,7 @@ var NavDropdown = _ref2 => {
2871
2871
  var [isOpen, setIsOpen] = React.useState(false);
2872
2872
  var handleClick = event => {
2873
2873
  setIsOpen(!isOpen);
2874
- onClick === null || onClick === void 0 ? void 0 : onClick(event, !isOpen);
2874
+ onClick === null || onClick === void 0 || onClick(event, !isOpen);
2875
2875
  };
2876
2876
  React.useEffect(() => {
2877
2877
  var pageClickEvent = event => {
@@ -3307,7 +3307,7 @@ var ApplyNowButton = _ref => {
3307
3307
  size
3308
3308
  } = _ref;
3309
3309
  var handleClick = () => {
3310
- onClick === null || onClick === void 0 ? void 0 : onClick();
3310
+ onClick === null || onClick === void 0 || onClick();
3311
3311
  var event = {
3312
3312
  event_name: 'Button Clicked',
3313
3313
  category: analytics$1.EventCategory.NAVBAR,
@@ -3551,12 +3551,11 @@ var MENU_LINKS = [{
3551
3551
  // link: 'https://aussie.openportal.com.au/portal/ahl/#/',
3552
3552
  // },
3553
3553
  ];
3554
-
3555
3554
  var LoggedOutContent = () => {
3556
- var _window, _window$location, _window2, _window2$location;
3555
+ var _window, _window2;
3557
3556
  var brand = lalaUtils.getBrandFromHostname();
3558
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
3559
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
3557
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
3558
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
3560
3559
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
3561
3560
  children: [/*#__PURE__*/jsxRuntime.jsxs(DropwdownSecondaryContent, {
3562
3561
  children: [/*#__PURE__*/jsxRuntime.jsx(MenuPaddingAlt, {
@@ -3865,14 +3864,14 @@ var Header = withErrorProvider(launchdarkly.withLendiLDProvider(withCommPanel(He
3865
3864
 
3866
3865
  /* eslint-disable camelcase */
3867
3866
 
3868
- exports.ApplicationStage = void 0;
3869
- (function (ApplicationStage) {
3867
+ var ApplicationStage = /*#__PURE__*/function (ApplicationStage) {
3870
3868
  ApplicationStage["started_application"] = "started_application";
3871
3869
  ApplicationStage["finished_funnel2"] = "finished_funnel2";
3872
3870
  ApplicationStage["finished_funnel3"] = "finished_funnel3";
3873
3871
  ApplicationStage["finalised_application"] = "finalised_application";
3874
3872
  ApplicationStage["loan_selected"] = "loan_selected";
3875
- })(exports.ApplicationStage || (exports.ApplicationStage = {}));
3873
+ return ApplicationStage;
3874
+ }({});
3876
3875
 
3877
3876
  Object.defineProperty(exports, 'CommPanelProvider', {
3878
3877
  enumerable: true,
@@ -3882,6 +3881,7 @@ Object.defineProperty(exports, 'useCommPanel', {
3882
3881
  enumerable: true,
3883
3882
  get: function () { return chat.useBootstrappedChatState; }
3884
3883
  });
3884
+ exports.ApplicationStage = ApplicationStage;
3885
3885
  exports.GuestNavbar = GuestNavbar;
3886
3886
  exports.Header = Header;
3887
3887
  exports.MultiNavbar = MultiNavbar;
@@ -39,27 +39,27 @@ function _defineProperty(obj, key, value) {
39
39
  }) : obj[key] = value, obj;
40
40
  }
41
41
 
42
- function ownKeys(object, enumerableOnly) {
43
- var keys = Object.keys(object);
42
+ function ownKeys(e, r) {
43
+ var t = Object.keys(e);
44
44
  if (Object.getOwnPropertySymbols) {
45
- var symbols = Object.getOwnPropertySymbols(object);
46
- enumerableOnly && (symbols = symbols.filter((function(sym) {
47
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
48
- }))), keys.push.apply(keys, symbols);
45
+ var o = Object.getOwnPropertySymbols(e);
46
+ r && (o = o.filter((function(r) {
47
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
48
+ }))), t.push.apply(t, o);
49
49
  }
50
- return keys;
50
+ return t;
51
51
  }
52
52
 
53
- function _objectSpread2(target) {
54
- for (var i = 1; i < arguments.length; i++) {
55
- var source = null != arguments[i] ? arguments[i] : {};
56
- i % 2 ? ownKeys(Object(source), !0).forEach((function(key) {
57
- _defineProperty(target, key, source[key]);
58
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach((function(key) {
59
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
53
+ function _objectSpread2(e) {
54
+ for (var r = 1; r < arguments.length; r++) {
55
+ var t = null != arguments[r] ? arguments[r] : {};
56
+ r % 2 ? ownKeys(Object(t), !0).forEach((function(r) {
57
+ _defineProperty(e, r, t[r]);
58
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach((function(r) {
59
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
60
60
  }));
61
61
  }
62
- return target;
62
+ return e;
63
63
  }
64
64
 
65
65
  var _templateObject$f, _templateObject2$5, _templateObject3$2, _templateObject4$1, _templateObject5$1, analytics = navbarAnalyticsEvent => {
@@ -362,7 +362,7 @@ var _templateObject$c, _templateObject$b, _templateObject$a, _templateObject$9,
362
362
  })
363
363
  });
364
364
  }, RenderDesktopAction = _ref2 => {
365
- var _window, _window$location, _window2, _window2$location, {dashboardVariant: dashboardVariant, isAuthenticated: isAuthenticated, continueURL: continueURL, showContinueAction: showContinueAction = !1, showTalkToExpertCta: showTalkToExpertCta = !0, showBookanAppointmentCta: showBookanAppointmentCta = !0, openCommPanel: openCommPanel = (() => {}), customerOwner: customerOwner, hasUnreadMessages: hasUnreadMessages} = _ref2, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window$location = _window.location) || void 0 === _window$location ? void 0 : _window$location.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2$location = _window2.location) || void 0 === _window2$location ? void 0 : _window2$location.href), path = brand === lalaUtils.Brand.Domain ? PATH_DOMAIN : PATH_LENDI;
365
+ var _window, _window2, {dashboardVariant: dashboardVariant, isAuthenticated: isAuthenticated, continueURL: continueURL, showContinueAction: showContinueAction = !1, showTalkToExpertCta: showTalkToExpertCta = !0, showBookanAppointmentCta: showBookanAppointmentCta = !0, openCommPanel: openCommPanel = (() => {}), customerOwner: customerOwner, hasUnreadMessages: hasUnreadMessages} = _ref2, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window = _window.location) || void 0 === _window ? void 0 : _window.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2 = _window2.location) || void 0 === _window2 ? void 0 : _window2.href), path = brand === lalaUtils.Brand.Domain ? PATH_DOMAIN : PATH_LENDI;
366
366
  return jsxRuntime.jsxs(DesktopActionsWrapper, {
367
367
  children: [ showTalkToExpertCta && jsxRuntime.jsx(RenderChatOrSideBar, {
368
368
  openCommPanel: openCommPanel,
@@ -422,7 +422,7 @@ var _templateObject$c, _templateObject$b, _templateObject$a, _templateObject$9,
422
422
  displayName: "style__MobileActionsWrapper",
423
423
  componentId: "lui__sc-jzhj4e-0"
424
424
  })([ "display:flex;", ";.noHover{", ";:hover{box-shadow:none;}}" ], breakpoint.gte("desktop")(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral([ "\n display: none;\n " ]))), spacing.mr("nil")), RenderMobileAction = _ref => {
425
- var _window, _window$location, _window2, _window2$location, {isAuthenticated: isAuthenticated, continueURL: continueURL, customerOwner: customerOwner, openCommPanel: openCommPanel = (() => {}), showContinueAction: showContinueAction = !1, showTalkToExpertCta: showTalkToExpertCta = !0, hasUnreadMessages: hasUnreadMessages} = _ref, {isTransparent: isTransparent} = NavbarBase.useNavbarBaseContext(), needToContinue = () => isAuthenticated && showContinueAction, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window$location = _window.location) || void 0 === _window$location ? void 0 : _window$location.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2$location = _window2.location) || void 0 === _window2$location ? void 0 : _window2$location.href), primaryLabel = null != customerOwner && customerOwner.firstName ? "Talk to ".concat(customerOwner.firstName) : needToContinue() ? CONTACT_US : "aussie" === brand ? LABEL_TALK_TO_A_BROKER : LABEL_TALK_TO_EXPERT;
425
+ var _window, _window2, {isAuthenticated: isAuthenticated, continueURL: continueURL, customerOwner: customerOwner, openCommPanel: openCommPanel = (() => {}), showContinueAction: showContinueAction = !1, showTalkToExpertCta: showTalkToExpertCta = !0, hasUnreadMessages: hasUnreadMessages} = _ref, {isTransparent: isTransparent} = NavbarBase.useNavbarBaseContext(), needToContinue = () => isAuthenticated && showContinueAction, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window = _window.location) || void 0 === _window ? void 0 : _window.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2 = _window2.location) || void 0 === _window2 ? void 0 : _window2.href), primaryLabel = null != customerOwner && customerOwner.firstName ? "Talk to ".concat(customerOwner.firstName) : needToContinue() ? CONTACT_US : "aussie" === brand ? LABEL_TALK_TO_A_BROKER : LABEL_TALK_TO_EXPERT;
426
426
  return jsxRuntime.jsxs(MobileActionsWrapper, {
427
427
  children: [ showTalkToExpertCta && jsxRuntime.jsx(TalkExpertAction, {
428
428
  size: "sm",
@@ -973,8 +973,8 @@ var _templateObject$8, _templateObject2$3, _templateObject$7, _templateObject$6,
973
973
  topOffset: topOffset
974
974
  }, globalProps), {}, {
975
975
  onAnimationEnd: () => {
976
- var _slideoutRef$current2, _slideoutRef$current, _slideoutRef$current$;
977
- isOpen ? null == slideoutRef || null === (_slideoutRef$current2 = slideoutRef.current) || void 0 === _slideoutRef$current2 || _slideoutRef$current2.classList.remove("slide-in-right") : (null == slideoutRef || null === (_slideoutRef$current = slideoutRef.current) || void 0 === _slideoutRef$current || null === (_slideoutRef$current$ = _slideoutRef$current.classList) || void 0 === _slideoutRef$current$ || _slideoutRef$current$.remove("slide-out-right"),
976
+ var _slideoutRef$current2, _slideoutRef$current;
977
+ isOpen ? null == slideoutRef || null === (_slideoutRef$current2 = slideoutRef.current) || void 0 === _slideoutRef$current2 || _slideoutRef$current2.classList.remove("slide-in-right") : (null == slideoutRef || null === (_slideoutRef$current = slideoutRef.current) || void 0 === _slideoutRef$current || null === (_slideoutRef$current = _slideoutRef$current.classList) || void 0 === _slideoutRef$current || _slideoutRef$current.remove("slide-out-right"),
978
978
  null != slideoutRef && slideoutRef.current && (slideoutRef.current.style.display = "none"));
979
979
  },
980
980
  ref: slideoutRef,
@@ -1200,7 +1200,7 @@ var _templateObject$8, _templateObject2$3, _templateObject$7, _templateObject$6,
1200
1200
  link: "/inspire/category/life-at-lendi/"
1201
1201
  } ]
1202
1202
  } ], DesktopActions = _ref => {
1203
- var _window, _window$location, _window2, _window2$location, {isAuthenticated: isAuthenticated, continueURL: continueURL, showContinueAction: showContinueAction = !1, openCommPanel: openCommPanel = (() => {}), teamMember: teamMember, hasUnreadMessages: hasUnreadMessages, showTalkToExpertCta: showTalkToExpertCta} = _ref, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window$location = _window.location) || void 0 === _window$location ? void 0 : _window$location.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2$location = _window2.location) || void 0 === _window2$location ? void 0 : _window2$location.href), primaryLabel = null != teamMember && teamMember.firstName ? "Talk to ".concat(teamMember.firstName) : "aussie" === brand ? LABEL_TALK_TO_A_BROKER : LABEL_TALK_TO_EXPERT;
1203
+ var _window, _window2, {isAuthenticated: isAuthenticated, continueURL: continueURL, showContinueAction: showContinueAction = !1, openCommPanel: openCommPanel = (() => {}), teamMember: teamMember, hasUnreadMessages: hasUnreadMessages, showTalkToExpertCta: showTalkToExpertCta} = _ref, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window = _window.location) || void 0 === _window ? void 0 : _window.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2 = _window2.location) || void 0 === _window2 ? void 0 : _window2.href), primaryLabel = null != teamMember && teamMember.firstName ? "Talk to ".concat(teamMember.firstName) : "aussie" === brand ? LABEL_TALK_TO_A_BROKER : LABEL_TALK_TO_EXPERT;
1204
1204
  return jsxRuntime.jsxs(DesktopActionsWrapper, {
1205
1205
  children: [ showTalkToExpertCta && jsxRuntime.jsx(TalkExpertAction$1, {
1206
1206
  variant: "secondary",
@@ -1245,7 +1245,7 @@ var _templateObject$8, _templateObject2$3, _templateObject$7, _templateObject$6,
1245
1245
  }), isAuthenticated && jsxRuntime.jsx(LogoutComponent, {}) ]
1246
1246
  });
1247
1247
  }, MobileActions = _ref => {
1248
- var _window, _window$location, _window2, _window2$location, {isAuthenticated: isAuthenticated, continueURL: continueURL, showContinueAction: showContinueAction = !1, openCommPanel: openCommPanel = (() => {}), teamMember: teamMember, hasUnreadMessages: hasUnreadMessages, showTalkToExpertCta: showTalkToExpertCta} = _ref, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window$location = _window.location) || void 0 === _window$location ? void 0 : _window$location.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2$location = _window2.location) || void 0 === _window2$location ? void 0 : _window2$location.href), {isTransparent: isTransparent} = NavbarBase.useNavbarBaseContext(), secondaryLabel = null != teamMember && teamMember.firstName ? "Talk to ".concat(teamMember.firstName) : CONTACT_US;
1248
+ var _window, _window2, {isAuthenticated: isAuthenticated, continueURL: continueURL, showContinueAction: showContinueAction = !1, openCommPanel: openCommPanel = (() => {}), teamMember: teamMember, hasUnreadMessages: hasUnreadMessages, showTalkToExpertCta: showTalkToExpertCta} = _ref, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window = _window.location) || void 0 === _window ? void 0 : _window.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2 = _window2.location) || void 0 === _window2 ? void 0 : _window2.href), {isTransparent: isTransparent} = NavbarBase.useNavbarBaseContext(), secondaryLabel = null != teamMember && teamMember.firstName ? "Talk to ".concat(teamMember.firstName) : CONTACT_US;
1249
1249
  return jsxRuntime.jsxs(MobileActionsWrapper, {
1250
1250
  children: [ showTalkToExpertCta && jsxRuntime.jsx(TalkExpertActionMobile, {
1251
1251
  className: "noHover",
@@ -2399,7 +2399,7 @@ var _templateObject$3, _templateObject2$1, _templateObject$2, _templateObject$1,
2399
2399
  label: "All online banking logins",
2400
2400
  link: "https://www.aussie.com.au/get-in-touch/log-in-page/"
2401
2401
  } ], LoggedOutContent = () => {
2402
- var _window, _window$location, _window2, _window2$location, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window$location = _window.location) || void 0 === _window$location ? void 0 : _window$location.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2$location = _window2.location) || void 0 === _window2$location ? void 0 : _window2$location.href);
2402
+ var _window, _window2, brand = lalaUtils.getBrandFromHostname(), env = getEnvFromHostname(null === (_window = window) || void 0 === _window || null === (_window = _window.location) || void 0 === _window ? void 0 : _window.hostname), signInURL = getSignInURL(brand, env, null === (_window2 = window) || void 0 === _window2 || null === (_window2 = _window2.location) || void 0 === _window2 ? void 0 : _window2.href);
2403
2403
  return jsxRuntime.jsxs(jsxRuntime.Fragment, {
2404
2404
  children: [ jsxRuntime.jsxs(DropwdownSecondaryContent, {
2405
2405
  children: [ jsxRuntime.jsx(MenuPaddingAlt, {
@@ -2638,13 +2638,13 @@ var getApplications = function() {
2638
2638
  onLogout: onLogout
2639
2639
  })
2640
2640
  });
2641
- }, Header = withErrorProvider(launchdarkly.withLendiLDProvider(withCommPanel(HeaderWithContext)));
2642
-
2643
- exports.ApplicationStage = void 0, function(ApplicationStage) {
2644
- ApplicationStage.started_application = "started_application", ApplicationStage.finished_funnel2 = "finished_funnel2",
2641
+ }, Header = withErrorProvider(launchdarkly.withLendiLDProvider(withCommPanel(HeaderWithContext))), ApplicationStage = function(ApplicationStage) {
2642
+ return ApplicationStage.started_application = "started_application", ApplicationStage.finished_funnel2 = "finished_funnel2",
2645
2643
  ApplicationStage.finished_funnel3 = "finished_funnel3", ApplicationStage.finalised_application = "finalised_application",
2646
- ApplicationStage.loan_selected = "loan_selected";
2647
- }(exports.ApplicationStage || (exports.ApplicationStage = {})), Object.defineProperty(exports, "CommPanelProvider", {
2644
+ ApplicationStage.loan_selected = "loan_selected", ApplicationStage;
2645
+ }({});
2646
+
2647
+ Object.defineProperty(exports, "CommPanelProvider", {
2648
2648
  enumerable: !0,
2649
2649
  get: function() {
2650
2650
  return chat.CustomerChatBootstrapperProvider;
@@ -2654,5 +2654,5 @@ exports.ApplicationStage = void 0, function(ApplicationStage) {
2654
2654
  get: function() {
2655
2655
  return chat.useBootstrappedChatState;
2656
2656
  }
2657
- }), exports.GuestNavbar = GuestNavbar, exports.Header = Header, exports.MultiNavbar = MultiNavbar,
2658
- exports.SimpleNavbar = SimpleNavbar;
2657
+ }), exports.ApplicationStage = ApplicationStage, exports.GuestNavbar = GuestNavbar,
2658
+ exports.Header = Header, exports.MultiNavbar = MultiNavbar, exports.SimpleNavbar = SimpleNavbar;
@@ -79,26 +79,26 @@ function _defineProperty(obj, key, value) {
79
79
  return obj;
80
80
  }
81
81
 
82
- function ownKeys(object, enumerableOnly) {
83
- var keys = Object.keys(object);
82
+ function ownKeys(e, r) {
83
+ var t = Object.keys(e);
84
84
  if (Object.getOwnPropertySymbols) {
85
- var symbols = Object.getOwnPropertySymbols(object);
86
- enumerableOnly && (symbols = symbols.filter(function (sym) {
87
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
88
- })), keys.push.apply(keys, symbols);
85
+ var o = Object.getOwnPropertySymbols(e);
86
+ r && (o = o.filter(function (r) {
87
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
88
+ })), t.push.apply(t, o);
89
89
  }
90
- return keys;
90
+ return t;
91
91
  }
92
- function _objectSpread2(target) {
93
- for (var i = 1; i < arguments.length; i++) {
94
- var source = null != arguments[i] ? arguments[i] : {};
95
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
96
- _defineProperty(target, key, source[key]);
97
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
98
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
92
+ function _objectSpread2(e) {
93
+ for (var r = 1; r < arguments.length; r++) {
94
+ var t = null != arguments[r] ? arguments[r] : {};
95
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
96
+ _defineProperty(e, r, t[r]);
97
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
98
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
99
99
  });
100
100
  }
101
- return target;
101
+ return e;
102
102
  }
103
103
 
104
104
  var analytics = navbarAnalyticsEvent => {
@@ -577,7 +577,7 @@ var RenderChatOrSideBar = _ref => {
577
577
  });
578
578
  };
579
579
  var RenderDesktopAction = _ref2 => {
580
- var _window, _window$location, _window2, _window2$location;
580
+ var _window, _window2;
581
581
  var {
582
582
  dashboardVariant,
583
583
  isAuthenticated,
@@ -590,8 +590,8 @@ var RenderDesktopAction = _ref2 => {
590
590
  hasUnreadMessages
591
591
  } = _ref2;
592
592
  var brand = getBrandFromHostname();
593
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
594
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
593
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
594
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
595
595
  var isDomain = brand === Brand.Domain;
596
596
  var path = isDomain ? PATH_DOMAIN : PATH_LENDI;
597
597
  var renderSecondaryBtn = (isAuthenticated, showBookanAppointmentCta, showContinueAction) => {
@@ -662,7 +662,7 @@ var MobileActionsWrapper = styled.div.withConfig({
662
662
  })(["display:flex;", ";.noHover{", ";:hover{box-shadow:none;}}"], gte('desktop')(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n display: none;\n "]))), mr('nil'));
663
663
 
664
664
  var RenderMobileAction = _ref => {
665
- var _window, _window$location, _window2, _window2$location;
665
+ var _window, _window2;
666
666
  var {
667
667
  isAuthenticated,
668
668
  continueURL,
@@ -678,8 +678,8 @@ var RenderMobileAction = _ref => {
678
678
  var needToContinue = () => isAuthenticated && showContinueAction;
679
679
  var needToSignIn = () => !isAuthenticated && showContinueAction;
680
680
  var brand = getBrandFromHostname();
681
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
682
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
681
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
682
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
683
683
  var primaryLabel = customerOwner !== null && customerOwner !== void 0 && customerOwner.firstName ? "Talk to ".concat(customerOwner.firstName) : needToContinue() ? CONTACT_US : brand === 'aussie' ? LABEL_TALK_TO_A_BROKER : LABEL_TALK_TO_EXPERT;
684
684
  return /*#__PURE__*/jsxs(MobileActionsWrapper, {
685
685
  children: [showTalkToExpertCta && /*#__PURE__*/jsx(TalkExpertAction, {
@@ -1483,14 +1483,14 @@ var SlideoutMenuBase = _ref3 => {
1483
1483
 
1484
1484
  var onAnimationEnd = () => {
1485
1485
  if (!isOpen) {
1486
- var _slideoutRef$current, _slideoutRef$current$;
1486
+ var _slideoutRef$current;
1487
1487
  // happens after close
1488
- slideoutRef === null || slideoutRef === void 0 ? void 0 : (_slideoutRef$current = slideoutRef.current) === null || _slideoutRef$current === void 0 ? void 0 : (_slideoutRef$current$ = _slideoutRef$current.classList) === null || _slideoutRef$current$ === void 0 ? void 0 : _slideoutRef$current$.remove("slide-out-right");
1488
+ slideoutRef === null || slideoutRef === void 0 || (_slideoutRef$current = slideoutRef.current) === null || _slideoutRef$current === void 0 || (_slideoutRef$current = _slideoutRef$current.classList) === null || _slideoutRef$current === void 0 || _slideoutRef$current.remove("slide-out-right");
1489
1489
  if (slideoutRef !== null && slideoutRef !== void 0 && slideoutRef.current) slideoutRef.current.style.display = 'none';
1490
1490
  } else {
1491
1491
  var _slideoutRef$current2;
1492
1492
  // happens after open
1493
- slideoutRef === null || slideoutRef === void 0 ? void 0 : (_slideoutRef$current2 = slideoutRef.current) === null || _slideoutRef$current2 === void 0 ? void 0 : _slideoutRef$current2.classList.remove("slide-in-right");
1493
+ slideoutRef === null || slideoutRef === void 0 || (_slideoutRef$current2 = slideoutRef.current) === null || _slideoutRef$current2 === void 0 || _slideoutRef$current2.classList.remove("slide-in-right");
1494
1494
  }
1495
1495
  };
1496
1496
  return /*#__PURE__*/jsxs(FocusLock, {
@@ -1821,7 +1821,7 @@ var MULTI_MENU_OPTIONS = [{
1821
1821
  }];
1822
1822
 
1823
1823
  var DesktopActions = _ref => {
1824
- var _window, _window$location, _window2, _window2$location;
1824
+ var _window, _window2;
1825
1825
  var {
1826
1826
  isAuthenticated,
1827
1827
  continueURL,
@@ -1832,8 +1832,8 @@ var DesktopActions = _ref => {
1832
1832
  showTalkToExpertCta
1833
1833
  } = _ref;
1834
1834
  var brand = getBrandFromHostname();
1835
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
1836
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
1835
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
1836
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
1837
1837
  var primaryLabel = teamMember !== null && teamMember !== void 0 && teamMember.firstName ? "Talk to ".concat(teamMember.firstName) : brand === 'aussie' ? LABEL_TALK_TO_A_BROKER : LABEL_TALK_TO_EXPERT;
1838
1838
  return /*#__PURE__*/jsxs(DesktopActionsWrapper, {
1839
1839
  children: [showTalkToExpertCta && /*#__PURE__*/jsx(TalkExpertAction$1, {
@@ -1881,7 +1881,7 @@ var DesktopActions = _ref => {
1881
1881
  };
1882
1882
 
1883
1883
  var MobileActions = _ref => {
1884
- var _window, _window$location, _window2, _window2$location;
1884
+ var _window, _window2;
1885
1885
  var {
1886
1886
  isAuthenticated,
1887
1887
  continueURL,
@@ -1892,8 +1892,8 @@ var MobileActions = _ref => {
1892
1892
  showTalkToExpertCta
1893
1893
  } = _ref;
1894
1894
  var brand = getBrandFromHostname();
1895
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
1896
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
1895
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
1896
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
1897
1897
  var {
1898
1898
  isTransparent
1899
1899
  } = useNavbarBaseContext();
@@ -2838,7 +2838,7 @@ var NavDropdown = _ref2 => {
2838
2838
  var [isOpen, setIsOpen] = useState(false);
2839
2839
  var handleClick = event => {
2840
2840
  setIsOpen(!isOpen);
2841
- onClick === null || onClick === void 0 ? void 0 : onClick(event, !isOpen);
2841
+ onClick === null || onClick === void 0 || onClick(event, !isOpen);
2842
2842
  };
2843
2843
  useEffect(() => {
2844
2844
  var pageClickEvent = event => {
@@ -3274,7 +3274,7 @@ var ApplyNowButton = _ref => {
3274
3274
  size
3275
3275
  } = _ref;
3276
3276
  var handleClick = () => {
3277
- onClick === null || onClick === void 0 ? void 0 : onClick();
3277
+ onClick === null || onClick === void 0 || onClick();
3278
3278
  var event = {
3279
3279
  event_name: 'Button Clicked',
3280
3280
  category: EventCategory.NAVBAR,
@@ -3518,12 +3518,11 @@ var MENU_LINKS = [{
3518
3518
  // link: 'https://aussie.openportal.com.au/portal/ahl/#/',
3519
3519
  // },
3520
3520
  ];
3521
-
3522
3521
  var LoggedOutContent = () => {
3523
- var _window, _window$location, _window2, _window2$location;
3522
+ var _window, _window2;
3524
3523
  var brand = getBrandFromHostname();
3525
- var env = getEnvFromHostname((_window = window) === null || _window === void 0 ? void 0 : (_window$location = _window.location) === null || _window$location === void 0 ? void 0 : _window$location.hostname);
3526
- var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$location = _window2.location) === null || _window2$location === void 0 ? void 0 : _window2$location.href);
3524
+ var env = getEnvFromHostname((_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.hostname);
3525
+ var signInURL = getSignInURL(brand, env, (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href);
3527
3526
  return /*#__PURE__*/jsxs(Fragment, {
3528
3527
  children: [/*#__PURE__*/jsxs(DropwdownSecondaryContent, {
3529
3528
  children: [/*#__PURE__*/jsx(MenuPaddingAlt, {
@@ -3832,13 +3831,13 @@ var Header = withErrorProvider(withLendiLDProvider(withCommPanel(HeaderWithConte
3832
3831
 
3833
3832
  /* eslint-disable camelcase */
3834
3833
 
3835
- var ApplicationStage;
3836
- (function (ApplicationStage) {
3834
+ var ApplicationStage = /*#__PURE__*/function (ApplicationStage) {
3837
3835
  ApplicationStage["started_application"] = "started_application";
3838
3836
  ApplicationStage["finished_funnel2"] = "finished_funnel2";
3839
3837
  ApplicationStage["finished_funnel3"] = "finished_funnel3";
3840
3838
  ApplicationStage["finalised_application"] = "finalised_application";
3841
3839
  ApplicationStage["loan_selected"] = "loan_selected";
3842
- })(ApplicationStage || (ApplicationStage = {}));
3840
+ return ApplicationStage;
3841
+ }({});
3843
3842
 
3844
3843
  export { ApplicationStage, GuestNavbar, Header, MultiNavbar, SimpleNavbar };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lendi/navbar",
3
3
  "access": "restricted",
4
- "version": "7.22.3",
4
+ "version": "7.23.0",
5
5
  "license": "ISC",
6
6
  "source": "src/index.tsx",
7
7
  "main": "dist/navbar.cjs.js",
@@ -40,7 +40,7 @@
40
40
  "@lendi-ui/typography": "^5.13.11-beta.0",
41
41
  "@lendi-ui/utils": "^6.0.2-beta.1",
42
42
  "@lendi/analytics": "^4.6.0",
43
- "@lendi/chat": "^1.7.4",
43
+ "@lendi/chat": "^1.8.0",
44
44
  "@lendi/lala-utils": "^11.2.0",
45
45
  "@lendi/launchdarkly": "^0.1.7",
46
46
  "@lendi/lendigroup-leads-library": "^3.2.1",