1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4269],{56939:(e,t,l)=>{"use strict";l.d(t,{l:()=>f});var c=l(80263),n=l(25662),i=l(11230),r=l.n(i),a=l(53239),s=l(25642);let o=e=>(0,c.jsx)(s.z,{...e,children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.55192 18.739C5.19689 19.087 4.62129 19.087 4.26627 18.739C3.91124 18.3909 3.91124 17.8267 4.26627 17.4786L12.1463 9.75364C13.1713 8.74879 14.8287 8.74879 15.8537 9.75364L23.7337 17.4786C24.0888 17.8267 24.0888 18.3909 23.7337 18.739C23.3787 19.087 22.8031 19.087 22.4481 18.739L14.5681 11.014C14.2531 10.7052 13.7469 10.7052 13.4319 11.014L5.55192 18.739Z",fill:"currentColor"})}),u=e=>(0,c.jsx)(s.z,{...e,children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.4481 9.26103C22.8031 8.91299 23.3787 8.91299 23.7337 9.26103C24.0888 9.60907 24.0888 10.1733 23.7337 10.5214L15.8537 18.2464C14.8287 19.2512 13.1713 19.2512 12.1463 18.2464L4.26627 10.5214C3.91124 10.1733 3.91124 9.60907 4.26627 9.26103C4.62129 8.91299 5.19689 8.91299 5.55192 9.26103L13.4319 16.986C13.7469 17.2948 14.2531 17.2948 14.5681 16.986L22.4481 9.26103Z",fill:"currentColor"})});var d=l(63422),p=l(82906),S=l(25305),_=l(62119),L=l.n(_);let b=e=>{let{id:t,option:l,optionRefs:n,index:i,isSelected:s,onClick:o,onFocus:u,handleEscapeKey:_,SelectedListOptionIcon:b}=e,f=()=>o(l.optionId),m=(0,a.useCallback)(e=>{n.current[i]=e},[i,s,n]);return(0,c.jsxs)("li",{id:t,role:"option",ref:m,tabIndex:s?0:-1,"aria-selected":s,onClick:f,onKeyDown:e=>{[p.R.ArrowUp,p.R.ArrowDown].includes(e.code)&&e.preventDefault()},onKeyUp:e=>{var t,l,c,r,a,s,o,u;switch(e.code){case p.R.End:null==(l=n.current)||null==(t=l[n.current.length-1])||t.focus();break;case p.R.Home:null==(r=n.current)||null==(c=r[0])||c.focus();break;case p.R.ArrowDown:null==(s=n.current)||null==(a=s[i+1])||a.focus();break;case p.R.ArrowUp:null==(u=n.current)||null==(o=u[i-1])||o.focus();break;case p.R.Enter:case p.R.Space:f();break;case p.R.Escape:_()}},onFocus:u,className:r()(L().SelectListOption,{[L()["SelectListOption--selected"]]:s,[L()["SelectListOption--withIcon"]]:!!l.icon},...(0,S.$)(l.pseudoClasses,L())),children:[l.icon,(0,c.jsx)(d.o,{className:L().SelectListOptionText,as:"span",variant:s?"CAMPTON_BOLD_16_120":"CAMPTON_BOOK_16_120",children:l.label}),s&&b]})},f=e=>{var t,l;let{id:i,options:s,onChange:_,value:f,pseudoClasses:m,className:x,initialIsOpen:h=!1,"data-testid":v,LabelIcon:w,SelectedListOptionIcon:C,preventSelect:O=!1,fontVariant:R="CAMPTON_BOOK_16_120",ariaLabel:I,ariaLabelledBy:g}=e,[k,y]=(0,a.useState)(()=>((e,t)=>{var l,c;let n=e.find(e=>e.optionId===t);return null!=(c=null==n?void 0:n.optionId)?c:null==(l=e[0])?void 0:l.optionId})(s,f)),[N,T]=(0,a.useState)(h),A=(0,a.useRef)([]),E=(0,a.useRef)(null),j=(0,a.useRef)(null),{activeDescendantId:W,handleOptionFocus:P}=((e,t,l)=>{let[c,n]=(0,a.useState)(),i=(0,a.useRef)(!t);return(0,a.useEffect)(()=>{if(e&&!i.current)if(c){let e=l.current.find(e=>e.id===c);null==e||e.focus(),null==e||e.scrollIntoView({block:"nearest"})}else{var t;null==(t=l.current[0])||t.focus()}i.current=e},[e,c]),{activeDescendantId:c,handleOptionFocus:e=>{n(e.target.id)}}})(N,h,A),{autocompleteKeyboardEventHandler:K}=((e,t,l)=>{let c=(0,a.useRef)(""),n=(0,a.useRef)(),i=()=>{if(c.current.length>0){let t=c.current.toLowerCase(),l=e.current.find(e=>{var l;return null==(l=e.textContent)?void 0:l.toLowerCase().startsWith(t)});l&&(l.focus(),l.scrollIntoView({block:"nearest"}))}};return{autocompleteKeyboardEventHandler:e=>{let r=/^[a-zA-Z0-9]$/.test(e.key),a=e.code===p.R.Backspace;(r||a)&&(n.current&&clearTimeout(n.current),c.current=r?c.current+e.key:c.current.slice(0,-1),t?i():(l(!0),setTimeout(i,0)),n.current=setTimeout(()=>{c.current=""},500))}}})(A,N,T),D=s.find(e=>e.optionId===k),M=null!=(l=null==(t=s[0])?void 0:t.optionId)?l:"",B=()=>T(!1),H=()=>T(e=>!e),U=()=>{var e;B(),null==(e=j.current)||e.focus()};((e,t)=>{let l=(0,a.useRef)(t);(0,a.useEffect)(()=>{l.current=t},[t]);let c=(0,a.useCallback)(t=>{var c;(null==(c=e.current)?void 0:c.contains(t.target))||l.current(t)},[e,l]);(0,a.useEffect)(()=>(document.addEventListener("click",c),()=>document.removeEventListener("click",c)),[c])})(E,B);let{direction:F,maxSelectListHeight:V}=((e,t)=>{let[l,c]=(0,a.useState)("bottom"),[n,i]=(0,a.useState)(null);return(0,a.useLayoutEffect)(()=>
1{if(e){let e=(e=>{if(!e)return{direction:"bottom",maxSelectListHeight:null};let t=Number(L().selectListMaxHeightPixels),l=Number(L().selectListMarginToLabelPixels)+Number(L().selectListDistanceToViewportBorderPixels),c=e.getBoundingClientRect(),n=c.top,i=window.innerHeight-(c.bottom||0);return i<t+l&&i<n?{direction:"top",maxSelectListHeight:Math.min(n-l,t)}:{direction:"bottom",maxSelectListHeight:Math.min(i-l,t)}})(t.current);e.direction!==l&&c(e.direction),e.maxSelectListHeight!==n&&i(e.maxSelectListHeight)}},[e,l,n,t]),{direction:l,maxSelectListHeight:n}})(N,E);(0,a.useEffect)(()=>{y(null!=f?f:M)},[f,M]);let z=e=>{var t;(e=>{y(e),"function"==typeof _&&_(e)})(e),B(),null==(t=j.current)||t.focus()};if(!s.length)return null;let Z=r()(L().SelectLabelArrow,{[L()["SelectLabelArrow--disable-animation"]]:(0,n.V)()}),G="".concat(i,"-combobox"),Y="".concat(i,"-listbox"),$="".concat(i,"-option");return(0,c.jsxs)("div",{ref:E,className:r()(L().SelectWrapper,x),"data-testid":v,children:[(0,c.jsxs)("div",{className:r()(L().SelectLabel,...(0,S.$)(m,L()),{[L()["Select--Prevent-Select"]]:O}),id:G,onKeyPress:e=>e.preventDefault(),onKeyUp:e=>{switch(e.preventDefault(),K(e),e.code){case p.R.Enter:case p.R.Space:H();break;case p.R.Escape:U()}},onClick:H,ref:j,role:"combobox","aria-haspopup":"listbox","aria-expanded":N,"aria-controls":Y,"aria-activedescendant":N?W:void 0,"aria-label":I,"aria-labelledby":g,tabIndex:0,children:[(0,c.jsxs)("div",{className:L().SelectLabel__TextAndIcon,children:[w,(0,c.jsx)(d.o,{className:L().SelectLabelText,as:"span",variant:R,children:null==D?void 0:D.label})]}),!O&&(N?(0,c.jsx)(o,{className:Z}):(0,c.jsx)(u,{className:Z}))]}),N&&(0,c.jsx)("div",{className:r()(L().SelectListWrapper,L()["SelectListWrapper--".concat(F)]),children:(0,c.jsx)("ul",{id:Y,style:{"--ui-select-max-select-list-height":V?"".concat(V,"px"):void 0},className:r()(L().SelectList,{[L()["SelectList--min-height"]]:s.length>1,[L()["SelectList--disable-animation"]]:(0,n.V)()}),role:"listbox",tabIndex:-1,"aria-label":I,"aria-labelledby":g,onKeyUp:K,children:s.map((e,t)=>(0,c.jsx)(b,{id:"".concat($,"-").concat(e.optionId),option:e,isSelected:e.optionId===k,index:t,onClick:z,onFocus:P,handleEscapeKey:U,optionRefs:A,SelectedListOptionIcon:C},e.optionId))})})]})}},62119:e=>{e.exports={selectListMaxHeightPixels:"280",selectListMarginToLabelPixels:"4",selectListDistanceToViewportBorderPixels:"20",SelectWrapper:"Select_SelectWrapper__IxOF8",SelectLabel:"Select_SelectLabel__1uiN5",focus:"Select_focus__W3GyI",hover:"Select_hover__Ort6z",SelectLabelArrow:"Select_SelectLabelArrow__3YbfS",SelectLabel__TextAndIcon:"Select_SelectLabel__TextAndIcon__ra0B6",animateArrow:"Select_animateArrow__evJ57","SelectLabelArrow--disable-animation":"Select_SelectLabelArrow--disable-animation__yPWMS",SelectLabelText:"Select_SelectLabelText__Si18a",SelectListWrapper:"Select_SelectListWrapper__qp_8I","SelectListWrapper--top":"Select_SelectListWrapper--top__v8GYs","SelectListWrapper--bottom":"Select_SelectListWrapper--bottom__ps21U",SelectList:"Select_SelectList__5FBOw",animateDropdown:"Select_animateDropdown__Sv20j","SelectList--min-height":"Select_SelectList--min-height__2WbFB","SelectList--disable-animation":"Select_SelectList--disable-animation__gpX3Y",SelectListOption:"Select_SelectListOption__rnyiT","SelectListOption--selected":"Select_SelectListOption--selected__NOwv5","SelectListOption--withIcon":"Select_SelectListOption--withIcon__2EeQ_",SelectListOptionText:"Select_SelectListOptionText__v1ZDb","Select--Prevent-Select":"Select_Select--Prevent-Select__r7RR1",fadeInKeyframes:"Select_fadeInKeyframes__kUGOc",fadeOutKeyframes:"Select_fadeOutKeyframes__dawp0"}},91591:(e,t,l)=>{"use strict";l.d(t,{z:()=>n});var c=l(38306);let n=e=>{let{children:t,fallback:l=null}=e;return(0,c.q)()?t:l}}}]);
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.