PageSourceSearch

https://static-js.treatme.co.nz/en-AU/5765.dd93ea8080bf0b41.js

js treatme.co.nz collected 2026-10-04 20:26:51 UTC 15,240 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"production-4623957"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];if(null!=t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:luxgroup-customer-portal":!0});var i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="49c30d2d-8fc5-481a-96c5-1426db98ab9c",e._sentryDebugIdIdentifier="sentry-dbid-49c30d2d-8fc5-481a-96c5-1426db98ab9c")}catch(e){}}();"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5765],{318160(e,i,t){var n=t(474848),o=t(38267),r=t(731357);t(296540);var s=t(413697);let d=(0,o.AH)(["appearance:none;pointer-events:auto;height:",";width:",";border:1px solid ",";background-color:",";border-radius:",";transition:background-color 0.2s;"],(0,r.D0)(24),(0,r.D0)(24),e=>e.theme.palette.neutral.surface.lightForeground,e=>e.theme.palette.neutral.surface.normalBackground,e=>e.theme.borderRadius.round),a=(0,o.AH)(["background-color:",";"],e=>
1e.theme.palette.neutral.surface.lightBackground),l=o.Ay.input.withConfig({componentId:"sc-20b19f22-0"})(["position:absolute;inset-inline:0;width:100%;appearance:none;background-color:transparent;pointer-events:none;margin:0;&::-webkit-slider-thumb{","}&::-moz-range-thumb{","}&::-ms-thumb{","}&:focus-visible{&::-webkit-slider-thumb{","}&::-moz-range-thumb{","}&::-ms-thumb{","}}&:hover,&:active{&::-webkit-slider-thumb{","}&::-moz-range-thumb{","}&::-ms-thumb{","}}"],d,d,d,s.A,s.A,s.A,a,a,a);t.d(i,{},{A:function(e){return(0,n.jsx)(l,{...e,type:"range"})}})},802622(e,i,t){var n=t(474848),o=t(107872),r=t(823646),s=t(731357),d=t(296540),a=t(38267),l=t(318160);let c=a.Ay.div.withConfig({componentId:"sc-5f16d5f7-0"})(["height:",";display:flex;align-items:center;position:relative;z-index:0;"],(0,s.D0)(24)),u=a.Ay.div.withConfig({componentId:"sc-5f16d5f7-1"})(["--slider-progress-direction:to right;width:100%;height:",";background:linear-gradient( var(--slider-progress-direction),"," 0%,"," 0% var(--end,0%),"," var(--end,100%) );border-radius:",';[dir="rtl"] &{--slider-progress-direction:to left;}'],(0,s.D0)(6),e=>e.theme.palette.neutral.surface.lightForeground,e=>e.theme.palette.brand.primary.normal,e=>e.theme.palette.neutral.surface.lightForeground,e=>e.theme.borderRadius.round),p=d.memo(function(e){let{min:i,max:t,name:s,id:a,className:p,defaultValue:h,value:m,...g}=e,f=(0,d.useRef)(null),b=(0,d.useRef)(null),x=e=>{let n=t-i,o=e-i;f.current?.style.setProperty("--end",`${o/n*100}%`)};return(0,o.A)(()=>{if(b.current){let e=(0,r.qE)(i,b.current?.valueAsNumber,t);e!==b.current?.valueAsNumber&&(b.current.value=e.toString()),x(e)}},[i,t]),(0,d.useEffect)(()=>{b.current&&x(m??b.current?.valueAsNumber)},[m]),(0,n.jsxs)(c,{className:p,children:[(0,n.jsx)(u,{ref:f}),(0,n.jsx)(l.A,{...g,ref:b,onChange:e=>{x(e.currentTarget.valueAsNumber),g.onChange?.(e)},value:m,defaultValue:void 0===m?h??i:void 0,min:i,max:t,name:s?`${s}::number`:void 0})]})});t.d(i,{},{A:p})},169075(e,i,t){var n=t(620181),o=t.n(n),r=t(296540);t.d(i,{},{A:function(e,i,t,n){let s=(0,r.useMemo)(()=>o()(e,i,n),[i,n,...t]);return(0,r.useEffect)(()=>()=>s.cancel(),[s]),s}})},761162(e,i,t){var n=t(474848),o=t(296540),r=t(665673),s=t(722834),d=t(38267),a=t(731357),l=t(194617),c=t(802622),u=t(161648),p=t(73659),h=t(153702),m=t(355078),g=t(148400),f=t(606705),b=t(982771),x=t(729738),y=t(485102),w=t(267176),A=t(467991);let v=d.Ay.div.withConfig({componentId:"sc-fb8dce38-0"})(["background-color:",";border:1px solid ",";border-radius:",";padding:"," ",";box-shadow:",";&[data-rounded]{border-radius:",";}","{border:1px solid ",";border-radius:0;padding:"," ",";box-shadow:none;&[data-rounded]{border:1px solid ",";border-radius:",";}}"],e=>e.theme.palette.neutral.default.eight,e=>e.theme.palette.neutral.default.five,e=>e.theme.borderRadius.M,(0,a.D0)(14.5),(0,a.D0)(20),e=>e.theme.shadow.flat.small,e=>e.theme.borderRadius.round,l.D5.mobile,e=>e.theme.palette.neutral.default.four,(0,a.D0)(12),(0,a.D0)(16),e=>e.theme.palette.neutral.default.five,e=>e.theme.borderRadius.round),j=d.Ay.div.withConfig({componentId:"sc-fb8dce38-1"})(["display:flex;align-items:center;justify-content:space-between;gap:",";grid-row:1;min-width:0;"],(0,a.D0)(12)),D=d.Ay.div.withConfig({componentId:"sc-fb8dce38-2"})(["display:flex;flex-direction:column;flex-shrink:0;"]),I=d.Ay.div.withConfig({componentId:"sc-fb8dce38-3"})(["display:flex;align-items:center;gap:",";"],(0,a.D0)(4)),C=d.Ay.div.withConfig({componentId:"sc-fb8dce38-4"})(["display:none;","{display:block;}"],l.D5.mobile),k=d.Ay.div.withConfig({componentId:"sc-fb8dce38-5"})(["display:flex;align-items:center;gap:",";flex-shrink:0;",""],(0,a.D0)(8),e=>e.$wrongRegion&&(0,d.AH)(["","{display:none;}"],l.D5.mobile)),M=d.Ay.div.withConfig({componentId:"sc-fb8dce38-6"})(["display:flex;align-items:center;gap:",";","{display:none;}"],(0,a.D0)(4),l.D5.mobile),_=d.Ay.div.withConfig({componentId:"sc-fb8dce38-7"})(["display:none;","{display:block;}"],l.D5.mobile),N=d.Ay.div.withConfig({componentId:"sc-fb8dce38-8"})(["display:grid;grid-template-columns:",";grid-template-rows:auto auto;column-gap:",";align-items:center;","{column-gap:",";}"],e=>e.$hasIcon?`${(0,a.D0)(32)} 1fr`:"1fr",(0,a.D0)(24),l.D5.mobile,(0,a.D0)(12)),E=d.Ay.div.withConfig({componentId:"sc-fb8dce38-9"})(["display:none;","{display:flex;flex-direction:column;gap:",";margin-top:",";}"],l.D5.mobile,(0,a.D0)(2),(0,a.D0)(2)),R=d.Ay.div.withConfig({componentId:"sc-fb8dce38-10"})(["display:flex;align-items:center;gap:",";"],(0,a.D0)(8)),P=(0,d.Ay)(y.A).withConfig({componentId:"sc-fb8dce38-11"})(["grid-row:1;align-self:start;"]),T=d.Ay.div.withConfig({componentId:"sc-fb8dce38-12"})(["grid-row:2;"," min-width:0;","{grid-column:1 / -1;grid-row:3;}"],e=>e.$hasIcon&&(0,d.AH)(["grid-column:2;"]),l.D5.mobile),L=d.Ay.div.withConfig({componentId:"sc-fb8dce38-13"})(["display:none;","{display:flex;align-items:baseline;grid-column:1 / -1;grid-row:2;margin-top:",";padding-top:",";border-top:1px solid ",";}"],l.D5.mobile,(0,a.D0)(12),(0,a.D0)(12),e=>e.theme.palette.neutral.default.five),z=(0,d.Ay)(c.A).withConfig({componentId:"sc-fb8dce38-14"})(["height:",";touch-action:none;input{&::-webkit-slider-thumb{height:",";width:",";}&::-moz-range-thumb{height:",";width:",";}&::-ms-thumb{height:",";width:",";}}"],(0,a.D0)(32),(0,a.D0)(32),(0,a.D0)(32),(0,a.D0)(32),(0,a.D0)(32),(0,a.D0)(32),(0,a.D0)(32)),S=d.Ay.div.withConfig({componentId:"sc-fb8dce38-15"})(["margin-top:",";","{margin-top:0;}"],(0,a.D0)(4),l.D5.mobile),B=d.Ay.div.withConfig({componentId:"sc-fb8dce38-16"})(["position:relative;"]),$=d.Ay.div.withConfig({componentId:"sc-fb8dce38-17"})(["display:flex;justify-content:space-between;margin-top:",";"],(0,a.D0)(4)),F=d.Ay.div.withConfig({componentId:"sc-fb8dce38-18"})(["margin-top:",";"],(0,a.D0)(4)),H=(0,d.Ay)(v).withConfig({componentId:"sc-fb8dce38-19"})(["padding:"," ",";box-shadow:none;min-width:0;overflow:visible;"],(0,a.D0)(12),(0,a.D0)(14)),Q=d.Ay.div.withConfig({componentId:"sc-fb8dce38-20"})(["display:flex;flex-direction:column;gap:",";min-width:0;"],(0,a.D0)(8)),q=d.Ay.div.withConfig({componentId:"sc-fb8dce38-21"})(["display:flex;align-items:center;justify-content:space-between;gap:",";min-width:0;"],(0,a.D0)(10)),O=d.Ay.div.withConfig({componentId:"sc-fb8dce38-22"})(["flex:1;min-width:0;","{flex-wrap:wrap;align-items:center;}"],I),Y=d.Ay.div.withConfig({componentId:"sc-fb8dce38-23"})(["flex-shrink:0;display:flex;align-items:center;"]),G=d.Ay.div.withConfig({componentId:"sc-fb8dce38-24"})(["display:flex;flex-direction:",";align-items:",";gap:",";min-width:0;"],e=>e.$stacked?"column":"row",e=>e.$stacked?"flex-start":"baseline",e=>e.$stacked?(0,a.D0)(2):(0,a.D0)(4)),K=d.Ay.div.withConfig({componentId:"sc-fb8dce38-25"})(["display:flex;flex-direction:column;gap:",";min-width:0;padding-top:",";border-top:1px solid ",";"],(0,a.D0)(6),(0,a.D0)(4),e=>e.theme.palette.neutral.default.five),U=(0,d.Ay)($).withConfig({componentId:"sc-fb8dce38-26"})(["gap:",";> *{max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"],(0,a.D0)(8));t.d(i,{},{A:function(e){let{isEnabled:i,onToggle:t,tier:d,hasLoyaltyAccount:a,userPoints:l,maxBurnPoints:c,minBurnPoints:y,localValue:X,onSliderChange:V,onReset:W,onInfoCl
1ick:Z,rounded:J,loading:ee,wrongRegion:ei,switchRegionPath:et,onSwitchRegion:en,loyaltyCurrencyLabel:eo,layout:er="default",isLoggedIn:es=!0,maxPointsTooltipDescription:ed}=e,ea="filterPanel"===er,el=(0,r.A)(),ec=!!d,eu=c>y,ep=!ea&&c<l,eh=i?l-X:l,em=Math.min(X,c),eg=(0,o.useCallback)(e=>{V(e,Math.min(e.currentTarget.valueAsNumber,c))},[V,c]),ef=el.formatMessage({id:"iZRfOcbQIUcd4MZrkvQX",defaultMessage:"The maximum points is based on the highest priced room and package within your selected dates.",description:"Tooltip explaining why maximum redeemable points may be less than user balance"}),eb=null;ei&&(eb=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.Ay,{variant:"medium",colour:"normal-contrast",children:(0,n.jsx)(s.A,{id:"GBH0wDkFQFp96byoFWjN",defaultMessage:"To use your points",description:"Prompt shown in burn slider when user is browsing outside their loyalty account region"})}),(0,n.jsx)(h.A,{size:"medium",endIcon:(0,n.jsx)(f.A,{size:"XS"}),onClick:en,href:et,children:(0,n.jsx)(s.A,{id:"N_ufYqvQN3hfk5C-ia_Q",defaultMessage:"Switch to {currency}",description:"Link to switch to the user's loyalty account region",values:{currency:eo}})})]}));let ex=e=>(0,n.jsx)(p.Ay,{variant:"medium",colour:"normal-contrast",children:(0,n.jsx)(s.A,{id:"IybuZyVzgiAs9iGI9VOB",defaultMessage:"Your balance: {points} pts",description:"Loyalty points balance shown in the burn slider header",values:{points:el.formatNumber(e)}})}),ey=(0,n.jsx)(s.A,{id:"gBLsOWEK9s0SAbL-xsdf",defaultMessage:"Use {programName} Points to pay",description:"Title for the loyalty program points burn slider component",values:{programName:(0,x.A)()}}),ew=(0,n.jsx)(A.G,{onClick:Z,"aria-label":el.formatMessage({id:"tB8M5ogsc_sJY6Y3f75S",defaultMessage:"Learn more about {programName} points",description:"Accessibility label for loyalty program points info button on the burn slider"},{programName:(0,x.A)()}),children:(0,n.jsx)(g.A,{size:"XS"})}),eA=(0,n.jsx)(A.o,{checked:i,onChange:t,"aria-label":el.formatMessage({id:"CHTRwDYdC64aqr2BgjNY",defaultMessage:"Toggle points usage",description:"Accessibility label for the points burn toggle switch in slider header"})}),ev=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.Ay,{variant:"medium",colour:"light-foreground-alt",children:(0,n.jsx)(b.A,{points:y,abbreviated:!0})}),ep&&(0,n.jsx)(m.A,{description:ed??ef,placement:"top-end",children:(0,n.jsxs)(p.Ay,{variant:"medium",children:[(0,n.jsx)(b.A,{points:c,abbreviated:!0})," ",(0,n.jsx)(g.A,{size:"XS"})]})}),!ep&&(0,n.jsx)(p.Ay,{variant:"medium",children:(0,n.jsx)(b.A,{points:c,abbreviated:!0})})]}),ej=!ei&&i&&(ee||eu)&&(0,n.jsxs)(n.Fragment,{children:[ee&&(0,n.jsx)(w.A,{height:16,borderRadius:"XS"}),!ee&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(B,{children:(0,n.jsx)(z,{min:y,max:c,step:1,value:em,onChange:eg,style:{pointerEvents:"auto",cursor:"pointer"},"aria-label":el.formatMessage({id:"2GfiSdssClH7ydudqUze",defaultMessage:"Select points to apply",description:"Accessibility label for the range slider to select burn points amount"})})}),(0,n.jsx)(ea?U:$,{children:ev}),(0,n.jsx)(F,{children:(0,n.jsxs)(p.Ay,{variant:"medium",colour:"light-foreground-alt",children:[(0,n.jsx)(s.A,{id:"rT1y6cqQRywo2arpqIjH",defaultMessage:"Minimum {points} required",description:"Message showing minimum points required to start redeeming in the slider",values:{points:(0,n.jsx)(b.A,{points:y,abbreviated:!0})}})," · ",(0,n.jsx)(h.A,{size:"caption",onClick:W,children:(0,n.jsx)(s.A,{id:"7TkjKqnvA3E1Ai0MOGIP",defaultMessage:"Reset",description:"Button to reset the points selection back to zero in the burn slider"})})]})})]})]}),eD=(0,n.jsx)(v,{"data-rounded":J||void 0,children:(0,n.jsxs)(N,{$hasIcon:ec,children:[ec&&(0,n.jsx)(P,{tier:d??"gold",size:"L"}),(0,n.jsxs)(j,{children:[(0,n.jsxs)(D,{children:[(0,n.jsxs)(I,{children:[(0,n.jsx)(u.Ay,{variant:"medium",weight:"bold",children:ey}),ew]}),!ei&&!J&&a&&(0,n.jsx)(_,{children:ex(eh)}),J&&(0,n.jsxs)(C,{children:[i&&(0,n.jsx)(p.Ay,{variant:"medium",colour:"normal-contrast",weight:"bold",children:(0,n.jsx)(s.A,{id:"6Exob_owYtfuvbQ5N-pE",defaultMessage:"{points} pts applied!",description:"Points applied confirmation shown on rounded slider mobile",values:{points:el.formatNumber(X)}})}),!i&&a&&ex(eh)]}),ei&&(0,n.jsx)(E,{children:(0,n.jsx)(R,{children:eb})})]}),(0,n.jsxs)(k,{$wrongRegion:ei,children:[ei&&eb,!ei&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(M,{children:[i&&!J&&(0,n.jsxs)(n.Fragment,{children:[ex(eh),(0,n.jsx)(p.Ay,{variant:"medium",colour:"normal-contrast",children:"·"}),(0,n.jsx)(p.Ay,{variant:"medium",weight:"bold",children:(0,n.jsx)(s.A,{id:"ogjs6nruB3TD51e6aPiu",defaultMessage:"{points} pts applied",description:"Points currently applied count shown next to the toggle switch in desktop header",values:{points:el.formatNumber(X)}})})]}),i&&J&&(0,n.jsx)(p.Ay,{variant:"medium",weight:"bold",children:(0,n.jsx)(s.A,{id:"6Exob_owYtfuvbQ5N-pE",defaultMessage:"{points} pts applied!",description:"Points applied confirmation shown on rounded slider mobile",values:{points:el.formatNumber(X)}})}),!i&&a&&ex(eh)]}),eA]})]})]}),i&&!J&&(0,n.jsx)(L,{children:(0,n.jsx)(u.Ay,{variant:"medium",children:(0,n.jsx)(s.A,{id:"5hbsD6VENtQWkRoPLQ_t",defaultMessage:"{points} pts applied",description:"Points applied label shown on mobile below the slider header",values:{points:el.formatNumber(X)}})})}),ej&&(0,n.jsx)(T,{$hasIcon:ec,children:(0,n.jsx)(S,{children:ej})})]})}),eI=es&&!ei&&a,eC=(0,n.jsx)(H,{"data-rounded":J||void 0,children:(0,n.jsxs)(Q,{children:[(0,n.jsxs)(q,{children:[(0,n.jsx)(O,{children:(0,n.jsxs)(I,{children:[(0,n.jsx)(u.Ay,{variant:"small",weight:"bold",children:ey}),ew]})}),!ei&&(0,n.jsx)(Y,{children:eA})]}),ei&&eb,eI&&(0,n.jsxs)(G,{$stacked:i,children:[ex(eh),i&&(0,n.jsx)(p.Ay,{variant:"medium",weight:"bold",children:(0,n.jsx)(s.A,{id:"ogjs6nruB3TD51e6aPiu",defaultMessage:"{points} pts applied",description:"Points currently applied count shown next to the toggle switch in desktop header",values:{points:el.formatNumber(X)}})})]}),ej&&(0,n.jsx)(K,{children:ej})]})});return ea?eC:eD}})},467991(e,i,t){var n=t(38267),o=t(731357),r=t(615876),s=t(247174);let d=(0,n.Ay)(r.A).withConfig({componentId:"sc-5045ad7e-0"})(["--switch-knob-checked-translate:",";height:",";width:",';[dir="rtl"] &{--switch-knob-checked-translate:-',";}> div{width:",";height:",";> svg{","}}"],(0,o.D0)(12),(0,o.D0)(20),(0,o.D0)(32),(0,o.D0)(12),(0,o.D0)(16),(0,o.D0)(16),(0,s.L0)(16)),a=n.Ay.button.withConfig({componentId:"sc-5045ad7e-1"})(["display:inline-flex;align-items:center;background:none;border:none;padding:0;cursor:pointer;color:",";"],e=>e.theme.palette.neutral.default.three);t.d(i,{},{G:a,o:d})}}]);
2//# sourceMappingURL=5765.dd93ea8080bf0b41.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.