PageSourceSearch

https://wcms-production-101066-2b15421f-4ee0-47a8-bf2e-a0e769fa7b9…/GoalProgress-dea4173dca574f4a680e.js

js wcms-production-101066-2b15421f-4ee0-47a8-bf2e-a0e769fa7b9b.netlify.app collected 2026-10-03 11:36:50 UTC 2,644 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_101066_2b15421f_4ee0_47a8_bf2e_a0e769fa7b9b=self.webpackChunk_101066_2b15421f_4ee0_47a8_bf2e_a0e769fa7b9b||[]).push([[723],{61856:function(e,t,i){i.r(t),i.d(t,{default:function(){return m}});var o=i(86326),n=i(72228),r=i(52994),a=i(86329),l=i(20141),s=i(60969),d=i(18948),g=i(12387);var u={container:{display:"flex",alignItems:"center"},progressContainer:{flex:1,height:"16px"},progressRail:{position:"relative",backgroundColor:g.o.PRIMARY,height:"100%",borderTopLeftRadius:"maximum",borderBottomLeftRadius:"maximum",marginRight:"-0.25rem"},progressBar:{background:e=>{let{rawColors:t}=e;const i=(0,d.EP)(null==t?void 0:t.muted).toRgbString(),o=(0,d.EP)(null==t?void 0:t.primary).shade(15).toRgbString();return`linear-gradient(90deg, ${i} 0%, ${o} 90%, ${o} 100%)`},color:g.o.READABLE_ON_PRIMARY,position:"absolute",left:0,top:"-6px",height:"28px",minWidth:"28px",paddingX:"0.625rem",borderRadius:"large",fontSize:3,display:"flex",alignItems:"center",justifyContent:"flex-end"},goalContainer:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",color:g.o.READABLE_ON_PRIMARY,fontSize:3,fontWeight:"bold",lineHeight:1.25,width:"64px",height:"64px",borderRadius:"maximum",backgroundColor:g.o.PRIMARY},goalContainerComplete:{background:e=>{let{rawColors:t}=e;return`linear-gradient(90deg, ${(0,d.EP)(null==t?void 0:t.primary).shade(15).toRgbString()}, ${(0,d.EP)(null==t?void 0:t.primary).toRgbString()})`}},goalIcon:{display:"inline-flex",fontSize:10}};const p=e=>{let{memberPoints:t,rewardsItems:i}=e;const{formatMessage:o}=(0,a.A)();if(null==i||!i.length)return null;const d=i.find((e=>(e.pointsCost||1)>t)),g=100*Math.min(t,(null==d?void 0:d.pointsCost)||1)/((null==d?void 0:d.pointsCost)||1);return(0,l.Y)(l.xA,{gap:4},(0,l.Y)(l.IE.h2,null,o(s.A.pointsBalanceTitle)),(0,l.Y)("div",null,(0,l.Y)("div",null,d?(0,l.Y)(a.s,Object.assign({},s.A.goal,{values:{gift:d.label,points:(d.pointsCost||1)-t,strong:e=>(0,l.Y)("strong",null,e)}})):(0,l.Y)(a.s,Object.assign({},s.A.maxGoal,{values:{gift:i[i.length-1].label}}))),(0,l.Y)("div",{sx:u.container},(0,l.Y)("div",{sx:u.progressContainer},(0,l.Y)("div",{sx:u.progressRail},(0,l.Y)("div",{sx:{...u.progressBar,...d?{}:{borderTopRightRadius:0,borderBottomRightRadius:0},width:`${g}%`,animationDuration:r.XN,animationName:(0,l.i7)({"0%":{width:0},"100%":{width:`${g}%`}}).toString()}},t))),(0,l.Y)("div",{sx:{...u.goalContainer,...d?{}:u.goalContainerComplete}},(0,l.Y)("div",{sx:u.goalIcon},(0,l.Y)(n.In,{path:n.T9,size:1.5})),(0,l.Y)("div",null,(null==d?void 0:d.pointsCost)||`${i[i.length-1].pointsCost}+`)))))};var m=(0,o.memo)(p)}}]);

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.