@webjet/react 4.20.1 → 4.21.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.
- package/components/accordion.js +1 -1
- package/components/action-tabs.js +1 -0
- package/components/anchor-link.js +1 -1
- package/components/autocomplete.js +1 -1
- package/components/badge.js +1 -1
- package/components/banner.js +1 -1
- package/components/bottom-sheet.js +1 -1
- package/components/breadcrumb.js +1 -1
- package/components/button.js +1 -1
- package/components/card.js +1 -1
- package/components/carousel-cards.js +1 -1
- package/components/carousel-content.js +1 -1
- package/components/carousel.js +1 -1
- package/components/checkbox-list.js +1 -1
- package/components/checkbox.js +1 -1
- package/components/checklist.js +1 -1
- package/components/copy-button.js +1 -1
- package/components/countdown.js +1 -1
- package/components/counter.js +1 -1
- package/components/date-picker-input.js +1 -1
- package/components/date-picker.js +1 -1
- package/components/date-range-picker-input.js +1 -1
- package/components/date-range-picker.js +1 -1
- package/components/drawer.js +1 -1
- package/components/error-message-field.js +1 -1
- package/components/fare-card.js +1 -1
- package/components/filter-dropdown.js +1 -1
- package/components/flight-card-footer.js +1 -1
- package/components/flight-card-header.js +1 -1
- package/components/flight-card-info.js +1 -1
- package/components/flight-card.js +1 -1
- package/components/flight-details.js +1 -1
- package/components/flight-summary.js +1 -1
- package/components/floating-panel.js +1 -1
- package/components/footer-navigation.js +1 -1
- package/components/footer.js +1 -1
- package/components/header.js +1 -1
- package/components/helper-text.js +1 -1
- package/components/icon.js +1 -1
- package/components/iframe-link.js +1 -1
- package/components/info-modal.js +1 -1
- package/components/journey-line.js +1 -1
- package/components/label.js +1 -1
- package/components/leg-segment.js +1 -1
- package/components/linear-loader.js +1 -1
- package/components/link.js +1 -1
- package/components/menu-link.js +1 -1
- package/components/menu-list.js +1 -1
- package/components/modal.js +1 -1
- package/components/notification.js +1 -1
- package/components/number-stepper.js +1 -1
- package/components/pagination.js +1 -1
- package/components/panel-with-scroll-fade.js +1 -1
- package/components/passenger-counter.js +1 -1
- package/components/payment-breakdown-panel.js +1 -1
- package/components/payment-breakdown.js +1 -1
- package/components/payment-card.js +1 -1
- package/components/payment-confirmation-panel.js +1 -1
- package/components/personal-info.js +1 -1
- package/components/pills.js +1 -1
- package/components/price-breakdown.js +1 -1
- package/components/product-card.js +1 -1
- package/components/product-menu.js +1 -1
- package/components/product-navigation-drawer.js +1 -1
- package/components/product-navigation.js +1 -1
- package/components/products-cross-sell-banner.js +1 -1
- package/components/products-cross-sell-card.js +1 -1
- package/components/products-cross-sell-image.js +1 -1
- package/components/products-cross-sell-list.js +1 -1
- package/components/products-cross-sell-panel.js +1 -1
- package/components/program-label.js +1 -1
- package/components/promo-panel.js +1 -1
- package/components/quality-rating-filter.js +1 -1
- package/components/quality-rating.js +1 -1
- package/components/radio-group.js +1 -1
- package/components/radios.js +1 -1
- package/components/select.js +1 -1
- package/components/selectable-card.js +1 -1
- package/components/selectable-panel-group.js +1 -1
- package/components/settings.js +1 -1
- package/components/slider.js +1 -1
- package/components/spinner.js +1 -1
- package/components/tab.js +1 -1
- package/components/table.js +1 -1
- package/components/text-divider.js +1 -1
- package/components/textarea.js +1 -1
- package/components/textfield-button.js +1 -1
- package/components/textfield.js +1 -1
- package/components/toast-bar.js +1 -1
- package/components/toggle.js +1 -1
- package/components/tooltip-modal.js +1 -1
- package/components/tooltip.js +1 -1
- package/components/typography.js +1 -1
- package/components/user-review-details.js +1 -1
- package/components/user-review-panel.js +1 -1
- package/components/user-review.js +1 -1
- package/components/utility-panel.js +1 -1
- package/package.json +1 -1
package/components/toast-bar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={60509(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={greys:{white:"#FFFFFF",offWhite:"#FFEADC",grey50:"#F5F5F5",grey100:"#EBEBEB",grey200:"#DFDFDF",grey300:"#CCCCCC",grey400:"#BFBFBF",grey500:"#999999",grey600:"#878787",grey700:"#646464",grey800:"#4D4D4D",grey900:"#333333",black:"#000000"}}},9090(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={dateFormatExtraShort:"d MMM",dateFormatShort:"E d MMM",dateFormat:"E d MMM yyyy",dateFormatLong:"E d MMMM yyyy",timeFormat:"h:mm a",dayLabelFormat:"E MMM dd yyyy",weekStartsOn:1,weekFormat:"E",scrollToViewOptions:{behavior:"smooth",block:"end",scrollMode:"if-needed"}}},2811(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT_VARIANT=t.FONT_WEIGHT=void 0,t.TEXT_VARIANT={HEADING01:"heading-01",HEADING02:"heading-02",HEADING03:"heading-03",HEADING04:"heading-04",HEADING05:"heading-05",HEADING06:"heading-06",HEADING07:"heading-07",HEADING08:"heading-08",HEADING09:"heading-09",BODY01:"body-01",BODY02:"body-02",BODY03:"body-03",BODY04:"body-04",LABEL01:"label-01",LABEL02:"label-02",LABEL03:"label-03",LABEL04:"label-04"},t.FONT_WEIGHT={LIGHT:"light",REGULAR:"regular",MEDIUM:"medium",SEMIBOLD:"semi-bold",BOLD:"bold",EXTRABOLD:"extra-bold"}},34341(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={elevation01:"0px 1px 2px 0px rgba(51, 51, 51, 0.08)",elevation02:"0px 2px 4px 0px rgba(51, 51, 51, 0.10)",elevation03:"0px 6px 8px 0px rgba(51, 51, 51, 0.10)",elevation04:"0px 10px 16px 0px rgba(51, 51, 51, 0.10)",elevation05:"0px 16px 32px 0px rgba(51, 51, 51, 0.16)"}},35050(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={notification:{success:{color:"#149000",backgroundColor:"#EEF7EB"},error:{color:"#BE0000",backgroundColor:"#F2DEDE"},warning:{color:"#FF5C00",backgroundColor:"#F6EDE6"},info:{color:"#3D9AF2",backgroundColor:"#ECF5FE"},notice:{color:"#FEB42B",backgroundColor:"#FFF3CD"}},textLink:{color:"#0060BB",hoverColor:"#00509C"},webjetRed:"#E24747"}},33290(e,t,r){var a=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"elevation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"tokens",{enumerable:!0,get:function(){return i.default}});var n=a(r(61267)),o=a(r(60492)),i=a(r(74362)),l=a(r(19098)),d=a(r(9090)),s=a(r(35050)),c=a(r(60509)),u=a(r(34341))},19098(e,t,r){var a=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(32770),o=a(r(61267)),i=a(r(74362)),l=(0,n.css)(["font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],o.default.fontSize,o.default.fontColor);t.default={globalStyles:l,typography:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=i.default.typography[e],o=a.lineHeight,l=a.lineHeightType,d=a.fontSize;return(0,n.css)(["line-height:",";font-size:",";font-weight:",";",""],i.default.font.desktop["line-height"][l][o],i.default.font.desktop.size[d],i.default.font.desktop.weight[t],r&&(0,n.css)(["@media ","{line-height:",";font-size:",";font-weight:",";}"],i.default.media.mobile,i.default.font.mobile["line-height"][l][o],i.default.font.mobile.size[d],i.default.font.mobile.weight[t]))},typographyMobile:function(e,t){var r=i.default.typography[e],a=r.lineHeight,o=r.lineHeightType,l=r.fontSize;return(0,n.css)(["line-height:",";font-size:",";font-weight:",";"],i.default.font.mobile["line-height"][o][a],i.default.font.mobile.size[l],i.default.font.mobile.weight[t])}}},60492(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#E24747","#F5F5F5","#DFDFDF","#EBEBEB","#CCCCCC","#BFBFBF","#999999","#878787","#646464","#4D4D4D","#333333","#FFFFFF","#000000","#3D9AF2","#0060BB","#00509C","#FF8C00","#2DB300","#B0CFE2","#3587D4","#E07B00","#29A300","#D5EFCC","#F6F2E6","#CFCFCF","#454545","#F2DEDE","#B13312","#FFF3CD","#7A7A7A","#FEB42B","#E96962","#FEFAFA","#C81209","#BD1109","#E44C45"],a={fontFamily:{primary:"inherit",icon:"WebjetIcons"},fontSize:"13px",fontColor:r[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:r[5],hoverColor:r[6],hoverDarkColor:r[7],textHighlight:r[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:r[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:r[5],inputIcon:r[9],inputIconBackground:r[2],inputIconHoverBackground:r[5],inputCrossBtn:"#a8a8a8",btnStandard:r[2],btnStandardHover:r[5],btnAction:r[17],btnActionHover:"#259400",btnActive:r[13],btnActiveHover:r[19],btnSelection:r[16],btnSelectionHover:r[20],successBackground:r[22],successText:r[21],errorBackground:r[26],errorText:r[27],sliderPrimary:r[13],color:r,media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",tabletAndSmallDesktop:"only screen and (min-width: 768px) and (max-width: 1199px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},validationColors:{inputErrorBackground:"#F2DEDE",inputErrorHoverBackground:"#E8D5D5",inputErrorText:r[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=a},61267(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#E24747","#F5F5F5","#DFDFDF","#EBEBEB","#CCCCCC","#BFBFBF","#999999","#878787","#646464","#4D4D4D","#333333","#FFFFFF","#000000","#3D9AF2","#0060BB","#00509C","#FF8C00","#2DB300","#B0CFE2","#3587D4","#E07B00","#29A300","#D5EFCC","#F6F2E6","#CFCFCF","#454545","#F2DEDE","#B13312","#FFF3CD","#7A7A7A","#FEB42B","#E96962","#FEFAFA"],a={fontFamily:{icon:"WebjetIcons"},fontSize:"13px",fontColor:r[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:r[5],hoverColor:r[6],hoverDarkColor:r[7],textHighlight:r[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:r[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:r[5],inputIcon:r[9],inputIconBackground:r[2],inputIconHoverBackground:r[5],inputCrossBtn:"#a8a8a8",btnStandard:r[2],btnStandardHover:r[5],btnAction:r[17],btnActionHover:"#259400",btnActive:r[13],btnActiveHover:r[19],btnSelection:r[16],btnSelectionHover:r[20],successBackground:r[22],successText:r[21],errorBackground:r[26],errorText:r[27],sliderPrimary:r[13],color:r,media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},validationColors:{inputErrorBackground:"#F2DEDE",inputErrorHoverBackground:"#E8D5D5",inputErrorText:r[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=a},74362(e,t,r){var a=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=a(r(61116)),i=r(2811),l={desktop:{size:{50:"10px",100:"12px",200:"14px",300:"16px",400:"20px",500:"24px",600:"28px",700:"32px",800:"36px",900:"40px"},"line-height":{standard:{50:"16px",100:"18px",200:"20px",300:"24px",400:"32px",500:"36px",600:"40px",700:"48px",800:"56px",900:"60px"},condensed:{100:"16px",200:"18px",300:"20px",400:"24px",500:"28px",600:"32px",700:"40px",800:"44px",900:"48px"},equal:{50:"10px",100:"12px",200:"14px",300:"16px",400:"20px",500:"24px",600:"28px",700:"32px",800:"36px",900:"40px"}},weight:(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)({},i.FONT_WEIGHT.LIGHT,300),i.FONT_WEIGHT.REGULAR,400),i.FONT_WEIGHT.MEDIUM,500),i.FONT_WEIGHT.SEMIBOLD,600),i.FONT_WEIGHT.BOLD,700),i.FONT_WEIGHT.EXTRABOLD,800)},mobile:{size:{50:"10px",100:"12px",200:"14px",300:"16px",400:"18px",500:"20px",600:"24px",700:"28px",800:"32px",900:"36px"},"line-height":{standard:{50:"16px",100:"18px",200:"20px",300:"24px",400:"28px",500:"32px",600:"36px",700:"40px",800:"48px",900:"56px"},condensed:{100:"16px",200:"18px",300:"20px",400:"22px",500:"24px",600:"28px",700:"32px",800:"40px",900:"44px"},equal:{50:"10px",100:"12px",200:"14px",300:"16px",400:"18px",500:"20px",600:"24px",700:"28px",800:"32px",900:"36px"}},weight:(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)({},i.FONT_WEIGHT.LIGHT,300),i.FONT_WEIGHT.REGULAR,400),i.FONT_WEIGHT.MEDIUM,500),i.FONT_WEIGHT.SEMIBOLD,600),i.FONT_WEIGHT.BOLD,700),i.FONT_WEIGHT.EXTRABOLD,800)}},d=(n={},(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)(n,i.TEXT_VARIANT.HEADING01,{fontSize:100,lineHeight:100,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING02,{fontSize:200,lineHeight:200,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING03,{fontSize:300,lineHeight:300,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING04,{fontSize:400,lineHeight:400,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING05,{fontSize:500,lineHeight:500,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING06,{fontSize:600,lineHeight:600,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING07,{fontSize:700,lineHeight:700,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING08,{fontSize:800,lineHeight:800,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING09,{fontSize:900,lineHeight:900,lineHeightType:"condensed"}),i.TEXT_VARIANT.BODY01,{fontSize:50,lineHeight:50,lineHeightType:"standard"}),(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)(n,i.TEXT_VARIANT.BODY02,{fontSize:100,lineHeight:100,lineHeightType:"standard"}),i.TEXT_VARIANT.BODY03,{fontSize:200,lineHeight:200,lineHeightType:"standard"}),i.TEXT_VARIANT.BODY04,{fontSize:300,lineHeight:300,lineHeightType:"standard"}),i.TEXT_VARIANT.LABEL01,{fontSize:50,lineHeight:50,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL02,{fontSize:100,lineHeight:100,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL03,{fontSize:200,lineHeight:200,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL04,{fontSize:300,lineHeight:300,lineHeightType:"equal"}));t.default={media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",tabletAndSmallDesktop:"only screen and (min-width: 768px) and (max-width: 1199px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},font:l,colours:{surface:{brand:{subtlest:"var(--surface-brand-subtlest, #FCEDED)",subtle:"var(--surface-brand-subtle, #F3B6B6)",default:"var(--surface-brand-default, #E24747)",strong:"var(--surface-brand-strong, #CB4040)",strongest:"var(--surface-brand-strongest, #B53939)"},button:{prominent:"var(--surface-button-prominent, #311EA8)",neutral:"var(--surface-button-neutral, #EBECF2)"},neutral:{slate:{base:"var(--surface-neutral-slate-base, #FFFFFF)",subtlest:"var(--surface-neutral-slate-subtlest, #F7F8FA)",subtle:"var(--surface-neutral-slate-subtle, #F1F2F6)",moderate:"var(--surface-neutral-slate-moderate, #EBECF2)",strong:"var(--surface-neutral-slate-strong, #D8DAE5)"},warm:{base:"var(--surface-neutral-warm-base, #FFFFFF)",subtlest:"var(--surface-neutral-warm-subtlest, #F4F6F4)",subtle:"var(--surface-neutral-warm-subtle, #F0F1F0)",moderate:"var(--surface-neutral-warm-moderate, #E0E1E0)",strong:"var(--surface-neutral-warm-strong, #D0D2D0)",strongest:"var(--surface-neutral-warm-strongest, #C5C8C5)"}},feedback:{"positive-subtlest":"var(--surface-feedback-positive-subtlest, #F7FCFA)","positive-subtle":"var(--surface-feedback-positive-subtle, #EFFAF4)","positive-strong":"var(--surface-feedback-positive-strong, #DAF2E4)","positive-strongest":"var(--surface-feedback-positive-strongest, #0B7337)","neutral-subtlest":"var(--surface-feedback-neutral-subtlest, #F1F2F6)","neutral-subtle":"var(--surface-feedback-neutral-subtle, #EBECF2)","neutral-strong":"var(--surface-feedback-neutral-strong, #828699)","neutral-strongest":"var(--surface-feedback-neutral-strongest, #696C80)","critical-subtlest":"var(--surface-feedback-critical-subtlest, #FFF7F7)","critical-subtle":"var(--surface-feedback-critical-subtle, #FFEEEE)","critical-strong":"var(--surface-feedback-critical-strong, #FFE5E5)","critical-strongest":"var(--surface-feedback-critical-strongest, #B22424)","info-subtlest":"var(--surface-feedback-info-subtlest, #F3F5FC)","info-subtle":"var(--surface-feedback-info-subtle, #E6EBF9)","info-strong":"var(--surface-feedback-info-strong, #CFD8F4)","info-strongest":"var(--surface-feedback-info-strongest, #294CB5)","accent-subtlest":"var(--surface-feedback-accent-subtlest, #F7F6FF)","accent-subtle":"var(--surface-feedback-accent-subtle, #DDD6FE)","accent-strong":"var(--surface-feedback-accent-strong, #C4B5FD)","accent-strongest":"var(--surface-feedback-accent-strongest, #5B21B6)","warning-subtlest":"var(--surface-feedback-warning-subtlest, #FFF8F0)","warning-subtle":"var(--surface-feedback-warning-subtle, #FBEEDB)","warning-strong":"var(--surface-feedback-warning-strong, #FFDA94)","warning-strongest":"var(--surface-feedback-warning-strongest, #F59C00)"},container:{base:"var(--surface-container-base, #FFFFFF)"},interactive:{overlay:{universal:{default:"var(--surface-interactive-overlay-universal-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-universal-hover, #3A3D4D0A)",active:"var(--surface-interactive-overlay-universal-active, #3A3D4D14)",defaultInvisible:"var(--surface-interactive-overlay-universal-default-invisible, #3A3D4D00)"},light:{visible:"var(--surface-interactive-overlay-light-visible, #FFFFFF14)",hover:"var(--surface-interactive-overlay-light-hover, #FFFFFF29)",active:"var(--surface-interactive-overlay-light-active, #FFFFFF3D)"},dark:{transparent:"var(--surface-interactive-overlay-dark-transparent, #3A3D4D00)",visible:"var(--surface-interactive-overlay-dark-visible, #3A3D4D0A)",hover:"var(--surface-interactive-overlay-dark-hover, #3A3D4D14)",active:"var(--surface-interactive-overlay-dark-active, #3A3D4D29)"},button:{default:"var(--surface-interactive-overlay-button-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-button-hover, #3A3D4D29)",active:"var(--surface-interactive-overlay-button-active, #3A3D4D3D)"}},control:{track:{default:"var(--surface-interactive-control-track-default, #3A3D4D29)",hover:"var(--surface-interactive-control-track-hover, #3A3D4D3D)",active:"var(--surface-interactive-control-track-active, #3A3D4D66)"}},focus:{default:"var(--surface-interactive-focus-default, #3A3D4D66)"}}},border:{"critical-subtle":"var(--border-critical-subtle, #FFDBDB)","critical-strong":"var(--border-critical-strong, #B22424)","critical-strongest":"var(--border-critical-strongest, #8C1515)","positive-subtle":"var(--border-positive-subtle, #DAF2E4)","positive-strong":"var(--border-positive-strong, #0B7337)","info-subtle":"var(--border-info-subtle, #ABBCED)","info-strong":"var(--border-info-strong, #2C51BE)","default-subtle":"var(--border-default-subtle, #E4E7EE)","default-default":"var(--border-default-default, #CBD4E0)","default-strong":"var(--border-default-strong, #B1BCCA)","input-default":"var(--border-input-default, #BABDCC)","input-active":"var(--border-input-active, #515466)","warning-subtle":"var(--border-warning-subtle, #FBEEDB)","warning-strong":"var(--border-warning-strong, #E88800)","accent-subtle":"var(--border-accent-subtle, #C4B1F7)","accent-strong":"var(--border-accent-strong, #6036D4)","brand-subtle":"var(--border-brand-subtle, #F3B6B6)","brand-default":"var(--border-brand-default, #E24747)","brand-strong":"var(--border-brand-strong, #B53939)"},text:{"text-primary":"var(--text-text-primary, #0A0B0D)","text-secondary":"var(--text-text-secondary, #44506A)","text-tertiary":"var(--text-text-tertiary, #6A758D)","text-muted":"var(--text-text-muted, #9BA1AE)","text-on-colour":"var(--text-text-on-colour, #FFFFFF)","text-on-colour-subtle":"var(--text-text-on-colour-subtle, #F1F2F6)","text-info":"var(--text-text-info, #2C51BE)","text-positive":"var(--text-text-positive, #0B7337)","text-critical":"var(--text-text-critical, #B22424)","text-warning":"var(--text-text-warning, #E88800)","text-link":"var(--text-text-link, #1668E3)","text-accented":"var(--text-text-accented, #6036D4)","text-brand":"var(--text-text-brand, #E24747)","text-brand-subtlest":"var(--text-text-brand-subtlest, #FCEDED)"},icon:{"icon-primary":"var(--icon-icon-primary, #12131A)","icon-secondary":"var(--icon-icon-secondary, #696C80)","icon-tertiary":"var(--icon-icon-tertiary, #6A758D)","icon-muted":"var(--icon-icon-muted, #BABDCC)","icon-on-colour":"var(--icon-icon-on-colour, #FFFFFF)","icon-info":"var(--icon-icon-info, #2C51BE)","icon-positive":"var(--icon-icon-positive, #0B7337)","icon-critical":"var(--icon-icon-critical, #B22424)","icon-warning":"var(--icon-icon-warning, #E88800)","icon-link":"var(--icon-icon-link, #1668E3)","icon-accented":"var(--icon-icon-accented, #4C1D95)","icon-rating":"var(--icon-icon-rating, #FFB933)","icon-brand":"var(--icon-icon-brand, #E24747)","icon-brand-subtlest":"var(--icon-icon-brand-subtlest, #FCEDED)"}},dimensions:{radius:{none:0,xsmall:"2px",small:"4px",medium:"8px",large:"12px",xlarge:"16px",rounded:"9999px"},stroke:{regular:"1px",strong:"2px",bold:"4px"}},typography:d}},47340(e,t,r){var a=r(33751),n=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(46031)),i=a(r(17826)),l=a(r(52462)),d=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,a,o={__proto__:null,default:e};if(null===e||"object"!=n(e)&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((a=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(a.get||a.set)?r(o,i,a):o[i]=e[i]);return o}(e)}(r(82015)),s=r(22326),c=(a(r(29825)),a(r(74788))),u=a(r(17664)),p=r(25787),f=["text","show","duration","state","portalTarget","onDismissed"],b={success:{icon:c.default,name:"check-round"},error:{icon:u.default,name:"cross-round"}};t.default=function(e){var t,r,a=e.text,n=e.show,c=void 0!==n&&n,u=e.duration,v=void 0===u?5e3:u,x=e.state,F=void 0===x?"standard":x,g=e.portalTarget,E=void 0===g||g,h=e.onDismissed,m=(0,l.default)(e,f),y=(0,d.useState)(!1),D=(0,i.default)(y,2),A=D[0],B=D[1],T=null===(t=b[F])||void 0===t?void 0:t.icon,k=null;!0===E?k=document.body:E instanceof HTMLElement&&(k=E),(0,d.useEffect)(function(){c&&setTimeout(function(){return B(!0),void(h&&setTimeout(function(){B(!1),h()},p.ANIMATION_DURATION))},v)},[c]);var w=d.default.createElement(p.StyledToastBar,(0,o.default)({"data-testid":"toastbar",isSlidingOut:A,state:F},m),d.default.createElement(p.StyledText,{"data-testid":"toastbar-text"},a),!!T&&d.default.createElement(T,{"data-testid":"toastbar-icon","data-icon-name":null===(r=b[F])||void 0===r?void 0:r.name}));return c&&d.default.createElement(d.default.Fragment,null,k?(0,s.createPortal)(w,k):w)}},25787(e,t,r){var a=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledToastBar=t.StyledText=t.ANIMATION_DURATION=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(n.get||n.set)?r(o,i,n):o[i]=e[i]);return o}(e)}(r(32770)),o=r(33290),i=t.ANIMATION_DURATION=500,l=(0,n.keyframes)(["0%{top:-100px;}100%{top:24px;}"]),d=(0,n.keyframes)(["0%{top:24px;}100%{top:-100px;}"]),s={success:{iconColor:o.theme.color[17]},error:{iconColor:o.tokens.colours.icon["icon-critical"]}};t.StyledToastBar=n.default.div.withConfig({displayName:"ToastBarstyle__StyledToastBar",componentId:"sc-1i7fgq5-0"})(function(e){var t=e.isSlidingOut;return(0,n.css)(["position:fixed;display:flex;align-items:center;top:-100px;left:50%;transform:translateX(-50%);z-index:1000;padding:12px 16px;border-radius:8px;background:",";box-shadow:0px 16px 40px 0px rgba(0,0,0,0.16);animation-name:",";animation-duration:","ms;animation-timing-function:cubic-bezier(0.68,-0.55,0.265,1.35);animation-fill-mode:forwards;"," svg{font-size:16px;margin-left:8px;@media ","{font-size:20px;}}",";"],o.theme.color[11],l,i,t&&(0,n.css)(["animation-name:",";"],d),o.theme.media.tabletAndDesktop,function(e){var t=e.state;return"standard"!==t&&(0,n.css)(["svg{fill:",";}"],s[t].iconColor)})}),t.StyledText=n.default.span.withConfig({displayName:"ToastBarstyle__StyledText",componentId:"sc-1i7fgq5-1"})(["font-size:12px;font-weight:500;line-height:18px;color:",";@media ","{font-size:14px;line-height:20px;}"],o.theme.color[9],o.theme.media.tabletAndDesktop)},61116(e){e.exports=require("@babel/runtime/helpers/defineProperty")},46031(e){e.exports=require("@babel/runtime/helpers/extends")},33751(e){e.exports=require("@babel/runtime/helpers/interopRequireDefault")},52462(e){e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},17826(e){e.exports=require("@babel/runtime/helpers/slicedToArray")},8063(e){e.exports=require("@babel/runtime/helpers/typeof")},74788(e){e.exports=require("@webjet/react-icons/check-round")},17664(e){e.exports=require("@webjet/react-icons/cross-round")},29825(e){e.exports=require("prop-types")},82015(e){e.exports=require("react")},22326(e){e.exports=require("react-dom")},32770(e){e.exports=require("styled-components")}},t={};function r(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,r),o.exports}var a={};(()=>{var e=a,t=r(33751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(47340));e.default=n.default})(),module.exports=a})();
|
|
1
|
+
(()=>{"use strict";var e={60509(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={greys:{white:"#FFFFFF",offWhite:"#FFEADC",grey50:"#F5F5F5",grey100:"#EBEBEB",grey200:"#DFDFDF",grey300:"#CCCCCC",grey400:"#BFBFBF",grey500:"#999999",grey600:"#878787",grey700:"#646464",grey800:"#4D4D4D",grey900:"#333333",black:"#000000"}}},9090(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={dateFormatExtraShort:"d MMM",dateFormatShort:"E d MMM",dateFormat:"E d MMM yyyy",dateFormatLong:"E d MMMM yyyy",timeFormat:"h:mm a",dayLabelFormat:"E MMM dd yyyy",weekStartsOn:1,weekFormat:"E",scrollToViewOptions:{behavior:"smooth",block:"end",scrollMode:"if-needed"}}},2811(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT_VARIANT=t.FONT_WEIGHT=void 0,t.TEXT_VARIANT={HEADING01:"heading-01",HEADING02:"heading-02",HEADING03:"heading-03",HEADING04:"heading-04",HEADING05:"heading-05",HEADING06:"heading-06",HEADING07:"heading-07",HEADING08:"heading-08",HEADING09:"heading-09",BODY01:"body-01",BODY02:"body-02",BODY03:"body-03",BODY04:"body-04",LABEL01:"label-01",LABEL02:"label-02",LABEL03:"label-03",LABEL04:"label-04"},t.FONT_WEIGHT={LIGHT:"light",REGULAR:"regular",MEDIUM:"medium",SEMIBOLD:"semi-bold",BOLD:"bold",EXTRABOLD:"extra-bold"}},34341(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={elevation01:"0px 1px 2px 0px rgba(51, 51, 51, 0.08)",elevation02:"0px 2px 4px 0px rgba(51, 51, 51, 0.10)",elevation03:"0px 6px 8px 0px rgba(51, 51, 51, 0.10)",elevation04:"0px 10px 16px 0px rgba(51, 51, 51, 0.10)",elevation05:"0px 16px 32px 0px rgba(51, 51, 51, 0.16)"}},35050(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={notification:{success:{color:"#149000",backgroundColor:"#EEF7EB"},error:{color:"#BE0000",backgroundColor:"#F2DEDE"},warning:{color:"#FF5C00",backgroundColor:"#F6EDE6"},info:{color:"#3D9AF2",backgroundColor:"#ECF5FE"},notice:{color:"#FEB42B",backgroundColor:"#FFF3CD"}},textLink:{color:"var(--text-text-link, #1668E3)",hoverColor:"var(--text-text-link, #1668E3)"},webjetRed:"#E24747"}},33290(e,t,r){var a=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"elevation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"tokens",{enumerable:!0,get:function(){return i.default}});var n=a(r(61267)),o=a(r(60492)),i=a(r(74362)),l=a(r(19098)),d=a(r(9090)),s=a(r(35050)),c=a(r(60509)),u=a(r(34341))},19098(e,t,r){var a=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(32770),o=a(r(61267)),i=a(r(74362)),l=(0,n.css)(["font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],o.default.fontSize,o.default.fontColor);t.default={globalStyles:l,typography:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=i.default.typography[e],o=a.lineHeight,l=a.lineHeightType,d=a.fontSize;return(0,n.css)(["line-height:",";font-size:",";font-weight:",";",""],i.default.font.desktop["line-height"][l][o],i.default.font.desktop.size[d],i.default.font.desktop.weight[t],r&&(0,n.css)(["@media ","{line-height:",";font-size:",";font-weight:",";}"],i.default.media.mobile,i.default.font.mobile["line-height"][l][o],i.default.font.mobile.size[d],i.default.font.mobile.weight[t]))},typographyMobile:function(e,t){var r=i.default.typography[e],a=r.lineHeight,o=r.lineHeightType,l=r.fontSize;return(0,n.css)(["line-height:",";font-size:",";font-weight:",";"],i.default.font.mobile["line-height"][o][a],i.default.font.mobile.size[l],i.default.font.mobile.weight[t])}}},60492(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#E24747","#F5F5F5","#DFDFDF","#EBEBEB","#CCCCCC","#BFBFBF","#999999","#878787","#646464","#4D4D4D","#333333","#FFFFFF","#000000","#3D9AF2","#1668E3","#00509C","#FF8C00","#2DB300","#B0CFE2","#3587D4","#E07B00","#29A300","#D5EFCC","#F6F2E6","#CFCFCF","#454545","#F2DEDE","#B13312","#FFF3CD","#7A7A7A","#FEB42B","#E96962","#FEFAFA","#C81209","#BD1109","#E44C45"],a={fontFamily:{primary:"inherit",icon:"WebjetIcons"},fontSize:"13px",fontColor:r[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:r[5],hoverColor:r[6],hoverDarkColor:r[7],textHighlight:r[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:r[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:r[5],inputIcon:r[9],inputIconBackground:r[2],inputIconHoverBackground:r[5],inputCrossBtn:"#a8a8a8",btnStandard:r[2],btnStandardHover:r[5],btnAction:r[17],btnActionHover:"#259400",btnActive:r[13],btnActiveHover:r[19],btnSelection:r[16],btnSelectionHover:r[20],successBackground:r[22],successText:r[21],errorBackground:r[26],errorText:r[27],sliderPrimary:r[13],color:r,media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",tabletAndSmallDesktop:"only screen and (min-width: 768px) and (max-width: 1199px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},validationColors:{inputErrorBackground:"#F2DEDE",inputErrorHoverBackground:"#E8D5D5",inputErrorText:r[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=a},61267(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#E24747","#F5F5F5","#DFDFDF","#EBEBEB","#CCCCCC","#BFBFBF","#999999","#878787","#646464","#4D4D4D","#333333","#FFFFFF","#000000","#3D9AF2","#1668E3","#00509C","#FF8C00","#2DB300","#B0CFE2","#3587D4","#E07B00","#29A300","#D5EFCC","#F6F2E6","#CFCFCF","#454545","#F2DEDE","#B13312","#FFF3CD","#7A7A7A","#FEB42B","#E96962","#FEFAFA"],a={fontFamily:{icon:"WebjetIcons"},fontSize:"13px",fontColor:r[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:r[5],hoverColor:r[6],hoverDarkColor:r[7],textHighlight:r[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:r[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:r[5],inputIcon:r[9],inputIconBackground:r[2],inputIconHoverBackground:r[5],inputCrossBtn:"#a8a8a8",btnStandard:r[2],btnStandardHover:r[5],btnAction:r[17],btnActionHover:"#259400",btnActive:r[13],btnActiveHover:r[19],btnSelection:r[16],btnSelectionHover:r[20],successBackground:r[22],successText:r[21],errorBackground:r[26],errorText:r[27],sliderPrimary:r[13],color:r,media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},validationColors:{inputErrorBackground:"#F2DEDE",inputErrorHoverBackground:"#E8D5D5",inputErrorText:r[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=a},74362(e,t,r){var a=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=a(r(61116)),i=r(2811),l={desktop:{size:{50:"10px",100:"12px",200:"14px",300:"16px",400:"20px",500:"24px",600:"28px",700:"32px",800:"36px",900:"40px"},"line-height":{standard:{50:"16px",100:"18px",200:"20px",300:"24px",400:"32px",500:"36px",600:"40px",700:"48px",800:"56px",900:"60px"},condensed:{100:"16px",200:"18px",300:"20px",400:"24px",500:"28px",600:"32px",700:"40px",800:"44px",900:"48px"},equal:{50:"10px",100:"12px",200:"14px",300:"16px",400:"20px",500:"24px",600:"28px",700:"32px",800:"36px",900:"40px"}},weight:(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)({},i.FONT_WEIGHT.LIGHT,300),i.FONT_WEIGHT.REGULAR,400),i.FONT_WEIGHT.MEDIUM,500),i.FONT_WEIGHT.SEMIBOLD,600),i.FONT_WEIGHT.BOLD,700),i.FONT_WEIGHT.EXTRABOLD,800)},mobile:{size:{50:"10px",100:"12px",200:"14px",300:"16px",400:"18px",500:"20px",600:"24px",700:"28px",800:"32px",900:"36px"},"line-height":{standard:{50:"16px",100:"18px",200:"20px",300:"24px",400:"28px",500:"32px",600:"36px",700:"40px",800:"48px",900:"56px"},condensed:{100:"16px",200:"18px",300:"20px",400:"22px",500:"24px",600:"28px",700:"32px",800:"40px",900:"44px"},equal:{50:"10px",100:"12px",200:"14px",300:"16px",400:"18px",500:"20px",600:"24px",700:"28px",800:"32px",900:"36px"}},weight:(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)({},i.FONT_WEIGHT.LIGHT,300),i.FONT_WEIGHT.REGULAR,400),i.FONT_WEIGHT.MEDIUM,500),i.FONT_WEIGHT.SEMIBOLD,600),i.FONT_WEIGHT.BOLD,700),i.FONT_WEIGHT.EXTRABOLD,800)}},d=(n={},(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)(n,i.TEXT_VARIANT.HEADING01,{fontSize:100,lineHeight:100,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING02,{fontSize:200,lineHeight:200,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING03,{fontSize:300,lineHeight:300,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING04,{fontSize:400,lineHeight:400,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING05,{fontSize:500,lineHeight:500,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING06,{fontSize:600,lineHeight:600,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING07,{fontSize:700,lineHeight:700,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING08,{fontSize:800,lineHeight:800,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING09,{fontSize:900,lineHeight:900,lineHeightType:"condensed"}),i.TEXT_VARIANT.BODY01,{fontSize:50,lineHeight:50,lineHeightType:"standard"}),(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)(n,i.TEXT_VARIANT.BODY02,{fontSize:100,lineHeight:100,lineHeightType:"standard"}),i.TEXT_VARIANT.BODY03,{fontSize:200,lineHeight:200,lineHeightType:"standard"}),i.TEXT_VARIANT.BODY04,{fontSize:300,lineHeight:300,lineHeightType:"standard"}),i.TEXT_VARIANT.LABEL01,{fontSize:50,lineHeight:50,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL02,{fontSize:100,lineHeight:100,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL03,{fontSize:200,lineHeight:200,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL04,{fontSize:300,lineHeight:300,lineHeightType:"equal"}));t.default={media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",tabletAndSmallDesktop:"only screen and (min-width: 768px) and (max-width: 1199px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},font:l,colours:{surface:{brand:{subtlest:"var(--surface-brand-subtlest, #FCEDED)",subtle:"var(--surface-brand-subtle, #F3B6B6)",default:"var(--surface-brand-default, #E24747)",strong:"var(--surface-brand-strong, #CB4040)",strongest:"var(--surface-brand-strongest, #B53939)"},button:{prominent:"var(--surface-button-prominent, #311EA8)",neutral:"var(--surface-button-neutral, #EBECF2)"},neutral:{slate:{base:"var(--surface-neutral-slate-base, #FFFFFF)",subtlest:"var(--surface-neutral-slate-subtlest, #F7F8FA)",subtle:"var(--surface-neutral-slate-subtle, #F1F2F6)",moderate:"var(--surface-neutral-slate-moderate, #EBECF2)",strong:"var(--surface-neutral-slate-strong, #D8DAE5)"},warm:{base:"var(--surface-neutral-warm-base, #FFFFFF)",subtlest:"var(--surface-neutral-warm-subtlest, #F4F6F4)",subtle:"var(--surface-neutral-warm-subtle, #F0F1F0)",moderate:"var(--surface-neutral-warm-moderate, #E0E1E0)",strong:"var(--surface-neutral-warm-strong, #D0D2D0)",strongest:"var(--surface-neutral-warm-strongest, #C5C8C5)"}},feedback:{"positive-subtlest":"var(--surface-feedback-positive-subtlest, #F7FCFA)","positive-subtle":"var(--surface-feedback-positive-subtle, #EFFAF4)","positive-strong":"var(--surface-feedback-positive-strong, #DAF2E4)","positive-strongest":"var(--surface-feedback-positive-strongest, #0B7337)","neutral-subtlest":"var(--surface-feedback-neutral-subtlest, #F1F2F6)","neutral-subtle":"var(--surface-feedback-neutral-subtle, #EBECF2)","neutral-strong":"var(--surface-feedback-neutral-strong, #828699)","neutral-strongest":"var(--surface-feedback-neutral-strongest, #696C80)","critical-subtlest":"var(--surface-feedback-critical-subtlest, #FFF7F7)","critical-subtle":"var(--surface-feedback-critical-subtle, #FFEEEE)","critical-strong":"var(--surface-feedback-critical-strong, #FFE5E5)","critical-strongest":"var(--surface-feedback-critical-strongest, #B22424)","info-subtlest":"var(--surface-feedback-info-subtlest, #F3F5FC)","info-subtle":"var(--surface-feedback-info-subtle, #E6EBF9)","info-strong":"var(--surface-feedback-info-strong, #CFD8F4)","info-strongest":"var(--surface-feedback-info-strongest, #294CB5)","accent-subtlest":"var(--surface-feedback-accent-subtlest, #F7F6FF)","accent-subtle":"var(--surface-feedback-accent-subtle, #DDD6FE)","accent-strong":"var(--surface-feedback-accent-strong, #C4B5FD)","accent-strongest":"var(--surface-feedback-accent-strongest, #5B21B6)","warning-subtlest":"var(--surface-feedback-warning-subtlest, #FFF8F0)","warning-subtle":"var(--surface-feedback-warning-subtle, #FBEEDB)","warning-strong":"var(--surface-feedback-warning-strong, #FFDA94)","warning-strongest":"var(--surface-feedback-warning-strongest, #F59C00)"},container:{base:"var(--surface-container-base, #FFFFFF)"},interactive:{overlay:{universal:{default:"var(--surface-interactive-overlay-universal-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-universal-hover, #3A3D4D0A)",active:"var(--surface-interactive-overlay-universal-active, #3A3D4D14)",defaultInvisible:"var(--surface-interactive-overlay-universal-default-invisible, #3A3D4D00)"},light:{visible:"var(--surface-interactive-overlay-light-visible, #FFFFFF14)",hover:"var(--surface-interactive-overlay-light-hover, #FFFFFF29)",active:"var(--surface-interactive-overlay-light-active, #FFFFFF3D)"},dark:{transparent:"var(--surface-interactive-overlay-dark-transparent, #3A3D4D00)",visible:"var(--surface-interactive-overlay-dark-visible, #3A3D4D0A)",hover:"var(--surface-interactive-overlay-dark-hover, #3A3D4D14)",active:"var(--surface-interactive-overlay-dark-active, #3A3D4D29)"},button:{default:"var(--surface-interactive-overlay-button-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-button-hover, #3A3D4D29)",active:"var(--surface-interactive-overlay-button-active, #3A3D4D3D)"}},control:{track:{default:"var(--surface-interactive-control-track-default, #3A3D4D29)",hover:"var(--surface-interactive-control-track-hover, #3A3D4D3D)",active:"var(--surface-interactive-control-track-active, #3A3D4D66)"}},focus:{default:"var(--surface-interactive-focus-default, #3A3D4D66)"}}},border:{"critical-subtle":"var(--border-critical-subtle, #FFDBDB)","critical-strong":"var(--border-critical-strong, #B22424)","critical-strongest":"var(--border-critical-strongest, #8C1515)","positive-subtle":"var(--border-positive-subtle, #DAF2E4)","positive-strong":"var(--border-positive-strong, #0B7337)","info-subtle":"var(--border-info-subtle, #ABBCED)","info-strong":"var(--border-info-strong, #2C51BE)","default-subtle":"var(--border-default-subtle, #E4E7EE)","default-default":"var(--border-default-default, #CBD4E0)","default-strong":"var(--border-default-strong, #B1BCCA)","input-default":"var(--border-input-default, #BABDCC)","input-active":"var(--border-input-active, #515466)","warning-subtle":"var(--border-warning-subtle, #FBEEDB)","warning-strong":"var(--border-warning-strong, #E88800)","accent-subtle":"var(--border-accent-subtle, #C4B1F7)","accent-strong":"var(--border-accent-strong, #6036D4)","brand-subtle":"var(--border-brand-subtle, #F3B6B6)","brand-default":"var(--border-brand-default, #E24747)","brand-strong":"var(--border-brand-strong, #B53939)"},text:{"text-primary":"var(--text-text-primary, #0A0B0D)","text-secondary":"var(--text-text-secondary, #44506A)","text-tertiary":"var(--text-text-tertiary, #6A758D)","text-muted":"var(--text-text-muted, #9BA1AE)","text-on-colour":"var(--text-text-on-colour, #FFFFFF)","text-on-colour-subtle":"var(--text-text-on-colour-subtle, #F1F2F6)","text-info":"var(--text-text-info, #2C51BE)","text-positive":"var(--text-text-positive, #0B7337)","text-critical":"var(--text-text-critical, #B22424)","text-warning":"var(--text-text-warning, #E88800)","text-link":"var(--text-text-link, #1668E3)","text-accented":"var(--text-text-accented, #6036D4)","text-brand":"var(--text-text-brand, #E24747)","text-brand-subtlest":"var(--text-text-brand-subtlest, #FCEDED)"},icon:{"icon-primary":"var(--icon-icon-primary, #12131A)","icon-secondary":"var(--icon-icon-secondary, #696C80)","icon-tertiary":"var(--icon-icon-tertiary, #6A758D)","icon-muted":"var(--icon-icon-muted, #BABDCC)","icon-on-colour":"var(--icon-icon-on-colour, #FFFFFF)","icon-info":"var(--icon-icon-info, #2C51BE)","icon-positive":"var(--icon-icon-positive, #0B7337)","icon-critical":"var(--icon-icon-critical, #B22424)","icon-warning":"var(--icon-icon-warning, #E88800)","icon-link":"var(--icon-icon-link, #1668E3)","icon-accented":"var(--icon-icon-accented, #4C1D95)","icon-rating":"var(--icon-icon-rating, #FFB933)","icon-brand":"var(--icon-icon-brand, #E24747)","icon-brand-subtlest":"var(--icon-icon-brand-subtlest, #FCEDED)"}},dimensions:{radius:{none:0,xsmall:"2px",small:"4px",medium:"8px",large:"12px",xlarge:"16px",rounded:"9999px"},stroke:{regular:"1px",strong:"2px",bold:"4px"}},typography:d}},47340(e,t,r){var a=r(33751),n=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(46031)),i=a(r(17826)),l=a(r(52462)),d=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,a,o={__proto__:null,default:e};if(null===e||"object"!=n(e)&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((a=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(a.get||a.set)?r(o,i,a):o[i]=e[i]);return o}(e)}(r(82015)),s=r(22326),c=(a(r(29825)),a(r(74788))),u=a(r(17664)),p=r(25787),f=["text","show","duration","state","portalTarget","onDismissed"],x={success:{icon:c.default,name:"check-round"},error:{icon:u.default,name:"cross-round"}};t.default=function(e){var t,r,a=e.text,n=e.show,c=void 0!==n&&n,u=e.duration,v=void 0===u?5e3:u,b=e.state,F=void 0===b?"standard":b,g=e.portalTarget,E=void 0===g||g,h=e.onDismissed,m=(0,l.default)(e,f),y=(0,d.useState)(!1),D=(0,i.default)(y,2),A=D[0],T=D[1],B=null===(t=x[F])||void 0===t?void 0:t.icon,k=null;!0===E?k=document.body:E instanceof HTMLElement&&(k=E),(0,d.useEffect)(function(){c&&setTimeout(function(){return T(!0),void(h&&setTimeout(function(){T(!1),h()},p.ANIMATION_DURATION))},v)},[c]);var w=d.default.createElement(p.StyledToastBar,(0,o.default)({"data-testid":"toastbar",isSlidingOut:A,state:F},m),d.default.createElement(p.StyledText,{"data-testid":"toastbar-text"},a),!!B&&d.default.createElement(B,{"data-testid":"toastbar-icon","data-icon-name":null===(r=x[F])||void 0===r?void 0:r.name}));return c&&d.default.createElement(d.default.Fragment,null,k?(0,s.createPortal)(w,k):w)}},25787(e,t,r){var a=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledToastBar=t.StyledText=t.ANIMATION_DURATION=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(n.get||n.set)?r(o,i,n):o[i]=e[i]);return o}(e)}(r(32770)),o=r(33290),i=t.ANIMATION_DURATION=500,l=(0,n.keyframes)(["0%{top:-100px;}100%{top:24px;}"]),d=(0,n.keyframes)(["0%{top:24px;}100%{top:-100px;}"]),s={success:{iconColor:o.theme.color[17]},error:{iconColor:o.tokens.colours.icon["icon-critical"]}};t.StyledToastBar=n.default.div.withConfig({displayName:"ToastBarstyle__StyledToastBar",componentId:"sc-1i7fgq5-0"})(function(e){var t=e.isSlidingOut;return(0,n.css)(["position:fixed;display:flex;align-items:center;top:-100px;left:50%;transform:translateX(-50%);z-index:1000;padding:12px 16px;border-radius:8px;background:",";box-shadow:0px 16px 40px 0px rgba(0,0,0,0.16);animation-name:",";animation-duration:","ms;animation-timing-function:cubic-bezier(0.68,-0.55,0.265,1.35);animation-fill-mode:forwards;"," svg{font-size:16px;margin-left:8px;@media ","{font-size:20px;}}",";"],o.theme.color[11],l,i,t&&(0,n.css)(["animation-name:",";"],d),o.theme.media.tabletAndDesktop,function(e){var t=e.state;return"standard"!==t&&(0,n.css)(["svg{fill:",";}"],s[t].iconColor)})}),t.StyledText=n.default.span.withConfig({displayName:"ToastBarstyle__StyledText",componentId:"sc-1i7fgq5-1"})(["font-size:12px;font-weight:500;line-height:18px;color:",";@media ","{font-size:14px;line-height:20px;}"],o.theme.color[9],o.theme.media.tabletAndDesktop)},61116(e){e.exports=require("@babel/runtime/helpers/defineProperty")},46031(e){e.exports=require("@babel/runtime/helpers/extends")},33751(e){e.exports=require("@babel/runtime/helpers/interopRequireDefault")},52462(e){e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},17826(e){e.exports=require("@babel/runtime/helpers/slicedToArray")},8063(e){e.exports=require("@babel/runtime/helpers/typeof")},74788(e){e.exports=require("@webjet/react-icons/check-round")},17664(e){e.exports=require("@webjet/react-icons/cross-round")},29825(e){e.exports=require("prop-types")},82015(e){e.exports=require("react")},22326(e){e.exports=require("react-dom")},32770(e){e.exports=require("styled-components")}},t={};function r(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,r),o.exports}var a={};(()=>{var e=a,t=r(33751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(47340));e.default=n.default})(),module.exports=a})();
|
package/components/toggle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={60509(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={greys:{white:"#FFFFFF",offWhite:"#FFEADC",grey50:"#F5F5F5",grey100:"#EBEBEB",grey200:"#DFDFDF",grey300:"#CCCCCC",grey400:"#BFBFBF",grey500:"#999999",grey600:"#878787",grey700:"#646464",grey800:"#4D4D4D",grey900:"#333333",black:"#000000"}}},9090(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={dateFormatExtraShort:"d MMM",dateFormatShort:"E d MMM",dateFormat:"E d MMM yyyy",dateFormatLong:"E d MMMM yyyy",timeFormat:"h:mm a",dayLabelFormat:"E MMM dd yyyy",weekStartsOn:1,weekFormat:"E",scrollToViewOptions:{behavior:"smooth",block:"end",scrollMode:"if-needed"}}},2811(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT_VARIANT=t.FONT_WEIGHT=void 0,t.TEXT_VARIANT={HEADING01:"heading-01",HEADING02:"heading-02",HEADING03:"heading-03",HEADING04:"heading-04",HEADING05:"heading-05",HEADING06:"heading-06",HEADING07:"heading-07",HEADING08:"heading-08",HEADING09:"heading-09",BODY01:"body-01",BODY02:"body-02",BODY03:"body-03",BODY04:"body-04",LABEL01:"label-01",LABEL02:"label-02",LABEL03:"label-03",LABEL04:"label-04"},t.FONT_WEIGHT={LIGHT:"light",REGULAR:"regular",MEDIUM:"medium",SEMIBOLD:"semi-bold",BOLD:"bold",EXTRABOLD:"extra-bold"}},34341(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={elevation01:"0px 1px 2px 0px rgba(51, 51, 51, 0.08)",elevation02:"0px 2px 4px 0px rgba(51, 51, 51, 0.10)",elevation03:"0px 6px 8px 0px rgba(51, 51, 51, 0.10)",elevation04:"0px 10px 16px 0px rgba(51, 51, 51, 0.10)",elevation05:"0px 16px 32px 0px rgba(51, 51, 51, 0.16)"}},35050(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={notification:{success:{color:"#149000",backgroundColor:"#EEF7EB"},error:{color:"#BE0000",backgroundColor:"#F2DEDE"},warning:{color:"#FF5C00",backgroundColor:"#F6EDE6"},info:{color:"#3D9AF2",backgroundColor:"#ECF5FE"},notice:{color:"#FEB42B",backgroundColor:"#FFF3CD"}},textLink:{color:"#0060BB",hoverColor:"#00509C"},webjetRed:"#E24747"}},33290(e,t,o){var n=o(33751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"elevation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tokens",{enumerable:!0,get:function(){return i.default}});var r=n(o(61267)),a=n(o(60492)),i=n(o(74362)),l=n(o(19098)),s=n(o(9090)),d=n(o(35050)),c=n(o(60509)),u=n(o(34341))},19098(e,t,o){var n=o(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(32770),a=n(o(61267)),i=n(o(74362)),l=(0,r.css)(["font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],a.default.fontSize,a.default.fontColor);t.default={globalStyles:l,typography:function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=i.default.typography[e],a=n.lineHeight,l=n.lineHeightType,s=n.fontSize;return(0,r.css)(["line-height:",";font-size:",";font-weight:",";",""],i.default.font.desktop["line-height"][l][a],i.default.font.desktop.size[s],i.default.font.desktop.weight[t],o&&(0,r.css)(["@media ","{line-height:",";font-size:",";font-weight:",";}"],i.default.media.mobile,i.default.font.mobile["line-height"][l][a],i.default.font.mobile.size[s],i.default.font.mobile.weight[t]))},typographyMobile:function(e,t){var o=i.default.typography[e],n=o.lineHeight,a=o.lineHeightType,l=o.fontSize;return(0,r.css)(["line-height:",";font-size:",";font-weight:",";"],i.default.font.mobile["line-height"][a][n],i.default.font.mobile.size[l],i.default.font.mobile.weight[t])}}},60492(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#E24747","#F5F5F5","#DFDFDF","#EBEBEB","#CCCCCC","#BFBFBF","#999999","#878787","#646464","#4D4D4D","#333333","#FFFFFF","#000000","#3D9AF2","#0060BB","#00509C","#FF8C00","#2DB300","#B0CFE2","#3587D4","#E07B00","#29A300","#D5EFCC","#F6F2E6","#CFCFCF","#454545","#F2DEDE","#B13312","#FFF3CD","#7A7A7A","#FEB42B","#E96962","#FEFAFA","#C81209","#BD1109","#E44C45"],n={fontFamily:{primary:"inherit",icon:"WebjetIcons"},fontSize:"13px",fontColor:o[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:o[5],hoverColor:o[6],hoverDarkColor:o[7],textHighlight:o[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:o[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:o[5],inputIcon:o[9],inputIconBackground:o[2],inputIconHoverBackground:o[5],inputCrossBtn:"#a8a8a8",btnStandard:o[2],btnStandardHover:o[5],btnAction:o[17],btnActionHover:"#259400",btnActive:o[13],btnActiveHover:o[19],btnSelection:o[16],btnSelectionHover:o[20],successBackground:o[22],successText:o[21],errorBackground:o[26],errorText:o[27],sliderPrimary:o[13],color:o,media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",tabletAndSmallDesktop:"only screen and (min-width: 768px) and (max-width: 1199px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},validationColors:{inputErrorBackground:"#F2DEDE",inputErrorHoverBackground:"#E8D5D5",inputErrorText:o[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=n},61267(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#E24747","#F5F5F5","#DFDFDF","#EBEBEB","#CCCCCC","#BFBFBF","#999999","#878787","#646464","#4D4D4D","#333333","#FFFFFF","#000000","#3D9AF2","#0060BB","#00509C","#FF8C00","#2DB300","#B0CFE2","#3587D4","#E07B00","#29A300","#D5EFCC","#F6F2E6","#CFCFCF","#454545","#F2DEDE","#B13312","#FFF3CD","#7A7A7A","#FEB42B","#E96962","#FEFAFA"],n={fontFamily:{icon:"WebjetIcons"},fontSize:"13px",fontColor:o[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:o[5],hoverColor:o[6],hoverDarkColor:o[7],textHighlight:o[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:o[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:o[5],inputIcon:o[9],inputIconBackground:o[2],inputIconHoverBackground:o[5],inputCrossBtn:"#a8a8a8",btnStandard:o[2],btnStandardHover:o[5],btnAction:o[17],btnActionHover:"#259400",btnActive:o[13],btnActiveHover:o[19],btnSelection:o[16],btnSelectionHover:o[20],successBackground:o[22],successText:o[21],errorBackground:o[26],errorText:o[27],sliderPrimary:o[13],color:o,media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},validationColors:{inputErrorBackground:"#F2DEDE",inputErrorHoverBackground:"#E8D5D5",inputErrorText:o[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=n},74362(e,t,o){var n=o(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(o(61116)),i=o(2811),l={desktop:{size:{50:"10px",100:"12px",200:"14px",300:"16px",400:"20px",500:"24px",600:"28px",700:"32px",800:"36px",900:"40px"},"line-height":{standard:{50:"16px",100:"18px",200:"20px",300:"24px",400:"32px",500:"36px",600:"40px",700:"48px",800:"56px",900:"60px"},condensed:{100:"16px",200:"18px",300:"20px",400:"24px",500:"28px",600:"32px",700:"40px",800:"44px",900:"48px"},equal:{50:"10px",100:"12px",200:"14px",300:"16px",400:"20px",500:"24px",600:"28px",700:"32px",800:"36px",900:"40px"}},weight:(0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)({},i.FONT_WEIGHT.LIGHT,300),i.FONT_WEIGHT.REGULAR,400),i.FONT_WEIGHT.MEDIUM,500),i.FONT_WEIGHT.SEMIBOLD,600),i.FONT_WEIGHT.BOLD,700),i.FONT_WEIGHT.EXTRABOLD,800)},mobile:{size:{50:"10px",100:"12px",200:"14px",300:"16px",400:"18px",500:"20px",600:"24px",700:"28px",800:"32px",900:"36px"},"line-height":{standard:{50:"16px",100:"18px",200:"20px",300:"24px",400:"28px",500:"32px",600:"36px",700:"40px",800:"48px",900:"56px"},condensed:{100:"16px",200:"18px",300:"20px",400:"22px",500:"24px",600:"28px",700:"32px",800:"40px",900:"44px"},equal:{50:"10px",100:"12px",200:"14px",300:"16px",400:"18px",500:"20px",600:"24px",700:"28px",800:"32px",900:"36px"}},weight:(0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)({},i.FONT_WEIGHT.LIGHT,300),i.FONT_WEIGHT.REGULAR,400),i.FONT_WEIGHT.MEDIUM,500),i.FONT_WEIGHT.SEMIBOLD,600),i.FONT_WEIGHT.BOLD,700),i.FONT_WEIGHT.EXTRABOLD,800)}},s=(r={},(0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)(r,i.TEXT_VARIANT.HEADING01,{fontSize:100,lineHeight:100,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING02,{fontSize:200,lineHeight:200,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING03,{fontSize:300,lineHeight:300,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING04,{fontSize:400,lineHeight:400,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING05,{fontSize:500,lineHeight:500,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING06,{fontSize:600,lineHeight:600,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING07,{fontSize:700,lineHeight:700,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING08,{fontSize:800,lineHeight:800,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING09,{fontSize:900,lineHeight:900,lineHeightType:"condensed"}),i.TEXT_VARIANT.BODY01,{fontSize:50,lineHeight:50,lineHeightType:"standard"}),(0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)(r,i.TEXT_VARIANT.BODY02,{fontSize:100,lineHeight:100,lineHeightType:"standard"}),i.TEXT_VARIANT.BODY03,{fontSize:200,lineHeight:200,lineHeightType:"standard"}),i.TEXT_VARIANT.BODY04,{fontSize:300,lineHeight:300,lineHeightType:"standard"}),i.TEXT_VARIANT.LABEL01,{fontSize:50,lineHeight:50,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL02,{fontSize:100,lineHeight:100,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL03,{fontSize:200,lineHeight:200,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL04,{fontSize:300,lineHeight:300,lineHeightType:"equal"}));t.default={media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",tabletAndSmallDesktop:"only screen and (min-width: 768px) and (max-width: 1199px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},font:l,colours:{surface:{brand:{subtlest:"var(--surface-brand-subtlest, #FCEDED)",subtle:"var(--surface-brand-subtle, #F3B6B6)",default:"var(--surface-brand-default, #E24747)",strong:"var(--surface-brand-strong, #CB4040)",strongest:"var(--surface-brand-strongest, #B53939)"},button:{prominent:"var(--surface-button-prominent, #311EA8)",neutral:"var(--surface-button-neutral, #EBECF2)"},neutral:{slate:{base:"var(--surface-neutral-slate-base, #FFFFFF)",subtlest:"var(--surface-neutral-slate-subtlest, #F7F8FA)",subtle:"var(--surface-neutral-slate-subtle, #F1F2F6)",moderate:"var(--surface-neutral-slate-moderate, #EBECF2)",strong:"var(--surface-neutral-slate-strong, #D8DAE5)"},warm:{base:"var(--surface-neutral-warm-base, #FFFFFF)",subtlest:"var(--surface-neutral-warm-subtlest, #F4F6F4)",subtle:"var(--surface-neutral-warm-subtle, #F0F1F0)",moderate:"var(--surface-neutral-warm-moderate, #E0E1E0)",strong:"var(--surface-neutral-warm-strong, #D0D2D0)",strongest:"var(--surface-neutral-warm-strongest, #C5C8C5)"}},feedback:{"positive-subtlest":"var(--surface-feedback-positive-subtlest, #F7FCFA)","positive-subtle":"var(--surface-feedback-positive-subtle, #EFFAF4)","positive-strong":"var(--surface-feedback-positive-strong, #DAF2E4)","positive-strongest":"var(--surface-feedback-positive-strongest, #0B7337)","neutral-subtlest":"var(--surface-feedback-neutral-subtlest, #F1F2F6)","neutral-subtle":"var(--surface-feedback-neutral-subtle, #EBECF2)","neutral-strong":"var(--surface-feedback-neutral-strong, #828699)","neutral-strongest":"var(--surface-feedback-neutral-strongest, #696C80)","critical-subtlest":"var(--surface-feedback-critical-subtlest, #FFF7F7)","critical-subtle":"var(--surface-feedback-critical-subtle, #FFEEEE)","critical-strong":"var(--surface-feedback-critical-strong, #FFE5E5)","critical-strongest":"var(--surface-feedback-critical-strongest, #B22424)","info-subtlest":"var(--surface-feedback-info-subtlest, #F3F5FC)","info-subtle":"var(--surface-feedback-info-subtle, #E6EBF9)","info-strong":"var(--surface-feedback-info-strong, #CFD8F4)","info-strongest":"var(--surface-feedback-info-strongest, #294CB5)","accent-subtlest":"var(--surface-feedback-accent-subtlest, #F7F6FF)","accent-subtle":"var(--surface-feedback-accent-subtle, #DDD6FE)","accent-strong":"var(--surface-feedback-accent-strong, #C4B5FD)","accent-strongest":"var(--surface-feedback-accent-strongest, #5B21B6)","warning-subtlest":"var(--surface-feedback-warning-subtlest, #FFF8F0)","warning-subtle":"var(--surface-feedback-warning-subtle, #FBEEDB)","warning-strong":"var(--surface-feedback-warning-strong, #FFDA94)","warning-strongest":"var(--surface-feedback-warning-strongest, #F59C00)"},container:{base:"var(--surface-container-base, #FFFFFF)"},interactive:{overlay:{universal:{default:"var(--surface-interactive-overlay-universal-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-universal-hover, #3A3D4D0A)",active:"var(--surface-interactive-overlay-universal-active, #3A3D4D14)",defaultInvisible:"var(--surface-interactive-overlay-universal-default-invisible, #3A3D4D00)"},light:{visible:"var(--surface-interactive-overlay-light-visible, #FFFFFF14)",hover:"var(--surface-interactive-overlay-light-hover, #FFFFFF29)",active:"var(--surface-interactive-overlay-light-active, #FFFFFF3D)"},dark:{transparent:"var(--surface-interactive-overlay-dark-transparent, #3A3D4D00)",visible:"var(--surface-interactive-overlay-dark-visible, #3A3D4D0A)",hover:"var(--surface-interactive-overlay-dark-hover, #3A3D4D14)",active:"var(--surface-interactive-overlay-dark-active, #3A3D4D29)"},button:{default:"var(--surface-interactive-overlay-button-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-button-hover, #3A3D4D29)",active:"var(--surface-interactive-overlay-button-active, #3A3D4D3D)"}},control:{track:{default:"var(--surface-interactive-control-track-default, #3A3D4D29)",hover:"var(--surface-interactive-control-track-hover, #3A3D4D3D)",active:"var(--surface-interactive-control-track-active, #3A3D4D66)"}},focus:{default:"var(--surface-interactive-focus-default, #3A3D4D66)"}}},border:{"critical-subtle":"var(--border-critical-subtle, #FFDBDB)","critical-strong":"var(--border-critical-strong, #B22424)","critical-strongest":"var(--border-critical-strongest, #8C1515)","positive-subtle":"var(--border-positive-subtle, #DAF2E4)","positive-strong":"var(--border-positive-strong, #0B7337)","info-subtle":"var(--border-info-subtle, #ABBCED)","info-strong":"var(--border-info-strong, #2C51BE)","default-subtle":"var(--border-default-subtle, #E4E7EE)","default-default":"var(--border-default-default, #CBD4E0)","default-strong":"var(--border-default-strong, #B1BCCA)","input-default":"var(--border-input-default, #BABDCC)","input-active":"var(--border-input-active, #515466)","warning-subtle":"var(--border-warning-subtle, #FBEEDB)","warning-strong":"var(--border-warning-strong, #E88800)","accent-subtle":"var(--border-accent-subtle, #C4B1F7)","accent-strong":"var(--border-accent-strong, #6036D4)","brand-subtle":"var(--border-brand-subtle, #F3B6B6)","brand-default":"var(--border-brand-default, #E24747)","brand-strong":"var(--border-brand-strong, #B53939)"},text:{"text-primary":"var(--text-text-primary, #0A0B0D)","text-secondary":"var(--text-text-secondary, #44506A)","text-tertiary":"var(--text-text-tertiary, #6A758D)","text-muted":"var(--text-text-muted, #9BA1AE)","text-on-colour":"var(--text-text-on-colour, #FFFFFF)","text-on-colour-subtle":"var(--text-text-on-colour-subtle, #F1F2F6)","text-info":"var(--text-text-info, #2C51BE)","text-positive":"var(--text-text-positive, #0B7337)","text-critical":"var(--text-text-critical, #B22424)","text-warning":"var(--text-text-warning, #E88800)","text-link":"var(--text-text-link, #1668E3)","text-accented":"var(--text-text-accented, #6036D4)","text-brand":"var(--text-text-brand, #E24747)","text-brand-subtlest":"var(--text-text-brand-subtlest, #FCEDED)"},icon:{"icon-primary":"var(--icon-icon-primary, #12131A)","icon-secondary":"var(--icon-icon-secondary, #696C80)","icon-tertiary":"var(--icon-icon-tertiary, #6A758D)","icon-muted":"var(--icon-icon-muted, #BABDCC)","icon-on-colour":"var(--icon-icon-on-colour, #FFFFFF)","icon-info":"var(--icon-icon-info, #2C51BE)","icon-positive":"var(--icon-icon-positive, #0B7337)","icon-critical":"var(--icon-icon-critical, #B22424)","icon-warning":"var(--icon-icon-warning, #E88800)","icon-link":"var(--icon-icon-link, #1668E3)","icon-accented":"var(--icon-icon-accented, #4C1D95)","icon-rating":"var(--icon-icon-rating, #FFB933)","icon-brand":"var(--icon-icon-brand, #E24747)","icon-brand-subtlest":"var(--icon-icon-brand-subtlest, #FCEDED)"}},dimensions:{radius:{none:0,xsmall:"2px",small:"4px",medium:"8px",large:"12px",xlarge:"16px",rounded:"9999px"},stroke:{regular:"1px",strong:"2px",bold:"4px"}},typography:s}},87787(e,t,o){var n=o(33751),r=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(o(17826)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var o,n,a={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(o=t){if(o.has(e))return o.get(e);o.set(e,a)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(n.get||n.set)?o(a,i,n):a[i]=e[i]);return a}(e)}(o(82015)),l=(n(o(29825)),n(o(26062))),s=n(o(23420)),d=o(94456);t.default=function(e){var t=e.className,o=e.label,n=void 0===o?"":o,r=e.uncheckedLabel,c=void 0===r?null:r,u=e.checkedLabel,f=void 0===u?null:u,p=e.disabled,g=void 0!==p&&p,v=e.height,b=void 0===v?32:v,h=e.width,x=void 0===h?52:h,m=e.checked,y=void 0!==m&&m,w=e.onChange,F=e.type,E=void 0===F?"default":F,D=e.size,k=e.labelPosition,T=void 0===k?"right":k,B=e.tooltipContent,A=function(){return"sm"===D?20:"md"===D?24:"lg"===D?32:b},C=(0,i.useState)(y),S=(0,a.default)(C,2),O=S[0],_=S[1];return(0,i.useEffect)(function(){return _(y)},[y]),i.default.createElement(d.StyledLabel,{labelPosition:T},i.default.createElement(d.StyledToggle,{"data-testid":"toggle-input",className:t,onChange:function(e){_(e),w&&w(e)},checked:O,uncheckedIcon:c&&i.default.createElement("span",{className:"toggle-btn-handle-off"},c),checkedIcon:f&&i.default.createElement("span",{className:"toggle-btn-handle-on"},f),disabled:g,height:A(),width:"sm"===D?32:"md"===D?40:"lg"===D?52:x,handleDiameter:A()-4,customType:E}),i.default.createElement("span",{"data-testid":"toggle-label",className:"toggle-label ".concat(g?"disabled":"")},B&&"left"===T&&i.default.createElement(l.default,{isV2:!0,className:"toggle-label-tooltip",customTrigger:i.default.createElement(s.default,{size:"12"})},B),n,B&&"right"===T&&i.default.createElement(l.default,{isV2:!0,className:"toggle-label-tooltip",customTrigger:i.default.createElement(s.default,{size:"12"})},B)))}},94456(e,t,o){var n=o(33751),r=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.TOGGLE_ON_COLOR=t.TOGGLE_OFF_COLOR=t.TOGGLE_HOVER_COLOR=t.StyledToggle=t.StyledLabel=void 0;var a=n(o(39062)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var o,n,a={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(o=t){if(o.has(e))return o.get(e);o.set(e,a)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(n.get||n.set)?o(a,i,n):a[i]=e[i]);return a}(e)}(o(32770)),l=o(33290),s=t.TOGGLE_ON_COLOR={default:l.tokens.colours.surface.interactive.control.track.active,filter:l.tokens.colours.surface.button.prominent},d=t.TOGGLE_OFF_COLOR={default:l.tokens.colours.surface.interactive.control.track.default,filter:l.tokens.colours.surface.interactive.control.track.default},c=t.TOGGLE_HOVER_COLOR={default:l.tokens.colours.surface.interactive.control.track.hover,filter:l.tokens.colours.surface.interactive.control.track.hover};t.StyledToggle=(0,i.default)(a.default).withConfig({displayName:"Togglestyle__StyledToggle",componentId:"sc-1a20a92-0"})(function(e){var t=e.customType,o=e.disabled;return(0,i.css)([".react-switch-bg{transition:all 0.5s ease;pointer-events:",";}&:has(input[aria-checked=false]){.react-switch-bg{background:"," !important;}&:hover{.react-switch-bg{background:"," !important;}}}&:has(input[aria-checked=true]){.react-switch-bg{background:"," !important;}&:hover{.react-switch-bg{background:"," !important;}}}"],o?"none":"auto",d[t],o?d[t]:c[t],s[t],s[t])}),t.StyledLabel=i.default.label.withConfig({displayName:"Togglestyle__StyledLabel",componentId:"sc-1a20a92-1"})(function(e){var t=e.labelPosition;return(0,i.css)(["display:inline-flex;align-items:center;flex-direction:",";gap:12px;.react-switch-handle{transition:all 0.5s ease;box-shadow:0 2px 3px 0 rgba(0,0,0,0.1) !important;}&:has(input:focus-visible){.react-switch-handle{outline:"," solid "," !important;}}.toggle-label{",";color:",";cursor:pointer;display:flex;gap:4px;align-items:center;justify-content:",";&.disabled{pointer-events:none;}.toggle-label-tooltip{height:12px;line-height:12px;svg{fill:",";}}}.toggle-btn-handle-off,.toggle-btn-handle-on{color:",";line-height:40px;font-size:14px;cursor:pointer;height:100%;text-align:center;z-index:1;display:inline-block;position:absolute;right:0;left:0;}"],"left"===t?"row-reverse":"row",l.tokens.dimensions.stroke.bold,l.tokens.colours.surface.interactive.focus.default,l.mixins.typography("body-03","medium"),l.tokens.colours.text["text-secondary"],"left"===t?"flex-end":"flex-start",l.tokens.colours.icon["icon-primary"],l.tokens.colours.surface.neutral.slate.base)})},65361(e,t,o){var n=o(33751),r=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(o(46031)),i=n(o(17826)),l=n(o(52462)),s=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var o,n,a={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(o=t){if(o.has(e))return o.get(e);o.set(e,a)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(n.get||n.set)?o(a,i,n):a[i]=e[i]);return a}(e)}(o(82015)),d=(n(o(29825)),o(48663)),c=n(o(81710)),u=n(o(29609)),f=o(86684),p=o(2126),g=["className","variant","placement","trigger","strategy","show","enableBackdrop","text","customTrigger","children","delayShow","delayHide","enableFallbackPlacement","closeOnOutsideClick","portalTarget","width","preventClickEventPropagation","isClosable","onVisibilityChange"];t.default=function(e){var t,o,n=e.className,r=e.variant,v=void 0===r?"light":r,b=e.placement,h=void 0===b?"bottom":b,x=e.trigger,m=void 0===x?"hover":x,y=e.strategy,w=void 0===y?"absolute":y,F=e.show,E=void 0!==F&&F,D=e.enableBackdrop,k=void 0!==D&&D,T=e.text,B=e.customTrigger,A=e.children,C=e.delayShow,S=void 0===C?0:C,O=e.delayHide,_=void 0===O?0:O,I=e.enableFallbackPlacement,H=void 0===I||I,M=e.closeOnOutsideClick,N=void 0===M||M,L=e.portalTarget,P=void 0!==L&&L,R=e.width,j=e.preventClickEventPropagation,G=void 0!==j&&j,z=e.isClosable,W=void 0===z||z,V=e.onVisibilityChange,q=(0,l.default)(e,g),X=(0,s.useRef)(null),Y=(0,s.useState)(E),U=(0,i.default)(Y,2),J=U[0],K=U[1];(0,s.useEffect)(function(){K(E)},[E]);var $=(0,d.useFloating)({placement:h,strategy:w,open:J,onOpenChange:function(e){K(e),V&&V(e)},middleware:[(0,d.offset)(10),(0,d.shift)(),(0,d.flip)({mainAxis:H}),(0,d.arrow)({element:X})]}),Z=$.refs,Q=$.context,ee=$.middlewareData,te=$.floatingStyles,oe=$.placement,ne={open:S,close:_},re=(0,d.useHover)(Q,{enabled:"hover"===m,delay:ne,handleClose:(0,d.safePolygon)()}),ae=(0,d.useClick)(Q,{enabled:"click"===m}),ie=(0,d.useDismiss)(Q,{enabled:N}),le=(0,d.useInteractions)([re,ae,ie]),se=le.getReferenceProps,de=le.getFloatingProps;(0,f.useDisableBodyScroll)(k&&!N&&J);var ce=null;!0===P?ce=document.body:P instanceof HTMLElement&&(ce=P);var ue=G?function(e){var t,o=null===(t=e.target)||void 0===t||null===(t=t.tagName)||void 0===t?void 0:t.toLowerCase();["a","button"].includes(o)||e.preventDefault(),e.stopPropagation()}:void 0,fe=s.default.createElement(p.StyledTooltip,(0,a.default)({ref:Z.setFloating,variant:v,width:R,"data-testid":"tooltip",role:"tooltip",className:n?"".concat(n,"-tooltip"):void 0,style:te,onClick:ue},de()),s.default.createElement(p.StyledArrow,{ref:X,"data-testid":"tooltip-arrow",role:"tooltip-arrow",placement:oe,style:{left:null===(t=ee.arrow)||void 0===t?void 0:t.x,top:null===(o=ee.arrow)||void 0===o?void 0:o.y}}),s.default.createElement(p.StyledTooltipContent,{"data-testid":"tooltip-content",role:"tooltip-content"},"click"===m&&W&&s.default.createElement(p.StyledCloseButton,{href:"#",onClick:function(e){K(!1),V&&V(!1),e.preventDefault()}},s.default.createElement(u.default,null)),A));return s.default.createElement("span",(0,a.default)({className:n,onClick:ue},q),s.default.createElement(p.StyledTrigger,(0,a.default)({ref:Z.setReference},se(),{"data-testid":"tooltip-trigger",role:"tooltip-trigger",enableBackdrop:k,isOpen:J}),B||(T?s.default.createElement("i",null,T):s.default.createElement(c.default,{role:"icon"}))),!ce&&J&&fe,ce&&J&&s.default.createElement(d.FloatingPortal,{root:ce},fe),J&&k&&s.default.createElement(p.StyledBackdrop,null))}},2126(e,t,o){var n=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledTrigger=t.StyledTooltipContent=t.StyledTooltip=t.StyledCloseButton=t.StyledBackdrop=t.StyledArrow=void 0;var r=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var o,r,a={__proto__:null,default:e};if(null===e||"object"!=n(e)&&"function"!=typeof e)return a;if(o=t){if(o.has(e))return o.get(e);o.set(e,a)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((r=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(r.get||r.set)?o(a,i,r):a[i]=e[i]);return a}(e)}(o(32770)),a=o(33290),i={boxShadow:"0 -2px 4px 0 rgba(58, 61, 77, 0.08), 0 20px 16px 0 rgba(58, 61, 77, 0.12), 0 -4px 16px -8px rgba(58, 61, 77, 0.04)",dark:{background:a.tokens.colours.icon["icon-secondary"],color:a.tokens.colours.text["text-on-colour"]},light:{background:a.tokens.colours.surface.container.base,color:a.tokens.colours.text["text-primary"]}};t.StyledTooltip=r.default.div.withConfig({displayName:"Tooltipstyle__StyledTooltip",componentId:"sc-qgu75v-0"})(["",";max-width:325px;border-radius:",";box-shadow:",";margin:0;text-align:left;z-index:999999;pointer-events:initial;"," ",""],a.mixins.typography("body-02","medium"),a.tokens.dimensions.radius.small,i.boxShadow,function(e){var t=e.width;return t&&(0,r.css)(["width:","px;max-width:none;"],t)},function(e){var t,o,n=e.variant;return n&&(0,r.css)(["background:",";color:",";"],null===(t=i[n])||void 0===t?void 0:t.background,null===(o=i[n])||void 0===o?void 0:o.color)}),t.StyledTrigger=r.default.span.withConfig({displayName:"Tooltipstyle__StyledTrigger",componentId:"sc-qgu75v-1"})(["display:inline-block;cursor:pointer;"," > *{font-style:normal;cursor:pointer;box-shadow:none;text-decoration:none;background:none;&:hover{cursor:pointer;}}[role='icon']{width:16px;height:16px;fill:#999999;&:hover{fill:#646464;}}i{text-decoration:underline;&:hover,&:focus{text-decoration:none;}}a{text-decoration:none;}"],function(e){var t=e.enableBackdrop,o=e.isOpen;return t&&o&&(0,r.css)(["z-index:3;position:relative;"])}),t.StyledTooltipContent=r.default.div.withConfig({displayName:"Tooltipstyle__StyledTooltipContent",componentId:"sc-qgu75v-2"})(["padding:8px 16px;border-radius:",";background:inherit;"],a.tokens.dimensions.radius.small),t.StyledArrow=r.default.div.withConfig({displayName:"Tooltipstyle__StyledArrow",componentId:"sc-qgu75v-3"})(["position:absolute;width:15px;height:15px;box-shadow:",";background:inherit;z-index:-1;",""],i.boxShadow,function(e){switch(e.placement){case"top":return(0,r.css)(["bottom:-7px;transform:rotate(45deg);"]);case"right":default:return(0,r.css)(["left:-7px;transform:rotate(135deg);"]);case"bottom":return(0,r.css)(["top:-7px;transform:rotate(225deg);"]);case"left":return(0,r.css)(["right:-7px;transform:rotate(315deg);"])}}),t.StyledCloseButton=r.default.a.withConfig({displayName:"Tooltipstyle__StyledCloseButton",componentId:"sc-qgu75v-4"})(["display:block;float:right;padding:0;margin:2px 0 2px 4px;box-shadow:none;font-size:12px;> svg{width:12px;height:12px;fill:",";}"],a.tokens.colours.icon["icon-primary"]),t.StyledBackdrop=r.default.div.withConfig({displayName:"Tooltipstyle__StyledBackdrop",componentId:"sc-qgu75v-5"})(["position:fixed;width:100%;height:100%;background:#000;opacity:0.5;top:0;left:0;z-index:2;"])},26062(e,t,o){var n=o(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(65361));t.default=r.default},63465(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeRegExp=t.detectOS=t.BREAKPOINTS=void 0,t.fetchDateInMilliseconds=function(){return(new Date).getTime()},t.getDateWithoutTime=t.getBoundingClientInfo=t.formatNumber=void 0,t.getDurationInMiliSeconds=function(e,t){return t-e},t.withScroll=t.setTwoDirectionStickyPanelById=t.setTwoDirectionStickyPanel=t.scrollTo=t.sanitiseInputText=t.removeHtmlTags=t.isValidIconName=t.isValidIconElement=t.isUserLoggedIn=t.isTouchDevice=t.isMobileTablet=t.isMobilePortrait=t.isMobile=t.isMatchMedia=t.hasScrollReachedBottom=t.getRandomArrayItem=t.getMonthName=t.getLoggedInUserDetails=t.getFormattedDate=void 0;var n=o(84513),r=t.BREAKPOINTS={MOBILE_PORTRAIT:567,MOBILE:767,TABLET:991,DESKTOP:1199},a=t.isMatchMedia=function(e){return window.matchMedia(e).matches},i=(t.isMobile=function(){return a("(max-width: ".concat(r.MOBILE,"px)"))},t.isMobileTablet=function(){return a("(max-width: ".concat(r.TABLET,"px)"))},t.isMobilePortrait=function(){return a("(max-width: ".concat(r.MOBILE_PORTRAIT,"px)"))},t.isTouchDevice=function(){return window.matchMedia("(pointer: coarse)").matches},t.detectOS=function(e){var t=e||navigator.userAgent,o=/(iPad).*OS\s([\d_]+)/.test(t);return{ios:!o&&/(iPhone\sOS)\s([\d_]+)/.test(t)||o,android:/(Android);?[\s/]+([\d.]+)?/.test(t)}},t.getLoggedInUserDetails=function(){var e=(0,n.getAllCookiesStorage)("customer-soft-id"),t={};if((null==e?void 0:e.length)>0)for(var o=0;o<e.length;o++){var r,a=null===(r=window.atob(e[o].split(".")[1]))||void 0===r?void 0:r.toString("ascii"),i=JSON.parse(a),l=i.firstName,s=i.email,d=i.dev;window.location.hostname.includes("dev.webjet")&&!d||(t={firstName:l,email:s})}return t}),l=(t.isUserLoggedIn=function(){return!!i().firstName},t.setTwoDirectionStickyPanel=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=window.innerHeight-e.offsetHeight-t,r=window.scrollY,a=window.innerHeight,i=e.offsetHeight;e.style.top=o+"px",window.addEventListener("resize",function(){a=window.innerHeight,i=e.offsetHeight}),document.addEventListener("scroll",function(){i=e.offsetHeight,n=window.innerHeight-e.offsetHeight-t;var l=parseInt(e.style.top.replace("px;",""));0===window.scrollY||i<=a?e.style.top=o+"px":window.scrollY<r?l<o?e.style.top=l+r-window.scrollY+"px":l>=o&&l!==o&&(e.style.top=o+"px"):l>n?e.style.top=l+r-window.scrollY+"px":l<n&&l!==n&&(e.style.top=n+"px"),r=window.scrollY},{capture:!0,passive:!0})}});t.setTwoDirectionStickyPanelById=function(e){l(document.getElementById(e))},t.hasScrollReachedBottom=function(e){if(!e)return!1;var t=e.scrollHeight,o=e.scrollTop,n=e.clientHeight,r=t-o;return r>=n-1&&r<=n+1},t.withScroll=function(e){if(!e)return!1;var t=e.scrollHeight,o=e.clientHeight;return!(t>=o-1&&t<=o+1)},t.escapeRegExp=function(e){return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):""},t.sanitiseInputText=function(e){return"string"==typeof e?e.replace(/[^a-zA-Z0-9\s,\\(\\)]/g,""):""},t.removeHtmlTags=function(e){return"string"==typeof e?String(e).replace(/(<([^>]+)>)/gi,""):e},t.isValidIconElement=function(e){var t;return"function"==typeof e&&"svg"===(null===(t=e())||void 0===t?void 0:t.type)},t.isValidIconName=function(e){return!!e&&"string"==typeof e},t.formatNumber=function(e,t){return e.toLocaleString("en-AU",{minimumFractionDigits:t,maximumFractionDigits:t})||0},t.scrollTo=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"smooth";"function"==typeof(null==e?void 0:e.scrollTo)&&e.scrollTo({behavior:o,top:t.top,left:t.left})},t.getBoundingClientInfo=function(e){return{height:Math.round(e.getBoundingClientRect().height),top:Math.round(e.getBoundingClientRect().top),bottom:Math.round(e.getBoundingClientRect().bottom),left:Math.round(e.getBoundingClientRect().left),right:Math.round(e.getBoundingClientRect().right)}},t.getMonthName=function(e){return null==e?void 0:e.toLocaleDateString(void 0,{month:"long"})},t.getFormattedDate=function(e){return"".concat(e.getDate(),"/").concat(e.getMonth()+1,"/").concat(e.getFullYear())},t.getDateWithoutTime=function(e){return new Date(e.toDateString())},t.getRandomArrayItem=function(e){return Array.isArray(e)&&e.length>0?e[Math.floor(Math.random()*e.length)]:null}},86684(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.useUpdateEffect=t.useDisableBodyScroll=t.useCombinedRefs=void 0;var n=o(82015),r=o(61554);t.useDisableBodyScroll=function(e){(0,n.useEffect)(function(){if(e)return(0,r.lockScroll)(),function(){(0,r.unlockScroll)()}},[e])},t.useCombinedRefs=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var r=(0,n.useRef)();return(0,n.useEffect)(function(){t.forEach(function(e){e&&("function"==typeof e?e(r.current):e.current=r.current)})},[t]),r},t.useUpdateEffect=function(e,t){var o=(0,n.useRef)(!0);(0,n.useEffect)(function(){if(!o.current)return e();o.current=!1},t)}},61554(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.unlockScroll=t.lockScroll=void 0;var n=o(63465),r=function(){void 0===window.wjuipl&&(window.wjuipl={}),void 0===window.wjuipl.scrollLockCount&&(window.wjuipl.scrollLockCount=0),void 0===window.wjuipl.scrollOffset&&(window.wjuipl.scrollOffset=0)};t.lockScroll=function(){if(r(),0===window.wjuipl.scrollLockCount){var e=window.innerWidth-document.body.offsetWidth;document.body.style.overflow="hidden",document.body.style.paddingRight="".concat(e,"px"),(0,n.detectOS)().ios&&(window.wjuipl.scrollOffset=window.pageYOffset,document.body.style.position="fixed",document.body.style.top="-".concat(window.wjuipl.scrollOffset,"px"),document.body.style.width="100%")}window.wjuipl.scrollLockCount+=1},t.unlockScroll=function(){r(),window.wjuipl.scrollLockCount>0&&(window.wjuipl.scrollLockCount-=1),0===window.wjuipl.scrollLockCount&&(document.body.style.overflow="",document.body.style.paddingRight="",(0,n.detectOS)().ios&&(document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,window.wjuipl.scrollOffset)))}},84513(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setSessionStorageJson=t.setSessionStorage=t.setCookieStorage=t.getSessionStorageJson=t.getSessionStorage=t.getCookieStorage=t.getAllCookiesStorage=void 0;var o=function(){var e="WJtestStorage";try{return!!window.sessionStorage&&(window.sessionStorage.setItem(e,1),window.sessionStorage.removeItem(e),!0)}catch(e){return!1}},n=(t.getSessionStorage=function(e){if(e&&o())try{return window.sessionStorage.getItem(e)}catch(e){return}},t.setSessionStorage=function(e,t){if(e&&o())try{return window.sessionStorage.setItem(e,t)}catch(e){return}},t.getSessionStorageJson=function(e){if(e&&o())try{return JSON.parse(window.sessionStorage.getItem(e))}catch(e){return}},t.setSessionStorageJson=function(e,t){if(e&&o())try{return window.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){return}},t.getCookieStorage=function(e){var t=n(e);return t.length>0?t[0]:null},t.getAllCookiesStorage=function(e){for(var t=e+"=",o=document.cookie.split(";"),n=[],r=0;r<o.length;r++){for(var a=o[r];" "===a.charAt(0);)a=a.substring(1,a.length);0===a.indexOf(t)&&n.push(a.substring(t.length,a.length))}return n});t.setCookieStorage=function(e,t,o){var n=window.location.hostname,r="localhost"===n?n:n.match(/(\.\w+){3}$/g);document.cookie="".concat(e,"=").concat(t,"; Domain=").concat(r,"; Path=/; Max-Age=").concat(o||86400)}},61116(e){e.exports=require("@babel/runtime/helpers/defineProperty")},46031(e){e.exports=require("@babel/runtime/helpers/extends")},33751(e){e.exports=require("@babel/runtime/helpers/interopRequireDefault")},52462(e){e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},17826(e){e.exports=require("@babel/runtime/helpers/slicedToArray")},8063(e){e.exports=require("@babel/runtime/helpers/typeof")},48663(e){e.exports=require("@floating-ui/react")},29609(e){e.exports=require("@webjet/react-icons/close")},81710(e){e.exports=require("@webjet/react-icons/info-circle")},23420(e){e.exports=require("@webjet/react-icons/info-outline")},29825(e){e.exports=require("prop-types")},82015(e){e.exports=require("react")},39062(e){e.exports=require("react-switch")},32770(e){e.exports=require("styled-components")}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,o),a.exports}var n={};(()=>{var e=n,t=o(33751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(o(87787));e.default=r.default})(),module.exports=n})();
|
|
1
|
+
(()=>{"use strict";var e={60509(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={greys:{white:"#FFFFFF",offWhite:"#FFEADC",grey50:"#F5F5F5",grey100:"#EBEBEB",grey200:"#DFDFDF",grey300:"#CCCCCC",grey400:"#BFBFBF",grey500:"#999999",grey600:"#878787",grey700:"#646464",grey800:"#4D4D4D",grey900:"#333333",black:"#000000"}}},9090(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={dateFormatExtraShort:"d MMM",dateFormatShort:"E d MMM",dateFormat:"E d MMM yyyy",dateFormatLong:"E d MMMM yyyy",timeFormat:"h:mm a",dayLabelFormat:"E MMM dd yyyy",weekStartsOn:1,weekFormat:"E",scrollToViewOptions:{behavior:"smooth",block:"end",scrollMode:"if-needed"}}},2811(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT_VARIANT=t.FONT_WEIGHT=void 0,t.TEXT_VARIANT={HEADING01:"heading-01",HEADING02:"heading-02",HEADING03:"heading-03",HEADING04:"heading-04",HEADING05:"heading-05",HEADING06:"heading-06",HEADING07:"heading-07",HEADING08:"heading-08",HEADING09:"heading-09",BODY01:"body-01",BODY02:"body-02",BODY03:"body-03",BODY04:"body-04",LABEL01:"label-01",LABEL02:"label-02",LABEL03:"label-03",LABEL04:"label-04"},t.FONT_WEIGHT={LIGHT:"light",REGULAR:"regular",MEDIUM:"medium",SEMIBOLD:"semi-bold",BOLD:"bold",EXTRABOLD:"extra-bold"}},34341(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={elevation01:"0px 1px 2px 0px rgba(51, 51, 51, 0.08)",elevation02:"0px 2px 4px 0px rgba(51, 51, 51, 0.10)",elevation03:"0px 6px 8px 0px rgba(51, 51, 51, 0.10)",elevation04:"0px 10px 16px 0px rgba(51, 51, 51, 0.10)",elevation05:"0px 16px 32px 0px rgba(51, 51, 51, 0.16)"}},35050(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={notification:{success:{color:"#149000",backgroundColor:"#EEF7EB"},error:{color:"#BE0000",backgroundColor:"#F2DEDE"},warning:{color:"#FF5C00",backgroundColor:"#F6EDE6"},info:{color:"#3D9AF2",backgroundColor:"#ECF5FE"},notice:{color:"#FEB42B",backgroundColor:"#FFF3CD"}},textLink:{color:"var(--text-text-link, #1668E3)",hoverColor:"var(--text-text-link, #1668E3)"},webjetRed:"#E24747"}},33290(e,t,o){var n=o(33751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"elevation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tokens",{enumerable:!0,get:function(){return i.default}});var r=n(o(61267)),a=n(o(60492)),i=n(o(74362)),l=n(o(19098)),s=n(o(9090)),d=n(o(35050)),c=n(o(60509)),u=n(o(34341))},19098(e,t,o){var n=o(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(32770),a=n(o(61267)),i=n(o(74362)),l=(0,r.css)(["font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],a.default.fontSize,a.default.fontColor);t.default={globalStyles:l,typography:function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=i.default.typography[e],a=n.lineHeight,l=n.lineHeightType,s=n.fontSize;return(0,r.css)(["line-height:",";font-size:",";font-weight:",";",""],i.default.font.desktop["line-height"][l][a],i.default.font.desktop.size[s],i.default.font.desktop.weight[t],o&&(0,r.css)(["@media ","{line-height:",";font-size:",";font-weight:",";}"],i.default.media.mobile,i.default.font.mobile["line-height"][l][a],i.default.font.mobile.size[s],i.default.font.mobile.weight[t]))},typographyMobile:function(e,t){var o=i.default.typography[e],n=o.lineHeight,a=o.lineHeightType,l=o.fontSize;return(0,r.css)(["line-height:",";font-size:",";font-weight:",";"],i.default.font.mobile["line-height"][a][n],i.default.font.mobile.size[l],i.default.font.mobile.weight[t])}}},60492(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#E24747","#F5F5F5","#DFDFDF","#EBEBEB","#CCCCCC","#BFBFBF","#999999","#878787","#646464","#4D4D4D","#333333","#FFFFFF","#000000","#3D9AF2","#1668E3","#00509C","#FF8C00","#2DB300","#B0CFE2","#3587D4","#E07B00","#29A300","#D5EFCC","#F6F2E6","#CFCFCF","#454545","#F2DEDE","#B13312","#FFF3CD","#7A7A7A","#FEB42B","#E96962","#FEFAFA","#C81209","#BD1109","#E44C45"],n={fontFamily:{primary:"inherit",icon:"WebjetIcons"},fontSize:"13px",fontColor:o[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:o[5],hoverColor:o[6],hoverDarkColor:o[7],textHighlight:o[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:o[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:o[5],inputIcon:o[9],inputIconBackground:o[2],inputIconHoverBackground:o[5],inputCrossBtn:"#a8a8a8",btnStandard:o[2],btnStandardHover:o[5],btnAction:o[17],btnActionHover:"#259400",btnActive:o[13],btnActiveHover:o[19],btnSelection:o[16],btnSelectionHover:o[20],successBackground:o[22],successText:o[21],errorBackground:o[26],errorText:o[27],sliderPrimary:o[13],color:o,media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",tabletAndSmallDesktop:"only screen and (min-width: 768px) and (max-width: 1199px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},validationColors:{inputErrorBackground:"#F2DEDE",inputErrorHoverBackground:"#E8D5D5",inputErrorText:o[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=n},61267(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#E24747","#F5F5F5","#DFDFDF","#EBEBEB","#CCCCCC","#BFBFBF","#999999","#878787","#646464","#4D4D4D","#333333","#FFFFFF","#000000","#3D9AF2","#1668E3","#00509C","#FF8C00","#2DB300","#B0CFE2","#3587D4","#E07B00","#29A300","#D5EFCC","#F6F2E6","#CFCFCF","#454545","#F2DEDE","#B13312","#FFF3CD","#7A7A7A","#FEB42B","#E96962","#FEFAFA"],n={fontFamily:{icon:"WebjetIcons"},fontSize:"13px",fontColor:o[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:o[5],hoverColor:o[6],hoverDarkColor:o[7],textHighlight:o[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:o[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:o[5],inputIcon:o[9],inputIconBackground:o[2],inputIconHoverBackground:o[5],inputCrossBtn:"#a8a8a8",btnStandard:o[2],btnStandardHover:o[5],btnAction:o[17],btnActionHover:"#259400",btnActive:o[13],btnActiveHover:o[19],btnSelection:o[16],btnSelectionHover:o[20],successBackground:o[22],successText:o[21],errorBackground:o[26],errorText:o[27],sliderPrimary:o[13],color:o,media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},validationColors:{inputErrorBackground:"#F2DEDE",inputErrorHoverBackground:"#E8D5D5",inputErrorText:o[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=n},74362(e,t,o){var n=o(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(o(61116)),i=o(2811),l={desktop:{size:{50:"10px",100:"12px",200:"14px",300:"16px",400:"20px",500:"24px",600:"28px",700:"32px",800:"36px",900:"40px"},"line-height":{standard:{50:"16px",100:"18px",200:"20px",300:"24px",400:"32px",500:"36px",600:"40px",700:"48px",800:"56px",900:"60px"},condensed:{100:"16px",200:"18px",300:"20px",400:"24px",500:"28px",600:"32px",700:"40px",800:"44px",900:"48px"},equal:{50:"10px",100:"12px",200:"14px",300:"16px",400:"20px",500:"24px",600:"28px",700:"32px",800:"36px",900:"40px"}},weight:(0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)({},i.FONT_WEIGHT.LIGHT,300),i.FONT_WEIGHT.REGULAR,400),i.FONT_WEIGHT.MEDIUM,500),i.FONT_WEIGHT.SEMIBOLD,600),i.FONT_WEIGHT.BOLD,700),i.FONT_WEIGHT.EXTRABOLD,800)},mobile:{size:{50:"10px",100:"12px",200:"14px",300:"16px",400:"18px",500:"20px",600:"24px",700:"28px",800:"32px",900:"36px"},"line-height":{standard:{50:"16px",100:"18px",200:"20px",300:"24px",400:"28px",500:"32px",600:"36px",700:"40px",800:"48px",900:"56px"},condensed:{100:"16px",200:"18px",300:"20px",400:"22px",500:"24px",600:"28px",700:"32px",800:"40px",900:"44px"},equal:{50:"10px",100:"12px",200:"14px",300:"16px",400:"18px",500:"20px",600:"24px",700:"28px",800:"32px",900:"36px"}},weight:(0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)({},i.FONT_WEIGHT.LIGHT,300),i.FONT_WEIGHT.REGULAR,400),i.FONT_WEIGHT.MEDIUM,500),i.FONT_WEIGHT.SEMIBOLD,600),i.FONT_WEIGHT.BOLD,700),i.FONT_WEIGHT.EXTRABOLD,800)}},s=(r={},(0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)(r,i.TEXT_VARIANT.HEADING01,{fontSize:100,lineHeight:100,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING02,{fontSize:200,lineHeight:200,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING03,{fontSize:300,lineHeight:300,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING04,{fontSize:400,lineHeight:400,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING05,{fontSize:500,lineHeight:500,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING06,{fontSize:600,lineHeight:600,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING07,{fontSize:700,lineHeight:700,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING08,{fontSize:800,lineHeight:800,lineHeightType:"condensed"}),i.TEXT_VARIANT.HEADING09,{fontSize:900,lineHeight:900,lineHeightType:"condensed"}),i.TEXT_VARIANT.BODY01,{fontSize:50,lineHeight:50,lineHeightType:"standard"}),(0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)((0,a.default)(r,i.TEXT_VARIANT.BODY02,{fontSize:100,lineHeight:100,lineHeightType:"standard"}),i.TEXT_VARIANT.BODY03,{fontSize:200,lineHeight:200,lineHeightType:"standard"}),i.TEXT_VARIANT.BODY04,{fontSize:300,lineHeight:300,lineHeightType:"standard"}),i.TEXT_VARIANT.LABEL01,{fontSize:50,lineHeight:50,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL02,{fontSize:100,lineHeight:100,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL03,{fontSize:200,lineHeight:200,lineHeightType:"equal"}),i.TEXT_VARIANT.LABEL04,{fontSize:300,lineHeight:300,lineHeightType:"equal"}));t.default={media:{smallMobilePortrait:"only screen and (max-width: 374px)",mobilePortrait:"only screen and (max-width: 567px)",mobileLandscape:"only screen and (min-width: 567px) and (max-width: 767px)",mobile:"only screen and (max-width: 767px)",notMobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobileAndTablet:"only screen and (max-width: 991px)",tabletAndDesktop:"only screen and (min-width: 768px)",tabletAndSmallDesktop:"only screen and (min-width: 768px) and (max-width: 1199px)",desktop:"only screen and (min-width: 992px) and (max-width: 1199px)",desktopAndWideDesktop:"only screen and (min-width: 992px)",wideDesktop:"only screen and (min-width: 1200px)"},font:l,colours:{surface:{brand:{subtlest:"var(--surface-brand-subtlest, #FCEDED)",subtle:"var(--surface-brand-subtle, #F3B6B6)",default:"var(--surface-brand-default, #E24747)",strong:"var(--surface-brand-strong, #CB4040)",strongest:"var(--surface-brand-strongest, #B53939)"},button:{prominent:"var(--surface-button-prominent, #311EA8)",neutral:"var(--surface-button-neutral, #EBECF2)"},neutral:{slate:{base:"var(--surface-neutral-slate-base, #FFFFFF)",subtlest:"var(--surface-neutral-slate-subtlest, #F7F8FA)",subtle:"var(--surface-neutral-slate-subtle, #F1F2F6)",moderate:"var(--surface-neutral-slate-moderate, #EBECF2)",strong:"var(--surface-neutral-slate-strong, #D8DAE5)"},warm:{base:"var(--surface-neutral-warm-base, #FFFFFF)",subtlest:"var(--surface-neutral-warm-subtlest, #F4F6F4)",subtle:"var(--surface-neutral-warm-subtle, #F0F1F0)",moderate:"var(--surface-neutral-warm-moderate, #E0E1E0)",strong:"var(--surface-neutral-warm-strong, #D0D2D0)",strongest:"var(--surface-neutral-warm-strongest, #C5C8C5)"}},feedback:{"positive-subtlest":"var(--surface-feedback-positive-subtlest, #F7FCFA)","positive-subtle":"var(--surface-feedback-positive-subtle, #EFFAF4)","positive-strong":"var(--surface-feedback-positive-strong, #DAF2E4)","positive-strongest":"var(--surface-feedback-positive-strongest, #0B7337)","neutral-subtlest":"var(--surface-feedback-neutral-subtlest, #F1F2F6)","neutral-subtle":"var(--surface-feedback-neutral-subtle, #EBECF2)","neutral-strong":"var(--surface-feedback-neutral-strong, #828699)","neutral-strongest":"var(--surface-feedback-neutral-strongest, #696C80)","critical-subtlest":"var(--surface-feedback-critical-subtlest, #FFF7F7)","critical-subtle":"var(--surface-feedback-critical-subtle, #FFEEEE)","critical-strong":"var(--surface-feedback-critical-strong, #FFE5E5)","critical-strongest":"var(--surface-feedback-critical-strongest, #B22424)","info-subtlest":"var(--surface-feedback-info-subtlest, #F3F5FC)","info-subtle":"var(--surface-feedback-info-subtle, #E6EBF9)","info-strong":"var(--surface-feedback-info-strong, #CFD8F4)","info-strongest":"var(--surface-feedback-info-strongest, #294CB5)","accent-subtlest":"var(--surface-feedback-accent-subtlest, #F7F6FF)","accent-subtle":"var(--surface-feedback-accent-subtle, #DDD6FE)","accent-strong":"var(--surface-feedback-accent-strong, #C4B5FD)","accent-strongest":"var(--surface-feedback-accent-strongest, #5B21B6)","warning-subtlest":"var(--surface-feedback-warning-subtlest, #FFF8F0)","warning-subtle":"var(--surface-feedback-warning-subtle, #FBEEDB)","warning-strong":"var(--surface-feedback-warning-strong, #FFDA94)","warning-strongest":"var(--surface-feedback-warning-strongest, #F59C00)"},container:{base:"var(--surface-container-base, #FFFFFF)"},interactive:{overlay:{universal:{default:"var(--surface-interactive-overlay-universal-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-universal-hover, #3A3D4D0A)",active:"var(--surface-interactive-overlay-universal-active, #3A3D4D14)",defaultInvisible:"var(--surface-interactive-overlay-universal-default-invisible, #3A3D4D00)"},light:{visible:"var(--surface-interactive-overlay-light-visible, #FFFFFF14)",hover:"var(--surface-interactive-overlay-light-hover, #FFFFFF29)",active:"var(--surface-interactive-overlay-light-active, #FFFFFF3D)"},dark:{transparent:"var(--surface-interactive-overlay-dark-transparent, #3A3D4D00)",visible:"var(--surface-interactive-overlay-dark-visible, #3A3D4D0A)",hover:"var(--surface-interactive-overlay-dark-hover, #3A3D4D14)",active:"var(--surface-interactive-overlay-dark-active, #3A3D4D29)"},button:{default:"var(--surface-interactive-overlay-button-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-button-hover, #3A3D4D29)",active:"var(--surface-interactive-overlay-button-active, #3A3D4D3D)"}},control:{track:{default:"var(--surface-interactive-control-track-default, #3A3D4D29)",hover:"var(--surface-interactive-control-track-hover, #3A3D4D3D)",active:"var(--surface-interactive-control-track-active, #3A3D4D66)"}},focus:{default:"var(--surface-interactive-focus-default, #3A3D4D66)"}}},border:{"critical-subtle":"var(--border-critical-subtle, #FFDBDB)","critical-strong":"var(--border-critical-strong, #B22424)","critical-strongest":"var(--border-critical-strongest, #8C1515)","positive-subtle":"var(--border-positive-subtle, #DAF2E4)","positive-strong":"var(--border-positive-strong, #0B7337)","info-subtle":"var(--border-info-subtle, #ABBCED)","info-strong":"var(--border-info-strong, #2C51BE)","default-subtle":"var(--border-default-subtle, #E4E7EE)","default-default":"var(--border-default-default, #CBD4E0)","default-strong":"var(--border-default-strong, #B1BCCA)","input-default":"var(--border-input-default, #BABDCC)","input-active":"var(--border-input-active, #515466)","warning-subtle":"var(--border-warning-subtle, #FBEEDB)","warning-strong":"var(--border-warning-strong, #E88800)","accent-subtle":"var(--border-accent-subtle, #C4B1F7)","accent-strong":"var(--border-accent-strong, #6036D4)","brand-subtle":"var(--border-brand-subtle, #F3B6B6)","brand-default":"var(--border-brand-default, #E24747)","brand-strong":"var(--border-brand-strong, #B53939)"},text:{"text-primary":"var(--text-text-primary, #0A0B0D)","text-secondary":"var(--text-text-secondary, #44506A)","text-tertiary":"var(--text-text-tertiary, #6A758D)","text-muted":"var(--text-text-muted, #9BA1AE)","text-on-colour":"var(--text-text-on-colour, #FFFFFF)","text-on-colour-subtle":"var(--text-text-on-colour-subtle, #F1F2F6)","text-info":"var(--text-text-info, #2C51BE)","text-positive":"var(--text-text-positive, #0B7337)","text-critical":"var(--text-text-critical, #B22424)","text-warning":"var(--text-text-warning, #E88800)","text-link":"var(--text-text-link, #1668E3)","text-accented":"var(--text-text-accented, #6036D4)","text-brand":"var(--text-text-brand, #E24747)","text-brand-subtlest":"var(--text-text-brand-subtlest, #FCEDED)"},icon:{"icon-primary":"var(--icon-icon-primary, #12131A)","icon-secondary":"var(--icon-icon-secondary, #696C80)","icon-tertiary":"var(--icon-icon-tertiary, #6A758D)","icon-muted":"var(--icon-icon-muted, #BABDCC)","icon-on-colour":"var(--icon-icon-on-colour, #FFFFFF)","icon-info":"var(--icon-icon-info, #2C51BE)","icon-positive":"var(--icon-icon-positive, #0B7337)","icon-critical":"var(--icon-icon-critical, #B22424)","icon-warning":"var(--icon-icon-warning, #E88800)","icon-link":"var(--icon-icon-link, #1668E3)","icon-accented":"var(--icon-icon-accented, #4C1D95)","icon-rating":"var(--icon-icon-rating, #FFB933)","icon-brand":"var(--icon-icon-brand, #E24747)","icon-brand-subtlest":"var(--icon-icon-brand-subtlest, #FCEDED)"}},dimensions:{radius:{none:0,xsmall:"2px",small:"4px",medium:"8px",large:"12px",xlarge:"16px",rounded:"9999px"},stroke:{regular:"1px",strong:"2px",bold:"4px"}},typography:s}},87787(e,t,o){var n=o(33751),r=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(o(17826)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var o,n,a={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(o=t){if(o.has(e))return o.get(e);o.set(e,a)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(n.get||n.set)?o(a,i,n):a[i]=e[i]);return a}(e)}(o(82015)),l=(n(o(29825)),n(o(26062))),s=n(o(23420)),d=o(94456);t.default=function(e){var t=e.className,o=e.label,n=void 0===o?"":o,r=e.uncheckedLabel,c=void 0===r?null:r,u=e.checkedLabel,f=void 0===u?null:u,p=e.disabled,g=void 0!==p&&p,v=e.height,b=void 0===v?32:v,h=e.width,x=void 0===h?52:h,m=e.checked,y=void 0!==m&&m,w=e.onChange,F=e.type,E=void 0===F?"default":F,D=e.size,k=e.labelPosition,T=void 0===k?"right":k,A=e.tooltipContent,B=function(){return"sm"===D?20:"md"===D?24:"lg"===D?32:b},C=(0,i.useState)(y),S=(0,a.default)(C,2),O=S[0],_=S[1];return(0,i.useEffect)(function(){return _(y)},[y]),i.default.createElement(d.StyledLabel,{labelPosition:T},i.default.createElement(d.StyledToggle,{"data-testid":"toggle-input",className:t,onChange:function(e){_(e),w&&w(e)},checked:O,uncheckedIcon:c&&i.default.createElement("span",{className:"toggle-btn-handle-off"},c),checkedIcon:f&&i.default.createElement("span",{className:"toggle-btn-handle-on"},f),disabled:g,height:B(),width:"sm"===D?32:"md"===D?40:"lg"===D?52:x,handleDiameter:B()-4,customType:E}),i.default.createElement("span",{"data-testid":"toggle-label",className:"toggle-label ".concat(g?"disabled":"")},A&&"left"===T&&i.default.createElement(l.default,{isV2:!0,className:"toggle-label-tooltip",customTrigger:i.default.createElement(s.default,{size:"12"})},A),n,A&&"right"===T&&i.default.createElement(l.default,{isV2:!0,className:"toggle-label-tooltip",customTrigger:i.default.createElement(s.default,{size:"12"})},A)))}},94456(e,t,o){var n=o(33751),r=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.TOGGLE_ON_COLOR=t.TOGGLE_OFF_COLOR=t.TOGGLE_HOVER_COLOR=t.StyledToggle=t.StyledLabel=void 0;var a=n(o(39062)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var o,n,a={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(o=t){if(o.has(e))return o.get(e);o.set(e,a)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(n.get||n.set)?o(a,i,n):a[i]=e[i]);return a}(e)}(o(32770)),l=o(33290),s=t.TOGGLE_ON_COLOR={default:l.tokens.colours.surface.interactive.control.track.active,filter:l.tokens.colours.surface.button.prominent},d=t.TOGGLE_OFF_COLOR={default:l.tokens.colours.surface.interactive.control.track.default,filter:l.tokens.colours.surface.interactive.control.track.default},c=t.TOGGLE_HOVER_COLOR={default:l.tokens.colours.surface.interactive.control.track.hover,filter:l.tokens.colours.surface.interactive.control.track.hover};t.StyledToggle=(0,i.default)(a.default).withConfig({displayName:"Togglestyle__StyledToggle",componentId:"sc-1a20a92-0"})(function(e){var t=e.customType,o=e.disabled;return(0,i.css)([".react-switch-bg{transition:all 0.5s ease;pointer-events:",";}&:has(input[aria-checked=false]){.react-switch-bg{background:"," !important;}&:hover{.react-switch-bg{background:"," !important;}}}&:has(input[aria-checked=true]){.react-switch-bg{background:"," !important;}&:hover{.react-switch-bg{background:"," !important;}}}"],o?"none":"auto",d[t],o?d[t]:c[t],s[t],s[t])}),t.StyledLabel=i.default.label.withConfig({displayName:"Togglestyle__StyledLabel",componentId:"sc-1a20a92-1"})(function(e){var t=e.labelPosition;return(0,i.css)(["display:inline-flex;align-items:center;flex-direction:",";gap:12px;.react-switch-handle{transition:all 0.5s ease;box-shadow:0 2px 3px 0 rgba(0,0,0,0.1) !important;}&:has(input:focus-visible){.react-switch-handle{outline:"," solid "," !important;}}.toggle-label{",";color:",";cursor:pointer;display:flex;gap:4px;align-items:center;justify-content:",";&.disabled{pointer-events:none;}.toggle-label-tooltip{height:12px;line-height:12px;svg{fill:",";}}}.toggle-btn-handle-off,.toggle-btn-handle-on{color:",";line-height:40px;font-size:14px;cursor:pointer;height:100%;text-align:center;z-index:1;display:inline-block;position:absolute;right:0;left:0;}"],"left"===t?"row-reverse":"row",l.tokens.dimensions.stroke.bold,l.tokens.colours.surface.interactive.focus.default,l.mixins.typography("body-03","medium"),l.tokens.colours.text["text-secondary"],"left"===t?"flex-end":"flex-start",l.tokens.colours.icon["icon-primary"],l.tokens.colours.surface.neutral.slate.base)})},65361(e,t,o){var n=o(33751),r=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(o(46031)),i=n(o(17826)),l=n(o(52462)),s=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var o,n,a={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(o=t){if(o.has(e))return o.get(e);o.set(e,a)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(n.get||n.set)?o(a,i,n):a[i]=e[i]);return a}(e)}(o(82015)),d=(n(o(29825)),o(48663)),c=n(o(81710)),u=n(o(29609)),f=o(86684),p=o(2126),g=["className","variant","placement","trigger","strategy","show","enableBackdrop","text","customTrigger","children","delayShow","delayHide","enableFallbackPlacement","closeOnOutsideClick","portalTarget","width","preventClickEventPropagation","isClosable","onVisibilityChange"];t.default=function(e){var t,o,n=e.className,r=e.variant,v=void 0===r?"light":r,b=e.placement,h=void 0===b?"bottom":b,x=e.trigger,m=void 0===x?"hover":x,y=e.strategy,w=void 0===y?"absolute":y,F=e.show,E=void 0!==F&&F,D=e.enableBackdrop,k=void 0!==D&&D,T=e.text,A=e.customTrigger,B=e.children,C=e.delayShow,S=void 0===C?0:C,O=e.delayHide,_=void 0===O?0:O,I=e.enableFallbackPlacement,H=void 0===I||I,M=e.closeOnOutsideClick,N=void 0===M||M,L=e.portalTarget,P=void 0!==L&&L,R=e.width,j=e.preventClickEventPropagation,G=void 0!==j&&j,z=e.isClosable,W=void 0===z||z,V=e.onVisibilityChange,q=(0,l.default)(e,g),X=(0,s.useRef)(null),Y=(0,s.useState)(E),U=(0,i.default)(Y,2),J=U[0],K=U[1];(0,s.useEffect)(function(){K(E)},[E]);var $=(0,d.useFloating)({placement:h,strategy:w,open:J,onOpenChange:function(e){K(e),V&&V(e)},middleware:[(0,d.offset)(10),(0,d.shift)(),(0,d.flip)({mainAxis:H}),(0,d.arrow)({element:X})]}),Z=$.refs,Q=$.context,ee=$.middlewareData,te=$.floatingStyles,oe=$.placement,ne={open:S,close:_},re=(0,d.useHover)(Q,{enabled:"hover"===m,delay:ne,handleClose:(0,d.safePolygon)()}),ae=(0,d.useClick)(Q,{enabled:"click"===m}),ie=(0,d.useDismiss)(Q,{enabled:N}),le=(0,d.useInteractions)([re,ae,ie]),se=le.getReferenceProps,de=le.getFloatingProps;(0,f.useDisableBodyScroll)(k&&!N&&J);var ce=null;!0===P?ce=document.body:P instanceof HTMLElement&&(ce=P);var ue=G?function(e){var t,o=null===(t=e.target)||void 0===t||null===(t=t.tagName)||void 0===t?void 0:t.toLowerCase();["a","button"].includes(o)||e.preventDefault(),e.stopPropagation()}:void 0,fe=s.default.createElement(p.StyledTooltip,(0,a.default)({ref:Z.setFloating,variant:v,width:R,"data-testid":"tooltip",role:"tooltip",className:n?"".concat(n,"-tooltip"):void 0,style:te,onClick:ue},de()),s.default.createElement(p.StyledArrow,{ref:X,"data-testid":"tooltip-arrow",role:"tooltip-arrow",placement:oe,style:{left:null===(t=ee.arrow)||void 0===t?void 0:t.x,top:null===(o=ee.arrow)||void 0===o?void 0:o.y}}),s.default.createElement(p.StyledTooltipContent,{"data-testid":"tooltip-content",role:"tooltip-content"},"click"===m&&W&&s.default.createElement(p.StyledCloseButton,{href:"#",onClick:function(e){K(!1),V&&V(!1),e.preventDefault()}},s.default.createElement(u.default,null)),B));return s.default.createElement("span",(0,a.default)({className:n,onClick:ue},q),s.default.createElement(p.StyledTrigger,(0,a.default)({ref:Z.setReference},se(),{"data-testid":"tooltip-trigger",role:"tooltip-trigger",enableBackdrop:k,isOpen:J}),A||(T?s.default.createElement("i",null,T):s.default.createElement(c.default,{role:"icon"}))),!ce&&J&&fe,ce&&J&&s.default.createElement(d.FloatingPortal,{root:ce},fe),J&&k&&s.default.createElement(p.StyledBackdrop,null))}},2126(e,t,o){var n=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledTrigger=t.StyledTooltipContent=t.StyledTooltip=t.StyledCloseButton=t.StyledBackdrop=t.StyledArrow=void 0;var r=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var o,r,a={__proto__:null,default:e};if(null===e||"object"!=n(e)&&"function"!=typeof e)return a;if(o=t){if(o.has(e))return o.get(e);o.set(e,a)}for(var i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((r=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,i))&&(r.get||r.set)?o(a,i,r):a[i]=e[i]);return a}(e)}(o(32770)),a=o(33290),i={boxShadow:"0 -2px 4px 0 rgba(58, 61, 77, 0.08), 0 20px 16px 0 rgba(58, 61, 77, 0.12), 0 -4px 16px -8px rgba(58, 61, 77, 0.04)",dark:{background:a.tokens.colours.icon["icon-secondary"],color:a.tokens.colours.text["text-on-colour"]},light:{background:a.tokens.colours.surface.container.base,color:a.tokens.colours.text["text-primary"]}};t.StyledTooltip=r.default.div.withConfig({displayName:"Tooltipstyle__StyledTooltip",componentId:"sc-qgu75v-0"})(["",";max-width:325px;border-radius:",";box-shadow:",";margin:0;text-align:left;z-index:999999;pointer-events:initial;"," ",""],a.mixins.typography("body-02","medium"),a.tokens.dimensions.radius.small,i.boxShadow,function(e){var t=e.width;return t&&(0,r.css)(["width:","px;max-width:none;"],t)},function(e){var t,o,n=e.variant;return n&&(0,r.css)(["background:",";color:",";"],null===(t=i[n])||void 0===t?void 0:t.background,null===(o=i[n])||void 0===o?void 0:o.color)}),t.StyledTrigger=r.default.span.withConfig({displayName:"Tooltipstyle__StyledTrigger",componentId:"sc-qgu75v-1"})(["display:inline-block;cursor:pointer;"," > *{font-style:normal;cursor:pointer;box-shadow:none;text-decoration:none;background:none;&:hover{cursor:pointer;}}[role='icon']{width:16px;height:16px;fill:#999999;&:hover{fill:#646464;}}i{text-decoration:underline;&:hover,&:focus{text-decoration:none;}}a{text-decoration:none;}"],function(e){var t=e.enableBackdrop,o=e.isOpen;return t&&o&&(0,r.css)(["z-index:3;position:relative;"])}),t.StyledTooltipContent=r.default.div.withConfig({displayName:"Tooltipstyle__StyledTooltipContent",componentId:"sc-qgu75v-2"})(["padding:8px 16px;border-radius:",";background:inherit;"],a.tokens.dimensions.radius.small),t.StyledArrow=r.default.div.withConfig({displayName:"Tooltipstyle__StyledArrow",componentId:"sc-qgu75v-3"})(["position:absolute;width:15px;height:15px;box-shadow:",";background:inherit;z-index:-1;",""],i.boxShadow,function(e){switch(e.placement){case"top":return(0,r.css)(["bottom:-7px;transform:rotate(45deg);"]);case"right":default:return(0,r.css)(["left:-7px;transform:rotate(135deg);"]);case"bottom":return(0,r.css)(["top:-7px;transform:rotate(225deg);"]);case"left":return(0,r.css)(["right:-7px;transform:rotate(315deg);"])}}),t.StyledCloseButton=r.default.a.withConfig({displayName:"Tooltipstyle__StyledCloseButton",componentId:"sc-qgu75v-4"})(["display:block;float:right;padding:0;margin:2px 0 2px 4px;box-shadow:none;font-size:12px;> svg{width:12px;height:12px;fill:",";}"],a.tokens.colours.icon["icon-primary"]),t.StyledBackdrop=r.default.div.withConfig({displayName:"Tooltipstyle__StyledBackdrop",componentId:"sc-qgu75v-5"})(["position:fixed;width:100%;height:100%;background:#000;opacity:0.5;top:0;left:0;z-index:2;"])},26062(e,t,o){var n=o(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(65361));t.default=r.default},63465(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeRegExp=t.detectOS=t.BREAKPOINTS=void 0,t.fetchDateInMilliseconds=function(){return(new Date).getTime()},t.getDateWithoutTime=t.getBoundingClientInfo=t.formatNumber=void 0,t.getDurationInMiliSeconds=function(e,t){return t-e},t.withScroll=t.setTwoDirectionStickyPanelById=t.setTwoDirectionStickyPanel=t.scrollTo=t.sanitiseInputText=t.removeHtmlTags=t.isValidIconName=t.isValidIconElement=t.isUserLoggedIn=t.isTouchDevice=t.isMobileTablet=t.isMobilePortrait=t.isMobile=t.isMatchMedia=t.hasScrollReachedBottom=t.getRandomArrayItem=t.getMonthName=t.getLoggedInUserDetails=t.getFormattedDate=void 0;var n=o(84513),r=t.BREAKPOINTS={MOBILE_PORTRAIT:567,MOBILE:767,TABLET:991,DESKTOP:1199},a=t.isMatchMedia=function(e){return window.matchMedia(e).matches},i=(t.isMobile=function(){return a("(max-width: ".concat(r.MOBILE,"px)"))},t.isMobileTablet=function(){return a("(max-width: ".concat(r.TABLET,"px)"))},t.isMobilePortrait=function(){return a("(max-width: ".concat(r.MOBILE_PORTRAIT,"px)"))},t.isTouchDevice=function(){return window.matchMedia("(pointer: coarse)").matches},t.detectOS=function(e){var t=e||navigator.userAgent,o=/(iPad).*OS\s([\d_]+)/.test(t);return{ios:!o&&/(iPhone\sOS)\s([\d_]+)/.test(t)||o,android:/(Android);?[\s/]+([\d.]+)?/.test(t)}},t.getLoggedInUserDetails=function(){var e=(0,n.getAllCookiesStorage)("customer-soft-id"),t={};if((null==e?void 0:e.length)>0)for(var o=0;o<e.length;o++){var r,a=null===(r=window.atob(e[o].split(".")[1]))||void 0===r?void 0:r.toString("ascii"),i=JSON.parse(a),l=i.firstName,s=i.email,d=i.dev;window.location.hostname.includes("dev.webjet")&&!d||(t={firstName:l,email:s})}return t}),l=(t.isUserLoggedIn=function(){return!!i().firstName},t.setTwoDirectionStickyPanel=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=window.innerHeight-e.offsetHeight-t,r=window.scrollY,a=window.innerHeight,i=e.offsetHeight;e.style.top=o+"px",window.addEventListener("resize",function(){a=window.innerHeight,i=e.offsetHeight}),document.addEventListener("scroll",function(){i=e.offsetHeight,n=window.innerHeight-e.offsetHeight-t;var l=parseInt(e.style.top.replace("px;",""));0===window.scrollY||i<=a?e.style.top=o+"px":window.scrollY<r?l<o?e.style.top=l+r-window.scrollY+"px":l>=o&&l!==o&&(e.style.top=o+"px"):l>n?e.style.top=l+r-window.scrollY+"px":l<n&&l!==n&&(e.style.top=n+"px"),r=window.scrollY},{capture:!0,passive:!0})}});t.setTwoDirectionStickyPanelById=function(e){l(document.getElementById(e))},t.hasScrollReachedBottom=function(e){if(!e)return!1;var t=e.scrollHeight,o=e.scrollTop,n=e.clientHeight,r=t-o;return r>=n-1&&r<=n+1},t.withScroll=function(e){if(!e)return!1;var t=e.scrollHeight,o=e.clientHeight;return!(t>=o-1&&t<=o+1)},t.escapeRegExp=function(e){return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):""},t.sanitiseInputText=function(e){return"string"==typeof e?e.replace(/[^a-zA-Z0-9\s,\\(\\)]/g,""):""},t.removeHtmlTags=function(e){return"string"==typeof e?String(e).replace(/(<([^>]+)>)/gi,""):e},t.isValidIconElement=function(e){var t;return"function"==typeof e&&"svg"===(null===(t=e())||void 0===t?void 0:t.type)},t.isValidIconName=function(e){return!!e&&"string"==typeof e},t.formatNumber=function(e,t){return e.toLocaleString("en-AU",{minimumFractionDigits:t,maximumFractionDigits:t})||0},t.scrollTo=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"smooth";"function"==typeof(null==e?void 0:e.scrollTo)&&e.scrollTo({behavior:o,top:t.top,left:t.left})},t.getBoundingClientInfo=function(e){return{height:Math.round(e.getBoundingClientRect().height),top:Math.round(e.getBoundingClientRect().top),bottom:Math.round(e.getBoundingClientRect().bottom),left:Math.round(e.getBoundingClientRect().left),right:Math.round(e.getBoundingClientRect().right)}},t.getMonthName=function(e){return null==e?void 0:e.toLocaleDateString(void 0,{month:"long"})},t.getFormattedDate=function(e){return"".concat(e.getDate(),"/").concat(e.getMonth()+1,"/").concat(e.getFullYear())},t.getDateWithoutTime=function(e){return new Date(e.toDateString())},t.getRandomArrayItem=function(e){return Array.isArray(e)&&e.length>0?e[Math.floor(Math.random()*e.length)]:null}},86684(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.useUpdateEffect=t.useDisableBodyScroll=t.useCombinedRefs=void 0;var n=o(82015),r=o(61554);t.useDisableBodyScroll=function(e){(0,n.useEffect)(function(){if(e)return(0,r.lockScroll)(),function(){(0,r.unlockScroll)()}},[e])},t.useCombinedRefs=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var r=(0,n.useRef)();return(0,n.useEffect)(function(){t.forEach(function(e){e&&("function"==typeof e?e(r.current):e.current=r.current)})},[t]),r},t.useUpdateEffect=function(e,t){var o=(0,n.useRef)(!0);(0,n.useEffect)(function(){if(!o.current)return e();o.current=!1},t)}},61554(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.unlockScroll=t.lockScroll=void 0;var n=o(63465),r=function(){void 0===window.wjuipl&&(window.wjuipl={}),void 0===window.wjuipl.scrollLockCount&&(window.wjuipl.scrollLockCount=0),void 0===window.wjuipl.scrollOffset&&(window.wjuipl.scrollOffset=0)};t.lockScroll=function(){if(r(),0===window.wjuipl.scrollLockCount){var e=window.innerWidth-document.body.offsetWidth;document.body.style.overflow="hidden",document.body.style.paddingRight="".concat(e,"px"),(0,n.detectOS)().ios&&(window.wjuipl.scrollOffset=window.pageYOffset,document.body.style.position="fixed",document.body.style.top="-".concat(window.wjuipl.scrollOffset,"px"),document.body.style.width="100%")}window.wjuipl.scrollLockCount+=1},t.unlockScroll=function(){r(),window.wjuipl.scrollLockCount>0&&(window.wjuipl.scrollLockCount-=1),0===window.wjuipl.scrollLockCount&&(document.body.style.overflow="",document.body.style.paddingRight="",(0,n.detectOS)().ios&&(document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,window.wjuipl.scrollOffset)))}},84513(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setSessionStorageJson=t.setSessionStorage=t.setCookieStorage=t.getSessionStorageJson=t.getSessionStorage=t.getCookieStorage=t.getAllCookiesStorage=void 0;var o=function(){var e="WJtestStorage";try{return!!window.sessionStorage&&(window.sessionStorage.setItem(e,1),window.sessionStorage.removeItem(e),!0)}catch(e){return!1}},n=(t.getSessionStorage=function(e){if(e&&o())try{return window.sessionStorage.getItem(e)}catch(e){return}},t.setSessionStorage=function(e,t){if(e&&o())try{return window.sessionStorage.setItem(e,t)}catch(e){return}},t.getSessionStorageJson=function(e){if(e&&o())try{return JSON.parse(window.sessionStorage.getItem(e))}catch(e){return}},t.setSessionStorageJson=function(e,t){if(e&&o())try{return window.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){return}},t.getCookieStorage=function(e){var t=n(e);return t.length>0?t[0]:null},t.getAllCookiesStorage=function(e){for(var t=e+"=",o=document.cookie.split(";"),n=[],r=0;r<o.length;r++){for(var a=o[r];" "===a.charAt(0);)a=a.substring(1,a.length);0===a.indexOf(t)&&n.push(a.substring(t.length,a.length))}return n});t.setCookieStorage=function(e,t,o){var n=window.location.hostname,r="localhost"===n?n:n.match(/(\.\w+){3}$/g);document.cookie="".concat(e,"=").concat(t,"; Domain=").concat(r,"; Path=/; Max-Age=").concat(o||86400)}},61116(e){e.exports=require("@babel/runtime/helpers/defineProperty")},46031(e){e.exports=require("@babel/runtime/helpers/extends")},33751(e){e.exports=require("@babel/runtime/helpers/interopRequireDefault")},52462(e){e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},17826(e){e.exports=require("@babel/runtime/helpers/slicedToArray")},8063(e){e.exports=require("@babel/runtime/helpers/typeof")},48663(e){e.exports=require("@floating-ui/react")},29609(e){e.exports=require("@webjet/react-icons/close")},81710(e){e.exports=require("@webjet/react-icons/info-circle")},23420(e){e.exports=require("@webjet/react-icons/info-outline")},29825(e){e.exports=require("prop-types")},82015(e){e.exports=require("react")},39062(e){e.exports=require("react-switch")},32770(e){e.exports=require("styled-components")}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,o),a.exports}var n={};(()=>{var e=n,t=o(33751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(o(87787));e.default=r.default})(),module.exports=n})();
|