1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8272],{28272:function(e,t,n){n.r(t),n.d(t,{default:function(){return el}});var o,l,a=n(85893),s=n(67294),r=n(59185);let i=s.createContext(!1),d=s.createContext(void 0);function u(e){let t=s.useContext(d);if(!1===e&&void 0===t)throw Error((0,r.Z)(27));return t}var c=n(48881),p=n(69567),m=n(63181),g=n(58221),h=n(12229),f=n(36717),x=n(79379),b=n(79268),v=n(48587);function C({store:e,dialogRoot:t}){let{parentContext:n,isDrawer:o}=t,l=e.useState("open"),a=e.useState("disablePointerDismissal"),r=e.useState("modal"),i=e.useState("popupElement"),d=e.useState("floatingRootContext"),[u,c]=s.useState(0),[x,b]=s.useState(0),C=0===u,S=(0,h.b)(d,{outsidePressEvent:()=>e.context.internalBackdropRef.current||e.context.backdropRef.current?"intentional":{mouse:"trap-focus"===r?"sloppy":"intentional",touch:"sloppy"},outsidePress(t){if(!e.context.outsidePressEnabledRef.current||"button"in t&&0!==t.button||"touches"in t&&1!==t.touches.length)return!1;let n=(0,f.U9)(t);return!!C&&!a&&(!r||!e.context.internalBackdropRef.current&&!e.context.backdropRef.current||e.context.internalBackdropRef.current===n||e.context.backdropRef.current===n||(0,f.r3)(n,i)&&!n?.hasAttribute("data-base-ui-portal"))},escapeKey:C});(0,p.P)(l&&!0===r,i),e.useContextCallback("onNestedDialogOpen",(e,t)=>{c(e),b(t)}),e.useContextCallback("onNestedDialogClose",()=>{c(0),b(0)}),s.useEffect(()=>(n?.onNestedDialogOpen&&l&&n.onNestedDialogOpen(u+1,x+(o?1:0)),n?.onNestedDialogClose&&!l&&n.onNestedDialogClose(),()=>{n?.onNestedDialogClose&&l&&n.onNestedDialogClose()}),[o,l,u,x,n]);let P=S.reference??m.Nu,N=S.trigger??m.Nu,y=s.useMemo(()=>(0,g.dG)(v.J_,S.floating),[S.floating]);return(0,v.wN)(e,{activeTriggerProps:P,inactiveTriggerProps:N,popupProps:y,nestedOpenDialogCount:u,nestedOpenDrawerCount:x}),null}var S=n(4324),P=n(24179),N=n(84993),y=n(91323);let j={...N.L$,modal:(0,S.P)(e=>e.modal),nested:(0,S.P)(e=>e.nested),nestedOpenDialogCount:(0,S.P)(e=>e.nestedOpenDialogCount),nestedOpenDrawerCount:(0,S.P)(e=>e.nestedOpenDrawerCount),disablePointerDismissal:(0,S.P)(e=>e.disablePointerDismissal),openMethod:(0,S.P)(e=>e.openMethod),descriptionElementId:(0,S.P)(e=>e.descriptionElementId),titleElementId:(0,S.P)(e=>e.titleElementId),viewportElement:(0,S.P)(e=>e.viewportElement),role:(0,S.P)(e=>e.role)};class k extends P.u{constructor(e,t,n=!1){let o=new y.b,l=function(e={}){return{...(0,N.dP)(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...e}}(e);l.floatingRootContext=(0,N.Rl)(o,t,n),super(l,{popupRef:s.createRef(),backdropRef:s.createRef(),internalBackdropRef:s.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:o,onOpenChange:void 0,onOpenChangeComplete:void 0},j)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},e||null!=t.trigger||null==this.state.activeTriggerId||(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let n={open:e};(0,v._M)(n,e,t.trigger),this.update(n)};static useStore(e,t){return(0,v.bd)(e,(e,n)=>new k(t,e,n),!0).store}}function D(e){return function(e,t="dialog"){let{children:n,open:o,defaultOpen:l=!1,onOpenChange:r,onOpenChangeComplete:p,disablePointerDismissal:m=!1,modal:g=!0,actionsRef:h,handle:f,triggerId:S,defaultTr
1iggerId:P=null}=e,N="alert-dialog"===t,y=u(!0),j={modal:!!N||g,disablePointerDismissal:N||m,nested:!!y,role:N?"alertdialog":"dialog"},D=k.useStore(f?.store,{open:l,openProp:o,activeTriggerId:P,triggerIdProp:S,...j});(0,c.h)(()=>{let e=void 0===o&&!1===D.state.open&&!0===l?{open:!0,activeTriggerId:P}:null;N?D.update(e?{...j,...e}:j):e&&D.update(e)}),D.useControlledProp("openProp",o),D.useControlledProp("triggerIdProp",S),D.useSyncedValues(j),D.useContextCallback("onOpenChange",r),D.useContextCallback("onOpenChangeComplete",p);let R=D.useState("open"),O=D.useState("mounted"),w=D.useState("payload"),E=function(e){let{store:t,parentContext:n,actionsRef:o,isDrawer:l}=e,a=t.useState("open");(0,v.ex)(t,a),(0,v.zf)(t);let{forceUnmount:r}=(0,v.Rp)(a,t),i=s.useCallback(()=>{t.setOpen(!1,(0,x.e)(b.bK))},[t]);return s.useImperativeHandle(o,()=>({unmount:r,close:i}),[r,i]),{parentContext:n,isDrawer:l}}({store:D,actionsRef:h,parentContext:y?.store.context,isDrawer:"drawer"===t}),I=s.useMemo(()=>({store:D}),[D]);return(0,a.jsx)(i.Provider,{value:!1,children:(0,a.jsxs)(d.Provider,{value:I,children:[(R||O)&&(0,a.jsx)(C,{store:D,dialogRoot:E}),"function"==typeof n?n({payload:w}):n]})})}(e,s.useContext(i)?"drawer":"dialog")}var R=n(52625),O=n(35726);let w=s.createContext(void 0);var E=n(59218);let I=s.forwardRef(function(e,t){let{keepMounted:n=!1,...o}=e,{store:l}=u(),s=l.useState("mounted"),r=l.useState("modal"),i=l.useState("open");return s||n?(0,a.jsx)(w.Provider,{value:n,children:(0,a.jsxs)(O.ll,{ref:t,...o,children:[s&&!0===r&&(0,a.jsx)(E.C,{ref:l.context.internalBackdropRef,inert:(0,R.P)(!i)}),e.children]})}):null});var T=n(43511),L=n(95880),Z=n(64602),B=n(30821);let _=((o={}).nestedDialogs="--nested-dialogs",o),A=((l={})[l.open=Z.IZ.open]="open",l[l.closed=Z.IZ.closed]="closed",l[l.startingStyle=Z.IZ.startingStyle]="startingStyle",l[l.endingStyle=Z.IZ.endingStyle]="endingStyle",l.nested="data-nested",l.nestedDialogOpen="data-nested-dialog-open",l);var M=n(76903),F=n(19386);let z={...Z.SD,...B.l,nestedDialogOpen:e=>e?{[A.nestedDialogOpen]:""}:null},K=s.forwardRef(function(e,t){let{render:n,className:o,style:l,finalFocus:i,initialFocus:d,...c}=e,{store:p}=u(),m=p.useState("descriptionElementId"),g=p.useState("disablePointerDismissal"),h=p.useState("floatingRootContext"),f=p.useState("popupProps"),x=p.useState("modal"),b=p.useState("mounted"),C=p.useState("nested"),S=p.useState("nestedOpenDialogCount"),P=p.useState("open"),N=p.useState("openMethod"),y=p.useState("titleElementId"),j=p.useState("transitionStatus"),k=p.useState("role"),D=h.useState("floatingId"),R=c.id??D;!function(){if(void 0===s.useContext(w))throw Error((0,r.Z)(26))}(),(0,M.s)({open:P,ref:p.context.popupRef,onComplete(){P&&p.context.onOpenChangeComplete?.(!0)}});let O=p.useStateSetter("popupElement"),E=(0,L.E)("div",e,{state:{open:P,nested:C,transitionStatus:j,nestedDialogOpen:S>0},props:[f,{id:R,"aria-labelledby":y??void 0,"aria-describedby":m??void 0,role:k,...v.J_,hidden:!b,onKeyDown(e){F.dT.has(e.key)&&e.stopPropagation()},style:{[_.nestedDialogs]:S}},c],ref:[t,p.context.popupRef,O],stateAttributesMapping:z});return(0,a.jsx)(T.w,{context:h,openInteractionType:N,disabled:!b,closeOnFocusOut:!g,initialFocus:void 0===d?function(e){return"touch"!==e||p.context.popupRef.current}:d,returnFocus:i,modal:!1!==x,restoreFocus:"popup",children:E})});var U=n(79761);let H=s.forwardRef(function(e,t){let{render:n,className:o,style:l,id:a,...s}=e,{store:r}=u(),i=(0,U.L)(a);return r.useSyncedValueWithCleanup("titleElementId",i),(0,L.E)("h2",e,{ref:t,props:[{id:i},s]})});var J=n(84499),V=n(26348),W=n(12493),G=n(77247),$=n(37536),q=n(48282),Q=n(71834),X=n(66319),Y=n(52241),ee=n(4673),et=n.n(ee),en=n(6030),eo=n(53372),el=e=>{var t,n,o,l,r;let{isOpen:i,closeMenu:d,getActivePlatform:u,onPrimaryLinkClick:c,onSecondaryLinkClick:p,getPrimaryNavigationByPlatform:m,primaryNavigations:g,activePlatform:h,getSecondaryNavigationByPlatform:f,activePrimaryLink:x,secondaryNavigations:b,activeSecondaryLink:v}=e,[C,S]=(0,s.useState)(null),[P,N]=(0,s.useState)(null),[y,j]=(0,s.useState)(i),k=(0,s.useRef)(null),R=(0,s.useRef)(null),O=(null===(t=m(g,h))||void 0===t?void 0:t.items)||[],w=(null===(n=f(b,h))||void 0===n?void 0:n.items)||[];(0,s.useEffect)(()=>
1{if(R.current&&clearTimeout(R.current),i){j(!0);return}i||(S(null),N(null),R.current=setTimeout(()=>{j(!1)},240))},[i]),(0,s.useEffect)(()=>()=>{k.current&&clearTimeout(k.current),R.current&&clearTimeout(R.current)},[]);let E=(e,t)=>{let n={item:e,type:t};k.current&&clearTimeout(k.current),N(n),S(n),"primary"===t?c(e.label):p(e.label)};return y?(0,a.jsx)(D,{open:y,onOpenChange:e=>{e||d()},children:(0,a.jsx)(I,{children:(0,a.jsxs)(K,{className:(0,$.TS)(et().mobile,i?et().isOpen:""),children:[(0,a.jsx)(H,{className:et().mobileDialogTitle,children:"Menu"}),(0,a.jsxs)("div",{className:et().primaryNav,children:[(0,a.jsxs)("div",{className:et().mobileHead,children:[C?(0,a.jsxs)("button",{className:et().mobileFolderLabel,onClick:()=>{S(null),k.current=setTimeout(()=>{N(null)},380)},type:"button",children:[(0,a.jsx)(eo.Z,{name:q.P.ArrowLeft}),(0,a.jsx)("span",{children:C.item.label})]}):(0,a.jsx)(Y.Z,{link:null!==(r=null===(o=u().info)||void 0===o?void 0:o.link)&&void 0!==r?r:(0,Y.h)("#",""),className:et().platformLogoWrapper,children:(0,a.jsx)(eo.Z,{"aria-label":"Arcadia logo",className:et().logo,name:q.P.ArcadiaLogo}
1)}),(0,a.jsx)(X.Z,{"aria-label":"Close menu",as:"button",className:et().closeButton,icon:q.P.Close,onClick:()=>d(),theme:Q.b.Cream})]}),(0,a.jsxs)("div",{className:et().mobileNavPanels,children:[(0,a.jsx)("div",{className:(0,$.TS)(et().mobileRootPanel,C?et().isFolderOpen:""),children:(0,a.jsx)(J.P,{className:et().mobileNavigationMenu,children:(0,a.jsx)(V.S,{className:et().primaryList,children:O.map(e=>{let t=e.items.length>0||!!e.featuredDropdownPrimary;return(0,a.jsxs)(W.z,{className:(0,$.TS)(et().primaryListItem,x===e.label?et().isActive:""),children:[!t&&!!e.link&&(0,a.jsxs)(Y.Z,{className:et().primaryLink,link:e.link,children:[(0,a.jsx)("span",{children:e.label})," ",(0,a.jsx)(eo.Z,{className:et().arrow,name:q.P.ArrowRight})]}),t?(0,a.jsxs)(G.L,{"aria-haspopup":"true",className:et().primaryLink,onClick:()=>E(e,"primary"),type:"button",children:[(0,a.jsx)("span",{children:e.label})," ",(0,a.jsx)(eo.Z,{className:et().arrow,name:q.P.ArrowRight})]}):null]},e.id)})})})}),(0,a.jsx)("div",{className:(0,$.TS)(et().mobileFolder,C?et().isOpen:""),"aria-hidden":!C,children:P?(0,a.jsx)("div",{className:et().mobileFolderBody,children:(0,a.jsx)(en.tz,{itemsColumnCount:P?"secondary"===P.type?P.item.items.length>1?2:1:P.item.items.length>2?2:1:1,dropdownBottomText:P.item.dropdownBottomText,...P.item,bottomBannerLink:null===(l=P.item.info)||void 0===l?void 0:l.bottomBannerLink})}):null})]})]}),(0,a.jsx)("ul",{className:et().secondaryNav,children:w.map(e=>(0,a.jsxs)("li",{className:(0,$.TS)(et().secondaryListItem,v===e.label?et().isActive:""),children:[0===e.items.length&&!!e.link&&(0,a.jsx)(Y.Z,{eventData:{name:"button_click",properties:{text:e.label,href:e.link.href,has_icon:!1,location:"navbar",button_type:"button_filled"}},className:et().secondaryListItemBtn,link:e.link,children:e.label}),e.items.length>0&&(0,a.jsxs)("button",{"aria-haspopup":"true",className:et().secondaryListItemBtn,onClick:()=>E(e,"secondary"),type:"button",children:[e.label," ",(0,a.jsx)(eo.Z,{className:et().arrow,name:q.P.ArrowRight})]})]},e.id))})]})})}):null}}}]);
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.