1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60378],{4046:(e,l,t)=>{t.d(l,{g8:()=>n.g,Gd:()=>f});var n=t(43679),a=t(54568),s=t(72902),i=t(7620),r=t(47995),o=t(91935),c=t(46339),d=t(75087),u=t(66115),h=t(42190);let x={lodging:{durationUnit:"nights",showMoon:!0,occupancyLabel:"People and rooms",searchLabel:"Search",showSettings:!0,showOccupancy:!0,showSearchingStyle:!1,combinedDates:!1,emptyDefaultDates:!1},meetings:{durationUnit:"days",showMoon:!1,occupancyLabel:"Participants",searchLabel:"Plan details",showSettings:!1,showOccupancy:!0,showSearchingStyle:!0,combinedDates:!0,emptyDefaultDates:!0},groups:{durationUnit:"nights",showMoon:!0,occupancyLabel:"Rooms",searchLabel:"Search",showSettings:!0,showOccupancy:!0,showSearchingStyle:!1,combinedDates:!1,emptyDefaultDates:!1},workdesks:{durationUnit:"days",showMoon:!1,searchLabel:"Search",showSettings:!1,showOccupancy:!1,showSearchingStyle:!1,combinedDates:!0,emptyDefaultDates:!0}};function m(e){var l,t,n,m;let{product:f="lodging",responsiveMode:b="container",destination:p,destinationSecondary:v,destinationLabel:g="Search",destinationPlaceholder:w="Location, hotel, region, address, post code",destinationError:j,onDestinationClick:y,dates:k,locale:N="en-US",dateLabel:A="Date(s)",checkInLabel:C="Arrival",checkOutLabel:L="Departure",durationLabel:D,onDatesClick:S,occupancy:I,occupancyLabel:O,onOccupancyClick:z,renderOccupancy:U,searchingStyle:R,searchingStyleLabel:E="Searching Style",onSearchingStyleClick:M,searchLabel:Y,onSearch:F,searchDisabled:T=!1,searchLoading:W=!1,searchLoadingLabel:P,renderSearchAction:_,showSettings:K,settingsLabel:B="Search settings",moreCriteriaLabel:H="Define additional services",onSettingsClick:V,renderSettingsIcon:Z,className:G}=e,X=x[f],q=null!=Y?Y:X.searchLabel,J=null!=K?K:X.showSettings,Q=null!=k?k:X.emptyDefaultDates?{start:null,end:null}:(0,r.f)(),$=X.combinedDates,ee=[{key:"destination",onClick:y,desktopWidth:"w-[270px] overflow-hidden",content:j?(0,a.jsxs)("div",{className:"flex flex-col gap-2 overflow-hidden",children:[(0,a.jsx)(h.a,{label:g,value:p,secondaryValue:v,placeholder:w}),(0,a.jsx)("span",{role:"alert",className:"truncate text-body-sm text-error-text",children:j})]}):(0,a.jsx)(h.a,{label:g,value:p,secondaryValue:v,placeholder:w})},{key:"dates",onClick:S,desktopWidth:"w-[270px]",content:$?(0,a.jsx)(o.j,{mode:"combined",dateLabel:A,value:Q,durationUnit:X.durationUnit,nightsLabel:D,compactCombinedDuration:"meetings"===f,locale:N}):(0,a.jsx)(o.j,{gap:"none",value:Q,mode:"range",checkInLabel:C,checkOutLabel:L,durationUnit:X.durationUnit,showDurationIcon:X.showMoon,nightsLabel:D,locale:N}),cardContent:$?void 0:(0,a.jsx)(o.j,{dense:!0,value:Q,mode:"range",checkInLabel:C,checkOutLabel:L,durationUnit:X.durationUnit,showDurationIcon:X.showMoon,nightsLabel:D,locale:N})},...X.showOccupancy?[{key:"occupancy",onClick:z,desktopWidth:"meetings"===f?"w-[82px]":"w-[189px]",content:null!=(n=null==U?void 0:U({label:null!=(l=null!=O?O:X.occupancyLabel)?l:"",value:I,layout:"desktop"}))?n:(0,a.jsx)(h.a,{label:null!=(t=null!=O?O:X.occupancyLabel)?t:"",value:I}),cardContent:null==U?void 0:U({label:null!=(m=null!=O?O:X.occupancyLabel)?m:"",value:I,layout:"card"})}]:[],...X.showSearchingStyle?[{key:"style",onClick:M,desktopWidth:"w-[205px] overflow-hidden",content:(0,a.jsx)(h.a,{label:E,value:R})}]:[]],el=(e,l)=>_?_({label:q,onClick:F,disabled:T,loading:W,loadingLabel:P,size:e,fullWidth:l}):(0,a.jsx)(d.R,{variant:"primary",size:e,fullWidth:l,onClick:F,disabled:T,loading:W,loadingText:P,children:q});return(0,a.jsxs)("div",{className:(0,s.A)("@container w-full",G),children:[(0,a.jsxs)("div",{className:(0,s.A)("mx-auto box-border hidden h-[92px] w-full max-w-[1216px] items-center justify-between rounded-full bg-surface pl-32 pr-24 shadow-popover","viewport"===b?"min-[1216px]:flex":"@min-[1216px]:flex"),children:[(0,a.jsx)("div",{className:"flex min-w-0 flex-1 items-center gap-20",children:ee.map((e,l)=>(0,a.jsxs)(i.Fragment,{children:[l>0&&(0,a.jsx)(c.c,{orientation:"vertical",weight:"thin",className:"self-stretch"}),(0,a.jsx)(h.Y,{anchorKey:e.key,onClick:e.onClick,className:(0,s.A)("shrink-0",e.desktopWidth),children:e.content})]},e.key))}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-12",children:[J&&(Z?Z({layout:"desktop",label:B,onClick:V}):(0,a.jsx)(d.R,{variant:"secondary",size:"lg",iconOnly:!0,icon:(0,a.jsx)(u.c,{}),"aria-label":B,onClick:V})),el("lg",!1)]})]}),(0,a.jsxs)("div",{className:(0,s.A)("mx-16 box-border flex flex-col rounded-16 bg-surface p-24 shadow-popover","viewport"===b?"min-[768px]:mx-0 min-[768px]:w-[320px] min-[1216px]:hidden":"@min-[768px]:mx-0 @min-[768px]:w-[320px] @min-[1216px]:hidden",J?"gap-12":"gap-24"),children:[(0,a.jsxs)("div",{className:"flex w-full flex-col gap-16",children:[ee.map((e,l)=>{var t;return(0,a.jsxs)(i.Fragment,{children:[l>0&&(0,a.jsx)(c.c,{orientation:"horizontal",weight:"thin"}),(0,a.jsx)(h.Y,{anchorKey:e.key,onClick:e.onClick,className:"w-full",children:null!=(t=e.cardContent)?t:e.content})]},e.key)}),J&&(Z?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.c,{orientation:"horizontal",weight:"thin"}),Z({layout:"mobile",label:H,onClick:V})]}):(0,a.jsxs)("div",{className:"flex w-full flex-col",children:[(0,a.jsx)(c.c,{orientation:"horizontal",weight:"thin"}),(0,a.jsx)(d.R,{variant:"link",size:"md",onClick:V,className:"self-start",children:H})]}))]}),el("md",!0)]})]})}
1m.displayName="SearchBox";let f=Object.assign(m,{Itinerary:n.g})},6906:(e,l,t)=>{t.d(l,{A:()=>i});var n=t(54568),a=t(72902),s=t(59937);function i(e){let{checkInLabel:l="Check-in",checkIn:t,checkOutLabel:i="Check-out",checkOut:r,labelTone:o="default",duration:c,showDurationIcon:d=!0,placeholder:u="â",padded:h=!1,className:x}=e,m=(0,a.A)("w-full truncate text-label-sm","subtle"===o?"text-subtle":"text-label");return(0,n.jsxs)("div",{className:(0,a.A)("flex w-full items-center gap-36",h&&"px-12 py-16",x),children:[(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-4 overflow-hidden",children:[(0,n.jsx)("span",{className:m,children:l}),(0,n.jsx)("span",{className:"whitespace-nowrap text-subheading-sm-semibold text-default",children:null!=t?t:u})]}),(0,n.jsxs)("div",{className:(0,a.A)("flex w-[72px] shrink-0 flex-col items-center justify-center px-4",d&&"pt-8",!c&&"invisible"),children:[d&&(0,n.jsx)(s.r,{size:20,className:"text-icon-default"}),(0,n.jsx)("span",{className:"text-caption-md-semibold text-default",children:null!=c?c:"\xa0"})]}),(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col items-end gap-4 overflow-hidden",children:[(0,n.jsx)("span",{className:(0,a.A)(m,"text-right"),children:i}),(0,n.jsx)("span",{className:"whitespace-nowrap text-right text-subheading-sm-semibold text-default",children:null!=r?r:u})]})]})}},10166:(e,l,t)=>{t.d(l,{c:()=>r});var n=t(54568),a=t(72902),s=t(7620),i=t(59937);function r(e){let{checkInLabel:l="Check-in",checkIn:t,checkOutLabel:r="Check-out",checkOut:o,duration:c,showDurationIcon:d=!0,placeholder:u="â",status:h="default",disabled:x=!1,active:m=!1,helperText:f,errorText:b,fullWidth:p=!1,className:v,id:g}=e,w=(0,s.useId)(),j=null!=g?g:w,y="error"===h||!!b,k=!x&&!y&&!m,N=null!=t,A=null!=o,C=k&&"group-hover:border-border-strong group-focus-visible:border-border-strong group-focus-visible:ring-1 group-focus-visible:ring-border-strong",L=e=>x?"text-disabled":e?"text-default":"text-placeholder",D=e=>(0,a.A)("pointer-events-none absolute -top-8 bg-surface px-4 text-label-sm",x?"text-disabled":y?"text-error-text":m?"text-default":e?"text-label":"text-placeholder",k&&"group-hover:text-default");return(0,n.jsxs)("div",{className:(0,a.A)("flex flex-col gap-4",p?"w-full":"w-[320px]",v),children:[(0,n.jsxs)("div",{className:"group relative",children:[(0,n.jsxs)("div",{className:(0,a.A)("flex h-46 items-center gap-10 rounded-4 border bg-surface px-12 transition-[border-color,box-shadow]",x?"border-border-disabled":y?"border-error-outline":m?"border-border-strong":"border-border-medium",m&&!x&&(y?"ring-1 ring-error-outline":"ring-1 ring-border-strong"),C,x&&"cursor-not-allowed"),children:[(0,n.jsx)("span",{className:(0,a.A)("min-w-0 flex-1 truncate text-placeholder-md",L(N)),children:null!=t?t:u}),(0,n.jsxs)("div",{className:(0,a.A)("flex w-[72px] shrink-0 flex-col items-center justify-center px-4",x?"text-disabled":"text-subtle",!c&&"invisible"),children:[d&&(0,n.jsx)(i.r,{size:16}),(0,n.jsx)("span",{className:"text-caption-md text-center",children:null!=c?c:"\xa0"})]}),(0,n.jsx)("span",{className:(0,a.A)("min-w-0 flex-1 truncate text-right text-placeholder-md",L(A)),children:null!=o?o:u})]}),(0,n.jsx)("span",{className:(0,a.A)(D(N),"left-8"),children:l}),(0,n.jsx)("span",{className:(0,a.A)(D(A),"right-8"),children:r})]}),b?(0,n.jsx)("span",{id:"".concat(j,"-error"),className:"text-body-sm-semibold text-error-text",children:b}):f?(0,n.jsx)("span",{id:"".concat(j,"-helper"),className:(0,a.A)("text-body-sm",x?"text-disabled":"text-subtle"),children:f}):null]})}},42190:(e,l,t)=>{t.d(l,{Y:()=>s,a:()=>i});var n=t(54568),a=t(72902);function s(e){let{onClick:l,anchorKey:t,className:s,children:i}=e,r=(0,a.A)("flex min-w-0 flex-col justify-center text-left",s),o=t?{"data-searchbox-segment":t}:{};return l?(0,n.jsx)("button",{type:"button",onClick:l,"data-searchbox-segment":t,className:(0,a.A)(r,"m-0 appearance-none border-0 bg-transparent p-0 [font:inherit] text-inherit cursor-pointer rounded-4 outline-none","focus-visible:outline-solid focus-visible:outline-medium focus-visible:outline-offset-thin focus-visible:outline-default"),...o,children:i}):(0,n.jsx)("div",{className:r,...o,children:i})}function i(e){let{label:l,value:t,secondaryValue:s,placeholder:i}=e;return(0,n.jsxs)("div",{className:"flex min-w-0 flex-col gap-4 overflow-hidden",children:[(0,n.jsx)("span",{className:"text-label-sm text-label",children:l}),t&&s?(0,n.jsxs)("span",{className:"w-full truncate text-default",children:[(0,n.jsx)("span",{className:"text-subheading-sm-semibold",children:t}),(0,n.jsxs)("span",{className:"text-label-sm",children:[", ",s]})]}):(0,n.jsx)("span",{className:(0,a.A)("w-full truncate",t?"text-subheading-sm-semibold text-default":"text-subheading-sm text-subtle"),children:t||i})]})}},42395:(e,l,t)=>{t.d(l,{Z:()=>a});let n=e=>Date.UTC(e.getFullYear(),e.getMonth(),e.getDate());function a(e){var l;let{start:t,end:a}=e,{locale:s="en-US",durationUnit:i="nights",durationLabel:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=new Intl.DateTimeFormat(s,{weekday:"short",day:"numeric",month:"short"}),c=t&&a?Math.round((n(a)-n(t))/864e5):0,d="days"===i?"day":"night",u="day"===d?c+1:c;return{checkIn:t?o.format(t):void 0,checkOut:a?o.format(a):void 0,duration:c>0?null!=(l=null==r?void 0:r(u))?l:"".concat(u," ").concat(1===u?d:"".concat(d,"s")):void 0}}}
1,43679:(e,l,t)=>{t.d(l,{g:()=>d});var n=t(54568),a=t(72902),s=t(47995),i=t(91935),r=t(46339),o=t(75087),c=t(42190);function d(e){let{dates:l=(0,s.f)(),locale:t="en-US",onDatesClick:d,checkInLabel:u="Arrival",checkOutLabel:h="Departure",nightsLabel:x,occupancy:m,occupancyLabel:f="People and rooms",onOccupancyClick:b,title:p="Your itinerary",updateLabel:v="Update offers",onUpdate:g,showUpdate:w=!0,className:j}=e,y=new Intl.DateTimeFormat(t,{day:"numeric",month:"short"}),k=[l.start,l.end].filter(e=>null!=e).map(e=>y.format(e)).join(" - ");return(0,n.jsxs)("div",{className:(0,a.A)("@container w-full",j),children:[(0,n.jsxs)("div",{className:"mx-auto hidden h-[78px] w-full max-w-[1216px] items-center justify-between rounded-full bg-surface py-16 pl-32 pr-16 shadow-popover @min-[768px]:flex",children:[(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 items-center",children:[(0,n.jsx)("div",{className:"mx-16 min-w-0 flex-1 @min-[1216px]:w-[380px] @min-[1216px]:flex-none",children:(0,n.jsx)(c.Y,{anchorKey:"dates",onClick:d,className:"w-full",children:(0,n.jsx)(i.j,{value:l,checkInLabel:u,checkOutLabel:h,nightsLabel:x,locale:t,gap:"none"})})}),(0,n.jsx)(r.c,{orientation:"vertical",weight:"thin",className:"ml-16 h-[44px] shrink-0"}),(0,n.jsx)("div",{className:"mr-16 min-w-0 flex-1 pl-16 @min-[1216px]:w-[380px] @min-[1216px]:flex-none",children:(0,n.jsx)(c.Y,{anchorKey:"occupancy",onClick:b,className:"w-full",children:(0,n.jsx)(c.a,{label:f,value:m})})})]}),w&&(0,n.jsx)("div",{className:"hidden shrink-0 @min-[1024px]:block",children:(0,n.jsx)(o.R,{variant:"secondary",size:"md",onClick:g,children:v})})]}),(0,n.jsxs)("div",{className:"mx-16 flex h-[74px] flex-col items-center justify-center gap-4 roun
1ded-[48px] bg-surface p-12 shadow-popover @min-[768px]:hidden",children:[(0,n.jsx)("span",{className:"text-label-md text-default",children:p}),(0,n.jsxs)("div",{className:"grid w-full grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-16",children:[(0,n.jsx)(o.R,{variant:"link",size:"sm",onClick:d,className:"justify-self-end",children:k}),(0,n.jsx)("div",{className:"flex h-[20px] shrink-0 items-stretch self-center",children:(0,n.jsx)(r.c,{orientation:"vertical",weight:"thin"})}),(0,n.jsx)(o.R,{variant:"link",size:"sm",onClick:b,className:"justify-self-start",children:m})]})]})]})}d.displayName="SearchBox.Itinerary"},47995:(e,l,t)=>{t.d(l,{f:()=>u,y:()=>h});var n=t(54568),a=t(72902),s=t(7620),i=t(48954),r=t(61063),o=t(42395),c=t(10166),d=t(6906);function u(){let e=new Date;return{start:new Date(e.getFullYear(),e.getMonth(),e.getDate()+1),end:new Date(e.getFullYear(),e.getMonth(),e.getDate()+2)}}function h(e){var l;let{value:t,defaultValue:h,onChange:x,variant:m="display",checkInLabel:f="Check-in",checkOutLabel:b="Check-out",nightsLabel:p,durationUnit:v="nights",showDurationIcon:g,locale:w="en-US",title:j="Select dates",disablePastDates:y=!0,defaultMonth:k,disabled:N=!1,status:A="default",helperText:C,errorText:L,fullWidth:D=!1,className:S,"aria-label":I="Select dates"}=e,{isMobile:O}=(0,i.x)(),[z,U]=(0,s.useState)(!1),R=void 0!==t,[E,M]=(0,s.useState)(null!=h?h:u()),Y=R?t:E,F=(0,s.useRef)(null),T="date-range-field-".concat((0,s.useId)()),W="input"===m;(0,s.useEffect)(()=>{if(!z||O)return;let e=e=>{F.current&&!F.current.contains(e.target)&&U(!1)},l=e=>{"Escape"===e.key&&U(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",l),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",l)}},[z,O]);let P=(0,o.Z)(Y,{locale:w,durationUnit:v,durationLabel:p}),_=null!=g?g:"days"!==v,K=(0,n.jsx)(r._,{layout:O?"bottom-sheet":"modal",showActionBar:!1,revertOnOutsideClick:!1,mode:"range",value:Y,onChange:e=>{R||M(e),null==x||x(e)},onClose:()=>U(!1),checkInLabel:f,checkOutLabel:b,nightsLabel:p,durationUnit:v,showDurationIcon:g,locale:w,title:j,disablePastDates:y,defaultMonth:null!=(l=null!=k?k:Y.start)?l:void 0});return(0,n.jsxs)("div",{ref:F,className:(0,a.A)("relative",W&&D?"block w-full":"inline-block"),children:[(0,n.jsx)("button",{type:"button","aria-haspopup":"dialog","aria-expanded":z,"aria-label":I,"aria-describedby":W?L?"".concat(T,"-error"):C?"".concat(T,"-helper"):void 0:void 0,disabled:W&&N,onClick:()=>U(e=>!e),className:(0,a.A)("group text-left",W?(0,a.A)("block rounded-4 focus:outline-none",D&&"w-full"):(0,a.A)("flex w-full min-w-[400px] items-center rounded-16 bg-surface px-24 py-12 transition-colors","focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-strong"),S),children:W?(0,n.jsx)(c.c,{id:T,checkInLabel:f,checkIn:P.checkIn,checkOutLabel:b,checkOut:P.checkOut,duration:P.duration,showDurationIcon:_,status:A,disabled:N,active:z,helperText:C,errorText:L,fullWidth:D}):(0,n.jsx)(d.A,{checkInLabel:f,checkIn:P.checkIn,checkOutLabel:b,checkOut:P.checkOut,duration:P.duration,showDurationIcon:_})}),z&&!O?(0,n.jsx)("div",{className:"absolute left-0 top-full z-50 mt-8",children:K}):null,z&&O?K:null]})}},66115:(e,l,t)=>{t.d(l,{c:()=>r});var n,a=t(7620);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(null,arguments)}var i=(0,a.forwardRef)(function(e,l){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:26,height:26,fill:"none",viewBox:"0 0 26 26",ref:l},e),n||(n=a.createElement("path",{fill:"currentColor",d:"M22.102 4.552a.65.65 0 0 0-.65-.651h-16.9a.65.65 0 0 0-.651.65v16.9c0 .36.292.651.65.651h16.9c.36 0 .651-.291.651-.65zm-10.4 8.883c.746 0 1.462.297 1.99.824.373.372.628.839.748 1.342h4.412a.65.65 0 0 1 0 1.3H14.44a2.816 2.816 0 0 1-5.479 0h-1.81a.65.65 0 0 1 0-1.3h1.81a2.82 2.82 0 0 1 1.174-1.691 2.8 2.8 0 0 1 1.565-.475m0 1.3a1.518 1.518 0 1 0 .001 3.035 1.518 1.518 0 0 0-.002-3.035m6.716-4.984a1.517 1.517 0 1 0-3.033-.002 1.517 1.517 0 0 0 3.033.002m1.3 0a2.817 2.817 0 0 1-5.556.65h-7.01a.65.65 0 0 1 0-1.3h7.011a2.815 2.815 0 0 1 5.555.65m3.684 11.7a1.95 1.95 0 0 1-1.95 1.95h-16.9a1.95 1.95 0 0 1-1.95-1.95v-16.9a1.95 1.95 0 0 1 1.95-1.95
1h16.9a1.95 1.95 0 0 1 1.95 1.95z"})))});let r=(0,t(10600).w)(i,"SettingsSliderIcon")},96201:(e,l,t)=>{t.d(l,{K:()=>m,t:()=>x});var n=t(54568),a=t(72902),s=t(7620),i=t(7019),r=t(11419);let o={sm:"text-label-sm",md:"text-label-md",lg:"text-subheading-sm-semibold"},c={sm:"gap-4",md:"gap-8",lg:"gap-12"},d={sm:"h-2",md:"h-4",lg:"h-6"},u={sm:16,md:20,lg:22},h={sm:"mini",md:"mini",lg:"small"};function x(e){var l,t,x,m;let{items:f,value:b,defaultValue:p,onValueChange:v,size:g="md",inverted:w=!1,"aria-label":j,id:y,className:k}=e,N=(0,s.useId)(),A=null!=y?y:"tabs-".concat(N),C=f.filter(e=>!e.disabled),L=null!=(m=null==(l=C.find(e=>e.value===p))?void 0:l.value)?m:null==(t=C[0])?void 0:t.value,[D,S]=(0,s.useState)(L),I=void 0!==b,O=I?b:D,z=f.some(e=>e.value===O&&!e.disabled)?O:null==(x=C[0])?void 0:x.value,U=(0,s.useRef)(new Map),R=(0,s.useRef)(null),[E,M]=(0,s.useState)(null);(0,s.useEffect)(()=>{let e=()=>{let e=void 0!==O?U.current.get(O):void 0;e?M({left:e.offsetLeft,width:e.offsetWidth}):M(null)};e();let l=R.current;if(!l||"undefined"==typeof ResizeObserver)return;let t=new ResizeObserver(e);return t.observe(l),()=>t.disconnect()},[O,f,g]);let Y=e=>{e!==O&&(I||S(e),null==v||v(e))};return(0,n.jsx)("div",{className:(0,a.A)("-my-4 overflow-x-auto py-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden","scroll-smooth motion-reduce:scroll-auto",k),children:(0,n.jsxs)("div",{ref:R,role:"tablist","aria-label":j,onKeyDown:e=>{let l;if(0===C.length)return;let t=C.findIndex(e=>e.value===O);if("ArrowRight"===e.key?l=C[(t+1)%C.length]:"ArrowLeft"===e.key?l=-1===t?C[C.length-1]:C[(t-1+C.length)%C.length]:"Home"===e.key?l=C[0]:"End"===e.key&&(l=C[C.length-1]),l){var n;e.preventDefault(),Y(l.value),null==(n=U.current.get(l.value))||n.focus()}},className:"relative flex w-max min-w-full items-end gap-16",children:[(0,n.jsx)("span",{"aria-hidden":"true",className:(0,a.A)("pointer-events-none absolute inset-x-0 bottom-0 h-2 rounded-2",w?"bg-border-subtle-inverse":"bg-divider")}),(0,n.jsx)("span",{"aria-hidden":"true",style:E?{transform:"translateX(".concat(E.left,"px)"),width:E.width}:void 0,className:(0,a.A)("pointer-events-none absolute bottom-0 left-0",w?"bg-border-active-inverse":"bg-border-strong",d[g],"transition-[transform,width] duration-[var(--duration-base)] ease-standard motion-reduce:transition-none",!E&&"hidden")}),f.map(e=>{let l=e.value===O;return(0,n.jsxs)("button",{ref:l=>{l?U.current.set(e.value,l):U.current.delete(e.value)},type:"button",role:"tab",id:"".concat(A,"-tab-").concat(e.value),"aria-selected":l,"aria-controls":y?"".concat(A,"-panel-").concat(e.value):void 0,"aria-disabled":e.disabled||void 0,disabled:e.disabled,tabIndex:e.value===z?0:-1,onClick:()=>Y(e.value),className:(0,a.A)("group relative flex flex-col border-0 bg-transparent outline-none",c[g],e.disabled?"cursor-not-allowed":"cursor-pointer","focus-visible:outline-solid focus-visible:outline-medium focus-visible:outline-offset-thin",w?"focus-visible:outline-active-inverse":"focus-visible:outline-default"),children:[(0,n.jsxs)("span",{className:(0,a.A)("flex items-center justify-center gap-4 whitespace-nowrap",o[g],e.disabled?w?"text-subtle":"text-disabled":l?w?"text-active-inverse":"text-default":w?"text-subtle-inverse group-hover:text-active-inverse":"text-subtle group-hover:text-default"),children:[e.icon?(0,n.jsx)("span",{"aria-hidden":"true",className:(0,a.A)("inline-flex size-icon-sm shrink-0 items-center justify-center",!e.disabled&&(w?"text-icon-default-inverse":"text-icon-default")),children:e.icon}):null,(0,n.jsx)("span",{children:e.label}),null!=e.badge?(0,n.jsx)("span",{className:(0,a.A)("inline-flex shrink-0",e.disabled&&"opacity-50"),children:(0,n.jsx)(i.E,{size:h[g],color:"brand",children:e.badge})}):null,e.dropdown?(0,n.jsx)(r.B,{size:u[g],className:"shrink-0"}):null]}),(0,n.jsx)("span",{"aria-hidden":"true",className:(0,a.A)("w-full bg-transparent",d[g],!e.disabled&&!l&&(w?"group-hover:bg-border-medium":"group-hover:bg-tertiary-hover"))})]},e.value)})]})})}function m(e){let{tabsId:l,value:t,activeValue:a,children:s,className:i}=e,r=t===a;return(0,n.jsx)("div",{role:"tabpanel",id:"".concat(l,"-panel-").concat(t),"aria-labelledby":"".concat(l,"-tab-").concat(t),hidden:!r,tabIndex:0,className:i,children:s})}x.displayName="Tabs",m.displayName="TabPanel"}}]);
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.