PageSourceSearch

https://www.xe.com/_next/static/chunks/63.650847ee5d6ebaed.js

js xe.com collected 2026-09-24 08:24:20 UTC 17,946 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[63],{2136:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(14343);let a=({triggerOnChange:e,containerRef:t})=>{let n=(0,r.useRef)(!0),a=(0,r.useMemo)(()=>{if(!n.current)return t.current.getBoundingClientRect()},[e]);(0,r.useEffect)(()=>{if(!n.current){let e=t.current.getBoundingClientRect();0!=e.height-a.height&&(window.requestAnimationFrame(()=>{t.current.style.transition="height 0.3s",t.current.style.height=`${a.height}px`,t.current.style.opacity=0,window.requestAnimationFrame(()=>{t.current.style.height=`${e.height}px`})}),t.current.addEventListener("transitionend",()=>{t.current.style.height="auto",t.current.style.transition="opacity 0.3s",t.current.style.opacity=1},{once:!0}))}},[e]),(0,r.useEffect)(()=>{n.current=!1},[])}},10063:(e,t,n)=>{n.r(t),n.d(t,{default:()=>F});var r,a=n(15383),i=n(14343),l=n(21139),s=n(99104),c=n(2136),o=n(4515),d=n(85160),u=n(73653),m=n(31283),f=n(85341),p=n(23835);function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var x=(0,i.forwardRef)(function(e,t){return i.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 120 120",ref:t},e),r||(r=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("circle",{cx:60,cy:60,r:60,fill:"currentColor"}),i.createElement("path",{fill:"#FFF",fillRule:"nonzero",d:"M27.5 59.5C27.5 77.45 42.05 92 60 92c15.63 0 28.682-11.032 31.795-25.734-4.749.029-8.068-3.005-9.271-8.789-12.508-.23-21.61-8.907-21.613-20.134-4.034-1.783-6.626-5.518-7.06-9.762C38.84 30.455 27.5 43.653 27.5 59.5zM60 97c-20.71 0-37.5-16.79-37.5-37.5S39.29 22 60 22c-3.089 5.358 0 11.454 6.37 11.454-2.565 11.034 6.368 21.045 20.655 18.693 0 9.51 3.588 10.96 10.475 7.353C97.5 80.21 80.71 97 60 97z"}),i.createElement("circle",{cx:69,cy:25,r:3,fill:"#FFF"}),i.createElement("circle",{cx:79.528,cy:45.083,r:2.321,fill:"#FFF"}),i.createElement("circle",{cx:92.548,cy:46.964,r:3.202,fill:"#FFF"}),i.createElement("circle",{cx:79.808,cy:32.363,r:4.363,fill:"#FFF"}),i.createElement("circle",{cx:47.933,cy:71.705,r:4.598,fill:"#FFF"}),i.createElement("circle",{cx:47.933,cy:48.833,r:3.75,fill:"#FFF"}),i.createElement("circle",{cx:71.881,cy:71.559,r:5.881,fill:"#FFF"}))))}),g=(0,i.memo)(x);let y=({children:e,onBack:t,onClose:n})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"relative flex items-center justify-center",children:[t&&(0,a.jsx)("button",{className:"absolute left-0 flex items-center justify-center border-none",onClick:t,type:"button",children:(0,a.jsx)(f.e,{className:"size-5"})}),n&&(0,a.jsx)("button",{className:"absolute right-0 flex items-center justify-center border-none",onClick:n,type:"button",children:(0,a.jsx)(p.A,{style:{transform:"scaleX(-1)",height:"16px",width:"16px"}})}),(0,a.jsxs)("h2",{className:"text-xe-primary-700 flex items-center text-xl font-semibold whitespace-nowrap",children:[e,(0,a.jsx)(g,{style:{width:"30px",height:"30px",marginLeft:"8px"}})]})]}),(0,a.jsx)("hr",{style:{margin:"16px 0",border:0,borderTop:"1px solid #ddd"}})]}),b=["performance","marketing"],v=({cleanup:e,onBack:t,consentData:n})=>{let[r,l]=(0,i.useState)({performance:d.Ay.isConsentedToCategory("performance"),marketing:d.Ay.isConsentedToCategory("marketing")}),[s,c]=(0,i.useState)({});return(0,i.useEffect)(()=>
1{c({performance:{name:n?.advancedFirstCategoryTitle,description:n?.advancedFirstCategoryDescription},marketing:{name:n?.advancedSecondCategoryTitle,description:n?.advancedSecondCategoryDescription},strictlyNecessary:{name:n?.advancedThirdCategoryTitle,description:n?.advancedThirdCategoryDescription}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{onBack:t,children:n.advancedPromptTitle}),b.map(e=>{let t=r[e];return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)("div",{className:"mb-2 flex items-center justify-between",children:[(0,a.jsx)("label",{className:"text-base font-semibold",htmlFor:`${e}-consent`,children:s[e]?.name}),(0,a.jsx)(u.d,{"data-testid":e+"-toggle",id:`${e}-consent`,name:`${e}-consent`,"aria-describedby":`${e}-description`,checked:t,onCheckedChange:t=>{var n;return n={[e]:t},void l(e=>({...e,...n}))}})]}),(0,a.jsx)("div",{className:"text-sm [&>p]:text-gray-900/85",id:`${e}-description`,children:(0,m.A)(s[e]?.description)})]},e)}),(0,a.jsxs)("div",{className:"mb-2 flex items-center justify-between",children:[(0,a.jsx)("label",{className:"text-base font-semibold",children:s.strictlyNecessary?.name}),(0,a.jsx)("span",{style:{margin:0,color:"var(--color-green-400)"},children:n?.advancedThirdCategoryMessage})]}),(0,a.jsx)("div",{className:"text-sm [&>p]:text-gray-900/85",children:(0,m.A)(s.strictlyNecessary?.description)}),(0,a.jsx)("div",{children:(0,m.A)(n?.disclaimer)}),(0,a.jsx)("div",{style:{display:"flex",justifyContent:"flex-end"},children:(0,a.jsx)("button",{className:"bg-xe-primary-500 rounded-lg px-5 py-3 text-base font-semibold text-white",onClick:()=>{d.Ay.updateConsentState(r),e()},children:n.confirmButtonText})})]})},w=({onClose:e})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{onClose:e,children:"Customize Cookies"}),(0,a.jsx)("p",{style:{color:"var(--color-gray-900)",fontWeight:500,fontSize:"16px",marginBottom:"8px"},children:(0,a.jsx)("b",{children:"You’re all set!"})}),(0,a.jsx)("p",{children:"The cookies on this page cannot be edited within your region. If you believe this is a mistake please check your location within your system settings and try again."}),(0,a.jsx)("div",{style:{display:"flex",justifyContent:"flex-end"},children:(0,a.jsx)("button",{className:"bg-xe-primary-500 rounded-lg px-3.5 py-2 font-semibold text-white",onClick:e,children:"Close"})})]}),j=({onAccept:e,onCustomize:t,consentData:n})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{children:n?.singlePromptTitle}),(0,m.A)(n?.singlePromptParagraph),(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end"},children:[(0,a.jsx)("button",{className:"border-xe-primary-500 text-xe-primary-500 hover:bg-xe-primary-50 mr-2 rounded-lg border-2 px-3.5 py-2 font-semibold transition-colors duration-200",onClick:t,children:n?.customizeButtonText}),(0,a.jsx)("button",{className:"bg-xe-primary-500 hover:bg-xe-primary-600 mr-2 rounded-lg border-2 px-3.5 py-2 font-semibold text-white transition-colors duration-200",onClick:e,children:n?.acceptButtonText})]})]});var C=n(48690),k=n(57554),E=n(37437);let F=({locale:e,hideNavbar:t,userCountry:n,disableTracking:r=!1})=>{let u=(0,k.N)(),[m,f]=(0,i.useState)(!1),[p,h]=(0,i.useState)(!1),[x,g]=(0,i.useState)("simplePrompt"),y=(0,i.useRef)(null),b=(0,i.useRef)(null),F=(0,i.useRef)(null),[A,N]=(0,i.useState)(x),[S,P]=(0,i.useState)(null),R=(0,E.A)(),T="US"===n;(0,i.useEffect)(()=>{f(!!window.inEU)},[]),(0,i.useEffect)(()=>{r?"function"==typeof d.Ay.initializeForcedAllDisabled?d.Ay.initializeForcedAllDisabled():"function"==typeof d.Ay.setAllTrackingDisabled&&d.Ay.setAllTrackingDisabled():((async()=>{let e=window.inEU,r=window.inEU||"US"===n;await s.Ay.initializeAmplitude((0,s.d$)(),e,r,n),d.Ay.shouldShowConsentPrompt&&!t&&h(!0)})(),window.ConsentManager={openCookieBanner:()=>{r||(g("simplePrompt"),h(!0))},openAdvancedCookieBanner:()=>{r||(g("advancedPrompt"),h(!0))}})},[]),(0,i.useEffect)(()=>{let e;R||((e=document.querySelector("[data-focus-root]")??document.body).contains(document.activeElement)||e.focus({preventScroll:!0}),(0,o.z)(),s.Ay.pageView())},[u]),(0,i.useEffect)(()=>{let t=async()=>{try{let t=await fetch(`/api/consent-manager/?locale=${e}`).then(e=>e.json());P(t[0].fields)}catch(e){throw Error(String(e))}};
1if(p){let e=T?"Consent Presented Full":"Consent Presented";s.Ay.trackEvent(e,{},{ignoreConsent:!0}),t()}},[p,T,e]),(0,i.useEffect)(()=>{if(!T||!p)return;let e=b.current;if(!e)return;e.open||e.showModal();let t=e=>e.preventDefault();return e.addEventListener("cancel",t),()=>e.removeEventListener("cancel",t)},[T,p]);let L=()=>{let e=y.current?.parentElement;if(!e)return void h(!1);let t=globalThis.getComputedStyle(e).animationName,n=()=>{b.current?.open&&b.current.close(),h(!1)};t&&"none"!==t?(globalThis.requestAnimationFrame(()=>{e.style.animationName="none",globalThis.requestAnimationFrame(()=>{e.style.animationDirection="reverse",e.style.animationName=t})}),e.addEventListener("animationend",n,{once:!0})):n()};if((0,i.useEffect)(()=>{if(T||!y.current)return;let e=(0,l.K)(y.current,{escapeDeactivates:!0,clickOutsideDeactivates:!0});return e.activate(),()=>{e.deactivate()}},[A,T]),(0,c.A)({triggerOnChange:A,containerRef:y}),(0,i.useEffect)(()=>{if(T||!p)return;let e=F.current;if(!e)return;document.body.dataset.consentBannerOpen="";let t=()=>{document.body.style.setProperty("--consent-banner-h",`${e.offsetHeight}px`)};t();let n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect(),delete document.body.dataset.consentBannerOpen,document.body.style.removeProperty("--consent-banner-h")}},[T,p]),!p)return null;let M="AU"===n||"NZ"===n||"US"===n,z=()=>!1!==m||M?S?(0,a.jsxs)(a.Fragment,{children:["simplePrompt"===A&&(0,a.jsx)(j,{onAccept:()=>{d.Ay.updateConsentState({performance:!0,marketing:!0}),L()},onCustomize:()=>N("advancedPrompt"),consentData:S}),"advancedPrompt"===A&&(0,a.jsx)(v,{onBack:"simplePrompt"===x?()=>N("simplePrompt"):null,cleanup:L,consentData:S})]}):(0,a.jsx)("div",{className:"flex justify-center py-12",children:(0,a.jsx)(C.A,{})}):(0,a.jsx)(w,{onClose:()=>h(!1)});return T?(0,a.jsx)("dialog",{ref:b,"aria-labelledby":"consent-title",className:"fixed inset-0 m-auto h-fit w-[calc(100%-2rem)] max-w-[520px] rounded-2xl bg-white p-0 shadow-[0_30px_70px_rgba(4,12,36,0.5)] backdrop:bg-[rgba(6,18,47,0.74)]",children:(0,a.jsx)("section",{ref:y,className:"max-h-[85vh] overflow-auto px-6 py-6 lg:py-6",children:z()})}):(0,a.jsx)("div",{ref:F,className:"animate-slideFromLeft fixed bottom-0 left-0 z-50 w-full rounded-lg bg-white shadow-[rgba(35,55,80,0.3)_0px_0px_12px] md:m-6 md:max-w-98.75",children:(0,a.jsx)("section",{ref:y,className:"max-h-[85vh] overflow-auto px-6 py-6",children:z()})})}},23835:(e,t,n)=>{n.d(t,{A:()=>s});var r,a=n(14343);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var l=(0,a.forwardRef)(function(e,t){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12","aria-hidden":"true",ref:t},e),r||(r=a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1.05 10.95 0 6 4.95 1.05 0 0 1.05 4.95 6 0 10.95 1.05 12 6 7.05 10.95 12 12 10.95 7.05 6 12 1.05z",clipRule:"evenodd"})))});let s=(0,a.memo)(l)},37437:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(14343);let a=function(){let e=(0,r.useRef)(!0);return e.current?(e.current=!1,!0):e.current}},48328:(e,t,n)=>{n.d(t,{bL:()=>v,zi:()=>w});var r=n(14343),a=n(17440),i=n(82601),l=n(90819),s=n(15815),c=n(28578),o=n(98408),d=n(15383),u=Object.defineProperty,m=(e,t)=>u(e,"name",{value:t,configurable:!0}),f="Switch",[p,h]=(0,l.A)(f),[x,g]=p(f);function y(e){let{__scopeSwitch:t,checked:n,children:a,defaultChecked:i,disabled:l,form:c,name:o,onCheckedChange:u,required:m,value:p="on",internal_do_not_use_render:h}=e,[g,y]=(0,s.i)({prop:n,defaultProp:i??!1,onChange:u,caller:f}),[b,v]=r.useState(null),[w,j]=r.useState(null),k=r.useRef(!1),[E,F]=r.useReducer(e=>e+1,0),A=!b||!!c||!!b.closest("form"),N={checked:g,setChecked:y,disabled:l,control:b,setControl:v,name:o,form:c,value:p,hasConsumerStoppedPropagationRef:k,userInteractionCount:E,onUserInteraction:F,required:m,defaultChecked:i,isFormControl:A,bubbleInput:w,setBubbleInput:j};return(0,d.jsx)(x,{scope:t,...N,children:C(h)?h(N):a})}m(y,"SwitchProvider");var b=r.forwardRef(m(function({__scopeSwitch:e,onClick:t,...n},l){let{control:s,form:c,value:u,disabled:f,checked:p,required:h,setControl:x,setChecked:y,hasConsumerStoppedPropagationRef:b,onUserInteraction:v,isFormControl:w,bubbleInput:j}=g("SwitchTrigger",e),C=(0,i.s)(l,x),E=r.useRef(p);return r.useEffect(()=>{let e=c?s?.ownerDocument.getElementById(c):s?.form;if(e instanceof HTMLFormElement){let t=m(()=>y(E.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[s,c,y]),(0,d.jsx)(o.sG.button,{type:"button",role:"switch","aria-checked":p,"aria-required":h,"data-state":k(p),"data-disabled":f?"":void 0,disabled:f,value:u,...n,ref:C,onClick:(0,a.mK)(t,e=>{v(),y(e=>!e),j&&w&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})})},"SwitchTrigger")),v=r.forwardRef(m(function(e,t){let{__scopeSwitch:n,name:r,checked:a,defaultChecked:i,required:l,disabled:s,value:c,onCheckedChange:o,form:u,...m}=e;return(0,d.jsx)(y,{__scopeSwitch:n,checked:a,defaultChecked:i,disabled:s,required:l,onCheckedChange:o,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(b,{...m,ref:t,__scopeSwitch:n}),e&&(0,d.jsx)(j,{__scopeSwitch:n})]})})},"Switch")),w=r.forwardRef(m(function(e,t){let{__scopeSwitch:n,...r}=e,a=g("SwitchThumb",n);return(0,d.jsx)(o.sG.span,{"data-state":k(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:t})},"SwitchThumb")),j=r.forwardRef(m(function({__scopeSwitch:e,onClick:t,...n},l){let{control:s,hasConsumerStoppedPropagationRef:u,userInteractionCount:m,checked:f,defaultChecked:p,required:h,disabled:x,name:y,value:b,form:v,bubbleInput:w,setBubbleInput:j}=g("SwitchBubbleInput",e),C=(0,i.s)(l,j),k=(0,c.X)(s),E=r.useRef(!1),F=r.useRef(f),A=r.useRef(m);r.useEffect(()=>{if(!w)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=m!==A.current;A.current=m;let n=F.current!==f;F.current=f;let r=!(t&&u.current);if(n&&e){E.current=!t;let n=new Event("click",{bubbles:r});e.call(w,f),w.dispatchEvent(n),E.current=!1}},[w,f,u,m]);let N=r.useRef(f);return(0,d.jsx)(o.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:p??N.current,required:h,disabled:x,name:y,value:b,form:v,...n,tabIndex:-1,ref:C,onClick:(0,a.mK)(t,e=>{E.current&&e.stopPropagation()}),style:{...n.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})}
1,"SwitchBubbleInput"));function C(e){return"function"==typeof e}function k(e){return e?"checked":"unchecked"}m(C,"isFunction"),m(k,"getState")},48690:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(15383),a=n(18534);let i=({className:e})=>(0,r.jsxs)("svg",{className:(0,a.cn)("animate-spin text-blue-300",e),viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",children:[(0,r.jsx)("path",{d:"M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M32 3C36.5778 3 41.0906 4.08374 45.1692 6.16256C49.2477 8.24138 52.7762 11.2562 55.466 14.9605C58.1558 18.6647 59.9304 22.9531 60.6448 27.4748C61.3591 31.9965 60.9928 36.6232 59.5759 40.9762",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-blue-500"})]})},73653:(e,t,n)=>{n.d(t,{d:()=>l});var r=n(15383);n(14343);var a=n(48328),i=n(18534);function l({className:e,...t}){return(0,r.jsx)(a.bL,{"data-slot":"switch",className:(0,i.cn)("focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 peer data-[state=unchecked]:bg-xe-neutral-600 inline-flex h-6 w-12 shrink-0 items-center rounded-full border border-transparent shadow-2xs outline-hidden transition-all focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-green-400",e),...t,children:(0,r.jsx)(a.zi,{"data-slot":"switch-thumb",className:(0,i.cn)("pointer-events-none block size-4 rounded-full bg-white ring-0 transition-transform data-[state=checked]:translate-x-7 data-[state=unchecked]:translate-x-0.5 dark:data-[state=checked]:bg-white dark:data-[state=unchecked]:bg-white")})})}},85341:(e,t,n)=>{n.d(t,{e:()=>l});var r=n(14343),a=n(58102);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),r.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),l=r.forwardRef((e,t)=>r.createElement(a.A,{ref:t,...e,weights:i}));l.displayName="CaretLeftIcon"}}]);

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.