@webjet/react 3.7.2 → 3.8.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/anchor-link.js +1 -1
- package/components/autocomplete.js +1 -1
- package/components/banner.js +1 -1
- package/components/breadcrumb.js +1 -0
- 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/copy-button.js +1 -1
- package/components/countdown.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/flight-card-footer.js +1 -1
- package/components/flight-card-header.js +1 -1
- package/components/flight-card-info.js +1 -1
- package/components/floating-panel.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/linear-loader.js +1 -1
- package/components/link.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/payment-breakdown-panel.js +1 -1
- package/components/payment-breakdown.js +1 -1
- package/components/payment-confirmation-panel.js +1 -1
- package/components/personal-info.js +1 -0
- package/components/pills.js +1 -1
- package/components/program-label.js +1 -1
- package/components/quality-rating-filter.js +1 -1
- package/components/quality-rating.js +1 -1
- package/components/radios.js +1 -1
- package/components/rating.js +1 -1
- package/components/select.js +1 -1
- package/components/selectable-card.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/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/tooltip-modal.js +1 -1
- package/components/tooltip.js +1 -1
- package/components/user-review-details.js +1 -1
- package/components/user-review-filter.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
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={8151:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.formatCurrency=void 0,t.formatCurrencyNoCents=function(e){var t=Math.round(e);return n(t)},t.formatCurrencySigned=void 0,t.isNullOrEmptyOrUndefined=function(e){return r(e)||""===e},t.isNullOrUndefined=r;var n=t.formatCurrency=function(e,t){var n=e.toLocaleString("en-AU",{style:"currency",currency:"AUD"}).replace("A","");return t?n:n.replace(".00","")};function r(e){return null==e}t.formatCurrencySigned=function(e,t){if(e<0){var r=n(Math.abs(e),t);return"-(".concat(r,")")}return n(e,t)}},2442:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2015)),i=(r(n(9825)),n(8151)),a=n(3849),l={0:a.VARIANTS.heading,1:a.VARIANTS.product,2:a.VARIANTS.item,3:a.VARIANTS.subitem},d=a.VARIANTS.subitem;t.default=function(e){var t=e.description,n=void 0===t?"":t,r=e.value,u=void 0===r?0:r,c=e.variant,s=e.level,p=e.isLastPlainItem,m=void 0!==p&&p,f=e.annotation,v=void 0===f?"":f,h=e.hasHorisontalLine,y=void 0!==h&&h,g=c||l[s]||d,x=null!=u,b=s>0&&x,F=s>2?s-2:0;return""!==n&&o.default.createElement(a.StyledListItem,{variant:g,isLastPlainItem:m,tabs:F,"data-variant":g,hasHorisontalLine:y},o.default.createElement(a.StyledDescriptionWrapper,{isDotted:b},o.default.createElement("span",null,n)),x&&o.default.createElement(a.StyledPrice,{annotation:v},(0,i.formatCurrencySigned)(u,2)))}},3849:(e,t,n)=>{var r=n(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.VARIANTS=t.StyledPrice=t.StyledListItem=t.StyledDescriptionWrapper=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(o,l,d):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o}(n(2770)),i=n(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var l=t.VARIANTS={heading:"heading",product:"product",item:"item",subitem:"subitem",coupon:"coupon",summaryDetails:"summary-details",savings:"savings",summary:"summary"};t.StyledListItem=o.default.li.withConfig({displayName:"ListItemstyle__StyledListItem",componentId:"sc-11vpdt9-0"})(["width:100%;display:flex;"," "," "," "," "," "," "," "," "," ",""],(function(e){var t=e.variant;return(t===l.item||t===l.subitem)&&(0,o.css)(["margin:2px 0 0 0;font-size:12px;line-height:20px;font-weight:400;color:",";@media ","{margin:12px 0 0;font-size:14px;line-height:16px;}"],i.theme.color[10],i.theme.media.tabletAndDesktop)}),(function(e){var t=e.variant,n=e.tabs;return t===l.subitem&&(0,o.css)(["{padding:0 0 0 ","px;@media ","{padding:0 0 0 ","px;}"],8*n,i.theme.media.tabletAndDesktop,16*n)}),(function(e){var t=e.isLastPlainItem;return(0,o.css)(["{margin-bottom:","px;"],t?24:0)}),(function(e){return e.variant===l.product&&(0,o.css)(["margin:16px 0 12px;font-size:12px;line-height:14px;font-weight:700;color:",";[data-variant='","'] + &{margin-top:16px;}@media ","{margin:28px 0 12px;font-size:14px;line-height:16px;font-weight:700;[data-variant='","'] + &{margin-top:24px;}}"],i.theme.color[12],l.heading,i.theme.media.tabletAndDesktop,l.heading)}),(function(e){return e.variant===l.heading&&(0,o.css)(["{margin:16px 0 0;font-size:16px;line-height:22px;font-weight:700;color:",";text-transform:capitalize;&:not(:first-child){margin:32px 0 0;}@media ","{margin:32px 0 0;font-size:18px;line-height:24px;}"],i.theme.color[7],i.theme.media.tabletAndDesktop)}),(function(e){return e.variant===l.summary&&(0,o.css)(["margin:8px 0 0;font-size:20px;line-height:26px;font-weight:900;color:",";text-transform:capitalize;@media ","{margin:4px 0 0;font-size:24px;line-height:30px;font-weight:700;}"],i.theme.color[12],i.theme.media.tabletAndDesktop)}),(function(e){return e.variant===l.summaryDetails&&(0,o.css)(["margin:4px 0 0;font-size:14px;line-height:20px;font-weight:500;color:",";@media ","{font-size:16px;line-height:22px;}"],i.theme.color[10],i.theme.media.tabletAndDesktop)}),(function(e){return e.variant===l.savings&&(0,o.css)(["margin:4px 0 0;font-size:14px;line-height:20px;font-weight:500;color:",";text-transform:capitalize;@media ","{font-size:16px;line-height:22px;}"],i.theme.color[0],i.theme.media.tabletAndDesktop)}),(function(e){return!!e.hasHorisontalLine&&(0,o.css)(["position:relative;margin-bottom:32px;::after{content:'';position:absolute;display:block;width:100%;height:1px;bottom:-32px;left:0;margin:16px 0;background:",";}@media ","{margin-bottom:48px;::after{bottom:-48px;margin:24px 0;}}"],i.theme.color[3],i.theme.media.tabletAndDesktop)}),(function(e){return e.variant===l.coupon&&(0,o.css)(["font-size:12px;line-height:18px;font-weight:500;color:",";margin-top:20px;[data-variant='","'] ~ &[data-variant='","']{margin-top:4px;}@media ","{font-size:14px;line-height:20px;font-weight:500;margin-top:32px;[data-variant='","'] ~ &[data-variant='","']{margin-top:12px;}}"],i.theme.color[0],l.coupon,l.coupon,i.theme.media.tabletAndDesktop,l.coupon,l.coupon)})),t.StyledPrice=o.default.span.withConfig({displayName:"ListItemstyle__StyledPrice",componentId:"sc-11vpdt9-1"})(["display:flex;align-items:end;margin:0 0 0 6px;position:relative;",""],(function(e){var t=e.annotation;return!!t&&(0,o.css)(['&::after{content:"','";position:absolute;right:-.6em;top:-3px;font-size:.5em;@media ',"{right:-.7em;font-size:.6em;}}"],t,i.theme.media.tabletAndDesktop)})),t.StyledDescriptionWrapper=o.default.div.withConfig({displayName:"ListItemstyle__StyledDescriptionWrapper",componentId:"sc-11vpdt9-2"})(["display:flex;flex:1;overflow:hidden;position:relative;text-align:left;",""],(function(e){return e.isDotted&&(0,o.css)(['span::after{content:" .............................................................................................................................................................................................................................................................................................................................................................................................. ";position:absolute;bottom:.6em;margin:0 6px;font-size:10px;line-height:2px;font-weight:400;color:',";letter-spacing:.2em;}"],i.theme.color[6])}))},3220:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2015)),i=(r(n(9825)),n(7640)),a=r(n(2442)),l=n(7283);t.default=function(e){var t=e.data,n=void 0===t?{}:t,r=e.summaryItems,d=e.feeLabels,u=void 0===d?[]:d,c=e.flightProtectionLabels,s=void 0===c?[]:c,p=e.currencyNote,m=e.additionalFields,f=(0,i.flattenData)(n,u,s,m).map((function(e,t){var n=e.description,r=e.value,i=e.hasHorisontalLine,l=e.level,d=e.isLastPlainItem,u=e.annotation,c=e.variant;return o.default.createElement(a.default,{level:l,variant:c,description:n,value:r,hasHorisontalLine:i,isLastPlainItem:d,key:"".concat(t,"-").concat(n),annotation:u})})),v=null==r?void 0:r.map((function(e,t){var n=e.value,r=e.description,i=e.variant,l=e.annotation;return o.default.createElement(a.default,{variant:i,description:r,value:n,annotation:l,key:"".concat(t,"-").concat(r)})}));return o.default.createElement(l.StyledList,null,f,!!r&&o.default.createElement(l.StyledSummaryWrapper,null,v,p&&o.default.createElement(l.StyledNote,null,p)))}},7283:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledSummaryWrapper=t.StyledNote=t.StyledList=void 0;var o=r(n(2770)),i=n(3290);t.StyledList=o.default.ul.withConfig({displayName:"PaymentBreakdownstyle__StyledList",componentId:"sc-1o8gq4g-0"})(["width:100%;padding:0;margin:0;> li:first-child{margin-top:0;}"]),t.StyledSummaryWrapper=o.default.ul.withConfig({displayName:"PaymentBreakdownstyle__StyledSummaryWrapper",componentId:"sc-1o8gq4g-1"})(["margin:32px 0 0;padding:0;"]),t.StyledNote=o.default.div.withConfig({displayName:"PaymentBreakdownstyle__StyledNote",componentId:"sc-1o8gq4g-2"})(["margin:4px 0 0;font-size:12px;line-height:18px;font-weight:400;color:",";text-align:right;@media ","{font-size:14px;line-height:20px;}"],i.theme.color[8],i.theme.media.tabletAndDesktop)},7640:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.flattenData=void 0,t.getValueFromObject=u;var o=r(n(1116)),i=r(n(2462)),a=["description","items"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!Array.isArray(e))throw new Error("Path parameter: '".concat(e,"' needs to be a array"));return e.reduce((function(e,t){return null===e?null:e[t]}),t)||n}t.flattenData=function(e,t,n,r){var o=function e(r,o,l){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=r.description,s=r.items,p=(0,i.default)(r,a),m=null==t?void 0:t.some((function(e){return null==c?void 0:c.startsWith(e)})),f=null==n?void 0:n.some((function(e){return null==c?void 0:c.startsWith(e)})),v=m||f,h=3===o&&u||f;l.push(d(d({description:c,level:v?o+1:o},h&&{isLastPlainItem:!0}),p)),s&&s.length>0&&s.forEach((function(t,n){e(t,o+1,l,n===s.length-1)}))},l=[],c=e.payables;Object.values(c||{}).forEach((function(e){return o(e,0,l)}));var s=function(e,t,n){return d({description:e.description,value:e.value,level:t},!!n&&{variant:n})},p=(r||[]).map((function(t){var n=t.path,r=t.level,o=t.variant,i=[],a=u(n,e,{});return Array.isArray(a)?a.forEach((function(e){return i.push(s(e,r,o))})):null!==(null==a?void 0:a.value)&&void 0!==(null==a?void 0:a.value)&&i.push(s(a,r,o)),i}));return l.concat(p.flat(1))}},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"}}},5050:(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"}},3290:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var o=r(n(1267)),i=r(n(492)),a=r(n(9098)),l=r(n(9090)),d=r(n(5050))},9098:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2770),i=r(n(1267)),a=(0,o.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["#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"],r={fontFamily:{primary:"Roboto, Arial, sans-serif",icon:"WebjetIcons"},fontSize:"13px",fontColor:n[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:n[5],hoverColor:n[6],hoverDarkColor:n[7],textHighlight:n[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:n[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:n[5],inputIcon:n[9],inputIconBackground:n[2],inputIconHoverBackground:n[5],inputCrossBtn:"#a8a8a8",btnStandard:n[2],btnStandardHover:n[5],btnAction:n[17],btnActionHover:"#259400",btnActive:n[13],btnActiveHover:n[19],btnSelection:n[16],btnSelectionHover:n[20],successBackground:n[22],successText:n[21],errorBackground:n[26],errorText:n[27],sliderPrimary:n[13],color:n,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:n[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=r},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["#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"],r={fontFamily:{primary:"Roboto, Arial, sans-serif",icon:"WebjetIcons"},fontSize:"13px",fontColor:n[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:n[5],hoverColor:n[6],hoverDarkColor:n[7],textHighlight:n[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:n[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:n[5],inputIcon:n[9],inputIconBackground:n[2],inputIconHoverBackground:n[5],inputCrossBtn:"#a8a8a8",btnStandard:n[2],btnStandardHover:n[5],btnAction:n[17],btnActionHover:"#259400",btnActive:n[13],btnActiveHover:n[19],btnSelection:n[16],btnSelectionHover:n[20],successBackground:n[22],successText:n[21],errorBackground:n[26],errorText:n[27],sliderPrimary:n[13],color:n,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:n[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=r},1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}var r={};(()=>{var e=r,t=n(3751);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ListItem",{enumerable:!0,get:function(){return i.default}}),e.default=void 0;var o=t(n(3220)),i=t(n(2442));e.default=o.default})(),module.exports=r})();
|
|
1
|
+
(()=>{"use strict";var e={8151:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.formatCurrency=void 0,t.formatCurrencyNoCents=function(e){var t=Math.round(e);return n(t)},t.formatCurrencySigned=void 0,t.isNullOrEmptyOrUndefined=function(e){return r(e)||""===e},t.isNullOrUndefined=r;var n=t.formatCurrency=function(e,t){var n=e.toLocaleString("en-AU",{style:"currency",currency:"AUD"}).replace("A","");return t?n:n.replace(".00","")};function r(e){return null==e}t.formatCurrencySigned=function(e,t){if(e<0){var r=n(Math.abs(e),t);return"-(".concat(r,")")}return n(e,t)}},2442:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2015)),i=(r(n(9825)),n(8151)),a=n(3849),l={0:a.VARIANTS.heading,1:a.VARIANTS.product,2:a.VARIANTS.item,3:a.VARIANTS.subitem},d=a.VARIANTS.subitem;t.default=function(e){var t=e.description,n=void 0===t?"":t,r=e.value,u=void 0===r?0:r,c=e.variant,s=e.level,p=e.isLastPlainItem,m=void 0!==p&&p,f=e.annotation,v=void 0===f?"":f,h=e.hasHorisontalLine,y=void 0!==h&&h,g=c||l[s]||d,x=null!=u,b=s>0&&x,F=s>2?s-2:0;return""!==n&&o.default.createElement(a.StyledListItem,{variant:g,isLastPlainItem:m,tabs:F,"data-variant":g,hasHorisontalLine:y},o.default.createElement(a.StyledDescriptionWrapper,{isDotted:b},o.default.createElement("span",null,n)),x&&o.default.createElement(a.StyledPrice,{annotation:v},(0,i.formatCurrencySigned)(u,2)))}},3849:(e,t,n)=>{var r=n(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.VARIANTS=t.StyledPrice=t.StyledListItem=t.StyledDescriptionWrapper=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(o,l,d):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o}(n(2770)),i=n(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var l=t.VARIANTS={heading:"heading",product:"product",item:"item",subitem:"subitem",coupon:"coupon",summaryDetails:"summary-details",savings:"savings",summary:"summary"};t.StyledListItem=o.default.li.withConfig({displayName:"ListItemstyle__StyledListItem",componentId:"sc-11vpdt9-0"})(["width:100%;display:flex;"," "," "," "," "," "," "," "," "," ",""],(function(e){var t=e.variant;return(t===l.item||t===l.subitem)&&(0,o.css)(["margin:2px 0 0 0;font-size:12px;line-height:20px;font-weight:400;color:",";@media ","{margin:12px 0 0;font-size:14px;line-height:16px;}"],i.theme.color[10],i.theme.media.tabletAndDesktop)}),(function(e){var t=e.variant,n=e.tabs;return t===l.subitem&&(0,o.css)(["{padding:0 0 0 ","px;@media ","{padding:0 0 0 ","px;}"],8*n,i.theme.media.tabletAndDesktop,16*n)}),(function(e){var t=e.isLastPlainItem;return(0,o.css)(["{margin-bottom:","px;"],t?24:0)}),(function(e){return e.variant===l.product&&(0,o.css)(["margin:16px 0 12px;font-size:12px;line-height:14px;font-weight:700;color:",";[data-variant='","'] + &{margin-top:16px;}@media ","{margin:28px 0 12px;font-size:14px;line-height:16px;font-weight:700;[data-variant='","'] + &{margin-top:24px;}}"],i.theme.color[12],l.heading,i.theme.media.tabletAndDesktop,l.heading)}),(function(e){return e.variant===l.heading&&(0,o.css)(["{margin:16px 0 0;font-size:16px;line-height:22px;font-weight:700;color:",";text-transform:capitalize;&:not(:first-child){margin:32px 0 0;}@media ","{margin:32px 0 0;font-size:18px;line-height:24px;}"],i.theme.color[7],i.theme.media.tabletAndDesktop)}),(function(e){return e.variant===l.summary&&(0,o.css)(["margin:8px 0 0;font-size:20px;line-height:26px;font-weight:900;color:",";text-transform:capitalize;@media ","{margin:4px 0 0;font-size:24px;line-height:30px;font-weight:700;}"],i.theme.color[12],i.theme.media.tabletAndDesktop)}),(function(e){return e.variant===l.summaryDetails&&(0,o.css)(["margin:4px 0 0;font-size:14px;line-height:20px;font-weight:500;color:",";@media ","{font-size:16px;line-height:22px;}"],i.theme.color[10],i.theme.media.tabletAndDesktop)}),(function(e){return e.variant===l.savings&&(0,o.css)(["margin:4px 0 0;font-size:14px;line-height:20px;font-weight:500;color:",";text-transform:capitalize;@media ","{font-size:16px;line-height:22px;}"],i.theme.color[0],i.theme.media.tabletAndDesktop)}),(function(e){return!!e.hasHorisontalLine&&(0,o.css)(["position:relative;margin-bottom:32px;::after{content:'';position:absolute;display:block;width:100%;height:1px;bottom:-32px;left:0;margin:16px 0;background:",";}@media ","{margin-bottom:48px;::after{bottom:-48px;margin:24px 0;}}"],i.theme.color[3],i.theme.media.tabletAndDesktop)}),(function(e){return e.variant===l.coupon&&(0,o.css)(["font-size:12px;line-height:18px;font-weight:500;color:",";margin-top:20px;[data-variant='","'] ~ &[data-variant='","']{margin-top:4px;}@media ","{font-size:14px;line-height:20px;font-weight:500;margin-top:32px;[data-variant='","'] ~ &[data-variant='","']{margin-top:12px;}}"],i.theme.color[0],l.coupon,l.coupon,i.theme.media.tabletAndDesktop,l.coupon,l.coupon)})),t.StyledPrice=o.default.span.withConfig({displayName:"ListItemstyle__StyledPrice",componentId:"sc-11vpdt9-1"})(["display:flex;align-items:end;margin:0 0 0 6px;position:relative;",""],(function(e){var t=e.annotation;return!!t&&(0,o.css)(['&::after{content:"','";position:absolute;right:-.6em;top:-3px;font-size:.5em;@media ',"{right:-.7em;font-size:.6em;}}"],t,i.theme.media.tabletAndDesktop)})),t.StyledDescriptionWrapper=o.default.div.withConfig({displayName:"ListItemstyle__StyledDescriptionWrapper",componentId:"sc-11vpdt9-2"})(["display:flex;flex:1;overflow:hidden;position:relative;text-align:left;",""],(function(e){return e.isDotted&&(0,o.css)(['span::after{content:" .............................................................................................................................................................................................................................................................................................................................................................................................. ";position:absolute;bottom:.6em;margin:0 6px;font-size:10px;line-height:2px;font-weight:400;color:',";letter-spacing:.2em;}"],i.theme.color[6])}))},3220:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2015)),i=(r(n(9825)),n(7640)),a=r(n(2442)),l=n(7283);t.default=function(e){var t=e.data,n=void 0===t?{}:t,r=e.summaryItems,d=e.feeLabels,u=void 0===d?[]:d,c=e.flightProtectionLabels,s=void 0===c?[]:c,p=e.currencyNote,m=e.additionalFields,f=(0,i.flattenData)(n,u,s,m).map((function(e,t){var n=e.description,r=e.value,i=e.hasHorisontalLine,l=e.level,d=e.isLastPlainItem,u=e.annotation,c=e.variant;return o.default.createElement(a.default,{level:l,variant:c,description:n,value:r,hasHorisontalLine:i,isLastPlainItem:d,key:"".concat(t,"-").concat(n),annotation:u})})),v=null==r?void 0:r.map((function(e,t){var n=e.value,r=e.description,i=e.variant,l=e.annotation;return o.default.createElement(a.default,{variant:i,description:r,value:n,annotation:l,key:"".concat(t,"-").concat(r)})}));return o.default.createElement(l.StyledList,null,f,!!r&&o.default.createElement(l.StyledSummaryWrapper,null,v,p&&o.default.createElement(l.StyledNote,null,p)))}},7283:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledSummaryWrapper=t.StyledNote=t.StyledList=void 0;var o=r(n(2770)),i=n(3290);t.StyledList=o.default.ul.withConfig({displayName:"PaymentBreakdownstyle__StyledList",componentId:"sc-1o8gq4g-0"})(["width:100%;padding:0;margin:0;> li:first-child{margin-top:0;}"]),t.StyledSummaryWrapper=o.default.ul.withConfig({displayName:"PaymentBreakdownstyle__StyledSummaryWrapper",componentId:"sc-1o8gq4g-1"})(["margin:32px 0 0;padding:0;"]),t.StyledNote=o.default.div.withConfig({displayName:"PaymentBreakdownstyle__StyledNote",componentId:"sc-1o8gq4g-2"})(["margin:4px 0 0;font-size:12px;line-height:18px;font-weight:400;color:",";text-align:right;@media ","{font-size:14px;line-height:20px;}"],i.theme.color[8],i.theme.media.tabletAndDesktop)},7640:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.flattenData=void 0,t.getValueFromObject=u;var o=r(n(1116)),i=r(n(2462)),a=["description","items"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!Array.isArray(e))throw new Error("Path parameter: '".concat(e,"' needs to be a array"));return e.reduce((function(e,t){return null===e?null:e[t]}),t)||n}t.flattenData=function(e,t,n,r){var o=function e(r,o,l){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=r.description,s=r.items,p=(0,i.default)(r,a),m=null==t?void 0:t.some((function(e){return null==c?void 0:c.startsWith(e)})),f=null==n?void 0:n.some((function(e){return null==c?void 0:c.startsWith(e)})),v=m||f,h=3===o&&u||f;l.push(d(d({description:c,level:v?o+1:o},h&&{isLastPlainItem:!0}),p)),s&&s.length>0&&s.forEach((function(t,n){e(t,o+1,l,n===s.length-1)}))},l=[],c=e.payables;Object.values(c||{}).forEach((function(e){return o(e,0,l)}));var s=function(e,t,n){return d({description:e.description,value:e.value,level:t},!!n&&{variant:n})},p=(r||[]).map((function(t){var n=t.path,r=t.level,o=t.variant,i=[],a=u(n,e,{});return Array.isArray(a)?a.forEach((function(e){return i.push(s(e,r,o))})):null!==(null==a?void 0:a.value)&&void 0!==(null==a?void 0:a.value)&&i.push(s(a,r,o)),i}));return l.concat(p.flat(1))}},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"}}},5050:(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"}},3290:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var o=r(n(1267)),i=r(n(492)),a=r(n(9098)),l=r(n(9090)),d=r(n(5050))},9098:(e,t,n)=>{var r=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2770),i=r(n(1267)),a=(0,o.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["#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"],r={fontFamily:{primary:"Roboto, Arial, sans-serif",icon:"WebjetIcons"},fontSize:"13px",fontColor:n[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:n[5],hoverColor:n[6],hoverDarkColor:n[7],textHighlight:n[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:n[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:n[5],inputIcon:n[9],inputIconBackground:n[2],inputIconHoverBackground:n[5],inputCrossBtn:"#a8a8a8",btnStandard:n[2],btnStandardHover:n[5],btnAction:n[17],btnActionHover:"#259400",btnActive:n[13],btnActiveHover:n[19],btnSelection:n[16],btnSelectionHover:n[20],successBackground:n[22],successText:n[21],errorBackground:n[26],errorText:n[27],sliderPrimary:n[13],color:n,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:n[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=r},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["#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"],r={fontFamily:{primary:"Roboto, Arial, sans-serif",icon:"WebjetIcons"},fontSize:"13px",fontColor:n[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:n[5],hoverColor:n[6],hoverDarkColor:n[7],textHighlight:n[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:n[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:n[5],inputIcon:n[9],inputIconBackground:n[2],inputIconHoverBackground:n[5],inputCrossBtn:"#a8a8a8",btnStandard:n[2],btnStandardHover:n[5],btnAction:n[17],btnActionHover:"#259400",btnActive:n[13],btnActiveHover:n[19],btnSelection:n[16],btnSelectionHover:n[20],successBackground:n[22],successText:n[21],errorBackground:n[26],errorText:n[27],sliderPrimary:n[13],color:n,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:n[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=r},1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}var r={};(()=>{var e=r,t=n(3751);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ListItem",{enumerable:!0,get:function(){return i.default}}),e.default=void 0;var o=t(n(3220)),i=t(n(2442));e.default=o.default})(),module.exports=r})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={5845:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FooterContent",{enumerable:!0,get:function(){return i.StyledFooterText}}),Object.defineProperty(t,"PanelContent",{enumerable:!0,get:function(){return i.StyledContent}}),t.default=void 0;var r=n(o(2015)),i=(n(o(9825)),o(5026));t.default=function(e){var t,o=e.state,n=void 0===o?"confirmed":o,a=e.children,d=null===(t=i.STATES[n])||void 0===t?void 0:t.icon,l=null,c=null,u=[],p=Array.isArray(a)?a:[a];return null==p||p.forEach((function(e){var t,o,n;if((null==e||null===(t=e.type)||void 0===t?void 0:t.displayName)===(null===i.StyledContent||void 0===i.StyledContent?void 0:i.StyledContent.displayName))l=null==e||null===(n=e.props)||void 0===n?void 0:n.children;else if((null==e||null===(o=e.type)||void 0===o?void 0:o.displayName)===(null===i.StyledFooterText||void 0===i.StyledFooterText?void 0:i.StyledFooterText.displayName)){var r;c=null==e||null===(r=e.props)||void 0===r?void 0:r.children}else u.push(e)})),r.default.createElement(i.StyledPaymentConfirmationPanel,{"data-testid":"payment-confirmation-panel"},r.default.createElement(i.StyledStatus,null,!!d&&r.default.createElement(d,{fill:i.STATES[n].color,"data-icon":i.STATES[n].name,"data-testid":"payment-confirmation-status"})),r.default.createElement(i.StyledContent,{"data-testid":"payment-confirmation-content"},l),u,!!c&&r.default.createElement(i.StyledFooterText,{"data-testid":"payment-confirmation-footer"},c))}},5026:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledStatus=t.StyledPaymentConfirmationPanel=t.StyledFooterText=t.StyledContent=t.STATES=void 0;var r=n(o(2770)),i=o(3290),a=n(o(4788)),d=n(o(7870)),l=n(o(7664));t.STATES={confirmed:{name:"check-round",icon:a.default,color:i.identifiers.notification.success.color},pending:{name:"attention-round",icon:d.default,color:i.identifiers.notification.warning.color},failed:{name:"cross-round",icon:l.default,color:i.identifiers.webjetRed}},t.StyledPaymentConfirmationPanel=r.default.div.withConfig({displayName:"PaymentConfirmationPanelstyle__StyledPaymentConfirmationPanel",componentId:"sc-fgwwd3-0"})(["width:100%;padding:80px 72px;background:",";display:flex;flex-flow:column;gap:32px;border-radius:4px;align-items:flex-start;@media ","{padding:48px 24px;}"],i.theme.color[11],i.theme.media.mobile),t.StyledStatus=r.default.div.withConfig({displayName:"PaymentConfirmationPanelstyle__StyledStatus",componentId:"sc-fgwwd3-1"})(["> svg{display:block;font-size:48px;@media ","{font-size:32px;}}@media ","{margin-bottom:-12px;}"],i.theme.media.mobile,i.theme.media.mobile),(t.StyledContent=r.default.div.withConfig({displayName:"PaymentConfirmationPanelstyle__StyledContent",componentId:"sc-fgwwd3-2"})(["> h1{font-size:32px;font-weight:900;color:",";line-height:38px;padding:0;margin:0 0 20px;@media ","{font-size:24px;line-height:30px;}}> h3{font-size:16px;font-weight:500;color:",";line-height:22px;padding:0;margin:0 0 12px;@media ","{font-size:14px;line-height:20px;}}> p{font-size:16px;font-weight:400;color:",";line-height:22px;padding:0;margin:0 0 20px;@media ","{font-size:14px;line-height:20px;}}> *:last-child{margin-bottom:0;}"],i.theme.color[12],i.theme.media.mobile,i.theme.color[12],i.theme.media.mobile,i.theme.color[10],i.theme.media.mobile)).displayName="PanelContent",(t.StyledFooterText=r.default.div.withConfig({displayName:"PaymentConfirmationPanelstyle__StyledFooterText",componentId:"sc-fgwwd3-3"})(["color:",";font-size:14px;font-weight:400;line-height:20px;> a{margin:0;}"],i.theme.color[7])).displayName="FooterContent"},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"}}},5050:(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"}},3290:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var r=n(o(1267)),i=n(o(492)),a=n(o(9098)),d=n(o(9090)),l=n(o(5050))},9098:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(2770),i=n(o(1267)),a=(0,r.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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"],n={fontFamily:{primary:"Roboto, Arial, sans-serif",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},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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"],n={fontFamily:{primary:"Roboto, Arial, sans-serif",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},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},7870:e=>{e.exports=require("@webjet/react-icons/attention-round")},4788:e=>{e.exports=require("@webjet/react-icons/check-round")},7664:e=>{e.exports=require("@webjet/react-icons/cross-round")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}var n={};(()=>{var e=n,t=o(8063);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FooterContent",{enumerable:!0,get:function(){return r.FooterContent}}),Object.defineProperty(e,"PanelContent",{enumerable:!0,get:function(){return r.PanelContent}}),e.default=void 0;var r=function(e,o){if(e&&e.__esModule)return e;if(null===e||"object"!=t(e)&&"function"!=typeof e)return{default:e};var n=i(o);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in e)if("default"!==d&&{}.hasOwnProperty.call(e,d)){var l=a?Object.getOwnPropertyDescriptor(e,d):null;l&&(l.get||l.set)?Object.defineProperty(r,d,l):r[d]=e[d]}return r.default=e,n&&n.set(e,r),r}(o(5845));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}e.default=r.default})(),module.exports=n})();
|
|
1
|
+
(()=>{"use strict";var e={5845:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FooterContent",{enumerable:!0,get:function(){return i.StyledFooterText}}),Object.defineProperty(t,"PanelContent",{enumerable:!0,get:function(){return i.StyledContent}}),t.default=void 0;var r=n(o(2015)),i=(n(o(9825)),o(5026));t.default=function(e){var t,o=e.state,n=void 0===o?"confirmed":o,a=e.children,d=null===(t=i.STATES[n])||void 0===t?void 0:t.icon,l=null,c=null,u=[],p=Array.isArray(a)?a:[a];return null==p||p.forEach((function(e){var t,o,n;if((null==e||null===(t=e.type)||void 0===t?void 0:t.displayName)===(null===i.StyledContent||void 0===i.StyledContent?void 0:i.StyledContent.displayName))l=null==e||null===(n=e.props)||void 0===n?void 0:n.children;else if((null==e||null===(o=e.type)||void 0===o?void 0:o.displayName)===(null===i.StyledFooterText||void 0===i.StyledFooterText?void 0:i.StyledFooterText.displayName)){var r;c=null==e||null===(r=e.props)||void 0===r?void 0:r.children}else u.push(e)})),r.default.createElement(i.StyledPaymentConfirmationPanel,{"data-testid":"payment-confirmation-panel"},r.default.createElement(i.StyledStatus,null,!!d&&r.default.createElement(d,{fill:i.STATES[n].color,"data-icon":i.STATES[n].name,"data-testid":"payment-confirmation-status"})),r.default.createElement(i.StyledContent,{"data-testid":"payment-confirmation-content"},l),u,!!c&&r.default.createElement(i.StyledFooterText,{"data-testid":"payment-confirmation-footer"},c))}},5026:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledStatus=t.StyledPaymentConfirmationPanel=t.StyledFooterText=t.StyledContent=t.STATES=void 0;var r=n(o(2770)),i=o(3290),a=n(o(4788)),d=n(o(7870)),l=n(o(7664));t.STATES={confirmed:{name:"check-round",icon:a.default,color:i.identifiers.notification.success.color},pending:{name:"attention-round",icon:d.default,color:i.identifiers.notification.warning.color},failed:{name:"cross-round",icon:l.default,color:i.identifiers.webjetRed}},t.StyledPaymentConfirmationPanel=r.default.div.withConfig({displayName:"PaymentConfirmationPanelstyle__StyledPaymentConfirmationPanel",componentId:"sc-fgwwd3-0"})(["width:100%;padding:80px 72px;background:",";display:flex;flex-flow:column;gap:32px;border-radius:4px;align-items:flex-start;@media ","{padding:48px 24px;}"],i.theme.color[11],i.theme.media.mobile),t.StyledStatus=r.default.div.withConfig({displayName:"PaymentConfirmationPanelstyle__StyledStatus",componentId:"sc-fgwwd3-1"})(["> svg{display:block;font-size:48px;@media ","{font-size:32px;}}@media ","{margin-bottom:-12px;}"],i.theme.media.mobile,i.theme.media.mobile),(t.StyledContent=r.default.div.withConfig({displayName:"PaymentConfirmationPanelstyle__StyledContent",componentId:"sc-fgwwd3-2"})(["> h1{font-size:32px;font-weight:900;color:",";line-height:38px;padding:0;margin:0 0 20px;@media ","{font-size:24px;line-height:30px;}}> h3{font-size:16px;font-weight:500;color:",";line-height:22px;padding:0;margin:0 0 12px;@media ","{font-size:14px;line-height:20px;}}> p{font-size:16px;font-weight:400;color:",";line-height:22px;padding:0;margin:0 0 20px;@media ","{font-size:14px;line-height:20px;}}> *:last-child{margin-bottom:0;}"],i.theme.color[12],i.theme.media.mobile,i.theme.color[12],i.theme.media.mobile,i.theme.color[10],i.theme.media.mobile)).displayName="PanelContent",(t.StyledFooterText=r.default.div.withConfig({displayName:"PaymentConfirmationPanelstyle__StyledFooterText",componentId:"sc-fgwwd3-3"})(["color:",";font-size:14px;font-weight:400;line-height:20px;> a{margin:0;}"],i.theme.color[7])).displayName="FooterContent"},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"}}},5050:(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"}},3290:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var r=n(o(1267)),i=n(o(492)),a=n(o(9098)),d=n(o(9090)),l=n(o(5050))},9098:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(2770),i=n(o(1267)),a=(0,r.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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:{primary:"Roboto, Arial, sans-serif",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},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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:{primary:"Roboto, Arial, sans-serif",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},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},7870:e=>{e.exports=require("@webjet/react-icons/attention-round")},4788:e=>{e.exports=require("@webjet/react-icons/check-round")},7664:e=>{e.exports=require("@webjet/react-icons/cross-round")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}var n={};(()=>{var e=n,t=o(8063);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FooterContent",{enumerable:!0,get:function(){return r.FooterContent}}),Object.defineProperty(e,"PanelContent",{enumerable:!0,get:function(){return r.PanelContent}}),e.default=void 0;var r=function(e,o){if(e&&e.__esModule)return e;if(null===e||"object"!=t(e)&&"function"!=typeof e)return{default:e};var n=i(o);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in e)if("default"!==d&&{}.hasOwnProperty.call(e,d)){var l=a?Object.getOwnPropertyDescriptor(e,d):null;l&&(l.get||l.set)?Object.defineProperty(r,d,l):r[d]=e[d]}return r.default=e,n&&n.set(e,r),r}(o(5845));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}e.default=r.default})(),module.exports=n})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var e={9473:(e,t,n)=>{var o=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(9825)),i=function(e){var t=e.condition,n=void 0!==t&&t,o=e.children;return!0===n?o:null};i.propTypes={condition:r.default.bool},t.default=i},3080:(e,t,n)=>{var o=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(9473));t.default=r.default},3799:(e,t,n)=>{var o=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(6031)),i=o(n(2462)),a=o(n(2015)),l=(o(n(9825)),n(3465)),d=n(3191),c=["children","href","icon","onClick"];t.default=function(e){var t=e.children,n=e.href,o=e.icon,s=e.onClick,u=(0,i.default)(e,c),f=(0,l.isValidIconElement)(o),p=f?o:null,m=n||"#";return a.default.createElement(d.StyledLink,(0,r.default)({href:m,onClick:function(e){s&&(e.stopPropagation(),e.preventDefault(),s(e))},hasIcon:f},u),f&&a.default.createElement(p,{size:16}),t)}},3191:(e,t,n)=>{var o=n(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledLink=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(r,l,d):r[l]=e[l]}return r.default=e,n&&n.set(e,r),r}(n(2770)),i=n(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}t.StyledLink=r.default.a.withConfig({displayName:"Linkstyle__StyledLink",componentId:"sc-pjn937-0"})(["display:inline-flex;gap:4px;align-items:center;&:link,&:visited{color:",";}&:hover{color:",";}",""],i.identifiers.textLink.color,i.identifiers.textLink.hoverColor,(function(e){return e.hasIcon&&(0,r.css)(["font-size:12px;line-height:18px;&:link,&:visited{svg{fill:",";}}&:hover{svg{fill:",";}}"],i.identifiers.textLink.color,i.identifiers.textLink.hoverColor)}))},9675:(e,t,n)=>{var o=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3799));t.default=r.default},1160:(e,t,n)=>{var o=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(6031)),i=o(n(1116)),a=o(n(2462)),l=o(n(2015)),d=(o(n(9825)),o(n(2352))),c=o(n(3892)),s=o(n(3080)),u=o(n(9675)),f=n(5847),p=o(n(9313)),m=["name","email","phoneNumber","onEdit","onRemove"];t.default=function(e){var t,n=e.name,o=e.email,g=e.phoneNumber,h=e.onEdit,v=e.onRemove,y=(0,a.default)(e,m),b=!!o||!!g;return l.default.createElement("div",(0,r.default)({},y,{"data-testid":"personal-info",className:p.default.container}),l.default.createElement(f.StyledAvatar,null,l.default.createElement(d.default,null)),l.default.createElement("div",{className:(0,c.default)((t={},(0,i.default)(t,p.default.infoContainer,!0),(0,i.default)(t,p.default.withContactDetails,b),t))},l.default.createElement(f.StyledInfo,null,l.default.createElement("div",null,n),l.default.createElement(s.default,{condition:b},l.default.createElement(f.StyledContactDetails,{className:p.default.contactDetails},!!o&&l.default.createElement("span",null,o),!!g&&l.default.createElement("span",null,g)))),l.default.createElement(f.StyledLinks,{className:p.default.links},l.default.createElement(s.default,{condition:!!h},l.default.createElement(u.default,{"data-testid":"edit-info",onClick:function(){return h()}},"Edit")),l.default.createElement(s.default,{condition:!!v},l.default.createElement(u.default,{"data-testid":"remove-info",onClick:function(){return v()}},"Remove")))))}},5847:(e,t,n)=>{var o=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledLinks=t.StyledInfo=t.StyledContactDetails=t.StyledAvatar=void 0;var r=o(n(2770)),i=n(3290);t.StyledAvatar=r.default.span.withConfig({displayName:"PersonalInfostyle__StyledAvatar",componentId:"sc-bwl4qh-0"})(["flex:0 0 auto;height:32px;font-size:16px;padding:8px;background:",";border-radius:8px;& > svg{fill:",";}"],i.themeV2.color[1],i.themeV2.color[10]),t.StyledInfo=r.default.div.withConfig({displayName:"PersonalInfostyle__StyledInfo",componentId:"sc-bwl4qh-1"})(["& > div:first-child{color:",";font-size:16px;font-weight:500;line-height:22px;}"],i.themeV2.color[10]),t.StyledLinks=r.default.span.withConfig({displayName:"PersonalInfostyle__StyledLinks",componentId:"sc-bwl4qh-2"})(["white-space:nowrap;& > a{font-size:14px;line-height:20px;margin:0;}& > a:first-child{padding-right:8px;}& > a:not(:first-child){padding-left:8px;border-left:1px solid ",";}"],i.themeV2.color[2]),t.StyledContactDetails=r.default.div.withConfig({displayName:"PersonalInfostyle__StyledContactDetails",componentId:"sc-bwl4qh-3"})(["margin-top:8px;& > span{color:",";font-size:12px;font-weight:400;line-height:18px;}"],i.themeV2.color[7])},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"}}},5050:(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"}},3290:(e,t,n)=>{var o=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var r=o(n(1267)),i=o(n(492)),a=o(n(9098)),l=o(n(9090)),d=o(n(5050))},9098:(e,t,n)=>{var o=n(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2770),i=o(n(1267)),a=(0,r.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["#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"],o={fontFamily:{primary:"Roboto, Arial, sans-serif",icon:"WebjetIcons"},fontSize:"13px",fontColor:n[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:n[5],hoverColor:n[6],hoverDarkColor:n[7],textHighlight:n[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:n[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:n[5],inputIcon:n[9],inputIconBackground:n[2],inputIconHoverBackground:n[5],inputCrossBtn:"#a8a8a8",btnStandard:n[2],btnStandardHover:n[5],btnAction:n[17],btnActionHover:"#259400",btnActive:n[13],btnActiveHover:n[19],btnSelection:n[16],btnSelectionHover:n[20],successBackground:n[22],successText:n[21],errorBackground:n[26],errorText:n[27],sliderPrimary:n[13],color:n,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:n[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=o},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["#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"],o={fontFamily:{primary:"Roboto, Arial, sans-serif",icon:"WebjetIcons"},fontSize:"13px",fontColor:n[10],gutterWidth:"12px",halfGutterWidth:"6px",borderRadius:"4px",borderColor:n[5],hoverColor:n[6],hoverDarkColor:n[7],textHighlight:n[18],activeItemOutline:"0 0 0 4px rgba(135, 135, 135, 0.75)",dropdownShadow:"0 2px 6px rgba(0, 0, 0, 0.7)",userSelection:n[16],inputHoverBackground:"#F6F2E7",inputActiveBackground:n[5],inputIcon:n[9],inputIconBackground:n[2],inputIconHoverBackground:n[5],inputCrossBtn:"#a8a8a8",btnStandard:n[2],btnStandardHover:n[5],btnAction:n[17],btnActionHover:"#259400",btnActive:n[13],btnActiveHover:n[19],btnSelection:n[16],btnSelectionHover:n[20],successBackground:n[22],successText:n[21],errorBackground:n[26],errorText:n[27],sliderPrimary:n[13],color:n,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:n[27],inputErrorIcon:"#A1605F",inputErrorIconBackground:"#D4C3C3",inputErrorIconHoverBackground:"#BFB0B0",inputErrorCrossBtn:"#858585"}};t.default=o},3465:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.escapeRegExp=t.detectOS=t.BREAKPOINTS=void 0,t.fetchDateInMilliseconds=function(){return(new Date).getTime()},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.getMonthName=t.getFormattedDate=void 0;var o=n(4513),r=t.BREAKPOINTS={MOBILE_PORTRAIT:567,MOBILE:767,TABLET:991,DESKTOP:1199},i=t.isMatchMedia=function(e){return window.matchMedia(e).matches},a=(t.isMobile=function(){return i("(max-width: ".concat(r.MOBILE,"px)"))},t.isMobileTablet=function(){return i("(max-width: ".concat(r.TABLET,"px)"))},t.isMobilePortrait=function(){return i("(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,n=/(iPad).*OS\s([\d_]+)/.test(t);return{ios:!n&&/(iPhone\sOS)\s([\d_]+)/.test(t)||n,android:/(Android);?[\s/]+([\d.]+)?/.test(t)}},t.isUserLoggedIn=function(){var e,t=null===(e=(0,o.getCookieStorage)("customer-soft-id"))||void 0===e?void 0:e.split(".");if(t&&t.length>1){var n=window.atob(t[1]).toString("ascii");if(JSON.parse(n).firstName)return!0}return!1},t.setTwoDirectionStickyPanel=function(e){if(e){var t=window.innerHeight-e.offsetHeight,n=window.scrollY,o=window.innerHeight,r=e.offsetHeight;e.style.top="0px",window.addEventListener("resize",(function(){o=window.innerHeight,r=e.offsetHeight})),document.addEventListener("scroll",(function(){r=e.offsetHeight,t=window.innerHeight-e.offsetHeight;var i=parseInt(e.style.top.replace("px;",""));0===window.scrollY||r<=o?e.style.top="0px":window.scrollY<n?i<0?e.style.top=i+n-window.scrollY+"px":i>=0&&0!==i&&(e.style.top="0px"):i>t?e.style.top=i+n-window.scrollY+"px":i<t&&i!==t&&(e.style.top=t+"px"),n=window.scrollY}),{capture:!0,passive:!0})}});t.setTwoDirectionStickyPanelById=function(e){a(document.getElementById(e))},t.hasScrollReachedBottom=function(e){if(!e)return!1;var t=e.scrollHeight,n=e.scrollTop,o=e.clientHeight,r=t-n;return r>=o-1&&r<=o+1},t.withScroll=function(e){if(!e)return!1;var t=e.scrollHeight,n=e.clientHeight;return!(t>=n-1&&t<=n+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 n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"smooth";"function"==typeof(null==e?void 0:e.scrollTo)&&e.scrollTo({behavior:n,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())}},4513:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setSessionStorageJson=t.setSessionStorage=t.setCookieStorage=t.getSessionStorageJson=t.getSessionStorage=t.getCookieStorage=void 0;var n=function(){var e="WJtestStorage";try{return!!window.sessionStorage&&(window.sessionStorage.setItem(e,1),window.sessionStorage.removeItem(e),!0)}catch(e){return!1}};t.getSessionStorage=function(e){if(e&&n())try{return window.sessionStorage.getItem(e)}catch(e){return}},t.setSessionStorage=function(e,t){if(e&&n())try{return window.sessionStorage.setItem(e,t)}catch(e){return}},t.getSessionStorageJson=function(e){if(e&&n())try{return JSON.parse(window.sessionStorage.getItem(e))}catch(e){return}},t.setSessionStorageJson=function(e,t){if(e&&n())try{return window.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){return}},t.getCookieStorage=function(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var r=n[o];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return null},t.setCookieStorage=function(e,t,n){var o=window.location.hostname,r="localhost"===o?o:o.match(/(\.\w+){3}$/g);document.cookie="".concat(e,"=").concat(t,"; Domain=").concat(r,"; Path=/; Max-Age=").concat(n||86400)}},4887:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(1601),r=n.n(o),i=n(6314),a=n.n(i)()(r());a.push([e.id,".qDr6OTtdYN6rJWbT8ZEa {\n container-type: inline-size;\n display: flex;\n gap: 16px;\n}\n.UiCz470Be_f4i4TnbuG_ {\n flex: 1 1 auto;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n}\n.UiCz470Be_f4i4TnbuG_ .JJ4CA4P4eFbefab3oPUw {\n flex: 0 0 auto;\n}\n.UiCz470Be_f4i4TnbuG_.iYZ1HMA6rcVGz3FBuMn4 .JJ4CA4P4eFbefab3oPUw {\n align-self: flex-start;\n}\n.NDC0jw0Uf5IjdngPjXAU {\n display: flex;\n}\n.NDC0jw0Uf5IjdngPjXAU > span {\n white-space: nowrap;\n}\n.NDC0jw0Uf5IjdngPjXAU > span:first-child {\n padding-right: 8px;\n}\n.NDC0jw0Uf5IjdngPjXAU > span:not(:first-child) {\n padding-left: 8px;\n border-left: 1px solid #dfdfdf;\n}\n/* small container */\n@container (max-width: 767px) {\n .UiCz470Be_f4i4TnbuG_.iYZ1HMA6rcVGz3FBuMn4 {\n flex-direction: column;\n align-items: initial;\n gap: 24px;\n }\n .UiCz470Be_f4i4TnbuG_.iYZ1HMA6rcVGz3FBuMn4 .JJ4CA4P4eFbefab3oPUw {\n align-self: flex-end;\n }\n .NDC0jw0Uf5IjdngPjXAU {\n flex-direction: column;\n gap: 8px;\n }\n .NDC0jw0Uf5IjdngPjXAU > span:first-child {\n padding-right: 0;\n }\n .NDC0jw0Uf5IjdngPjXAU > span:not(:first-child) {\n padding-left: 0;\n border-left: none;\n }\n}\n",""]),a.locals={container:"qDr6OTtdYN6rJWbT8ZEa",infoContainer:"UiCz470Be_f4i4TnbuG_",links:"JJ4CA4P4eFbefab3oPUw",withContactDetails:"iYZ1HMA6rcVGz3FBuMn4",contactDetails:"NDC0jw0Uf5IjdngPjXAU"};const l=a},6314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var l=0;l<this.length;l++){var d=this[l][0];null!=d&&(a[d]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);o&&a[s[0]]||(void 0!==i&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=i),n&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=n):s[2]=n),r&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=r):s[4]="".concat(r)),t.push(s))}},t}},1601:e=>{e.exports=function(e){return e[1]}},9313:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var o=n(5072),r=n.n(o),i=n(7825),a=n.n(i),l=n(7659),d=n.n(l),c=n(5056),s=n.n(c),u=n(540),f=n.n(u),p=n(1113),m=n.n(p),g=n(4887),h={};h.styleTagTransform=m(),h.setAttributes=s(),h.insert=d().bind(null,"head"),h.domAPI=a(),h.insertStyleElement=f(),r()(g.A,h);const v=g.A&&g.A.locals?g.A.locals:void 0},5072:e=>{var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var i={},a=[],l=0;l<e.length;l++){var d=e[l],c=o.base?d[0]+o.base:d[0],s=i[c]||0,u="".concat(c," ").concat(s);i[c]=s+1;var f=n(u),p={css:d[1],media:d[2],sourceMap:d[3],supports:d[4],layer:d[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=r(p,o);o.byIndex=l,t.splice(l,0,{identifier:u,updater:m,references:1})}a.push(u)}return a}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=o(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var l=n(i[a]);t[l].references--}for(var d=o(e,r),c=0;c<i.length;c++){var s=n(i[c]);0===t[s].references&&(t[s].updater(),t.splice(s,1))}i=d}}},7659:e=>{var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},2352:e=>{e.exports=require("@webjet/react-icons/user")},3892:e=>{e.exports=require("classnames")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};(()=>{var e=o,t=n(3751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(n(1160));e.default=r.default})(),module.exports=o})();
|
package/components/pills.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={3799:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(6031)),i=n(o(2462)),a=n(o(2015)),l=(n(o(9825)),o(3465)),d=o(3191),c=["children","href","icon","onClick"];t.default=function(e){var t=e.children,o=e.href,n=e.icon,s=e.onClick,u=(0,i.default)(e,c),f=(0,l.isValidIconElement)(n),p=f?n:null,g=o||"#";return a.default.createElement(d.StyledLink,(0,r.default)({href:g,onClick:function(e){s&&(e.stopPropagation(),e.preventDefault(),s(e))},hasIcon:f},u),f&&a.default.createElement(p,{size:16}),t)}},3191:(e,t,o)=>{var n=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledLink=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(r,l,d):r[l]=e[l]}return r.default=e,o&&o.set(e,r),r}(o(2770)),i=o(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}t.StyledLink=r.default.a.withConfig({displayName:"Linkstyle__StyledLink",componentId:"sc-pjn937-0"})(["display:inline-flex;gap:4px;align-items:center;&:link,&:visited{color:",";}&:hover{color:",";}",""],i.identifiers.textLink.color,i.identifiers.textLink.hoverColor,(function(e){return e.hasIcon&&(0,r.css)(["font-size:12px;line-height:18px;&:link,&:visited{svg{fill:",";}}&:hover{svg{fill:",";}}"],i.identifiers.textLink.color,i.identifiers.textLink.hoverColor)}))},9675:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(3799));t.default=r.default},6981:(e,t,o)=>{var n=o(3751),r=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o(7826)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}return n.default=e,o&&o.set(e,n),n}(o(2015)),l=(n(o(9825)),n(o(9609))),d=n(o(4578)),c=n(o(9675)),s=o(7669);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}t.default=function(e){var t=e.list,o=e.variant,n=void 0===o?"standard":o,r=e.className,u=e.showReset,f=void 0!==u&&u,p=e.resetText,g=void 0===p?"Reset filters":p,h=e.onRemove,m=e.onReset,v=(0,a.useState)(t||[]),y=(0,i.default)(v,2),b=y[0],x=y[1];(0,a.useEffect)((function(){x(t)}),[t]);var w=function(e){var t=b.filter((function(t){return t!==e}));x(t),h&&h(e,t)};return a.default.createElement(s.StyledPills,{"data-testid":"pills",className:r},b.map((function(e,t){return a.default.createElement(s.StyledPillItem,{key:t,$variant:n,"data-testid":"pills-item",onClick:w.bind(void 0,e)},(null==e?void 0:e.value)||e,a.default.createElement(l.default,{"data-testid":"pills-cross"}))})),(null==b?void 0:b.length)>0&&f&&a.default.createElement(c.default,{onClick:m,icon:d.default},g))}},7669:(e,t,o)=>{var n=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledPills=t.StyledPillItem=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(r,l,d):r[l]=e[l]}return r.default=e,o&&o.set(e,r),r}(o(2770)),i=o(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}t.StyledPills=r.default.div.withConfig({displayName:"Pillsstyle__StyledPills",componentId:"sc-u7wsxn-0"})(["display:flex;flex-wrap:wrap;gap:12px 8px;a{margin-left:4px;font-weight:400;}"]),t.StyledPillItem=r.default.span.withConfig({displayName:"Pillsstyle__StyledPillItem",componentId:"sc-u7wsxn-1"})(["display:flex;align-items:center;padding:4px 8px;gap:8px;border-radius:16px;background:",";font-size:12px;line-height:18px;color:",";white-space:nowrap;cursor:pointer;&:hover{background:",";}"," svg{cursor:pointer;font-size:10px;fill:",";}"],i.theme.color[11],i.theme.color[8],i.theme.color[1],(function(e){return"highlight"===e.$variant&&(0,r.css)(["color:",";background:",";&:hover{background:",";}"],i.theme.color[12],i.theme.color[28],i.theme.color[28])}),i.theme.color[8])},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"}}},5050:(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"}},3290:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var r=n(o(1267)),i=n(o(492)),a=n(o(9098)),l=n(o(9090)),d=n(o(5050))},9098:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(2770),i=n(o(1267)),a=(0,r.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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"],n={fontFamily:{primary:"Roboto, Arial, sans-serif",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},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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"],n={fontFamily:{primary:"Roboto, Arial, sans-serif",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},3465:(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.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.getMonthName=t.getFormattedDate=void 0;var n=o(4513),r=t.BREAKPOINTS={MOBILE_PORTRAIT:567,MOBILE:767,TABLET:991,DESKTOP:1199},i=t.isMatchMedia=function(e){return window.matchMedia(e).matches},a=(t.isMobile=function(){return i("(max-width: ".concat(r.MOBILE,"px)"))},t.isMobileTablet=function(){return i("(max-width: ".concat(r.TABLET,"px)"))},t.isMobilePortrait=function(){return i("(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.isUserLoggedIn=function(){var e,t=null===(e=(0,n.getCookieStorage)("customer-soft-id"))||void 0===e?void 0:e.split(".");if(t&&t.length>1){var o=window.atob(t[1]).toString("ascii");if(JSON.parse(o).firstName)return!0}return!1},t.setTwoDirectionStickyPanel=function(e){if(e){var t=window.innerHeight-e.offsetHeight,o=window.scrollY,n=window.innerHeight,r=e.offsetHeight;e.style.top="0px",window.addEventListener("resize",(function(){n=window.innerHeight,r=e.offsetHeight})),document.addEventListener("scroll",(function(){r=e.offsetHeight,t=window.innerHeight-e.offsetHeight;var i=parseInt(e.style.top.replace("px;",""));0===window.scrollY||r<=n?e.style.top="0px":window.scrollY<o?i<0?e.style.top=i+o-window.scrollY+"px":i>=0&&0!==i&&(e.style.top="0px"):i>t?e.style.top=i+o-window.scrollY+"px":i<t&&i!==t&&(e.style.top=t+"px"),o=window.scrollY}),{capture:!0,passive:!0})}});t.setTwoDirectionStickyPanelById=function(e){a(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())}},4513:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setSessionStorageJson=t.setSessionStorage=t.setCookieStorage=t.getSessionStorageJson=t.getSessionStorage=t.getCookieStorage=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}};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){for(var t=e+"=",o=document.cookie.split(";"),n=0;n<o.length;n++){for(var r=o[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return null},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)}},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},7826:e=>{e.exports=require("@babel/runtime/helpers/slicedToArray")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},9609:e=>{e.exports=require("@webjet/react-icons/close")},4578:e=>{e.exports=require("@webjet/react-icons/reset")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}var n={};(()=>{var e=n,t=o(3751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(o(6981));e.default=r.default})(),module.exports=n})();
|
|
1
|
+
(()=>{"use strict";var e={3799:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(6031)),i=n(o(2462)),a=n(o(2015)),l=(n(o(9825)),o(3465)),d=o(3191),c=["children","href","icon","onClick"];t.default=function(e){var t=e.children,o=e.href,n=e.icon,s=e.onClick,u=(0,i.default)(e,c),f=(0,l.isValidIconElement)(n),p=f?n:null,g=o||"#";return a.default.createElement(d.StyledLink,(0,r.default)({href:g,onClick:function(e){s&&(e.stopPropagation(),e.preventDefault(),s(e))},hasIcon:f},u),f&&a.default.createElement(p,{size:16}),t)}},3191:(e,t,o)=>{var n=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledLink=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(r,l,d):r[l]=e[l]}return r.default=e,o&&o.set(e,r),r}(o(2770)),i=o(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}t.StyledLink=r.default.a.withConfig({displayName:"Linkstyle__StyledLink",componentId:"sc-pjn937-0"})(["display:inline-flex;gap:4px;align-items:center;&:link,&:visited{color:",";}&:hover{color:",";}",""],i.identifiers.textLink.color,i.identifiers.textLink.hoverColor,(function(e){return e.hasIcon&&(0,r.css)(["font-size:12px;line-height:18px;&:link,&:visited{svg{fill:",";}}&:hover{svg{fill:",";}}"],i.identifiers.textLink.color,i.identifiers.textLink.hoverColor)}))},9675:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(3799));t.default=r.default},6981:(e,t,o)=>{var n=o(3751),r=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o(7826)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}return n.default=e,o&&o.set(e,n),n}(o(2015)),l=(n(o(9825)),n(o(9609))),d=n(o(4578)),c=n(o(9675)),s=o(7669);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}t.default=function(e){var t=e.list,o=e.variant,n=void 0===o?"standard":o,r=e.className,u=e.showReset,f=void 0!==u&&u,p=e.resetText,g=void 0===p?"Reset filters":p,h=e.onRemove,m=e.onReset,v=(0,a.useState)(t||[]),y=(0,i.default)(v,2),b=y[0],x=y[1];(0,a.useEffect)((function(){x(t)}),[t]);var w=function(e){var t=b.filter((function(t){return t!==e}));x(t),h&&h(e,t)};return a.default.createElement(s.StyledPills,{"data-testid":"pills",className:r},b.map((function(e,t){return a.default.createElement(s.StyledPillItem,{key:t,$variant:n,"data-testid":"pills-item",onClick:w.bind(void 0,e)},(null==e?void 0:e.value)||e,a.default.createElement(l.default,{"data-testid":"pills-cross"}))})),(null==b?void 0:b.length)>0&&f&&a.default.createElement(c.default,{onClick:m,icon:d.default},g))}},7669:(e,t,o)=>{var n=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledPills=t.StyledPillItem=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(r,l,d):r[l]=e[l]}return r.default=e,o&&o.set(e,r),r}(o(2770)),i=o(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}t.StyledPills=r.default.div.withConfig({displayName:"Pillsstyle__StyledPills",componentId:"sc-u7wsxn-0"})(["display:flex;flex-wrap:wrap;gap:12px 8px;a{margin-left:4px;font-weight:400;}"]),t.StyledPillItem=r.default.span.withConfig({displayName:"Pillsstyle__StyledPillItem",componentId:"sc-u7wsxn-1"})(["display:flex;align-items:center;padding:4px 8px;gap:8px;border-radius:16px;background:",";font-size:12px;line-height:18px;color:",";white-space:nowrap;cursor:pointer;&:hover{background:",";}"," svg{cursor:pointer;font-size:10px;fill:",";}"],i.theme.color[11],i.theme.color[8],i.theme.color[1],(function(e){return"highlight"===e.$variant&&(0,r.css)(["color:",";background:",";&:hover{background:",";}"],i.theme.color[12],i.theme.color[28],i.theme.color[28])}),i.theme.color[8])},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"}}},5050:(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"}},3290:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var r=n(o(1267)),i=n(o(492)),a=n(o(9098)),l=n(o(9090)),d=n(o(5050))},9098:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(2770),i=n(o(1267)),a=(0,r.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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:{primary:"Roboto, Arial, sans-serif",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},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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:{primary:"Roboto, Arial, sans-serif",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},3465:(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.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.getMonthName=t.getFormattedDate=void 0;var n=o(4513),r=t.BREAKPOINTS={MOBILE_PORTRAIT:567,MOBILE:767,TABLET:991,DESKTOP:1199},i=t.isMatchMedia=function(e){return window.matchMedia(e).matches},a=(t.isMobile=function(){return i("(max-width: ".concat(r.MOBILE,"px)"))},t.isMobileTablet=function(){return i("(max-width: ".concat(r.TABLET,"px)"))},t.isMobilePortrait=function(){return i("(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.isUserLoggedIn=function(){var e,t=null===(e=(0,n.getCookieStorage)("customer-soft-id"))||void 0===e?void 0:e.split(".");if(t&&t.length>1){var o=window.atob(t[1]).toString("ascii");if(JSON.parse(o).firstName)return!0}return!1},t.setTwoDirectionStickyPanel=function(e){if(e){var t=window.innerHeight-e.offsetHeight,o=window.scrollY,n=window.innerHeight,r=e.offsetHeight;e.style.top="0px",window.addEventListener("resize",(function(){n=window.innerHeight,r=e.offsetHeight})),document.addEventListener("scroll",(function(){r=e.offsetHeight,t=window.innerHeight-e.offsetHeight;var i=parseInt(e.style.top.replace("px;",""));0===window.scrollY||r<=n?e.style.top="0px":window.scrollY<o?i<0?e.style.top=i+o-window.scrollY+"px":i>=0&&0!==i&&(e.style.top="0px"):i>t?e.style.top=i+o-window.scrollY+"px":i<t&&i!==t&&(e.style.top=t+"px"),o=window.scrollY}),{capture:!0,passive:!0})}});t.setTwoDirectionStickyPanelById=function(e){a(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())}},4513:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setSessionStorageJson=t.setSessionStorage=t.setCookieStorage=t.getSessionStorageJson=t.getSessionStorage=t.getCookieStorage=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}};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){for(var t=e+"=",o=document.cookie.split(";"),n=0;n<o.length;n++){for(var r=o[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return null},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)}},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},7826:e=>{e.exports=require("@babel/runtime/helpers/slicedToArray")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},9609:e=>{e.exports=require("@webjet/react-icons/close")},4578:e=>{e.exports=require("@webjet/react-icons/reset")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}var n={};(()=>{var e=n,t=o(3751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(o(6981));e.default=r.default})(),module.exports=n})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={6637:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(6031)),i=n(o(2462)),a=n(o(2015)),l=(n(o(9825)),n(o(7010))),d=o(250),c=o(3465),s=o(3290),u=["text","icon","bgColor","iconLeftAlign","superscriptText","variant","size"],p={info:{icon:l.default}};t.default=function(e){var t,o,n=e.text,l=e.icon,f=e.bgColor,g=void 0===f?s.themeV2.color[0]:f,m=e.iconLeftAlign,h=void 0!==m&&m,x=e.superscriptText,v=e.variant,b=void 0===v?"standard":v,y=e.size,w=void 0===y?"lg":y,F=(0,i.default)(e,u),B=null!==(t=null===(o=p[b])||void 0===o?void 0:o.icon)&&void 0!==t?t:!!(0,c.isValidIconElement)(l)&&l;return a.default.createElement(d.StyledLabel,(0,r.default)({},F,{"data-testid":"label",bgColor:g,iconLeftAlign:h,variant:b,size:w}),n,x&&a.default.createElement("sup",null,x),B&&a.default.createElement(B,{fill:s.themeV2.color[11]}))}},250:(e,t,o)=>{var n=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledLabel=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(r,l,d):r[l]=e[l]}return r.default=e,o&&o.set(e,r),r}(o(2770)),i=o(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}t.StyledLabel=r.default.span.withConfig({displayName:"Labelstyle__StyledLabel",componentId:"sc-19jzmcs-0"})([""," display:inline-flex;justify-content:center;align-items:center;padding:4px 8px;height:26px;background:",";font-size:12px;font-weight:500;color:",";line-height:18px;& > svg{width:16px;height:16px;margin:0 0 0 8px;}& > sup{font-size:0.6em;top:-2px;margin-left:3px;}"," "," ",""],i.mixins.globalStyles,(function(e){return e.bgColor}),i.themeV2.color[11],(function(e){return e.iconLeftAlign&&(0,r.css)(["& > svg{order:-1;margin:0 8px 0 0;}"])}),(function(e){return"sm"===e.size&&(0,r.css)(["padding:4px;height:19px;font-size:10px;line-height:10px;& > svg{width:11px;height:11px;margin:0 0 0 4px;}",""],(function(e){return e.iconLeftAlign&&(0,r.css)(["& > svg{margin:0 4px 0 0;}"])}))}),(function(e){return"info"===e.variant&&(0,r.css)(["border-radius:13px 2px 2px 13px;"])}))},5447:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(6637));t.default=r.default},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"}}},5050:(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"}},3290:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var r=n(o(1267)),i=n(o(492)),a=n(o(9098)),l=n(o(9090)),d=n(o(5050))},9098:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(2770),i=n(o(1267)),a=(0,r.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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"],n={fontFamily:{primary:"Roboto, Arial, sans-serif",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},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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"],n={fontFamily:{primary:"Roboto, Arial, sans-serif",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},3465:(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.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.getMonthName=t.getFormattedDate=void 0;var n=o(4513),r=t.BREAKPOINTS={MOBILE_PORTRAIT:567,MOBILE:767,TABLET:991,DESKTOP:1199},i=t.isMatchMedia=function(e){return window.matchMedia(e).matches},a=(t.isMobile=function(){return i("(max-width: ".concat(r.MOBILE,"px)"))},t.isMobileTablet=function(){return i("(max-width: ".concat(r.TABLET,"px)"))},t.isMobilePortrait=function(){return i("(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.isUserLoggedIn=function(){var e,t=null===(e=(0,n.getCookieStorage)("customer-soft-id"))||void 0===e?void 0:e.split(".");if(t&&t.length>1){var o=window.atob(t[1]).toString("ascii");if(JSON.parse(o).firstName)return!0}return!1},t.setTwoDirectionStickyPanel=function(e){if(e){var t=window.innerHeight-e.offsetHeight,o=window.scrollY,n=window.innerHeight,r=e.offsetHeight;e.style.top="0px",window.addEventListener("resize",(function(){n=window.innerHeight,r=e.offsetHeight})),document.addEventListener("scroll",(function(){r=e.offsetHeight,t=window.innerHeight-e.offsetHeight;var i=parseInt(e.style.top.replace("px;",""));0===window.scrollY||r<=n?e.style.top="0px":window.scrollY<o?i<0?e.style.top=i+o-window.scrollY+"px":i>=0&&0!==i&&(e.style.top="0px"):i>t?e.style.top=i+o-window.scrollY+"px":i<t&&i!==t&&(e.style.top=t+"px"),o=window.scrollY}),{capture:!0,passive:!0})}});t.setTwoDirectionStickyPanelById=function(e){a(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())}},4513:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setSessionStorageJson=t.setSessionStorage=t.setCookieStorage=t.getSessionStorageJson=t.getSessionStorage=t.getCookieStorage=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}};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){for(var t=e+"=",o=document.cookie.split(";"),n=0;n<o.length;n++){for(var r=o[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return null},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)}},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},7010:e=>{e.exports=require("@webjet/react-icons/common/info-circle")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}var n={};(()=>{var e=n,t=o(3751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(o(5447));e.default=r.default})(),module.exports=n})();
|
|
1
|
+
(()=>{"use strict";var e={6637:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(6031)),i=n(o(2462)),a=n(o(2015)),l=(n(o(9825)),n(o(7010))),d=o(250),c=o(3465),s=o(3290),u=["text","icon","bgColor","iconLeftAlign","superscriptText","variant","size"],p={info:{icon:l.default}};t.default=function(e){var t,o,n=e.text,l=e.icon,f=e.bgColor,g=void 0===f?s.themeV2.color[0]:f,m=e.iconLeftAlign,h=void 0!==m&&m,x=e.superscriptText,v=e.variant,b=void 0===v?"standard":v,y=e.size,w=void 0===y?"lg":y,F=(0,i.default)(e,u),B=null!==(t=null===(o=p[b])||void 0===o?void 0:o.icon)&&void 0!==t?t:!!(0,c.isValidIconElement)(l)&&l;return a.default.createElement(d.StyledLabel,(0,r.default)({},F,{"data-testid":"label",bgColor:g,iconLeftAlign:h,variant:b,size:w}),n,x&&a.default.createElement("sup",null,x),B&&a.default.createElement(B,{fill:s.themeV2.color[11]}))}},250:(e,t,o)=>{var n=o(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledLabel=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var d=i?Object.getOwnPropertyDescriptor(e,l):null;d&&(d.get||d.set)?Object.defineProperty(r,l,d):r[l]=e[l]}return r.default=e,o&&o.set(e,r),r}(o(2770)),i=o(3290);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}t.StyledLabel=r.default.span.withConfig({displayName:"Labelstyle__StyledLabel",componentId:"sc-19jzmcs-0"})([""," display:inline-flex;justify-content:center;align-items:center;padding:4px 8px;height:26px;background:",";font-size:12px;font-weight:500;color:",";line-height:18px;white-space:nowrap;& > svg{width:16px;height:16px;margin:0 0 0 8px;}& > sup{color:",";font-size:0.6em;top:-2px;margin-left:3px;}"," "," ",""],i.mixins.globalStyles,(function(e){return e.bgColor}),i.themeV2.color[11],i.themeV2.color[11],(function(e){return e.iconLeftAlign&&(0,r.css)(["& > svg{order:-1;margin:0 8px 0 0;}"])}),(function(e){return"sm"===e.size&&(0,r.css)(["padding:4px;height:19px;font-size:10px;line-height:11px;& > svg{width:11px;height:11px;margin:0 0 0 4px;}",""],(function(e){return e.iconLeftAlign&&(0,r.css)(["& > svg{margin:0 4px 0 0;}"])}))}),(function(e){return"info"===e.variant&&(0,r.css)(["border-radius:13px 2px 2px 13px;"])}))},5447:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(6637));t.default=r.default},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"}}},5050:(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"}},3290:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var r=n(o(1267)),i=n(o(492)),a=n(o(9098)),l=n(o(9090)),d=n(o(5050))},9098:(e,t,o)=>{var n=o(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(2770),i=n(o(1267)),a=(0,r.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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:{primary:"Roboto, Arial, sans-serif",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},1267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=["#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:{primary:"Roboto, Arial, sans-serif",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},3465:(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.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.getMonthName=t.getFormattedDate=void 0;var n=o(4513),r=t.BREAKPOINTS={MOBILE_PORTRAIT:567,MOBILE:767,TABLET:991,DESKTOP:1199},i=t.isMatchMedia=function(e){return window.matchMedia(e).matches},a=(t.isMobile=function(){return i("(max-width: ".concat(r.MOBILE,"px)"))},t.isMobileTablet=function(){return i("(max-width: ".concat(r.TABLET,"px)"))},t.isMobilePortrait=function(){return i("(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.isUserLoggedIn=function(){var e,t=null===(e=(0,n.getCookieStorage)("customer-soft-id"))||void 0===e?void 0:e.split(".");if(t&&t.length>1){var o=window.atob(t[1]).toString("ascii");if(JSON.parse(o).firstName)return!0}return!1},t.setTwoDirectionStickyPanel=function(e){if(e){var t=window.innerHeight-e.offsetHeight,o=window.scrollY,n=window.innerHeight,r=e.offsetHeight;e.style.top="0px",window.addEventListener("resize",(function(){n=window.innerHeight,r=e.offsetHeight})),document.addEventListener("scroll",(function(){r=e.offsetHeight,t=window.innerHeight-e.offsetHeight;var i=parseInt(e.style.top.replace("px;",""));0===window.scrollY||r<=n?e.style.top="0px":window.scrollY<o?i<0?e.style.top=i+o-window.scrollY+"px":i>=0&&0!==i&&(e.style.top="0px"):i>t?e.style.top=i+o-window.scrollY+"px":i<t&&i!==t&&(e.style.top=t+"px"),o=window.scrollY}),{capture:!0,passive:!0})}});t.setTwoDirectionStickyPanelById=function(e){a(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())}},4513:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setSessionStorageJson=t.setSessionStorage=t.setCookieStorage=t.getSessionStorageJson=t.getSessionStorage=t.getCookieStorage=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}};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){for(var t=e+"=",o=document.cookie.split(";"),n=0;n<o.length;n++){for(var r=o[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return null},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)}},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},7010:e=>{e.exports=require("@webjet/react-icons/common/info-circle")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}var n={};(()=>{var e=n,t=o(3751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(o(5447));e.default=r.default})(),module.exports=n})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={5421:(e,t,r)=>{var o=r(3751),n=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(6031)),a=o(r(7826)),l=o(r(2462)),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(2015)),u=(o(r(9825)),r(8218)),s=["min","max","defaultValue","onChange","value","marks"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}t.default=function(e){var t,r=e.min,o=void 0===r?1:r,n=e.max,c=void 0===n?5:n,p=e.defaultValue,x=e.onChange,f=e.value,b=e.marks,
|
|
1
|
+
(()=>{"use strict";var e={5421:(e,t,r)=>{var o=r(3751),n=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(6031)),a=o(r(7826)),l=o(r(2462)),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(2015)),u=(o(r(9825)),r(8218)),s=["min","max","defaultValue","onChange","value","marks"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}t.default=function(e){var t,r=e.min,o=void 0===r?1:r,n=e.max,c=void 0===n?5:n,p=e.defaultValue,x=e.onChange,f=e.value,b=e.marks,F=void 0===b?{1:1,2:2,3:3,4:4,5:5}:b,m=(0,l.default)(e,s),h=null!==(t=p||f)&&void 0!==t?t:[o,c],y=(0,d.useState)(h),v=(0,a.default)(y,2),g=v[0],E=v[1];return(0,d.useEffect)((function(){f&&E(f)}),[f]),d.default.createElement(u.StyledQualityRatingFilter,(0,i.default)({min:o,max:c,value:g,step:null,onChange:function(e){E(e)},onAfterChange:x,allowCross:!0,marks:F},m))}},8218:(e,t,r)=>{var o=r(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledQualityRatingFilter=void 0;var n=o(r(2770)),i=o(r(7019)),a=r(3290),l="100ms";t.StyledQualityRatingFilter=(0,n.default)(i.default.Range).withConfig({displayName:"QualityRatingFilterstyle__StyledQualityRatingFilter",componentId:"sc-7k7917-0"})([""," position:relative;height:10px;margin:15px 15px 35px;box-shadow:"," -12px 0px 0px,"," 12px 0px 0px;border-radius:9px;.rc-slider-rail{position:absolute;width:calc(100% + 16px);height:100%;margin-left:-8px;background:",";border-radius:inherit;}.rc-slider-track{position:absolute;height:100%;background:#FFE9BF;transition:width ",",left ",";}.rc-slider-step{position:absolute;width:100%;height:100%;background:transparent;pointer-events:none;}.rc-slider-mark{position:relative;display:inline-block;top:32px;width:calc(100% + 24px);margin-left:-12px;height:17px;border-right:transparent solid 12px;border-left:transparent solid 12px;}.rc-slider-mark-text{position:absolute;font-size:12px;pointer-events:none;}.rc-slider-handle{position:absolute;outline:none;font-family:'WebjetIcons';font-size:38px;-webkit-font-smoothing:antialiased;cursor:pointer;line-height:1;margin-top:-15px;transition:left ",";&:before{display:inline-block;content:'\\E019';top:12px;color:#FEB42B;z-index:1;text-shadow:0px 2px 2px rgba(0,0,0,0.4);}&:hover:before{color:#E09F26;}}.rc-slider-handle:focus,.rc-slider-handle-click-focused,.rc-slider-dragging{&:before{text-shadow:none;}:after{display:inline-block;content:'\\E019';color:#ADADAD;font-size:50px;position:absolute;z-index:-1;top:calc((100% - 50px) / 2);left:calc((100% - 50px) / 2);opacity:0.8;line-height:1;}}"],a.mixins.globalStyles,a.theme.color[2],a.theme.color[2],a.theme.color[2],l,l,l)},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"}}},5050:(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"}},3290:(e,t,r)=>{var o=r(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return i.default}});var n=o(r(1267)),i=o(r(492)),a=o(r(9098)),l=o(r(9090)),d=o(r(5050))},9098:(e,t,r)=>{var o=r(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2770),i=o(r(1267)),a=(0,n.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],i.default.fontFamily.primary,i.default.fontSize,i.default.fontColor);t.default={globalStyles:a}},492:(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"],o={fontFamily:{primary:"Roboto, Arial, sans-serif",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=o},1267:(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"],o={fontFamily:{primary:"Roboto, Arial, sans-serif",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=o},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},7826:e=>{e.exports=require("@babel/runtime/helpers/slicedToArray")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},9825:e=>{e.exports=require("prop-types")},7019:e=>{e.exports=require("rc-slider")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}var o={};(()=>{var e=o,t=r(3751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(5421));e.default=n.default})(),module.exports=o})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={8078:(e,t,r)=>{var o=r(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(6031)),a=o(r(2462)),i=o(r(2015)),d=(o(r(9825)),r(8327)),l=o(r(8671)),u=o(r(5099)),c=["value","variant","size"];t.default=function(e){for(var t=e.value,r=void 0===t?0:t,o=e.variant,p=void 0===o?"diamond":o,s=e.size,f=void 0===s?"lg":s,b=(0,a.default)(e,c),m=[],x=Math.min(parseFloat(r)||0,5),
|
|
1
|
+
(()=>{"use strict";var e={8078:(e,t,r)=>{var o=r(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(6031)),a=o(r(2462)),i=o(r(2015)),d=(o(r(9825)),r(8327)),l=o(r(8671)),u=o(r(5099)),c=["value","variant","size"];t.default=function(e){for(var t=e.value,r=void 0===t?0:t,o=e.variant,p=void 0===o?"diamond":o,s=e.size,f=void 0===s?"lg":s,b=(0,a.default)(e,c),m=[],x=Math.min(parseFloat(r)||0,5),F=0;F<5;F++){var v,y=x-F,h=void 0;y>.5?h="full":y>0&&(h="half"),v="diamond"===p&&"full"===h?i.default.createElement("span",{key:F,role:"icon","data-value":h},i.default.createElement(l.default,null)):"diamond"===p&&"half"===h?i.default.createElement("span",{key:F,role:"icon","data-value":h},i.default.createElement(u.default,null)):i.default.createElement("span",{key:F,role:"icon","data-value":h}),m.push(v)}return i.default.createElement(d.StyledQualityRating,(0,n.default)({},b,{variant:p,size:f,"data-testid":"quality-rating-container"}),m)}},8327:(e,t,r)=>{var o=r(8063);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledQualityRating=t.StyledLabel=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in e)if("default"!==d&&{}.hasOwnProperty.call(e,d)){var l=a?Object.getOwnPropertyDescriptor(e,d):null;l&&(l.get||l.set)?Object.defineProperty(n,d,l):n[d]=e[d]}return n.default=e,r&&r.set(e,n),n}(r(2770)),a=r(3290);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.StyledLabel=n.default.span.withConfig({displayName:"QualityRatingstyle__StyledLabel",componentId:"sc-ydpfk8-0"})(["display:block;color:",";font-size:15px;margin-bottom:5px;margin-right:6px;line-height:1;white-space:nowrap;"],a.theme.color[10]);var d=(0,n.css)(["width:11px;height:11px;svg{font-size:12px;}"]),l=(0,n.css)(["width:13px;height:13px;svg{font-size:14px;}"]),u=function(e){var t=e.size;return(0,n.css)(["> span{display:inline-block;svg{fill:",";}","}"],a.theme.color[30],"sm"===t?d:l)},c=(0,n.css)(["> span{width:10px;height:10px;margin-right:2px;background:",";border:1px solid ",";border-radius:10px;display:inline-block;&[data-value=full]{border-width:5px;background:",";}&[data-value=half]{border-left-width:5px;}}"],a.theme.color[11],a.theme.color[7],a.theme.color[7]);t.StyledQualityRating=n.default.span.withConfig({displayName:"QualityRatingstyle__StyledQualityRating",componentId:"sc-ydpfk8-1"})(["display:inline-block;height:",";vertical-align:middle;"," ",""],(function(e){var t=e.variant,r=e.size;return"diamond"===t&&"sm"===r?"12px":"14px"}),(function(e){return"diamond"===e.variant&&u}),(function(e){return"circle"===e.variant&&c}))},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"}}},5050:(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"}},3290:(e,t,r)=>{var o=r(3751);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"identifiers",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"mixins",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"themeV2",{enumerable:!0,get:function(){return a.default}});var n=o(r(1267)),a=o(r(492)),i=o(r(9098)),d=o(r(9090)),l=o(r(5050))},9098:(e,t,r)=>{var o=r(3751);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2770),a=o(r(1267)),i=(0,n.css)(["font-family:",";font-size:",";color:",";&,> *,> *:before,> *:after{box-sizing:border-box;}"],a.default.fontFamily.primary,a.default.fontSize,a.default.fontColor);t.default={globalStyles:i}},492:(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"],o={fontFamily:{primary:"Roboto, Arial, sans-serif",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=o},1267:(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"],o={fontFamily:{primary:"Roboto, Arial, sans-serif",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=o},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},3751:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},8063:e=>{e.exports=require("@babel/runtime/helpers/typeof")},8671:e=>{e.exports=require("@webjet/react-icons/hotel-rating")},5099:e=>{e.exports=require("@webjet/react-icons/hotel-rating-half")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},2770:e=>{e.exports=require("styled-components")}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,r),a.exports}var o={};(()=>{var e=o,t=r(3751);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(8078));e.default=n.default})(),module.exports=o})();
|