@webjet/react 4.10.8 → 4.10.10

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.
@@ -1 +1 @@
1
- (()=>{"use strict";var e={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"}},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},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"}}},17826:e=>{e.exports=require("@babel/runtime/helpers/slicedToArray")},19098:(e,t,r)=>{var n=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(32770),o=n(r(61267)),i=n(r(74362)),l=(0,a.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],n=i.default.typography[e],o=n.lineHeight,l=n.lineHeightType,d=n.fontSize;return(0,a.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,a.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],n=r.lineHeight,o=r.lineHeightType,l=r.fontSize;return(0,a.css)(["line-height:",";font-size:",";font-weight:",";"],i.default.font.mobile["line-height"][o][n],i.default.font.mobile.size[l],i.default.font.mobile.weight[t])}}},29825:e=>{e.exports=require("prop-types")},32770:e=>{e.exports=require("styled-components")},33290:(e,t,r)=>{var n=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 a.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"tokens",{enumerable:!0,get:function(){return i.default}});var a=n(r(61267)),o=n(r(60492)),i=n(r(74362)),l=n(r(19098)),d=n(r(9090)),s=n(r(35050)),c=n(r(60509)),u=n(r(34341))},33751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},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:"#DC140A"}},40772:(e,t,r)=>{var n=r(33751),a=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DEFAULTS=void 0;var o=n(r(70505)),i=n(r(17826)),l=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(82015)),d=(n(r(29825)),r(99139)),s=t.DEFAULTS={MIN_HEIGHT:.2,MAX_HEIGHT:.9,ANCHOR_POINTS:[.5],ELASTICITY:.08,BACKDROP:!1,ANIMATE_TIME_MS:250,ROLE:"dialog"};t.default=function(e){var t=e.open,r=e.startHeight,n=e.onClose,a=e.children,c=e.collapseTopBorder,u=void 0!==c&&c,p=e.backdrop,f=void 0===p?s.BACKDROP:p,v=e.minHeight,b=void 0===v?s.MIN_HEIGHT:v,x=e.maxHeight,g=void 0===x?s.MAX_HEIGHT:x,h=e.anchorPoints,F=void 0===h?s.ANCHOR_POINTS:h,m=e.role,E=void 0===m?s.ROLE:m,y=r||s.MAX_HEIGHT,D=(0,l.useRef)(null),T=(0,l.useRef)(null),A=(0,l.useRef)(null),B=(0,l.useRef)(null),C=(0,l.useRef)(y),w=(0,l.useRef)(!1),k=(0,l.useRef)(0),H=(0,l.useRef)(y),I=(0,l.useRef)(null),_=(0,l.useState)(t),S=(0,i.default)(_,2),M=S[0],O=S[1],N=function(e){var t=B.current.contains(e.target),r=A.current.contains(e.target),n=B.current.scrollHeight<=B.current.clientHeight;!r&&t&&!n||(e.stopPropagation(),e.cancelable&&e.preventDefault())};(0,l.useEffect)(function(){t?(O(!0),I.current&&(clearTimeout(I.current),I.current=null),C.current=0,setTimeout(function(){D.current&&(D.current.classList.add("dragging"),D.current.style.setProperty("height","0svh"),D.current.classList.remove("dragging"),D.current.addEventListener("touchmove",N,{passive:!1}),setTimeout(function(){C.current=g,D.current.style.setProperty("height","".concat(100*C.current,"svh"))},1)),T.current&&T.current.classList.add("show")},1)):(D.current&&(D.current.removeEventListener("touchmove",N,{passive:!1}),D.current.style.setProperty("height","0svh")),T.current&&T.current.classList.remove("show"),I.current||(I.current=setTimeout(function(){O(!1),I.current=null},s.ANIMATE_TIME_MS)))},[t]);var L=function(e){var t,r;if(w.current&&D.current){var n=((null===(t=e.touches)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.clientY)||e.clientY)-k.current,a=window.innerHeight,o=H.current-n/a;o=Math.max(b-s.ELASTICITY,Math.min(g+s.ELASTICITY,o)),C.current=o,D.current.style.setProperty("height","".concat(100*C.current,"svh"))}},P=function e(t){var r;if(D.current)if(A.current.releasePointerCapture(t.pointerId),w.current=!1,D.current.classList.remove("dragging"),A.current.removeEventListener("pointermove",L),A.current.removeEventListener("pointerup",e),C.current<=b+.05)n(),C.current=g;else{if(F&&F.length>0){var a=(r=C.current,[b].concat((0,o.default)(F),[g]).sort(function(e,t){return Math.abs(r-e)-Math.abs(r-t)})[0]);C.current=a}D.current.style.setProperty("height","".concat(100*C.current,"svh"))}};return M?l.default.createElement(d.StyledBottomSheetContainer,null,l.default.createElement(d.StyledOuterContainer,{ref:D,animateTimeMs:s.ANIMATE_TIME_MS},l.default.createElement(d.StyledThumbTabContainer,{onPointerDown:function(e){var t,r,n,a;D.current&&(w.current=!0,k.current=(null===(t=e.touches)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.clientY)||e.clientY,H.current=C.current,null===(n=A.current)||void 0===n||n.addEventListener("pointermove",L),null===(a=A.current)||void 0===a||a.addEventListener("pointerup",P),A.current.setPointerCapture(e.pointerId),D.current.classList.add("dragging"),D.current.style.setProperty("height","".concat(100*C.current,"svh")))},ref:A,"aria-hidden":!0,"data-testid":"thumb-panel"},l.default.createElement(d.StyledThumbTab,null)),l.default.createElement(d.StyledContent,{collapseTopBorder:u,"aria-modal":!0,role:E,"aria-label":"Sheet dialog",ref:B},a)),!!f&&l.default.createElement(d.StyledBottomSheetBackdrop,{ref:T,onClick:n,animateTimeMs:s.ANIMATE_TIME_MS,"aria-hidden":!0})):null}},60492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#DC140A","#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: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=n},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"}}},61116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},61267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#DC140A","#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: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=n},70505:e=>{e.exports=require("@babel/runtime/helpers/toConsumableArray")},74362:(e,t,r)=>{var n=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,o,i,l=n(r(61116)),d=r(2811),s={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:(a={},(0,l.default)(a,d.FONT_WEIGHT.LIGHT,300),(0,l.default)(a,d.FONT_WEIGHT.REGULAR,400),(0,l.default)(a,d.FONT_WEIGHT.MEDIUM,500),(0,l.default)(a,d.FONT_WEIGHT.SEMIBOLD,600),(0,l.default)(a,d.FONT_WEIGHT.BOLD,700),(0,l.default)(a,d.FONT_WEIGHT.EXTRABOLD,800),a)},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:(o={},(0,l.default)(o,d.FONT_WEIGHT.LIGHT,300),(0,l.default)(o,d.FONT_WEIGHT.REGULAR,400),(0,l.default)(o,d.FONT_WEIGHT.MEDIUM,500),(0,l.default)(o,d.FONT_WEIGHT.SEMIBOLD,600),(0,l.default)(o,d.FONT_WEIGHT.BOLD,700),(0,l.default)(o,d.FONT_WEIGHT.EXTRABOLD,800),o)}},c=(i={},(0,l.default)(i,d.TEXT_VARIANT.HEADING01,{fontSize:100,lineHeight:100,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.HEADING02,{fontSize:200,lineHeight:200,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.HEADING03,{fontSize:300,lineHeight:300,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.HEADING04,{fontSize:400,lineHeight:400,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.HEADING05,{fontSize:500,lineHeight:500,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.HEADING06,{fontSize:600,lineHeight:600,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.HEADING07,{fontSize:700,lineHeight:700,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.HEADING08,{fontSize:800,lineHeight:800,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.HEADING09,{fontSize:900,lineHeight:900,lineHeightType:"condensed"}),(0,l.default)(i,d.TEXT_VARIANT.BODY01,{fontSize:50,lineHeight:50,lineHeightType:"standard"}),(0,l.default)(i,d.TEXT_VARIANT.BODY02,{fontSize:100,lineHeight:100,lineHeightType:"standard"}),(0,l.default)(i,d.TEXT_VARIANT.BODY03,{fontSize:200,lineHeight:200,lineHeightType:"standard"}),(0,l.default)(i,d.TEXT_VARIANT.BODY04,{fontSize:300,lineHeight:300,lineHeightType:"standard"}),(0,l.default)(i,d.TEXT_VARIANT.LABEL01,{fontSize:50,lineHeight:50,lineHeightType:"equal"}),(0,l.default)(i,d.TEXT_VARIANT.LABEL02,{fontSize:100,lineHeight:100,lineHeightType:"equal"}),(0,l.default)(i,d.TEXT_VARIANT.LABEL03,{fontSize:200,lineHeight:200,lineHeightType:"equal"}),(0,l.default)(i,d.TEXT_VARIANT.LABEL04,{fontSize:300,lineHeight:300,lineHeightType:"equal"}),i);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:s,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, color-mix(in srgb, #3A3D4D 4%, transparent))",active:"var(--surface-interactive-overlay-universal-active, color-mix(in srgb, #3A3D4D 8%, transparent))",defaultInvisible:"var(--surface-interactive-overlay-universal-default-invisible, color-mix(in srgb, #3A3D4D 0%, transparent))"},light:{visible:" var(--surface-interactive-overlay-light-visible, color-mix(in srgb, #FFFFFF 8%, transparent))",hover:"var(--surface-interactive-overlay-light-hover, color-mix(in srgb, #FFFFFF 16%, transparent))",active:"var(--surface-interactive-overlay-light-active, color-mix(in srgb, #FFFFFF 24%, transparent))"},dark:{transparent:"var(--surface-interactive-overlay-dark-transparent, color-mix(in srgb, #3A3D4D 0%, transparent))",visible:"var(--surface-interactive-overlay-dark-visible, color-mix(in srgb, #3A3D4D 4%, transparent))",hover:"var(--surface-interactive-overlay-dark-hover, color-mix(in srgb, #3A3D4D 8%, transparent))",active:"var(--surface-interactive-overlay-dark-active, color-mix(in srgb, #3A3D4D 16%, transparent))"},button:{default:"var(--surface-interactive-overlay-button-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-button-hover, color-mix(in srgb, #3A3D4D 16%, transparent))",active:"var(--surface-interactive-overlay-button-active, color-mix(in srgb, #3A3D4D 24%, transparent))"}},control:{track:{default:"var(--surface-interactive-control-track-default, color-mix(in srgb, #3A3D4D 4%, transparent))",hover:"var(--surface-interactive-control-track-hover, color-mix(in srgb, #3A3D4D 8%, transparent))",active:"var(--surface-interactive-control-track-active, color-mix(in srgb, #3A3D4D 24%, transparent))"}},focus:{default:"var(--surface-interactive-focus-default, color-mix(in srgb, #3A3D4D 40%, transparent))"}}},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:c}},82015:e=>{e.exports=require("react")},99139:(e,t,r)=>{var n=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledThumbTabContainer=t.StyledThumbTab=t.StyledOuterContainer=t.StyledContent=t.StyledBottomSheetContainer=t.StyledBottomSheetBackdrop=void 0;var a=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(32770)),o=r(33290);t.StyledBottomSheetContainer=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledBottomSheetContainer",componentId:"sc-4r9hqy-0"})(["position:relative;"]),t.StyledOuterContainer=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledOuterContainer",componentId:"sc-4r9hqy-1"})(["position:fixed;left:0;right:0;bottom:0;background:",";border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 16px rgba(0,0,0,0.2);z-index:9999;overflow:hidden;height:0vh;"," &.dragging{transition:none;user-select:none;}"],o.tokens.colours.surface.neutral.warm.base,function(e){var t=e.animateTimeMs;return t&&(0,a.css)(["transition:height ","ms;"],t)}),t.StyledThumbTabContainer=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledThumbTabContainer",componentId:"sc-4r9hqy-2"})(["width:100%;display:flex;height:62px;cursor:grab;flex-direction:column;justify-content:center;flex-shrink:0;"]),t.StyledThumbTab=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledThumbTab",componentId:"sc-4r9hqy-3"})(["width:36px;height:6px;background:",";border-radius:4px;align-self:center;"],o.tokens.colours.surface.neutral.warm.moderate),t.StyledContent=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledContent",componentId:"sc-4r9hqy-4"})(["padding:24px 16px;@media ","{padding:32px;}overflow:auto;height:calc(100% - 62px);overscroll-behavior:contain;border-top:1px solid ",";"," "],o.tokens.media.notMobile,o.tokens.colours.border["default-subtle"],function(e){return e.collapseTopBorder&&(0,a.css)(["border-top:none;padding-top:0 !important;"])}),t.StyledBottomSheetBackdrop=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledBottomSheetBackdrop",componentId:"sc-4r9hqy-5"})(["display:block;position:fixed;top:0px;left:0px;z-index:9998;width:100vw;height:100vh;opacity:0;background-color:",";"," &.show{opacity:0.5;}"],o.themeV2.color[12],function(e){var t=e.animateTimeMs;return t&&(0,a.css)(["transition:opacity ","ms;"],t)})}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}var n={};(()=>{var e=n,t=r(33751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=t(r(40772));e.default=a.default})(),module.exports=n})();
1
+ (()=>{"use strict";var e={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"}},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},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"}}},17826:e=>{e.exports=require("@babel/runtime/helpers/slicedToArray")},19098:(e,t,r)=>{var n=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(32770),o=n(r(61267)),i=n(r(74362)),l=(0,a.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],n=i.default.typography[e],o=n.lineHeight,l=n.lineHeightType,c=n.fontSize;return(0,a.css)(["line-height:",";font-size:",";font-weight:",";",""],i.default.font.desktop["line-height"][l][o],i.default.font.desktop.size[c],i.default.font.desktop.weight[t],r&&(0,a.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[c],i.default.font.mobile.weight[t]))},typographyMobile:function(e,t){var r=i.default.typography[e],n=r.lineHeight,o=r.lineHeightType,l=r.fontSize;return(0,a.css)(["line-height:",";font-size:",";font-weight:",";"],i.default.font.mobile["line-height"][o][n],i.default.font.mobile.size[l],i.default.font.mobile.weight[t])}}},29825:e=>{e.exports=require("prop-types")},32770:e=>{e.exports=require("styled-components")},33290:(e,t,r)=>{var n=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"elevation",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"tokens",{enumerable:!0,get:function(){return i.default}});var a=n(r(61267)),o=n(r(60492)),i=n(r(74362)),l=n(r(19098)),c=n(r(9090)),u=n(r(35050)),d=n(r(60509)),s=n(r(34341))},33751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},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:"#DC140A"}},40772:(e,t,r)=>{var n=r(33751),a=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DEFAULTS=void 0;var o=n(r(70505)),i=n(r(17826)),l=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(82015)),c=(n(r(29825)),r(99139)),u=t.DEFAULTS={MIN_HEIGHT:.15,MAX_HEIGHT:.9,ANCHOR_POINTS:[.26,.5],ELASTICITY:.05,BACKDROP:!1,ANIMATE_TIME_MS:250,ROLE:"dialog"};t.default=function(e){var t=e.open,r=e.startHeight,n=e.onClose,a=e.children,d=e.collapseTopBorder,s=void 0!==d&&d,p=e.backdrop,f=void 0===p?u.BACKDROP:p,v=e.minHeight,b=void 0===v?u.MIN_HEIGHT:v,g=e.maxHeight,h=void 0===g?u.MAX_HEIGHT:g,x=e.anchorPoints,m=void 0===x?u.ANCHOR_POINTS:x,F=e.role,E=void 0===F?u.ROLE:F,y=r||u.MAX_HEIGHT,T=(0,l.useRef)(null),D=(0,l.useRef)(null),A=(0,l.useRef)(null),B=(0,l.useRef)(null),w=(0,l.useRef)(y),C=(0,l.useRef)(!1),H=(0,l.useRef)(0),k=(0,l.useRef)(0),I=(0,l.useRef)(null),S=(0,l.useRef)(y),_=(0,l.useRef)(null),M=(0,l.useRef)(u.MAX_HEIGHT),O=(0,l.useState)(t),N=(0,i.default)(O,2),L=N[0],P=N[1],R=(0,l.useState)(!1),G=(0,i.default)(R,2),z=G[0],j=G[1],W=function(e){if(B.current&&A.current){var t,r,n,a,o=null===(t=B.current)||void 0===t?void 0:t.contains(e.target),i=null===(r=A.current)||void 0===r?void 0:r.contains(e.target),l=(null===(n=B.current)||void 0===n?void 0:n.scrollHeight)<=(null===(a=B.current)||void 0===a?void 0:a.clientHeight);!i&&o&&!l||(e.stopPropagation(),e.cancelable&&e.preventDefault())}};(0,l.useEffect)(function(){t?(P(!0),_.current&&(clearTimeout(_.current),_.current=null),w.current=0,setTimeout(function(){T.current&&(T.current.classList.add("dragging"),T.current.style.setProperty("height","0svh"),T.current.classList.remove("dragging"),T.current.addEventListener("touchmove",W,{passive:!1}),setTimeout(function(){var e=A.current.clientHeight/window.innerHeight,t=B.current.clientHeight/window.innerHeight;M.current=Math.min(h,e+t),w.current=M.current,T.current.style.setProperty("height","".concat(100*w.current,"svh")),j(!0)},1)),D.current&&D.current.classList.add("show")},1)):(T.current&&(T.current.removeEventListener("touchmove",W,{passive:!1}),T.current.style.setProperty("height","0svh"),j(!1),I.current=null),D.current&&D.current.classList.remove("show"),_.current||(_.current=setTimeout(function(){P(!1),_.current=null},u.ANIMATE_TIME_MS)))},[t]);var X=function(e){var t,r;if(C.current&&T.current){var n=((null===(t=e.touches)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.clientY)||e.clientY)-H.current,a=window.innerHeight,o=S.current-n/a;o=Math.max(b-u.ELASTICITY,Math.min(M.current+u.ELASTICITY,o)),w.current=o,T.current.style.setProperty("height","".concat(100*w.current,"svh"))}},Y=function(e){if(C.current&&T.current){if(!q()){var t,r,n=((null===(t=e.touches)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.clientY)||e.clientY)-H.current,a=window.innerHeight,o=S.current-n/a;o=Math.max(b-u.ELASTICITY,Math.min(M.current+u.ELASTICITY,o)),w.current=o,T.current.style.setProperty("height","".concat(100*w.current,"svh"))}e.stopPropagation(),e.cancelable&&e.preventDefault()}},V=function e(t){var r;if(T.current)if(C.current=!1,T.current.classList.remove("dragging"),document.removeEventListener("pointermove",X),document.removeEventListener("pointerup",e),w.current<b)w.current=M.current,n();else{var a,i,l,c,u=window.performance.now()-I.current,d=(null===(a=t.touches)||void 0===a||null===(i=a[0])||void 0===i?void 0:i.clientY)||t.clientY||(null===(l=t.changedTouches)||void 0===l||null===(c=l[0])||void 0===c?void 0:c.clientY);if(!U(k.current,d,u)){if(m&&m.length>0){var s=(r=w.current,[b].concat((0,o.default)(m),[M.current]).sort(function(e,t){return Math.abs(r-e)-Math.abs(r-t)})[0]);w.current=s}T.current.style.setProperty("height","".concat(100*w.current,"svh"))}}},q=function(){var e=B.current.scrollHeight>B.current.clientHeight,t=B.current.scrollHeight-(B.current.scrollTop+B.current.clientHeight)<25,r=B.current.scrollTop<5;return e&&(t||r)?(document.addEventListener("touchmove",Y),!1):(document.removeEventListener("touchmove",Y),!0)},U=function(e,t,r){var a=(t-e)/r,o=.9*window.innerHeight;return!!(a>1||a>0&&t>o&&e>o&&r<350)&&(w.current=0,T.current.style.setProperty("height","".concat(0,"svh")),setTimeout(function(){n(),w.current=M.current},1),!0)};return L?l.default.createElement(c.StyledBottomSheetContainer,null,l.default.createElement(c.StyledOuterContainer,{ref:T,animateTimeMs:u.ANIMATE_TIME_MS},l.default.createElement(c.StyledThumbTabContainer,{onPointerDown:function(e){var t,r;T.current&&(C.current=!0,k.current=(null===(t=e.touches)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.clientY)||e.clientY,H.current=k.current,I.current=window.performance.now(),S.current=w.current,document.addEventListener("pointermove",X),document.addEventListener("pointerup",V),T.current.classList.add("dragging"),T.current.style.setProperty("height","".concat(100*w.current,"svh")))},ref:A,"aria-hidden":!0,"data-testid":"thumb-panel"},l.default.createElement(c.StyledThumbTab,null)),l.default.createElement(c.StyledContent,{collapseTopBorder:s,"aria-modal":!0,role:E,"aria-label":"Sheet dialog",ref:B,onPointerDown:function(e){var t,r;if(T.current){document.addEventListener("pointerup",V),document.addEventListener("touchend",V);var n=q();k.current=(null===(t=e.touches)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.clientY)||e.clientY,I.current=window.performance.now(),n||(H.current=k.current,C.current=!0,S.current=w.current,T.current.classList.add("dragging"),T.current.style.setProperty("height","".concat(100*w.current,"svh")))}},onPointerMove:Y,enableScroll:z},a)),!!f&&l.default.createElement(c.StyledBottomSheetBackdrop,{ref:D,onClick:n,animateTimeMs:u.ANIMATE_TIME_MS,"aria-hidden":!0})):null}},60492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#DC140A","#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: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=n},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"}}},61116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},61267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#DC140A","#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: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=n},70505:e=>{e.exports=require("@babel/runtime/helpers/toConsumableArray")},74362:(e,t,r)=>{var n=r(33751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,o,i,l=n(r(61116)),c=r(2811),u={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:(a={},(0,l.default)(a,c.FONT_WEIGHT.LIGHT,300),(0,l.default)(a,c.FONT_WEIGHT.REGULAR,400),(0,l.default)(a,c.FONT_WEIGHT.MEDIUM,500),(0,l.default)(a,c.FONT_WEIGHT.SEMIBOLD,600),(0,l.default)(a,c.FONT_WEIGHT.BOLD,700),(0,l.default)(a,c.FONT_WEIGHT.EXTRABOLD,800),a)},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:(o={},(0,l.default)(o,c.FONT_WEIGHT.LIGHT,300),(0,l.default)(o,c.FONT_WEIGHT.REGULAR,400),(0,l.default)(o,c.FONT_WEIGHT.MEDIUM,500),(0,l.default)(o,c.FONT_WEIGHT.SEMIBOLD,600),(0,l.default)(o,c.FONT_WEIGHT.BOLD,700),(0,l.default)(o,c.FONT_WEIGHT.EXTRABOLD,800),o)}},d=(i={},(0,l.default)(i,c.TEXT_VARIANT.HEADING01,{fontSize:100,lineHeight:100,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.HEADING02,{fontSize:200,lineHeight:200,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.HEADING03,{fontSize:300,lineHeight:300,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.HEADING04,{fontSize:400,lineHeight:400,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.HEADING05,{fontSize:500,lineHeight:500,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.HEADING06,{fontSize:600,lineHeight:600,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.HEADING07,{fontSize:700,lineHeight:700,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.HEADING08,{fontSize:800,lineHeight:800,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.HEADING09,{fontSize:900,lineHeight:900,lineHeightType:"condensed"}),(0,l.default)(i,c.TEXT_VARIANT.BODY01,{fontSize:50,lineHeight:50,lineHeightType:"standard"}),(0,l.default)(i,c.TEXT_VARIANT.BODY02,{fontSize:100,lineHeight:100,lineHeightType:"standard"}),(0,l.default)(i,c.TEXT_VARIANT.BODY03,{fontSize:200,lineHeight:200,lineHeightType:"standard"}),(0,l.default)(i,c.TEXT_VARIANT.BODY04,{fontSize:300,lineHeight:300,lineHeightType:"standard"}),(0,l.default)(i,c.TEXT_VARIANT.LABEL01,{fontSize:50,lineHeight:50,lineHeightType:"equal"}),(0,l.default)(i,c.TEXT_VARIANT.LABEL02,{fontSize:100,lineHeight:100,lineHeightType:"equal"}),(0,l.default)(i,c.TEXT_VARIANT.LABEL03,{fontSize:200,lineHeight:200,lineHeightType:"equal"}),(0,l.default)(i,c.TEXT_VARIANT.LABEL04,{fontSize:300,lineHeight:300,lineHeightType:"equal"}),i);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:u,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, color-mix(in srgb, #3A3D4D 4%, transparent))",active:"var(--surface-interactive-overlay-universal-active, color-mix(in srgb, #3A3D4D 8%, transparent))",defaultInvisible:"var(--surface-interactive-overlay-universal-default-invisible, color-mix(in srgb, #3A3D4D 0%, transparent))"},light:{visible:" var(--surface-interactive-overlay-light-visible, color-mix(in srgb, #FFFFFF 8%, transparent))",hover:"var(--surface-interactive-overlay-light-hover, color-mix(in srgb, #FFFFFF 16%, transparent))",active:"var(--surface-interactive-overlay-light-active, color-mix(in srgb, #FFFFFF 24%, transparent))"},dark:{transparent:"var(--surface-interactive-overlay-dark-transparent, color-mix(in srgb, #3A3D4D 0%, transparent))",visible:"var(--surface-interactive-overlay-dark-visible, color-mix(in srgb, #3A3D4D 4%, transparent))",hover:"var(--surface-interactive-overlay-dark-hover, color-mix(in srgb, #3A3D4D 8%, transparent))",active:"var(--surface-interactive-overlay-dark-active, color-mix(in srgb, #3A3D4D 16%, transparent))"},button:{default:"var(--surface-interactive-overlay-button-default, #3A3D4D00)",hover:"var(--surface-interactive-overlay-button-hover, color-mix(in srgb, #3A3D4D 16%, transparent))",active:"var(--surface-interactive-overlay-button-active, color-mix(in srgb, #3A3D4D 24%, transparent))"}},control:{track:{default:"var(--surface-interactive-control-track-default, color-mix(in srgb, #3A3D4D 4%, transparent))",hover:"var(--surface-interactive-control-track-hover, color-mix(in srgb, #3A3D4D 8%, transparent))",active:"var(--surface-interactive-control-track-active, color-mix(in srgb, #3A3D4D 24%, transparent))"}},focus:{default:"var(--surface-interactive-focus-default, color-mix(in srgb, #3A3D4D 40%, transparent))"}}},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}},82015:e=>{e.exports=require("react")},99139:(e,t,r)=>{var n=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledThumbTabContainer=t.StyledThumbTab=t.StyledOuterContainer=t.StyledContent=t.StyledBottomSheetContainer=t.StyledBottomSheetBackdrop=void 0;var a=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(32770)),o=r(33290);t.StyledBottomSheetContainer=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledBottomSheetContainer",componentId:"sc-4r9hqy-0"})(["position:relative;"]),t.StyledOuterContainer=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledOuterContainer",componentId:"sc-4r9hqy-1"})(["position:fixed;left:0;right:0;bottom:0;background:",";border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 16px rgba(0,0,0,0.2);z-index:9999;overflow:hidden;height:0vh;"," &.dragging{transition:none;user-select:none;}max-height:calc(100% - 56px);"],o.tokens.colours.surface.neutral.warm.base,function(e){var t=e.animateTimeMs;return t&&(0,a.css)(["transition:height ","ms;"],t)}),t.StyledThumbTabContainer=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledThumbTabContainer",componentId:"sc-4r9hqy-2"})(["width:100%;display:flex;height:62px;cursor:grab;flex-direction:column;justify-content:center;flex-shrink:0;"]),t.StyledThumbTab=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledThumbTab",componentId:"sc-4r9hqy-3"})(["width:36px;height:6px;background:",";border-radius:4px;align-self:center;"],o.tokens.colours.surface.neutral.warm.moderate),t.StyledContent=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledContent",componentId:"sc-4r9hqy-4"})(["padding:24px 16px;@media ","{padding:32px;}overflow:auto;height:auto;max-height:fit-content;overscroll-behavior:none;"," border-top:1px solid ",";"," "],o.tokens.media.notMobile,function(e){return e.enableScroll&&(0,a.css)(["max-height:calc(100% - 62px);"])},o.tokens.colours.border["default-subtle"],function(e){return e.collapseTopBorder&&(0,a.css)(["border-top:none;padding-top:0 !important;"])}),t.StyledBottomSheetBackdrop=a.default.div.withConfig({displayName:"BottomSheetstyle__StyledBottomSheetBackdrop",componentId:"sc-4r9hqy-5"})(["display:block;position:fixed;top:0px;left:0px;z-index:9998;width:100vw;height:100vh;opacity:0;background-color:",";"," &.show{opacity:0.5;}"],o.themeV2.color[12],function(e){var t=e.animateTimeMs;return t&&(0,a.css)(["transition:opacity ","ms;"],t)})}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}var n={};(()=>{var e=n,t=r(33751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=t(r(40772));e.default=a.default})(),module.exports=n})();
@@ -1 +1 @@
1
- (()=>{"use strict";var e={29825:e=>{e.exports=require("prop-types")},33751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},58840:(e,r,t)=>{var n=t(33751);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=n(t(82015)),a=(n(t(29825)),t(98151));r.default=function(e){var r=e.price,t=e.pointsMode,n=e.showDecimal,i=void 0!==n&&n,u=e.currencyCode,c=void 0===u?"AUD":u,l=e.showCurrencyCode,d=void 0!==l&&l;if((0,a.isNullOrEmptyOrUndefined)(r))return o.default.createElement("span",null);var s=t&&t.pointsPerDollar,f=s?parseFloat(r*t.pointsPerDollar):parseFloat(r),v=s?f.toLocaleString("en-AU"):i?(0,a.formatCurrency)(f,!0,c,d):(0,a.formatCurrencyNoCents)(f,c,d);return o.default.createElement("span",{"data-testid":"formatted-currency-value"},v.replace("-","- "))}},82015:e=>{e.exports=require("react")},98151:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.formatCurrency=void 0,r.formatCurrencyNoCents=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"AUD",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=Math.round(e);return n(o,!1,r,t)},r.getLocaleForCurrencyCode=r.formatPointsSigned=r.formatCurrencySigned=void 0,r.isNullOrEmptyOrUndefined=function(e){return o(e)||""===e},r.isNullOrUndefined=o;var t=r.getLocaleForCurrencyCode=function(e,r,t){var n=new Intl.NumberFormat("en-AU",{style:"currency",currency:e,currencyDisplay:"symbol"}).format(r);return t?"".concat(e," ").concat(n):n},n=r.formatCurrency=function(e,r){var n=t(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"AUD",e,arguments.length>3&&void 0!==arguments[3]&&arguments[3]);return r?n:n.replace(".00","")};function o(e){return null==e}r.formatCurrencySigned=function(e,r){if(e<0){var t=n(Math.abs(e),r);return"- (".concat(t,")")}return n(e,r)},r.formatPointsSigned=function(e){if(e<0){var r=Math.abs(e).toLocaleString("en-AU",{minimumFractionDigits:0});return"- (".concat(r," points)")}return"".concat(e.toLocaleString("en-AU",{minimumFractionDigits:0})," points")}}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}var n={};(()=>{var e=n,r=t(33751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(t(58840));e.default=o.default})(),module.exports=n})();
1
+ (()=>{"use strict";var e={29825:e=>{e.exports=require("prop-types")},33751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},58840:(e,r,t)=>{var n=t(33751);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=n(t(82015)),a=(n(t(29825)),t(98151));r.default=function(e){var r=e.price,t=e.pointsMode,n=e.showDecimal,i=void 0!==n&&n,u=e.currencyCode,c=void 0===u?"AUD":u,l=e.showCurrencyCode,d=void 0!==l&&l;if((0,a.isNullOrEmptyOrUndefined)(r))return o.default.createElement("span",null);var s=t&&t.pointsPerDollar,f=s?parseFloat(r*t.pointsPerDollar):parseFloat(r),v=s?f.toLocaleString("en-AU"):i?(0,a.formatCurrency)(f,!0,c,d):(0,a.formatCurrencyNoCents)(f,c,d);return o.default.createElement("span",{"data-testid":"formatted-currency-value"},v.replace("-","- "))}},82015:e=>{e.exports=require("react")},98151:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.formatCurrency=void 0,r.formatCurrencyNoCents=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"AUD",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=Math.round(e);return n(o,!1,r,t)},r.getLocaleForCurrencyCode=r.formatPointsSigned=r.formatCurrencySigned=void 0,r.isNullOrEmptyOrUndefined=function(e){return o(e)||""===e},r.isNullOrUndefined=o;var t=r.getLocaleForCurrencyCode=function(e,r,t){var n=new Intl.NumberFormat("en-AU",{style:"currency",currency:"AUD",currencyDisplay:"symbol"}).format(r);return t?"".concat(e," ").concat(n):n},n=r.formatCurrency=function(e,r){var n=t(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"AUD",e,arguments.length>3&&void 0!==arguments[3]&&arguments[3]);return r?n:n.replace(".00","")};function o(e){return null==e}r.formatCurrencySigned=function(e,r){if(e<0){var t=n(Math.abs(e),r);return"- (".concat(t,")")}return n(e,r)},r.formatPointsSigned=function(e){if(e<0){var r=Math.abs(e).toLocaleString("en-AU",{minimumFractionDigits:0});return"- (".concat(r," points)")}return"".concat(e.toLocaleString("en-AU",{minimumFractionDigits:0})," points")}}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}var n={};(()=>{var e=n,r=t(33751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(t(58840));e.default=o.default})(),module.exports=n})();